/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* 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 */
}

/* Modal Header */
.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
    padding-top: 15px;
}

.modal-header h1,
h2 {
    color: white;
}

.modal-header h3 {
    color: rgb(233, 224, 224);
    margin-top: -10px;
    font-style: italic;
}

.modal-header.catP {
    background-color: #ad343e;
}

.modal-header.catR {
    background-color: #7a1f27;
}

.modal-header.catO {
    background: #4a6377;
}

.modal-header.catA {
    background-color: #28afb0;
}

.modal-header.catB {
    background-color: #274156;
}

.modal-header.catC {
    background-color: #1c6e8c;
}

.modal-header.noCat {
    background-color: #353535 !important;
}

/* Modal Body */
.modal-body {
    padding: 15px;
    color: rgb(56, 43, 43);
    text-align: justify;
}

.modal-body .pictos-legend {
    margin-bottom: 30px;
}

.modal-body .pictos-legend table {
    margin-left: auto;
    margin-right: auto;

    height: 50px;
    font-size: 1.2rem;
    min-width: 25%;
    text-align: center;
    vertical-align: middle;
}


.modal-body .pictos-legend table .label {
    width: auto;
}

.modal-body .pictos-legend {
    color: #353535 !important;
}

.modal-body .pictos-legend i {
    font-size: 2.5rem;
}

.modal-body .pictos-legend hr {
    border: .2px dotted #353535 !important;
}

.modal-body blockquote {
    font-style: italic;
    font-size: 16px;
    font-weight: bold;
    border-left: 4px solid #CCC;
    padding-left: 10px;
}

.modal-body blockquote:before {
    content: "";
}

/* Modal Footer */
.modal-footer {
    padding: 10px 16px;
    background-color: #acacac;
    color: rgb(34, 34, 34);
    line-height: 1.2rem;
    text-align: center;
}

/* Modal Content */
.modal-content {
    color: black;
    position: relative;
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Modal Content/Box */
/* .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
} */


/* Add Animation */
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: rgb(255, 255, 255);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: rgb(156, 152, 152);
    text-decoration: none;
    cursor: pointer;
}

.modal-col {
    float: left;
    width: 50%;
    padding: 5px;
}

/* Clear floats after the columns */
.modal-row:after {
    content: "";
    display: table;
    clear: both;
}

.modal-body p {
    margin-bottom: 1rem;
}


/* ===================================================================
 *  10. modal-double-col - (_layout.scss)
 *
 * ------------------------------------------------------------------- */
#modal-double-col {
    position: relative;
    padding: 0;
    background-color: #FFFFFF;
    z-index: 400;
    overflow: auto;
}

#modal-double-col h3 {
    font-family: "montserrat-bold", sans-serif;
    font-size: 1.6rem;
    color: #4C2405;
    text-transform: uppercase;
    letter-spacing: .15rem;
    margin: 0 0 1rem 0;
}

#modal-double-col h1 {
    font-family: "librebaskerville-bold", serif;
    font-size: 2.3rem;
    line-height: 1.455;
}

.modal-double-col-wrap {
    margin: 0 auto;
    padding: 0;
}

.modal-double-col-wrap:before,
.modal-double-col-wrap:after {
    content: "";
    display: table;
}

.modal-double-col-wrap:after {
    clear: both;
}

.modal-double-col-left,
.modal-double-col-right {
    float: left;
    width: 50%;
    text-align: justify;
}

.modal-double-col-left {
    position: relative;
    z-index: 2;
}

.modal-double-col-left p.lead {
    color: #636363;
}

.modal-double-col-left .modal-double-col-left-bg {
    display: none;
}

.modal-double-col-right {
    position: relative;
}

.modal-double-col-right p.lead {
    color: #757575;
}

/* -------------------------------------------------------------------
 * responsive:
 * modal-double-col
 * ------------------------------------------------------------------- */

@media only screen and (max-width:1200px) {
    .modal-double-col-wrap {
        padding: 0;
        width: 100%;
    }

    .modal-double-col-left-bg {
        display: none;
    }

    .modal-double-col-left,
    .modal-double-col-right {
        float: none;
        width: 100%;
    }

    .modal-double-col-left .intro,
    .modal-double-col-right .intro {
        text-align: center;
    }

    .modal-double-col-left .modal-double-col-left-bg {
        display: block;
        width: 100%;
    }

}


@media only screen and (max-width:400px) {

    .modal-double-col-right {
        text-align: center;
    }

}
