/*
Theme Name: AllinBrand
Theme URI: http://allinbrand.com
Description: AllinBrand
Author: nttam
Author URI: http://allinbrand.com
Template: Divi
Version: 1.0
*/


/* =================== */

.offer-timer-row .et_pb_column {
    display: flex;
    justify-content: space-between;
}

.offer-timer {
	width: 40%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.arrow {
    transform: translate(-50%, -50%);
    transform: rotate(90deg);
    cursor: pointer;
}

.arrow span {
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #bc370d;
    border-left: 3px solid #bc370d;
    transform: rotate(45deg);
    margin: 3px;
    animation: animate 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-15px, -15px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
}

.et_pb_module a {
    text-decoration: none;
}

.accordion-custom.et_pb_accordion .et_pb_toggle {
    margin-bottom: 20px !important;
    background: #f2f5f8;
}

.accordion-custom h4.et_pb_toggle_title {
    padding: 10px 0px 10px 50px !important;
    display: flex;
    align-items: center;
}

.accordion-custom .et_pb_toggle_title:before {
    display: inline-block !important;
    z-index: 1;
    -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    -khtml-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    -moz-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    -ms-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    left: 10px;
    right: unset;
}

.accordion-custom .et_pb_toggle_open .et_pb_toggle_title:before  {
	transform: rotate(-45deg);
	-webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    -khtml-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    -moz-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    -ms-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.accordion-custom .et_pb_toggle_title:after {
    content: '';
    display: inline-block;
    background: #bc370d;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    z-index: 0;
}



.home-slider .et-pb-controllers a {
  background-color: rgb(255, 255, 255);
  width: 15px;
  height: 15px;
  border-radius: 0px;
  opacity: 1;
}

.home-slider .et-pb-controllers a.et-pb-active-control {
	background-color: #BC370D;
}

.home-benefit {
	overflow: hidden;
}

.home-benefit:after {
	content: '';
    position: absolute;
    width: 700px;
    height: 150%;
    background: #BC370D;
    top: -70px;
    transform: rotate(-31deg);
    left: -200px;
}


.header-style-1 h1 {
	padding-bottom: 0px;
	margin-left: 30px;
}

.header-style-1 h1:before {
    content: '';
    width: 10px;
    height: 100%;
    background: url(../../../wp-content/uploads/2024/03/default_pattern.png) repeat;
    display: block;
    position: absolute;
    left: 0px;
    top: 0;
	filter: brightness(0%);
}

.blurb-2.et_pb_blurb, .blurb-2 .et_pb_blurb_container, .blurb-2 .et_pb_main_blurb_image {
    float: left;
}

.filter-white .et_pb_main_blurb_image img {
    filter: brightness(100);
}

.et-pb-slider-arrows {
    position: absolute;
    bottom: 0;
    right: 0;
    
}

.et-pb-slider-arrows .et-pb-arrow-prev, .et-pb-slider-arrows .et-pb-arrow-next {
    position: relative;
    top: unset;
    margin-top: 0px;
    opacity: 1;
	left: 0px;
	right: 0px;
	color: #00235a;
	background: #fff;
}

.et-pb-slider-arrows .et-pb-arrow-prev:hover, .et-pb-slider-arrows .et-pb-arrow-next:hover {
	background: #bc370d;
	color: #fff;
}

.et_pb_slider:hover .et-pb-arrow-prev, .et_pb_slider:hover .et-pb-arrow-prev {
	left: 0px;
	right: 0px;
}



.et_pb_menu .et-menu > li a {
	z-index: 1;
}

.et_pb_menu .et-menu > li.current-menu-item > a:before,
.et_pb_menu .et-menu > li:hover > a:before {
	content: '';
    position: absolute;
    background: #ff8a67;
    width: calc(100% + 5px);
    height: 12px;
    margin-top: 7px;
    z-index: -1;
    left: -2.5px;
}

/* .et_pb_menu .et_pb_menu__menu>nav>ul>li {
    margin-right: 10px;
}

.et_pb_menu .et-menu > li.current-menu-item:before, .et_pb_menu .et-menu > li.current-menu-item:after {
	 content: '';
    position: absolute;
    background: #bc370d;
    width: 8px;
    height: 8px;
	margin-top: -1px;
    top: 50%;
    transform: translate(0, -50%);
}

.et_pb_menu .et-menu > li.current-menu-item:before {
    left: 0px;
}

.et_pb_menu .et-menu > li.current-menu-item:after {
    right: 0px;
} */

#page-container .top-bar .et_pb_row  {
	display: flex;
	align-items: center;
}

#page-container .top-bar .et_pb_column.col-left {
    display: flex;
    align-items: center;
    gap: 2em;
}

