/* ************************************************************
:: Template Name: Digimax - SEO & Digital Marketing Agency HTML Template
:: Template URI: http://theme-land.com/digimax
:: Template Author Name: theme_land
:: Template Author URI: hridoy1272@gmail.com
:: Version: 1.0.0
:: Created: 13 Aug 2020
************************************************************ 
*
*
******* :: INDEX OF RESPONSIVE CSS :: *******
:: 1.0 COMMON CSS
:: 2.0 HEADER AREA CSS
:: 3.0 WELCOME AREA CSS
:: 4.0 PROMO AREA CSS
:: 5.0 CONTENT AREA CSS
:: 6.0 SERVICE AREA CSS
:: 7.0 PRICE PLAN AREA CSS
:: 8.0 FAQ AREA CSS
:: 9.0 REVIEWS AREA CSS
:: 10.0 TEAM AREA CSS
:: 11.0 BREADCRUMB AREA CSS
:: 12.0 BLOG PAGE DETAILS AREA CSS
:: 13.0 CONTACT AREA CSS
:: 14.0 FOOTER AREA CSS
:: 15.0 ERROR AREA CSS
****************************** */

/* ******************************
:: 1.0 COMMON CSS
****************************** */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .ptb_180 {
        padding: 130px 0;
    }

    .ptb_150 {
        padding: 100px 0;
    }

    .ptb_100 {
        padding: 70px 0;
    }

    .welcome-intro h1 {
        font-size: 46px;
    }

    .welcome-intro p {
        font-size: 18px;
        line-height: 26px;
        max-width: 800px;
    }

    .navbar-brand img {
        width: 230px;
    }
}

@media (max-width: 991px) {
    .res-margin {
        margin-bottom: 45px;
    }

    .contact-info {
        padding: 30px 10px!important;
    }

    ul.contact_page img {
        width: 24px;
    }

    ul.contact_page.social-icons li {
        padding-right: 0!important;
    }

    .list-inline-item:not(:last-child) {
        margin-right: .1rem;
    }

    #scrollUp {
        bottom: 12%!important;
    }

    .blog-title {
        display: block;
    }

    .column-25, .column-100, .column-50, .column-25, .column-20, .column-30 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .list_box img {
        width: 30px;
    }

    .blog_1, .blog_2 {
        display: none;
    }
}

@media (max-width: 767px) {
    .ptb_180 {
        padding: 130px 0;
    }

    .ptb_150,
    .ptb_100 {
        padding: 50px 0;
    }

    section.section.why.content-area.bg-grey.ptb_150 {
        padding-bottom: 0;
        background: #fff;
    }

    .res-margin {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .avatar-lg {
        height: 4rem;
        width: 6rem;
    }

    .ptb_180 {
        padding: 80px 0;
    }

    .single-counter span {
        font-size: 3em;
    }
}

/*SECTION HEADING*/
@media (max-width: 991px) {
    h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 36px;
    }

    .section-heading {
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2.8em;
    }

    h2 {
        font-size: 30px;
        line-height: 1.4;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 2em;
        line-height: 1.4;
    }

    h2 {
        font-size: 24px;
        line-height: 1.4;
    }

    h3 {
        font-size: 18px;
        line-height: 1.4;
    }

    p {
        line-height: 26px;
    }
}

/*BUTTONS*/
@media (max-width: 575px) {
    .button-group a {
        margin-top: 0;
        margin-right: 5px;
    }
}

