:root {
  --orange:#ff5e14;
  --downriver:#0e2b5c;
  --gray: #f1f1f1;
  --black:#000000;
  --white: #ffffff;
}
/*-------------- media section ---------------*/
@media screen and (max-width: 1366px) and (min-width: 1300px){
  .header-search-form:after{
    left: -10%;
  }
}
@media screen and (max-width: 1920px) and (min-width: 1600px){
  #why-choose-us .why-chooose-left-content {
    background-color: var(--downriver);
    padding: 10% 10% 10% 42%;
  }
  #slider .carousel-item .carousel-caption{
    margin-left: 11em;
  }
  .main-navigation li {
    padding: 15px 15px !important;
  }
  .header-search-form:after{
    /* height: 115px; */
    top: -23px;
  }
  .topbar-email, .topbar-time{
    /* margin-left: 9%; */
  }
}
@media screen and (min-width: 1440px){
  .main-navigation li{
    padding: 12px 17px;
  }
  #slider .carousel-item .carousel-caption {
    width: 30vw;
  }
  .section-main-heading{
    font: bold 37px/65px Lato;
  }
  .section-small-heading{
    font: bold 32px/43px Roboto Slab;
  }
}
@media screen and (max-width: 1040px) {
  #slider .carousel-control-next {
    right: 0;
}
#slider .slider-button, #about-us .about-learn-more-btn {
    padding: 24px 20px 10px 20px
  }
  .single-post-comment{
    width: 100%;
  }
  .main-header .sidenav {
    display: none;
  }
  .above_title h1 {
    font: bold 25px/45px Roboto Slab;
  }
  .title-box .above_title a, .title-box .above_title .current {
    font: bold 14px/24px Lato;
  }
  #announcement-bar :is(.announcenet-left-content, .announcenet-right-content) :is(p, a ){
    margin-inline: 0px 18px;
  }
  #announcement-bar .topbar-menu a:first-child:after{
    margin-right: 3px;
  }
  .carousel-control-prev {
    left: -12px;
  }
  .carousel-control-next {
    right: -4px;
  }
  amp-sidebar#sidebar1 {
    width: 0;
    height: 100%;
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    background-color: var(--orange);
    padding-top: 60px;
    overflow: scroll;
  }
  amp-sidebar#sidebar1 .sidenav, .toggle-nav {
    display: block;
  }
  .toggle-nav {
    display: block;
    position: absolute;
    top: -10px;
    right: -10px;
  }
  .toggle-nav i {
    font-size: 25px;
    color: var(--downriver);
  }
  #close_nav {
    position: absolute;
    top: 8px;
    right: 1em;
    font-size: 26px;
    color: #0e2b5c;
    cursor: pointer;
    z-index: 99;
  }
  .menu>ul>li:hover:before, .menu>ul>li.current_page_item:before, .menu>ul>li.current-menu-item:before {
    display: none;
  }
  .nav ul li a {
    padding: 5px 10px;
  }
  .nav ul li ul, .nav ul li ul ul {
    /* display: block; */
  }
  .nav ul li ul li a:before {
    content: "\00BB \00a0";
    position: absolute;
    top: 4px;
    left: 4px;
  }
  #site-navigation ul>li.menu-item-has-children>a:after {
    right: -10px;
    top: 7px;
  }
  #site-navigation a {
    color: #0e2b5c;
  }
  .nav ul li ul li a {
    padding-left: 20px !important;
  }
  .nav ul li ul li ul li a {
    padding-left: 30px !important;
  }
  .main-navigation ul ul {
    position: static;
    width: 100%;
    box-shadow: none;
    background: none
  }
  .main-navigation li {
    display: block;
  }
  .sub-menu li a:after {
    background-color: unset;
  }
  .header-search-form:after{
    height: 44px;
    top: -6px;
  }
  #slider .slider-button, #about-us .about-learn-more-btn{
    margin: 0 auto;
  }
  .our-representative{
    margin: 0 auto;
    justify-content: center;
    padding-top: 20px;
  }
  .card-container{
    justify-content: center;
  }
  #slider .slider-main-heading {
    font: 20px/25px Lato;
  }
  #slider .slider-description-text {
    font: 14px/14px Assistant;
  }
  #slider .slider-list-text {
    font: 12px/12px Assistant;
  }
  #slider .carousel-item .carousel-caption{
    width: 50vw;
  }
  #about-us .section-main-heading {
    font: bold 30px/51px Lato;
  }
  #about-us .right-text{
    left: 0px;
  }
  #about-us .card-heading {
    font: 18px/18px Robot Slab;
  }
  #about-us .about-main-heading{
    width: 100%;
  }
  #services .service-main-heading{
    width: 70%;
  }
  #why-choose-us .why-chooose-left-content{
    padding: 10% 10% 10% 15%;
  }
  #why-choose-us .why-chooose-right-content .why-description{
    padding: 20px 20px 20px 40px;
  }
  #about-us .about-us-right-section img {
    height: 90%;
  }
  .section-small-heading {
    font: bold 30px/30px Roboto Slab;
  }
  #why-choose-us .why-chooose-right-content {
    padding: 0% 7% 0% 7%;
  }
  #team .section-main-heading {
    font: bold 30px/60px Lato;
  }
  #team .team-name {
    margin: 15px 0;
  }
  #team .team-description {
    font: normal normal 18px/30px Assistant;
  }
  #team .slider-for .slick-prev, #team .slider-for .slick-next{
    left: 25%;
  }
  #team .slider-for .slick-prev{
    bottom: 65px;
  }
  #testimonial .owl-nav, #latest-news .owl-nav, #sponsor .owl-nav{
    display: none;
  }
  #testimonial .testimonial-description {
    font: 16px/27px Assistant;
  }
  #testimonial .star-container{
    max-width: 75%;
  }
  #testimonial .testimonial-container{
    padding: 20% 7% 7%;
  }
  #testimonial .testimonial-title a {
    font: bold 20px/30px Roboto Slab;
  }
  #team .team-text-content{
    margin-top: unset;
  }
  #announcement-bar .announcenet-right-content{
    justify-content: end;
  }
  .title-box .container1 {
    width: 40% !important;
  }
  #announcement-bar :is(.announcenet-left-content, .announcenet-right-content) :is(p, a ){
    margin-inline: 10px;
  }
}
@media screen and (max-width: 1300px) and (min-width: 1040px){
  #announcement-bar :is(.announcenet-left-content, .announcenet-right-content) :is(p, a ){
    margin-inline: 9px;
  }
  .header-search-form:after{
    left: -10px !important;
  }
  .header-search-form:after{
    height: 73px !important;
    top: -20px !important;
  }
}
@media screen and (max-width: 991px){
  #slider .carousel-control-prev {
    left: -10px;
  }
  #slider .carousel-control-next {
    right: 0px;
  }
  .main_title{
    text-align: center;
    padding: 15px 0;
  }
  .latest-blog-text-content{
    text-align: center;
  }
  #sidebar{
    text-align: center;
  }
  #slider .slider-button{
    margin: unset;
  }
  .single-author-image img {
    width: 10%;
  }
  .single-page-title {
    font: normal normal bold 23px Muli;
  }
  #announcement-bar .announcenet-right-content {
    justify-content: center;
  }
  .our-representative{
    padding-top: 0px;
  }
  #slider .carousal-indicators i{
    height: 40px;
    width: 40px;
    padding: 4px 0px;
  }
  #slider .slider-button a{
    font: 600 14px/13px Assistant;
  }
  #slider .slider-button{
    padding: 4px 12px 4px;

  }
  #slider .slider-small-heading {
    font: bold 14px/7px Roboto Slab;
  }
  .carousel-control-prev {
    left: -14px;
  }
  #why-choose-us .section-small-heading, #why-choose-us .why-description{
    text-align: center ;
  }
  #why-choose-us .why-chooose-right-content .why-description{
    padding: 20px 20px 20px 40px;
  }
  #why-choose-us .why-chooose-right-content .why-description:before{
    display: none;
  }
  #why-choose-us .why-choose-card{
    text-align: center;
    justify-content: center;
  }
  .progress-title{
    margin: 0px 20px 0px 0px;
  }
  #services {
    padding-top: 0px;
  }
  #services{
    background-image: none !important;
  }
  #testimonial .testimonial-description{
    text-align: center;
  }
  #testimonial .testimonial-container img{
    left: 40%;
  }
  #testimonial .star-container{
    text-align: center;
    max-width: 100%;
  }
  #testimonial .testimonial-title{
    text-align: center;
  }
  .testimonials-location{
   text-align: center !important;
 }
 #request-quote .request-content{
   width: 100% ;
   text-align: center;
 }
 #services .service-card::before{
   font: bold 60px/70px Montserrat;
 }
 .progress-bar-success{
   left: 98%;
 }
}
@media screen and (max-width: 767px){
  #footer :is(.main-foot, .main-foot1) {
    padding-inline-end: 0px !important;
  }
  #footer_box{
    text-align: center;
  }
  #request-quote h3 .last{
    font-size: 28px;
  }
  #announcement-bar :is(.announcenet-left-content, .announcenet-right-content) {
    justify-content: center !important;
  }
  #announcement-bar .announcenet-left-content>div{
    margin-block: 5px;
    padding-top: 12px;
  }
  .our-representative {
    padding-top: 15px;
  }
  .logo img {
    height: 7vw;
    width: 15vw;
  }
  .announcement-hr {
    margin-block-end: 10px;
  }
  #top-header .header-search-form input[type='search']{
    width: 100%;
  }
  #top-header .header-search-form{
    margin: 10px auto;
  }
  .header-search-form:after{
    content: none;
  }
  #slider .carousal-indicators i {
    height: 30px;
    width: 30px;
    line-height: 20px;
  }
  #slider .carousel-item .carousel-caption {
    margin: 0 auto;
    left: 0;
    right: 0;
  }
  #slider .carousel-item .carousel-caption {
    width: max-content;
    max-width: 94%;
    border-top-left-radius: unset;
    padding: 3%;
  }
  #slider .slider-main-heading {
    font: 25px/60px Lato;
  }
  #slider .slider-button a{
    font: 600 19px/32px Assistant;
  }
  #slider :is(.slider-description-text, .slider-list-text, .carousel-indicators){
    display: none;
  }
  #slider .carousel-control-prev-icon , #slider .carousel-control-next-icon{
    display: none;
  }
  #slider .carousel-control-next{
    right: unset;
  }
  #slider .slider-button{
    padding: 5px 10px 5px;
    margin: 0 auto;
  }
  #about-us, #why-choose-us, #team .section-main-heading{
    text-align: center;
  }
  #about-us .about-main-heading, #services .service-card{
    width: 100%;
  }
  #about-us .about-us-right-section img{
    height: 50%;
  }
  :is(#about-us) .section-small-heading, #why-choose-us .choose-small-heading, .section-small-heading {
    width: max-content;
    margin: 0 auto;
  }
  #about-us .about-us-right-section{
    height: unset;
  }
  #about-us .right-text{
    left: 0;
  }
  #about-us .about-representative{
    display: block;
  }
  #services .service-card{
    text-align: center;
  }
  #services{
    padding-block-start: 0%;
    margin-block-start: 0%;
  }
  #services .service-small-heading, #why-choose-us .choose-small-heading, .section-small-heading {
    font: bold 20px/40px Roboto Slab;
    padding-block: 0;
  }
  #services .service-main-heading, #why-choose-us .choose-main-heading, .section-main-heading {
    font: bold 22px/35px Lato;
    width: 100%;
  }
  #project .slick-arrow {
    display: none !important;
  }

  #why-choose-us :is(.why-chooose-left-content, .why-chooose-right-content){
    padding: 10%;
  }
  #why-choose-us .why-chooose-right-content .why-description{
    padding: 0;
  }
  #why-choose-us .why-chooose-right-content .why-description:before{
    content: unset;
  }
  #why-choose-us .why-choose-card{
    justify-content: center;
  }
  #request-quote .request-content {
    padding: 10%;
    width: 100%;
  }
  #request-quote .request-main-heading{
    font: 300 25px/35px Lato;
  }
  #team .section-main-heading{
    width: unset;
    font: bold 25px/35px Lato;
  }
  #team .team-image{
    display: none
  }
  #team .team-text-content {
    width: 100%;
    margin-inline-start: unset;
    margin-top: unset;
  }
  #team .team-name a{
    text-align: center;
  }
  #team .team-description{
    width: 100%;
  }
  #team .slider-nav img {
    width: 100% !important;
  }
  #team .slider-for .slick-prev{
    top: -20px;
    z-index: 1;
    left: 40%;
  }
  #team .slider-for .slick-next{
   top: -20px;
   z-index: 1;
   left: 50%;
 }
 .title-box .container1 {
   width: 100% !important;
   display: block;
   text-align: center;
 }
 #latest-news .news-content {
    padding-inline-end: unset;
  }
  .news-content{
    text-align: center;
  }
 #sponsor {
    margin: 24px;
  }

}
@media screen and (max-width: 480px){
  #top-header .header-quote-btn a {
    font-size: 14px;
}
  .logo img {
    height: 9vw;
    width: 20vw;
  }
  #top-header .header-quote-btn a{
    padding: 8px;
  }
  #team .team-name:hover a {
    color: #0e2b5c;
  }
  .single_cat{
    font-size: 14px;
  }
  .single-page-title {
    font: normal normal bold 15px Muli;
  }
  .content_boxes{
    transform: translate(0%);
  }
  #slider .carousel-item img {
    height: 220px;
  }
  #slider .carousel-item .carousel-caption{
    top: 55px;
  }
  #slider .slider-main-heading {
      font: 16px/25px Lato;
  }
  #slider .slider-button a {
      font: 600 16px/16px Assistant;
  }
  #slider .slider-small-heading {
    font: bold 17px/17px Roboto Slab;
  }
  .progress-bar-success{
    margin: 0px 0px 0px 0px;
  }
}
@media screen and (max-width: 320px){
  #testimonial .testimonial-container img {
    left: 30%;
  }
  .progress-bar-success{
    margin: 0px -20px 0px 0px;
  }
  .logo img {
    height: 13vw;
    width: 25vw;
  }
}
