@use 'settings' as *;
@use 'mixins' as *;

/* If the minimum width is */

@media (min-width: 1400px) {
    .container {
        width: 1220px;
    }
    .tab-content {
        padding: 12px 10px;
    }
    .footer-widget.first {
        padding-right: 30px;
    }
}


@media (min-width: 1200px) {
    .container {
        width: 1160px;
    }
    .contact-por h4 {
        font-size: 23px;
    }
}


@media (min-width: 1025px) {
    .row-lg {
        margin-left: -10px!important;
        margin-right: -10px!important;
        .col-lg-7 {
            padding-left: 10px!important;
            padding-right: 10px;
        }
        .col-lg-5 {
            padding-left: 0px!important;
            padding-right: 10px!important;
        }
    }
}

@media (min-width: 992px) {
    .avatar img{
        float: left;
    }
    .navbar-light {
        height: 85px;
        line-height: 85px;
    }
    .navbar-light.tiny {
        height: 70px;
        line-height: 70px;
        border-top: solid 3px $color_3;
        &>li>a {
            padding: 8px 13px;
        }
        li>.dropdown-menu {
            margin-top: -4px;
        }
    }
    .navbar-light.tiny .navbar-brand {
        height: 65px;
        line-height: 60px;
    }
    .navbar-light.tiny .navbar-nav > li {
        height: 70px;
        line-height: 67px;
    }
    .navbar-light .navbar-nav > li {
        height: 80px;
        line-height: 78px;
    }
    .navbar .has-megamenu {
        position: static !important;
    }
    .navbar .megamenu {
        position: absolute;
        left: 0;
        width: 100%;
        margin-top: 0;
    }
    .megamenu {
        line-height: initial;
        .list-group {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: stretch;
            .list-group-item {
                display: inherit;
                align-items: center;
                padding-left: 1.3rem;
                padding-right: 1.3rem;
                .fa-solid::before {
                    font-size: 12px;
                }
            }
        }
    }
    .dropdown-menu > li {
        line-height: 1;
    }
    .navbar-light .navbar-nav > li > a {
        display: inline-block;
    }
    .navbar-light ul.nav li.dropdown > ul.dropdown-menu {
        visibility:hidden;
        display:block;
        opacity:0;
        @include transition (all 0.25s ease-in-out);
    }
    .navbar-light ul.nav li.dropdown:hover > ul.dropdown-menu {
        visibility:visible;
        display: block;
        filter: none;
        opacity: 1;
    }
    .navbar-light .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    .navbar-toggler {
        display: none;
    }
}

/* If the maximum width is */

@media (max-width: 1180px) {
    .navbar-light {
        .navbar-nav > li > a {
            margin: 15px 2px 2px;
            padding: 9px 10px;
            font-size: 13px;
            letter-spacing: 0;
            //Sticky Navigation
            .tiny & {
                padding: 7px 10px;
            }
        }
    }
}


@media (max-width: 1050px) {
    .container {
        width: 95%;
    }
    .bg-img-fixed {
        background-size: auto 600px;
        height: 600px;
    }
    .bg-img-fixed-content {
        height: 600px;
    }
    #team .item-img-wrap {
        max-width: 400px;
    }
    #team figure {
        margin: 0 auto;
    }
    .img-center {
        margin: 15px auto 25px;
    }
    .sidebar-right > .widget {
        width: 100%;
    }
    .navbar-light .navbar-nav > li > a {
        padding: 9px 7px;
    }
}

@media (min-width: 992px) and (max-width: 1049px) {
    .navbar-light .navbar-collapse .navbar-nav>li>a {
        padding: 9px 6px;
        font-size: 13px;
    }
    .navbar-light.tiny .navbar-nav > li > a {
        padding: 7px;
    }
}