/* ******************************
:: 2.0 HEADER AREA CSS
****************************** */
@media(max-width: 1199px) {
    header .navbar-expand .navbar-nav.toggle {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    header .navbar-expand .navbar-nav.items,
    header .navbar-expand .navbar-nav.icons .social {
        display: none;
    }
}

@media(max-width: 767px) {
    header .navbar-expand .navbar-nav.action .btn {
        padding: 5px 10px;
        font-size: 0;
        width: 50px;
    }

    header .navbar-expand .navbar-nav.action .btn .contact-icon {
        font-size: initial;
        margin: 0;
    }

    .navbar-brand {
        margin: 0;
    }
}

@media (max-width: 575px) {
    .modal-body {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: start;
    }

    .search-title {
        font-size: 40px;
    }
}

/* ******************************
:: 3.0 WELCOME AREA CSS
****************************** */
@media (min-width: 992px) {
    .homepage-3 .welcome-intro h1 {
        line-height: 38px;
    }

} 

@media (max-width: 991px) {
    .welcome-area,
    .inner .welcome-area {
/*        height: 700px !important;*/
    }

    div#trun_up.row {
        flex-direction: column-reverse;
    }

    strong.mobile_top_title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #2c2e30;
    }

    .menu .navbar-nav .nav-item .dropdown-menu .nav-item.active a {
        color: #ff7369;
    } 

    .menu .navbar-nav .nav-item.dropdown.active .nav-link {
        color: #000;
    }

    .menu .navbar-nav .active .nav-link {
        color: #ff7e6a;
    }

    #menu .modal-header {
        padding: 25px 20px; 
    }

    .bg_images_area img {
        padding-bottom: 21px;
        border-radius: 10px;
    }

    .column-25 {
        flex-basis: 100%!important;
    }

    .show_more .show_more_less.tools-area-sc {
        max-height: unset;
    }

    section.faq-area {
/*        text-align: center;*/
    }

    .show_more_less { 
        max-height: 334px;
        display: block;
        overflow: hidden;
        position: relative;
        padding-bottom: 0!important;
    }

    .more_option_area.tools {
        box-shadow: 0 0 5px 20px #fff;
    }

    .bg_images_area {
        display: none;
    }

    .show_more .show_more_less {
        max-height: unset;
    }

    .show_more_less.show_more{
        max-height: unset;
    }

    .more_option_area {
        position: absolute;
        width: 100%;
        left: 0;
        bottom: -37px;
        z-index: 2;
        text-align: center;
    }

   .more_option_area::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        border-bottom: 1px solid rgb(221 221 221);
        content: "";
        z-index: -1;
        height: 50%;
        background: rgba(255, 255, 255, 0.8);
    }

    .more_option_area::after {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        content: "";
        z-index: -1;
        height: 50%;
        background: rgba(255, 255, 255);
    }

    .more_option_area a {
        border: 1px solid #ddd;
        width: auto;
        display: inline-block;
        padding: 8px 16px;
        border-radius: 50px;
        margin-bottom: 0;
        background: #fff;
        color: #a2a2a2;
    }

    .show_more .more_option_area svg {
        transform: rotate(178deg);
    }

    section.faq-area .more_option_area {
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    section#tools2 {
        text-align: center;
    }

    .show_more_less.tools-area-sc {
        max-height: 450px;
        overflow: hidden;
    }

    .column-30 {
        flex-basis: 100%!important;
    }

    .column-50 {
        flex-basis: 100%!important;
    }


    #work_pocess .faq-image img {
        width: 100%!important;
        margin: 0px 0 0;
    }

    section.section.brand-partner.ptb_100 {
        padding-bottom: 0;
        margin-top: 56px;
    }

    .content_cta {
        gap: 21px!important;
        justify-content: center!important;
        flex-wrap: wrap;
        text-align: center;
    }

    .btn.btn-bordered:after {
        padding: 0;
    }

    .faq-image {
        margin-bottom: 32px;
    }

    .faq-accordion .card-title {
        font-size: 12px;
        line-height: 25px;
    }

    .card-header.faq {
        position: relative;
        padding-right: 30px;
        border-radius: 10px
    }

    .accordion .card-header.collapsed:after {
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
    }

    .accordion .card-header:after {
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
    }

    .user-reviews, .cta-footer {
        padding: 2em 0 2rem;
    }

    .seo-analysis-area {
        padding: 0px 0 50px!important;
    }

    .reverse.row {
        flex-direction: column-reverse!important;
    }

    .sec-title_title {
        padding-right: 0!important;
    }

    .awards-one_inner-container {
        padding: 40px 0px 0px!important;
    }

    .owl-carousel .owl-item img {
        margin: 0 auto;
    }

    .single-service {
        margin-bottom: 0;
    }

    .section-heading > p {
        padding-bottom: 0;
        font-size: 13px;
        line-height: 18px;
    }

    .welcome-thumb-2 {
        left: -22%;
    }

    .welcome-thumb-3 {
        left: 25%;
    }

    .welcome-thumb-4 {
        right: -16%;
    }

    .welcome-thumb-5 {
        top: -25%;
        left: 2%;
    }

    .welcome-thumb-6 {
        top: -16%;
    }
}

@media (max-width: 767px) {
    .welcome-area {
        height: 100% !important;
        padding-top: 40px;
        min-height: 360px;
    }
    .breadcrumb-area-sc.welcome-area {
        min-height: 260px;
    }

    .welcome-intro {
        margin-top: 30px;
    }

    .welcome-intro h1 {
        font-size: 50px;
    }

    .welcome-thumb-2 {
        left: 15%;
    }

    .welcome-thumb-3 {
        left: 48%;
    }

    .welcome-thumb-4 {
        right: 0;
    }

    .welcome-thumb-5 {
        top: -10%;
        left: 25%;
    }

    .welcome-thumb-6 {
        top: -8%;
    }

    .homepage-3 .welcome-thumb-1 {
        width: auto;
    }

    .homepage-3 .welcome-thumb-2,
    .homepage-3 .welcome-thumb-3,
    .homepage-3 .welcome-thumb-4 {
        width: auto;
        max-width: 320px;
    }
}

