﻿#popup-details{
    cursor:pointer;
    text-decoration:underline;
}

a.close {
    background-color: #159b8f;
    color: #ffffff!important;
    font-size: 21px;
    font-weight: 700;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    float: right;
    position: absolute;
    right: 15px;
}
body.inside.OSM a.close {
    background-color: #284b64 !important;
}
#myModal_Comment .modal-content {
    background-color: #fff;
    padding: 15px;
    /* border-radius: 15px;*/
    -webkit-box-shadow: 3px 3px 5px -1px rgba(0,0,0,0.3);
    -moz-box-shadow: 3px 3px 5px -1px rgba(0,0,0,0.3);
    box-shadow: 3px 3px 5px -1px rgba(0,0,0,0.3);
    border: 1px solid #bbbbbb;
    margin: 15% auto; /* 5% from the top and centered */
    border: 1px solid #888;
    width: 80vw;
    position: relative;
    max-width: 1000px; /* Could be more or less, depending on screen size */
    /*cursor: pointer !important;*/
    z-index: 999999;
    top: 0 !important
}

    #myModal_Comment .modal-content p,
    #myModal_Comment .modal-content ul{
        text-align:left;
    }
    /*#region Modal */
    .modal-content > div.div-buttons {
        display: grid;
        grid-template-columns: 1fr 4fr 1fr;
    }

    .modal-content > div.div-buttons > div:nth-child(2) {
        text-align: center;
    }

    .modal-content > div.div-buttons > div:last-child {
        text-align: right;
    }

#myModal_Comment input[type='submit'] {
    width: 160px;
    font-weight: normal !important
}

#myModal_Comment img {
    cursor: crosshair;
    /*max-width: unset !important;*/
}

.modal {
    position: fixed!important;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        -webkit-transition: none;
        transition: none;
    }
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}

.modal.modal-static .modal-dialog {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.modal-dialog-scrollable {
    height: calc(100% - 1rem);
}

    .modal-dialog-scrollable .modal-content {
        max-height: 100%;
        overflow: hidden;
    }

    .modal-dialog-scrollable .modal-body {
        overflow-y: auto;
    }

.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}


/*#endregion */
