﻿.grid-header
{
    display:none;
}

.grid-cell
{
    margin-left:100px;
    margin-right:5px;
    overflow:hidden;
}

.grid-cell, .grid-card-header
{
    padding: 5px 5px 0 5px;
    cursor: default;
}

.no-card-view
{
    display: none;
}

.grid-card-header
{
    float:left;
    width:80px;
    margin-right:10px;
    clear:left;
	overflow:hidden;
}

.grid-enrollments .grid-card-header 
{
	width:85px;
}
.grid-requirements .grid-card-header
{
	width: 55px;
}
.grid-programs .grid-card-header
{
	width: 95px;
}

.grid-program-items .grid-card-header 
{
    width: 95px;
}
.grid-cell.grid-empty-dummy 
{
	display: none;
}

.grid-clear
{
    clear:both;
}

.grid-data
{
    font-size: 12px;
    clear:both;
}

.grid-row
{
    border: 1px solid #e1eaea;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 20px;
    padding-bottom: 5px;
    transition: background-color 0.4s;
}

.grid-card-heading
{
    white-space: nowrap;
    background-color: white;
    color: #1a3d8f;
    font-weight: bolder;
    font-size:13px;
    padding:5px;
    border-block-style: inherit;
}

.grid-clickable-row, .grid-clickable-row .grid-cell, .grid-clickable-row .grid-card-header
{
    cursor: pointer;
}

.grid-row-selector-large
{
    display:none;
}

.grid-footer
{
}

.grid-row-selector-small
{
    text-align:center;
    margin-bottom:10px;
}

.grid-pager
{
    text-align:center;
}

.grid-footer select
{
    padding: 5px;
    border: 1px solid #e1eaea;
}

.grid-last-page, .grid-first-page, .grid-next-page, .grid-previous-page
{
    font-weight: bold;
    font-size: 16px;
    width: 40px;
    text-align: center;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    display: inline-block;
    color: white;
    background-color: #1a3d8f;
    border-color: rgba(16, 114, 206, 0.5);
    padding-top:3px;
    padding-bottom:4px;
    line-height:16px;
}

.grid-pager a:hover
{
    background-color: #1072ce;
    color: white;
}

.grid-disabled-link
{
    background-color: #e0e0e0;
    color: gray;
    cursor:default;
}

.grid-next-page, .grid-previous-page
{
    margin-left: 5px;
    margin-right: 5px;
}


.grid-filter
{
    margin-top:0;
    margin-bottom:10px;
    position:relative;
}

.grid-filter a
{
    display:inline-block;
    width:100%;
    height:100%;
}

.grid-filter input
{
    width:80%;
}

.grid-program-selector
{
    margin-bottom: 10px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    overflow: hidden;
}

.grid-program-selector select
{
    border: solid 1px #e0e0e0;
    height: 36px;
    width: 100%;
    padding-left:5px;
}

.empty-grid
{
    opacity: 0.8;
    background-color: #3A3762;
    box-shadow: 2px 2px 4px rgb(18, 79, 160);
    color: white;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    margin-top: 20px;
}

.mobile-sort
{
    margin-bottom: 10px;
    margin-top: 10px;
    white-space: nowrap;
}

.mobile-sort-controls
{
    display: flex;
    margin-top: 5px;
}

.mobile-sort-controls div:last-of-type
{
    padding-left: 10px;
}

.mobile-sort div:first-of-type
{
    flex-grow: 1;
}

.mobile-sort div:first-of-type select
{
    width: 100%;
}

@media (min-width: 768px)
{
    .grid-row
    {
        width: 48%;
        float: left;
    }

    .grid-row:nth-of-type(2n+1)
    {
        float: right
    }

    .grid-filter
    {
        width:48%;
        float:right;
    }

    .grid-filter input
    {
        width: 80%;
    }

    .grid-program-selector
    {
        float: left;
        width: 48%;
    }

    .grid-row-selector-small, .grid-row-selector-large
    {
        float: left;
        margin-left: 10px;
        margin-bottom:0;
    }

    .grid-row-selector-small
    {
        margin-left:0;
    }

    .grid-pager
    {
        float: right;
        margin-right: 0;
    }
}

@media (min-width: 1200px)
{
    .grid-container
    {
        position: relative;
        overflow: auto;
    }

    .grid-data
    {
        display: table;
        width: 100%;
        border: 1px solid #e1eaea;
        border-collapse: collapse;
        overflow: auto;
        font-size: 14px;
    }

    .grid-row, .grid-header
    {
        display: table-row;
        padding: 0;
    }

    .grid-row
    {
        float:none;
        white-space: normal;
        overflow: visible;
        border-style:none;
        border: solid 1px #f0f0f0;
    }

    .grid-row:nth-of-type(even)
    {
        background-color: #FdFdFd;
    }

    .grid-row:hover, .grid-row:nth-of-type(even):hover
    {
        background-color: rgba(56, 55, 98, 0.1);
    }

    .grid-header
    {
        white-space: nowrap;
        background-color: #37c74f;
        color: #0C2A6C;
        font-weight: bold;
    }

    .grid-header .grid-cell
    {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .grid-cell
    {
        padding-bottom: 15px;
        padding-top: 15px;
    }

    .grid-cell, .grid-cell.no-card-view, .grid-cell.grid-empty-dummy
    {
        display: table-cell;
        margin:0;
        float: none;
    }

    .grid-row:nth-of-type(2n+1)
    {
        float:none;
    }

    .grid-cell.no-list-view, .grid-card-header, .grid-card-heading
    {
        display: none;
    }

    .grid-clear
    {
        clear: none;
        display: none;
    }

    .grid-pager
    {
        margin-right: 10px;
    }

    .grid-row-selector-small
    {
        display:none;
    }

    .grid-row-selector-large
    {
        display:block;
    }

    .grid-filter
    {
        width: auto;
        float: right;
    }

    .grid-filter input
    {
        width: 400px;
    }

    .grid-program-selector
    {
        float: left;
        width: 434px;
    }

    .grid-footer
    {
        padding-top: 15px;
        padding-bottom: 15px;
        border: 1px solid #e1eaea;
        border-top-style: none;
    }

    .grid-header i
    {
        display: none;
    }

    .grid-header span[data-sort='A'] i.fa-chevron-down, .grid-header span[data-sort='D'] i.fa-chevron-up
    {
        display: inline-block;
        margin-left:5px;
    }

    .grid-header span
    {
        cursor: pointer;
    }

    .mobile-sort
    {
        display: none;
    }
}

