body {
    font-family: Helvetica;
    font-size: 14px;
    padding: 0;
    margin: 0;
    background: url('/resources/images/background.jpg') center top repeat fixed;
    background-size: 100% auto;
}

.header-row {
    position: relative;
    width: 100%;
    min-width: 740px;
    height: 140px;
    z-index: 10;
}
    .header-row .kite,
    .header-row .school {
        position: absolute;
        left: 15%;
        top: 0;
        width: 35%;
        height: 140px;
        padding-right: 210px;
        box-sizing: border-box;
        z-index: 100;
    }
    .header-row .school {
        padding: 0 0 0 190px;
        left: auto;
        right: 15%;
    }
        .header-row .kite .child {
            float: right;
        }
        .header-row .kite .child,
        .header-row .school .child {
            display: table-cell;
            text-align: center;
            vertical-align: middle;
            height: 140px;
        }
            .header-row .kite .child img {
                margin-top: 15px;
                width: 100%;
                max-width: 200px;
                height: auto;
            }
            .header-row .school .child img {
                max-width: 100%;
                max-height: 80%;
            }
    .user-nav {
        position: absolute;
        top: 0;
        left: 50%;
        width: 200px;
        margin-left: -100px;
        border-bottom: 1px solid #fff;
        
    }
        .user-nav img {
            width: auto;
            height: 25px;
            margin: 8px 16px 5px;
        }

.h1-block {
    position: relative;
    display: table;
    text-align: center;
    vertical-align: middle;
    width: 294px;
    height: 140px;
    padding: 0 60px;
    margin: 0 auto;
    background: url('/resources/images/header-back.png') center center no-repeat;
    z-index: 150;
}

h1 {
    display: table-cell;
    color: #fff;
    font-weight: normal;
    font-size: 24px;
    line-height: 28px;
    vertical-align: middle;
    height: 100%;
    padding: 0;
    margin: 0;
}
h1.two-lines {
    padding-top: 26px;
}

h2 {
    color: #0d5099;
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 15px;
}
    h2 a.small {
        color: #0d5099;
        font-size: 14px;
        margin-left: 15px;
        text-decoration: none;
    }
        h2 a.small:hover {
            text-decoration: underline;
        }

h3 {
    font-weight: normal;
    font-style: italic;
}

h4 {
    color: #0d5099;
    font-style: italic;
    font-weight: normal;
    margin: 8px 0 5px;
}

input[type="text"],
input[type="file"] {
    font-family: Helvetica;
    font-size: 14px;
}
input[type="file"] {
    color: #0d5099;
}
textarea {
    font-family: Helvetica;
    font-size: 14px;
    line-height: 16px;
    padding: 5px;
    box-sizing: border-box;
}

.hidden {
    display: none;
}

.no-wrap {
    white-space: nowrap;
}

.only-print {
    display: none;
}

.clear {
    clear: both;
}

.relative {
    position: relative;
}

.half {
    width: 50%;
}

.body-container {
    position: relative;
    width: 100%;
    min-width: 740px;
    padding: 0;
    margin: 0;
    border: 4px solid #0d5099;
    border-width: 4px 0;
    z-index: 30;
}

.default-column {
    width: 100%;
    max-width: 690px;
    margin: 0 auto;
    padding: 20px 25px;
    border: 1px solid #efefef;
    border-width: 0 1px;
    background: rgba(252,252,252,0.95); /* #fcfcfc */
}

.subsection {
    border-bottom: 1px solid #0d5099;
    margin-bottom: 25px;
}
    .subsection--boxed {
        position: relative;
        border: 1px solid #eaeaea;
        padding: 10px;
        margin-bottom: 15px;
    }

.remove-unit-block {
    color: #fff;
    background: #084f99;
    text-decoration: none;
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
    border-radius: 5px;
    padding: 8px 10px;
    border: thin solid #084f99;
}
    .remove-unit-block:hover {
        color: #084f99;
        background: #fff;
    }

.success {
    display: block;
    color: #62c975;
    margin: 10px 0 25px;
    padding: 10px 0;
    border: 1px solid #62c975;
    border-width: 1px 0;
}
.error {
    display: block;
    color: #990707;
    margin-top: 5px;
}
    .error.general {
        margin: 15px 0;
    }
.warning {
    color: #fcabab;
}
ul.error-list {
    color: #990707;
    padding-left: 0;
}
    ul.error-list li {
        list-style: inside;
    }

.nav-buttons {
    padding: 5px 0 15px 0;
}
    .nav-buttons a {
        color: #084f99;
        font-size: 14px;
        text-decoration: none;
        padding: 5px 10px;
        border: 1px solid #084f99;
        background-color: transparent;
    }
    .nav-buttons a.selected,
    .nav-buttons a:hover {
        color: #fff;
        background-color: #084f99;
    }
.database-backup-block {
    display: none;
}
.database-backup-block.selected {
    display: block;
}

.welcome {
    color: #0d5099;
    font-size: 26px;
    text-align: center;
    margin-top: 15px;
}

.forgot-password-link a {
    color: #0d5099;
    text-decoration: none;
    border-bottom: 1px dotted #0d5099;
}
    .forgot-password-link a:hover {
        color: #31b0d9;
        border-color: #31b0d9;
    }

.left-button-block {
    position: absolute;
    top: -64px;
    left: 0;
    white-space: nowrap;
}
    .left-button-block.single-button {
        top: -32px;
    }
    .data-table th .left-button-block a,
    .data-table .th .left-button-block a {
        box-sizing: border-box;
        line-height: 31px;
        border: 1px solid #83a6cc;
        border-width: 0 1px 1px 0;
        background: #0d5099;
        width: 160px;
    }
    .data-table th .left-button-block .left-offset,
    .data-table .th .left-button-block .left-offset {
        position: absolute;
        left: 100%;
        bottom: 0;
        border-width: 1px 1px 1px 0;
    }
