
.popup {
    margin: 40px auto;
    background: #fff;
    border-radius: 5px;
    width: 70%;
    max-height: 87%;
    position: relative;
    transition: all 5s ease-in-out;
    /*padding: 20px;
    overflow: auto;*/
    display: flex;
    flex-direction: column;
}


.popup-header{
    /*  padding: 10px 15px;*/
    background-color: var(--colorPrimaryDark);
    /*position: fixed;
    border-bottom: 1px solid var(--colorPrimaryDark);
    box-shadow: 1px 0px 2px gray;
    align-items: center;
    justify-content: space-between;
    width: 100%;*/
    display: flex;
    border-radius: 5px 5px 0px 0px;
    overflow: hidden;
    height: 90px;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.popup-header h2{
    flex: 2;
    text-align: center;
    color: white !important;
}


.popup-content{
    flex: 2;
    overflow: auto;
    padding: 10px;
}


.popup-close-button:before{
    content: "Fechar";
}



.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    display: none;
    z-index: 110;
    /* visibility: hidden;*/
    /* opacity: 0;*/
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}


@media screen and (max-width: 700px){
    .popup{
        width: 90%;
    }
}



/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

/* formatação do popup cliente histórico*/

