/*!
Theme Name: AAP Theme
Theme URI: AAP Theme
Author: AAP Theme
Author URI: AAP Theme
Description: Hi
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: AAP Theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/
.page-template-home header.sticky {
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    position: sticky;
    background-color: #f1ede7;
}
.default-style .hero_section{
    min-height: 400px;
    height: 100%;
    background-color: #959322;
    display:flex;
    justify-content: center;
    align-items: center;
    padding-top: 0px;
}
section.page-content {
    padding-top: 40px;
}
.error-404 {
    min-height: 400px;
    height: 100%;
    background-color: #959322;
    display:flex;
    justify-content: center;
    align-items: center;
    padding-top: 0px; 
}
.error-404 h1{
    font-size: min(calc(30px + (78 - 30) * ((100vw - 300px) / (1920 - 300))), 78px);
    color: white;
    text-transform: uppercase;
    text-align: center;
  }
.error404 .search-form input.search-field {
    width: 99%;
    padding: 10px 19px;
    border: 2px solid #959322;
    border-radius: 0;
    background-color: transparent;
}
.error404 .page-content{
    padding: 70px 0px;
}
.error404 .page-content p{
    text-align: center;
    
}
.error404 .search-form .search-submit:hover{
        background-color: #767537;
        border: 2px solid #767537;
    }
.archive .hero_section{
    min-height: 400px;
    height: 100%;
    background-color: #959322;
    display:flex;
    justify-content: center;
    align-items: center;
    padding-top: 0px;  
}
.archive-posts h2 a{
    font-size: min(calc(20px + (56 - 20) * ((100vw - 300px) / (1920 - 300))), 56px);
  line-height: 1.22;
  color: black;
  font-weight: 500;
  font-family: "Unbounded", sans-serif;
  }
  .archive-section{
    padding: 60px 0px;
  }
  .search .hero_section{
    min-height: 400px;
    height: 100%;
    background-color: #959322;
    display:flex;
    justify-content: center;
    align-items: center;
    padding-top: 0px;  
}
.search .hero_section h1{
    font-size: min(calc(30px + (78 - 30) * ((100vw - 300px) / (1920 - 300))), 78px);
    color: white;
    text-transform: uppercase;
  }
.search-posts h2 a{
    font-size: min(calc(20px + (46 - 20) * ((100vw - 300px) / (1920 - 300))), 46px);
  line-height: 1.22;
  color: black;
  font-weight: 500;
  font-family: "Unbounded", sans-serif;
  padding-top: 10px;
  }
.pagination .nav-links .page-numbers{
    display: none;
  }
  .pagination{
    padding: 20px 0px;
  }
  .pagination .nav-links .next {
    display: block !important;
    background-color: #959322;
    color: #fff;
    font-weight: 600;
    padding: 10px 40px;
    display: inline-block;
    font-size: 14px;
    text-align: center;
    transition: all .3s;
    border: 0;
    border: 2px solid #959322;
  }
  .pagination .nav-links .next {
    background-color: #767537;
        border: 2px solid #767537;
  }
  .search-posts {
    padding: 50px 0px;
}

body:not(.home) .hero_section {
  height: 100%;
min-height:100%;
padding-top: 100px;
    padding-bottom: 72px;
}

.search-no-results .search-results-section  {
    padding-top: 70px; 
	padding-bottom: 70px;
}

@media (max-width:991px) {
    .default-style .hero_section{
        min-height: 250px;
    }
    .error-404{
        min-height: 250px;
    }
    .archive .hero_section{
        min-height: 250px;
    }
    .search .hero_section{
        min-height: 250px;
    }
    .error404 .page-content {
        padding: 70px 40px;
    } 
}
@media (max-width: 767px) {
    .error404 .page-content {
        padding: 70px 15px;
    } 
}
footer .row .col_footer:nth-child(4) ul li a {
    display: inline-block;
}

@media (max-width: 991px){
    .accordion_section {
    padding: 50px 0 28px 0;
}
section.certificate-gallery-sec {
    padding-bottom: 42px;
}}
@media (max-width: 767px) {
  .main-slider .slider_inner a img {
    width: 100%;
    height: auto;
    transition: transform .3s;
}
.main-slider .slick-dots {

    gap: 6px;

}
.main-slider .slick-dots li button {
    width: 6px;
    height: 11px;
}
.main-slider .slick-prev {
    z-index: 3;
}
}
@media (max-width: 450px) {
.certificate-gallery-sec .main-slider .slick-next, .main-slider .slick-arrow {
    bottom: -17px;
}
 .main-slider .slick-dots {
    display: none !important;
}
}
.slick-track
{
    display: flex !important;
}

.slick-slide
{
    height: inherit !important;
}
.slider_inner{
    text-align: center;
}
.slider_inner span{
    color: #000;
    padding-top: 20px;
}
.certificate-gallery-sec h3{
    text-align: center;
}