#mc_embed_signup form {
    margin: 0px !important;
}
#mc_embed_signup{
    width: unset !important;
    max-width: 500px !important;
}
#mc_embed_signup .mc-field-group{
    width: 100% !important;
}
#mce-responses{
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
}
#mc_embed_signup div.response{
    width: 100% !important;
    color: var(--global-palette3) !important;
}
#mc_embed_signup .foot{
    display: flex !important;
    width: 100% !important;
}
input#mc-embedded-subscribe{
 margin-top: 15px !important;
 width: 100% !important;
 text-transform: uppercase;
 font-size: 16px !important;
 height: auto !important;
 padding: 5px 0 !important;
 background-color: var(--global-palette-highlight) !important;
 transition: none !important;
}

input#mc-embedded-subscribe:hover{
    color: black !important;
}
.site-bottom-header-inner-wrap.site-header-row.site-header-row-only-center-column.site-header-row-center-column {
    margin-top: 30px;
}

.site-bottom-header-inner-wrap .site-header-bottom-section-center .site-header-item .header-html .header-html-inner{
    display:block !important;
    width: max-content !important;
    margin-left: 4px;

    color: #767676 !important;
}
.site-bottom-header-inner-wrap .site-header-bottom-section-center #secondary-menu{
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 30px !important;
    margin-left: 10px !important;
    padding-top: 1px;
}
.site-bottom-header-inner-wrap .site-header-bottom-section-center #secondary-menu a{
    color: black !important;
}
.site-bottom-header-inner-wrap .site-header-bottom-section-center #secondary-menu a:hover{
    color: red !important;
}
.site-bottom-header-inner-wrap .site-header-bottom-section-center #secondary-menu .current-menu-item a{
    color: red !important;
    pointer-events: none;
}
.site-top-header-inner-wrap .site-header-top-section-left .site-header-item .header-html .header-html-inner{
    display: block !important;
    width: max-content !important;
    color: #767676 !important;
    margin-top: 12px;
    margin-left: -18px;
}

.site-header-top-section-left.site-header-section.site-header-section-left{
    flex-direction: column !important;
    padding-top: 10px;
}

.menu-item > a{
    color:#a7a7a7 !important;
    padding: 0 !important;
}
.menu-item > a:hover{
    color: red !important;
}


.current-menu-item > a{
    color: red !important;
}
.current-menu-parent > a{
    color: red !important;
}
.site-bottom-header-wrap .site-header-row-container-inner .site-container{
    padding: 0 var(--global--content-edge-padding) !important;
    max-width: var(--global-content-width) !important;
    margin-top: -24px;
}
.secondary-navigation .secondary-menu-container > ul > li:first-of-type a {
    padding-left: 0 !important;
}
.secondary-navigation .secondary-menu-container > ul > li.menu-item > a:hover {
    color: black !important;
}

.current-menu-item > a:hover{
    pointer-events: none !important;
    color: red !important;
}
.site-header-section>.site-header-item:last-child{
    width: 100% !important;
}

.header-navigation, .header-menu-container{
    width: 100% !important;
}
.site-main-header-wrap .site-header-row-container-inner .site-container{
    padding-left: 21px;
}


.header-navigation .menu{
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 30px !important;
    padding-left: 4px;
}
.brand{
    width:max-content !important;
}

@media screen and (max-width: 782px) {
	.site-header-section>.site-header-item:last-child{
        width: auto !important;
    }
    .menu-item > a{
       
        padding: 10px 0 !important;
    }

}

