/**
 * DauThau.Net
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license Commercial
 */
.mb-3 {
    margin-bottom: 15px !important;
}

.mt-2 {
    margin-top: 10px !important;
}

.location {
    width: 30% !important;
    float: left;
    margin-right: 20px;
    font-size: 16px !important;
}

.panel select {
    border: 1px solid #8FB6BD;
    font-size: 16px !important;
}

.ui-datepicker {
    z-index: 99 !important
}

.ui-datepicker-trigger {
    margin-left: 2px;
}

.btn-search {
    padding: 7px 10px 7px 10px !important;
}

.bids-form .select2-container {
    margin: 5px 0 !important;
    width: 100% !important;
}

.panel-with-tab {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.news_column .display-flex {
    justify-content: space-between;
}

.analysis-button,
.news_column .display-flex .display-flex>span {
    margin-bottom: 6px;
}
@media ( min-width : 1023.98px) {
    .bids-form .select2-container {
        width: 100% !important;
    }
    .bids-form .full-width .select2-container {
        width: 100% !important;
    }
    .mg-bt-top .select2-container{
        width: 45% !important;
    }
    .css-local-selcet2 .select2-container[data-select2-id]{
        width: 28% !important;
    }
    .mg-desktop{
        margin-left: 50px
    }
}

/* Tôn thêm đoạn JS cho nút thay đổi Hồ sơ doanh nghiệp tại các trang chi tiết HSMT */
.word-beark-text-file {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    word-break: break-all;
    padding-right: 10px;
}


table thead tr td {
    text-align: center;
    background-color: #0685d6;
    color: #fff;
}

.m-r-15 {
    margin-right: 15px;
}

.row-flex {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.row-flex>div:first-child {
    width: 100%;
}

.modal-dialog-custom .close {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 24px;
    height: 24px;
    background-color: #000;
    color: #fff;
    font-size: 11px;
    opacity: 0.8;
    border-width: 2px;
    border-style: solid;
    border-color: #cccccc;
    border-radius: 12px;
}

.font-weight-normal {
    font-weight: normal;
}

.profile-item {
    cursor: pointer;
}

.profile-item:hover {
    background-color: #0685d6;
    color: #fff;
}

.label a {
    color: #FFF !important;
}

.width-new-c-author {
    flex: 0 0 80px;
    max-width: 80px;
}

.mg-top {
    margin-top: 5px
}

.display-grid{
    display: grid;
}

.css-year-month .select2-container{
    width: 30% !important;
}

.width-repsonsive .select2-container{
    width: 100% !important;
}

.modal-content .modal-body .table-reponsive{
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}


#edit-time .form-inline{
    margin-bottom: 10px
}

.mg-left{
    margin-left: 50px
}

.mg-left .display-flex select{
    margin-left: 15px
}

.checkbox_create_tbmt {
    margin-left: 21.4% !important;
}
.reason-delete-bid {
    width: 370px !important;
}
@media (min-width: 768px )and (max-width : 868px) {
   .reason-delete-bid {
        width: 100% !important;
    }
}

@media ( min-width : 768px) {
    .form-ruby-responsive .none_spc {
        min-width: 90px;
    }
}
@media screen and (max-width: 768px) {
    .checkbox_create_tbmt {
        margin-left: 0px !important;
    }
    .modal.auto-height:before {
        display: block;
        vertical-align: middle;
        content: " ";
        min-height: 100px;
    }
    .form-ruby-responsive {
        display: grid;
        grid-template-columns: 70px 85px 123px 16px;
        grid-gap: 5px;
    }
    .display-grid-responsive{
        display: grid;
        grid-template-columns: 160px 55px;
        grid-gap: 5px;
    }
    .form-ruby-responsive img{
        margin-top: 15px
    }
    .form-ruby-responsive .form-control {
        width: auto!important;
    }
    .mg-bt-top input{
        margin-top: 5px
    }
    .form-inline input, .form-ruby-responsive select{
        margin-top: 5px;
    }
    .css-input-date input{
        width: 98%
    }
    .display-inputspan select{
        width: 100px;
        margin-top: 5px;
        margin-left: 5px;
    }
    .display-inputspan{
        display: flex;
    }
}

.dis-block{
    display: none;
}

@media screen and (max-width: 1022px) {
    .display-gird-repsonive{
        display: table-cell;
    }
    .css-table{
        border: none;
    }
    .display-ruby img{
        margin-top: 15px
    }
    .mg-left{
        margin-left: 0
    }
    .margin-bottom .form-control{
        margin-bottom: 5px
    }
    .form-horizontal .control-label{
        text-align: left !important;
    }
    /* Force table to not be like tables anymore */
    .css-table table, .css-table thead, .css-table tbody, .css-table th, .css-table td, .css-table tr {
        display: block;
    }
    /* Hide table headers (but not display: none;, for accessibility) */
    .css-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .css-table tr {
        margin-top: 5px;
        width: 100%;
        display: table;
    }
    .css-table td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: left !important;
        display: table-row;
    }
    .css-table td div{
        padding: 5px;
    }
    .css-table td:before {
        width: 45%;
        padding: 8px 10px;
        white-space: nowrap;
        position: relative;
        display: table-cell;
        border-right: 1px solid #ddd;
    }

    .css-table .hiddenRow:before {
        display: block !important;
    }

    /*
    Label the data
    */
    .css-table td:nth-of-type(1):before {
        content: attr(data-title);
    }
    .css-table td:nth-of-type(2):before {
        content: attr(data-title);
    }
    .css-table td:nth-of-type(3):before {
        content: attr(data-title);
    }
    .css-table td:nth-of-type(4):before {
        content: attr(data-title);
    }
    .css-table td:nth-of-type(5):before {
        content: attr(data-title);
    }
    .css-table td:nth-of-type(6):before {
        content: attr(data-title);
    }
    .css-table td:nth-of-type(7):before {
        content: attr(data-title);
    }
    .css-table td:nth-of-type(8):before {
        content: attr(data-title);
    }
    .css-table td:nth-of-type(9):before {
        content: attr(data-title);
    }
    .css-table td:nth-of-type(10):before {
        content: attr(data-title);
    }
    .css-table td:nth-of-type(11):before {
        content: attr(data-title);
    }
    .css-table td:nth-of-type(12):before {
        content: attr(data-title);
    }
    .css-table td:nth-of-type(13):before {
        content: attr(data-title);
    }
    .display-responsive td:BEFORE, .discol-participate td:BEFORE,
    .css-table.table-data-import tfoot td:before{
        content: none !important;
    }
    .mg-desktop label{
        text-align: left !important;
    }
    .mg-desktop .mgs-top{
        margin-top: 5px
    }
    .width-repsonsive-calc .select2-container{
        width: calc(100% - 130px) !important;
    }
    .css-text-responsive{
        word-break: break-word;
    }
    .css-table td a{
        word-break: break-word;
    }
    #edit #active_profile_submit--container .btn{
        margin-bottom: 5px
    }
    .display-flex select{
        margin-top: 5px;
    }
    .mg-top input{
        margin-top: 5px
    }
    .css-hidden{
        display: none;
    }
    .news_column .display-flex{
        padding-left: 0px
    }
    .dis-none {
        display: none;
    }
    .dis-block{
        display: block;
    }
    .css-table.table-data-import tfoot td{
        text-align: center !important;
        border: none !important;
    }
}