@media (max-width: 575px) {
    .welcome-intro {
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .welcome-intro h1 {
        font-size: 23px;
        padding-bottom: 0;
    }

    .welcome-intro p {
        font-size: 15px;
        line-height: 19px;
        display: none;
    }

    .welcome-thumb-2 {
        left: -4%;
    }

    .welcome-thumb-3 {
        left: 38%;
    }

    .welcome-thumb-4 {
        right: -13%;
    }

    .welcome-thumb-5 {
        left: 2%;
    }

    .welcome-thumb-6 {
        top: -6%;
    }

    .homepage-3 .welcome-thumb-2,
    .homepage-3 .welcome-thumb-3,
    .homepage-3 .welcome-thumb-4 {
        width: auto;
        max-width: 250px;
    }
}

/* ******************************
:: 4.0 PROMO AREA CSS
****************************** */
@media (max-width: 991px) {
    .single-promo h3 {
        font-size: 45px;
    }

}

@media (max-width: 767px) {
    .single-promo h3 {
        font-size: 40px;
    }

    section#portfolio .col-lg-3 {
        max-width: 50%;
        padding: 10px;
    }

    .single-case-studies {
        margin-bottom: 0;
    }

}

/* ******************************
:: 5.0 CONTENT AREA CSS
****************************** */
@media (max-width: 991px) {
    .profile-circle-wrapper {
        overflow: hidden;
        border-bottom: 1px solid rgba(0, 0, 0, 0.09);
    }
}

/* ******************************
:: 6.0 SERVICE AREA CSS
****************************** */
@media (max-width: 575px) {
    .service-area .col-12:last-of-type .single-service.service-gallery {
        margin-bottom: 0;
    }
}

/* ******************************
:: 7.0 PRICE PLAN AREA CSS
****************************** */
@media(max-width: 991px) {
    .plan-price span:not(.h1) {
        font-size: 30px;
    }

    .plan-price sub {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .plan-price span:not(.h1) {
        font-size: 26px;
    }
}

/* ******************************
:: 8.0 FAQ AREA CSS
****************************** */
@media (max-width: 575px) {
    .card-header .btn {
        line-height: 1.4;
    }
}

/* ******************************
:: 9.0 REVIEWS AREA CSS
****************************** */
@media (max-width: 575px) {
    .single-review {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .owl-item.active.center .single-review {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* ******************************
:: 10.0 TEAM AREA CSS
****************************** */
@media (max-width: 575px) {
    .team-area .col-12:last-of-type .single-team {
        margin-bottom: 0;
    }
}

/* ******************************
:: 11.0 BREADCRUMB AREA CSS
****************************** */
@media (max-width: 991px) {
    .breadcrumb-content > h2 {
        font-size: 25px;
        font-weight: 500;
    }
}

@media (max-width: 575px) {
    .breadcrumb-content > h2 {
        font-size: 45px;
    }

    #blog_details .breadcrumb-content > h2 {
        font-size: 20px;
        letter-spacing: 0;
        font-weight: 500;
        line-height: 23px;
    }
}

/* **********************************
:: 12.0 BLOG PAGE DETAILS AREA CSS
*************************************/
@media (max-width: 991px) {

    .comments,
    .blog-contact {
        margin-left: 0;
        margin-right: 200px;
    }
}

@media (max-width: 767px) {

    .comments,
    .blog-contact {
        margin-right: 0;
    }
}

/* ******************************
:: 13.0 CONTACT AREA CSS
****************************** */
@media (max-width: 575px) {
    .contact-info h3 {
        font-size: 28px;
        word-break: break-all;
        line-height: 40px;
    }

    .map-area {
        height: 450px;
    }
}

/* ******************************
:: 14.0 FOOTER AREA CSS
****************************** */
@media only screen and (min-width: 576px) and (max-width: 991px) {
    .footer-items {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .footer-items {
        margin-bottom: 30px;
    }

    .footer-area .col-12:last-of-type .footer-items {
        margin-bottom: 0;
    }
}

/* ******************************
:: 15.0 ERROR AREA CSS
****************************** */
@media only screen and (max-width: 991px) {
    .error-content {
        padding-top: 45%;
    }

    li.call-header strong, 
    ul.navbar-nav.action.header-call li a span {
        display: none;
    }

    li.call-header {
        padding: 2px 9px;
        text-align: center;
        line-height: 24px;
        height: auto;
    }

    ul.navbar-nav.action.header-call li.email a svg {
        width: 100%;
    }

    ul.navbar-nav.action.header-call li a {
        padding: 2px 9px;
    }

    ul.navbar-nav.action.header-call {
        gap: 9px;
    }

    li.call-header span {
        padding-left: 0;
    }

    a.btn.ml-lg-auto.btn-bordered {
        line-height: 10px;
    }

    .more_option_area {
        display: block;
    }

    .shape-top, 
    .shape-bottom {
        display: none;
    }

    .list_box {
        align-items: flex-start;
    }
}

@media only screen and (max-width: 575px) {
    .error-content {
        padding-top: 50%;
    }

    .thumb-2 {
        top: 12%;
        left: 8%;
    }

    .thumb-3 {
        top: 5%;
        left: 30%;
    }

    .astronaut {
        top: 70%;
    } 
}