.facilities-page {
    background-image: linear-gradient(
        183deg,
        rgba(192, 170, 113, 0.16),
        rgba(243, 224, 171, 0.0384)
    );
    color: #4f585e;
    font-family: "Optima LT W01 Roman", sans-serif;
}

.facilities-page a.btn {
    border-color: var(--main-site-color);
    border-radius: 4px;
    box-shadow: 0 2px 0px 0 rgba(0, 0, 0, 0.25);
    color: #ffffff;
    display: inline-block;
    padding: 6px 30px 8px;
    position: relative;
    text-decoration: none;
    transition: all 0.1s 0s ease-out;
}

.facilities-page .no-touch a.btn:hover {
    background-color: var(--main-site-color);
    box-shadow: 0px 8px 2px 0 rgba(0, 0, 0, 0.075);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    transition: all 0.25s 0s ease-out;
}

.facilities-page .no-touch a.btn:active,
.facilities-page a.btn:active {
    box-shadow: 0 1px 0px 0 rgba(255, 255, 255, 0.25);
    -webkit-transform: translate3d(0, 1px, 0);
    transform: translate3d(0, 1px, 0);
    transition: all 0.025s 0s ease-out;
}

.facilities-page div.cards {
    margin: 0px auto 80px;
    max-width: 960px;
    text-align: center;
}

.facilities-page div.card {
    background: #ffffff;
    display: inline-block;
    margin: 8px;
    max-width: 302px;
    -webkit-perspective: 1000;
    perspective: 1000;
    position: relative;
    text-align: left;
    transition: all 0.3s 0s ease-in;
    z-index: 1;
    box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.1);
    -webkit-transition: 0.3s !important;
    transition: 0.3s !important;
}

:lang(ur) .facilities-page div.card {
    text-align: right;
}

.facilities-page div.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 25px rgba(0, 0, 0, 0.1) !important;
}

:lang(ur) .facilities-page div.card div.card-title a.toggle-info {
    left: 15px;
}

:lang(ur) .facilities-page div.card div.card-title a.toggle-gallery {
    left: 55px;
}

.facilities-page div.card img {
    width: 300px;
    height: 300px;
    overflow: hidden;
}

.facilities-page div.card div.card-title {
    background: #ffffff;
    padding: 17px 13px;
    position: relative;
    z-index: 0;
    margin: 0;
}

.facilities-page div.card div.card-title a {
    color: var(--main-site-color);
    font-size: 1.8rem;
}

.facilities-page div.card div.card-title a[class*="toggle"] {
    border-radius: 32px;
    height: 32px;
    padding: 0;
    position: absolute;
    right: 15px;
    top: 10px;
    width: 32px;
}

.facilities-page div.card div.card-title a.toggle-gallery {
    right: 55px;
}

.facilities-page div.card div.card-title a.toggle-gallery i {
    position: relative;
    top: 3px;
}

.facilities-page div.card div.card-title a[class*="toggle"]:hover {
    background-color: var(--main-site-color);
}

.facilities-page div.card div.card-title a.toggle-info:hover span {
    background-color: white;
}

.facilities-page div.card div.card-title a.toggle-gallery:hover i {
    color: white;
}

.facilities-page div.card div.card-title a.toggle-info span {
    background-color: var(--main-site-color);
    display: block;
    height: 2px;
    position: absolute;
    top: 16px;
    transition: all 0.15s 0s ease-out;
    width: 12px;
}

.facilities-page div.card div.card-title a.toggle-info span.left {
    right: 13px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.facilities-page div.card div.card-title a.toggle-info span.right {
    left: 13px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.facilities-page div.card div.card-title h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

.facilities-page div.card div.card-title h2 small {
    display: block;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.facilities-page div.card div.card-description {
    font-family: "Open Sans", "sans-serif";
    padding: 0 15px 10px;
    position: relative;
    font-size: 1.5rem;
}

/* .facilities-page div.card div.card-actions {
    box-shadow: 0 2px 0px 0 rgba(0, 0, 0, 0.075);
    padding: 10px 15px 20px;
    text-align: center;
} */

.facilities-page div.card div.card-flap {
    background: #d9d9d9;
    position: absolute;
    width: 100%;
    -webkit-transform-origin: top;
    transform-origin: top;
    -webkit-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
}

.facilities-page div.card div.flap1 {
    transition: all 0.3s 0.3s ease-out;
    z-index: -1;
}
/* 
.facilities-page div.card div.flap2 {
    transition: all 0.3s 0s ease-out;
    z-index: -2;
} */

.facilities-page div.cards.showing div.card {
    cursor: pointer;
    opacity: 0.6;
    -webkit-transform: scale(0.88);
    transform: scale(0.88);
}

.facilities-page .no-touch div.cards.showing div.card:hover {
    opacity: 0.94;
    -webkit-transform: scale(0.92);
    transform: scale(0.92);
}

.facilities-page div.card.show {
    opacity: 1 !important;
    -webkit-transform: scale(1) !important;
    transform: scale(1) !important;
}

.facilities-page div.card.show div.card-title a[class*="toggle"] {
    background-color: red !important;
}

.facilities-page div.card.show div.card-title a.toggle-info span {
    background-color: white !important;
}

.facilities-page div.card.show div.card-title a.toggle-info span {
    top: 15px;
}

.facilities-page div.card.show div.card-title a.toggle-info span.left {
    right: 9px;
}

.facilities-page div.card.show div.card-title a.toggle-info span.right {
    left: 9px;
}

.facilities-page div.card.show div.card-flap {
    background: #ffffff;
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
}

.facilities-page div.card.show div.flap1 {
    transition: all 0.3s 0s ease-out;
}

.facilities-page div.card.show div.flap2 {
    transition: all 0.3s 0.2s ease-out;
}

.page-banner {
    background-position: center;
}

.banner-title-margin {
    margin-top: 0px;
}

@media only screen and (max-width: 600px) {
    .page-banner {
        background-position: -700px;
    }

    .banner-title-margin {
        margin-top: 110px;
    }
}

.holder {
    width: 560;
    height: 315px;
    position: absolute;
}

.frame {
    width: 100%;
    height: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 560%;
    height: 315px;
    cursor: pointer;
}