@media screen and (max-width: 500px) {
    .news_column .text-right{
        text-align: left !important;
        width: 100%
    }
    .news_column .display-flex {
        flex-direction: column;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding: 7px;
    }
    .news_column .display-flex>span {
        margin-bottom: 5px;
    }
}

.modal-follow{
    margin-top: 10px;
}

.border-bidding>h2 {
    border-bottom: 4px solid;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 3px;
    display: inline-block;
}

.border-bidding>h2:before {
    display: inline-block;
    font-family: FontAwesome;
    font-size: 14px;
    line-height: 1;
    vertical-align: middle;
    margin-right: 5px;
    content: " ";
    color: #d61c1d;
}

.modal-title-h4 {
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: inherit;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modal-title-name-bids-h6 {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    font-family: inherit;
    color: inherit;
}

.modal-h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: inherit;
    line-height: 1.5;
    color: inherit;
}

.alert__analysis {
    padding: 10px;
    background-color: #FCF8E3FF;
    position: relative;
}
/*
.alert__analysis::after {
    content: "";
    position: absolute;
    width: 82px;
    top: -19px;
    right: 8px;
    height: 20px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;

    border-bottom: 20px solid #FCF8E3FF;
}*/

.block-manager-h2 {
    font-weight: 700;
    font-size: 18px;
    font-family: inherit;
    line-height: 1.5;
}

.res_description{
    word-break: break-word;
}

#main_change_notificaion {
    font: normal 14px/1.4 sans-serif;
    background: #f1f1f1;
    padding: 10px;
}

.title_change_notifi {
    padding: 10px;
}

ins {
    background: lightgreen;
    text-decoration: none;
}

del {
    background: pink;
}

.card {
    background: #fff;
    /*border: 1px solid #ccc;*/
    border-radius: 3px;
    /*margin: 1rem;*/
    /*padding: 1rem;*/
}

.card .card {
    margin: 0;
    flex: 1 0 0;
}

.row_compare {
    display: flex;
    justify-content: space-between;
    margin-right: -8px;
}

.col {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    margin-right: 8px;
}

#showTB .modal-lg {
    width: 97%;
}

#view_change_tb {
    outline: none;
}

@media screen and (max-width: 767px) {
    #showTB .modal-lg {
        margin-top: 50px;
    }
    .bid_time {
        display: inline-block;
    }
}

@media screen and (max-width: 500px) {
    .row_compare, .bid_time {
        display: block;
    }
    .test03 .delete-bid-form {
        margin-left: 0px !important;
    }
    .reason-delete-bid {
        width: 100% !important;
    }
}

.momo {
    opacity: 0.5;
    filter: grayscale(1);
}

.damdam {
    opacity: 1;
    filter: grayscale(0);
}

.btn-dayleft {
    background-color: #df2753;
    display: flex;
    align-items: center;
    cursor: default;
    color: #fff;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: 6px 10px;
    line-height: 1.5;
    border-radius: 4px;
}

.btn-dayleft.focus, .btn-dayleft:focus, .btn-dayleft:hover {
    background-color: #d52852;
    border-color: #d52852;
    color: #fff;
}

.flex-vertical-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-title-tbmt {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.btn-sendmail-all-supplier {
    display: inline;
}
