@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');
body *{
    font-family: "Cairo", sans-serif !important;
}
.tenders .swiper-button-next::after,
.tenders .swiper-button-prev::after {
    rotate: 180deg;
}

.contactUs .container .reachUs ul a,
.contactUs .container .reachUs ul span {
    text-align: right;
}

.companyInfo .container .formRegister .containerInput input,
.companyInfo .container .formRegister .containerInput .nice-select {
    text-align: right;
    padding-right: 18px;
    padding-left: 30px;
}

.nice-select:after {
    right: initial;
    left: 23px;
}

nav .container .containerOptions div:not(.login):not(.companyProfile) button::before {
    right: initial;
    left: -16px;
}

@media (max-width: 558px) {
    nav .container .containerOptions div:not(.login):not(.companyProfile) button::before {
        right: initial;
        left: -8px;

    }
}

.nice-select .option {
    padding-left: 34px;
    padding-right: 18px;
    text-align: right;
}

.companyInfo .container .formRegister .containerInput .parentInput img {
    right: initial;
    left: 14px;
}
@media(min-width:1450px){
    html[dir="rtl"] nav .container .containerList .listLink>li:not(:nth-last-child(2))>a::before{
    right: initial;
    left: -16px;
    }
}
@media (max-width: 1450px) {
    nav .container .containerList .listLink>li:not(:nth-last-child(2))>a::before {
        position: absolute;
        background-color: var(--main-yellow);
        content: "";
        width: 100px;
        height: 1px;
        right: initial;
        left: 50%;
        transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -moz-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        bottom: 0px;
        top: initial;
    }
}

table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
    text-align: right !important;
}

table thead>tr>th:first-child {
    -webkit-border-radius: 0 10px 10px 0;
    -moz-border-radius: 0 10px 10px 0;
    -ms-border-radius: 0 10px 10px 0;
    -o-border-radius: 0 10px 10px 0;
    border-radius: 0 10px 10px 0;
}

table.dataTable>thead>tr>th:last-child,
table.dataTable>thead>tr>th:not(.dtr-hidden):has(+.dtr-hidden) {
    -webkit-border-radius: 10px 0 0 10px;
    -moz-border-radius: 10px 0 0 10px;
    -ms-border-radius: 10px 0 0 10px;
    -o-border-radius: 10px 0 0 10px;
    border-radius: 10px 0 0 10px;
}

table.dataTable>tbody>tr:first-child>td:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 10px;
}

table.dataTable>tbody>tr:first-child>td:not(.dtr-hidden):last-of-type,
table.dataTable>tbody>tr:first-child>td:has(+.dtr-hidden):not(.dtr-hidden) {
    border-top-left-radius: 10px;
    border-top-right-radius: 0 !important;
}

table.dataTable>tbody>tr:last-child>td:first-child {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 0;
}

table.dataTable>tbody>tr:last-child>td:not(.dtr-hidden):last-of-type,
table.dataTable>tbody>tr:last-child>td:has(+.dtr-hidden):not(.dtr-hidden) {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 0;
}

.headerTenders .container .searchForm input,
.headerTenders .container .searchForm .nice-select {
    padding: 10px 34px 10px 64px;
}

.headerTenders .container .searchForm .nice-select::after {
    right: initial;
    left: 34px;
}

.headerTenders .container .searchForm input {
    background: url(../images/search2.svg) no-repeat 28px center;
}

.containerOptions .search .searchForm {
    right: initial;
    left: 0;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    border-left: 0 solid var(--text-yellow);
    border-right: 10px solid var(--text-yellow);
    margin-left: 0.5em;
    margin-right: 0;
}

table.dataTable>tbody>tr:first-child>td:not(.dtr-hidden):last-of-type,
table.dataTable>tbody>tr:first-child>td:has(+.dtr-hidden):not(.dtr-hidden) {
    border-top-right-radius: 10px !important;
    border-top-left-radius: 0 !important;
}

table.dataTable>tbody>tr:first-child>td:not(.dtr-hidden):last-of-type,
table.dataTable>tbody>tr:first-child>td:not(.dtr-hidden):has(+.dtr-hidden):not(.serial:not(:has(+.dtr-hidden+.dtr-hidden))) {
    border-top-right-radius: 0 !important;
    border-top-left-radius: 10px !important;
}

table.dataTable>thead>tr>th:last-child,
table.dataTable>thead>tr>th:not(.dtr-hidden):has(+.dtr-hidden) {
    border-radius: 0 10px 10px 0;
    -webkit-border-radius: 0 10px 10px 0;
    -moz-border-radius: 0 10px 10px 0;
    -ms-border-radius: 0 10px 10px 0;
    -o-border-radius: 0 10px 10px 0;
}

table.dataTable>thead>tr>th:last-child,
table.dataTable>thead>tr>th:not(.dtr-hidden):has(+.dtr-hidden):not(.serial:not(:has(+.dtr-hidden+.dtr-hidden))) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
table.dataTable>tbody>tr:last-child>td:not(.dtr-hidden):last-of-type, table.dataTable>tbody>tr:last-child>td:has(+.dtr-hidden):not(.dtr-hidden){
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 0;
}


table.dataTable>tbody>tr:last-child>td:not(.dtr-hidden):last-of-type, table.dataTable>tbody>tr:last-child>td:not(.dtr-hidden):has(+.dtr-hidden):not(.serial:not(:has(+.dtr-hidden+.dtr-hidden))){
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 0;
}
.custom-table {
    .group-info {
        .row-head {
            .head-item {

                &:last-of-type {
                    border-top-left-radius: 16.57px;
                    border-bottom-left-radius: 16.57px;
                    border-top-right-radius: 0 !important;
                    border-bottom-right-radius: 0 0 !important;

                }

                &:first-of-type {
                    border-top-right-radius: 16.57px;
                    border-bottom-right-radius: 16.57px;
                    border-top-left-radius: 0 0 !important;
                    border-bottom-left-radius: 0 0 !important;
                }

                &:not(:first-of-type) {
                    border-right: 0;
                }

                &:not(:last-of-type) {

                    border-left: 0;
                }

                &:first-of-type {
                    border-right: 1.12px dotted #A29060;
                }

                &:last-of-type {
                    border-left: 1.12px dotted #A29060;
                }

                @media (max-width:1200px) {

                    &:not(:first-of-type),
                    &:not(:last-of-type) {
                        border: none;
                    }
                }
            }
        }
    }
}

.form-control.is-valid, .was-validated .form-control:valid{
    background-position: left;
    padding-right: 30px;
}