#popup_container {
    min-width: 420px;
    max-width: 800px;
    position: fixed !important;
    background: #000;
    top: 50% !important;
    left: 50% !important;
    -webkit-transform: translate(-50%, -50%) !important;
            transform: translate(-50%, -50%) !important;
    border-radius: 6px;
    padding: 12px 6px!important;
}

#popup_overlay {
    position: fixed !important;
}

#popup_title {
    font-size: 20px;
    color: #FFF;
    padding: 0 8px;
    margin: 0;
    pointer-events: none;
}

#popup_title::before {
    content: '✕';
    position: absolute;
    right: 7px;
    top: 6px;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 5px;
    pointer-events: auto;
}

#popup_overlay.no-close + #popup_container #popup_title::before {
    display: none;
}

#popup_content {
    padding: 8px;
}

#popup_message {
    padding-bottom: 8px;
    color: #fff;
    max-height: 90vh;
    overflow: auto;
}

/* width */
#popup_message::-webkit-scrollbar {
  width: 5px;
}

/* Track */
#popup_message::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

/* Handle */
#popup_message::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

/* Handle on hover */
#popup_message::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#popup_message img {
    width: 100%;
    height: auto;
}

#popup_panel {
    text-align: center;
}

#popup_panel input#popup_ok {
    font-size: 14px;
    border: 0px;
    padding: 8px 30px;
    cursor: pointer;
    background-color: #5133b5;
    font-weight: bold;
    border-radius: 3px;
    outline: none;
    color: #fff;
}

#popup_panel input#popup_cancel {
    font-size: 14px;
    border: 0px;
    padding: 8px 30px;
    cursor: pointer;
    background-color: #ffffff;
    font-weight: bold;
    border-radius: 3px;
    outline: none;
    color: #333333;
}

@media (max-width : 767px) {
    #popup_container {
        min-width: 90%;
        max-width: 90%;
    }
}
