@import url("../styles.css");


.course-content .container {
    display: grid;
    grid-template-areas: 
        "info facts"
        "registrationinfo registrationinfo";
    column-gap: 20px;
}

/*info*/
.course-info {
    grid-area: info;
}

/*Registration info*/
.registration-info {
    grid-area: registrationinfo;
    padding-top: 0px !important;
}

.registration-info .content {
    background-color: var(--light-blue-color);
    padding: var(--box-padding);
}

/*facts*/
.course-facts {
    grid-area: facts;
}

.course-facts .content {
    padding: var(--box-padding);
    background-color: var(--primary-color);
    color: var(--white-color);
}

.course-facts .content .form-group:last-of-type {
    margin-bottom: 0px;
}

/*banner*/
.banner {
    padding: 0 !important;
    position: relative;
}

.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;
}

/*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);
}

/*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) {
    .course-content .container {
        grid-template-areas: 
            "info"
            "facts"
            "registrationinfo";
        column-gap: 20px;
    }    
}

/* Medium devices (landscape tablets, 768px and up) */
@media (max-width: 991px) {
}

/* 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) {
    
}
