/*
Theme Name:     BestValu
Description:
Author:         KTWDigital
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* ------- HOME PAGE // RESPONSIVE ---------- */
/*Hero*/
@media only screen and (max-width:980px){
  .herotxt h1{
    font-size: 65px !important;
  }
  .herotxt h5{
    letter-spacing: 0px !important;
  }
}
@media only screen and (min-width:981px){
  /*About Buttons*/
  .homeaboutbttn{
    float: left;
  }
  .homequotebttn{
    margin-left: 35px !important;
  }
}
/*About Section*/
@media only screen and (min-width:1890px){
  .aboutcon1,.aboutcon2{
    margin-left: 315px !important;
    margin-right: auto !important;
  }
}
@media only screen and (min-width:1315px) and (max-width:1889px){
  .aboutcon1,.aboutcon2{
    margin-left: 85px !important;
    margin-right: auto !important;
    padding-right: 290px !important;
  }
}
@media only screen and (min-width:981px) and (max-width:1314px){
  .aboutsec{
    background-position-x: 81% !important;
  }
  .aboutcon1,.aboutcon2{
    margin-left: 45px !important;
    margin-right: auto !important;
    padding-right: 290px !important;
  }
  .aboutblurb1 h3,.aboutblurb2 h3{
    font-size: 30px !important;
  }
}
@media only screen and (max-width:980px){
  .aboutsec{
    background-color: #d0d0d0 !important;
    background-blend-mode: screen !important;
  }
}

/*Services Row*/
  .servicesblurbtxt a{
    position: relative;
  }
  .servicesblurbtxt a:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    transition: 0.3s ease-in-out 0s;
  }
  .servicesblurbtxt h3 > a:hover:before{
    visibility: visible;
    transform: scaleX(1);
  }
@media only screen and (min-width:1701px){
.servicescon1{
  padding: 95px;
}
.servicescon1c1,.servicescon1c2,.servicescon1c1,.servicescon1c2,.servicescon1c3,.servicescon1c4{
  padding: 120px 95px 95px 95px;
}
.servicescon1c1,.servicescon1c2,.servicescon1c3,.servicescon1c4{
  padding: 120px 95px 120px 95px;
}
}
@media only screen and (min-width:1350px) and (max-width:1700px){
.servicescon1{
  padding: 55px;
}
.servicesblurbtxt h3{
  font-size: 50px !important;
}
.servicescon1c1,.servicescon1c2,.servicescon1c1,.servicescon1c2,.servicescon1c3,.servicescon1c4{
  padding: 95px 55px 55px 55px;
}
.servicescon1c1,.servicescon1c2,.servicescon1c3,.servicescon1c4{
  padding: 95px 55px 95px 55px;
}
}
@media only screen and (min-width:981px) and (max-width:980px){
.servicesblurbtxt h3{
  font-size: 40px !important;
}
.servicescon1c1,.servicescon1c2,.servicescon1c1,.servicescon1c2,.servicescon1c3,.servicescon1c4{
  padding: 55px 30px 30px 30px;
}
.servicescon1c1,.servicescon1c2,.servicescon1c3,.servicescon1c4{
  padding: 55px 30px 55px 30px;
}
}
@media only screen and (min-width:480px) and (max-width:1349px){
.servicesblurbtxt h3{
  font-size: 40px !important;
}
.servicescon1c1,.servicescon1c2,.servicescon1c1,.servicescon1c2,.servicescon1c3,.servicescon1c4{
  padding: 55px 30px 30px 30px;
}
.servicescon1c1,.servicescon1c2,.servicescon1c3,.servicescon1c4{
  padding: 55px 30px 55px 30px;
}
}
@media only screen and (max-width:479px){
.servicesblurbtxt h3{
  font-size: 40px !important;
}
.servicescon1c1,.servicescon1c2,.servicescon1c1,.servicescon1c2,.servicescon1c3,.servicescon1c4{
  padding: 55px 30px 30px 30px;
}
.servicescon1c1,.servicescon1c2,.servicescon1c3,.servicescon1c4{
  padding: 55px 30px 55px 30px;
}
}


