﻿#mainGrid {
    direction: ltr;
}

.dp_tenderPlus_container {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #F1F1F1;
    border-radius: 2px;
}

.dp_tenderPlus_row {
    padding: 10px 0;
    width: 100%;
}

.dp_tenderPlus_thumbnail {
    width: 100px;
    height: 100px;
    border: 1px solid #B7B7B7;
    border-radius: 5px;
    padding: 3px;
    text-align: center;
    line-height: 100px;
}

.dp_tenderPlus_thumbnail img {
    width: 90px;
    height: 90px;
}

.dp_tenderPlus_mainRow {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    color: #63686B;
    font-size: 12px;
}

.dp_tenderPlus_title {
    padding: 0 10px;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.dp_tenderPlus_title:hover span:nth-child(1),
.dp_tenderPlus_title:hover span:nth-child(2) {
    color: #6464e6;
}

.dp_tenderPlus_title .dp_tenderPlus_title_new {
    display: inline-block;
    color: #E6CD70;
    width: 45px;
    height: 20px;
    background-color: #FFF6A1;
    border-radius: 5px;
    border: 1px solid #dbc675;
    text-align: center;
    line-height: 20px;
    font-size: 10px;
    margin-left: 5px;
}

.dp_tenderPlus_title span i,
.dp_tenderPlus_actions > div:not(.dp_tenderPlus_workflow) > div > span > i,
.dp_tenderPlus_actions > div:not(.dp_tenderPlus_action_menu) > span > i,
.dp_tenderPlus_dates > div > span > i {
    margin-right: 5px;
}

.dp_tenderPlus_actions div.dp_tenderPlus_action_menu div span i {
    margin-right: 0px;
}

.dp_tenderPlus_actions > div:not(.dp_tenderPlus_action_menu) {
    width: 180px;
}

.dp_tenderPlus_actions,
.dp_tenderPlus_dates {
    display: flex;
    flex-wrap: wrap;
    min-height: 45px;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.dp_tenderPlus_actions {
    margin-bottom: 10px;
}

.dp_tenderPlus_dates {
    background-color: #F3F5F4;
    border-radius: 5px;
}

.dp_tenderPlus_actions div.dp_tenderPlus_action_menu {
    position: relative;
}

.dp_tenderPlus_actions div.dp_tenderPlus_action_menu > span {
    font-size: 18px;
    cursor: pointer;
}

.dp_tenderPlus_actions div.dp_tenderPlus_workflow div.dp_tenderPlus_workflow_check > span:not(:first-child) {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}

.dp_tenderPlus_actions div.dp_tenderPlus_workflow div.dp_tenderPlus_workflow_alarm > span:not(:first-child) {
    display: inline-block;
    width: 65px;
    height: 25px;
    line-height: 25px;
    border-radius: 5px;
    text-align: center;
}

.dp_tenderPlus_actions div.dp_tenderPlus_workflow div.dp_tenderPlus_workflow_check > span:nth-child(3),
.dp_tenderPlus_actions div.dp_tenderPlus_workflow div.dp_tenderPlus_workflow_alarm > span.dp_tenderPlus_workflow_approve {
    background-color: #CDECEF;
    color: #6AB1B5;
}

.dp_tenderPlus_actions div.dp_tenderPlus_workflow div.dp_tenderPlus_workflow_check > span:nth-child(2),
.dp_tenderPlus_actions div.dp_tenderPlus_workflow div.dp_tenderPlus_workflow_alarm > span.dp_tenderPlus_workflow_reject {
    background-color: #F6D7D5;
    color: #C36158;
}



.dp_tenderPlus_actions_box {
    position: absolute;
    width: 140px;
    height: auto;
    border: 1px solid #ccc;
    top: 17px;
    left: -120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    align-items: center;
    box-shadow: 1px 0 15px #ccc;
    border-radius: 5px;
    z-index: 999;
}

.dp_tenderPlus_actions_box span,
.dp_tenderPlus_actions_box a {
    display: flex;
    align-items: center;
    width: 90%;
    justify-content: space-between;
    height: 25px;
    line-height: 25px;
    cursor: pointer;
    padding: 3px 0px;
    transition: color 0.2s ease-in-out;
}

.dp_tenderPlus_actions_box a {
    color: unset;
    font-family: 'IranSansNum';
}

.dp_tenderPlus_actions_box span:not(:last-child),
.dp_tenderPlus_actions_box a {
    border-bottom: 1px solid #efefef;
}

.dp_tenderPlus_actions_box span.dp_tenderPlus_reportGrid:hover {
    color: #5fc2e2;
}

.dp_tenderPlus_actions_box a.dp_tenderPlus_action_edit:hover {
    color: #209096;
}

.dp_tenderPlus_actions_box span.dp_tenderPlus_action_delete:hover {
    color: #fb6363;
}

.dp_tenderPlus_actions_box span.dp_tenderPlus_action_refresh:hover {
    color: #b59212;
}


/********************************/
/* TOOLTIP */
/********************************/

.dp_tenderPlus_tooltip {
    position: relative;
    display: inline-block;
}

.dp_tenderPlus_tooltip .dp_tenderPlus_tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -60px;
}

.dp_tenderPlus_tooltip .dp_tenderPlus_tooltiptext:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.dp_tenderPlus_tooltip:hover .dp_tenderPlus_tooltiptext {
    visibility: visible;
}

/********************************/
/* MODAL REPORT */
/********************************/
.dp_tenderPlus_reportModal {
    display: none;
    position: fixed;
    z-index: 30000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.dp_tenderPlus_modal_content {
    background-color: #fefefe;
    margin: 3% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 5px;
}

.dp_tenderPlus_modal_header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 2px solid #F1F1F1;
    border-radius: 2px;
}

.dp_tenderPlus_modal_close {
    font-size: 30px;
    color: #5AA9AD;
    cursor: pointer;
    transition: color 0.1s ease-in-out;
}

.dp_tenderPlus_modal_close:hover {
    color: #2c6c6f;
}

.dp_tenderPlus_modal_title span:nth-child(2) {
    color: #707070;
    font-size: 15px;
}

.dp_tenderPlus_modal_title span:nth-child(1) {
    color: #5AA9AD;
    vertical-align: middle;
    font-size: 25px;
}

.dp_tenderPlus_modal_grid {
    margin-top: 20px;
}

/*===== grids not found alert =====*/
.dp-gridNotFound {
    border: 2px dashed #ffcb08;
    background-color: #23262D;
    color: #ffcb08;
    font-family: iranSansNum,regular,sans-serif;
    font-size: 16px;
    padding: 10px;
    width: 90%;
    margin: 10px auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/********************************/
/* JSGRID */
/********************************/
/*.jsgrid-grid-body {
    overflow-y: unset !important;
}

.jsgrid-grid-header {
    overflow-y: unset !important;
}

.jsgrid-pager {
    margin: 15px 0;
    display: inline-block;
    width: auto;
    clear: both;
    float: none;
    font-family: IranSansNum,regular,sans-serif;
    font-size: 14px;
    line-height: 28px;
}

.jsgrid-pager span {
    line-height: 19px;
    float: right;
    height: 30px;
    margin: 0 2px;
    border: solid 1px #999999;
    color: #23262D !important;
    background-color: #f7f7f7;
    -webkit-transition: ease 0.4s;
    -moz-transition: ease 0.4s;
    -ms-transition: ease 0.4s;
    -o-transition: ease 0.4s;
    transition: ease 0.4s;
}

.jsgrid-pager span a {
    color: #23262D !important;
    -webkit-transition: ease 0.4s;
    -moz-transition: ease 0.4s;
    -ms-transition: ease 0.4s;
    -o-transition: ease 0.4s;
    transition: ease 0.4s;
}

.jsgrid-pager span:hover {
    color: #ffcb08 !important;
    background-color: #23262D !important;
    border-color: #23262D;
}

.jsgrid-pager span:hover a {
    color: #ffcb08 !important;
}

.jsgrid-pager span.jsgrid-pager-page.jsgrid-pager-current-page {
    border-color: #23262D !important;
    background-color: #23262D !important;
    color: #ffcb08 !important;
    line-height: 24px;
}

.jsgrid-pager span.jsgrid-pager-nav-button i {
    vertical-align: bottom !important;
}*/


.jsgrid {
    overflow-x: auto !important;
}

.jsgrid-edit-row > .jsgrid-cell,
.jsgrid-filter-row > .jsgrid-cell,
.jsgrid-grid-body,
.jsgrid-grid-header,
.jsgrid-header-row > .jsgrid-header-cell,
.jsgrid-insert-row > .jsgrid-cell {
    border: solid 1px #eee !important;
}

.jsgrid-grid-header, .jsgrid-grid-body {
    overflow-y: auto !important;
}

.jsgrid-table .jsgrid-cell {
    color: #303338;
}

.jsgrid-table .jsgrid-cell input[type="text"], .jsgrid-table .jsgrid-cell input[type="number"] {
    border: solid 1px #EDEDED;
}

.jsgrid-table .jsgrid-cell .ui.checkbox {
    margin-right: -10px;
}

.jsgrid-header-row th {
    font-weight: bold;
    text-align: center;
    color: #23262D;
}

.jsgrid-pager {
    margin: 15px 0;
    font-family: iranSans,regular,sans-serif;
    font-size: 14px;
}

.jsgrid-pager span {
    border: solid 1px #999999;
    color: #23262D !important;
    background-color: #f7f7f7;
    -webkit-transition: ease 0.4s;
    -moz-transition: ease 0.4s;
    -ms-transition: ease 0.4s;
    -o-transition: ease 0.4s;
    transition: ease 0.4s;
}

.jsgrid-pager span a {
    color: #23262D !important;
    -webkit-transition: ease 0.4s;
    -moz-transition: ease 0.4s;
    -ms-transition: ease 0.4s;
    -o-transition: ease 0.4s;
    transition: ease 0.4s;
}

.jsgrid-pager span:hover {
    color: #ffcb08 !important;
    background-color: #23262D !important;
    border-color: #23262D;
}

.jsgrid-pager span:hover a {
    color: #ffcb08 !important;
}

.jsgrid-pager span.jsgrid-pager-page.jsgrid-pager-current-page {
    border-color: #23262D !important;
    background-color: #23262D !important;
    color: #ffcb08 !important;
}

.jsgrid-pager .jsgrid-pager-nav-button i.fa {
    display: inline-block;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.jsgrid-button {
    margin: 0 5px !important;
}

/********************************/
/* ARCHIVE BOX */
/********************************/
.dp_tenderPlus_archiveBox {
    direction: ltr;
    width: 100%;
    height: 40px;
    margin-top: 20px;
    background-color: #F3F5F4;
    border-radius: 5px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 10px;
    color: #8C9091;
    cursor: pointer;
}

.dp_tenderPlus_archiveBox span:nth-child(1) {
    margin-right: 5px;
    font-size: 18px;
}

.dp_tenderPlus_noData_archive {
    color: #ff3131;
}

/********************************/
/* ARCHIVE YEARS */
/********************************/
#archiveGrid {
    font-family: 'IranSansNum';
}

#archiveGrid .dp_tenderPlus_archives {
    cursor: pointer;
    margin-top: 10px;
    width: max-content;
}

#archiveGrid .dp_tenderPlus_archives:hover {
    color: blue;
    border-bottom: 1px solid blue;
}

