﻿.modalShade {
    position: fixed;
    height: 100vh;
    width: 100vw;
    left: 0;
    top: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .modalShade .modalBlock {
        display: flex;
        flex-direction: column;
        width: 80%;
        height: auto;
        max-height: 90%;
        overflow-x: hidden;
        background: #fff;
    }

h2.modalHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 .5em !important;
    flex-wrap: nowrap;
    color: var(--cc-blue);
    border-bottom: 2px solid var(--cc-blue);
    font-weight: bold;
    letter-spacing: 1px;
}

.modalShade .modalBlock h4.modalTitle {
    color: #003b8d;
    padding: 0 !important;
    font-size: 1.5em;
}

/*.modalShade .modalBlock .modalExit.icon-cancel {
    font-size: 3em;
    line-height: 0;
    width: 1.25em;
}

    .modalShade .modalBlock .modalExit.icon-cancel:hover {
        color: #cc0000;
    }
*/

button.modalExit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    background: var(--cc-darkBlue);
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    position: relative;
}

    button.modalExit span {
        position: absolute;
        display: block;
        width: 1.75em;
        height: 3px;
        background-color: #fff;
    }

        button.modalExit span:first-child {
            transform: rotate(45deg);
        }

        button.modalExit span:last-child {
            transform: rotate(-45deg);
        }

    button.modalExit:hover, button.modalExit:focus, button.modalExit:focus-visible {
        background: var(--cc-darkRed);
        outline: 2px solid var(--cc-red);
        outline-offset: 2px;
    }

.modalShade .modalBlock .modalDates {
    text-align: right;
    width: auto;
    display: flex;
    border-left: 0.5em solid #003b8d;
}

    .modalShade .modalBlock .modalDates span {
        background: var(--cc-lightGrey);
        padding: 5px 10px;
        font-weight: bold;
    }

.modalBody {
    padding: 1.5em 2em 1em 2em;
}

/* .modalShade .modalBlock .modalBody p {
  padding: 0.5em 2em;
} */

.modalShade .modalBlock .modalAttached {
    border-left: 0.5em solid #003b8d;
    background: var(--cc-lightGrey);
    width: fit-content;
    padding: 0 1em;
}

    .modalShade .modalBlock .modalAttached h6 {
        font-weight: bold;
        padding: 0.25em;
        border-bottom: 1px solid #003b8d;
    }

    .modalShade .modalBlock .modalAttached ul {
        padding-right: 2em;
        list-style: "\203A ";
    }

.modalShade .modalBlock .ccTagBlock {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0em;
    flex-wrap: wrap;
}

.modalShade .modalBlock .ccTags {
    padding: .25em .25em 0.15em 0.2em;
    margin: 0.25em;
    background: var(--cc-lightGrey);
    border-radius: 3px;
    border: 1px solid var(--cc-darkBlue);
    color: var(--cc-darkBlue);
    box-shadow: 1px 1px 3px rgb(0 0 0 / 25%);
}

.modalShade .modalBlock .ccTagBlock .icon-tag {
    color: var(--cc-darkBlue);
    padding: 0 .2em 0 0;
}

.modalShade .modalBlock .ccTags:hover {
    box-shadow: none;
}

.modalShade .modalBlock .ccTags:hover {
    background: var(--cc-lightGrey);
    box-shadow: none;
}

/*.banFilm {
    position: absolute;
    z-index: 99999;
    background: rgba(0,0,0,.9);
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .banFilm .modal {
        background: rgba(255,255,255,.9);
        padding: 2em;
        font-size: 1.5em;
        box-shadow: 0.5em 0.5em 5px #000;
    }*/