#page-container .top-bar .et_pb_blurb .et_pb_blurb_container, .et_pb_blurb.blurb-custom  .et_pb_blurb_container {
	padding-left: 0px;
}

#page-container .top-bar .et_pb_blurb .et_pb_main_blurb_image, .et_pb_blurb.blurb-custom  .et_pb_main_blurb_image, .blurb-custom-2 .et_pb_blurb_container {
	vertical-align: middle;
}

.blurb-custom-2 .et_pb_module_header {
    padding-bottom: 0px;
}


.main-header .nav li.contact-menu {
    display: none;
}

.main-header .nav li ul.sub-menu a {
    text-transform: capitalize;
    letter-spacing: 0px;
    font-weight: 400;
	width: 100%;
}

.nav li li {
    width: 100%;
    padding: 0px;
}

.home-slider .et_pb_slides .et_pb_slide .et_pb_slide_description {
    float: left;
    background: rgb(0 35 90 / 80%);
}

.wpcf7 .row {
    display: inline-block;
    width: 100%;
}

.wpcf7 form .wpcf7-response-output {
    display: flex;
}

.col-md-12 {
    width: 100%;
	float: left;
}

.col-md-6 {
    width: 50%;
	float: left;
}

.col-md-4 {
    width: 33.33%;
	float: left;
}

.col-md-4, .col-md-6, .col-md-12 {
	position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.form-group {
    margin-bottom: 5px;
}

.wpcf7-form-control-wrap {
    position: relative;
}

.wpcf7 input[type="submit"] {
    border-radius: 25px;
    padding: 7px 30px;
    background-color: #199ad6;
    cursor: pointer;
    transition: all 0.5s;
    text-transform: uppercase;
    border: 2px solid #199ad6;
    color: #fff;
}

.wpcf7 input[type="submit"]:hover {
    transition: all 0.5s;
	color: #199ad6;
	background: transparent;
}
.wpcf7-recaptcha {
    margin-bottom: 20px;
}

.wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.wpcf7 textarea, .wpcf7 .et_pb_contact_field input, .wpcf7 .et_pb_contact_field textarea {
    width: 100%;
    padding: 10px;
    border-radius: 7px;
    color: #000;
    background-color: #fff;
    font-size: 14px;
    -webkit-appearance: none;
    border: 2px solid #E4E1DE;
}

.wpcf7 textarea {
    min-width: 100%;
    max-width: 100%;
    max-height: 100px;
    min-height: 100px;
	resize: none;
}

.wpcf7 input:not([type="submit"]):not([type="checkbox"]):focus,
.wpcf7 textarea:focus {
    border: 2px solid #199ad6;
}

span.wpcf7-form-control-wrap.recaptcha .wpcf7-recaptcha {
    transform-origin: top left;
    transform: scale(0.822368);
    display: inline-block;
    margin-bottom: 0 !important;
}

/* MENU MOBILE */

#page-container .et_mobile_menu ul.sub-menu:not(.open) {
	transition: all 0.3s ease;
	height: 0px !important;
	opacity: 0;
	visibility: hidden !important;
}