/* --------- ABOUT // RESPONSIVE ---------- */
/*Hero*/
@media only screen and (max-width:550px){
  .aboutpherotxt h1{
    font-size: 70px !important;
  }
}
/*--Team Layout--*/
@media only screen and (min-width:1350px){
  .aboutteamcon1c1,.aboutteamcon2c1{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
  }
}
@media only screen and (min-width:632px) and (max-width:1349px){
  .aboutteamcon1{
    max-width: 95% !important;
    width: 95% !important;
  }
  .aboutteamcon1c1,.aboutteamcon2c1{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
  }
}
@media only screen and (max-width:631px){
  .aboutteamcon1{
    max-width: 95% !important;
    width: 95% !important;
  }
  .aboutteamcon1c1,.aboutteamcon2c1{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
  }
  .aboutteamhdr h2{
    letter-spacing: 0px !important;
  }
}
/*--Team Module--*/
@media only screen and (min-width:768px){
  .teamblurb{
    max-width: 300px !important;
  }
  .teamblurb .et_pb_team_member_image{
    z-index:10;
    margin-top:30px;
    margin-left:40px !important;
    margin-right:40px !important;
    margin-bottom:-75px;
    border:3px solid white;
    max-width:200px !important;
    text-align:center;
  }
  .teamblurb .et_pb_team_member_description{
    background-color:White;
    padding: 100px 20px 50px 20px;
    margin-top:-110px;
    z-index:2;
    border-radius:30px 0px 30px 0px;
    -webkit-box-shadow: 0px 0px 39px 0px rgba(0,0,0,0.48);
    -moz-box-shadow: 0px 0px 39px 0px rgba(0,0,0,0.48);
    box-shadow: 0px 0px 39px 0px rgba(0,0,0,0.48);
  }
  .teamblurb .et_pb_team_member_position{
    font-weight:700;
    margin-bottom:15px;
  }
}
@media only screen and (max-width:767px){
  .teamblurb{
    max-width: 300px !important;
  }
  .teamblurb .et_pb_team_member_image{
    z-index:10;
    margin-top:30px;
    margin-left:40px !important;
    margin-right:40px !important;
    margin-bottom:-75px;
    border:3px solid white;
    max-width:200px !important;
    text-align:center;
  }
  .teamblurb .et_pb_team_member_description{
    background-color:White;
    padding: 100px 20px 50px 20px;
    margin-top:-90px;
    z-index:2;
    border-radius:30px 0px 30px 0px;
    -webkit-box-shadow: 0px 0px 39px 0px rgba(0,0,0,0.48);
    -moz-box-shadow: 0px 0px 39px 0px rgba(0,0,0,0.48);
    box-shadow: 0px 0px 39px 0px rgba(0,0,0,0.48);
  }
  .teamblurb .et_pb_team_member_position{
    font-weight:700;
    margin-bottom:15px;
  }
}


