﻿@import url("../styles.css");


.testcenter-content .container {
    display: grid;
    grid-template-areas:
        "info facts";
    gap: 20px;
}

h2 {
    margin-bottom: 10px;
}

/*testcenter info*/
.testcenter-info {
    grid-area: info;
}


/*facts*/
.testcenter-facts {
    grid-area: facts;
}

.testcenter-facts .content {
    padding: var(--box-padding);
    background-color: var(--primary-color);
    color: var(--white-color);
}

.testcenter-facts .content .form-group:last-of-type {
    margin-bottom: 0px;
}

/*rooms*/
.rooms-info {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/*team*/
.team-info {
}

/*banner*/
.banner {
    padding: 0 !important;
    position: relative;
}

.banner .split-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.banner img {
    width: 100%;
    height: 30vh;
    object-fit: cover;
    object-position: top;
}

.banner .overlay {
    position: absolute;
    background: var(--black-color);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.5;
}

.banner header {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    color: var(--white-color);
}

/*directions*/
.directions {
    padding: 0 !important;
}

.directions .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.directions img {
    width: 100%;
    max-height: 450px; /*Iframe size*/
    object-fit: cover;
}

.directions .site-guide {
    padding: 0px 20px 20px 20px;
}

.directions .site-guide img {
    max-width: fit-content;
}

/*Contacts*/

.contacts {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.contacts .content {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.contacts .contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

.contacts .contact .name {
    font-size: var(--font-size-medium);
    font-weight: var(--font-weight-bold);
    padding-bottom: var(--text-to-text-padding);
}

.contacts .contact i {
    font-size: var(--icon-size-normal);
}

.contacts .contact img {
    width: 175px;
    height: 175px;
    object-fit: cover;
    border-radius: 50%;
}

.contacts .contact a {
    color: var(--white-color);
}

/*Images*/
.images {
    display: grid;
    gap: 20px;
}

.images.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.images.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.images .image img {
    width: 100%;
}

.images .image figcaption {
    text-align: center;
}

/*Breakpoints*/
/* Extra small devices (phones, 600px and down) */
@media (max-width: 600px) {
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media (max-width: 767px) {
    .testcenter-content .container {
        grid-template-areas:
            "info"
            "facts";
        column-gap: 20px;
    }

    .images.cols-3 {
        grid-template-columns: 1fr !important;
    }

    .images.cols-2 {
        grid-template-columns: 1fr !important;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media (max-width: 991px) {
    .images.cols-3 {
        grid-template-columns: repeat(2,1fr);
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media (max-width: 1199px) {
    .directions .content {
        display: flex;
        flex-direction: column;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media (min-width: 1200px) {
}
