.header {
    z-index:1099;
}

body {
    -webkit-text-size-adjust: 100%;
}

.body-mobile-app .hidden-mobile-app {
    display: none !important;
}

body.modal-open {
    overflow: hidden;
}
.modal-backdrop {
    top: 60px;
}
.modal {
    top: 60px;
    bottom: 40px;
    height: auto;
}
.modal-dialog {
    min-height: calc(100% - 3.5rem);
}

.btn {
    font-size: 1rem;
}
.btn-group-sm > .btn,
.btn-sm {
    padding: 0.55rem 1.25rem !important;
    font-size: 0.925rem !important;
}
.btn-group-xs > .btn,
.btn-xs {
    padding: 0.4rem 1rem !important;
    font-size: 0.85rem !important;
}
.btn.btn-wide {
    padding-left: 50px;
    padding-right: 50px;
}
.btn.btn-block {
    width:100%;
}

.btn.btn-notification .bullet {
    top: 28px;
    left: 28px;
}

.tag-premium {
    margin: 0 5px;
    background: #1d242c;
    color: #f2e6d5;
    padding:2px 7px 3px 8px;
    border-radius:3px;
}

@media (max-width: 991.98px) {
    .btn.btn-wide {
        padding-left: 35px;
        padding-right: 35px;
    }

    .btn.btn-xs-block {
        width: 100%;
    }

    .btn.btn-notification .bullet {
        top: 24px;
        left: 24px;
    }
}

.btn.btn-red {
    background: #f5333f;
    color: #fff;
    border: 1px solid #f5333f;
}

    .btn.btn-red i.fa {
        color: #fff;
    }

    .btn.btn-red.btn-outline {
        background: #fff;
        color: #f5333f;
        border: 1px solid #f5333f;
    }

.btn.btn-white {
    background: #fff;
    color: #1d252c;
    border: 1px solid #aaa;
}

.btn.btn-white-red {
    background: #fff;
    color: #f5333f;
    border: 2px solid #f5333f;
    font-weight:800;
}

.btn.text-largest {
    font-size: 1.6em !important;
    padding: 1rem 3rem;
}

.b_lang {
    width:40px;
}
img.img-circle {
    border-radius: 50% !important;
}


.c-red,
a.c-red:hover {
    color: #f5333f;
}
.c-white,
a.c-white:hover {
    color: #fff;
}
.c-black,
a.c-black:hover {
    color: #000;
}
.c-333,
a.c-333:hover {
    color: #333;
}
.c-555,
a.c-555:hover {
    color: #555;
}
.c-888,
a.c-888:hover {
    color: #888;
}
.c-aaa,
a.c-aaa:hover {
    color: #aaa;
}
.bg-red {
    background: #f5333f;
}
.bg-white {
    background: #fff;
}
.alert {
    padding: 15px 20px 10px;
}
.alert > span.svg-icon {
    margin-right:8px;
}
.alert.alert-error,
.alert.alert-red {
    color: #912741;
    background-color: #fcd9e2;
    border-color: #fbc6d3;
}

.badge-red {
    color: #fff;
    background-color: #f5333f;
}

.bootbox .modal-body {
    padding: 2.75rem 1.75rem 1.5rem;
    font-size:1.2rem;
}

.bootbox-close-button.close {
    position: absolute;
    top: 0;
    right: 0;
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    color: transparent;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    opacity: 1;
    padding: 1.25rem;
}

/* ETC */
.ul {
    text-decoration: underline;
}

.has-error {
    border: 1px solid #f00 !important;
}

.error,
.help-block.help-block-error{
    color: #f00;
}

.require {
    color: #f00;
}

.space {
    display: inline-block;
    padding: 0 10px;
}

.ml5 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.form-control {
    font-size: 1.1rem;
}
    .form-control.form-round,
    .select2.form-round{
        border-radius: 25px;
    }
.form-label {
    font-size: 1.05rem;
}

th.fit-width,
td.fit-width {
    width: 1px;
    white-space: nowrap;
}

