﻿* {
    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;
}

table {
    width: 100%;
    border-collapse: collapse;
}

/* Zebra striping */
.gridDesign tr:nth-of-type(odd) {
    background: #eee;
}

.gridDesign th {
    background: #c1c1c1;
    color: black;
    font-weight: bold;
}

.gridDesign td, .gridDesign th {
    padding: 6px;
    border: 1px solid #ccc;
    /*text-align: center;*/
}

.gridDesign 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;
}

@media screen and (max-width: 1024px) {
    /* This will display the gridview vertically */

    /* Force table to not be like tables anymore */
    table, .gridDesign tbody, .gridDesign th, .gridDesign td, .gridDesign tr,
    .gridCampaign tbody, .gridCampaign th, .gridCampaign td, .gridCampaign tr {
        display: block;
    }

    .gridDesign thead, .gridCampaign thead {
        display: none;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .gridDesign thead tr, .gridCampaign thead tr {
            position: relative;
            top: -99999px;
            left: -99999px;
        }

    .gridDesign tr, .gridCampaign tr {
        border: 1px solid #ccc;
    }

    .gridDesign th, .gridCampaign th {
        display: none;
    }

    .gridDesign .notSortable, .gridCampaign .notSortable {
        display: none;
    }

    /*.gridDesign th
    {
        display: none;
    }*/

    .gridDesign td, .gridCampaign td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        font-size: 12px;
        text-align: left;
    }

        .gridDesign td:before, .gridCampaign td:before {
            /* Now like a table header */
            position: absolute;
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold;
            content: attr(data-column); /* This will display the value from the td data-column attribute */
        }

        .gridDesign td.extended {
            padding-left: 10px;
        }

            .gridDesign td.extended:before {
                width: 0%;
            }

    .text-right-lg {
        /* change the text alignment from right to left when the grid is changed*/
        text-align: left;
    }
}
