﻿.youtube-video {
    width: 100%;
}

@media (min-width: 576px) {
    .youtube-video {
        min-height: 175px;
    }
}

@media (min-width: 768px) {
    .youtube-video {
        min-height: 350px;
    }
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1041; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    margin: 0 auto;
}

/* Modal Content */
.modal-body-content {
    position: absolute !important;
    background-color: #000;
    margin: 0 auto;
    border: 1px solid #888;
    width: fit-content;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 300px;
}

.modal-content-detail {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

#modalMessage {
    line-height: 2;
    text-align: center;
    font-weight: 300;
    font-size: 1.5rem;
    font-family: CupraRegular, serif;
    color: #fff;
}

.text--success {
    color: #fff;
}

.text--error {
    color: #fff;
}

.modal-content-detail > .cupraLogo {
    margin-bottom: 2rem;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 1rem;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }
