/* NEWS */


/* Cards */

#home-card .cards img {
			height: 205px;
		}

.cards img {
    width: 100%;
    object-fit: cover;	
}
.cards .published {
	margin-top:0
}
.cards h3 {
 font-size: 26px;
 margin: 0;
}
.cards .text {
	padding: 20px 20px 70px 20px;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
}
.cards category a {
border-top-left-radius: 6px;
}

#blank {
	padding-left: 0
}
.cards .btn {
  position: absolute;
  bottom: 30px;
  font-size: 75%
}

/*
.cards img {
	border-radius: 7px 7px 0 0
}
.cards .row > [class*="col-"] > div {
	border-radius: 0 0 7px 7px
}
*/

@media (min-width: 768px) {
.cards .row {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
}
.cards .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
 /* flex-grow: 1;*/
}
.cards .row > [class*="col-"] > div {
	flex: 1
}
}

.cards .padding, .windows .padding {
	padding: 15px
}
/*
@media (min-width: 992px) {
.cards [class*="col-"]:first-child, .windows [class*="col-"]:first-child {
    padding-left: 0
}
.cards [class*="col-"]:last-child, .windows [class*="col-"]:last-child {
    padding-right: 0
}
*/
}



/* Windows */

.windows img{
  object-fit: cover;
  width: 100%;
  height: 300px;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}
.windows .float {
	width: 80%;
}



/* Articles */

.posted-by {
    text-transform: uppercase;
	margin-top: 5px;
	margin-bottom: 0;
}
.posted-on {
    text-transform: uppercase;
	color: #555555
}



@media (max-width: 768px) {

	.articles.text-center {
		text-align: left;
	}
}







.news img {
object-fit: cover;
max-width: 30%;
max-height: 255px;
margin-top: 10px;
float: left;
margin-right: 3%;
margin-bottom: 10px;
}
@media (max-width: 768px) {
	.news img {
		max-width: 100%;
		width: 100%;
	}
	.title h1 {
		font-size: 25px
	}
}
.news h2 {
	font-size: 30px;
	margin-bottom: 10px;
}
.news-side a:link,
.news-side a:visited {
	color: #000000;
	text-decoration: underline;
	text-underline-position: under;
}
.news-title h1 {margin-bottom: 30px}




.articles .text {
	color: #FF0000
}

.articles h2 {
	font-size: 27px;
	margin-bottom: 10px;
}
.articles strong {
	margin-bottom: 3px;
}
.date img {
  margin-top: -10px;
  margin-right: 7px;
   width: 30px;
    height: 30px;
}
.latest .date img {
    width: 30px;
    height: 30px;
}
.latest .date {
 margin-bottom: 20px;
 font-weight: 600;
}
header .date {
text-transform: uppercase;
font-weight: 400;
letter-spacing: 1px;
font-size: 2vh;
margin-top: 1%;
}

.published {
text-transform: uppercase;
font-weight: 400;
letter-spacing: 1px;
color: #8e8e8e;
font-size: 14px;
}
.dark .published {
	color: #FFFFFF
}
.author {
	font-size: 14px
}



/* MODAL */


@-webkit-keyframes fadedown {
  from {
    top: -100px;
    opacity: 0;
  }
  to {
    top: 0px;
    opacity: 1;
  }
}

@keyframes fadedown {
  from {
    top: -100px;
    opacity: 0;
  }
  to {
    top: 0px;
    opacity: 1;
  }
}
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
	z-index:100000
}
.modal:target {
  display: table;
}

.modal-dialog {
  	vertical-align: middle;
	display: flex;
  	margin-top: 12%;
}

.modal-dialog .modal-content {
padding: 20px;
  margin: auto;
  background-color: #FFFFFF;
  position: relative;
  outline: 0;
  width: 300px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: fadedown;
  -webkit-animation-duration: 1.5s;
  animation-name: fadedown;
  animation-duration: 1.5s;
	border-radius: 10px;
}
.modal-dialog .modal-content small {
	text-align: center;
	font-size: 12px;
}
.modal-dialog .modal-content small a {
	color: #999999;
}
.modal img {
    width: 100%;
    height: auto;
}
.closebtn {
  text-decoration: none;
  float: right;
  font-size: 50px;
  font-weight: bold;
	color: #00c896;	
	margin-top: -20px;
	margin-right: -10px;
}
.closebtn:hover,
.closebtn:focus {
  color: #003c3c;
  text-decoration: none;
  cursor: pointer;
}
.newsletter input {
    border-radius: 50px;
    padding: 15px 25px;
    width: 100%;
    border: none;
    background-color: #EFEFEF !important;
    margin-top: 5px;
	display: block;
text-align: center;
}
.newsletter button {
   border:none;
margin: 20px 0;
	font-size: inherit;
}
.newsletter button:hover {
    text-decoration: none;
    transition: 0.2s linear;
    -webkit-transition: 0.2s linear;
    -moz-transition: 0.2s linear;
    opacity: 0.5;
    cursor: pointer;
}
.newsletter small a {
	color: var(--dark-color);
}
