/* Popup Styling */

.modal-header {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0 0 1.25rem;
    color: #444;
    font-size: 1.2rem;
    font-weight: bolder;
}

.content {
    position: relative;
    display: flex;
    text-align: left;
    color: #444;
    font-size: 0.875rem;
    width: 100%;
}

.close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background-color: transparent;
    font-size: 1.5rem;
    transition: 0.25s linear;
}

.close:before, .close:after {
    position: absolute;
    content: '';
    width: 1.25rem;
    height: 0.125rem;
    background-color: black;
}

.close:before {
    transform: rotate(-45deg);
}

.close:after {
    transform: rotate(45deg);
}

.close:hover {
    transform: rotate(360deg);
}

.close:hover::after, .close:hover::before {
    background-color: tomato;
}

#divPopup {
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.25s;
}

#divPopup > .content-wrapper {
    transform: scale(1);
}

.content-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 2.5rem;
    background-color: white;
    border-radius: 0.3125rem;
    box-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.5);
    transform: scale(0);
    transition: transform 0.25s;
    transition-delay: 0.15s;
}

.mfp-content {
    width: 50% !important;
}

/* Popup Styling END */

/* Table Styling */

div#DataTables_Table_0_length {
    font: normal 14px Arial,Helvetica,Sans-serif;
    color: #777;
    padding-top: 0.60em;
}

div#DataTables_Table_0_paginate {
    font: bold 14px Arial,Helvetica,Sans-serif;
    color: #777;
}

.dataTables_paginate.fg-buttonset.ui-buttonset.fg-buttonset-multi.ui-buttonset-multi.paging_simple_numbers {
    font: bold 14px Arial,Helvetica,Sans-serif;
    color: #777;
}

table.dataTable.no-footer {
    border-bottom: none;
}
.footer {
    background-color: #214f32; /* Dark green matching the Course Catalog heading */
    color: white; /* Ensure text is readable */
    padding: 20px;
    text-align: center;
}
footer {
    background-color: #214f32; /* Dark green matching the Course Catalog heading */
    color: white; /* Ensure text is readable */
    padding: 20px;
    text-align: center;
}
.top {
    background-color: rgb(228, 226, 226);
    padding: 4px 4px 6px 10px;
    border-radius: 8px;
}

.bottom {
    margin-top: 16px;
    background-color: rgb(228, 226, 226);
    padding: 4px 4px 6px 10px;
    border-radius: 8px;
}

div#DataTables_Table_0_info {
    font: normal 14px Arial,Helvetica,Sans-serif;
    color: #777;
    padding-top: 0.60em;
}

table.course {
    width: 100%;
    display: table;
    font: 90%/1.45em "Arial", Helvetica, Arial, sans-serif !important;
}

table.course tbody {
    display: table-row-group;
    width: 100%;
}

.course tbody tr {
    float: left;
    border-radius: 5px;
    transition: 0.3s;
    width: 23%;
    height: 400px;
    /*background-color: transparent;*/
    background-color: #f3f3f3;
    display: block;
    margin: 8px;
    padding: 8px;
    box-shadow: rgba(0, 0, 0, 0.4) 0 4px 8px 0;
    transition: box-shadow 500ms cubic-bezier(0.22, 0.84, 0.57, 1.5);
}

.course tbody tr:hover {
    box-shadow: rgba(0, 0, 0, 0.65) 0 16px 16px 0;
    z-index: 10;
}

.course tbody td {
    display: block;
    padding: 3px 3px 3px 4px !important;
}

.course .title {
    font-weight: bold;
    font-family: roboto,sans-serif;
    font-size: 1.2em;
    text-decoration: none;
    color: #009688;
    margin-bottom: 10px;
}

.course .subject {
    font-family: roboto,sans-serif;
    font-weight: bolder;
    font-size: 0.9em;
}

.course .number {
    font-family: roboto,sans-serif;
    font-weight: bolder;
    letter-spacing: 1px;
    line-height: 10px;
}

.course .gen {
    font-size: 10pt;
    color: #666;
}

.course .gen label {
    font-weight: bold;    
}

/* Table Styling END */

/*.course tbody label {
        display: inline;
        position: relative;
        font-size: 85%;
        top: -0.5rem;
        float: left;
        color: #808080;
        min-width: 4rem;
        margin-left: 0;
        margin-right: 1rem;
        text-align: left;
    }*/

input[type=text].course, select.course {
    border: 0 none;
    font: bold 12px Arial,Helvetica,Sans-serif;
    color: #777;
    width: 240px;
    padding: 6px 15px 6px 15px;
    line-height: 16px;
    vertical-align: middle;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
}

input[type="text"]:focus {
    box-shadow: 0 0 5px #599e59;
    border: 1px solid #599e59;
}

.select-css {
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 700;
    color: #444;
    padding: .6em 1.4em .5em .8em;
    line-height: 16px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #aaa;
    box-shadow: #599e59;
    border-radius: .5em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23599d59%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'), linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}

.select-css::-ms-expand {
    display: none;
}

.select-css:hover {
    border-color: #888;
}

.select-css:focus {
    border-color: #aaa;
    box-shadow: 0 0 1px 1px #599d59;
    box-shadow: 0 0 0 1px -moz-mac-focusring;
    color: #222;
    outline: none;
}

.select-css option {
    font-weight: normal;
}

.courseFilter span.srchCourse {
    line-height: 20px;
    display: inline-block;
    padding-bottom: 10px;
}

.photo_goback {
    float: left;
    margin-left: 10px;
}

.photo_email {
    float: right;
    margin-right: 10px;
}


/* 16px baseline (960px - 1199px) */
@media only screen and (min-width:960px) and (max-width:1199px) {
    .mfp-content {
        width: 90% !important;
    }

    .course tbody tr {
        width: 30%;        
    }
}

/* 16px baseline (768px - 959px) */
@media only screen and (min-width:48em) and (max-width:59.938em) {
    .mfp-content {
        width: 90% !important;
    }

    .course tbody tr {
        width: 45%;        
    }   
}

/* 16px baseline (180px - 767px) */
@media only screen and (min-width:11.250em) and (max-width:47.938em) {
    .photoGallery {
        height: 608px;
    }
}

/* 16px baseline ( - 480px) */
@media only screen and (max-width: 480px) {    
    .mfp-content {
        width: 90% !important;
    }
    .course tbody tr {
        width: 90%;
        height: auto;
    }
    .courseFilter span.srchCourse.flex {
        width: 48%;
    }
    input[type=text].course, select.course {
        max-width: 100%;
    }
}
