html {
    height: 100%;
}

a IMG {
    border: 0;
}

a {
    color: #00adda;
}

body {
    background-image: url(images/background.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #b8b8b8;
    background-size: cover;
    background-attachment: fixed;
    font-family: Arial, Helvetica, "sans-serif";
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

    body[class="employee"] {
        background-image: url(images/background2.jpg);
    }

hr {
    border: 1px solid #aaa;
}

.Site {
    display: flex;
    min-height: 100vh;
    height: 100%;
    flex-direction: column;
}

.Site-content {
    flex: 1;
}

header[id="banner"] {
    background-color: #58595b;
    border: 1px solid #58595b;
}

    header[id="banner"] h1 {
        text-align: center;
        color: #00adda;
        font-size: 1.5em;
        font-weight: 500;
    }

    header[id="banner"] a {
        text-decoration: none;
    }

    header[id="banner"] h1 IMG {
        width: 200px;
        height: 72px;
        margin-right: 10px;
        padding-right: 10px;
        border-right: 1px solid #efefef;
    }

main[id="main"] {
    display: grid;
    padding: 10px 45px;
    flex: auto;
    padding-bottom: 5%;
    margin: auto;
}

main[class="3column"] {
    display: flex;
    flex-flow: row !important;
}

section[class="column"], section[class="content"] {
    background-color: #fff;
    border-radius: 12px;
    margin: 4% 2%;
    text-align: left;
    flex: 1;
    border: 2px solid #555;
    border-top: 50px solid #555;
    padding: 0 10px 10px 20px;
}

section[class="content"] {
    text-align: left;
}

section ul {
    list-style: square;
    text-align: left;
}

section[class="column"] a[class="button"], section[class="content"] a[class="button"], section[class="content"] input[class="button"], section[class="content"] input[type="button"], section[class="content"] input[class="button-exit"] {
    background-color: #555;
    border-radius: 10px;
    border: 2px solid #555;
    color: #fff;
    text-decoration: none;
    padding: 8px;
    margin: 12px 0 10px 0;
    display: flex;
    width: 74%;
    text-align: center;
    justify-content: center;
}

section[class="column"] a[class="button"] {
    margin: auto;
}


input[class="button"], input[type="button"], input[class="button-exit"] {
    cursor: pointer;
    display: block;
    -webkit-appearance: none;
}


section[class="content"] input[class="button"], input[class="button-exit"] {
    max-width: 200px;
    flex: 1;
}


    section[class="column"] a[class="button"]:hover, section[class="content"] a[class="button"]:hover, section[class="content"] input[class="button"]:hover, section[class="content"] input[class="button"]:hover, section[class="content"] input[type="button"]:hover, section[class="content"] input[class="button-exit"]:hover, section[class="content"] .form-row > input[type="button"]:hover {
        background-color: #fff;
        border: 2px solid #555;
        color: #000;
        transition-property: background;
        transition-duration: 0.2s;
        transition-timing-function: linear;
    }





section[id="forgot"] {
    border: 2px solid #004987;
    border-top: 50px solid #004987;
}

    section[id="forgot"] a[class="button"], section[id="forgot"] input[class="button"], section[id="forgot"] input[class="_edit_btn"] {
        border: 2px solid #004987;
        background-color: #004987;
    }

section[id="forgot-emp"] {
    border: 2px solid #996633;
    border-top: 50px solid #996633;
}

    section[id="forgot-emp"] a[class="button"], section[id="forgot-emp"] input[class="button"], section[id="forgot-emp"] input[class="_edit_btn"] {
        border: 2px solid #996633;
        background-color: #996633;
    }


section[id="update"] {
    border: 2px solid #008B46;
    border-top: 50px solid #008B46;
}

    section[id="update"] a[class="button"], section[id="update"] input[class="button"], section[id="update"] input[class="_edit_btn"] {
        border: 2px solid #008B46;
        background-color: #008B46;
    }

section[id="update-emp"] {
    border: 2px solid #aa258d;
    border-top: 50px solid #aa258d;
}

    section[id="update-emp"] a[class="button"], section[id="update-emp"] input[class="button"], section[id="update-emp"] input[class="_edit_btn"] {
        border: 2px solid #aa258d;
        background-color: #aa258d;
    }


section[id="change"] {
    border: 2px solid #64308F;
    border-top: 52px solid #64308F;
}


    section[id="change"] a[class="button"], section[id="change"] input[class="button"], section[id="change"] input[class="_edit_btn"] {
        border: 2px solid #64308F;
        background-color: #64308F;
    }

section[id="change-emp"] {
    border: 2px solid #00adda;
    border-top: 52px solid #00adda;
}


    section[id="change-emp"] a[class="button"], section[id="change-emp"] input[class="button"], section[id="change-emp"] input[class="_edit_btn"] {
        border: 2px solid #00adda;
        background-color: #00adda;
    }

section[id="warning"] {
    border: 2px solid #c7111f;
    border-top: 52px solid #c7111f;
}

    section[id="warning"] a[class="button"], section[id="warning"] input[class="button"], section[id="warning"] input[class="_edit_btn"] {
        border: 2px solid #c7111f;
        background-color: #c7111f;
    }

section[class="column"] h2:first-child, section[class="content"] h2:first-child {
    background-color: #666;
    color: #fff;
    line-height: 0;
    margin-top: -24px;
    margin-bottom: 50px;
    text-align: center;
}

section[class="column"] h3, section[class="content"] h3 {
    color: #aa258d;
}


h4 .checkbox-container, h4 span[class="number"] {
    float: left;
    display: inline-grid;
    margin-right: 14px;
}

h4 .checkbox-container {
    margin-top: 1px;
}

h4 label {
    margin-top: 8px;
    float: left;
    color: #008b46;
    min-height: 30px;
}


.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border: 1px solid #777;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 9px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

section[class="column"] IMG[class="icon"], section[class="content"] IMG[class="icon"] {
    display: flex;
    width: 115px;
    height: 115px;
    margin: 10px auto;
    text-align: center;
    justify-content: center;
}

footer {
    flex-shrink: 0;
    bottom: auto;
    padding: 20px;
    margin: auto 0 0 0;
    background-color: #fff;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/* Allow only vertical resizing of textareas.*/

textarea {
    resize: vertical;
}
/* form customizations */

.wrapper {
    list-style-type: none;
    padding: 0;
    display: inline-table;
    justify-content: space-between;
    width: 100%;
}


.form-row {
    padding: .5em .5em;
}



    .form-row > label {
        display: block;
        padding: .5em 1em .5em 0;
    }


    .form-row select {
        margin-right: 0;
        min-height: 30px;
        margin-bottom: 12px;
        width: 100%;
        -webkit-appearance: none;
        -webkit-appearance: menulist-button;
        -webkit-rtl-ordering: logical;
        -webkit-writing-mode: horizontal-tb;
        margin: 0px 0px 10px 0px;
        padding: 0.5em;
        background-color: rgb(255, 255, 255);
        border-radius: 5px;
        height: 35px;
        letter-spacing: normal;
    }

    .form-row > input[type="button"] {
        width: 45%;
        max-width: 200px;
    }

    .form-row > input, input[type="text"], input {
        flex: none;
        border-radius: 8px;
        min-height: 25px;
        border: 1px solid #666;
        width: 80%;
        padding-left: 10px;
        margin-right: 20px;
    }
      
        .form-row > input:hover, input[type="text"]:hover, input:hover {
            border: 1px solid #ccc;
        }

    .form-row > input, .form-row > button {
        padding: .5em;
    }



/* Option Number Styling */

span[class="number"] {
    border-radius: 100px;
    background-color: #fff;
    border: 1px solid #aa258D;
    color: #aa258D;
    width: 80px;
    height: 25px;
    padding-top: 7px;
    font-size: 1em;
    display: block;
    text-align: center;
}





/* error alert */

.error:before {
    content: "\26A0";
    font-size: 2em;
    margin: auto;
    margin-right: 20px;
    color: #c7111f;
    vertical-align: middle;
}
.error {
    color: #c7111f;
    background-color: #f2dede;
    padding: 1em;
    margin:  0.25em 0.25em 1.25em 0.25em;
    line-height: 1.3;
    text-align: center;
    font-weight: 800;
    font-family: Arial !important;
}



/* Success Alert */

.InfoMessage:before {
    content: "\2611";
    font-size: 2em;
    margin: auto;
    margin-right: 20px;
    color: #008b46;
    vertical-align: middle;
}
.InfoMessage {
    color: #008b46;
    background-color: #dff0d8;
    padding: 1em;
    margin:  0.25em 0.25em 1.25em 0.25em;
    line-height: 1.3;
    text-align: center;
}



/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}


@media only screen and (min-width: 115em) {
    /* Style adjustments for viewports that meet the condition */
    main[id="main"] {
        padding: 10px 46%;
    }

    section[class="content"] {
        padding: 0 14%;
    }
}

@media only screen and (min-width: 65em) {
    /* Style adjustments for viewports that meet the condition */

    main[id="main"] {
        padding: 6px 8%;
        width: 80%;
    }

    section[class="column"] h2 {
        font-size: 1.2em;
        font-weight: 500;
    }


    section {
        padding: 0;
    }

        section[class="content"] {
            padding: 0 8%;
        }

        section > section {
            display: inline-table;
            width: 46%;
            padding-right: 20px;
        }

        section input[type="text"] {
            max-width: 80%;
            margin-right: 20%;
            flex: 2;
        }

        section select {
            max-width: 80%;
            margin-right: 20%;
            flex: 2;
            margin-bottom: 12px;
        }
}

@media only screen and (max-width: 70em) {
    /* Style adjustments for viewports that meet the condition */
    section[class="column"] {
        font-size: 1em;
    }

        section[class="column"] h2 {
            font-size: 1.1em;
            font-weight: 200;
        }

        section[class="column"] a[class="button"] {
            font-size: 1em;
        }



        /*VR - Added*/
        section[class="column"] input[class="button"] {
            font-size: 1em;
        }
}

@media only screen and (max-width: 62em) {
    /* Style adjustments for viewports that meet the condition */

    body {
        background-position: bottom;
        background-size: cover;
        background-color: #c7c7c7;
    }

    section[class="column"] {
        font-size: 0.9em;
    }

        section[class="column"] h2:first-child, section[class="content"] h2:first-child {
            background-color: #666;
            color: #fff;
            font-size: 1em;
            font-weight: 100;
            margin-top: -22px;
        }

        section[class="column"] a[class="button"] {
            font-size: 0.9em;
        }

        /*VR - Added*/
        section[class="column"] input[class="button"] {
            font-size: 0.9em;
        }
}

@media only screen and (max-width: 50em) {
    /* Style adjustments for viewports that meet the condition */

    section[class="column"] h2 {
        font-size: 14px !important;
    }
}

@media only screen and (max-width: 46em) {
    /* Style adjustments for viewports that meet the condition */
    body {
        background-position: center;
        background-size: auto;
    }

    main[id="main"] {
        display: block;
        padding: 10px 45px;
        padding-bottom: 4%;
    }

    /*Added input button part*/
    section[class="column"] a[class="button"], section[class="content"] a[class="button"], section[class="content"] input[class="button"] {
        font-size: 1.1em;
        padding: 11px;
    }

    section[class="column"] h2 {
        font-size: 1.2em;
        font-weight: bold;
    }
}

@media only screen and (max-width: 40em) {
    /* Style adjustments for viewports that meet the condition */

    header[id="banner"] h1 {
        text-align: center;
        font-size: 1.5em;
        font-weight: 500;
    }

        header[id="banner"] h1 IMG {
            width: 200px;
            height: 72px;
            margin: 10px auto;
            display: flex;
            border: none;
            justify-content: center;
        }

    main[id="main"] {
        display: block;
        padding: 10px 0px;
        padding-bottom: 4%;
    }

    section[class="content"] {
        padding-right: 10px !important;
    }
}

/* Print styles. */

@media print {
    h1, h2, h3, h4, h5, p, section, main, heading, footer {
        display: block;
        border: none !important;
        color: #000;
        background-color: transparent;
    }

    header {
        border: none;
    }

        header IMG {
            display: none;
        }

        header h1:before {
            border: none;
            content: "Calgary Board of Education";
        }

    section[class="column"] {
        width: 100% !important;
    }

        section[class="column"] h2 {
            background-color: #fff;
            color: #fff;
            line-height: 1.2;
            margin-top: 10px;
        }
}


div.homeLinks {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
}





.dropdown {
    flex: 3;
    border-radius: 8px;
    border: 1px solid #666;
    padding: .5em;
}


.normal {
    color: black;
}
