﻿/********************** 
    ATTENTION
    MODIFY SOURCE IN Common Project
***********************/

* {
    margin: 0;
    padding: 0;
}

#page-wrap {
    margin: 50px;
}

p {
    margin: 20px 0;
}

.pagination {
    margin: 0;
}

/* Generic Styling, for Desktops/Laptops */
.line-through {
    text-decoration: line-through;
}

.cursor-pointer {
    cursor: pointer;
}

.hide-header-small {
    /*Used to show on large screens and hide on small screen*/
}

.height-50-small {
    height: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent;
    /*table-layout:fixed;*/
}

/* apply style except 1st row */
.gridDesign.gridPerrenial tr:not(:first-child) {
    border-top: 1px dotted rgb(178,178,178);
}

/* Zebra striping */
.gridDesign tr:nth-of-type(even) {
    background: white;
}

.gridDesign.gridPerrenial th {
    background: rgb(0,57,111);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.gridDesign.gridPerrenial td, .gridDesign.gridPerrenial th {
    padding: 6px;
    border: none;
    padding-bottom: 10px;
}

    .gridDesign.gridPerrenial th a {
        background-color: rgb(0,57,111);
        color: white;
    }

.max-width-300 {
    max-width: 300px;
}

.gridDesign tr:hover {
    background-color: #ccc;
}

/* apply style except 1st row */
.gridDesign-lg.gridPerrenial tr:not(:first-child) {
    border-top: 1px dotted rgb(178,178,178);
}

/* Zebra striping */
.gridDesign-lg tr:nth-of-type(even) {
    background: white;
}

.gridDesign-lg.gridPerrenial th {
    background: rgb(0,57,111);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.gridDesign-lg.gridPerrenial td, .gridDesign-lg.gridPerrenial th {
    padding: 6px;
    border: none;
    padding-bottom: 10px;
}

    .gridDesign-lg.gridPerrenial th a {
        background-color: rgb(0,57,111);
        color: white;
    }

.gridDesign-lg tr:hover {
    background-color: #ccc;
}

.ui-datepicker-trigger {
    height: 16px;
    margin-left: 5px;
}

.text-right-lg {
    /* change the text alignment from right to left when the grid is changed*/
    text-align: right;
}

.centerHeaderText {
    text-align: center !important;
}

.innerGridHeader {
    height: 20px;
    color: #FFFFFF;
    font-weight: bold;
}

.force-text-center {
    text-align: center !important;
}

/* TELERIK OVERRIDES */

.RadGrid .rgMasterTable {
    border-collapse: collapse !important;
}

.RadGrid.RadGrid_Default {
    border: 1px solid grey !important;
}

.rgMasterTable {
    /*margin-top: -1px;*/
    margin-top: 0px;
}

.rgDataDiv {
    height: auto !important;
}

.rgFooter {
    display: none;
}


/* No header column on mobile */
/* apply style except 1st row */
.gridDesignNoMobile.gridPerrenial tr:not(:first-child) {
    border-top: 1px dotted rgb(178,178,178);
}

.gridDesignNoMobile tr:nth-of-type(even) {
    background: white;
}

.gridDesignNoMobile.gridPerrenial th {
    background: rgb(0,57,111);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.gridDesignNoMobile.gridPerrenial td, .gridDesign.gridPerrenial th {
    padding: 6px;
    border: none;
    padding-bottom: 10px;
}

.gridDesignNoMobile.gridPerrenial th a {
    background-color: rgb(0,57,111);
    color: white;
}

.gridDesignNoMobile tr:hover {
    background-color: #ccc;
}



@media screen and (max-width: 1290px) {

    .height-50-small {
        height: 50px;
    }
    /* This will display the gridview vertically */

    /* Force table to not be like tables anymore */
    table, .gridDesign tbody, .gridDesign th, .gridDesign td, .gridDesign tr {
        display: block;
    }

    .gridDesign thead {
        display: none;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .gridDesign thead tr {
            position: relative;
            top: -99999px;
            left: -99999px;
        }

    .gridDesign tr {
        border: 1px solid #ccc;
    }

    .gridDesign th {
        display: none;
    }

    .gridDesign.gridPerrenial .notSortable {
        display: none;
    }

    /*.gridDesign th
    {
        display: none;
    }*/

    .gridDesign td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50% !important;
        font-size: 12px;
        text-align: left;
        /*min-height:6.5rem;*/
    }

        .gridDesign td:before {
            /* Now like a table header */
            position: absolute;
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: normal;
            text-align: left;
            font-weight: 700;
            /*text-transform:uppercase;*/
            /*font-size: 1.5rem;*/
            color: rgb(0,58,112);
            content: attr(data-column); /* This will display the value from the td data-column attribute */
        }

        .gridDesign td.extended {
            padding-left: 10px !important;
        }

            .gridDesign td.extended:before {
                width: 0% !important;
            }

    .hide-header-small {
        display: none !important;
    }


    /* No header column on mobile */
    /* Force table to not be like tables anymore */
    table, .gridDesignNoMobile tbody, .gridDesignNoMobile th, .gridDesignNoMobile td, .gridDesignNoMobile tr {
        display: block;
    }

    .gridDesignNoMobile thead {
        display: none;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .gridDesignNoMobile thead tr {
            position: relative;
            top: -99999px;
            left: -99999px;
        }

    .gridDesignNoMobile tr {
        border: 1px solid #ccc;
    }

    .gridDesignNoMobile th {
        display: none;
    }

    .gridDesignNoMobile.gridPerrenial .notSortable {
        display: none;
    }

    .gridDesignNoMobile td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 5% !important;
        font-size: 12px;
        text-align: left;
    }

        .gridDesignNoMobile td:before {
            /* Now like a table header */
            position: absolute;
            top: 6px;
            left: 6px;
            /*width: 95%;*/
            padding-right: 10px;
            white-space: normal;
            text-align: left;
            font-weight: 700;
        }

        .gridDesignNoMobile td.extended {
            padding-left: 10px !important;
        }

            .gridDesignNoMobile td.extended:before {
                width: 0% !important;
            }
}

@media screen and (max-width: 1500px) {

    /* This will display the gridview vertically */

    /* Force table to not be like tables anymore */
    .gridDesign-lg tbody, .gridDesign-lg th, .gridDesign-lg td, .gridDesign-lg tr {
        display: block;
    }

    .gridDesign-lg thead {
        display: none;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .gridDesign-lg thead tr {
            position: relative;
            top: -99999px;
            left: -99999px;
        }

    .gridDesign-lg tr {
        border: 1px solid #ccc;
    }

    .gridDesign-lg th {
        display: none;
    }

    .gridDesign-lg.gridPerrenial .notSortable {
        display: none;
    }

    /*.gridDesign-lg th
    {
        display: none;
    }*/

    .gridDesign-lg td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50% !important;
        font-size: 12px;
        text-align: left;
        /*min-height:6.5rem;*/
    }

        .gridDesign-lg td:before {
            /* Now like a table header */
            position: absolute;
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: normal;
            text-align: left;
            font-weight: 700;
            /*text-transform:uppercase;*/
            /*font-size: 1.5rem;*/
            color: rgb(0,58,112);
            content: attr(data-column); /* This will display the value from the td data-column attribute */
        }

        .gridDesign-lg td.extended {
            padding-left: 10px !important;
        }

            .gridDesign-lg td.extended:before {
                width: 0% !important;
            }

    .text-right-lg {
        /* change the text alignment from right to left when the grid is changed*/
        text-align: left;
    }
}
