/**
Theme Name: Micklethwait
Author: Workhorse Marketing
Author URI: https://www.workhorsemkt.com/
Description: Child theme for Micklethwait by Workhorse Marketing
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: micklethwait
Template: astra
*/



/* ====== custom style for blocks ========= */
.shadow-image{
	position: relative;
}
.colored-anchor a{
	color: #FEC145 !important;
	font-weight: 700;
}
.colored-anchor a:hover{
	text-decoration: none;
}
.site-footer .site-footer-section-4 .is-layout-flex{
	align-items: center !important;
}
.site-footer .site-footer-section-4 .is-layout-flex .wp-block-uagb-image  figure img{
	object-fit: contain;
    max-height: 24px;
	transition: .32s;
}
.site-footer .site-footer-section-4 .is-layout-flex .wp-block-uagb-image  figure img:hover{
	opacity: .8;
}
.site-footer .site-footer-section-4 .is-layout-flex .is-layout-flow:last-child{
	flex-basis: 100px !important;
}
.site-footer .site-footer-section-4 .is-layout-flex .is-layout-flow:last-child figure img{
	width: 45px !important;
}
.site-footer .site-primary-footer-inner-wrap p{
		font-size: 16px;
	}

.site-footer .site-primary-footer-inner-wrap p a{
	text-decoration: underline !important;
}
.site-footer .site-primary-footer-inner-wrap a:hover{
	text-decoration: underline !important;
}
.site-footer .site-primary-footer-inner-wrap p a:hover{
	text-decoration: none !important;
	color: #fff;
}

.site-footer .site-primary-footer-inner-wrap{
	padding-left: 15px;
    padding-right: 15px;
}
header .site-branding .site-logo-img img{
	width: 120px;
}
body.home .site-branding .site-logo-img{
	display: none;
}

