/*
Theme Name: AV Repair Heroes
Text Domain: avRepairHeroes
Version: 0.1
Requires at least: 4.7
Requires PHP: 7
Description: A custom theme for Repair Heroes P. Ltd.
Tags: one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-navbar, theme-options, block-styles, wide-blocks, accessibility-ready
Author: Avista Shakya
Author URI: https://avistahakya.com.np
Theme URI: https://avistahakya.com.np/themes/repairHeroes/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it however you like.
*/

img{
  max-width: 100%;
}
body, html{
  width: 100vw;
  overflow-x: hidden;
}
body{
  font-family: var(--content-font);
}
body *{
  transition: 0.3s ease; 
}
h1,h2,h3,h4,h5,h6{
  font-family: var(--heading-font);
}
content section{
  padding: 50px 0;
}
content section.no-padding{
  padding:0;
}
.av_sticked_to_top{
  position: fixed;
  z-index: 999;
}
.av_section_title{
  text-align: center;
  color:var(--main-color);
}
.av_section_title_light{
  text-align: center;
  color:#fff
}

/* Top Bar */
#av_top_nav{
   height: 40px;
   margin: 0;
   padding: 0;
   color: var(--second-color);
   font-family: var(--heading-font);
   font-size: 16px;
}
#av_top_nav div{
  height: 100%;
}
#av_contact_info, #av_social_icons{
  display: flex;
  align-items: center;
}
#av_contact_info i{
  color: #222;
  font-size: 22px;
}
#av_social_icons{
  justify-content: flex-end;
}
#av_social_icons i{
  font-size: 20px;
  padding: 5px;
}
#av_contact_info span{
  display: flex;
}
@media(max-width: 600px){
  #av_social_icons{
    display: none;
  }
}
@media (max-width: 991px){
  #av_contact_info{
    display: block;
  }
}

/* Navbar */
header{
  position: absolute;
  z-index: 2;
  width: 100vw;
  margin-top: 10px;
}
header .container{
  background-color: #fff;
  box-shadow: #888 1px 1px 20px 0;
  padding: 0;
}
#av_navbar div{
  height: 100%;
}
#av_site_logo{
  text-align: center;
}
#av_site_logo h1{
  color: var(--second-color);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
#av_site_logo img{
  max-height: 98px;
  padding: 5px;
}


#av_site_menu > ul > li > a{
  color: #fff;
  padding: 25px 15px 10px 15px;
}
#av_site_menu > ul > li > a:hover{
  background-color: var(--main-color);
  text-decoration: none;
}
#av_site_menu .highlighted a{
  color: var(--second-color);
  font-size: 22px;
  padding: 0 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#av_site_menu .sub-menu{
  list-style: none;
  padding: 0;
}
#av_site_menu .sub-menu li a{
  padding: 8px;
  margin: 2px 0;
  display: block;
  color: #fff;
}


/* Responsive Menu */
#av_site_logo i, #av_site_menu i{
  display: none;
  cursor: pointer;
}
#av_site_menu > ul > li{
  display: flex;
}
@media (min-width: 1200px){
  #av_site_menu > ul{
    list-style: none;
    display: flex;
    justify-content: flex-end;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--dark-color);
  }
  #av_site_menu > ul > .menu-item-has-children{
    position: relative;
  }
  #av_site_menu > ul > .menu-item-has-children > .sub-menu{
    position: absolute;
    display: none;
    border: 1px solid var(--second-color);
    border-top: 0;
  }
  #av_site_menu > ul > .menu-item-has-children > .sub-menu ul{
    padding: 0 10px 5px 20px;
  }
  #av_site_menu .sub-menu{
    min-width: 350px;
    top: 100%;
    background-color: var(--main-color);
  }
  #av_site_menu > ul > .menu-item-has-children:hover > .sub-menu{
    display: block;
  }
  #av_site_menu .sub-menu li a:hover{
   background-color: rgba(0,0,0,0.4);;
   color: #fff;
   text-decoration: none;
  }
  #av_site_logo .av_sticked_to_top{
    max-height: 120px;
    top:0;
    left:0;
    z-index: 1001;
    padding: 0;
    border: 5px solid #fff;
    box-shadow: #ccc 0 1px 5px 0;
  }
  #av_site_menu.av_sticked_to_top{
    right: 0;
    top: 0;
    padding: 0;
    box-shadow: #ccc 0 1px 5px 0;
  }
}
@media (max-width: 1199px){
  header .container{
    padding: 10px;
  }
  #av_site_logo img{
    position: fixed;
    left: 0;
    top: 0;
    height: 80px;
    padding: 0;
    border: 5px solid #fff;
  }
  #av_site_logo i{
    display: block;
    font-size: 30px;
    position: fixed;
    right: 10px;
    top: 10px;
  }
  #av_site_logo i, #av_site_menu i{
    display: flex;
    color: #fff;
    font-size: 30px;
    margin: 5px;
    width: 40px;
    height: 40px;
    background-color: var(--main-color);
    justify-content: center;
    align-items: center;
    z-index: 99;
  }
  #av_site_menu{
    background-color: #222;
    position: fixed;
    height: 100%;
    z-index: 100;
    width:300px;
    top:0;
    right: 0; 
    transform: translateX(100%);
    overflow-y: scroll;
    padding: 15px;
  }

  #av_site_menu.av_opened{
    transform: translateX(0);
  }
  #av_site_menu > ul{
    display: block;
    padding: 0;
  }
  #av_site_menu > ul > li{
    display: block;
    text-align: center;
  }
  #av_site_menu >ul > li > a {
    padding: 15px;
    display: block;
    margin: 10px 0;
    border: 1px solid var(--second-color);
  }
  #av_site_menu .highlighted a{
    border-width: 3px;
    padding: 15px;
    justify-content: center;
    border-style: dotted;
    margin-top: 40px;
  }
  #av_site_menu .sub-menu{
    padding: 0 10px;
  }
  #av_site_menu .sub-menu li a{
    border: 1px dotted var(--second-color);
  }
  .av_sm_decoy_top{
    height: 65px;
  }/*To Prevent Slider overlap in small scereens*/
}

