@keyframes popup-fade-in {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 0.57);
    }
}


@keyframes popup-slide-in-down {
    from {
        -webkit-transform: translate3d(0, -30%, 0);
        transform: translate3d(0, -30%, 0);
    }
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.popup *,
.popup *:before,
.popup *:after {
    box-sizing: border-box;
    margin:0;
    padding: 0;
}

.popup {
    background-color: rgba(0, 0, 0, 0.57);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    display: none;
    cursor: pointer;
    overflow: auto;
}

.popup[data-ui-active="true"] {
    display: block;
    animation: popup-fade-in 0.3s ease 1;
}

.popup[data-ui-active="true"] .popup-window {
    animation: popup-slide-in-down 0.3s ease 1;
}

@media print {
    .popup {
        display: none !important;
    }
}

.popup-item {
    display: none;
}

.popup .popup-item {
    display: block;
}

.popup-window {
    background-color: #fff;
    background-image: linear-gradient( to right, #fffdc2, #d7f0a2 15%, #d7f0a2 15%, #fffdc2 85%, #fffdc2 85% );
    box-shadow: 0px 5px 29px 0px rgba(0, 0, 0, 0.07);
    cursor: default;
    margin:10px auto;
     margin-top:150px;
    max-width: 1170px;
    padding: 5px;
    width: calc(100% - 20px);
    border-radius: 3px;
}

.popup-header {
    position: relative;
    margin-bottom:1px;
}

.popup-header .h-title {
    color: rgb(68, 68, 68);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    margin-top: -8px;
    text-align: left;
    display: inline-block;
    overflow: hidden;
    max-width: calc(100% - 24px);
    display:none;
}

.popup-content {
    position: relative;
}

.popup-close {
    /*background: transparent url(Images/UI/popup_close_blue.svg) center center no-repeat;*/
    background-image: url(Images/UI/close-icon.png);background-repeat:no-repeat;
    background-size: 14px;
    border: 0;
    position: absolute;
    height: 30px;
    margin: 0;
    padding: 0;
    right: 0;
    top: 0;
    width: 30px;
    opacity: .7;
    transition: opacity .3s;
    cursor: pointer;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.popup-close:hover {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
    opacity: 1;
}

.popup-window>.popup-close {
    display: none;
}

.popup-header .popup-close {
    top: -10px;
    right: -10px;
    z-index:999;
}

@media (min-width: 768px) {
    .popup-window {
        border-radius: 3px;
        margin:150px auto;
        min-width: auto;
        width:90%;
        padding:5px;
        position: relative;
    }
    .popup-window>.popup-close {
        right:5px;
        top: -5px;
        /*background-image: url(Images/UI/popup_close_white.svg);*/
        background-image: url(Images/UI/close-icon.png);
        display: block;
        -webkit-filter: grayscale(0%);
        -moz-filter: grayscale(0%);
        -ms-filter: grayscale(0%);
        -o-filter: grayscale(0%);
        filter: grayscale(0%);
        z-index:999;
        
    }
    .popup-header .popup-close {
        display: none;
    }
    .popup-content {
        overflow: unset;
    }
    .popup-header .h-title {
        max-width: 100%; display:none;
    }
}

.popup-wrapper {
    overflow: hidden !important;
}