/* ======== inner pages ====== */
body:not(.home) .site-content .site-main article{
	padding:0;
}
body:not(.home) .site-content .site-main article header.entry-header{
	display: none;
}
body:not(.home) .site-content .site-main article .entry-content .wp-block-cove{
	padding-top: 12rem;
}
header.site-header .site-header-primary-section-right .site-navigation ul > li{
	line-height: inherit !important;
}
header.site-header .site-header-primary-section-right .site-navigation ul > li a:before
{
	height: 2px !important;
}
header.site-header .site-navigation ul > li.current-menu-item a:before{
	transform: scale(1,1) translate(50%,0) !important;
    height: 2px !important;
    bottom: 22px !important;
    background-color: #f9c145 !important;
}
header.site-header .site-navigation ul > li:hover a:before,
header.site-header .site-navigation ul > li.current-menu-item a:before{
	width: calc(100% - 2em) !important;
	bottom: 22px !important;
}
.dots-heading{
	display: flex;
	color: #FEC145 !important;
	font-weight: 600;
}
.dots-heading span:nth-child(2){
	flex-grow: 1;
	flex-grow: 1;
    border-bottom: 3px dotted;
    margin-bottom: 7px;
}
.info-box-rounded{
	border-radius: 10px;
	overflow: hidden;
	max-width: 384px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.rounded-10 .wp-block-embed__wrapper{
	border-radius: 10px;
	overflow: hidden;
}
.info-box-rounded .uagb-ifb-desc{
	text-decoration: underline;
    font-size: 24px;
    padding-left: 20px;
    padding-right: 20px;
}
.center-text-cover{
	flex-wrap: wrap;
}
.center-text-cover picture{
	width: 100%;
}


/* ---- contact form --- */
.contact-form-mic .gfield label{
	color: #FEC145;
	font-size: 18px !important;
    margin-bottom: 5px !important;
    font-weight: 400 !important;
}
.contact-form-mic .gfield label .gfield_required_text{
	color: #f9c044;
}
.contact-form-mic .gfield input{
	border-radius: 5px;
}
.contact-form-mic .gfield .ginput_container_textarea textarea{
	height: 188px !important;
    max-height: 288px;
    resize: vertical;
}
.contact-form-mic .gform_footer{
	justify-content: flex-end;
}
.contact-form-mic .gform_footer input[type="submit"]{
	background: #FFC145;
    color: #000;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
}
.contact-form-mic .gform_footer input[type="submit"]:hover{
	background: transparent;
	color: #FFC145;
	border-color: #FFC145;
}
.contact-form-mic .gform_confirmation_message{
	color: #fff;
    font-size: 1.5rem;
}
.map-mic iframe{
	border-radius: 5px;
}
.p-left-col ul,
.p-right-col ul{
	padding-left: 20px;
}

.underline-anchor a:hover{
	 text-decoration: underline !important;
     text-underline-offset: 3px;
}
 footer .site-footer-section-5 .footer-widget-area-inner .is-layout-flex{
	gap: 14px;
}
.site-footer .site-primary-footer-inner-wrap .site-footer-section h3{
	text-transform: uppercase;
	font-weight: 500;
}
.site-footer .site-primary-footer-inner-wrap .site-footer-section.site-footer-section-5 a img{
	max-height: 26px;
}
/* === gallery carousel === */

.mic-gallery .uagb-slick-carousel button.slick-arrow svg {
    display: none;
}

.mic-gallery .uagb-slick-carousel button.slick-arrow{
	background-color: #f9c145;
	border-radius: 0;
	width: 76px;
    height: 76px;
}

.mic-gallery .uagb-slick-carousel button.slick-arrow:before {
    content: "";
    width: 20px;
    position: absolute;
    height: 3px;
    background: #633228;
    transform: translate(50%, -1px);
    right: 50%;
    opacity: 1;
    border-radius: 2px;
}

.mic-gallery .uagb-slick-carousel button.slick-arrow:after {
    content: "";
    width: 14px;
    height: 14px;
    position: absolute;
    border-radius: 2px;
}

.mic-gallery .uagb-slick-carousel button.slick-arrow.slick-next:after {
	transform: translate(-3px, -6.5px) rotate(45deg);
    border-right: 3px solid #633228;
    border-top: 3px solid #633228;
}

.mic-gallery .uagb-slick-carousel button.slick-arrow.slick-prev:after {
	transform: translate(-10px, -6.5px) rotate(45deg);
    border-left: 3px solid #633228;
    border-bottom: 3px solid #633228;
}


.mic-gallery .slick-slide.slick-current + .slick-active img{
	opacity: 1;
}

.mic-gallery .slick-slide img {
    opacity: 0.5;
}


@media screen and (min-width:1301px) and (max-width:1500px){
	.site-footer .site-primary-footer-inner-wrap .site-footer-section.site-footer-section-5{
		width: 30%;
	}
	.site-footer .site-primary-footer-inner-wrap .site-footer-section.site-footer-section-2{
		width: 25%;
	}
	.site-footer .site-primary-footer-inner-wrap .site-footer-section.site-footer-section-4{
		width: 15%;
	}
}
@media screen and (min-width:1300px){
	.site-footer .site-primary-footer-inner-wrap {
		display: flex;
	}
	.site-footer .site-primary-footer-inner-wrap .site-footer-section{
		width: 20%;
	}
	.site-footer .site-primary-footer-inner-wrap .site-footer-section:last-child{
		width: 35%;
	}
	.site-footer .site-primary-footer-inner-wrap .site-footer-section.site-footer-section-4{
		width: 20%;
	}
	header .site-branding .site-logo-img img{
	width: 160px;
    }
	footer.site-footer .site-primary-footer-wrap .site-primary-footer-inner-wrap {
		padding-left: 60px;
		padding-right: 60px;
	}
}

/* == gallery carouse for desktop == */
@media screen and (min-width:977px){
/* 	.mic-gallery .slick-slide .spectra-image-gallery__media-wrapper{
		height: 400px;
	} */
	.mic-gallery .slick-slide .spectra-image-gallery__media-wrapper .spectra-image-gallery__media--carousel{
		aspect-ratio: 3/2;
	}
	.mic-gallery .slick-slide .spectra-image-gallery__media-wrapper .spectra-image-gallery__media--carousel img{
		height: 400px;
		object-fit: cover;
		object-position: bottom;
	}
	.mic-gallery .slick-track{
		padding: 4rem 0;
	}
	.mic-gallery .slick-slide.slick-current + .slick-active{
		transform: scale(1.2);
		transition: 0.5s ease-in-out;
	}
	.mic-gallery .slick-slide:not(.slick-current + .slick-active) .spectra-image-gallery__media-wrapper .spectra-image-gallery__media-thumbnail-caption-wrapper{
		display: none;
	}
}

@media screen and (min-width:782px){
	.p-left-col{
		padding-right: 3rem;
	}
	.p-right-col{
		padding-left: 3rem;
	}
	.contact-form-mic .gform_confirmation_wrapper{
		height: 100%;
		display: flex;
		align-items: center;
  }
}
@media screen and (max-width:781px){
	.mobile-order-first{
		order: -1;
	}
	footer .site-footer-section-5 .footer-widget-area-inner .is-layout-flex{
		flex-wrap: nowrap !important;
	}
}
@media screen and (min-width:768px) and (max-width:1099px){
	.site-footer .site-primary-footer-inner-wrap{
		grid-template-columns: repeat( 3,1fr ) !important;
	}
	.site-footer .site-footer-section-4 .is-layout-flex{
		flex-wrap: nowrap !important;
	}
	.site-footer .site-footer-section-4 .is-layout-flex .is-layout-flow{
		flex-basis: 75px !important
	}
}

@media screen and (max-width: 976px){
	.mic-gallery .uagb-slick-carousel button.slick-arrow {
		width: 55px;
		height: 55px;
	}
}

@media screen and (max-width:767px){
	.quotes-section .uagb-container-inner-blocks-wrap > .wp-block-uagb-container {
		align-items: flex-start;
	}
	.quotes-section .uagb-container-inner-blocks-wrap > .wp-block-uagb-container blockquote{
		margin: 0;
	}
	.quotes-section .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:nth-child(2){
		order: 3;
	}
	.site-footer .site-footer-section-4 .is-layout-flex{
		flex-wrap: nowrap !important;
	}
	.site-footer .site-footer-section-4 .is-layout-flex .is-layout-flow{
		flex-basis: 75px !important;
		margin-bottom: 0;
	}
	.site-footer .site-primary-footer-inner-wrap .site-footer-section figure img{
		width: 170px;
		margin-bottom: 30px;
	}
	.reverse-order-mobile .uagb-container-inner-blocks-wrap{
		flex-direction: column-reverse !important;
	}
	.site-footer .site-primary-footer-inner-wrap .site-footer-section section > .wp-block-uagb-image{
		justify-content: center;
	}
	.quotes-section-single .is-layout-flow h2,
	.quotes-section-single .is-layout-flow p{
		font-size: 2.3rem !important;
	}
	.mic-gallery .uagb-slick-carousel button.slick-arrow {
		width: 45px;
		height: 45px;
	}
	.mic-gallery .slick-slide img {
		opacity: 1;
	}
	.big-mobile{
		font-size: 28px !important; 
	}
}



/* Top Alert Banner style */


.top-alert-banner {
	background: #FEC145;
	padding: 16px 0;
}

.top-alert-banner img {
	width: 72px;
	height: 36px;
	object-fit: contain;
}

.top-alert-banner .text-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}

