/*************Responsive Styles*****************/


/***************iPhone Portrait**************/

@media only screen and (max-width: 479px) and (min-width: 320px) {
    .header-info {
        display: none;
    }
    .grid-wrap-3 {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-areas: "content1" "content2" "content3";
        height: auto;
    }
    .grid-wrap-3 a {
        height: 250px;
    }
    .section-nine .row h2 {
        padding-left: 15px;
        line-height: 38px;
        font-size: 25px;
    }
    .section-nine .row {
        justify-content: flex-start;
    }
    .btn-fixed-btm {
        display: none;
    }
    .footer-bottom .text-right {
        text-align: center !important;
    }
    .post-head h3 {
        font-size: 25px;
    }
    .section-seven h2 {
        font-size: 25px;
        margin-bottom: 10px;
    }
    .section-six h2 {
        font-size: 25px;
        line-height: 30px;
    }
    .section-six .btn-right {
        justify-content: center;
    }
    .section-six h2 {
        text-align: center;
    }
    .section-five {
        height: auto !important;
        padding: 60px 0;
    }
    #scholership-promo .scholership-promo-text h2 {
        line-height: 38px;
    }
    #funfact-area .single-funfact-wrap .funfact-info {
        padding-left: 0;
    }
    #funfact-area .single-funfact-wrap {
        text-align: center;
        margin-bottom: 30px;
        border-bottom: 1px solid #ffffff1c;
        padding-bottom: 30px;
    }
    .funfact-info h5 {
        margin-bottom: 8px !important;
    }
    #slider-area .slider-aside-link {
        display: none;
    }
    .section-two .yellow-box {
        margin-bottom: 15px;
        padding: 40px 40px;
    }
    #slider-area .single-slide-wrap {
        padding: 100px 0 100px;
    }
    #slider-area .owl-carousel .owl-nav {
        bottom: 10px;
    }
    .section-two {
        padding: 50px 0;
    }
    #scholership-promo {
        padding: 60px 0 60px;
    }
    .section-seven {
        padding-top: 50px;
        padding-bottom: 40px;
    }
    .grid-wrap-1 {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-areas: "content1" "content2" "content3";
        height: auto;
    }
    .grid-wrap-2 {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-areas: "content1" "content2" "content3";
        height: auto;
    }
    .grid-wrap-1 a,
    .grid-wrap-2 a {
        padding-top: 200px;
        height: 250px;
        background-position: top center;
    }
    .post-footer {
        flex-wrap: wrap;
    }
    section.section-nine {
        padding-top: 50px;
    }
    .post-head {
        padding-top: 30px;
    }
    .l-post-item {
        flex-wrap: wrap;
    }
    .l-post-left img {
        width: 117px;
        height: 119px;
    }
    .l-slider-section .slider-content {
        padding: 30px 15px;
    }
    #slider-area .single-slide-wrap .slider-content h2 {
        font-size: 24px;
    }
    #slider-area .single-slide-wrap .slider-content h3 {
        font-size: 20px;
        margin: 10px 0 10px;
    }
    #footer-area .footer-widget .single-widget-wrap {
        margin-bottom: 30px;
    }
    #footer-area .footer-widget .single-widget-wrap .widget-title {
        margin-bottom: 5px;
    }
    .ftr-right .single-widget-wrap {
        padding-left: 0 !important;
    }
    #footer-area .footer-widget {
        padding: 50px 0 0px;
    }
}


/**********************iPhone Landscape*************/

@media only screen and (max-width: 767px) and (min-width: 480px) {
    .header-info {
        display: none;
    }
    .footer-widget .container .row>div {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .ftr-right .single-widget-wrap {
        padding-left: 0;
    }
    #footer-area .footer-widget .single-widget-wrap {
        margin-bottom: 30px;
    }
    #footer-area .footer-widget .single-widget-wrap .widget-title {
        margin-bottom: 5px;
    }
    .ftr-right .single-widget-wrap {
        padding-left: 0 !important;
    }
    #footer-area .footer-widget {
        padding: 50px 0 0px;
    }
    #footer-area .footer-widget .col-lg-3 .single-widget-wrap {
        margin-bottom: 20px;
    }
}


/*************************iPad Portrait***************/

@media only screen and (max-width: 985px) and (min-width: 768px) {
    .header-branding a img {
        width: 190px;
    }
    .header-info {
        display: none;
    }
}


/**************iPad Landscape***************/

@media only screen and ( max-width: 1024px) and (min-width: 986px) {
    .header-branding a img {
        width: 190px;
    }
    .header-info {
        display: none;
    }
    .header-social ul li a {
        width: 30px;
    }
    #slider-area .owl-carousel .owl-nav .owl-prev {
        display: inline-block;
        margin-right: 12px;
    }
    #slider-area .owl-carousel .owl-nav .owl-next {
        display: inline-block;
    }
    #slider-area .owl-carousel .owl-nav {
        display: inline-block !important;
        bottom: 60px;
        transform: none;
        left: 60px;
    }
}


/*******************************************/


/**************other screens responsive***************/

@media only screen and ( max-width: 600px) {}


/* Small Devices, Tablets */

@media only screen and ( max-width: 1200px) {
    .p-left {
        width: 24%;
    }
    .p-right {
        width: 72%;
        justify-content: flex-end;
    }
    .btn-auth {
        padding: 11px 25px;
    }
}