#archiveGrid .dp_tenderPlus_return {
    margin-top: 20px;
    background-color: #fec907;
    border: none;
    cursor: pointer;
    width: 65px;
    height: 30px;
    border-radius: 5px;
    color: #fff;
    transition: all .2s ease-in-out;
}

#archiveGrid .dp_tenderPlus_return:hover {
    background-color: #333;
    color: #fec907;
}


/********************************/
/* PAGINATION */
/********************************/
.pagination__controls {
    direction: ltr;
    width: 100%;
    margin: 10px auto;
    display: flex;
    justify-content: flex-end;
}

.pagination__controls ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

.pagination__controls ul li {
    min-width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    padding: 0px 2px;
    box-shadow: 0px 0px 8px rgba(106, 203, 210,0.3);
    border-radius: 5px;
    font-size: 13px;
    margin: 5px;
}

.pagination__controls ul li:hover {
    background-color: #C9EBEC;
}

.pagination__controls ul li a {
    font-family: initial;
    display: inline-block;
    min-width: 25px;
    height: 25px;
    color: #1DBAC3;
    text-decoration: none;
    cursor: pointer;
}

.dp_tenderPlus_active {
    background-color: #1DBAC3;
}

.dp_tenderPlus_active a {
    color: #fff !important;
}

#dp_tenderPlus_paginationBox {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    flex-wrap: wrap;
}

