/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .footer-student{
        max-width: 285px;
        top: -100px;
    }
    .map-div{
        position: static;
        width: 100%;
        height: 300px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .top-callinfo:first-child{
        margin: 0;
    }
    .h3block-overlay{
        top: inherit;
    }
    .news-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .main .timeline {
        float: left;
    }
    .main .timeline{
        float: left;
    }
    .main .timeline:before {
        left: 0px;
    }
    .main .timeline .timeline-item:before {
        left: 0;
        top: 45px;
    }
    .main .timeline .timeline-item .timeline-content {
        width: 93%;
        float: right;
    }
    .main .timeline .timeline-item:nth-child(odd) .timeline-content:before{
        left: auto;
        right: 100%;
        top: 7px;
        transform: rotate(180deg);
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .display-1{
        font-size: calc(20px + 2.7vw) !important;
    }
    .display-2, .page-title h2{
        font-size: calc(15px + 2.7vw) !important;
    }
    .display-3{
        font-size: calc(10px + 2.7vw) !important;
    }
    .cta-box{
        width: 100%;
        margin-bottom: 15px;
    }
    .cta-box + div{
        width: 100%;
    }
    .content-grid{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .welcome-image .div1{
        left: 60px;
    }
    .welcome-image .div2{
        right: 0;
    }
    .welcome-image .div1 img, .welcome-image .div2 img, .welcome-image .div3 img{
        transform: scale(0.8);
    }
    .welcome-image{
        min-height: 520px;
    }
    @keyframes scale1{
        0%{
            transform:scale(0.90)
        }
        100%{
            transform:scale(1)
        }
    }
    .subsc-shape{
        right: 0;
    }
    .subscribe-form{
        display: flex;
        flex-direction: column;
        padding: 10px;
        box-sizing: content-box;
        height: auto;
    }
    .subscribe-form input{
        padding: 10px 5px;
        margin-bottom: 10px;
    }
    .subscribe-form button{
        position: static;
        width: 100%;
        padding: 10px;
    }
    .content-image .img-div, .content-text{
        text-align: center;
    }
    .content-text a.linkbtn{
        bottom: 0;
        width: 100%;
        padding: 8px 0;
        justify-content: center;
        background-color: #efefef;
    }
    .content-text{
        padding: 0 10px 26px 10px;
        text-align: center;
    }
    .news-grid{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}








/* Small devices (grater than 576px) */
@media (min-width: 575.98px) {
    .content-image .img-div{
        height: 125px;
    }
    .content-image .img-div img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    .news-div-image{
        height: 136px;
    }
}

@media (min-width: 699.98px) {
}

/* Medium devices (grater than 768px) */
@media (min-width: 767.98px) {
    .news-div-image{
        height: 158px;
    }
}

/* Large devices (grater than 992px) */
@media (min-width: 991.98px) {
    .border-last{
        border-right: 1px solid #e1e1e1;
    }
    .topspace{
        margin-top: 114px;
    }
    .lightboxOverlay{
        margin-top: -114px;
    }
    .top-fixed{
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        z-index: 9;
        background-color: #fff;
        transition: background-color 0.2s, transform 0.4s, box-shadow 0.4s;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    }
    .sticky{
        background-color: #fff;
        z-index: 91;
        transform: translateY(-50px);
        box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    }
    .smlogo-img{
        max-width: 80px;
    }
    .logidiv-top{
        top: 50px;
    }
    .footer-bg{
        margin-top: 80px;
    }
    .treebgdiv{
        margin-bottom: -80px;
    }
    .news-div-image{
        height: 158px;
    }
    .news-imgdiv1 a{
        height: 214px;
    }
    .content-image .img-div{
        height: 105px;
    }
    .page-title .container{
        text-align: center;
    }
    .page-title h2{
        display: inline-block;
        max-width: 73%;
    }
}

/* X-Large devices (grater than 1200px) */
@media (min-width: 1199.98px) {
    .footer-bg{
        margin-top: 140px;
    }
    .treebgdiv{
        margin-bottom: -140px;
    }
    .news-div-image{
        height: 168px;
    }
    .news-imgdiv1 a{
        height: 256px;
    }
    .content-image .img-div{
        height: 131px;
    }
}

/* XX-Large devices (grater than 1400px) */
@media (min-width: 1399.98px) {
    .welcome-text h1{
        font-size: 38px;
        line-height: 48px;
    }
    .headermenu1 ul li a{
        font-size: 17px;
    }
    .welcome-image .div3{
        left: 60px;
    }
    .footer-student{
        top: -167px;
    }
    .news-div-image{
        height: 235px;
    }
    .news-imgdiv1 a{
        height: 284px;
    }
    .content-image .img-div{
        height: 157px;
    }
}


@media (min-width: 991.98px) and (max-width: 1199.98px) {
    .h3block-overlay-bottom p{
        display: none;
    }
    .cta-box input{
        width: 220px;
    }
}



@media (min-width: 767.98px) and (max-width: 991.98px) {
    .content-image .img-div{
        height: auto;
        text-align: center;
    }
    .content-image .img-div img{
        max-width: 100%;
        width: auto;
        height: auto;
    }
    .content-text a.linkbtn{
        bottom: 0;
        width: 100%;
        padding: 8px 0;
        justify-content: center;
        background-color: #efefef;
    }
    .content-text{
        padding: 0 10px 26px 10px;
        text-align: center;
    }
}