/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2023 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

.loginlink-form {
    width: 100%;
    max-width: 500px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.loginlink-form-title {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.loginlink-form-note {
    color: #5c5c5c;
    font-size: 14px;
}

.select-select2 {
    min-height: 42px !important;
    padding: 8px !important;
    font-size: 16px !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}

.select-select2 .select2-selection__arrow {
    top: 8px !important
}

.select-select2.border-radius-left-0 {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px
}

.select-select2.border-radius-right-0 {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px
}

.lm-n1 {
    margin-left: -1px !important
}

.error-block {
    display: none;
    position: absolute;
    top: 100%;
    z-index: 5;
    display: none;
    max-width: 100%;
    padding: 4px 8px;
    margin-top: 2px;
    font-size: 14px;
    color: #fff;
    background-color: #d9534f;
    border-radius: 4px
}

.has-error ~ .error-block {
    display: block
}

.myorder-title {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.code {
    display: inline-block;
    white-space: nowrap;
    background-color: #ffffff;
    color: var(--site-text-color) !important;
    border: 1px solid #b0b0b0;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 13px;
    font-weight: bold;
}

#event-accordion .event-title {
    border-top: 2px solid #ededed !important;
    border-bottom: 2px solid #e3e3e3 !important;
    padding: 0px 0px;
    background-color: #ededed !important;
}

#event-accordion .event-title .panel-title {
    display: flex;
    font-size: inherit;
}

#event-accordion .event-title a {
    display: flex;
    align-items: center !important;
    padding: 6px 10px;
    flex: 1 1 auto;
}

#event-accordion .event-title a::before {
    display: inline-flex;
    font-family: FontAwesome;
    font-size: 14px;
    content: "\f0d8";
    margin-right: 5px;
    align-self: center !important;
}

#event-accordion .event-title a.collapsed::before {
    content: "\f0d7";
}

#event-accordion .event-title a .event-status {
    font-size: 12px;
    margin-left: 2px;
    margin-top: -8px;
}

#event-accordion .event-title a .event-status .fa-clock-o {
    color: #428bca;
}

#event-accordion .event-title a .event-status .fa-hourglass-start {
    color: #f0ad4e;
}

#event-accordion .event-title a .event-status .fa-refresh {
    color: #d9534f;
}

#event-accordion .event-title a .event-status .fa-check {
    color: #5cb85c;
}

#event-accordion .event-title button.btn {
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 12px;
    border-left: 2px solid #ffffff;
}

#event-accordion .nav-pills {
    border-bottom: 2px solid var(--site-primary-color,#f19a26);
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
}

#event-accordion .nav-pills > li > a {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 8px 12px;
}

#event-accordion .nav-pills > li.active > a,
#event-accordion .nav-pills > li.active > a:hover,
#event-accordion .nav-pills > li.active > a:focus {
    color: #ffffff !important;
    background-color: var(--site-primary-color,);
}

#event-accordion .table-partilist thead > tr {
    background-color: #fffaf3;
}

.bg-active {
    background-color: #ececec;
}

.sector-title {
    padding: 10px;
    font-weight: bold;
}

.edit-value input[type=text] {
    height: auto;
    padding: 4px;
    border-color: var(--site-primary-shade-color);
}

.edit-form {
    width: 100%;
    max-width: 800px;
}

.draft {
    position: relative;
    background-color: var(--site-primary-text-color);
    border: 1px solid var(--site-primary-color);
    border-radius: 4px;
    padding: 4px;
    font-size: 13px;
    margin-top: 5px;
}

.btn-draft {
    float: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    appearance: none;
    font-size: 14px;
    line-height: 1;
    color: #000;
}

.btn-remove {
    position: absolute;
    top: -10px;
    right: -10px;
    float: none;
    padding: 0 5px;
    cursor: pointer;
    background: 0 0;
    border: 1px solid var(--site-primary-color);
    border-radius: 50%;
    appearance: none;
    width: 20px;
    height: 20px;
    font-size: 16px;
    line-height: 20px;
    color: #000;
    background-color: var(--site-primary-text-color);
    z-index: 2;
}

.tablist-text {
    display: none;
}

.active > a > .tablist-text {
    display: inline-block;
}

@media (min-width: 768px) {
    .tablist-text {
        display: inline-block;
    }
}

#review-form .title {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
}

#review-form .gratitude {
    font-weight: bold;
    text-align: center;
}

#review-form .subtitle {
    text-align: center;
    padding-bottom: 20px;
}

#review-form .ranking-item {
    flex: 1 1 auto;
    text-align: right;
    margin-right: 8px;
}

#review-form select {
    width: 180px;
    margin-left: auto;
}

#review-form textarea {
    min-height: 200px;
    resize: vertical;
}

#review-form .photo-item:not(:last-child) {
    margin-bottom: 10px;
}

@media (max-width: 767.98px) {
    #review-form select {
        width: 150px;
    }

    #review-form textarea {
        min-height: 150px;
    }
}

.checkbox-img {
    display: inline-block;
}

.checkbox-img [type=checkbox] {
    display: none;
}

.checkbox-img label {
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.checkbox-img label::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
}

.checkbox-img label::after {
    content: "\f00d";
    position: absolute;
    left: 2px;
    bottom: 2px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-family: FontAwesome;
    font-size: 24px;
    color: #d9534f;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
}

.checkbox-img [type=checkbox]:checked ~ label::before {
    background-color: rgba(0, 0, 0, 0);
}

.checkbox-img [type=checkbox]:checked ~ label::after {
    content: "\f00c";
    color:#5cb85c;
}