:root {
    --main-color: #CCCCCC /*#3297fd*/;
    --colour-header: #009639;
    --colour-green: #3bc195;
    --colour-blue: #3996d5;
    --colour-orange: #f37b45;
    --colour-red: #db4d35;
}

html, body, form, iframe, object, embed, section, header, footer, nav, div, span, hgroup, h1, h2, h3, h4, h5, h6, p, blockquote, a, abbr, address, cite, code, del, dfn, img, ins, kbd, samp, small, strong, em, sub, sup, var, b, i, q, s, dl, dt, dd, ol, ul, li, fieldset, label, legend, caption, table, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figure, figcaption, output, ruby, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
}

body {
    background: #f2f2f2;
    font-family: 'Raleway', sans-serif;
    color: #4c4c4c;
    font-size: 14px;
}

header {
    background: url('../Images/header.png') center top no-repeat;
    color: white;
    padding: 10px;
}

    header > div:first-of-type {
        width: 45%;
    }

    header > div {
        display: inline-block;
        height: 70px;
        width: 40%;
        margin: 0 10px;
    }

        header > div:last-of-type {
            text-align: right;
        }

    header a {
        color: white;
    }

a:focus {
    text-decoration: underline;
}

section {
    width: 980px;
    margin: 10px auto;
}
section.meal-plan{
    width:95%
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
}

hgroup {
    margin-top: 10px;
    margin-bottom: 10px;
}

h1 {
    font-size: 60px;
    padding: 1px 0;
}