#search{
    position: absolute;
    top: 60px;
    z-index: 11;
    right: 0;
}
[data-section=kadence_customizer_header_customsearch]{
    justify-content: start !important;
    margin-top: 6px;
    margin-bottom: 15px;
    position: relative;
}
[data-section=kadence_customizer_header_customsearch] form .dropdown-wrapp{
		position: relative;
		width: max-content;
}
[data-section=kadence_customizer_header_customsearch] form .dropdown-wrapp .dropdown{
	position: absolute;
	padding: 0px;
	background: white;
	width: 100%;
	border: 0.5px solid black;
	top: 47px;
	opacity: 0;
	pointer-events: none;
	transition: .1s ease-in-out;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;

}
[data-section=kadence_customizer_header_customsearch] form .dropdown-wrapp .arrow{
	position:absolute;
	right: 10px;
	height: 20px;
	aspect-ratio: 1;
	top: 15px;
	transition: .1s ease-in-out;
	transform-origin: center;
	pointer-events: none;
}
[data-section=kadence_customizer_header_customsearch] form .dropdown-wrapp .arrow.open{
	transform: rotate(180deg);
}
[data-section=kadence_customizer_header_customsearch] form .dropdown-wrapp .dropdown.show{
	opacity: 1;
	top: 49px;
	pointer-events: all;
}
[data-section=kadence_customizer_header_customsearch] form .dropdown-wrapp .dropdown ul{
	list-style: none;	
	margin: 0;
}
[data-section=kadence_customizer_header_customsearch] form .dropdown-wrapp .dropdown ul li{
	padding: 5px 10px;
	display: block;
}
[data-section=kadence_customizer_header_customsearch] form .dropdown-wrapp .dropdown ul li:hover,
[data-section=kadence_customizer_header_customsearch] form .dropdown-wrapp .dropdown ul li.hovered{
	cursor: pointer;
	background: var(--global-palette-highlight);
	color: white;
}
[data-section=kadence_customizer_header_customsearch] form input[type=text]{
    margin-right: 0px;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
    width: 532px;
		height: 50px;
}
[data-section=kadence_customizer_header_customsearch] form input[type=text].invalid::placeholder{
		color: var(--global-palette-btn-bg);
}

[data-section=kadence_customizer_header_customsearch] form{
    width: max-content;
    position: relative;
		display: flex;
}

[data-section=kadence_customizer_header_customsearch] form::after{
    content: "Please enter a search term";
    color: var(--global-palette-btn-bg);
    font-size: 16px;
		line-height: 16px;
		left: 10px;
    opacity: 0;
    transition: .2s ease-in-out;
    position: absolute;
    top: 50%;
		pointer-events: none;
    transform: translateY(-50%);
}
[data-section=kadence_customizer_header_customsearch] form #invalid{
  display: none;
}
[data-section=kadence_customizer_header_customsearch] form.invalid::after{
    transition: .2s ease-in-out;
    opacity: 1 !important;
}
[data-section=kadence_customizer_header_customsearch] form input[type=submit]{
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
}
[data-section=kadence_customizer_header_customsearch] form input[type=submit]:hover{
    background-color: black ;
}

.entry-related-inner-content.alignwide{
    max-width: 100% !important;
    margin: 0 auto !important;
}

.back-button-wrap{
    margin-bottom: 20px;
    position: fixed;
    /* top: -20px; */
    left: calc(50% - 630px);
    transform: translateX(-100%);
    top: 22px;
    z-index: 99999;
}

.back-button-wrap.admin-user{
    top: 52px;
}

@media (max-width: 1600px) {
    .back-button .back-text {
        display: none;
    }
}

@media (max-width: 1380px) {
   .back-button-wrap{
    position: fixed;
    left: 10px;
    transform: translateX(0px);
    top: unset !important;
    bottom: -9px;
    z-index: 99999;
}
}


@media screen and (min-width: 1000px) {
	body[class*="showing-popup-drawer-"]{
		overflow-y: scroll !important;
	}
	.popup-drawer .drawer-inner{
		width: 400px !important;
	}
	.mobile-navigation ul li{
		font-size: 17px !important;
		line-height: 1.7 !important;
	}
	.site-header-item.site-header-focus-item.site-header-item-navgation-popup-toggle{
		flex-direction: row-reverse !important;
	}

}
@media screen and (max-width: 1000px) {
	.site-header-section>.site-header-item:last-child{
		flex-direction: row-reverse !important;
	}
}
@media screen and (max-width: 700px) {
		[data-section=kadence_customizer_header_customsearch]{
			margin-top: 13px;
			margin-bottom: 13px;
		}
    [data-section=kadence_customizer_header_customsearch] form input[type=text]{
        font-size: 15px !important;
				height: 50px;
        width: 245px;
				padding-right: 16px;
    }
    [data-section=kadence_customizer_header_customsearch] form::after{
        font-size: 15px;
    }
    [data-section=kadence_customizer_header_customsearch] form #invalid{
        display: inline;
        color: var(--global-palette-btn-bg);
        font-size: 16px;
        transition: .2s ease-in-out;
        opacity: 0;
        position: absolute;
				top: 50%;
				transform: translateY(-50%);
				z-index: 3;
				pointer-events: none;
        right: unset;
        left: 10px;
        margin: 0;
    }
    [data-section=kadence_customizer_header_customsearch] form #invalid.show{
        opacity: 1;
    }

    .footer-widget-area.footer-navigation-layout-stretch-true .footer-navigation .menu{
        gap: 10px;
    }
}
