
#table_tenders {
    border-spacing: 5px;
    margin: 20px 0px 0px 20px;
}

#table_tenders th {
    color: white;
    background-color: #6a6258;
    text-transform: uppercase;
}

#table_tenders th, #table_tenders td {
    padding: 20px;
}

#table_tenders th.name_tender {

}
#list_tenders #table_tenders tr th{
    font-family: 'Poppins-Regular' !important;
}

#table_tenders th.description_tender {
    width: 20%;
}

#table_tenders th.compulsory_date_tender {
    width: 30%;
}

#table_tenders th.closing_date_tender {
    width: 20%;
}

.back_tenders {
    margin: 20px 0px;
    display: inline-block;
}

.btn_submission {
    margin: 20px 0px;
}

.header_info {
    margin-bottom: 30px;
}

#form-submission label.error {
    color: #dbc223;
    margin: 5px 0px 0px 5px;
    font-size: 12px;
}

.links_pagination  {
    margin: 20px 0px 0px 0px;
}

#detail_tender {
    margin-top: 20px;
}

div.note_date {
    margin-top: 30px;
    border: 1px solid #a4a3a3;
    width: 100%;
    border-radius: 5px;
    padding: 15px 20px;
    padding-right: 78px;
    background: url(../images/note_date.png) 97% 30px no-repeat;
}
div.note_date.note_date_form4 {
    background: url(../images/note_date.png) 97% 15px no-repeat;
}

div.note_date span{
    display: block;
    margin: 15px 0px;
}

.header_bold {
    font-weight: bold;
    border-bottom: 1px solid #a4a3a3;
    padding-bottom: 10px;
    margin-top: 20px;
}

.policy_submit span{
    /*
    display: block;
    background: url(../images/fa_check.png)left center no-repeat;
    padding: 13px 0px 13px 67px;
    margin: 4px 0px;
    */
}

#form-submission .policy_submit .item {
    display: block;
    margin-bottom: 12px;
    position: relative;
    margin-top: 30px;
}

#form-submission .policy_submit input {
    width: 45px;
    height: 40px;
    position: absolute;
    top:0px;
    z-index: 55;
    opacity: 0;
    cursor: pointer;
}

#form-submission .policy_submit span {
    width: auto;
    height: auto;
    width: 90%;
    margin-left: 10px;
}

#form-submission .policy_submit label.error {
    position: absolute;
    top: -22px;
    left: 0px;
}

.header_top {
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    position: relative;
    font-family: 'Poppins-SemiBold';
    font-size: 15px;
    margin: 0px 0px 25px 0px;
}


.header_top::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    border-bottom: 3px solid #ddc31a;
    font-family: "Poppins-SemiBold";
}

.note_text .link {
    padding-left: 75px;
}

.tender_reference_number {
  margin-bottom: 25px;
}
.tender_reference_number span{
    font-family: Poppins-Light;
}
.note_text.t-hide  .content{
    display: none;
}

#detail_tender ul {
    list-style: none;
    padding: 0px;
}

#detail_tender ul li {
    padding-left: 30px;
    position: relative;
    background: none;
    margin: 14px 0px;

}
#detail_tender ul li::before{
    content: '';
    background-color: #dfc415;
    width: 8px;
    height: 8px;
    position: absolute;
    left: 0px;
    top: 6px;
}

#detail_tender ul.ul_confirm {
    padding-left: 75px;
    margin-top: 15px;
}
#detail_tender ul.ul_confirm li {
    padding-left: 30px;
    position: relative;
    background: none;
    margin: 14px 0px;
}

#detail_tender ul.ul_confirm li::before{
    content: '';
    background-color: #dfc415;
    width: 8px;
    height: 8px;
    position: absolute;
    left: 0px;
    top: 6px;
}


.text_header {
    margin: 30px 0px;
}
.icon_upload_right {
    position: relative;
    padding-right: 110px;
}
.icon_upload_right:before {
    content: '';
    position: absolute;
    width: 98px;
    height: 29px;
    background: url('../images/icon_upload.jpg') no-repeat;
    top: -5px;
    right: 0px;
}
#detail_tender ul.list_documents_submision {
    margin: 0px;
    padding: 0px;
}
#detail_tender ul.list_documents_submision  li {
    padding: 0px;
    background: none;
}
#detail_tender ul.list_documents_submision  li:before{
    display: none;
}

#detail_tender ul.list_documents_submision .file_item  {
    border: 1px solid #a4a3a3;
    height: 57px;
    line-height: 55px;
    font-size: 14px;
    font-family: 'Poppins-Regular';
    color: #312e2b;
}

#detail_tender ul.list_documents_submision .item {
    margin-bottom: 20px;
}

