@charset "utf-8";

.msg-box {
    display: flex;
    width: calc(100% - 20px);
    max-width: 600px;
    position: fixed;
    bottom: -100px;
    right: 0;
    left: 0;
    margin: 0 auto;
    box-sizing: border-box;
    background: #e74c3cdd;
    color: #ecf0f1;
    z-index: 999999;
    border-radius: 5px;
    overflow: hidden;
    border: solid 1px #e74c3c;
    transition: all 0.4s ease-in-out;
}

.msg-box .msg-icon {
    background: #e74c3c;
    color: #ecf0f1;
    padding: 10px 10px 0 10px;
    font-size: 18px;
}

.msg-box .msg-text {
    display: inline-block;
    width: calc(100% - 120px);
    vertical-align: middle;
    padding: 15px 10px;
}

.msg-box .msg-close {
    float: left;
    width: 70px;
    height: 35px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    padding: 5px 0;
    border-radius: 5px;
    box-sizing: border-box;
    cursor: pointer;
    color: #ecf0f1;
    margin: 8px 0 0 10px;
}

.msg-box .msg-close:active,
.msg-box .msg-close:hover {
    background: #ecf0f1;
    color: #e74c3c;
}

.light {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.0);
    top: 0;
    right: 0;
    z-index: 10;
}

.black {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    top: 0;
    right: 0;
    z-index: 10;
}

.alert {
    width: calc(100% - 20px);
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    background: #ecf0f1;
    display: none;
    position: fixed;
    top: 10vh;
    right: 0;
    left: 0;
    z-index: 20;
    padding: 0 0 20px 0;
    opacity: 0.0;
    transition: all 0.2s ease-in-out;
}

.alert .title {
    font-weight: bold;
    font-size: 15pt;
    text-align: center;
    display: block;
    margin-top: 40px;
    padding-bottom: 10px;
}

.alert .close {
    float: left;
    padding: 5px 5px 0 15px;
    margin-top: 10px;
    cursor: pointer;
    color: #7f8c8d;
    font-size: 18px;
}

.alert .text {
    margin: 10px 0 35px 0;
    padding: 0 15px;
    text-align: center;
    font-size: 12pt;
    font-weight: normal;
}

.alert .btn-green {
    margin-right: 25px;
}

.loading {
    display: none;
    position: fixed;
    width: calc(100% - 20px);
    max-width: 600px;
    margin: auto;
    color: #ecf0f1;
    text-align: center;
    top: calc(50% - 60px);
    right: 0;
    left: 0;
    z-index: 10;
}

.loading span {
    display: block;
    font-size: 12pt;
    margin-bottom: 15px;
}

.loading i {
    font-size: 50px;
}