/* FIX PLUGIN */
.select2.select2-container {
    width: 100% !important;
    padding: 0.5rem;
    -moz-padding-start: calc(1rem - 3px);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #5e6278;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%237E8299' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    border: 1px solid #e4e6ef;
    border-radius: 0.475rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    appearance: none;
}
.select2-container--default.select2-container--disabled {
    background-color: #eee;
}
.select2-container--bootstrap .select2-selection--single,
.select2-container--default .select2-selection--single {
    height: auto;
    border: 0 !important;
    padding: 0.25rem 2.5rem 0.25rem 0.5rem;
}
    .select2-container--bootstrap .select2-selection--single .select2-selection__rendered,
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 1.5;
    }
    .select2-container--bootstrap .select2-selection--single .select2-selection__arrow,
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        display: none;
    }
.select2-container--focus {
    outline: 0;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 8%), 0 0 0 0.25rem rgb(0 158 247 / 25%) !important;
}
.select2-search__field:focus,
.select2-selection--single:focus {
    outline: none !important;
}
input[type="checkbox"]:focus,
.form-check-input:focus {
    outline: 0;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 8%), 0 0 0 0.25rem rgb(0 158 247 / 25%) !important;
}
.datepicker {
    padding: 8px 15px;
    z-index: 9994;
}
    .datepicker td, .datepicker th {
        width: 30px;
        height: 30px;
        border: 1px solid #EEE;
    }
.blockui_msg {
    font-size:16px;
}

.fileinput .thumbnail > img {
    width:100%;
}

.sweet-alert {
    padding: 2.5rem;
}
.swal2-html-container {
    overflow:hidden !important;
}
.swal2-modal .swal2-confirm {
    background: #f5333f;
    border: 1px solid #f5333f;
}
.swal2-modal .swal2-deny {
    background: #fff;
    color: #333;
    border: 1px solid #aaa;
}

.swal2-modal .swal2-cancel {
    background: #fff;
    color: #333;
    border: 1px solid #aaa;
}
/* NOTIFICATION MENU */
.header-menu-bar .header-menu {
    margin-left: 10px;
    margin-right: 8px;
}
    .header-menu-bar .header-menu:last-child {
        margin-right: 0;
    }
.bg-noti {
    --bs-bg-opacity: 1;
    background-color: #e11f26 !important;
}

.avatar img {
    max-width:100%;
    border-radius: 50%;
}

.symbol {
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    border-radius: 0.475rem;
    margin-right: 0.75rem;
}

    .symbol .symbol-label {
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
        color: #3f4254;
        background-color: #f5f8fa;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        border-radius: 0.475rem;
        width: 35px;
        height: 35px;
    }

.noti-item {
    padding: 8px 15px 15px;
}
    .noti-item .symbol img {
        max-width:100%;
        max-height:24px;
    }
    .noti-item a:hover {
        text-decoration: none !important;
    }
    .noti-item .message {
        margin-bottom:0;
        margin-right:10px;
    }
        .noti-item .message .title {
            color: #3f4254 !important;
            font-size: 16px;
            font-weight:600;
        }
        .noti-item .message .body {
            color:#333;
            font-size: 14px;
            font-weight: 400;
        }

    .noti-item .badge {
        display: inline-flex;
        padding: 0.325rem 0.5rem;
        font-size: .85rem;
        font-weight: 600;
        line-height: 1;
        text-align: center;
        white-space: nowrap;
        vertical-align: baseline;
        border-radius: 0.325rem;
        align-items: center;
        color: #7e8299;
        background-color: #f5f8fa;
    }

.w-30px {
    width: 30px !important;
}
.h-30px {
    height: 30px !important;    
}
.w-300px {
    width: 300px !important;
}
.w-350px {
    width: 350px !important;
}
.pt-0px {
    padding-top: 0px !important;
}
@media (min-width: 992px) {
    .header-menu-bar .header-menu {
        margin-left: 12px;
        margin-right: 12px;
    }
    .w-lg-40px {
        width: 40px !important;
    }
    .h-lg-40px {
        height: 40px !important;
    }
    .w-lg-400px {
        width: 400px !important;
    }
    .pt-lg-5px {
        padding-top: 5px !important;
    }
}

.d-flex-newline {
    /* parent flex must have flex-wrap:wrap; */
    flex-basis: 100%;
    height: 0;
}

@media (min-width: 768px) {
    .d-sm-none {
        display: none !important;
    }

    .d-sm-inline {
        display: inline !important;
    }

    .d-sm-inline-block {
        display: inline-block !important;
    }

    .d-sm-block {
        display: block !important;
    }

    .d-sm-table {
        display: table !important;
    }

    .d-sm-table-row {
        display: table-row !important;
    }

    .d-sm-table-cell {
        display: table-cell !important;
    }

    .d-sm-flex {
        display: flex !important;
    }

    .d-sm-inline-flex {
        display: inline-flex !important;
    }

    .text-sm-right {
        text-align: right;
    }
    .text-sm-center {
        text-align: center;
    }
    .text-sm-left {
        text-align: left;
    }
}