@media (max-width: 991.98px) {
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.4;
    }
    .table-container {
        width: 100%;
        overflow-x: scroll;
        margin-bottom: 15px;
    }
    .bg-slider-wrapper {
        top: 75px;
    }
    .bg-img-fixed-content {
        top: -6px;
    }
    .breadcrumb-container {
        margin-top: 0;
    }
    .container {
        width: 98%;
    }
    .navbar-collapse {
        margin-right: -15px;
        margin-left: -15px;
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
        padding: 0 10px;
        overflow-y: auto;
        max-height: 90vh;
    }
    .navbar-nav {
        > li {
            float: none;
            > a {
                padding: 12px 10px;
                margin: 0;
                font-size: 14px;
                border-bottom: solid 1px #EEE;
                display: block !important;
                border-radius: 0 !important;
                &:active {
                    background: inherit;
                    color: $color_4;
                    outline: none;
                }
            }
            .dropdown-menu {
                padding: 0 !important;
                margin: 0 3px !important;
                & > li > a {
                    border: 0;
                    border-top: none;
                }
                &.show {
                    position: static;
                    width: auto;
                    border: 0;
                    box-shadow: none !important;
                    > li {
                        border: 0;
                        border-left: solid 1px rgba(0, 0, 0, 0.05);
                        border-right: solid 1px rgba(0, 0, 0, 0.05);
                        > a {
                            background: transparent;
                            color: $color_4;
                            padding: 5px;
                            margin: 0;
                            font-size: 90%;
                            &:hover, &:focus, &:active {
                                background: inherit;
                                color: $color_4;
                                outline: none;
                            }
                        }
                    }
                }
            }
        }
        .megamenu {
            .row {
                border-left: solid 1px rgba(0, 0, 0, 0.05);
                border-right: solid 1px rgba(0, 0, 0, 0.05);
                margin-left: -16px;
                margin-right: -16px;
                & > div {
                    padding: 0;
                    a {
                        border-bottom: solid 1px rgba(0, 0, 0, 0.05) !important;
                    }
                }
            }
        }
    }
    .navbar-brand img {
        margin-top: -5px;
        max-width: 180px;
    }
    .our-management-team-sec {
        .slick-initialized {
            .slick-slide {
                align-items: flex-start;
            }
        }
    }
    .footer-widget:not(.first) {
        margin-bottom: 5px;
    }
}


@media (max-width: 768px) {
    .intro-slider,
    .bg-slider-wrapper,
    .bg-slider-wrapper .flexslider .slide,
    .bg-slider-wrapper .flexslider .slide.slide-1:before,
    .bg-slider-wrapper .flexslider .slide.slide-2:before,
    .bg-slider-wrapper .flexslider .slide.slide-3:before {
        height: 540px;
    }
    .intro-slider,
    .push-text-slide {
        padding-top: 125px;
    }
    .home-promo .titlepro .middle {
        font-size: 48px;
    }
    .home-promo {
        padding-left: 7px;
        padding-right: 7px;
    }
    .space {
        display: block
    }
    .home-icons {
        padding-top: 15px
    }
    .blognews {
        padding-top: 15px;
        overflow: hidden;
    }
    .reply {
        padding-left: 3em;
    }
    .ico-services {
        margin-left: -10px;
    }
    .servdesc {
        margin-right: -15px;
    }
    li.filter {
        margin-bottom: 10px;
        font-size: 14px
    }
    .item-img-wrap img {
        max-width: 680px
    }
    .social {
        height: auto;
        text-align: center !important;
    }
    .credits {
        text-align: center !important;
        margin-bottom: 20px;
        padding-top: 30px;
    }
    .avatar {
        display: block;
    }
    .avatar img {
        margin: 15px auto;
    }
    .vnbx-label {
        font-size: .8em!important;
    }
    .team-name h5 {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .nav-wizard.nav-justified>li>a {
        border-radius: 4px;
        margin-right: 0;

        &:before,
        &:after {
            border: none !important;
        }
    }
    .crypto .coins-counter-loop li {
        span {
            font-size: 1.3em;
        }
        label {
            font-size: 15px;
        }
    }
}

@media (max-width: 650px) {
    .ico-services {
        margin-left: -20px;
    }
    .servdesc {
        margin-right: -30px;
    }
    .item-img-wrap img {
        max-width: 560px;
    }
}

@media (max-width: 481px) {
    .title-r {
        text-align: left;
    }
    .title-r h2, .title-r h3,
    .title h2, .title h3 {
        font-size: 28px;
        line-height: 1.3;
        padding-left: 0;
        &:after {
            display: none;
        }
    }
    .home-promo .titlepro {
        font-size: 28px;
        .middle {
            font-size: 46px;
        }
    }
}

@media (max-width: 480px) {
    .xs-50 {
        width: inherit;
        padding-right: inherit;
        padding-left: inherit;
        float: inherit;
    }
    .intro-slider,
    .bg-img-fixed-content {
        padding-top: 130px;
    }
    .push-text-slide {
        height: 130px;
    }
    .flex-direction-nav,
    .flex-direction-nav a:before {
        display: none;
    }
    .flex-direction-nav,
    .flex-direction-nav a.flex-next:before {
        display: none;
    }
    .home-promo .titlepro .middle {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    h3 {
        font-size: 28px;
    }
    h4 {
        font-size: 20px;
    }
    h5 {
        font-size: 18px;
    }
    p {
        margin-bottom: 14px;
        line-height: 20px;
    }
    .social .fa {
        width: 44px;
        height: 44px;
        line-height: 44px;
    }
    .item-img-wrap img {
        max-width: 400px;
    }
    .ico-services {
        margin-left: -10px;
    }
    #aboutCarousel, #historyCarousel,
    #aboutCarousel-rtl, #historyCarousel-rtl {
        margin-bottom: 0;
    }
    #navAboutCarousel,
    #navAboutCarousel-rtl {
        margin-top: -15px;
        a,
        button {
            color: $color_6 !important;
        }
    }
    .nav-tabs, .nav-justified {
        display: block;
        width: 100%;
        &>li {
            display: block;
            width: 100%;
            a,
            button {
                width: 100%;
                display: block;
                @include border-radius(0);
            }
            &:first-child a,
            &:first-child button {
                @include border-radius(4px 4px 0 0);
            }
        }
    }
    #grid .mix {
        padding: 6px 0;
        width: 99%;
    }
    body {
        font-size: 15px;
    }
    .footer-top .footer-widget p,
    .footer-top .footer-widget ul li,
    .home-icons h5 {
        font-size: 14px;
    }
}