h2 {
    font-size: 30px;
    text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

small {
    font-weight: normal;
    font-size: x-small;
}

cite {
    font-size: 5pt;
}

p {
    text-align: left;
}

a {
    text-decoration: none;
    color: black;
    outline: none;
}

img {
    vertical-align: top;
}

ul, ol {
}

input, select {
    outline: none;
    font: inherit;
    font-size: inherit;
}
    input:focus, select:focus, a:focus, ul:focus {
        box-shadow: 0 0 5px rgba(81, 203, 238, 1);
        border: 1px solid rgba(81, 203, 238, 1);
    }

    input[type=text], input[type=password], input[type=number], input[type=date], input[type=email], select {
        border: 1px solid #4c4c4c;
        padding: 8px;
        width: 305px;
        box-sizing: border-box;
    }

        input[type=text]:focus, input[type=password]:focus, input[type=number]:focus, input[type=email]:focus, input[type=checkbox]:focus {
            background-color: lightyellow;
        }

    input[type=number] {
        -moz-appearance: textfield;
    }

        input[type=number]::-webkit-inner-spin-button {
            -webkit-appearance: none;
        }

    input[type=button], input[type=submit], input[type=reset], a.button {
        background: #004680; /*#009639;*/
        color: #fff;
        text-transform: uppercase;
        font: inherit;
        font-weight: bold;
        padding: 5px 10px;
        margin: 2px;
        border: none;
        border-radius: 8px;
        min-width: 60px;
        cursor: pointer;
    }
        input[type=button]:focus, input[type=submit]:focus, input[type=reset]:focus, a.button:focus {
            text-decoration: underline;
        }
        input[type=button]:disabled, input[type=submit]:disabled {
            background: #cccccc;
            color: gray;
        }

    input[type=date] {
        -webkit-appearance: none;
    }

        input[type=date]::-webkit-calendar-picker-indicator {
            color: black;
        }

        input[type=date]::-webkit-input-placeholder {
            display: none;
        }

        input[type=date]::-webkit-inner-spin-button {
            display: none;
        }

    input[type=checkbox] {
        transform: scale(1.5);
    }

    input[type=radio] {
    }

        input[type=radio]:checked + label {
            font-weight: 600;
        }

.div-textarea {
    background-color: rgb(235, 235, 228);
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 8px;
    height: auto;
    width: auto;
    max-height: 350px;
    min-height: 200px;
    text-align: left;
    overflow-y: scroll;
}

    .div-textarea a:link, .div-textarea > a:visited, .div-textarea a:hover {
        color: blue;
        text-decoration: underline;
    }

label {
    margin: auto 5px;
}

    label > input[type=radio] {
        visibility: hidden;
        position: absolute;
    }

    label > input + img {
        cursor: pointer;
        opacity: 0.6;
    }

    label > input:hover + img {
        opacity: 0.8;
    }

    label > input:checked + img {
        opacity: 1;
        border-style: solid;
        border-width: 1px;
        border-radius: 10px;
    }

.blueHeading-bg {
    padding: 20px;
    border-radius: 20px 20px 0 0;
    width: auto;
    position: relative;
    background: #004680; /*#009639;*/
    box-shadow: 0px -5px 40px #000;
    font-size: 16px;
}

    .blueHeading-bg > div {
        color: #FFFFFF;
        text-align: left;
        display: inline-block;
    }

        .blueHeading-bg > div:last-child {
            float: right;
        }

        .blueHeading-bg > div > input {
            border-right: 1px solid white;
            padding-right: 20px;
            margin-right: 10px;
        }

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.notification__div {
    background-color: rgba(220,175,0,0.5);
    color: rgba(0,0,0,0.5);
    font-size: medium;
    font-weight: bolder;
    text-transform: uppercase;
    float: right;
    padding: 1px;
    animation-delay: 5s;
    animation-duration: 2s;
    animation-fill-mode: both;
    animation-name: fadeOut;
    width: 200px;
    position: relative;
    top: -10px;
}

/* #Page Styles
================================================== */
.desktop {
    display: block;
}

.mobile {
    display: none;
}

.logo {
    background: url('../Images/netZcore Purchase.png') right no-repeat;
    background-size: contain;
    height: 80px;
    display: block;
}

.noDisplay {
    display: none;
}

.loginFlex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.parentsBox, input[type=submit].loginBox.parentsBox {
    background: url(../Images/parents_ico.png) 350px 10px no-repeat #E0E0E0;
    order: 1;
}

    a.parentsBox, input[type=submit].loginBox.parentsBox, input.parentsBox[type=submit], .parentsBox input[type=submit] {
        background-color: #3bc195;
    }

.studentsBox, input[type=submit].loginBox.studentsBox {
    background: url(../Images/students_ico.png) 350px 10px no-repeat #E0E0E0;
    order: 2;
}

    a.studentsBox, input[type=submit].loginBox.studentsBox, .studentsBox input[type=submit] {
        background-color: #3996d5;
    }

.staffBox, input[type=submit].loginBox.staffBox {
    background: url(../Images/staff_ico.png) 350px 10px no-repeat #E0E0E0;
    order: 3;
}

    a.staffBox, input[type=submit].loginBox.staffBox, .staffBox input[type=submit] {
        background-color: #db4d35;
    }

.guestsBox, input[type=submit].loginBox.guestsBox {
    background: url(../Images/guests_ico.png) 350px 10px no-repeat #E0E0E0;
    order: 4;
}

    a.guestsBox, input[type=submit].loginBox.guestsBox, .guestsBox input[type=submit] {
        background-color: #f37b45;
    }

.loginBox, .loginFlex input[type=submit].loginBox {
    color: #fff;
    display: inline-block;
    min-width: 380px;
    max-width: 430px;
    padding: 34px 24px;
    margin-bottom: 25px;
    border-radius: 10px 10px 0px 0px;
    box-shadow: 0px 0px 60px #000;
    box-sizing: content-box;
}

a.loginBox, .loginFlex input.loginBox[type=submit] {
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

    a.loginBox:focus, .loginFlex input[type=submit].loginBox:focus {
        font-weight: bold;
        text-decoration: underline;
    }

.loginBox input[type=submit] {
    width: 100%;
    height: 48px;
    font-size: 22px;
    border-radius: 0px 0px 0px 0px;
    font-weight: normal;
}

.loginBox input[type=text], .loginBox input[type=password] {
    background-color: rgba(255,255,255,0.9);
    border: 1px solid #aaaaaa;
    padding: 16px 10px;
    font-size: 13px;
    margin-bottom: 20px;
}

footer {
    font-size: 12px;
    margin: 10px;
}

figure {
    float: right;
    padding: 10px;
}

figcaption {
    display: inline-block;
}

.innerPage {
    background: #fff;
    box-shadow: 0px 0px 60px #000;
}

.leftMenu {
    background-color: gainsboro;
    padding: 0px 20px 0px 20px;
    vertical-align: top;
    display: inline-block;
}

    .leftMenu li { /*background: url("../Images/selectArrow.png") no-repeat right;*/
        list-style: none;
        padding: 20px 0px 20px 0px;
        border-bottom: 1px solid #000;
        width: 200px;
    }

        .leftMenu li:last-child {
            border-bottom: none;
        }

        /*.leftMenu li > ul { visibility: hidden; opacity: 0; transition: visibility 0s, opacity 0.5s, linear; }

        .leftMenu li > ul:hover { visibility: visible; opacity: 1; }*/

        .leftMenu li > a {
            text-align: left;
            text-transform: uppercase;
            padding: 10px;
        }

            .leftMenu li > a:hover, .leftMenu .selected {
                color: #006f4b;/*#3bc195;*/
            }
                .leftMenu .selected{
                    font-weight:bold;
                }
                .leftMenu li > ul {
                    background-color: white;
                    position: relative !important;
                    left: unset !important;
                    list-style-type: none;
                    margin: 10px 0px 0px 0px;
                }

            .leftMenu li > ul li {
                background: none;
                border-bottom: 1px solid #000;
                border-top: 1px solid #000;
                padding: 5px 0px 5px 0px;
            }

                .leftMenu li > ul li a {
                    text-transform: capitalize;
                    font-size: smaller;
                    padding: 0px;
                }

.rightBar {
    display: inline-block;
    width: 640px;
    padding: 25px 35px;
}

.formBox {
    border: 1px solid #CCCCCC;
    padding: 20px 10px 20px 10px;
    overflow: auto;
    text-align: center;
}

    .formBox > div {
        display: inline-block;
        margin: 5px;
        width: 85%;
    }

        .formBox > div > div {
            display: inline-block;
        }

        .formBox > div > div {
            display: inline-block;
        }

.formBox-Row {
    width: 470px;
    padding: 5px 0px;
    text-align: left;
}

    .formBox-Row span {
        display: inline-block;
        width: 140px;
        margin-right: 10px;
        font-weight: bold;
        text-align: right;
    }

.menuTabs {
    list-style-type: none;
    width: 100%;
}

    .menuTabs ul {
        float: none !important;
    }

    .menuTabs li {
        float: left;
        padding: 1px;
    }

        .menuTabs li a {
            display: block;
            background: #4c4c4c;
            color: #fff;
            font-weight: 600;
            padding: 10px 16.5px;
            border-radius: 5px 5px 0 0;
        }

            .menuTabs li a:hover {
                background: #3bc195;
            }

            .menuTabs li a.active {
                background: #009639;
            }
        .menuTabs li .static.selected {
            background-color: #004680
        }

        .circle__label {
            color: black;
            border-color: black;
            border-radius: 50%;
            padding: 1px 5px 1px 5px;
            border: solid thin;
            text-align: center;
            font-weight: 900;
        }

.symbol {
    color: slategray;
    font-family: HYGothic-Extra;
    font-size: large;
    font-weight: bold;
    text-decoration: none;
}

.chevron-Right::before {
    content: ">";
}

.chevron-Down::before {
    content: ">";
    transform: rotate(90deg);
}

.GenrlTable {
    width: 100%;
    border-spacing: 0px;
    font-size: smaller;
    text-align: left;
    margin-bottom: 20px;
}

    .GenrlTable caption {
        display: table-caption;
        caption-side: top;
        font-size: small;
        font-weight: bold;
        padding: 10px;
    }

    .GenrlTable th, .GenrlTable td {
        padding: 2% 2%;
    }

    .GenrlTable th {
        background: #4c4c4c;
        color: #fff;
    }

    .GenrlTable td {
        border: 1px solid #fff;
    }

    .GenrlTable > tbody > tr > td:first-child {
        border-left: 1px solid #000;
    }

    .GenrlTable > tbody > tr > td:last-child {
        border-right: 1px solid #000;
    }

    .GenrlTable > tbody > tr:last-child > td {
        border-bottom: 1px solid #000;
    }

    .GenrlTable > tbody > tr:first-child > td {
        border-top: 1px solid #000;
    }

    .GenrlTable > tbody > tr > td > a:not(.symbol) {
        color: #000;
        text-decoration: underline;
    }

    .GenrlTable > tbody > tr > td:last-child {
        border-right: 1px solid #000;
    }

    .GenrlTable > tbody > tr:last-child > td {
        border-bottom: 1px solid #000;
    }

    .GenrlTable > tbody > tr:first-child > td {
        border-top: 1px solid #000;
    }

    .GenrlTable > tbody > tr > td > a:not(.symbol) {
        color: #000;
        text-decoration: underline;
    }

.errorMsg {
    color: red;
    font-weight: bold;
    text-align: center;
}

/************************************ custom input ******************************************************/

.switch__checkbox {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

    .switch__checkbox > input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .switch__checkbox > span {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--colour-red);
        transition: .4s;
    }

        .switch__checkbox > span:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 1px;
            bottom: 1px;
            background-color: white;
            transition: .4s;
        }

    .switch__checkbox > input:checked + span {
        background-color: var(--colour-header);
    }

        .switch__checkbox > input:checked + span:before {
            transform: translateX(19px);
        }

.round {
    border-radius: 12px;
}

    .round:before {
        border-radius: 50%;
        background-image: radial-gradient(farthest-side at 95% 90%, #fff, #eee);
    }

.custom__select {
    color: #fff;
    line-height: 1.5em;
    border: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    background-image: url(../Images/topBullet.png);
    background-repeat: no-repeat;
    background-position: right .7em top 50%, 0 0;
}

    .custom__select:focus {
        color: #aaa;
    }

/******************************* ajaxToolkit customization **********************************************/

.ajax__content {
    padding: 43px;
}

.ajax__balloon_popup .bill {
    background-image: url('../Images/BalloonPopup.RectangleSprite.png') !important;
    background-repeat: no-repeat;
    font-family: Courier New, Courier, monospace;
    font-size: smaller;
    font-weight: bold;
    text-align: left;
}

    .ajax__balloon_popup .bill .medium {
        width: 250px;
        height: 200px;
    }

        .ajax__balloon_popup .bill .medium .top_right {
            background-position: -200px -400px;
        }

    .ajax__balloon_popup .bill .large {
        width: 500px;
        height: 300px;
    }

        .ajax__balloon_popup .bill .large .top_right {
            background-position: -450px -600px;
        }

        .ajax__balloon_popup .bill .medium .top_right {
            background-position: -200px -400px;
        }

    .ajax__balloon_popup .bill .large {
        width: 500px;
        height: 300px;
    }

        .ajax__balloon_popup .bill .large .top_right {
            background-position: -450px -600px;
        }

/******************************** modal dialog **********************************************************/
.modalOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.50);
}

    .modalOverlay > div {
        width: 80%;
        background: #fff;
        border-radius: 10px;
        position: absolute;
        left: 10%;
        top: 25%;
    }

        .modalOverlay > div > a {
            background-color: red;
            color: white;
            font-size: large;
            position: absolute;
            top: -5px;
            right: -5px;
            border-radius: 50%;
            padding: 1px 5px 1px 5px;
            border: 2px solid;
        }

            .modalOverlay > div > a::after {
                content: "X";
            }