.right-button-block {
    position: absolute;
    top: -64px;
    right: 0;
    white-space: nowrap;
    background: #0d5099;
}
    .data-table th .right-button-block a,
    .data-table .th .right-button-block a {
        line-height: 31px;
        padding: 0 20px;
        border-bottom: 1px solid #83a6cc;
    }
    .right-button-block.single-button {
        top: -32px;
    }

.image-select {
    width: 100%;
}
    .image-select td {
        text-align: center;
        vertical-align: middle;
        padding: 10px 1px;
    }
    .image-select a {
        margin: 2%;
        text-decoration: none;
    }
        .image-select a img {
            max-width: 165px;
            max-height: 230px;
        }
    .image-select .with-comment-count {
        position: relative;
    }

.home-page-section {
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid #0d5099;
}
    .home-page-section:last-of-type {
        padding-bottom: 10px;
    }
    .home-page-section form {
        display: table;
        width: 95%;
    }
        .home-page-section .form-row label {
            display: inline-block;
            width: 90px;
        }
        .home-page-section .form-row select {
            width: 320px;
        }
        
        .home-page-section .form-row input[type="submit"] {
            width: 160px;
            margin-bottom: 20px;
        }
        
    .home-page-section .left-options {
        display: table-cell;
        width: 65%;
        
    }
        .home-page-section.wide-button .left-options {
            width: 60%;
        }
    
    .home-page-section .right-submit {
        display: table-cell;
        text-align: right;
        vertical-align: middle;
        width: 35%;
    }
        .home-page-section.wide-button .right-submit {
            width: 40%;
        }
        .home-page-section.wide-button .form-row label {
            width: 120px;
        }
        .home-page-section.wide-button .form-row select {
            width: 240px;
        }
        .home-page-section.wide-button .form-row input[type="submit"] {
            width: 240px;
        }

.comment_count {
    display: inline;
    color: #fff;
    padding: 6px 9px;
    background: #ec5252;
    border-radius: 20px;
}
.image-select .comment_count {
    position: absolute;
    right: 25px;
    top: 15px;
}

.safety-offset {
    margin-top: 50px;
}

.link-button {
    color: #084f99;
    font-size: 14px;
    text-decoration: none;
    padding: 6px 10px;
    border: 1px solid #084f99;
    background-color: transparent;
}
    .link-button:hover {
        color: #fff;
        background: #084f99;
    }

.warning-button {
    color: #fff !important;
    background: #ce4b44 !important;
    border-color: #ce4b44 !important;
}
    .warning-button:hover {
        opacity: 0.8;
        filter: Alpha(Opacity=80);
    }

.text-block {
    line-height: 24px;
}

ul.admin-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
    ul.admin-list li {
        display: inline-block;
        padding: 0 0 25px;
        margin: 0;
    }
        ul.admin-list li a {
            display: inline-block;
            color: #084f99;
            font-size: 14px;
            text-decoration: none;
            width: auto;
            max-width: 100%;
            padding: 10px 20px;
            margin-right: 35px;
            border: 1px solid #084f99;
            background-color: transparent;
        }
            ul.admin-list li a:hover {
                color: #fff;
                background-color: #084f99;
            }
        ul.admin-list li:last-child a {
            margin-right: 0;
        }

a.expand-trigger {
        color: #0d5099;
        text-decoration: none;
    }
        a.expand-trigger:hover {
            text-decoration: underline;
        }

.explanation {
    display: block;
    color: #b1ceed;
    font-style: italic;
    margin-top: 4px;
}
    .explanation.warn {
        color: #fcabab;
    }

.being_edited {
    background: #cedae5;
}

.form-row {
    margin-bottom: 20px;
    width: 100%;
}
    .form-row label {
        display: block;
        color: #0d5099;
        margin-bottom: 4px;
    }
    .form-row label.inline {
        display: inline-block;
    }
    .form-row label.inline.option {
        margin-right: 30px;
    }
    
    .form-row .label_text {
        white-space: nowrap;
    }
    .form-row input[type="text"],
    .form-row input[type="password"],
    .form-row select,
    .form-row textarea {
        color: #333;
        width: 496px;
        max-width: 100%;
        padding: 10px;
        border: 1px solid #eee;
    }
        .form-row input.short-box[type="text"] {
            width: 47px;
            text-align: center;
        }
    .form-row select {
        font-size: 14px;
        width: 520px;
        padding: 8px 5px;
    }
        .form-row input[type="text"]:focus,
        .form-row input[type="password"]:focus,
        .form-row select:focus,
        .form-row textarea:focus {
            border-color: #0d5099;
        }
    .form-row input[type="submit"] {
        color: #084f99;
        font-size: 14px;
        width: 518px;
        max-width: 100%;
        padding: 10px;
        border: 1px solid #084f99;
        background-color: transparent;
    }
        .form-row input[type="submit"]:hover {
            color: #fff;
            background-color: #084f99;
        }
        .form-row input[type="submit"].adjacent-right {
            float: right;
            width: 100px;
        }
    .form-row .line {
        margin-bottom: 12px;
    }
    .form-row .short-box {
        margin: 0 5px;
    }
    .form-row .highlight {
        font-size: 16px;
        color: #084f99;
    }
    
    .form-row.cb-block input[type="checkbox"] {
        float: left;
        clear: both;
        margin-top: 0;
    }
    .form-row.cb-block .cb {
        margin: 0px 0 10px 25px;
    }
    
    #password_feedback {
        font-size: 0;
        margin: 0;
    }
        #pw_strength {
            display: inline-block;
            width: 516px;
            max-width: 100%;
            height: 5px;
            background: #fff;
            border: 1px solid #eee;
            border-width: 0 1px 1px;
        }
            #pw_strength.strength_0 {
                border-color: #dd3737;
            }
            #pw_strength.strength_1 {
                border-color: #d86c41;
            }
            #pw_strength.strength_2 {
                border-color: #f2a548;
            }
            #pw_strength.strength_3 {
                border-color: #a6c954;
            }
            #pw_strength.strength_4 {
                border-color: #3cd811;
            }

            #pw_strength .bar {
                float: left;
                height: 100%;
            }
                .strength_0 .bar {
                    width: 20%;
                    background: #dd3737;
                }
                .strength_1 .bar {
                    width: 40%;
                    background: #d86c41;
                }
                .strength_2 .bar {
                    width: 60%;
                    background: #f2a548;
                }
                .strength_3 .bar {
                    width: 80%;
                    background: #a6c954;
                }
                .strength_4 .bar {
                    width: 100%;
                    background: #3cd811;
                }
        #pw_description {
            display: block;
            font-size: 14px;
            color: #b1ceed;
            font-style: italic;
            margin-top: 4px;
        }
    
    #pupil_search_results {
        display: none;
        width: 492px;
        max-width: 100%;
        padding: 10px 12px 0px;
        margin: 10px 0 25px;
        border: 1px solid #0d5099;
        background: rgba(131,166,204,0.35); /* #83a6cc */
    }
        #pupil_search_results a {
            box-sizing: border-box;
            display: block;
            color: #0d5099;
            width: 100%;
            border: 1px solid #0d5099;
            background: #fff;
            margin: 0 0  10px;
            padding: 5px 10px;
            text-decoration: none;
        }
            #pupil_search_results a:hover {
                color: #fff;
                border-color: #0d5099;
                background: #0d5099;
            }

