.default-dialog-box {
    display: inline-block;
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 450px;
    margin-left: calc(50% - 225px);
    margin-top: calc(50vh - 240px);
    background-color: rgba(255,255,255,0.97);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 25px rgba(0,0,0,0.05);
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    opacity: 1;
    z-index: 9980;
}

.default-dialog-box.type-small {
    max-width: 400px;
    margin-left: calc(50% - 200px);
}

.default-dialog-box .inner {
    display: inline-block;
    position: relative;
    padding: 20px 25px;
    width: 100%;
}

.default-dialog-box .title {
    display: inline-block;
    position: relative;
    font-size: 18px;
    line-height: normal;
    font-weight: normal;
}


.dialog-loader {
    position: absolute;
    left: calc(50% - 32px);
    top: calc(50% - 32px);
    opacity: 0;
    pointer-events: none;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    z-index: 9990;
}


.default-dialog-box.show-loader .dialog-loader {
    opacity: 1;
}
.default-dialog-box.show-loader {
    opacity: 0.6;
    pointer-events: none;
}








.default-message-box {
    display: inline-block;
    position: fixed;
    margin: 0 auto;
    width: 100%;
    max-width: 450px;
    left: calc(50% - 225px);
    top: calc(50vh - 80px);
    background-color: rgba(255,255,255,0.97);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 25px rgba(0,0,0,0.2);
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.6,0.6);
    border: 1px solid #e0e0e0;
    color: #333333;
}
.default-message-box.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1,1);
}

.default-message-box.type-small {
    max-width: 400px;
    left: calc(50% - 200px);
}

.default-message-box.type-big {
    max-width: 900px;
    left: calc(50% - 450px);
}

.default-message-box .inner {
    display: inline-block;
    position: relative;
    padding: 20px 25px;
    width: 100%;
}

.default-message-box .inner .text {
    display: inline-block;
    position: relative;
    width: 100%;
    max-height: 70vh;
    overflow: auto;
}

.default-message-box .title {
    display: inline-block;
    position: relative;
    font-size: 22px;
    line-height: normal;
    font-weight: normal;
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
}

.default-message-box.title-border .title {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.default-message-box .text {
    display: inline-block;
    position: relative;
    font-size: 15px;
    line-height: normal;
    font-weight: normal;
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

.default-message-box .button {
    display: inline-block;
    position: relative;
    font-size: 15px;
    line-height: normal;
    font-weight: normal;
    width: 100%;
    margin: 0;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
}
.default-message-box .button.button2 {
    display: none;
}
.default-message-box .button.button1 {
    border: 1px solid rgba(0,100,140,0.97);
    background-color: rgba(0,100,140,0.97);
    color: #ffffff;
}
.default-message-box .button.button1:hover {
    border: 1px solid rgba(0,120,160,0.97);
    background-color: rgba(0,120,160,0.97);
}
.default-message-box .button.button2 {
    border: 1px solid rgba(220,80,0,0.97);
    background-color: rgba(220,80,0,0.97);
    color: #ffffff;
}
.default-message-box .button.button2:hover {
    border: 1px solid rgba(240,100,0,0.97);
    background-color: rgba(240,100,0,0.97);
}


.default-message-box .buttons {
    width: 100%;
    white-space: nowrap;
}

.default-message-box.no-buttons .buttons {
    display: none !important;
}

.default-message-box.no-buttons .text {
    margin-bottom: 0 !important;
}

.default-message-box input.margin-top,
.default-message-box select.margin-top {
    position: relative;
    margin-top: 10px;
}

.default-message-box input[type=text],
.default-message-box select {
    width: 100%;
    padding: 5px 7px;
    border: 1px solid #cccccc;
}
.default-message-box input[type=text]:hover,
.default-message-box select:hover {
    border: 1px solid #bbbbbb;
}

.default-message-box.two-buttons .button.button {
    width: calc(50% - 5px);
    -webkit-transition: background-color 0.3s linear;
    transition: background-color 0.3s linear;
}
.default-message-box.two-buttons .button.button1 {
    margin-right: 5px;
}
.default-message-box.two-buttons .button.button2 {
    margin-left: 5px;
    display: inline-block;
}






.large-message-box {
    display: inline-block;
    position: fixed;
    margin: 0 auto;
    width: 100%;
    max-width: 780px;
    left: calc(50% - 390px);
    top: calc(50vh - 140px);
    background-color: rgba(255,255,255,0.97);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 25px rgba(0,0,0,0.2);
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.6,0.6);
    border: 1px solid #e0e0e0;
}
.large-message-box.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1,1);
}

.large-message-box .inner {
    display: inline-block;
    position: relative;
    padding: 20px 25px;
    width: 100%;
}

.large-message-box .title {
    display: inline-block;
    position: relative;
    font-size: 22px;
    line-height: normal;
    font-weight: normal;
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
}

.large-message-box .text {
    display: inline-block;
    position: relative;
    font-size: 15px;
    line-height: normal;
    font-weight: normal;
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

.large-message-box .button {
    display: inline-block;
    position: relative;
    font-size: 15px;
    line-height: normal;
    font-weight: normal;
    width: 100%;
    margin: 0;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
}
.large-message-box .button.button2 {
    display: none;
}
.large-message-box .button.button1 {
    border: 1px solid rgba(0,100,140,0.97);
    background-color: rgba(0,100,140,0.97);
    color: #ffffff;
}
.large-message-box .button.button1:hover {
    border: 1px solid rgba(0,120,160,0.97);
    background-color: rgba(0,120,160,0.97);
}
.large-message-box .button.button2 {
    border: 1px solid rgba(220,80,0,0.97);
    background-color: rgba(220,80,0,0.97);
    color: #ffffff;
}
.large-message-box .button.button2:hover {
    border: 1px solid rgba(240,100,0,0.97);
    background-color: rgba(240,100,0,0.97);
}


.large-message-box .buttons {
    width: 100%;
    white-space: nowrap;
}

.large-message-box.no-buttons .buttons {
    display: none !important;
}

.large-message-box.no-buttons .text {
    margin-bottom: 0 !important;
}

.large-message-box input.margin-top,
.large-message-box select.margin-top {
    position: relative;
    margin-top: 10px;
}

.large-message-box input[type=text],
.large-message-box select {
    width: 100%;
    padding: 5px 7px;
    border: 1px solid #cccccc;
}
.large-message-box input[type=text]:hover,
.large-message-box select:hover {
    border: 1px solid #bbbbbb;
}

.large-message-box.two-buttons .button.button {
    width: calc(50% - 5px);
    -webkit-transition: background-color 0.3s linear;
    transition: background-color 0.3s linear;
}
.large-message-box.two-buttons .button.button1 {
    margin-right: 5px;
}
.large-message-box.two-buttons .button.button2 {
    margin-left: 5px;
    display: inline-block;
}


.default-message-box .title .num_items {
    position: relative;
    float: right;
}






/*
=========================================================================================================================
MOBILE 1023
=========================================================================================================================
*/
@media all and (max-width: 1023px) {
    .default-dialog-box {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }


    .default-message-box.type-big,
    .default-message-box {
        display: inline-block;
        position: fixed;
        margin: 0 auto;
        width: 100%;
        max-width: calc(100% - 20px);
        left: 10px;
        top: calc(50vh - 100px);
    }

    .large-message-box {
        display: inline-block;
        position: fixed;
        margin: 0 auto;
        width: 100%;
        max-width: calc(100% - 20px);
        left: 10px;
        top: calc(50vh - 100px);
    }
}




/*
=========================================================================================================================
MOBILE 320
=========================================================================================================================
*/
@media all and (max-width: 320px) {
}
