/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    background-attachment: fixed;
    background-size: cover;
    z-index: 9999999999;
    line-height: 100vh;
    text-align: center;
}

/* Preloader */
.preloader-in, .preloader-in2 {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 15000;
    text-align: center;
    color: #000;
}

.preloader-in .spinner {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    line-height: 100vh;
}

.preloader-in2 .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.preloader-in-scroll {
    position: absolute;
    z-index: 999;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    text-align: center;
    opacity: 1 !important;
}

html, body {
    min-height: 100vh;
    color: #343a40;
}
html {font-size: 15px;}
body {
    position: relative;
    overflow-x: hidden;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ##### COMMONS ##### */
#mainWrap {flex-grow: 1;}
main {margin: 20px 0 40px 0; min-height: 300px; padding-left: 20px !important;}
.section-padding {padding-top: 30px; padding-bottom: 30px;}
.anchor {position: absolute; z-index: -1; top: -60px; display: block;}

strong, b {font-weight: 600;}

/* ##### HEADER ##### */
.header {
    background: #fff;
    z-index: 102;
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    height: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.header .i-logo {display: inline-block;}
.header .i-logo img {vertical-align: middle; max-height: 30px;}

/* ##### MAIN-SIDEBAR ##### */
.main-sidebar {padding: 0; position: relative; z-index: 99; left: 0;}

/* #### BX-DASHBOARD #### */
.bx-dashboard {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
a.bx-dashboard:hover {
    text-decoration: none;
}

.bx-dashboard .i-number {font-size: 24px; font-weight: 700;}

.bx-dashboard a {color: inherit; text-decoration: none;}

/* #### BX-USER #### */
.bx-user {
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    color: #343a40;
    font-weight: 600;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    overflow: hidden;
    position: relative;
    font-size: 14px;
    line-height: 19px;
    background: none;
    border: none;
    min-width: 100px;
}
a.bx-user:hover {color: #0056b3; text-decoration: none;}

.bx-user .i-img {
    border-radius: 50%;
    margin-right: 10px;
    width: 30px;
    height: 30px;
}


/* #### LINK-WITH-ICO #### */
.link-with-ico {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    align-items: center;
    font-weight: 600;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    color: inherit;
}
.link-with-ico:hover {color: inherit;}
.link-with-ico i {margin-right: .25rem; width: 1.25em; font-size: 1.2em; vertical-align: -0.04em; text-align: center;}

/* #### BX-SELECT-LANGUAGE #### */
.bx-select-language {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}
.bx-select-language label {margin: 0 5px 0 0;}
.bx-select-language .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {width: 100px;}

/* #### BX-MULTI-CHECKBOX-ACTION #### */
.bx-multi-checkbox-action {margin: 10px 0 5px 10px;}
.bx-multi-checkbox-action .i-icon {position: relative; top: -5px;}

/* #### BX-EMAIL-LIST #### */
.bx-email-list .item {cursor: pointer;}
.bx-email-list .item.active {background: #dae0e5 !important;}

/* ##### BX-BAN-TRANSFER-INFO ##### */
.bx-bank-transfer-info {
    position: fixed;
    max-width: 400px;
    z-index: 90;
    bottom: 80px;
    right: 10px;
    padding: 10px;
}
.bx-bank-transfer-info .i-btn-container {
    position: absolute;
    right: 5px;
    top: 5px;
}
.bx-bank-transfer-info.minimize .i-hide-when-minimize {display: none;}
.bx-bank-transfer-info .i-show-when-minimize {display: none;}
.bx-bank-transfer-info.minimize .i-show-when-minimize {display: initial;}

/* ##### BTN-RETURN-TO-YOUR-ACCOUNT ##### */
.btn-return-to-your-account {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 90;
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #fff;
    background: #007bff;
    text-align: center;
}
.btn-return-to-your-account:hover {color: #fff; opacity: 0.9; text-decoration: none;}


/* ##### CHOICE-FIELD ##### */
.choice-field {
    position: relative;
    width: 100%;
    height: 80%;
    background-color: white;
    border: 1px solid gray;
    cursor: pointer;
}

.choice-field.active {
    border: 3px solid limegreen;
}

.choice-field:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.choice-field-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.choice-field-content-badge {
    position: absolute;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-align: center;

    --f: 12px; /* control the folded part*/
    --r: 10px; /* control the ribbon shape */
    --t: 5px; /* the top offset */
    inset: var(--t) calc(-1*var(--f)) auto auto;
    padding: 0 10px var(--f) calc(10px + var(--r));
    clip-path:
            polygon(0 0,100% 0,100% calc(100% - var(--f)),calc(100% - var(--f)) 100%,
            calc(100% - var(--f)) calc(100% - var(--f)),0 calc(100% - var(--f)),
            var(--r) calc(50% - var(--f)/2));
    box-shadow: 0 calc(-1*var(--f)) 0 inset #0005;
}

.choice-field.active .choice-field-content-badge {
    margin-right: -2px;
    margin-top: -2px;
}

.choice-field.active .choice-field-content {
    padding: 18px;
}

.choice-field-item {
    width: 100%;
    display: flex;
    justify-content: center;
}

.choice-field-bundle-name {
    font-weight: bold;
    font-size: 26px;
}

.choice-field-bundle-user-amount {
    font-size: 50px;
}

.choice-field-label {
    font-size: 12px;
    color: gray;
}

.choice-field-period-months {
    font-weight: bold;
    font-size: 20px;
}

.choice-field-period-price {
    font-weight: bold;
    font-size: 30px;
}


/* ##### bx-payu-card ##### */
.bx-payu-card {
    text-align: center;
    max-width: 420px;
    color: #ffffff;
    font-size: 14px;
    background: rgb(2,0,60);
    border-radius: 5px;
    padding: 15px;
}

.bx-payu-card .i-form {
    background-color: #ffffff;
    padding: 5px;
    border-radius: 4px;
}

.bx-payu-card .i-response-success {color: #98ff7b;}
.bx-payu-card .i-response-error {color: #ff9b9b;}

/* ##### ICO-GO-TOP ##### */
.ico-go-top {
    width: 45px;
    height: 45px;
    border: 2px solid #343a40;
    border-radius: 50%;
    position: fixed;
    z-index: 88;
    right: 10px;
    bottom: 40px;
    display: none;
    cursor: pointer;
}
.ico-go-top::after {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    border-top: 2px solid #343a40;
    border-right: 2px solid #343a40;
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -5px 0 0 -8px;
}
.ico-go-top:hover {opacity: 0.8;}

/* #### FOOTER #### */
.footer {

    width: 100%;
}
.honeti {opacity: 1;}
.honeti:hover {opacity: 0.7;}

/* #### RESPONSIBLE WEB DESIGN #### */
@media all and (max-width: 1199px) {
    /* ##### COMMONS ##### */
    main {padding-left: 10px !important;}
}

@media all and (max-width: 991px) {
    html {font-size: 14px;}

    /* ##### COMMONS ##### */
    main {margin-top: 10px;}
}

@media all and (max-width: 767px) {
    html {font-size: 14px;}

    /* ##### ICO-GO-TOP ##### */
    .ico-go-top {width: 35px; height: 35px;}
    .ico-go-top::after {width: 10px; height: 10px; margin: -3px 0 0 -5px;}

}
@media all and (max-width: 575px) {
    /* ##### HEADER ##### */
    .header .i-change-restaurant .bootstrap-select {width: 120px !important;}
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {

}

@media print {
    * {-webkit-print-color-adjust: exact;}
    body {-webkit-print-color-adjust: exact; color: #000; font-size: 14px; padding: 0 !important; min-height: auto !important;}

    .table th {
        background: #F8F9FA !important;
        color: #000 !important;
        font-weight: bold;
    }

    .table-success, .table-success > td, .table-success > th {
        background-color: #c3e6cb !important;
    }

    .table-danger, .table-danger > td, .table-danger > th {
        background-color: #f5c6cb !important;
    }
}