.search_results_block {
    height: auto;
    max-height: 350px;
    overflow-y: scroll;
}

#parent_search_results {
    display: none;
    width: 492px;
    max-width: 100%;
    padding: 10px 12px 0px;
    margin: 10px 0 25px;
    border: 1px solid #0d5099;
    background: #83a6cc;
}
        #parent_search_results a {
            box-sizing: border-box;
            display: block;
            color: #0d5099;
            width: 100%;
            border: 1px solid #0d5099;
            background: #fff;
            margin: 0 0  10px;
            padding: 5px 10px;
            text-decoration: none;
        }
            #parent_search_results a:hover {
                color: #fff;
                border-color: #0d5099;
                background: #0d5099;
            }

#child_list_holder {
    width: 516px;
    max-width: 100%;
    min-height: 34px;
}
.parent-list {
    border: 1px solid #eee;
    background: rgba(131,166,204,0.35);
}
    .parent-list .list-item {
        display: block;
        position: relative;
        color: #0d5099;
        margin: 5px;
        padding: 10px 80px 10px 14px;
        border: 1px solid #0d5099;
        background: #fff;
    }
        .parent-list .list-item a {
            text-decoration: none;
            color: #c40000;
            position: absolute;
            top: 10px;
            right: 14px;
            border-bottom: 1px dotted #c40000;
        }
            .parent-list .list-item a:hover {
                color: #83a6cc;
                border-bottom-color: #83a6cc;
            }
    .parent-list-potential {
        background: #ffd4d4;
    }
        .parent-list-potential .list-item {
            background: #fff8f8;
        }
        .parent-list-potential .unconfirmed-child a {
            display: inline;
            position: relative;
            top: auto;
            right: auto;
            color: #109310;
            border-bottom-color: #109310;
        }
.unconfirmed-child {
    margin: 18px 0;
}

.floating-button-holder {
    position: relative;
}
    .floating-button-holder .link-button {
        position: absolute;
        right: 0;
        top: -4px;
    }

.sub-nav {
    width: 100%;
    border-bottom: 1px solid #084f99;
    margin-bottom: 35px;
}
    .sub-nav a {
        color: #084f99;
        text-decoration: none;
        display: inline-block;
        padding: 8px 10px;
        background: #d5dfea;
        border: 1px solid #084f99;
        border-width: 1px 1px 0 1px;
        border-radius: 8px 8px 0 0;
    }
        .sub-nav a:hover,
        .sub-nav a.selected {
            color: #000;
            border-bottom: 1px solid #fff;
            margin-bottom: -1px;
            background: none;
        }

#item_sort_block .error {
    margin-bottom: 15px;
}

.padded-block {
    display: block;
    margin-bottom: 15px;
}
    .padded-block--bordered {
        padding-bottom: 20px;
        border-bottom: 1px solid #084f99;
    }

.portlet {
    border: 1px solid #0d5099;
    margin: 0 0 15px;
    background: #fff;
}
    .portlet .portlet-header {
        height: 30px;
        padding: 0 20px 0 65px;
        background: #83a6cc url('/resources/images/reorder-dragger.png') 10px center no-repeat;
        background-size: 40px 22px;
        border-bottom: 1px solid #084f99;
        cursor: move;
    }
        .portlet .portlet-header span {
            line-height: 30px;
            font-size: 18px;
        }
    .portlet-content table {
        width: 100%;
        border-spacing: 0;
    }
    .portlet-content td {
        padding: 0;
    }
    .portlet .text {
        display: block;
        padding: 10px;
    }
    .portlet-button {
        width: 120px;
        text-align: center;
        vertical-align: middle;
    }
        .portlet-button a {
            display: block;
            color: #fff;
            text-decoration: none;
            line-height: 40px;
            width: 100%;
            height: 100%;
        }
            .portlet-button a:hover {
                opacity: 0.8;
                filter: Alpha(Opacity=80);
            }
            .portlet-button a.edit {
                background: #31b0d9;
            }    
            .portlet-button a.delete {
                background: #ce4b44;
            }
    .portlet-placeholder {
        border: 1px solid #0d5099;
        margin: 0 0 20px 0;
        width: 100%;
        height: 110px;
        background: rgba(13,80,153,0.35); /* #0d5099 */
    }