.popupContent {
    margin: 20px 20px;
    overflow: auto;
}

    .popupContent div {
        margin-bottom: 10px;
    }

    .popupContent td {
        background-color: #EDEDED;
    }
/******************************** modal dialog **********************************************************/

.tooltipBox {
    background: rgba(240, 240, 240, 0.80);
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.45), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    position: absolute;
    top: 20px;
    right: 0px;
    padding: 15px;
    font-family: Arial;
    font-size: xx-small;
}

    .tooltipBox:before {
        content: "";
        position: absolute;
        border-left: 19px solid transparent;
        top: -18px;
        right: 30px;
        border-bottom: 19px solid #eee;
        box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.75);
    }

    .tooltipBox > a:after {
        content: "X";
    }


/* #Media Queries
================================================== */

/* #Tablet (Portrait)
================================================== */
@media only screen and (min-width: 768px) and (max-width: 959px) {
    section {
        width: 748px;
    }

    .rightBar {
        width: 410px;
    }

    .formBox-Row {
        width: 200px;
        text-align: left;
    }
}

@media only screen and (max-width: 250px) {
    .blueHeading-bg > div > input {
        display: none;
    }
}

/*  #Mobile (Portrait)
================================================== */
@media only screen and (max-width: 767px) {

    body {
        font-size: 17px;
    }

    header {
        background: #ffffff;
        box-shadow: -2px 0px 4px #000;
        font-size: 14px;
    }

        header > div {
            width: auto;
            height: auto;
        }

        header div:nth-last-of-type(2) {
            width: auto;
        }

        header div:nth-last-of-type(1) {
            width: 100%;
            text-align: unset;
        }

        header, header a {
            color: #4c4c4c;
        }

    section {
        width: 90%;
        margin: 0px auto;
    }

    input[type=text], input[type=number], input[type=password], input[type=date], input[type=email], select {
        width: 90%;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .logo {
        height: 26px;
        background-position: left;
    }

    a.loginBox, input.loginBox[type=submit] {
        font-size: 16px;
    }

    .loginBox input[type=text], .loginBox input[type=password] {
        width: 70%;
    }

    .parentsBox, .studentsBox, .staffBox, .guestsBox {
        min-width: 250px;
        padding: 15px 20px;
        margin: 3px 0px;
        text-align: left;
    }

    .formBox {
        background: #FFF;
        border: 1px solid #4c4c4c;
        padding: 0;
    }

        .formBox > div {
            width: 90%;
        }

            .formBox > div > div {
                display: block;
            }

    .formBox-Row {
        width: auto;
    }

        .formBox-Row span {
            display: block;
            width: auto;
            text-align: inherit;
        }

    .menuTabs ul {
    }

    .menuTabs li {
        width: 100%;
    }

    select {
        -webkit-appearance: none;
        background: url(../Images/selectArrow.png) right center no-repeat;
    }
    /*table.GenrlTable */
    table.GenrlTable table {
        background-color: green;
    }
 .GenrlTable td .pager td{
        padding-top: 0px;
        font-size: 1.5em;
    }
.pager table {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
.pager table a{
            /*font-size: 1.5em;*/
            text-decoration: underline;
        }
 .GenrlTable {
        outline: 1px solid #717171;
        /*table-layout: fixed;*/
    }


        .GenrlTable > tbody > tr > td:first-child {
            border-left: 1px solid #fff;
        }

        .GenrlTable > tbody > tr > td:last-child {
            border-right: 1px solid #fff;
        }

        .GenrlTable > tbody > tr:last-child > td {
            border-bottom: 1px solid #fff;
        }

        .GenrlTable > tbody > tr:first-child > td {
            border-top: 1px solid #fff;
        }

        .GenrlTable td {
            word-wrap: break-word;
        }

            .GenrlTable td:nth-child(3), .GenrlTable td:nth-child(4) {
                width: 17%;
            }
 nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease-out;
    }

        nav li {
            width: 100%;
            float: left;
        }

        nav a {
            padding: 7px 0;
            color: #4c4c4c;
            border-bottom: 1px solid #e8e8e8;
        }

        nav.active {
            max-height: 500px;
            transition: max-height 0.4s ease-in;
        }

    .custom__select {
        color: #000;
        background-position: top;
        line-height: 2.5em;
        border: 1px solid;
    }
}


/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
Just create a "fonts" folder at the root,
copy your FontName into code below and remove
comment brackets */

/*	@font-face {
font-family: 'FontName';
src: url('../fonts/FontName.eot');
src: url('../fonts/FontName.eot?iefix') format('eot'),
url('../fonts/FontName.woff') format('woff'),
url('../fonts/FontName.ttf') format('truetype'),
url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
font-weight: normal;
font-style: normal; }
*/


/* latin */
@font-face {
    font-family: 'Libre Barcode 39 Extended';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/librebarcode39extended/v15/8At7Gt6_O5yNS0-K4Nf5U922qSzhJ3dUdfJpwNUgTNNIOA.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.meal-plan-content .menu-panel-wrapper, .meal-plan-content .update-panel-wrapper{
    float:left;
    width: 100%;
}

.meal-plan-content .menu-panel-wrapper .menuTabs .selected {
    background-color: rgb(0, 137, 52);
}

.meal-plan-content .menu-panel-wrapper .menuTabs ul {
        list-style-type: none;
    }

.itc-logo {
        width: 50px;
        height: 50px;
    }

.grdHistoryMobile .grid-pager table, .grdHistoryMobile .grid-pager tbody{
    background-color:inherit;
    display: inline-block;
}
.grdHistoryMobile .grid-pager table::before {
    content: "pages";
}
.grdHistoryMobile .grid-pager table td {
    padding: 2px;
    border: none;
    display: inline-block;
    width: 2em;
    font-family: arial;
}

.grdHistoryMobile .grid-pager table, .grdHistoryMobile .grid-pager table td span {
    display: inline-block;
}
.grdHistoryMobile .grid-pager table a{
    text-decoration:none;
}
