﻿/*------------- ui-Grid ---------- Start*/

.ui-grid, .ui-grid-viewport {
    /* height: auto !important;
    min-height: 60vh;*/
    min-width: 700px;
    height: 600px;
}


.ui-grid-row, .ui-grid-cell, .ui-grid-cell .ui-grid-vertical-bar {
    height: 35px !important;
}



.ui-grid-header-cell-row {
    flex-wrap: nowrap !important;
}


.ui-grid-cell {
    overflow: visible;
    float: left;
    background-color: inherit;
    box-sizing: border-box;
    border: none;
}

.ui-grid-row:first-child .ui-grid-cell {
    border-top: none;
}

.ui-grid-row:first-child {
    border-top: none !important;
    margin-top: -1px;
}


.ui-grid-icon-button {
    color: white;
}

.ui-grid-column-menu-button {
    right: 5px;
}


.scrollbar-macosx > .scroll-element .scroll-bar {
    background-color: #dee2e6 !important;
}

.ui-grid-render-container-middle .scroll-y,
.ui-grid-render-container-left .scroll-y {
    display: none !important;
}

.ui-grid-render-container-middle:hover + .ui-grid-pinned-container-right .scroll-bar {
    opacity: 0.7 !important;
}

.placeholder {
    height: 50%;
    width: 50%;
    border: 3px solid black;
    background: #ccc;
}

select.ui-grid-filter-select {
    height: 25px;
    border-radius: 2px;
    border: none;
}

input[type="text"].ui-grid-filter-input {
    border: none;
    border-radius: 2px;
}

    input[type="text"].ui-grid-filter-input:hover {
        border: none;
    }

select.ui-grid-filter-select:hover {
    border: none;
}

.scrollFiller {
    float: left;
    border-color: transparent !important;
    margin-top: -2px;
}

.ui-grid-pager-row-count-picker .ui-grid-pager-row-count-label {
    color: white;
}

.ui-grid-pager-count-container .ui-grid-pager-count {
    color: #bbb
}


/*------------- ui-Grid ---------- End*/

/*Other wrapper*/
#gridStyle {
    margin: 15px !important;
    padding: 0px !important;
}

    #gridStyle .ui-grid-cell {
        /*color: #fff;*/
    }

    #gridStyle .AdminGrid {
        background-color: #808285 !important;
    }
/*-------------------Gate styles------------start------------*/
#gateWrapper {
    padding: 0px !important;
}

