﻿


.ModalBackground.CentralModalBackground{
    z-index:150!important;
}

.CentralModal {
    background-color: white;
    z-index: 170;
    transition: 0.3s ease-in-out;
    border-radius: 4px;
    transform: scale(0);
    width: 50%;
    min-height: max(500px,50%);
    height:500px;
    max-height:98%;
    min-width: 900px;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    cursor:default;
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-top: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
}

@media only screen and (max-width: 950px), only screen and (max-height: 499px) {
    .CentralModal {
        height: 100% !important;
        width: 100% !important;
        min-height: initial !important;
        min-width: initial !important;
        max-height: 100%!important;
    }
}

    .CentralModal.Active {
        opacity: 100;
        transition: 0.3s ease-in-out;
        transform: scale(1);
    }

div.CentralModal::-webkit-scrollbar {
    width: 7px;
}

div.CentralModal::-webkit-scrollbar-track {
    width: 5px;
    background: #c1c1c1;
    border-radius: 10px;
}

div.CentralModal::-webkit-scrollbar-thumb {
    width: 5px;
    background: #898989;
    border-radius: 10px;
}

.CentralModalContentContainer {
    position: relative;
    pointer-events:none;
}

.CentralModalHeader {
    position: sticky;
    cursor: pointer;
    top: 0.5%;
    /*height: 40px;*/
}


.CentralModalCloseButton {
    z-index: 150;
    padding-right: 10px;
    position: absolute;
    text-align: center;
    height: 20px;
    width: 20px!important;
    padding: 5px;
    font-size: 14px;
    color: #898989;
    cursor: pointer;
    right: 0;
    top: 0;
    margin-top: 5px;
    margin-right: 5px;
    pointer-events:all;
}

.CentralModalContent{
    pointer-events:all;
}

.CentralModalContentLoading{
    top:35%;
    bottom:0;
    left:0;
    right:0;
    position:fixed;
}