/* ==========================================================================
   Doyle - News / Event single page (post template)
   Rules copied from the demo child theme style.css so the live site matches it.
   Loaded LAST so Elementor kit styles can't override them.
   ========================================================================== */

.news_content_wrap {
	margin-bottom: 20px;
}
.news_img_wrap img {
	display: block;
	transition: all 0.6s ease-in-out;
	height: 100%;
	width: 100%;
	object-fit: cover;
}
#news_container .item:hover .news_img_wrap img {
	transform: scale(1.1);
}
.news_img_wrap {
	border-radius: 10px;
	overflow: hidden;
	height: 250px;
	box-shadow: 0px 0px 5px rgba(0, 0, 0 , 0.09);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	margin: 4px;
}
#news_container .description {
	margin-bottom: 10px;
}
#news_container .description h3 {
	color: #268f2d;
	font-size: 20px;
	line-height: 1.3em;
	font-weight: 700;
	padding-bottom: 20px;
}
#news_container .btn-white {
	margin-top: auto;
}
.btn-white a.et_pb_button {
	display: inline-block;
	padding: 10px 0 !important;
	position: relative;
	font-size: 18px;
	font-weight: 700 !important;
	line-height: 20px !important;
	color: #26902b !important;
	transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	margin: 0;
}

.btn-white a.et_pb_button::before {
	content: "";
	bottom: 0;
	left: 0;
	right: 0;
	height: 95%;
	width: 40px;
	border: 2px solid #26902b;
	border-left: 0;
	border-right: 0;
	border-top-color: transparent;
	opacity: 1;
	margin: auto;
	display: block !important;
}
.btn-white .et_pb_button::before {
	margin-left: 0 !important;
}

.btn-white a.et_pb_button:hover::before {
	width: 100%;
}

/* NEWS PAGE NEW CSS ENDS HERE */


/* NEWS SINGLE PAGE CSS STARTS HERE */

.other_similar_post h3 {
	text-align: center;
	color: #000;
	font-size: 20px;
	font-weight: 700;
	padding-bottom: 30px;
}
.other_similar_post .description h3 {
	text-align: left;
}
#news_container .owl-item .item {
	width: 100%;
	height: 100%;
	display: flex;
	flex-flow: column;
	margin-bottom: 20px;
	padding: 0 10px;
}

#news_container .owl-item .item p {
	font-weight: 400;
}
#news_container.news_slider .owl-nav>div {
	background: transparent;
	border: none;
	position: absolute;
	top: 43%;
	font-size: 60px;
	color: #268f2d;
	cursor: pointer;
}
.news_slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 62px !important;
    color: #45a056 !important;
  	transition: all 0.5s ease-in-out;
}
.news_slider .owl-nav button:hover {
  opacity: 0.8;
}
.news_slider .owl-nav .owl-prev {
	left: -5%;
}
.news_slider .owl-nav .owl-next {
	right: -5%;
}
.single-thumb .owl-nav>div .fa::before, 
.news_slider .owl-nav>div .fa::before {
	content: "\f105";
}
.other_similar_post {
	position: relative;
	padding-bottom: 80px;
}
.other_similar_post {
	position: relative;
	padding-bottom: 80px;
}
#news_container .owl-dot:nth-child(4)~#news_container .owl-dot {
	display: none;
}
#news_container .owl-dots {
	margin-top: 20px;
}
#news_container .owl-dot {
	background: rgba(72, 141, 58, 0.5);
	width: 17px;
	height: 17px;
	border: none;
	border-radius: 50%;
	margin: 0 5px;
	transition: all 0.5s ease-in-out;
	padding: 0 !important;
	cursor: pointer;
	display: inline-block;
}

#news_container .owl-dot.active {
	background: #268f2d;
	width: 54px;
	border-radius: 15px;
}
.main-content-wrapper::before, .main-content-wrapper::after {
	content: "";
	display: block;
	clear: both;
}
.news_single h1 {
  	color: #268f2d;
	font-size: 30px;
	line-height: 36px;
	font-weight: 700;
}

.news_single #galSlider .single-image {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.25);
	cursor: pointer;
}
.news_single #galSlider,
.event_single #galSlider {
	width: 50%;
	padding-left: 30px;
	padding-bottom: 20px;
	float: right;
}
.single-image .popup-content img {
	height: 450px;
	object-fit: cover;
}
.single-image {
	margin-bottom: 20px;
}
.thumb-item img {
	height: 120px;
	object-fit: cover;
	box-shadow: 0 0 10px #00000030;
}
.thumb-item {
	margin: 8px 0;
	cursor: pointer;
}

.main-content-wrapper .owl-nav.disabled {
	display: none;
}