.top-alert-banner .container {
	display: flex;
	justify-content: space-between;
	max-width: 1080px;
	margin: auto;
	align-items: center;
	gap: 15px;
	padding: 0 15px;
}

.top-alert-banner .banner-title {
	font-size: 38px;
	font-weight: 500;
	line-height: 46px;
	color: #633328;
	font-family: 'Friedhof';
}

.top-alert-banner .banner-content {
	font-size: 18px;
	line-height: 19px;
	color: #633328;
	font-weight: 600;
	max-width: 400px;
}

.top-alert-banner a {
	position: relative;
	font-size: 20px;
	line-height: 25px;
	color: #633328;
	font-weight: 500;
	margin-right: 20px;
}

.top-alert-banner a:after {
	content: "";
	background: #633228;
	position: absolute;
	right: -23px;
	top: 12px;
	width: 15px;
	height: 2px;
}

.top-alert-banner a:before {
	content: "";
	position: absolute;
	right: -23px;
	top: 7px;
	color: red;
	width: 12px;
	height: 12px;
	border-right: 2px solid #633228;
	border-top: 2px solid #633228;
	transform: rotate(45deg);
	border-radius: 2px;
}


@media screen and (max-width: 922px) {
	.top-alert-banner img {
		width: 45px;
		height: 40px;
		object-fit: contain;
	}
	.top-alert-banner .text-wrap {
		text-align: center;
		flex-direction: column;
		gap: 5px;
	}
	.top-alert-banner .container {
		gap: 10px;
		padding: 0 10px;
	}

	.top-alert-banner .banner-title {
		font-size: 20px;
		font-weight: 600;
		line-height: 26px;
	}
}