.row-no-padding > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#detail_tender ul.list_documents_submision .item label {
    padding: 0px 15px;
    font-weight: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: block;
}
#detail_tender ul.list_documents_submision .item .browse{
    width: 130px;
    background: #6a6258;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'Poppins-Semibold';
    text-align: center;
    padding:0px 10px;
    cursor: pointer;
}
#detail_tender ul.list_documents_submision .item .browse i {
    padding-right: 8px;
}
#detail_tender ul.list_documents_submision .item .remove {
    width: 130px;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'Poppins-Semibold';
    cursor: pointer;
    padding-left: 30px !important;
    border-left:1px solid #a4a3a3 ;
}
#detail_tender ul.list_documents_submision .item .remove i {
    font-size: 19px;
    float: left;
    margin-top: 16px;
    margin-right: 9px;
}
#detail_tender ul.list_documents_submision .item  .date_item {
    margin-top: 20px;
}

.wrap_add_another {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
    padding: 15px 15px;
}
table.table_addname#table_tenders {
    border: 1px solid #dddddd;
    margin: 30px 0px 0px 0px;
}
.table_addname th {
    font-weight: normal;
}
.wrap_add_another #add_another,#add_another_references {
    position: relative;
    padding-right: 40px;
    text-align: right;
    cursor: pointer;
}
.wrap_add_another #add_another::before, #add_another_references::before{
    position: absolute;
    content: '';
    width: 28px;
    height: 26px;
    background: url('../images/icon_add.jpg') no-repeat;
    top: -3px;
    right: 0px;
}
.table_addname .name_individuals {
    width: 30%;
}
.table_addname .th_interest {
    width: 15%;
}
.table_addname .ask_interest  .item{
    position: relative;
}
.table_addname .ask_interest input {
    width: 45px;
    height: 40px;
    position: absolute;
    top: 0px;
    z-index: 55;
    opacity: 0;
    cursor: pointer;
}
.table_addname .ask_interest > .item i {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 60px;
    margin: 0px;
    font-size: 15px;
    font-weight: normal;
    min-height: 50px;
    display: flex;
    align-items: center;
}
.table_addname .ask_interest > .item i::before {
    content: "";
    display: inline-block;
    width: 45px;
    height: 40px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    border: 1px solid #a4a3a3;
    background-color: #fff;
    border-radius: 4px;
    top: 50%;
    transform: translate(0,-50%);
}
.table_addname .ask_interest > .item input[type="checkbox"]:checked + i::before {
    content: "";
    text-align: center;
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: center;
    background-image: url("../images/tender_check.png");
}
tr td.closing_date {
    width: 40%;
    text-align: center;
}
.link_access_submission {
    display: block;
}
tr td.tender_name p{
    display: inline-block;
}
#list_tenders #table_tenders tr td > a.link_readmore {
    display: block;
    text-decoration: none;
}
tr td .note_email {
    width: 100%;
    display: block;
    border-top:1px solid #ddd;
    padding: 7px 0px 7px 50px;
    position: relative;
    background-image: url("../images/note_date.png");
    background-color: #fcf8e3;
    background-repeat: no-repeat;
    background-size: 30px 27px;
    background-position: 10px 20px;

}
.link_readmore {
    display: block;
}
.pad_tb {
    padding:15px 8px;
}
.date_picker {
    cursor: pointer !important;
}
.tender_expired {
    background-color: #fff8ce;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 40px 30px;
    display: block;
    position: relative;
    font-size: 23px;
    font-weight: bold;
}
.tender_expired:before{
    top: 30px;
    right: 20px;
    position: absolute;
    content: '';
    display: block;
    width: 47px;
    height: 41px;
    background-image: url("../images/note_date.png");
    background-size: cover;
}
#list_tenders #table_tenders tr td {
    padding: 0px;
}
.policy_submit > .item i {
    font-style: normal;
}
.Extent_of_interest {
    display: none;
}
.select2-selection__rendered {
    line-height: 55px !important;
}
.select2-selection {
    height: 55px !important;
    width: 100% !important;
}
.select2-selection__arrow {
    height: 100% !important;
    top: 0px !important;
    width: 40px !important;
    background-color: #6a6258;
}
.select2-selection__arrow b {
    border-width: 8px 6px 0 6px !important;
    border-color: #fff transparent transparent transparent !important;
}
.select2-selection__rendered {
    color: #666 !important;
}
.wrap_select {
    display: flex;
    flex-direction:column;
}
.wrap_select .select2 {
    order: 1;
}
.wrap_select .error {
    order: 2;
}
.table_more {
    border: 1px solid #dddddd;
    margin: 30px 0px 0px 0px;
}
.table_more .title_heading{
    color: white;
    background-color: #6a6258;
    text-transform: uppercase;
    padding: 20px;
}
.body_more {
    padding: 20px 0px;
}
.table_more .item  {
    margin-bottom: 15px;
}
.list_items {
    border-bottom: 1px solid #ddd;
    margin-bottom: 18px;
    padding: 0px 20px;
}
.list_items:last-child {
     border: none;
 }