/* --------- SERVICES // RESPONSIVE ---------- */
@media only screen and (min-width:981px){
  .servicecon1c2,.servicecon2c1,.servicecon3c2,.servicecon4c1,.servicecon5c2,.servicecon6c1{
    padding: 95px !important;
  }
}
@media only screen and (min-width:550px) and (max-width:980px){
  .servicecon2,.servicecon4,.servicecon6{
    display: flex;
    flex-wrap:wrap;
  }
  .servicecon2c2,.servicecon4c2,.servicecon6c2{
    flex-basis: 100%;
    order: 1;
  }
  .servicecon2c1,.servicecon4c1,.servicecon6c1{
    flex-basis: 100%;
    order: 2;
  }
  .servicecon1c1,.servicecon2c2,.servicecon3c1,.servicecon4c2,.servicecon5c1,.servicecon6c2{
    display: block !important;
    height: 400px !important;
  }
  .servicecon1c2,.servicecon2c1,.servicecon3c2,.servicecon4c1,.servicecon5c2,.servicecon6c1{
    padding: 40px 95px 95px 95px !important;
  }
}
@media only screen and (max-width:549px){
  .servicesherotxt h5{
    letter-spacing: 0px !important;
  }
  .servicesherotxt h1{
    font-size: 80px !important;
  }
  .servicecon2,.servicecon4,.servicecon6{
    display: flex;
    flex-wrap:wrap;
  }
  .servicecon2c2,.servicecon4c2,.servicecon6c2{
    flex-basis: 100%;
    order: 1;
  }
  .servicecon2c1,.servicecon4c1,.servicecon6c1{
    flex-basis: 100%;
    order: 2;
  }
  .servicecon1c1,.servicecon2c2,.servicecon3c1,.servicecon4c2,.servicecon5c1,.servicecon6c2{
    display: block !important;
    height: 400px !important;
  }
  .servicecon1c2,.servicecon2c1,.servicecon3c2,.servicecon4c1,.servicecon5c2,.servicecon6c1{
    padding: 35px 30px 75px 30px !important;
  }
}

/* --------- CONTACT PAGE // RESPONSIVE ---------- */
  #frm_field_20_container,#frm_field_29_container{
    padding-top: 25px !important;
  }

/* ------- GLOBAL // FOOTER ---------- */
@media only screen and (min-width:927px){
  .contactcon2c{
    display: flex;
    justify-content: space-between;
  }
}
@media only screen and (min-width:550px) and (max-width:926px){
  .contactcon2c{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
}
@media only screen and (max-width:549px){
  .footertxt,.footertxt h4{
    text-align: left !important;
  }
}


/* ------- GLOBAL // MENU TWEAKS ---------- */
/*Layout Tweaks*/
@media only screen and (min-width:981px) and (max-width:1055px){
  .logo_container a img{
    max-height: 47% !important;
  }
  #et-top-navigation{
    padding-left: 0px !important;
  }
}
/*Styles*/
@media only screen and (min-width:981px){
  #et-top-navigation{
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
  .menu-item a{
    padding-bottom: 0px !important;
    padding: 10px !important;
  }
  .menu-item a:hover{
    opacity: 1 !important;
    color: #aa1725 !important;
  }
  .menu-item-has-children{
    padding-right: 0px !important;
    margin-right:30px !important;
  }
  .menu-item-has-children a::after{
    top:9px !important;
    right: -10px !important;
  }
  .navquote{
    border: 1px solid #aa1725 !important;
    transition: 0.2s ease-in-out;
  }
  .navquote:hover{
    transition: 0.2s ease-in-out;
  }
  .navquote a{
    color: white!important;
  }
  .navquote a:hover{
    color: white !important;
  }
}

/* ----------- GLOBAL // MOBILE MENU TWEAKS ------------- */
@media screen and (max-width:980px){
  .mobile_menu_bar:before{
    color: white !important;
  }
  .mobile_nav::before{
    color: white !important;
  }
  .et_mobile_menu{
    background-color: #aa1725 !important;
    border-top: 3px solid white !important;
    max-height: 70vh !important;
    overflow-y: scroll !important;
  }
  .menu-item a{
    text-transform: uppercase !important;
  }
}


/* -------- GLOBAL // FORMIDABLE STYLES ------------ */
.form-field input,.form-field textarea{
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid black !important;
  border-radius: 0px !important;
}
.frm_style_formidable-style.with_frm_style label.frm_primary_label{
  font-weight: 100 !important;
  color: black !important;
}
.frm_style_formidable-style.with_frm_style select,.frm_form_field select{
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid black !important;
  border-radius: 0px !important;
}
input::placeholder,select::placeholder,textarea::placeholder{
  color: black !important;
}