@media (min-width: 992px) {
    .d-md-none {
        display: none !important;
    }

    .d-md-inline {
        display: inline !important;
    }

    .d-md-inline-block {
        display: inline-block !important;
    }

    .d-md-block {
        display: block !important;
    }

    .d-md-table {
        display: table !important;
    }

    .d-md-table-row {
        display: table-row !important;
    }

    .d-md-table-cell {
        display: table-cell !important;
    }

    .d-md-flex {
        display: flex !important;
    }

    .d-md-inline-flex {
        display: inline-flex !important;
    }
}

@media (min-width: 1200px) {
    .d-lg-none {
        display: none !important;
    }

    .d-lg-inline {
        display: inline !important;
    }

    .d-lg-inline-block {
        display: inline-block !important;
    }

    .d-lg-block {
        display: block !important;
    }

    .d-lg-table {
        display: table !important;
    }

    .d-lg-table-row {
        display: table-row !important;
    }

    .d-lg-table-cell {
        display: table-cell !important;
    }

    .d-lg-flex {
        display: flex !important;
    }

    .d-lg-inline-flex {
        display: inline-flex !important;
    }
}

@media (min-width: 1940px) {
    .d-xl-none {
        display: none !important;
    }

    .d-xl-inline {
        display: inline !important;
    }

    .d-xl-inline-block {
        display: inline-block !important;
    }

    .d-xl-block {
        display: block !important;
    }

    .d-xl-table {
        display: table !important;
    }

    .d-xl-table-row {
        display: table-row !important;
    }

    .d-xl-table-cell {
        display: table-cell !important;
    }

    .d-xl-flex {
        display: flex !important;
    }

    .d-xl-inline-flex {
        display: inline-flex !important;
    }
}

@media print {
    .d-print-none {
        display: none !important;
    }

    .d-print-inline {
        display: inline !important;
    }

    .d-print-inline-block {
        display: inline-block !important;
    }

    .d-print-block {
        display: block !important;
    }

    .d-print-table {
        display: table !important;
    }

    .d-print-table-row {
        display: table-row !important;
    }

    .d-print-table-cell {
        display: table-cell !important;
    }

    .d-print-flex {
        display: flex !important;
    }

    .d-print-inline-flex {
        display: inline-flex !important;
    }
}

.b-title-back {
    text-decoration: underline;
    color: #888;
    float: left;
    font-size: 1.1em;
    padding-top: 8px;
}
.b-title-close {
    position: absolute;
    top: 1.75rem;
    right: 2.5rem;
}
.blog-page {

}
    .blog-page img {
        max-width: 100%;
        height: auto;
    }
.blog-bar {
    padding-top: 20px;
}

.blog-title {
    margin: auto;
}

    .blog-title h1 {
        margin: 0;
    }

.blog_select_branch {
}

    .blog_select_branch .form-select {
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 16px;
    }

@media (max-width: 767.98px) {
    body, html {
        font-size: 13px !important;
    }

    .b-title-close {
        top: 1.25rem;
        right: 1.5rem;
    }

    .blog-title {
        margin-bottom: 20px;
    }
        .blog-title h1 {
            text-align: center;
        }

    .blog-page {
    }
        .blog-page .card-header {
            flex-direction: column;
            padding: 2rem 1.25rem 1.5rem;
        }
        .blog-page .card-title {
            flex-direction: column;
            display:block !important;
        }
        .blog-page .card-body {
            padding:1.5rem 1.25rem;
        }
        .blog-page .b-title-back {
            display: none !important;
        }

    .modal .modal-header {
        padding: 1rem 1.75rem 0.75rem;
    }
    .modal .modal-body {
        padding: 1.5rem 1.75rem;
    }

    .sweet-alert {
        padding: 1.5rem;
    }
}


/* ETC */
/* BWS TEAM ADD CUSTOM HERE */


/* my profile page */
.nav-link {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
    color: #515567 !important;
}
    .nav-link.active {
        background-color: transparent;
        border: 0;
        color: #f5333f !important;
        border-bottom: 2px solid #f5333f !important;
    }