/* 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;
    position: relative;
}
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 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    align-items: center;
    font-weight: 600;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.bx-user i {width: 1.25em; text-align: center;}

/* #### LINK-WITH-ICO #### */
.link-with-ico {
    align-items: center;
    font-weight: 600;
    position: relative;
    display: inline-flex;
    vertical-align: middle;
    color: inherit;
    line-height: 1.1;
}
.link-with-ico:hover {color: inherit;}
.link-with-ico:hover i {text-decoration: none !important;}
.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;
}
body.fancybox-active .bx-bank-transfer-info {z-index: 99995;}

.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;}

/* ##### 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;
    }
}