/* =========================================================
   APOLLO INTERNATIONAL SCHOOL - LIBRARY FACILITIES PAGE
   ========================================================= */

.row {
    margin: 0 0;
}

h5 {
    color: white;
    font-weight: bold;
}

h4 {
    color: black;
    font-weight: bold;
    margin: 7px;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* =========================================================
   TITLEBAR
   ========================================================= */

.titlebar {
    background-color: #2250d8;
    padding: 5% 0;
    text-align: center;
    position: relative;
    width: 100%;
    margin: 0;
    background-image: url("../img/library/every-page background.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.titlebar .header-title {
    font-size: 50px;
    color: #fff;
    font-family: 'Montserrat';
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    padding: 25px 15px;
}

.title-para {
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px 15px;
    font-size: 16px;
    line-height: 1.6;
}

/* =========================================================
   LIBRARY CONTENT
   ========================================================= */

.library-section {
    width: 100%;
}

.library-content {
    padding: 0 15px;
}

.library-content p {
    color: #000000;
    font-family: Roboto, Sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6em;
    letter-spacing: -0.1px;
    text-align: justify;
}

.library-quote-icon {
    color: #ff8d0e;
    margin-right: 6px;
}

/* =========================================================
   LIBRARY IMAGE
   ========================================================= */

.library-image-column {
    margin-top: 0;
}

.library-main-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* =========================================================
   CAROUSEL
   ========================================================= */

.library-carousel {
    width: 100%;
    overflow: hidden;
}

.library-carousel img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

#multi-item-example .carousel-item .col-md-4 {
    float: left;
    padding: 8px;
}

#multi-item-example .controls-top {
    text-align: right;
    margin-bottom: 15px;
}

#multi-item-example .btn-floating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background-color: #2250d8;
    color: #ffffff;
    margin-left: 6px;
    text-decoration: none;
}

#multi-item-example .btn-floating:hover {
    background-color: #1a3fb0;
    color: #ffffff;
    text-decoration: none;
}

/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .header-title {
        font-size: 26px;
        padding: 20px 10px;
    }

    .library-content {
        padding: 0 15px;
    }

    .library-content p {
        font-size: 16px;
        line-height: 1.6;
        text-align: justify;
    }

    .library-image-column {
        margin-top: 20px;
    }

    .library-main-image {
        height: auto;
    }

    .library-carousel .col-md-4 {
        width: 100%;
        float: none;
        margin-bottom: 15px;
    }

    .controls-top {
        text-align: center;
        margin-bottom: 15px;
    }

}

/* =========================================================
   RESPONSIVE - SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .header-title {
        font-size: 22px;
    }

    .library-content p {
        font-size: 15px;
        line-height: 1.7;
    }

}