.printer-bw-holder {
    position: absolute;
    top: -144px;
    left: 0;
    color: #fff;
    background: #83a6cc;
    border: 1px solid #0d5099;
    border-width: 0 1px 1px 0;
    padding: 5px 10px 5px 5px;
}
    .printer-bw-holder.second-row {
        top: -112px;
    }

.sp-edit-block {
    display: inline-block;
    margin-right: 20px;
}
span.label {
    color: #0d5099;
    font-style: italic;
}

.edit-list .row {
    display: table;
    width: 100%;
    margin: 0 0 15px;
    background: #fff;
    border: 1px solid #0d5099;
}
    .edit-list .value {
        display: table-cell;
        text-align: left;
        vertical-align: middle;
        padding: 5px 10px;
    }
    .edit-list .button {
        width: 120px;
        display: table-cell;
        text-align: center;
        vertical-align: middle;
    }
        .edit-list .button a {
            display: block;
            color: #fff;
            text-decoration: none;
            line-height: 40px;
            width: 100%;
            height: 100%;
        }
            .edit-list .button a:hover {
                opacity: 0.8;
                filter: Alpha(Opacity=80);
            }
            .edit-list .button a.edit {
                background: #31b0d9;
            }
            .edit-list .button a.delete {
                background: #ce4b44;
            }

.db-list {
    padding-left: 30px;
    margin-left: 30px;
    border-left: 1px solid #035299;
}
    .db-list li {
        color: #035299;
        line-height: 30px;
    }
    .db-list li a {
        color: #035299;
        text-decoration: none;
        border-bottom: 1px dotted #035299;
    }
        .db-list li a:hover {
            color: #83a6cc;
            border-bottom-color: #83a6cc;
        }
ul.db-list.restore {
    list-style: none;
    padding-left: 10px;
}
    ul.db-list.restore label {
        display: inline-block;
    }

.subject {
    position: absolute;
    left: 50%;
    top: -50px;
    font-size: 19px;
    color: #fff;
    text-align: center;
    width: 200px;
    margin-left: -100px;
    padding-top: 15px;
    border-top: 1px solid #fff;
}

.historic_year_label {
    position: fixed;
    top: 50%;
    left: 0;
    color: #035299;
    font-size: 20em;
    font-weight: bold;
    width: 100%;
    text-align: center;
    margin-top: -0.4em;
    opacity: 0.08;
    filter: Alpha(Opacity=8);
    z-index: 0;
}

.edit-box-year {
    display: inline-block;
    color: #0d5099;
    font-weight: bold;
    padding: 7px 12px 5px;    
    background: #83a6cc;
    border: 3px solid #0d5099;    
    border-radius: 10px;
}

.edit-mode,
.edit-mode.false:hover {
    display: inline-block;
    color: #fff;
    padding: 5px 12px;    
    background: #0d5099;
    border: 3px solid #0d5099;
    border-radius: 6px;
}
    .edit-mode.false {
        color: #83a6cc;
        background: #fff;
        border: 3px solid #83a6cc;
    }
.lock {
    white-space: nowrap;
}
    .lock div {
        display: inline-block;
        width: 24px;
        height: 24px;
        margin: 3px 3px 0;
        border: 3px solid #83a6cc;
        border-radius: 6px;
    }
.horizontal_lock {
    background: url('/resources/images/lock-sprite.png') 4px -34px no-repeat;
}
    .horizontal_lock.active,
    .horizontal_lock:hover {
        background-position: -36px -34px;
    }
.vertical_lock {
    background: url('/resources/images/lock-sprite.png') 4px 2px no-repeat;
}
    .vertical_lock.active,
    .vertical_lock:hover {
        background-position: -36px 2px;
    }

.freeze_column {
    background: url('/resources/images/lock-sprite.png') 4px -34px no-repeat;
}
    .freeze_column.active,
    .freeze_column:hover {
        background-position: -36px -34px;
    }
.freeze_row {
    background: url('/resources/images/lock-sprite.png') 5px 2px no-repeat;
}
    .freeze_row.active,
    .freeze_row:hover {
        background-position: -35px 2px;
    }

.edit-fix-block {
    display: none;
    position: absolute;
    top: -1px;
    left: -1px;
    width: 115px;
    height: 64px;
    background: #fafafa;
    border: 1px solid #0d5099;
    z-index: 30;
}

.freeze_row_substitute,
.freeze_column_substitute {
    display: none;
}
.freezing_row .freeze_row_substitute {
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    margin-top: 0;
    z-index: 35;
}
.freezing_column .freeze_column_substitute {
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    min-width: auto;
    z-index: 25;
}