#gateStyle {
    margin: 15px !important;
    padding: 0px !important;
}

    #gateStyle .dot {
        height: 10px;
        width: 10px;
        border-radius: 50%;
        display: inline-block;
    }

        #gateStyle .dot.category-A {
            background-color: limegreen;
        }

        #gateStyle .dot.category-B {
            background-color: orange;
        }

        #gateStyle .dot.category-C {
            background-color: orangered;
        }
    /*--------------------Nav tabs---------------------*/

    #gateStyle .nav-tabs {
        margin-left: -3px !important;
        margin-right: -3px !important;
    }

        #gateStyle .nav-tabs .nav-link {
            font-size: 16px;
            font-weight: 600;
            border-color: #d4d4d4;
            background-color: #eee;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

            #gateStyle .nav-tabs .nav-link:hover {
                background-color: #AC2224;
                color: #fff;
            }

            #gateStyle .nav-tabs .nav-link .active {
                border-bottom: none;
            }

    #gateStyle li[heading="Lite Projects"] a {
        color: #801919;
    }

    #gateStyle li[heading="Gate 1"] a {
        color: #801919;
    }

    #gateStyle li[heading="Gate 2"] a {
        color: #AC2224;
    }

    #gateStyle li[heading="Gate 3"] a {
        color: #CF2729;
    }

    #gateStyle li[heading="Gate 4"] a {
        color: #F15B40;
    }

    #gateStyle li[heading="Closed"] a {
        color: #d7ccb8;
    }

    #gateStyle li[heading="Comment"] a {
        color: #d7ccb8 !important;
    }
    #gateStyle li[heading="Summary"] a {
        color: #808285;
    }
    #gateStyle li[heading="Submitted Tenders"] a {
        color: #F15B40;
    }
    #gateStyle li[heading="Won/Lost"] a {
        color: #A58F81;
    }

    #gateStyle li[heading="Lite Projects"] .nav-link:hover {
        background-color: #801919;
    }

    #gateStyle li[heading="Gate 1"] .nav-link:hover {
        background-color: #801919;
    }

    #gateStyle li[heading="Gate 2"] .nav-link:hover {
        background-color: #AC2224;
    }

    #gateStyle li[heading="Gate 3"] .nav-link:hover {
        background-color: #CF2729;
    }

    #gateStyle li[heading="Gate 4"] .nav-link:hover {
        background-color: #F15B40;
    }

    #gateStyle li[heading="Closed"] .nav-link:hover {
        background-color: #a58f81;
    }

    #gateStyle li[heading="Comment"] .nav-link:hover {
        color: #fff !important;
        background-color: #d7ccb8 !important;
    }

    #gateStyle li[heading="Summary"] .nav-link:hover {
        background-color: #A58F81;
    }

    #gateStyle .G1 .nav-tabs .active a {
        color: #fff;
        background-color: #801919 !important;
        border-bottom: none;
    }

    #gateStyle .G2 .nav-tabs .active a {
        color: #fff;
        background-color: #AC2224 !important;
        border-bottom: none;
    }


    #gateStyle .G3 .nav-tabs .active a {
        color: #fff;
        background-color: #CF2729 !important;
        border-bottom: none;
    }

    #gateStyle .G4 .nav-tabs .active a {
        color: #fff;
        background-color: #F15B40 !important;
        border-bottom: none;
    }

    #gateStyle .Closed .nav-tabs .active a {
        color: #fff;
        background-color: #A58F81 !important;
	border-bottom: none;
    }

    #gateStyle .Comment .nav-tabs .active a {
        color: #fff !important;
        background-color: #d7ccb8 !important;
        border-bottom: none;
    }

    #gateStyle .GQ .nav-tabs .active a {
        color: #fff;
        background-color: #801919 !important;
        border-bottom: none;
    }

    #gateStyle .QClosed .nav-tabs .active a {
        color: #fff;
        background-color: #A58F81 !important;
        border-bottom: none;
    }

    #gateStyle .expandableRow {
        margin-top: -1px !important;
        border-bottom: 2px solid #808285;
    }


    #gateStyle .ui-grid-menu-button {
        border: none;
        font-size: 1.5em;
    }


/*-------------------Gate styles------------end--------------*/

/*-------------------DSR styles------------start------------*/
#gridWrapper {
    padding: 0px !important;
}

#gridStyle {
    margin: 15px !important;
    padding: 0px !important;
    background-color: #f3f3f3 !important;
}

    #gridStyle .dsr .ui-grid {
        border-top: 2px solid #dee2e6;
        border-bottom: none;
        border-left: none;
        border-right: none;
    }


    #gridStyle .dsr .ui-grid-header {
        border-bottom: 2px solid #dee2e6;
    }

    #gridStyle .dsr .ui-grid-header-cell {
        border-color: #dee2e6 !important;
    }

    #gridStyle .dsr .ui-grid-render-container-body .ui-grid-header-canvas {
        border-left: 2px solid #dee2e6 !important;
    }

    #gridStyle .dsr .ui-grid-cell {
        padding: 2px !important;
        border-left: 2px solid #dee2e6 !important;
        border-bottom: 1px solid #dee2e6 !important;
        border-top: 1px solid #dee2e6 !important;
        border-right: none;
    }

    #gridStyle .dsr .ui-grid-row .ui-grid-cell:last-child {
        border-right: 2px solid #dee2e6;
    }

    #gridStyle .dsr .ui-grid-row:last-child .ui-grid-cell {
        border-left: 2px solid #dee2e6 !important;
        border-bottom: 2px solid #dee2e6 !important;
    }

    #gridStyle .dsr .ui-grid-row:nth-child(2n) .ui-grid-cell {
        background-color: #f3f3f3;
    }

    #gridStyle .dsr .ui-grid-row:nth-child(2n+1) .ui-grid-cell {
        background-color: #fff !important;
    }

    #gridStyle .dsr .ui-grid-top-panel {
        background-color: #343940;
        color: #fff;
    }

    #gridStyle .dsr .ui-grid-menu-button {
        background: #343940;
        border: none;
        color: #fff;
        font-size: 1.5em;
    }
/*-------------------DSR styles------------end------------*/

#forms-grid .ui-grid {
    height: 550px;
}

    #forms-grid .ui-grid input[type="text"].ui-grid-filter-input {
        border: 1px solid #eeee;
    }
