@media(max-width:1024px) {
    #mainmenu li {
        padding-left: 12px
    }

    .list-items .blog-post .blog-content {
        padding: 0
    }

    .single-post h2 {
        font-size: 20px
    }

    .comments-list .comment-box {
        width: 620px
    }

    .reply-list .comment-box {
        width: 540px
    }

    .team-bg {
        height: 402px
    }
}

@media(max-width:992px) {
    .sm-padding {
        padding: 15px
    }

    .bottom-content-wrap {
        position: relative
    }

    .site-branding {
        padding: 17px 0
    }

    .site-branding img {
        padding: 5px 0
    }

    .js #mainmenu {
        display: none
    }

    .js .slicknav_menu {
        display: block
    }

    .blog-content p {
        font-size: 12px
    }

    .blog-items {
        padding: 0 10px
    }

    .list-items .blog-post .col-md-6:first-child {
        padding-left: 15px
    }

    .bottom-header .default-btn {
        display: none
    }

    .cta-section .text-right {
        text-align: left !important;
        margin-top: 0.5rem;
    }

    .promo-wrap {
        position: inherit
    }

    .slider-text h1 {
        font-size: 40px
    }

    .nivo-directionNav a.nivo-prevNav {
        left: 5px
    }

    .nivo-directionNav a.nivo-nextNav {
        right: 5px
    }

    .campaigns-wrap h2 {
        font-size: 28px
    }

    .counter-section,
    .campaigns-section {
        padding: 80px 0
    }

    .campaigns-section .row {
        align-items: center
    }

    .team-wrap {
        padding: 0
    }

    .blog-items.single-post {
        border: none;
        padding: 0
    }

    .sidebar-wrap {
        padding: 0
    }

    .blog-post .blog-content a {
        font-size: 15px
    }
    .cta-section .col-lg-8 h2{
        
        font-size: 1.5rem;
    }
    .cta-section .default-btn {
        font-size: 0.544rem;
        
    }

    .project-section.project-2 .section-heading {
        margin-bottom: 10px
    }

    .filter-wrap .text-right {
        text-align: left !important
    }

    .project-filter {
        margin-bottom: 20px
    }

    .team-bg {
        height: 100%
    }

    .about-wrap {
        padding: 0
    }
    #certificate{
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100vw;
        height: max-content;
    }
    .one-row, .two-row{
        height: auto;
        width: 90%;
        margin:2px 0;
        display: flex;
        align-items: center; 
        flex-direction: column;
     
    }
    .one-row .certi, .two-row .certi {
        margin: 2px 0;
        margin-bottom: 4px;
        /* box-shadow: 2px 2px 9px 2px black; */
    }
}

@media all and (min-width:480px) and (max-width:768px) {
    #certificate{
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100vw;
        height: max-content;
    }
    .one-row, .two-row{
        height: auto;
        width: 90%;
        margin:2px 0;
        display: flex;
        align-items: center; 
        flex-direction: column;
     
    }
    .one-row .certi, .two-row .certi {
        margin: 2px 0;
        margin-bottom: 4px;
        /* box-shadow: 2px 2px 9px 2px black; */
    }
}

@media all and (max-width:767px) {

    body,
    p {
        font-size: 12px;
        line-height: 22px
    }

    h1 {
        font-size: 30px
    }

    h2 {
        font-size: 24px;
        line-height: 36px
    }

    h3 {
        font-size: 16px
    }

    p br {
        display: none
    }

    .padding {
        padding: 60px 0
    }

    .xs-padding {
        padding: 15px
    }

    .left-info li:first-child {
        display: none
    }

    .about-section.about-2 .about-content h2,
    .cta-section.solid h2,
    .about-content h2 {
        font-size: 24px;
        line-height: 36px
    }

    .pager-header {
        min-height: 220px
    }

    .top-header {
        padding: 5px 0
    }

    .site-branding {
        padding: 10px 0
    }

    .breadcrumb {
        right: auto;
        top: auto;
        bottom: -50px;
        left: -15px;
        margin: 0
    }

    .contact_form .form-group .col-sm-6:first-child {
        margin-bottom: 15px
    }

    .coment-form .form-group .col-sm-4:last-child {
        margin-top: 15px
    }

    .list-items .blog-post img {
        margin-bottom: 10px
    }

    .colum-row .col-sm-6:first-child {
        margin-bottom: 15px
    }

    .contact-info ul li {
        font-size: 10px
    }

    .single-post h2 {
        font-size: 16px
    }

    .share-icon li {
        margin-bottom: 10px
    }

    .slider-text h1 {
        font-size: 28px
    }

    .slider-text p {
        font-size: 14px;
        margin-bottom: 10px
    }

    .slider-text h5 {
        font-size: 12px;
        margin-bottom: 0
    }

    .slider-text .default-btn {
        /* display: none !important
         */
         /* font-size: 10px; */
        width: auto;
        height: 2rem;
        line-height:2rem;
    }

    .nivo-directionNav a {
        font-size: 10px;
        width: 40px;
        height: 40px;
        line-height: 43px;
        top: calc(50% - 20px)
    }

    .owl-nav div {
        left: 0
    }

    .owl-nav div.owl-next {
        right: 0
    }

    .team-wrap {
        padding: 0 10px
    }

    .team-wrap .xs-padding {
        padding: 5px
    }

    .footer-social li a {
        margin: 0 10px
    }
/* 
    .hero-section {
        height: 400px
    }

    .hero-content h1 {
        font-size: 30px
    } */

    .gallery-filter li {
        padding: 5px 10px;
        margin-right: 0;
        font-size: 10px
    }

    .callout-form {
        margin-top: -15px
    }

    .campaigns-wrap h2 {
        font-size: 24px
    }

    .comments-list .comment-box {
        width: 78%
    }

    .reply-list {
        padding-left: 10px
    }

    .comments-list .comment-box:before,
    .comments-list .comment-box:after,
    .comments-list:before {
        display: none
    }

    .callout-info {
        padding: 50px
    }

    #scroll-to-top {
        width: 35px;
        height: 35px;
        font-size: 10px;
        line-height: 35px;
        bottom: 20px;
        right: 20px
    }

    .footer-social,
    .copyright-section {
        text-align: center
    }
}

