#revobox-bg {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.3);
    z-index: 7000;
}

#revobox, #revobox-dialog {
    position: absolute;
    top: 100px;
    left: calc(50% - 325px);
    padding: 20px;
    width: 650px;
    background-color: #fff;
    border-radius: 30px;
    z-index: 8000;
}

#revobox .header {
    margin-bottom: 20px;
    line-height: 80px;
    border-radius: 20px;
    background-color: #eaecf5;
    text-align: left;
}

#revobox .header .left {
    display: inline-block;
    margin-left: 20px;
    text-align: left;
}

#revobox .header .right {
    display: inline-block;
    text-align: right;
    float: right;
}

#revobox .header h2 {
    display: inline-block;
    font-size: 24px;
    line-height: 0;
    vertical-align: middle;
}

#revobox .header h2 i {
    margin: 0 20px 0 0;
    vertical-align: middle;
}

#revobox-close {
    cursor: pointer;
}

#revobox .header h2 .svg-caret-bottom {
    display: inline-block;
    margin-left: 60px;
}

#revobox label {
    display: inline-block;
    margin-left: 10px;
    /*width: 15%;*/
}

#revobox input[type="text"], #revobox input[type="date"], #revobox input[type="phone"], #revobox input[type="email"] {
    display: inline-block;
    position: relative;
    padding-left: 15px;
    width: 82%;
    margin-bottom: 20px;
    height: 42px;
    font-size: 100%;
    font-style: normal;
    font-weight: bold;
    color: #273691;
    border-radius: 20px;
    border: 1px solid #eaecf5;
    background-color: #eaecf5 !important;
}

#revobox input[type="phone"] {
    width: 250px;
}

#revobox input[type="email"].full{
    width: 100%;
}

#revobox input[type="text"]:focus, #revobox input[type="date"]:focus, #revobox input[type="phone"]:focus, #revobox input[type="email"]:focus {
    border-color: #273691;
}

#revobox label.textarea {
    display: block;
    margin-left: 10px;
    margin-bottom: 10px;
    width: 100%;
}

#revobox textarea {
    display: block;
    position: relative;
    padding: 10px;
    margin-bottom: 20px;
    width: 100%;
    height: 100px;
    font-size: 100%;
    font-style: normal;
    font-weight: bold;
    color: #273691;
    border: none;
    border-radius: 20px;
    background-color: #eaecf5 !important;
}

#revobox textarea:focus {
    border-color: #273691;
}

#revobox label.checkbox {
    width: 85%;
}

#revobox input[type="checkbox"] {
    display: inline-block;
    position: relative;
    top: 7px;
    margin-left: 10px;
    margin-bottom: 20px;
    width: 30px;
    height: 30px;
    font-size: 100%;
    font-style: italic;
    font-weight: bold;
    color: #273691;
    border: none;
    border-radius: 20px;
    background-color: #eaecf5 !important;
}

#revobox.full-width input[type="text"],
#revobox.full-width select,
#revobox.full-width textarea,
#revobox.full-width label {
    width: 100%;
}

#revobox input[type="button"], #revobox input[type="submit"], #revobox-dialog input[type="button"], #revobox-dialog input[type="submit"] {
    float: right;
    cursor: pointer;
    background-color: rgb(30,42,129);
    padding: 9px 25px;
    width: inherit;
    height: 40px;
    color: white;
    border: none;
    border-radius: 0.7em;
    -webkit-border-radius: 0.7em;
    font-size: 14px;
}

#revobox-dialog, #revobox-dialog-container {
    display: none;
    position: fixed;
    top: 250px;
    left: calc(50% - 230px);
    padding: 20px;
    width: 460px;
    background-color: #fff;
    border-radius: 30px;
    z-index: 9999;
}

#revobox-dialog-grid {
    display: grid;
    grid-template-columns: 0 auto;
    align-items: center
}

#revobox-dialog-grid.icon {
    grid-template-columns: 60px auto;
}

#revobox-dialog-icon {
    padding: 20px 0;
}

#revobox-dialog .message {
    padding: 20px 10px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

#revobox-dialog .footer .button {
    margin: 0 0 0 20px;
    cursor: pointer;
}

#revobox-dialog-cancel {
    background-color: #999;
}

#revobox-dialog-icon.info::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url('/assets/components/revoshop/templates/img/revobox-info.svg');
    background-size: 50px 50px;
    background-repeat: no-repeat;
}

#revobox-dialog-icon.question::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url('/assets/components/revoshop/templates/img/revobox-question.svg');
    background-size: 50px 50px;
    background-repeat: no-repeat;
}

#revobox-dialog-icon.danger::before, #revobox-dialog-icon.error::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url('/assets/components/revoshop/templates/img/revobox-danger.svg');
    background-size: 50px 50px;
    background-repeat: no-repeat;
}

#revobox-dialog-icon.warning::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url('/assets/components/revoshop/templates/img/revobox-warning.svg');
    background-size: 50px 50px;
    background-repeat: no-repeat;
}

#revobox-dialog-icon.success::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url('/assets/components/revoshop/templates/img/revobox-success.svg');
    background-size: 50px 50px;
    background-repeat: no-repeat;
}

#revobox-modalbg {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.3);
    z-index: 7001;
}

#revobox-modalbg .center {
    position: absolute;
    top: 45%;
    margin: 0 calc(50% - 100px);
    width: 200px;
    text-align: center;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#revobox-modalbg .loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

#revobox-modalbg .text {
    margin-top: 20px;
    font-weight: bold;
    color: #fff;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}