.data-table {
    position: relative;
    min-width: 100%;
    margin: -4px auto;
    border: 4px solid #0d5099;
    border-width: 4px 0;
}
    .data-table thead,
    .data-table thead td,
    .data-table thead .enforce-background,
    .data-table td.th,
    .data-table td.th-no-print,
    .data-table td.tf {
        color: #fff;
        background: #0d5099;
    }
        .data-table td.th-light,
        .data-table td.th-light-no-print {
            color: #fff;
            background: rgba(13, 80, 153, 0.75); /* #0d5099 */
        }
        .data-table th {
            font-weight: 400;
            padding: 5px 10px;
        }
            .data-table th.right-border {
                border-right: 1px solid #83a6cc;
            }
            .data-table th.thick-right-border {
                border-right: 2px solid #83a6cc;
            }
            .data-table th a,
            .data-table td.th-no-print a,
            .data-table .th a {
                display: block;
                color: #fff;
                text-decoration: none;
                border-bottom: 1px dotted #fff;
            }
                .data-table th a:hover,
                .data-table td.th-no-print a:hover,
                .data-table .th a:hover {
                    color: #83a6cc;
                    border-bottom-color: #83a6cc;
                }
        .data-table th.plain-background {
            background: rgb(250, 250, 250);
        }
            .data-table.assessment-tracker th.plain-background {
                padding: 5px;
            }
            .data-table.assessment-tracker .col_1 a {
                color: #0d5099;
                border-bottom: 1px dotted #0d5099;
                text-decoration: none;
            }
                .data-table.assessment-tracker .col_1 a:hover {
                    color: #6591bf;
                    border-bottom: 1px solid #6591bf;
                }
        .data-table .edit-padded {
            padding: 20px 0;
        }
        .data-table th.table-text-box {
            width: 50%;
        }
        
    .data-table th.focus,
    .data-table th.selected {
        background: #83a6cc;
        cursor: pointer;
    }
        .data-table th.asc:after {
            content: "\25B2";
        }
        .data-table th.desc:after {
            content: "\25BC";
        }
    .data-table .th.padded {
        padding-top: 10px;
        padding-bottom: 10px;
    }
        
    .data-table td {
        text-align: center;
        vertical-align: middle;
        padding: 5px 10px;
        border: 1px solid #0d5099;
        border-width: 1px 1px 0 0;
        background: rgba(250, 250, 250, 0.85); /* #fafafa */
    }
        .data-table td:first-child {
            border-left: 1px solid #0d5099;
        }
        .data-table td.no-left-border {
            border-left: none;
        }
        .data-table td.thick-right-border {
            border-right-width: 2px;
        }
        .data-table td.vertical-top {
            border-width: 1px 1px 0 0;
        }
        .data-table td.vertical {
            border-width: 0 1px 0 0;
        }
        .data-table td.inactive {
            color: #8f8f8f;
            background: rgba(200, 200, 200, 0.8); /* #c8c8c8 */
        }
        .data-table .inactive td {
            background: rgba(200, 200, 200, 0.8); /* #c8c8c8 */
        }
            .freeze_column_substitute .inactive td {
                background: rgb(200, 200, 200);
            }
        .data-table td.has-sub {
            border: 0;
            padding: 0;
        }
        .data-table td.absolute {
            position: absolute;
        }
            .data-table td.absolute.clean {
                margin: 1px 0 0 1px;
                background: none;
                border: none;
            }
    .data-table .no-right-border {
        border-right: none;
    }
    .data-table .no-top-border {
        border-top: none;
    }
    .data-table .summary_cell {
        line-height: 18px;
        padding: 8px 7px 4px;
        border-top: 1px solid #366eaa;
    }
        .data-table .summary_cell.border-right {
            border-right: 1px solid #366eaa;
        }
    .data-table .field-th {
        font-size: 16px;
        padding: 16px 10px;
    }
    .data-table .left {
        text-align: left;
    }
    .data-table .centered {
        text-align: center;
        vertical-align: middle;
    }
    .data-table .right {
        text-align: right;
    }

    .data-table .tfoot span {
        display: none;
    }
        .data-table span.achieved,
        .data-table.show_pupil_cross .pupil_cross,
        .data-table.show_pupil_slash .pupil_slash,
        .data-table.show_pupil_dot .pupil_dot {
            display: block;
        }

    .data-table--space-after {
        margin-bottom: 30px;
    }

.data-table .subtitle {
    line-height: 24px;
}

.data-table .no-padding {
    padding: 0;
}

.data-table div.offset-inline {
    display: inline-block;
    margin-left: 15px;
}

.data-table div.summary,
.data-table div.mark {
    box-sizing: border-box;
    line-height: 24px;
}
.data-table input.mark,
.data-table input.summary,
.data-table input.tracker,
.data-table input.mini_sub {
    box-sizing: border-box;
    text-align: center;
    width: 34px;
    height: 21px;
    line-height: 14px;
    border: 1px solid #83a6cc;
    background: #fcfcfc;
}
    .data-table input.summary {
        background: rgba(131, 166, 204, 0.75);
    }
    .data-table.edit div.summary,
    .data-table input.summary,
    .data-table select.mark,
    .data-table.edit div.mark,
    .data-table input.mark,
    .data-table.edit div.tracker,
    .data-table input.mini_sub,
    .data-table.edit div.mini_sub {
        display: none;
    }

    .data-table div.summary {
        display: block;
    }
        .data-table div.tb.summary {
            text-align: left;
        }
    .data-table div.mark {
        display: block;
        text-transform: uppercase;
    }
    .data-table div.tracker {
        display: block;
    }
    .data-table.edit select.mark,
    .data-table.edit input.summary,
    .data-table.edit textarea.summary,
    .data-table.edit input.mark,
    .data-table.edit input.tracker,
    .data-table.edit input.mini_sub {
        display: inline-block;
        -webkit-box-shadow: 6px 6px 7px 0px rgba(0,0,0,0.15);
        -moz-box-shadow: 6px 6px 7px 0px rgba(0,0,0,0.15);
        box-shadow: 6px 6px 7px 0px rgba(0,0,0,0.15);    
    }
        .data-table.edit input.summary.error,
        .data-table.edit input.mark.error,
        .data-table.edit input.tracker.error,
        .data-table.edit input.mini_sub.error {
            margin: 0;
            background: rgba(242, 138, 145, 0.65); /* #f28a91 */
        }
    .data-table td.green,
    .data-table td.mini_sub.colour.x,
    .data-table td.mark-block.x {
        background: rgba(81, 173, 113, 0.65); /* #51ad71 */
    }
        .data-table .inactive td.green {
            background: rgba(77, 127, 94, 0.60); /* #4d7f5e */
        }
    .data-table td.mini_sub.colour.slash,
    .data-table td.mark-block.slash {
        background: rgba(229, 215, 66, 0.65); /* #e5d742 */
    }
    .data-table td.red,
    .data-table td.mini_sub.colour.dot,
    .data-table td.mark-block.dot {
        background: rgba(224, 65, 65, 0.65); /* #e04141 */
    }
        .data-table .inactive td.red {
            background: rgba(188, 100, 100, 0.65); /* bc6464 */
        }
    .data-table td.inactive {
        color: #555;
    }
        .data-table td.inactive.dot {
            background: rgba(188, 100, 100, 0.65); /* bc6464 */
        }
        .data-table td.inactive.slash {
            background: rgba(206, 192, 66, 0.5); /* #cec042 */
        }
        .data-table td.inactive.x {
            background: rgba(77, 127, 94, 0.60); /* #4d7f5e */
        }
    .data-table textarea.summary {
        width: 100%;
        height: 70px;
    }
    .data-table td.criteria {
        padding: 10px;
    }
    .data-table td.orange {
        white-space: nowrap;
        background: rgba(255, 185, 81, 0.65); /* #ffb951 */
    }
        .data-table .inactive td.orange {
            background: rgba(206, 159, 92, 0.65); /* #ce9f5c */
        }
    .data-table td.blue {
        background: rgba(13, 80, 153, 0.65); /* #0d5099 */
    }
        .data-table .inactive td.blue {
            background: rgba(76, 124, 178, 0.75); /* #4c7cb2 */
        }