@media only screen and ( max-width: 1024px) {
    .header-social ul li a {
        width: 30px;
    }
    #slider-area .owl-carousel .owl-nav .owl-prev {
        display: inline-block;
        margin-right: 12px;
    }
    #slider-area .owl-carousel .owl-nav .owl-next {
        display: inline-block;
    }
    #slider-area .owl-carousel .owl-nav {
        display: inline-block !important;
        bottom: 60px;
        transform: none;
        left: 60px;
        top: auto;
    }
    .slider-aside-link ul li a {
        padding: 25px 35px;
        height: 106px;
        font-size: 18px;
        display: flex;
    }
    #scholership-promo .scholership-promo-text h2 {
        font-size: 30px;
        line-height: 45px;
    }
    #scholership-promo .scholership-promo-text .btn-brand {
        margin-top: 2px;
    }
    #scholership-promo {
        padding: 80px 0 80px;
    }
    .section-five {
        height: 456px;
    }
    .section-seven {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    .l-post-item {
        align-items: flex-start;
    }
    a.comment {
        padding-left: 0px;
    }
    .post-footer {
        margin-top: 0;
    }
    section.section-nine {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    .ftr-right .single-widget-wrap {
        padding-left: 10px;
    }
    .btn-fixed-btm {
        right: 80px;
    }
    #footer-area .footer-widget {
        padding: 50px 0 50px;
    }
    .grid-wrap-3 a {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 20px 0;
    }
}

@media only screen and ( max-width: 1280px) {
    .header-branding a img {
        width: 190px;
    }
}

@media only screen and (max-width: 768px) {
    .grid-wrap-1 a {
        font-size: 16px;
    }
    .grid-wrap-2 a {
        font-size: 16px;
    }
}

@media only screen and ( max-width: 991px) {
    .header-main-area {
        display: block;
        position: fixed;
        height: 100vh;
        width: 300px;
        top: 0;
        right: -300px;
        z-index: 999;
        padding: 60px 24px 30px;
        opacity: 0;
        transition: all 0.2s ease-in-out;
    }
    .search-section {
        display: none;
    }
    .mob-menu-active .navbar-toggler .navbar-toggler-icon {
        background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAABqUlEQVRoge2aQVLCMBSGq3eQoXgkPIIXgDXqAfBaeAFd2YX3sC5g9bnoUzvSpnkvTdph8m/oDC/h+yY0SQlFkZOTYwpwBxyAL6ZPTcOy1ko8Twzuyl4zEgBHYAeUlhEdM0AJPAgT+IwM8CLFuwSMqgCPwnbwKa6leJmATRVgKWyfPsUAJOAypY/vegqYGMkic0sWmVuCRYANsAhovwA2oRxdHXtPv8BWyiuLjEhU0sd2VD6lyA3wLk0+NNuZjrZeC3AUkR6gQRmrhIrPsrJrZEIkVHzWLYqPTKiEis8q0gNaOt4zbUqTiEj7M5mxJFR8oSLSR3tarf5dm9ccFd8YItJPexSCR2KIL/UW5SrZJ+Wv1l/7sxu7awII6D++iGt2GksmuohLwlGjlokq4iPhqFXJRBPRSDjaaHbN44tYJBxtvWRiiVzGg5XUJ33UjXqzp0wfX/4VZW7JInPLRYvURdEcdyVmGQxwK5dnBz1dIq/yeh+NyJ4fprfBSmAtU/WR5sxuFZdtOMAKeAJOwuZ3TA3smW/8jqdbMmuaQ/p6oOMUsf1hICcn5zffPWVyp2Df1jYAAAAASUVORK5CYII=");
        width: 28px;
        height: 28px;
    }
    .mob-menu-active .navbar-toggler {
        position: relative;
        z-index: 9999;
        border: transparent;
    }
    .mob-menu-active .navbar-toggler:focus {
        outline: none !important;
    }
    .mob-menu-active .header-main-area {
        opacity: 1;
        right: 0;
        transition: all 0.2s ease-in-out;
    }
    .header-branding .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }
    .header-holder {
        display: none;
    }
    .header-branding {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .navbar-toggler {
        font-size: 15px;
        border: 1px solid #00000066;
        border-radius: 6px;
        margin-right: 20px;
    }
    .navbar-toggler:focus {
        outline: none;
    }
    #slider-area .slider-aside-link {
        display: none;
    }
    .section-two .yellow-box {
        margin-bottom: 15px;
    }
    #slider-area .single-slide-wrap {
        padding: 100px 0 100px;
    }
    #slider-area .owl-carousel .owl-nav {
        bottom: 10px;
    }
    .section-two {
        padding: 50px 0;
    }
    #scholership-promo {
        padding: 60px 0 60px;
    }
    .section-seven {
        padding-top: 50px;
        padding-bottom: 40px;
    }
    #funfact-area .single-funfact-wrap .funfact-info {
        padding-left: 0;
    }
    #funfact-area .single-funfact-wrap {
        text-align: center;
        margin-bottom: 30px;
        border-bottom: 1px solid #ffffff1c;
        padding-bottom: 30px;
    }
    .funfact-info h5 {
        margin-bottom: 12px !important;
    }
}

@media only screen and ( max-width: 1366px) and (min-width: 1280px) {
    #slider-area .owl-nav {
        left: 4%;
    }
}

@media only screen and ( max-width: 1740px) and (min-width:1600px) {
    #slider-area .owl-nav {
        left: 4%;
    }
}

@media only screen and ( max-width: 1599px) and (min-width:1366px) {
    #slider-area .owl-nav {
        left: 4%;
    }
}

@media only screen and ( max-width: 1366px) and (min-width:1024px) {
    #slider-area .owl-nav {
        left: 4%;
    }
}

@media only screen and ( max-width: 1279px) and (min-width: 1024px) {
    a.comment {
        padding-left: 0;
    }
}

@media only screen and ( max-width: 1200px) {
    .container-custom {
        width: 100%;
    }
}

@media only screen and ( min-width: 1366px) {}