.drt-custom-pageIndex {
    /*position: absolute;
    bottom: 18px;
    left: 340px;
    display: none;*/
    display: flex;
    height: 35px;
    width: 150px;
    align-items: center;
}

.drt-custom-pageIndex span {
    margin-right: 8px;
}

.drt-button-change-pageIndex {
    display: flex;
}

.drt-custom-pageIndex input {
    width: 33px;
    height: 26px;
    outline: none;
    border: 1px solid #1DBAC3;
    line-height: 27px;
    text-align: center;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.drt-custom-pageIndex button {
    background: none;
    border: none;
    background-color: #1DBAC3;
    min-width: 30px;
    height: 30px;
    color: #fff;
    outline: none;
    cursor: pointer;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

/********************************/
/* SKELETON */
/********************************/
.skeleton-wrapper {
    display: flex;
    width: 100%;
    margin: 10px auto;
}

.skeleton-wrapper > div {
    width: 100%;
}

.change-dir.skeleton-circle-line::before,
.change-dir.skeleton-circle-line::after {
    transform: rotate(180deg);
}

.drt-icons-text {
    display: flex;
    width: 100%;
    margin: 0 auto;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 10px;
}

hr {
    margin: 3px 0px;
}

/* ****************************** */
/* ****************************** */
/* ****************************** */
/* ****************************** */
/* MEDIA QUERY STYLES */
/* ****************************** */
/* ****************************** */
/* ****************************** */
/* ****************************** */

@media (max-width: 768px) {
    .dp_tenderPlus_mainRow {
        flex-wrap: wrap;
        justify-content: center;
    }

    .dp_tenderPlus_mainRow {
        width: 100%;
        margin-top: 15px;
    }

    .dp_tenderPlus_title {
        text-align: center;
    }

    .dp_tenderPlus_actions,
    .dp_tenderPlus_dates {
        height: auto;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .dp_tenderPlus_action_menu {
        margin-top: 10px;
    }

    .dp_tenderPlus_thumbnail {
        width: 80px;
        height: 80px;
        line-height: 80px;
    }

    .dp_tenderPlus_thumbnail img {
        width: 75px;
        height: 75px;
    }
}