/*
V2
 */
.form-group select,
.form-group input {
    margin-right: 8px;
}
.form-group .button {
    font-size: 14px;
    color: #084f99;
    line-height: 18px;
    padding: 0 7px 3px;
    border: 2px solid #83a6cc;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}
.form-group .button:hover {
    color: #fff;
    border-color: #084f99;
    background: #084f99;
}

.table-actions {
    background: #fff;
    border: 2px solid #0d5099;
    border-radius: 0 10px 0 0;
    border-width: 3px 3px 0 0;
    padding: 10px;
    position: absolute;
    top: -56px;
    white-space: nowrap;
    z-index: 100;
}
    .table-actions div {
        vertical-align: bottom;
    }
    .table-actions .button {
        display: inline-block;
        width: 24px;
        height: 24px;
        margin: 3px 3px 0;
        border: 3px solid #83a6cc;
        border-radius: 6px;
        cursor: pointer;
    }
        .table-actions .button.active,
        .table-actions .button:hover {
            border-color: #0d5099;
            background-color: #0d5099;
        }
.toggle-edit-mode,
.toggle-edit-mode.false:hover {
    display: inline-block;
    color: #fff;
    padding: 5px 12px;
    background: #0d5099;
    border: 3px solid #0d5099;
    border-radius: 6px;
    margin-right: 3px;
    cursor: pointer;
}
    .toggle-edit-mode.false {
        color: #83a6cc;
        background: #fff;
        border: 3px solid #83a6cc;
    }

.display_filters {
    background: #fff url('/resources/images/filter-button.png') 6px 5px no-repeat;
}
    .display_filters:hover {
        border-color: #0d5099;
        background-color: #0d5099;
        background-position: -34px 5px;
    }
    .display_filters.opened {
        background-position: 5px -34px;
    }
        .display_filters.opened:hover {
            background-position: -35px -34px;
        }

#marks_sheet.frozen_rows .freezable-row {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0d5099;
}
#marks_sheet.frozen_columns .freezable-column {
    position: sticky;
    left: 0;
    z-index: 999;
    background: #fff;
}

#filters_container {
    display: none;
    box-sizing: border-box;
    color: #000;
    width: 100%;
    padding: 10px 18px;
    text-align: left;
    background: #fff;
}

.filter-block {
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 8px 0 rgba(0,0,0,0.5);
    -moz-box-shadow: 0 0 8px 0 rgba(0,0,0,0.5);
    margin: 14px 0;
    padding: 12px;
}
    .filter-block #filter_form {
        padding: 5px 10px 5px 0;
        border: none;
    }
    .filter-block h3 {
        margin: 0 0 5px;
    }
    .filter-block table {
        border-collapse: collapse;
        width: 100%;
    }
    .filter-block table td {
        background: #fff;
        border: none;
        padding: 0;
        text-align: left;
        vertical-align: top;
    }
    .filter-block table td:first-child {
        border: 1px solid #83a6cc;
        border-width: 0 1px 0 0;
        width: 1%;
        white-space: nowrap;
    }
    .filter-block table td:last-child {
        padding-left: 10px;
        width: 99%;
    }
    .filter-block #filter_list .filter {
        margin: 5px 10px 5px 0;
    }
.include-inactive-filter {
    display: block;
    color: #000;
    margin-top: 5px;
}

.data-table .class-count {
    padding: 12px;
    white-space: nowrap;
    border-bottom: 1px solid #83a6cc;
}

.data-table .name {
    text-align: left;
    white-space: nowrap;
}

.data-table .background-save {
    box-sizing: border-box;
    text-align: center;
    width: 34px;
    height: 21px;
    line-height: 14px;
    border: 1px solid #83a6cc;
    background: #fcfcfc;
}
    .data-table .saved-value {
        display: block;
    }
    .data-table.edit .saved-value {
        display: none;
    }

    .data-table.edit .background-save {
        display: inline-block;
        -webkit-box-shadow: 6px 6px 7px 0px rgba(0,0,0,0.15);
        -moz-box-shadow: 6px 6px 7px 0px rgba(0,0,0,0.15);
        box-shadow: 6px 6px 7px 0px rgba(0,0,0,0.15);
    }
        .data-table.edit .background-save.error {
            margin: 0;
            background: rgba(242, 138, 145, 0.65); /* #f28a91 */
        }



