* {
    padding: 0;
    margin: 0;
}

body {
    font-size: 13px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif,'Helvetica Neue',Helvetica,Arial,sans-serif;
    line-height: 1.2;
    background-color: #F2F2F2;
    color: #000;
}

p {
    margin: 10px 0;
}

img {
    border: 0;
}

h1 {
    font-size: 1.8em;
    font-weight: 500;
    padding: 10px 0 10px 0;
}

h2 {
    font-size: 1.5em;
    font-weight: 500;
    padding: 7px 0 7px 0;
}

h3 {
    font-size: 1.3em;
    font-weight: 500;
    padding: 5px 0 5px 0;
}

h4 {
    font-size: 1.1em;
    font-weight: 500;
    font-size: 13px;
    font-weight: bold;
}

ul {
    list-style-type: square;
    list-style-position: inside;
}

a, a:link, a:visited, a:focus, a:active {
    color: #000;
    background-color: transparent;
}

.main {
    display: block;
    position: relative;
    margin: 0 0;
    color: #000;
    padding: 0 20px;
}

#head {
    color: #FFF;
    background: #3f3f37;
    background: linear-gradient(0deg, #3f3f37,#3f3f37 80%);
    height: 50px;
    overflow: hidden;
}

#head_logo {
    float: left;
    height: 50px;
    width: 50px;
    background: url("../images/cxlogo.png?v=1.0");
}

#head_claim {
    float: left;
    height: 50px;
    line-height: 50px;
    margin: 0 10px;
    font-size: 30px;
    font-weight: 100;
    display: none;
}

#head_menu {
    display: block;
}

    #head_menu ul {
        list-style: none;
        margin: 0;
        padding: 0 0 0 30px;
        overflow: hidden;
    }

    #head_menu li {
        float: left;
        margin: 0;
        padding: 0;
    }

        #head_menu li a {
            display: block;
            text-decoration: none;
            margin: 0;
            padding: 0 5px;
            height: 50px;
            background: #3f3f37;
            transition: all 0.4s ease;
        }

            #head_menu li a img {
                width: 24px;
                height: 24px;
                padding-top: 13px;
                margin-right: auto;
                display: block;
                margin-left: auto;
            }

            #head_menu li a span {
                font-size: 0.9em;
                display: none;
                text-align: center;
                color: white;
                height: 20px;
                line-height: 20px;
            }

            #head_menu li a:hover {
                background: #878472;
                text-shadow: 1px 1px 4px #000;
            }

#content {
    clear: both;
    min-height: 500px;
    background-color: #FFF;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow-x: auto;
}

#footer {
    color: #d6d6b1;
    display: block;
    background: #3f3f37;
    font-size: 1em;
    font-weight: 300;
    line-height: 2em;
    text-align: left;
    overflow: auto;
}

    #footer .logininfo {
        float: right;
    }


#bottom {
    color: #3f3f37;
    text-align: right;
    font-size: 0.9em;
    font-weight: 200;
    padding-top: 30px;
    min-height: 40px;
}

    #bottom a, #footer a {
        color: #FFF;
        background-color: transparent;
    }

@media only screen and (min-width: 500px) {
    .main {
        padding: 0 40px;
    }

    #head_menu li a span {
        display: block;
    }

    #head_menu li a img {
        padding-top: 3px;
    }
}

@media only screen and (min-width: 800px) {
    .main {
        padding: 0 80px;
    }

    #head_claim {
        display: inline;
    }
}

.form {
    position: relative;
    display: block;
    margin: 30px 0;
}

.formrow {
    position: relative;
    display: block;
    margin: 10px 0;
}

    .formrow.space {
        margin: 20px 0;
    }

.form label {
    position: relative;
    display: block;
    margin: 4px 0;
}

.form textarea,
.form input[type='text'],
.form input[type='email'],
.form input[type='password'],
.form input[type='file'] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif,'Helvetica Neue',Helvetica,Arial,sans-serif;
    font-weight: normal;
    padding: 5px;
    margin-right: 0;
    border: solid 1px #878472;
    width: 240px;
    border-radius: 3px;
    max-width: 100%;
    box-sizing: border-box;
}

    .form textarea:focus,
    .form input[type='text']:focus,
    .form input[type='password']:focus,
    .form input[type='file']:focus {
        border-color: #494331;
    }


.form button,
.form input[type='submit'],
.form input[type='reset'],
.form input[type='button'] {
    padding: 10px 20px;
    -webkit-appearance: none;
    background: #de541e;
    border: 1px solid #494331;
    color: #FFFFFF;
    border-radius: 3px;
}

    .form button:active,
    .form input[type='submit']:active,
    .form input[type='reset']:active,
    .form input[type='button']:active {
        padding: 10px 20px;
        -webkit-appearance: none;
        background: #de541e;
        border: 1px solid #494331;
        background: #fa4202;
    }


.error {
    display: block;
    border: solid 1px red;
    color: Red;
    background-color: transparent;
    padding: 5px;
}

.pupilinfo img {
    height: 1em;
}

.pupilinfo table {
    border: solid 1px #1B2E3D;
    border-collapse: collapse;
    width: 100%;
    empty-cells: show;
}

    .pupilinfo table th, .pupilinfo table td {
        border: solid 1px #3f3f37;
        padding: 5px;
    }

    .pupilinfo table th {
        background-color: #d6d6b1;
        color: #3f3f37;
        padding: 5px 10px;
        font-weight: 600;
    }

    .pupilinfo table td.hover:hover {
        color: #000;
        background-color: #8996A6;
        cursor: default;
    }

.panel-hint {
    border: 1px solid #bce8f1;
}

.panel-hint h1, 
.panel-hint h2, 
.panel-hint h3, 
.panel-hint h4 {
    margin: 0;
    padding: 10px;

}
    .panel-hint h1 {
        background: #d9edf7;
        font-size: 1em;
        font-weight: 500;
        color: #31708f;
    }

    .panel-hint h2 {
        background: #d9edf7;
        font-size: 1em;
        font-weight: 400;
        color: #31708f;
    }

    .panel-hint p, .panel-hint ul {
        padding: 0 10px;
    }

        .panel-hint p:first-child {
            padding-top: 10px;
        }

        .panel-hint p:last-child {
            padding-bottom: 10px;
        }

.panel-error {
    border: 1px solid#ebccd1;
}

    .panel-error h1, .panel-error h2 {
        background: #f2dede;
        font-size: 1em;
        font-weight: 400;
        color: #a94442;
        margin: 0;
        padding: 10px;
    }

    .panel-error p, .panel-error ul {
        padding: 0 10px;
    }

        .panel-error p:first-child {
            padding-top: 10px;
        }

        .panel-error p:last-child {
            padding-bottom: 10px;
        }

@media print {
    #head {
        display: none;
        visibility: collapse;
    }

    #footer {
        display: none;
        visibility: collapse;
    }

    #bottom {
        display: none;
        visibility: collapse;
    }

    #wrapper {
        border: none;
        width: 100%;
    }

    #content {
        padding: 0px;
    }
}