@media (max-width: 390px) {
    .intro-slider {
        margin-top: 80px;
    }
    .bg-slider-wrapper {
        top: 80px;
    }
    .bg-img-fixed-content {
        margin: 80px 0 0 0;
    }
    .intro-slider,
    .bg-slider-wrapper,
    .bg-img-fixed-content,
    .bg-slider-wrapper .flexslider .slide,
    .bg-img-fixed,
    .bg-slider-wrapper .flexslider .slide.slide-1:before,
    .bg-slider-wrapper .flexslider .slide.slide-2:before,
    .bg-slider-wrapper .flexslider .slide.slide-3:before {
        height: 580px;
    }
    .bg-img-fixed {
        background-size: auto 580px;
        height: 580px;
    }
    .item-img-wrap img {
        max-width: 100%;
    }
}

@media (max-width: 320px) {
    .intro-slider,
    .bg-slider-wrapper,
    .bg-img-fixed-content,
    .bg-slider-wrapper .flexslider .slide,
    .bg-img-fixed,
    .bg-slider-wrapper .flexslider .slide.slide-1:before,
    .bg-slider-wrapper .flexslider .slide.slide-2:before,
    .bg-slider-wrapper .flexslider .slide.slide-3:before {
        height: 500px;
    }
    .bg-img-fixed {
        background-size: auto 500px;
        height: 500px;
    }
    .intro-slider,
    .bg-img-fixed-content {
        padding-top: 75px;
    }
    .bg-slider-wrapper {
        top: 75px;
    }
    .home-promo .titlepro .upper {
        font-size: 26px;
    }
    .home-promo .titlepro .middle {
        margin-top: 12px;
        margin-bottom: 12px;
        font-size: 38px;
    }
    .navbar-brand img {
        width: 160px;
    }
    .bg-slider-wrapper {
        top: 75px;
    }
    .owl-theme .owl-controls .owl-page span {
        width: 9px;
        height: 9px;
        margin: 5px;
    }
    .social .fa {
        margin-top: 30px;
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 18px;
    }
    .post_content {
        text-align: left;
    }
}

@media (max-width: 240px) {
    .navbar-brand img {
        width: 140px;
    }
    .item-img-wrap img {
        max-width: 200px;
        margin-left: -20px;
    }
}

/* If the minimum width and the maximum width is */

@media only screen and (min-width: 481px) and (max-width: 767px) {
    .xs-50 {
        width: 50%!important;
        padding-right: 10px;
        padding-left: 10px;
        float: left;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.25),
only screen and (min--moz-device-pixel-ratio: 1.25),
only screen and (min-device-pixel-ratio: 1.25),
only screen and (min-resolution: 200dpi),
only screen and (min-resolution: 1.25dppx) {
    html {
        -webkit-font-smoothing: antialiased;
    }
}