.data-table .format-pj.wae {
    background: #009b21;
}
.data-table .format-pj.wwe {
    background: #96e8ad;
}
.data-table .format-pj.wte {
    background: #fff69b;
}
.data-table .format-pj.wbe {
    background: #ff9191;
}
.data-table .format-pj.wp {
    background: #7fb8ff;
}

/*
V2 END
 */
.cell_label {
    display: block;
}
.report_labels span {
    display: none;
}
    .report_labels span.display {
        display: block;
    }
.cell_total {
    display: block;
}
.report_breakdowns {
    display: block;
    color: #8dc3ff;
    font-style: italic;
    margin-left: 10px;
}
    .report_breakdowns span {
        display: none;
    }
    .report_breakdowns span.display {
        display: block;
    }

.pupil_report_block.desize-1,
.pupil_report_block.desize-1 .data-table div.summary,
.pupil_report_block.desize-1 .data-table div.mark {
    font-size: 13px;
    line-height: 22px;
}
.pupil_report_block.desize-2,
.pupil_report_block.desize-2 .data-table div.summary,
.pupil_report_block.desize-2 .data-table div.mark {
    font-size: 12px;
    line-height: 20px;
}
.pupil_report_block.desize-3,
.pupil_report_block.desize-3 .data-table div.summary,
.pupil_report_block.desize-3 .data-table div.mark {
    font-size: 11px;
    line-height: 18px;
}
.pupil_report_block.desize-4,
.pupil_report_block.desize-4 .data-table div.summary,
.pupil_report_block.desize-4 .data-table div.mark {
    font-size: 10px;
    line-height: 16px;
}
.pupil_report_block.desize-5,
.pupil_report_block.desize-5 .data-table div.summary,
.pupil_report_block.desize-5 .data-table div.mark {
    font-size: 9px;
    line-height: 14px;
}
.pupil_report_block.desize-6,
.pupil_report_block.desize-6 .data-table div.summary,
.pupil_report_block.desize-6 .data-table div.mark {
    font-size: 8px;
    line-height: 12px;
}

.pupil_report_block {
}

#report-attributes .th {
    width: 42%;
}
#report-attributes tr:first-child td {
    border-top: none;
}
#report-attributes .mark-block {
    width: 8%;
}

td.spacing-td {
    height: 10px;
}

.signature-holder {
    width: 100%;
}
.signature-block {
    width: 96%;
    padding: 0 10px;
    margin: 85px auto 20px auto;
}
    .signature-block .left {
        text-align: left;
    }
    .signature-block .right {
        text-align: right;
    }

table.sub {
    width: 100%;
    height:100%;
    border: none;
    border-spacing: 0;
}
    table.sub span {
        display: block;
        font-style: italic;
        margin: 5px;
    }
table .divided-sub-container {
    padding: 0;
}
table .divided-sub {
    width: 100%;
    margin-top: 20px;
    border-top: 1px solid #0d5099;
}
    table .divided-sub td:first-child {
        border-left: none;
    }
    table .divided-sub td:last-child {
        border-right: none;
    }
table .divided-sub.padded-bottom {
    margin-bottom: 20px;
    border-bottom: 1px solid #0d5099;
}
    table .divided-sub.padded-bottom.no-header {
        border-top: none;
    }

table .divided-sub.clean-top {
    border-top: none;
    margin-top: 0;
}

.data-table tr.sub-th td {
    background: rgba(13, 80, 153, 0.6); /* #0d5099 */
}

.freeze_row_substitute.class-record {
    border-top: 4px solid #0d5099;
}

.freeze_row_substitute {
    table-layout: fixed;
    border: none;
}
    .freeze_row_substitute th {
        box-sizing: border-box;
    }
.freeze_column_substitute {
    table-layout: fixed;
    border: none;
}
    .freeze_column_substitute td {
        background: rgb(250, 250, 250);
        box-sizing: border-box
    }

.freeze_row_primary .full,
.freeze_row_substitute .regular {
    display: none;
}
    .freeze_row_primary .regular,
    .freeze_row_substitute .full {
        display: block;
    }
.freeze_row_primary.column_headers {
    height: 40px;
}

#display_filter_button {
    display: block;
    width: 24px;
    height: 24px;
    border: 3px solid #83a6cc;
    border-radius: 6px;
    background: #fff url('/resources/images/filter-button.png') 6px 5px no-repeat;
}
    #display_filter_button.open.active,
    #display_filter_button.open:hover {
        border-color: #fff;
        background-color: #0d5099;
        background-position: -35px 5px;
    }
    #display_filter_button.close {
        background-position: 5px -34px;
    }
        #display_filter_button.close.active,
        #display_filter_button.close:hover {
            border-color: #fff;
            background-color: #0d5099;
            background-position: -35px -34px;
        }
#schools_filter_block {
    position: relative;
    float: left;
    padding: 0 45px 5px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #0d5099;
}
    .schools-filter-row {
        clear: both;
        float: left;
    }
        .schools-filter-row .item {
            display: inline-block;
            color: #0d5099;
            padding: 3px 5px;
            margin: 0 5px 5px 0;
            border-radius: 3px 3px 3px 3px;
            background: rgba(250, 250, 250, 0.4);
        }
            .schools-filter-row .item.active {
                display: inline-block;
                color: #0d5099;
                padding: 3px 5px;
                margin: 0 5px 5px 0;
                border: 1px solid #83a6cc;
                border-radius: 3px 3px 3px 3px;
                background: rgba(250, 250, 250, 0.8);
            }
    #schools_filter_submit {
        position: absolute;
        right: 0;
        top: 50%;
        display: inline-block;
        color: #83a6cc;
        line-height: 18px;
        font-size: 18px;
        text-align: center;
        text-decoration: none;
        padding: 3px 5px;
        margin: -18px 0 0 0;
        background: #fff;
        border: 3px solid #83a6cc;
        border-radius: 8px;
        width: 15px;
        height: 18px;
    }
        #schools_filter_submit:hover {
            color: #fff;
            background: #0d5099;
            border-color: #0d5099;
        }
