body {
    overflow: visible;
}

ol, ul {
    padding-left: 0;
}

#rsap_page {
    width: 100%;
    max-width: 930px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 15px 20px 15px;
}

#rsap_table {
    display: none;
}

#rsap-list {
    width: 100%;
    padding: 0;
}

#rsap-list li {
    width: 100%;
    list-style: none;
    background-color: #fff;
    border-radius: .3em;
    /*box-shadow: rgb(0 0 0 / 20%) 0 2px 8px;*/
    /*-webkit-box-shadow: 0px 6px 21px 3px rgb(0 0 0 / 10%);*/
    /*box-shadow: 0px 6px 21px 3px rgb(0 0 0 / 10%);*/
    /* padding: 30px; */
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0.2rem 0.3rem 1.7rem 0 rgb(0 0 0 / 13%);
    box-shadow: 0.2rem 0.3rem 1.7rem 0 rgb(0 0 0 / 13%);
}

#rsap_table_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    flex-flow: column;
    /*width: 100%;*/
    /*max-width: 930px;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    /*padding: 15px 15px 20px 15px;*/
}

#rsap_table_wrapper .bottom .ellipsis {
    margin-left: 5px;
}

.tender_listing li p {
    margin: 5px 0;
}

#rsap_table_wrapper .top {
    position: sticky;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    align-items: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    margin: 14px 0 25px 0;
    padding: 14px 16px;
    background-color: #ececec;
    -webkit-box-shadow: 0 0 4px 1px rgb(0 0 0 / 19%);
    box-shadow: 0 0 4px 1px rgb(0 0 0 / 19%);
    font-size: 16px;
}

#rsap_table_wrapper .dataTables_info {
    padding-top: 0;
}

.tender_entity {
    margin-bottom: 1.5em;
}

#rsap-list li:hover,
#rsap-list li:focus,
#rsap-list li:active {
    box-shadow: 0 6px 21px 3px rgb(0 0 0 / 8%);
    /*background: #fff;*/
    /*border-color: transparent;*/
}

.entity_header {
}

.entity_header .header-flex {
    position: sticky;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    /*margin: 15px 0 0;*/
    padding: 14px 16px;
    background-color: #efefef;
    font-size: 16px;
}

.modifiedDate .modifiedDate_text {
    color: #787878;
    font-size: 15px;
}

.modifiedDate .modifiedDate_data {
    font-size: 15px;
    font-weight: 600;
}

.entity_data {
    display: flex;
    width: 100%;
    list-style: none;
    text-align: unset;
    padding: .6em;
}

.entity_description {
    width: 100%;
    border-right: 1px solid #d2d2d2;
    padding-right: 1.2em;
    max-width: 50%;
    padding-left: 0.2em;
}

.entity_description .description_title,
.entity_description .description {
    text-align: justify;
    text-justify: inter-word;
}

.entity_description .description_title a {
    display: block;
    line-height: 24px;
    font-weight: 600;
    font-size: 14px;
    color: #000;
    text-transform: none;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
    text-decoration: none;
}

.entity_description .description_title a:hover {
    color: #4086dd;
    text-decoration: none;
}

.entity_description .description {
    margin-top: 5px;
    line-height: 1.6;
    color: #333333;
    font-size: 12px;
}

.entity_amount {
    width: 27%;
    padding: 0 12px;
}

.entity_amount .currency .currency_info {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 6px;
    font-size: 11px;
    color: #787878;
}

.entity_amount .amount {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: self-start;
    -ms-flex-align: self-start;
    align-items: self-start;
    font-weight: 600;
    font-size: 22px;
}

.entity_procedure {
    width: 26%;
    border-left: 1px solid #d2d2d2;
    /*padding: 0 10px;*/
    padding-left: 10px;
}

.entity_procedure .procedure_title {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 3px;
    font-size: 11px;
    color: #787878;
}

.entity_procedure .procedure_info {
    display: flex;
    justify-content: flex-start;
    line-height: 1.5;
    font-size: 12px;
    color: #000;
}

/*Pagination STISC*/
.dataTables_wrapper .dataTables_paginate .paginate_button {
    display: inline-block;
    padding: 5px 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    margin-left: 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background-color: #eeeeee;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    text-decoration: none;
    background-color: #eeeeee;
}

.post-search-panel {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    background-color: #ececec;
    -webkit-box-shadow: 0 0 4px 1px rgb(0 0 0 / 19%);
    box-shadow: 0 0 4px 1px rgb(0 0 0 / 19%);
    padding: 14px 16px;
}

#searchInput_title,
#searchInput_a_from,
#searchInput_a_to {
    /*border: none;*/
    outline: 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .01em;
    padding: 5px 10px;
    width: 100%;
    /*background-color: #e2e7ea;*/
    border-radius: 3px;
    height: 39px;
    /*margin: 0 20px;*/
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#searchInput_title::-webkit-input-placeholder,
#searchInput_a_from::-webkit-input-placeholder,
#searchInput_a_to::-webkit-input-placeholder {
    color: #999;
}

