﻿/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 576px) {
    .carousel-main-text {
        font-size: calc(0.725em + 1vmin);
    }

    .d-xs-none {
        display: none !important;
    }

    .navbar-logo, .sub-logo {
        width: 130px;
    }

    .link-active, .btn-none {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .main-margin {
        margin-top: 130px;
        margin-bottom: 470px;
    }

    .news-margin-top {
        margin-top: 95px;
    }

    .mt-r {
        margin-top: 2rem;
    }

    .mb-r {
        margin-bottom: 1.025rem;
    }

    .mt-sm-4 {
        margin-top: 1.5rem !important;
    }

    .pb-sm-5 {
        padding-bottom: 3rem !important;
    }

        .carousel-caption-holder:lang(en) {
            min-height: calc(100vh - 138px + 1.5rem) ;
        }

        .carousel-caption-holder:lang(ar) {
            min-height: 415px;
        }

    .footer {
        bottom: -100px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .navbar-logo, .sub-logo {
        width: 130px;
    }

    .link-active, .btn-none {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .main-margin {
        margin-top: 127px;
        margin-bottom: 430px;
    }

    .news-margin-top {
        margin-top: 100px;
    }

    .mt-r {
        margin-top: 1.8rem;
    }

    .mb-r {
        margin-bottom: 1rem;
    }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
    .navbar-logo, .sub-logo {
        width: 150px;
    }

    .link-active {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .main-margin {
        margin-top: 127px;
        margin-bottom: 430px;
    }

    .news-margin-top {
        margin-top: 100px;
    }

    .mt-r {
        margin-top: 1.75rem;
    }

    .mb-r {
        margin-bottom: 1.75rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .navbar-logo, .sub-logo {
        width: 170px;
    }

    .link-active, .btn-none {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .main-margin {
        margin-top: 118px;
        margin-bottom: 260px;
    }

    .news-margin-top {
        margin-top: 90px;
    }

    .mt-r {
        margin-top: 2.25rem;
    }

    .mb-r {
        margin-bottom: .01rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .navbar-logo, .sub-logo {
        width: 170px;
    }

    .link-active, .btn-none {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .main-margin {
        margin-top: 130px;
        margin-bottom: 300px;
    }

    .news-margin-top {
        margin-top: 90px;
    }

    .mt-r {
        margin-top: 3.25rem;
    }

    .mb-r {
        margin-bottom: 0;
    }
}

/* Double Extra large devices (large desktops, 1400px and up) */
@media (min-width: 1400px) {
}