#filters_row {
    display: none;
    box-sizing: border-box;
    color: #000;
    width: 100%;
    padding: 10px;
    text-align: left;
}
    #filter_list .filter {
        display: inline-block;
        color: #0d5099;
        line-height: 21px;
        border: 2px solid #0d5099;
        border-radius: 5px;
        padding: 8px 10px;
        margin: 10px 10px 0 0;
        background: rgba(13, 80, 153, 0.15); /* #0d5099 */
    }
        #filter_list .filter .remove {
            display: inline-block;
            margin: 0 0 -5px 10px;
            background: #fff url('/resources/images/close-filter.png') 4px 2px no-repeat;
            border: 3px solid #83a6cc;
            border-radius: 4px;
            width: 21px;
            height: 18px;
        }
            #filter_list .filter .remove:hover {
                border-color: #0d5099;
                background-color: #0d5099;
                background-position: -15px 2px;
            }
    .include-active-filter {
        display: inline-block;
        color: #0d5099;
        padding-left: 20px;
        margin-left: 20px;
        border-left: 1px solid #0d5099;
    }


/* Style for the tooltip text */
#tooltip {
    width: 150px;
    background-color: #fff;
    color: #000;
    text-align: center;
    line-height: 18px;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-40%) translateY(-115%);
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 8px 0 rgba(0,0,0,0.5);
    -moz-box-shadow: 0 0 8px 0 rgba(0,0,0,0.5);
    border: 1px solid #0d5099;
}

/* Create a triangular arrow for the tooltip */
#tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border-width: 6px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    transform: translateX(-50%);
}


#filter_form {
    padding-bottom: 10px;
    border-bottom: 1px solid #0d5099;
}
    #filter_form select {
        margin-right: 8px;
    }
    #filter_value {
        box-sizing: border-box;
        padding: 3px;
        height: 25px;
        margin-right: 8px;
        border: thin solid #084f99;
    }
    #filter_add {
        font-size: 14px;
        color: #084f99;
        line-height: 18px;
        padding: 0 7px 3px;
        border: 2px solid #83a6cc;
        border-radius: 5px;
        background: #fff;
        cursor: pointer;
    }
        #filter_add:hover {
            color: #fff;
            border-color: #084f99;
            background: #084f99;
        }

#include_inactive_slideout {
    position: absolute;
    left: 160px;
    bottom: 0;
    height: 31px;
    border: 1px solid #83a6cc;
    border-width: 0 1px 1px 0;
    border-radius: 0;
    background: #0d5099;
}
    .single-button #include_inactive_slideout {
        left: 160px;
        bottom: 0;
    }
    #display_inactive_button {
        float: left;
        box-sizing: border-box;
        padding: 5px;
    }
        #display_inactive_button a {
            float: left;
            width: 24px;
            height: 22px;
            background: #fff url('/resources/images/sub-filter-button.png') 5px 4px no-repeat;
            vertical-align: middle;
        }
            #display_inactive_button a.open.active,
            #display_inactive_button a.open:hover {
                border-color: #fff;
                border-width: 1px 1px 1px 1px;
                background-color: #0d5099;
                background-position: -36px 3px;
            }
            #display_inactive_button a.close {
                background-position: 5px -36px;
            }
                #display_inactive_button a.close.active,
                #display_inactive_button a.close:hover {
                    border-color: #fff;
                    border-width: 1px 1px 1px 1px;
                    background-color: #0d5099;
                    background-position: -36px -37px;
                }
    #include_inactive_slideout .content {
        display: inline-block;
        line-height: 31px;
        width: 0;
        height: 31px;
        overflow: hidden;
        text-align: center;
        background: #0d5099;
    }

#selected_years {
    display: block;
    color: #83a6cc;
    text-align: center;
    width: 60px;
    padding: 3px;
    border: 3px solid #83a6cc;
    border-radius: 6px;
    background: #fff;
}
    #selected_years:hover {
        color: #fff;
        background: #0d5099;
        border: 3px solid #fff;
    }
#year_selector {
    position: absolute;
    left: 10px;
    top: 10px;
    white-space: nowrap;
    padding: 10px 0 10px 10px;
    background: #fff;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    border-radius: 5px;
}
    #year_selector input[type="checkbox"] {
        position: absolute;
        left: -999px;
    }
    #year_selector a {
        display: inline-block;
        color: #83a6cc;
        padding: 3px 5px;
        margin: 0 10px 0 0;
        background: #fff;
        border: 3px solid #83a6cc;
        border-radius: 8px;
    }
        #year_selector a.selected, #year_selector a:hover {
            color: #fff;
            background: #0d5099;
            border: 3px solid #0d5099;
        }

.pupil_total_button {
    text-decoration: none;
    padding: 2px 8px;
    border: 1px solid #83a6cc;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.65);
}
    .show_pupil_cross .cross_total_button,
    .show_pupil_slash .slash_total_button,
    .show_pupil_dot .dot_total_button {
        color: #fff;
        background: #0d5099;
        border-color: #0d5099;
    }

ul.import li {
    color: #75a887;
}
    ul.import .parse_error {
        color: #990707;
    }
    ul.import .parse_warning {
        color: #9584cc;
    }
    ul.import .no-change {
        color: #aeb0af;
    }

.footer {
    width: 100%;
    min-width: 740px;
    margin-bottom: 30px;
}
