.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    visibility: hidden;
    opacity: 0;
}

.overlay-show {
    visibility: visible;
    transition: opacity 1s;
    opacity: 1;
    z-index: 200;
}

.overlay-hide {
    transition: all 500ms ;
    visibility: hidden;
    opacity: 0;
    z-index: -1;
}

.popup .title-center{text-align: center;}

.popup {
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 25%;
    position: absolute;
    height: auto;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    z-index: 205;
}

.popup h2 {
    margin-top: 0;
    color: #3498db;
    font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}
.popup .close:hover {color: #3498db;}
.popup .popup-container {height: 85%;}

#description-popup{
    width: 87%;
    padding: 10px;
}

#popup-service{height: auto;}

.popup-container .popup-wrap{
    height: 100%;
    overflow-y: auto;
    /*align-items: center;*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    scrollbar-width: thin;
}

#popup-waranty .popup-wrap{
    height: 100%;
    overflow-y: auto;
    padding-right: 20px;
}

#popup-waranty{height: 70%}

#popup-send{height: auto;}

#popup-send .popup-wrap #send-list{
    width: 86%;
    position: relative;
    margin-left: 44px;
}

@media screen and (max-height: 800px){
    #popup-notice{height: 80%;}
}

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

@media (max-height: 750px){
    #popup-notice{ height: 75%;}
    #popup-service{ height: 70%;}
    #popup-service .popup-wrap{ padding-right: 20px; }
}