/* Slider */
#av_banner .carousel-item img{
  width: 100%;
} 
#av_banner .carousel-indicators{
  z-index: 1;
}

/* Why Us */
#av_why_us{
  background-color: #000;
}
#av_why_us .av_reasons{
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 5px;
  color: #fff;
  text-align: center;
}
#av_why_us .av_reasons div{
  padding: 15px;
  background-color: var(--second-color);
}
#av_why_us .av_reasons div:last-child{
  grid-area: 3/1/4/3;
}

/* Video intro */
#av_video_before{
  background-image: url(../img/try.png);
  background-repeat: no-repeat;
  background-position: -20px center;
}
#av_video_intro #av_video{
  display: flex;
  align-items: center;
}
#av_video_intro ul{
  list-style: none;
  padding-top: 10px;
}

#av_video_intro ul li{
  padding: 15px;
  background-color: var(--dark-color);
  color: #fff;
  margin-bottom: 5px;
}

/* Services */
#av_services{
  background-color: var(--dark-color);
}
.av_serviceBox{
    margin: 15px 0;
    text-align: center;
}
.av_serviceBox .av_service_icon{
    background: #eef3fa;
    border-radius: 15px 15px 0 0;
    padding: 10px 10px 8px;
    margin: 0 25px;
    position: relative;
    z-index: 1;
}
.av_serviceBox .av_service_icon img{
  height: 70px;
}
.av_serviceBox .av_service_content{
    color: #fff;
    background: linear-gradient(to bottom,#d92856 80%,#EF7C46);
    text-shadow: 0 0 2px #555;
    /*padding: 50px 20px 30px;*/
    border-radius: 5px 5px 15px 15px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.av_serviceBox .av_service_content:before,
.av_serviceBox .av_service_content:after{
    content: "";
    background: #eef3fa;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transform: translateX(-50%);
    position: absolute;
    top: -30px;
    left: 50%;
}
.av_serviceBox .av_service_content:after{
    background: linear-gradient(to bottom,rgba(255,255,255,0.1),transparent);
    width: 100%;
    height: 100%;
    border-radius: 100% 0 0 0;
    transform: translateX(0);
    top: 15px;
    left: 0;
}
.av_serviceBox .title{
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 10px;
    height: 42px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.av_serviceBox .description{
    font-size: 15px;
    font-weight: 500;
    line-height: 25px;
}
.av_serviceBox.type2 .av_service_icon{ color: #B67BD5; }
.av_serviceBox.type2 .av_service_content{ background: linear-gradient(to bottom,#B67BD5 80%,#D87BA7); }
.av_serviceBox.type3 .av_service_icon{ color: #13b8ef; }
.av_serviceBox.type3 .av_service_content{ background: linear-gradient(to bottom,#13b8ef 80%,#72daf9); }
.av_serviceBox.type4 .av_service_icon{ color: #22AB15; }
.av_serviceBox.type4 .av_service_content{ background: linear-gradient(to bottom,#22AB15 80%,#A4DC61); }
@media only screen and (max-width:990px){
    .av_serviceBox{ margin: 0 0 30px; }
}

/* Testimonials */
#av_testonial_slider .carousel-item > div{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 80%;
  text-align: center;
  min-height: 300px;
  margin: auto;
  margin-bottom: 50px;
}

#av_testonial_slider .carousel-item i{
  font-size: 3rem;
  border: 5px solid var(--dark-color);
  width: 100px;
  border-radius: 50%;
  margin: 20px;
  color: var( --dark-color);
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#av_testimonials .carousel-indicators{
  align-items: baseline;
  z-index: 1;
}
#av_testimonials .carousel-indicators li {
  background-color: var(--dark-color);
  cursor: pointer;
  width: 20px;
  height: 10px;
}
#av_testimonials .carousel-indicators li.active {
  background-color: var(--main-color);
  height: 20px;
}
.carousel-control-next, .carousel-control-prev {
  font-size: 40px;
  color: var(--main-color);
}
.carousel-control-next:focus, .carousel-control-next:hover, .carousel-control-prev:focus, .carousel-control-prev:hover {
  color: var(--main-color);
}

/* Footer */
footer .av_footer_col{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  margin: 15px 0;
}
footer .av_footer_col > div{
  width: 100%;
}
footer .av_footer_col a{
  color: #fff;
}
#av_copy_info{
  background-color: #222;
  padding: 10px;
}