.news_single p {
	font-size: 16px;
	font-weight: 400;
	color: #000;
}
.single-thumb .owl-nav>div {
	position: absolute;
	top: 36%;
	color: #268f2d !important;
	font-size: 38px !important;
}
.single-thumb .owl-nav .owl-prev {
	left: -20px;
	transform: rotate(180deg);
}
.single-thumb .owl-nav .owl-next {
	right: -20px;
}
.single-post header#main-header {
	box-shadow: none;
}

/* Light box Gallery CSS */
div#lightboxed--container {z-index: 9999999 !important;}

.single-thumb .owl-nav button {
	position: absolute;
	top: 50%;
	transform: translate(0, -50%) !important;
	color: #26902b !important;
	font-size: 38px !important;
}
.product-gallery-wrapper i::before { content: '104'; }
.product-gallery-wrapper i.fa-chevron-right::before { content: '105'; }

/* Keep Elementor kit typography/colours off this template */
body .news_single h1 { color: #268f2d; font-size: 30px; line-height: 36px; font-weight: 700; }
body .news_single p  { font-size: 16px; font-weight: 400; color: #000; }
body .news_single .content-wrapper img { max-width: 100%; height: auto; }
body .news_single .single-image .popup-content img { height: 450px; width: 100%; object-fit: cover; }
body .news_single .thumb-item img { height: 120px; width: 100%; object-fit: cover; }

@media(max-width: 1440px) {
	.news_slider .owl-nav .owl-next { right: -4%; }
	.news_slider .owl-nav .owl-prev { left: -4%; }
}
@media(max-width: 1182px) {
	body .news_single h1 { font-size: 26px; line-height: 1.2em; }
}
@media(max-width: 980px) {
	#main-content.news_single .container { padding-top: 30px !important; }
	.news_single #galSlider { padding-top: 15px !important; margin-top: 20px; order: 2; }
	.news_single .main-content-wrapper .content-wrapper,
	.news_single #galSlider { width: 100%; padding: 0; }
	.main-content-wrapper { display: flex; flex-flow: row wrap; }
	.other_similar_post { padding-bottom: 50px; }
	.news_slider .owl-nav .owl-next { right: -3%; }
	.news_slider .owl-nav .owl-prev { left: -3%; }
	#news_container.news_slider .owl-nav>div { font-size: 50px; }
}
@media(max-width: 767px) {
	body .news_single .single-image .popup-content img { height: 70vw; }
	body .news_single p, #news_container .description p { font-size: 14px; line-height: 24px; }
	.btn-white a.et_pb_button { font-size: 16px; }
}
@media(max-width: 720px) {
	.news_slider .owl-nav button { font-size: 40px !important; }
	#news_container.news_slider .owl-nav>div { font-size: 40px; }
	.news_img_wrap { height: 45vw; }
	body .news_single h1 { font-size: 22px; line-height: 1.2em; }
}
@media(max-width: 650px) {
	.main-content-wrapper .owl-carousel.single-thumb { padding: 0 10px; }
	body .news_single .thumb-item img { height: 60px; }
	.news_img_wrap { height: 220px; margin: 0; }
}

/* ==========================================================================
   Before the carousels start (JS not run yet) - show a stable layout so the
   page doesn't jump or stay blank. owl.carousel.css hides .owl-carousel
   until it's initialised, which made the gallery pop in late.
   ========================================================================== */
.news_single #galSlider .owl-carousel.single-image:not(.owl-loaded) {
	display: block;
	overflow: hidden;
}
.news_single #galSlider .single-image:not(.owl-loaded) .gal-item:not(:first-child) {
	display: none;
}
.news_single #galSlider .owl-carousel.single-thumb:not(.owl-loaded) {
	display: flex;
	gap: 10px;
	overflow: hidden;
}
.news_single .single-thumb:not(.owl-loaded) .thumb-item {
	flex: 0 0 calc((100% - 30px) / 4);
}

.newsWrapper.news_slider:not(.owl-loaded):not(.dm-static) {
	display: flex;
	overflow: hidden;
}
.newsWrapper.news_slider:not(.owl-loaded):not(.dm-static) .item {
	flex: 0 0 33.3333%;
	display: flex;
	flex-flow: column;
	padding: 0 10px;
	box-sizing: border-box;
}
/* 1-3 stories on desktop: plain row, no slider */
.newsWrapper.news_slider.dm-static {
	display: flex;
	flex-wrap: wrap;
}
.newsWrapper.news_slider.dm-static .item {
	flex: 0 0 33.3333%;
	display: flex;
	flex-flow: column;
	padding: 0 10px;
	box-sizing: border-box;
}
@media(max-width: 900px) {
	.newsWrapper.news_slider:not(.owl-loaded):not(.dm-static) .item,
	.newsWrapper.news_slider.dm-static .item { flex-basis: 50%; }
}
@media(max-width: 640px) {
	.newsWrapper.news_slider:not(.owl-loaded):not(.dm-static) .item,
	.newsWrapper.news_slider.dm-static .item { flex-basis: 100%; }
}
