/*
Theme Name: Divi Child Theme
Description: Divi Child Theme
Author:  Ryan Saucerman
Author URI:  https://www.explorethatstore.com/
Template: Divi
Version:  1.0.3
*/

@import url("https://berqwp-cdn.sfo3.cdn.digitaloceanspaces.com/cache/averest.co/wp-content/themes/Divi/style.css?hash=fe2d0a82c0dc742bec321422c044f1f0");
 
/* =Theme customizations
------------------------------------------------------- */

img[data-lazy-src] {
/* we set the opacity to 0 */
   opacity: 0;
}
/* Image without 'data' attribute is (or becomes) visible */
img.lazyloaded {
/* prepare the future animation */
   -webkit-transition: opacity .5s linear 0.2s;
       -moz-transition: opacity .5s linear 0.2s;
                 transition: opacity .5s linear 0.2s;
/* we set the opacity to 1 to do the magic */
   opacity: 1;
}

body.no-scroll {
   overflow: hidden;
   height: 100%;
   touch-action: none;
}
body.no-scroll #et-main-area{
   opacity: 0;
}
body.no-scroll #page-container{
	background-color:#121d2e;
}

body {
	background: #f2f5f8;
}

/*Font Sizes*/
body #page-container #main-content h1{
	font-size: clamp(36px, calc(2.25rem + ((1vw - 7.68px) * 4.1667)), 64px);
	line-height:1.2;
}
body #page-container #main-content h1.inner,
body #page-container #main-content .inner h1{
    font-size: clamp(36px, calc(2.25rem + ((1vw - 7.68px) * 1.7857)), 48px) !important;
	padding-bottom: 20px;
}
body #page-container #main-content h2{
	font-size: clamp(28px, calc(1.75rem + ((1vw - 7.68px) * 2.381)), 44px);
	line-height:1.3;
}
body #page-container #main-content h3{
	font-size: clamp(24px, calc(1.5rem + ((1vw - 7.68px) * 1.7857)), 36px);
	font-weight:400;  
	line-height:1.4;
}
body #page-container #main-content h4{
	font-size: clamp(20px, calc(1.25rem + ((1vw - 7.68px) * 0.9615)), 28px);
	font-weight:600;
}
body #page-container #main-content h5{
	font-size: clamp(20px, calc(1.25rem + ((1vw - 7.68px) * 1.1905)), 28px);
}
body #page-container #main-content p, body #page-container #main-content li{
	font-size: clamp(18px, calc(1.125rem + ((1vw - 7.68px) * 0.2976)), 20px);
	line-height:1.6;
}
body #page-container #main-content .largeparagraph p{
	font-size: clamp(20px, calc(1.25rem + ((1vw - 7.68px) * 0.5952)), 24px);
	line-height:1.6;
}
body #page-container #main-content a:not(.et_pb_button ){
  text-decoration:underline;
}
body #page-container #main-content a:not(.et_pb_button ):hover{
  text-decoration-thickness: 3px;
}
body #page-container #main-content li:not(:last-child){
	padding-bottom:20px;
}
#main-content .et_pb_text ol, .et_pb_text ul {
	padding-bottom:0px;
}

body #page-container .et_pb_section a.buttonunderline:before{
	content:""!important;
	display:block!important;
	height:var(--btn-underline-height);
	width:var(--btn-underline-width);
	bottom:0;
	left:0;
	background:var(--btn-underline-color);
	opacity:1!important;
	margin:0px!important;
}
.button-light-blue {
  width:100%;
  --btn-underline-color:#3e7ab7;
  	--btn-underline-width:100%;
  	--btn-underline-height:1px;
}
.button-light-blue:hover{
  --btn-underline-color:linear-gradient(90deg, rgba(62,122,183,1) 0%, rgba(160,193,217,1) 100%);
  --btn-underline-height:3px;
  
}
.button-light-blue::after{
  right:20px;
}

@media (max-width:980px) {
	.reverse {
		display: flex;
		flex-direction: column-reverse;
	}
}

.et_pb_slide_image img {
    height: calc(100% - 150px);
    object-fit: cover;
    background-color: #fff;
    max-height: 450px !important;
	transition: max-height 0.3s ease;
}
@media (max-width: 768px) and (min-width: 601px) {
	.et_pb_slide_image img {
    height: 450px;
}
}
@media (max-width: 600px) {
	.et_pb_slide_image img {
		max-height: 250px !important;
		height: 250px;
	}
}

@media all and (max-width: 1100px) and (min-width: 981px) {
  .flexbox-centered {
    align-items: flex-start!important;
  }
}
@media (max-width: 1385px) and (min-width: 1101px) {
  #border-title {
    margin-left: 40px!important;
    margin-right: 40px!important;
    max-width: 93.5%;
  }
}
@media (max-width: 1100px) and (min-width: 981px) {
  #border-title {
    margin-left: 40px!important;
    margin-right: 40px!important;
    max-width: 92%;
  }
}

.menu-item-52 > a:hover,
.menu-item-54 > a:hover,
.menu-item-84 > a:hover,
.menu-item-85 > a:hover {
   opacity: 1!important;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li .sub-menu .et_pb_menu_page_id-52 a {
    text-transform: none;
}