@media all and (max-width:576px) {
    .callout-form .form-group .col-sm-6:not(:last-of-type) {
        margin-bottom: 15px
    }

    .coment-form .form-group .col-sm-4 {
        margin-bottom: 15px;
        margin-top: auto
    }

    .comment-form .form-group .col-sm-4:nth-child(1),
    .comment-form .form-group .col-sm-4:nth-child(2) {
        margin-bottom: 15px
    }

    .slider-text {
        text-align: center !important
    }

    .slider-text h1 {
        font-size: 18px;
        letter-spacing: 0
    }

    .slider-text p {
        display: none
    }

    .top-content-wrap ul li {
        margin-right: 18px
    }

    .counters .counter-content {
        justify-content: center
    }

    .about-section.about-2 .about-slider-wrap {
        background-position: left top;
        background-size: cover;
        padding-right: 0
    }

    .about-carousel {
        width: 350px;
        padding: 50px 0
    }
    .slider-text .default-btn{
        font-size: 0.5rem;
        width: fit-content;
    }
    .nivoSlider .hm-img{
        width: auto;
        /* height: auto; */
        min-height: 290px auto;
        background-repeat: no-repeat;
        background-position: center;
    }
}

@media all and (max-width:430px) {

    .col-lg-8 .h2-solid{
     
        font-size: 12px !important;
        word-spacing: 1px;
        /* padding: 2px 1px; */
    } 

    .cta-section .dark{
        visibility: hidden;
    }
    .cta-section .col-lg-8{
        height:0px;
        margin-bottom: 6px;
        /* margin-top: 10px; */

    }

    .cta-section.solid{
        height: 45px;
        padding: 4px 0;
    }
.nivoSlider img {
 
    height:200px auto;
    }
    .nivo-directionNav a {
        font-size: 6px;
        width: 20px;
        height: 20px;
        line-height: 20px;
        top: calc(50% - 20px)
    }
    #certificate{
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100vw;
        height: max-content;
    }
    .one-row, .two-row{
        height: auto;
        width: 90%;
        margin:2px 0;
        display: flex;
        align-items: center; 
        flex-direction: column;
     
    }
    .one-row .certi, .two-row .certi {
        margin: 2px 0;
        margin-bottom: 4px;
        /* box-shadow: 2px 2px 9px 2px black; */
    }
    .cta-section .dark{
        visibility: hidden;
    }
    .cta-section .col-lg-8{
        height:6px;
        margin-bottom: -8px;
        /* margin-top: 10px; */

    }

    .cta-section.solid{
        padding: 4px 0;
    }
    /* for home text slider */

    .slider-text h1 {
        font-size: 12px;
        letter-spacing: 0
    }
    .slider-text .default-btn{
        font-size: 0.5rem;
        padding: 0 15px;
        /* width:max-content; */
        border: 2px solid #ffc107;
        background-color:transparent;
    
        text-decoration: overline;
    }
    .slider-text .default-btn:hover{
        transition: all 0.3s ease;
        color: whitesmoke;
        background-color: #ffc107;
    }
    .slider-text .default-btn:active{
        background-color: #ffc107;
        color: whitesmoke;
    }

}

@media all and (max-width:380px) {
    .slider_content .btn_group a {
        margin: 0 10px 10px 0
    }
    .col-lg-8 .h2-solid{
     
        font-size: 12px !important;
        /* padding: 2px 1px; */
    } 

    .cta-section .dark{
        visibility: hidden;
    }
    .cta-section .col-lg-8{
        height:0px;
        margin-bottom: 6px;
        /* margin-top: 10px; */

    }

    .cta-section.solid{
        height: 40px;
        padding: 2px 0;
    }
     
 

    /* .nivoSlider {
        overflow:hidden;
    } */
    
.nivoSlider img {
 
    height: 180px auto;
    }
    .slider-text h1 {
        font-size: 12px;
        letter-spacing: 0
    }
    .slider-text .default-btn{
        font-size: 0.5rem;
        padding: 0 15px;
        /* width:max-content; */
        border: 2px solid #ffc107;
        background-color:transparent;
    
        text-decoration: overline;
    }
    .slider-text .default-btn:hover{
        transition: all 0.3s ease;
        color: whitesmoke;
        background-color: #ffc107;
    }
    .slider-text .default-btn:active{
        background-color: #ffc107;
        color: whitesmoke;
    }


}