.float-left {
    float: left;
}
@media(max-width:991px){

    #detail_tender ul.list_documents_submision .file_item {
        border: 1px solid #a4a3a3;
        height: auto;
    }
    input[name="jform[company_name_reg_no]"] {
        margin-top: 15px;
    }

    table.table_addname,.table_addname thead,.table_addname tbody,.table_addname th,.table_addname td,.table_addname tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .table_addname thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table#table_tenders.table_addname tbody tr {
        border-top: none !important;
        display: block;
        border-bottom: 1px solid #ccc !important;
    }
    table#table_tenders.table_addname tbody tr:last-child{
        border: none !important;
    }

    table#table_tenders.table_addname tbody tr td {
        /* Behave  like a "row" */
        border: none !important;
        height: auto;
        position: relative;
    }
    table#table_tenders.table_addname tbody tr:last-child td {
        border: none !important;
    }
    .table_addname td:before {
        position: relative;
        top: auto;
        left: auto;
        padding-right: 10px;
        display: block;
        white-space: pre-wrap;
        line-height: 17px;
        font-size: 14px;
        width: 100%;
        margin-bottom: 16px;
    }

    /*
    Label the data
    */
    .table_addname td:nth-of-type(1):before { content: "The names of all individuals or consortium member's linked to the Company"; }
    .table_addname td:nth-of-type(2):before { content: "Interest (Yes/No)"; top: auto; }
    /*.table_addname td:nth-of-type(3):before { content: "Extent of interest"; top: auto;  } */

    .wrap_add_another {
        border-top: 1px solid #ddd;
    }
    .icon_upload_right::before {
        top: -1px;
    }
    .ask_interest {
        width: 100px;
        position: absolute;
        top: 9px;
        left: 158px;
    }
    .tender_expired {
        padding: 33px 30px;
        font-size: 15px;
    }
    .accor-bottom .panel-heading h4 a {
        padding-right: 42px !important;
    }
    #detail_tender ul.list_documents_submision .item label {
        max-height: 105px;
        line-height: normal;
        text-overflow: inherit;
        overflow: hidden;
        white-space: initial;
        overflow-y: scroll;
    }
    .left-menu ul.nav.menu {
        width: 175px !important;
    }
    #form-submission .table_addname input {
        padding: 0 6px;
        height: 48px;
    }
    .file_item .row {
        display: flex;
        width: 100%;
        flex-direction: row;
        margin: auto;
    }
    .file_item .col-xs-8 {
        flex: 1;
        width: auto;
        padding: 0px;
        float: none;
    }
    .file_item .col-xs-4 {
        flex: 0 0 200px;
        padding: 0px;
        flex-shrink: 0;
        float: none;
    }
    #detail_tender ul.list_documents_submision .item .remove {
        padding-left: 0px !important;
        width: 96px;
        font-size: 11px
    }
    #detail_tender ul.list_documents_submision .item .browse {
        padding-left: 0px !important;
        width: 96px;
        font-size: 11px;
    }
    #detail_tender ul.list_documents_submision .item .remove i {
        font-size: 12px;
        margin-top: 14px;
        margin-right: 9px;
        margin-left: 5px;
    }
    #detail_tender ul.list_documents_submision .item .browse i {
        font-size: 11px;
        margin-left: 4px;
    }
    .lb_mb {
        margin-bottom: 10px;
        display: block;
    }
    #detail_tender ul.list_documents_submision .item .col-xs-8 label {
        font-weight: normal;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        max-width: 300px;
        display: block;
        margin-top: 10px;
    }
    #detail_tender ul.list_documents_submision .item {
        border: 1px solid #ccc;
        padding: 10px;
    }
    #detail_tender ul.list_documents_submision .file_item {
        line-height: 44px;
    }
    #form-submission .policy_submit > .item i::before {
        top: 1px;
        transform: initial;
    }
    .Extent_of_interest {
        display: block;
        margin-bottom: 20px;
    }

}
@media(max-width:576px){
    #detail_tender ul.list_documents_submision .item .col-xs-8 label {
        max-width: 150px;
    }
}

@media(max-width:360px){
    #detail_tender ul.list_documents_submision .item .col-xs-8 label {
        max-width: 100px;
    }
}
