/* images need ot be 340 x 390 */

section.chex{padding: 0 30px 30px 30px;}
.chexbox{margin: 0 auto;  -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.5); box-shadow: 0 0 10px 0 rgba(0,0,0,.5); width: 100%; max-width: 1170px;}
.Ximg{background-color: black; height: 340px; }
.Ximg img{object-fit: cover; object-position: center;width: 100%;  height: 100%;}
.Ximg .video_wrapper{margin-top:0px!important; height: 100%; padding-top: 50px}

.Xtext{height: 340px; padding: 30px 20px;}

section.home{ height: auto;}
section.home article.container-fluid{max-width: 1170px;height: auto; padding: 0}
.borderbox{ -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.5); box-shadow: 0 0 10px 0 rgba(0,0,0,.5); width: 100%; border:solid 1px #745854; background-color: white; padding: 20px;}
.borderbox img{object-fit: cover; object-position: center;width: 100%;  height: 100%;}


section.ads{background-color: #EBE8E7;}
section.ads article{display: flex}
section.ads article.flexrev{flex-direction: row-reverse}
.Apicborder{border:1px solid #503127; padding: 20px; height: 340px; width: 470px;max-width: 470px;min-width: 470px;}
.Apicborder img{object-fit: cover; object-position: center;width: 100%;  height: 100%;}
.Atxt{padding:0 0 0 60px}
.Atxt h2{margin-top:0}

section.ads article.flexrev .Atxt{padding:0 60px 0 0}

section.home, section.ads, section.latest-news{padding: 50px 30px;}

section.latest-news {background: #ebe8e7;text-align: left;p}
section.latest-news>h2 {max-width: 100%;padding: 0 10px 0 30px;margin: 0 auto;position: relative;margin-bottom: 30px;}

section.latest-news .slick-prev,section.latest-news .slick-next {position: absolute;display: block;height: 20px;width: 20px;line-height: 0px;font-size: 0px;cursor: pointer;background: transparent;color: transparent;top: 50%;-webkit-transform: translate(0, -50%);-ms-transform: translate(0, -50%);transform: translate(0, -50%);padding: 0;border: none;outline: none;z-index: 1;
}
section.latest-news .slick-prev:hover,section.latest-news .slick-next:hover,section.latest-news .slick-prev:focus,section.latest-news .slick-next:focus {outline: none;background: transparent;color: transparent;}
section.latest-news .slick-prev:hover:before,section.latest-news .slick-next:hover:before,section.latest-news .slick-prev:focus:before,section.latest-news .slick-next:focus:before {	opacity: 1;}
section.latest-news .slick-prev.slick-disabled:before,section.latest-news .slick-next.slick-disabled:before {opacity: 0.25;}
section.latest-news .slick-prev:before,section.latest-news .slick-next:before {font-family: "Font Awesome 5 Pro";font-size: 30px;line-height: 1;color: #406e79;opacity: 0.75;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;}
section.latest-news .slick-prev {left: -20px;}
section.latest-news .slick-prev:before {content: "\f104";}
section.latest-news .slick-next {right: 0px;}
section.latest-news .slick-next:before {content: "\f105";}

.latest-news .code_block_center {max-width: 100%;padding: 0 10px;margin: 0 auto;position: relative;}
.latest-news .code_block_center .code_block_box.slick-slide {opacity: 1;height: auto;padding-bottom: 0;}

.latest-news .code_block_center .code_block_box.slick-slide .code_block_indiv_image img {height: 274px;object-fit: cover;border: 1px solid #bf3c06;}
.latest-news .slick-track:hover .code_block_box.slick-slide .code_block_indiv_image img {transition: opacity 0.2s ease;opacity: .7}
.latest-news .slick-track:hover .code_block_box.slick-slide:hover .code_block_indiv_image img {opacity: 1}


@media (min-width: 576px) {
	.latest-news .code_block_center, section.latest-news>h2 {max-width: 540px}
}
@media (min-width: 768px) {
	.latest-news .code_block_center, section.latest-news>h2 {max-width: 720px}
}
@media (min-width: 992px) {
	.latest-news .code_block_center, section.latest-news>h2 {max-width: 960px}
	.latest-news .code_block_center .code_block_box.slick-slide {margin: 0 27px;}
	.latest-news .code_block_center.slick-list {margin: 0 -27px;}

}
@media (min-width: 1200px) {
	.latest-news .code_block_center, section.latest-news>h2 {max-width: 1200px}
}





	/*L*/
	@media only screen and (max-width: 1199px) {
	}

	/*M*/
	@media only screen and (max-width: 991px) {
		.chexbox,section.home article.container-fluid{ max-width: 780px;}
		section.home, section.ads, section.latest-news{padding: 50px 30px;}

	}

	/*S*/
	@media only screen and  (max-width: 767px) {
		.Xtext{height:auto;}
		.chexbox{ max-width: 390px;}
		.Apicborder{display: none; height:	auto;}
		.Atxt, section.ads article.flexrev .Atxt{padding:0}

	}

	/*XS*/
	@media only screen and  (max-width: 575px) {
		section.chex,section.home article.container-fluid{padding: 0 0 30px 0; }
		section.home, section.ads, section.latest-news{padding: 30px 20px;}
}

