.disableClosePopup .popupBackground {
    pointer-events: none;
}
.disableClosePopup .closePopup {
    display: none;
}
#popupDialog {
    z-index: 105;
}
.popupBackground {
    background: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

html.popupOpened, html.popupOpened body {
    overflow: hidden;
    height: auto;
}

.popup {
    background: rgba(233,233,233,0.6);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display:none;
    z-index:100;

    overflow: auto;
}

.popup[style*='display: block'] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-flow: nowrap;
    flex-direction: column;
}

.popup a {
    color: #eee;
}
.popup a:hover {
    color: #fff;
}
.popup h3 {
    text-align: center;
}

.popup.popupHideBackground {
    backdrop-filter: blur(5px);
}

.popup .closePopup, #errorDiv .btnError {
    margin: 0 !important;
    background: none;
    font-weight: normal;
    height: 30px;
    width: 30px;
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    cursor: pointer;
    z-index: 10;
    background: url(../images/ico_close.png);

    transform: scale(1);
    transition: 0.5s transform;
}
.popup .closePopup:hover, .popup .closePopup:focus, #errorDiv .btnError:hover {
    transform: scale(1.1);
}

#dialogTitle {

}

#dialogContainer {
    text-align: center;
    max-width: 600px;
}

#dialogContainer .dialogText {
    margin: 20px;
}

#dialogContainer .btn {
    margin: 0 10px;

    padding: 0 18px;
    width: auto;
    min-width: 100px;
}

.popupInner {
    z-index: 1;
    color: #333;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: center;
    position: relative;

    max-height: 90vh;
    max-width: 96vw;

    background: #fff;
    padding: 20px;
    /*
    border-width: 5px;
    border-style: solid;
    border-image-source: linear-gradient(to right, #87d3d6 0%, #a9d0c9 100%);
    border-image-slice: 1;
    */
}

.popupInner .popupInnerBackground {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    z-index: -1;
    border: 100px solid transparent;
    /*border-image: url(../images/pop-up_cornice.png) 200;*/
    border-image-width: 100px;
    /*background: url(../images/pop-up_center.png) center center;*/
    background-size: 100% 100%;
    background-clip: padding-box;
}

.popupTitle {
    width: 100%;
    font-family: 'Georgia', serif;
    font-style: italic;
    
    font-size: 26px;
    text-align: center;
}

.popupContent {
    max-height: 450px;
    overflow: auto;
}