﻿.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    overflow: scroll !important;
}

.modal-content2 {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    /* width: 80%; */
    width: 60% !important;
    height: auto !important;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

#detalhesContent {
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

    #detalhesContent h2,
    #detalhesContent h3 {
        font-weight: 400;
        margin-top: 20px;
    }

    #detalhesContent span,
    #detalhesContent p,
    #detalhesContent div {
        font-size: 16px;
    }

    #detalhesContent .material-icons {
        font-family: 'Material Icons';
        font-size: 24px;
        vertical-align: middle;
        line-height: 1;
    }

/* ===== MOBILE FULLSCREEN MODAL ===== */
@media (max-width: 991.98px) {

    .modal {
        padding: 0;
    }


    .modal-content2 {
        width: 100% !important;
        height: 100vh !important;
        margin: 0 !important;
        border-radius: 0;
        border: none;
        padding: 16px;
        overflow-y: auto;
    }

    .close {
        font-size: 32px;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 10;
        padding: 8px;
    }

    #detalhesContent {
        font-size: 15px;
    }
}
