@media only screen and (min-width: 2500px) {}

@media (max-width: 1400px) {
    .header-med .head-inner ul li a {
        font-size: 14px;
    }
    
    .counter-block .details .counter-item {
        font-size: 35px;
    }
}

@media (max-width: 1024px) {}

@media (max-width: 991px) {

    .col,
    .col-1,
    .col-10,
    .col-11,
    .col-12,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-auto,
    .col-lg,
    .col-lg-1,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-auto,
    .col-md,
    .col-md-1,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-auto,
    .col-sm,
    .col-sm-1,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-auto,
    .col-xl,
    .col-xl-1,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-auto {
        width: 100%;
        max-width: 100%;
        flex: auto;
    }

    .nav-inner {
        display: none;
    }

    .logo-h {
        max-width: 150px;
    }

    .item.res-menu {
        display: block;
    }

    header .btn {
        display: none;
    }

    .banner-block .row {
        min-height: 400px;
        padding: 50px 0;
    }

    .text-banner h1 {
        font-size: 28px;
        line-height: 38px;
    }

    .banner-slider .slick-dots {
        bottom: 20px;
    }

    .about-h {
        padding: 50px 0;
    }

    .sub-title {
        margin-bottom: 15px;
        font-size: 14px;
    }

    .about-text h3 {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 15px;
    }

    .about-text p {
        font-size: 14px;
        line-height: 24px;
    }

    .about-text .readMore {
        font-size: 14px;
        margin-top: 14px;
    }

    .readMore {}

    .about-h .row {
        flex-direction: column-reverse;
    }

    .about-img {
        margin: 0 0 40px;
        height: 350px;
    }

    .about-img .img {
        height: 328px;
    }

    .about-img::after {
        max-width: 90%;
        max-height: 80%;
    }

    .media-h {
        padding: 50px 0;
    }

    .title-flex {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        margin-bottom: 10px;
    }

    .title h3 {
        font-size: 30px;
        line-height: 40px;
    }

    .title-flex .nav.nav-tabs {
        margin-top: 0;
        gap: 15px;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    .title-flex .title {
        margin-bottom: 30px;
    }

    .publics-h {
        padding: 50px 0;
    }

    .public-block {
        height: 400px;
    }

    .public-block:hover h3 {
        transform: translateY(100%);
        opacity: 0;
    }

    .media-block:hover .details h3 {
        color: #1E1E1E;
    }

    .media-block:hover .details .showMore {
        color: #A0ACAE;
    }

    .readMore:hover::before {
        width: 38px;
        border-radius: 50px;
    }

    .btn.btn-border:hover {
        background: transparent;
        border: 1px var(--main-color) solid !important;
        color: var(--main-color);
    }

    .btn:hover {
        background: var(--main-color);
    }

    .s-h a:hover {
        color: var(--sec-color);
        border: 1px solid #C6C6C6;
        background: transparent;
    }

    .foot-block h3 {
        margin: 20px 0;
    }

    .footer-top {
        padding: 30px 0;
    }

    .copy-right {
        padding: 10px 0;
    }

    .copy-right p {
        font-size: 15px;
        line-height: 25px;
    }

    .mobile-menu .menu-box .menu-outer .logo-h {
        margin-bottom: 30px;
    }

    .breadcrumb-h {
        padding: 50px 0;
    }
    
    .text-bread ul li a, .text-bread ul li span {
        font-size: 16px;
        line-height: 26px;
    }
    
    .about-more, .counter-h {
        padding-bottom: 50px;
    }

    .director-page .row {
        flex-direction: column;
    }
    
    .director-page .about-img .img {
        max-width: 92%;
    }
    
    .director-page .about-img {
        height: 320px;
        margin-bottom: 40px;
    }
    
    .director-page .about-text {
        padding: 0;
    }
    
    .director-page .about-text h3 {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 15px;
    }
    
    .team-h {
        padding-bottom: 40px;
    }
    
    .director-page .about-text .icon {
        max-width: 100px;
    }
    
    .director-page .about-text .icon svg {
        width: 100%;
    }

    .about-text.anira-text {
        padding-top: 50px;
    }
    
    .about-text.anira-text p {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 20px;
    }

    .contact-block {
        height: auto;
        margin: 15px 0;
    }
    
    .body-inner {
        padding: 40px 0;
    }
    
    .contact-block.contact-form {
        max-width: 100%;
    }

    .serv-block {
        margin: 20px 0;
        height: calc(100% - 40px);
    }

    .single-block {
        height: auto;
        margin: 15px 0;
        max-width: 100% !important;
    }
    
    .nav.nav-tabs .nav-item {
        padding: 0 !important;
        border: none;
    }
    
    .nav.nav-tabs .nav-item .nav-link {
        min-width: auto;
        margin: 6px 0px;
    }
    
    .nav.nav-tabs {
        flex-direction: column;
        display: flex;
        align-items: start;
        -webkit-align-items: start;
    }
    
    .single-block.single-content {
        text-align: start;
    }

    .book-block-in {
        margin-bottom: 20px;
        height: calc(100% - 20px);
    }

    .books-search form {
        flex-direction: column;
        margin-top: 30px;
        gap: 20px;
    }
    
    .books-search form .form-group {
        width: 100%;
    }
    
    .books-search {
        margin-bottom: 30px;
    }

    .single-book {
        margin: 50px 0;
    }
    
    .single-book-img {
        margin-bottom: 40px;
        height: 400px;
    }
    
    .single-book-content {
        padding: 20px;
    }
    
    .single-book-content .title-book-in h3 {
        font-size: 26px;
        line-height: 36px;
        margin-bottom: 12px;
    }
    
    .single-book-content .title-book-in span {
        font-size: 15px;
        line-height: 25px;
    }
    
    .single-book-content .text-tab {
        padding: 16px;
    }

    .single-film-video {
        height: 300px;
    }
    
    .single-film-video::before {
        font-size: 50px;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

    .img-part-in {
        margin-bottom: 30px;
    }
    
    .text-part-in h3 {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 10px;
    }
    
    .text-part-in span {
        font-size: 15px;
        line-height: 25px;
    }
    
    .text-part-in p {
        font-size: 15px;
        line-height: 25px;
    }

    .single-media-inner .single-media-img {
        height: 300px;
    }
    
    .single-media-content .title-book-in h3 {
        font-size: 22px;
        line-height: 30px;
    }
    
    .single-media-content p {
        font-size: 15px;
        line-height: 25px;
    }
    
    .media-block .img img {
    object-fit: contain;
}

.single-block.single-content .nav.nav-tabs {
    display: flex;
}

.single-block.single-content .nav.nav-tabs .nav-item {
    border: none;
}

.footer-bottom {
    text-align: center;
}

.ryad-logo {
    float: none;
}

}

@media (max-width: 768px) {}

@media (max-width: 767px) {}

@media (max-width: 600px) {
    .container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .overlay-img img{height:auto!important;}
    
    .text-banner h1 {
 
font-weight: 400;
        font-size: 27px;
        line-height: 1;
        position: absolute;
        top: 80px;
  
}
    .slick-list.draggable {
    height: 220px !important;
}
    
}

@media (max-width: 390px) {}

@media (max-width: 360px) {}