#searchInput_title {
    max-width: 300px;
}

#searchInput_a_from {
    max-width: 110px;
}

#searchInput_a_to {
    max-width: 110px;
}

.post-search-panel input,
.post-search-panel label {
    display: block;
}

.post-search-panel input:focus {
    outline: none !important;
    box-shadow: 0 0 10px #97989a;
}

.select2-container {
    font-size: 16px !important;
}

.select2-container .select2-selection--single {
    height: 38px !important;
}

.select2-container--default .select2-selection--single {
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 15px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 0 !important;
    margin-left: 5px;
}

.select2-container--default .select2-results > .select2-results__options {
    font-size: 14px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 15px;
}

.select2-container .select2-container--default .select2-container--open {
    left: 987.328px !important;
}

.select2-container .select2-container--default .select2-container--open {

}

.search_a_to {
    display: flex;
}

#searchInput_a_from {
    margin-right: 15px;
}

#searchInput_a_to {
    margin-left: 15px;
}

.searchInput_title_label,
.searchInput_a_from_label {
    font-size: 17px;
}

#sortBy {
    height: 39px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 190px;
}

/*Status icon*/
.entity_status,
.modifiedDate {
    display: -webkit-box;
    /*display: -ms-flexbox;*/
    /*display: flex;*/
    /*-webkit-box-align: center;*/
    /*-ms-flex-align: center;*/
    /*align-items: center;*/
}

.entity_icon {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: inline-block;
    position: relative;
    margin-right: 10px;
    margin-top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.entity_status .status_clarification {
    background-color: #97ca63;
}

.entity_status .status_awarding {
    background-color: #ff7900;
}

.entity_status .status_unsuccessful {
    background-color: #d1d1d1;
}

.entity_status .status_cancelled {
    background-color: #d1d1d1;
}

.entity_status .status_complete {
    background-color: #d1d1d1;
}

.entity_status .status_awarded {
    background-color: #97ca63;
}

.entity_status .status_published {
    background-color: #d1d1d1;
}

.entity_status .status_tendering {
    background-color: #97ca63;
}

.entity_status .status_auction {
    background-color: #ff7900;
}

.entity_status .status_suspended {
    background-color: #d1d1d1;
}

.entity_status .status_awarding:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: #2daae2;
}

.entity_status .status_tendering:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: #235aa6;
}

.entity_status .status_awarded:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: #2daae2;
}

.entity_status .status-suspended:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: #97ca63;
}

.entity_status .status_complete:before,
.entity_status .status_complete:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    width: 8px;
    height: 2px;
    background-color: #9e9e9e;
}

.entity_status .status_complete:before {
    left: 38%;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

.entity_status .status_complete:after {
    left: 62%;
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}


.entity_status .status_cancelled:before,
.entity_status .status_cancelled:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 2px;
    background-color: #9e9e9e;
}

.entity_status .status_cancelled:before {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

.entity_status .status_cancelled:after {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.entity_status .status_unsuccessful:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 2px;
    background-color: #9e9e9e;
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media only screen and (max-width: 768px) {
    .entity_data {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .entity_description {
        max-width: none;
        border: none;
    }

    .entity_description .description {
        margin-bottom: 25px;
    }

    .entity_amount .currency .currency_info {
        margin: 0;
    }

    .entity_amount {
        width: 100%;
        margin-bottom: 0;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .entity_amount .currency,
    .entity_amount .amount {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .entity_amount .amount {
        font-size: 26px !important;
    }

    .entity_procedure {
        width: 100%;
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        border: none;
    }

    .entity_procedure .procedureType .procedure_title,
    .entity_procedure .entityId .procedure_title {
        justify-content: center;
    }

    .entity_procedure .procedureType,
    .entity_procedure .procedureType {
        padding: 2% 0;
    }

    #rsap_table_paginate > span {
        display: block;
        padding: 4% 0;
    }

    #rsap_table_paginate .ellipsis {
        display: none;
    }
}

@media only screen and (max-width: 620px) {
    #rsap_page .post-search-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    #rsap_page .post-search-panel .search_amount {
        padding: 2% 0;
    }

    #rsap_page #sortBy {
        display: block;
        width: 100%;
        max-width: 230px;
    }
}

@media only screen and (max-width: 600px) {
    #rsap_table_wrapper .top {
        flex-flow: column;
    }

    #rsap_table_wrapper .top .dataTables_info {
        margin: 2% 0;
    }

    .entity_header .header-flex {
        flex-direction: column;
    }

    .entity_header .header-flex .entity_status {
        margin-bottom: 3%;
    }
}