#page-container .et_mobile_menu ul.sub-menu.open {
	transition: all 0.3s ease;
	opacity: 1;
	visibility: visible !important;
}

.et_mobile_menu .menu-item-has-children {
    position: relative;
}
.et_mobile_menu .menu-item-has-children > a {
    background: transparent;
}
.et_mobile_menu .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
	width: auto;
}

span.menu-closed:before {
    content: "\4c";
    display: block;
    color: #000;
    font-size: 16px;
    font-family: ETmodules;
	float: right;
	transform: rotate(0deg);
	-webkit-transition: all .3s ease-in-out;
		-moz-transition: all .3s ease-in-out;
		transition: all .3s ease-in-out;
}
span.menu-closed.menu-open:before {
	transform: rotate(134deg);
    -webkit-transition: all .3s ease-in-out;
		-moz-transition: all .3s ease-in-out;
		transition: all .3s ease-in-out;
}
/* ================================ */

/* device */

@media only screen and (max-width: 1310px) {
	.section_specialty_1 .col-left {
		padding-left: 35px;
		padding-right: 35px;
	}
}

@media only screen and (max-width: 1280px) {

}

@media only screen and  (max-width: 1270px) {
	#page-container .main-header .et_pb_menu ul li a {
		font-size: 18px;
	}
}

@media only screen and  (max-width: 1150px) {
	
	#page-container .top-bar .et_pb_column.col-left {
		width: 100%;
		gap: 1em;
		justify-content: center;
	}
	
	.top-bar .col-right {
		display: none;
	}
	
	#page-container .et_pb_menu--style-left_aligned .et_pb_menu_inner_container {
		align-items: center !important;
	}
	
	#page-container .main-header .et_pb_menu .et_pb_menu__menu {
		display: none;
	}
	
	#page-container .main-header .et_pb_menu .et_mobile_nav_menu {
		display: flex;
	}
	
	#page-container .main-header .et_pb_menu .et_mobile_menu, #page-container .main-header .et_pb_menu .et_mobile_menu ul{
		list-style: none !important;
		text-align: left;
	}
	
	.et_pb_menu .et_mobile_menu ul {
		  padding: 0;
	}
		  
}

@media only screen and (max-width: 1024px) {
	
}

@media only screen and (min-width: 981px) {
	
	.display-flex {
		display: flex;
	}
	
	.align-items-center {
	   align-items: center;
	}
	
	.align-items-end {
		align-items: end;
	}
	
	.justify-content-center {
		justify-content: center;
	}
	
	.flex-direction-column {
		flex-direction: column;
	}
	
}

@media only screen and (max-width: 980px) {
	
	.et_pb_row.swap-row-md {
        display: flex;
        flex-direction: column-reverse
    }

    .et_pb_row.swap-row-md .et_pb_column {
        margin-bottom: 0px!important
    }

    .et_pb_row.swap-row-md .et_pb_column:last-child {
        margin-bottom: 30px!important
    }
	
	.et-pb-arrow-next, .et-pb-arrow-prev {
		font-size: 40px;
	}

}

@media only screen and (max-width: 768px) {
	
}

@media only screen and (max-width: 480px) {
	
	.arrow span {
		width: 10px;
		height: 10px;
		border-top: 2px solid #bc370d;
		border-left: 2px solid #bc370d;
	}
	
	@keyframes animate {
		0% {
			opacity: 0;
			transform: rotate(45deg) translate(-5px, -5px);
		}
		50% {
			opacity: 1;
		}
		100% {
			opacity: 0;
			transform: rotate(45deg) translate(-10px, -10px);
		}
	}

	
	.offer-timer-row .et_pb_column {
		flex-direction: column;
	}
	
	#page-container .offer-timer {
		width: 100%;
	}
	
	.et-pb-arrow-next, .et-pb-arrow-prev {
		font-size: 35px;
	}
}

@media only screen and (max-width: 360px) {
	
}

@media only screen and (max-width: 320px) {
	
}