﻿@charset "utf-8";
/* ===[ tables / grids / floats / alignment ]=== */
.wrapper {
    width: 100%;
    overflow: auto;
}

.wrapperContainX {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: hidden;
}

table {
    width: 100%;
    border: none;
    border-collapse: collapse;
}

    table td {
        line-height: 24px;
    }

.gridview td {
    line-height: inherit;
}

table td, .gridview td {
    height: 22px;
    text-align: left;
    vertical-align: top;
}

table td {
    padding: 0;
}

.cellpadding2, table.cellpadding2 td {
    padding: 2px;
}

.cellspacing2, table.cellspacing2 td {
    border-spacing: 2px;
}

.alignleft, table td.alignleft, table th.alignleft {
    text-align: left;
}

.alignright, table td.alignright, table th.alignright {
    text-align: right;
}

.aligncenter, table td.aligncenter, table th.aligncenter {
    text-align: center;
}

.vtop, table td.vtop {
    vertical-align: top;
}

.vmiddle, table td.vmiddle {
    vertical-align: middle;
}

.vbottom, table td.vbottom {
    vertical-align: bottom;
}

.fright {
    float: right;
}

.fleft {
    float: left;
}

.clear {
    clear: both;
}


/* ===[ Grids ]=== */
.gridview,
.grid .gridview {
    background: #fcfcfc;
    border: 1px solid #424242;
    font-family: Verdana,Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 18px;
    margin-bottom: 0.2em;
}

    .gridview th,
    .headers {
        background: #222D31;
        color: #fff;
        font-family: Verdana,Arial, Helvetica, sans-serif;
        font-size: 1em;
        font-weight: bold;
        padding: 0.4em 0.4em;
        text-align: left;
        vertical-align: middle;
    }

table.cellspacing2 td.headers,
table td.headers {
    padding: 0.2em 0.4em;
}

.grid .gridheaders {
    height: auto;
}

.gridview > thead > tr,
.gridview > tbody > tr,
.grid .gridview .gridrow {
    border-bottom: 1px solid #424242;
}

.gridview tr:hover,
.gridrow:hover {
    background: #dedede;
}

.gridview td {
    padding: 0.4em;
    height: 1.4em;
}

.grid .gridrow .col {
    padding: 0.2em;
}

.gridview .fa-trash {
    color: #808080;
    font-size: 1.7em;
    padding: 0.2em 0.4em;
    vertical-align: middle;
    float: right;
}

    .gridview .fa-trash:hover {
        cursor: pointer;
        color: #F40000;
        text-decoration: none;
    }

.headers {
    font-weight: bold;
    padding: 0.4em 0.2em;
}

    .gridview.grey th,
    .headers.grey {
        background: #999;
    }

    .gridview.green th,
    .headers.green {
        background: #7FC235;
    }

/* ===[ Textboxes ]=== */
.textboxes, input[type='text'], input[type='password'], select, textarea {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #bbb;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 2px -1px rgba(0, 0, 0, 0.15) inset;
    -moz-box-shadow: 1px 1px 2px -1px rgba(0, 0, 0, 0.15) inset;
    box-shadow: 1px 1px 2px -1px rgba(0, 0, 0, 0.15) inset;
    color: #555;
    padding: 4px 6px;
    font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
}

    .textboxes:focus, input[type='text']:focus, input[type='password']:focus, select:focus, textarea:focus,
    .fileUpload:focus + label, .fileUpload + label:hover {
        border: 1px solid #7FC235;
        -webkit-box-shadow: none;
        -moz-box-box-shadow: none;
        box-shadow: none;
        color: #111;
        margin: 0;
    }

/* readonly / disabled textboxes*/
input:read-only {
    background: #ddd;
}

input:-moz-read-only {
    background: #ddd;
}

input[type='text']:disabled, input[type='password']:disabled, select:disabled, textarea:disabled {
    background: #ddd;
}

    input[type='text']:disabled:hover, input[type='password']:disabled:hover, select:disabled:hover, textarea:disabled:hover {
        cursor: not-allowed;
    }

/* stylised file upload */
.uploadWrapper {
    display: inline-block;
    height: 2.1em;
    width: 100%;
}

    .uploadWrapper .fileUpload {
        width: 0.1px;
        height: 0.1px;
        opacity: 0;
        overflow: hidden;
        position: absolute;
        z-index: -1;
    }

        .uploadWrapper .fileUpload + label {
            display: inline-block;
            overflow: hidden;
            height: 100%;
            vertical-align: top;
            padding: 2px 4px;
            position: relative;
        }

            .uploadWrapper .fileUpload + label .fa {
                width: 8%;
                position: absolute;
                top: 0.5em;
                left: 0.4em;
            }

            .uploadWrapper .fileUpload + label span {
                display: inline-block;
                height: 100%;
                word-break: break-all;
                max-width: 100%;
                padding-left: 1.4em;
            }

            .uploadWrapper .fileUpload + label + a {
                display: inline-block;
                height: 100%;
            }

/* ===[ Buttons ]=== */
.buttons, a.buttons, input[type='submit'] {
    font-family: fontAwesome, 'Source Sans Pro', Helvetica, Arial, sans-serif;
    background: #999;
    color: #fff;
    margin: 0 1px;
    display: inline-block;
    padding: 6px 12px !important;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
    line-height: 1.1em;
    border: none;
    min-width: auto;
    max-width: 99%;
}

    /* padding between font awesome and button / textbox text */
    .buttons.fa::before,
    .fileUpload + label i.fa::before {
        margin-right: 0.4em;
    }

    .buttons.iconOnly.fa::before {
        margin-right: 0;
    }

    .buttons:hover, .buttons:hover:enabled,
    a.buttons:hover, a.buttons:hover:enabled,
    input[type='submit']:hover, input[type='submit']:hover:enabled {
        text-decoration: none;
        cursor: pointer;
        background: #888;
        color: #fff;
        -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
        box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    }

    .buttons.fixed, a.buttons.fixed, input[type='submit'].fixed {
        min-width: 80px;
    }

    /*green button*/
    .buttons.green, a.buttons.green, input[type='submit'].green {
        background: #7FC235;
    }

        .buttons.green:hover:enabled, a.buttons.green:hover:enabled, input[type='submit'].green:hover:enabled {
            background: #76B531;
        }

    /*black button*/
    .buttons.black, a.buttons.black, input[type='submit'].black {
        background: #314146
    }

        .buttons.black:hover:enabled, a.buttons.black:hover:enabled, input[type='submit'].black:hover:enabled {
            background: #222D31;
        }

    /*red button*/
    .buttons.red, a.buttons.red, input[type='submit'].red {
        background: #F40000;
    }

        .buttons.red:hover:enabled, a.buttons.red:hover:enabled, input[type='submit'].red:hover:enabled {
            background: #E80000;
        }

    /*blue button*/
    .buttons.blue, a.buttons.blue, input[type='submit'].red {
        background: #489FDF;
    }

        .buttons.blue:hover:enabled, a.buttons.blue:hover:enabled, input[type='submit'].blue:hover:enabled {
            background: #2487D0;
        }

    /*disabled buttons*/
    .buttons:disabled:hover, a.buttons:disabled:hover, input[type='submit']:disabled:hover {
        cursor: not-allowed;
    }

/* ===[ Core Text ]=== */
main h1, main h2, main h3, main h4 {
    line-height: 1em;
    margin: 0.6em 0 0.2em 0;
}

main h1 {
    font-size: 1.76rem;
}

main h2 {
    font-size: 1.5rem;
}

main h3 {
    font-size: 1.35rem;
}

main h4 {
    font-size: 1.14rem;
    text-decoration: underline;
}

main p {
    font-size: 1rem;
    margin-bottom: 0.4em;
    margin-top: 0;
    padding-top: 0;
    -webkit-margin-before: 0;
}

main a {
    color: #3c8dbc;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}

    main a:hover {
        text-decoration: underline;
    }

ul, ol {
    margin: 0.4em 0 0.8em 2.4em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

main .greyText {
    color: #999;
}

main .greenText {
    color: #7FC235;
}

main .blackText {
    color: #222D31;
}

main .blueText {
    color: #489FDF;
}

main .redText, .req {
    color: #f00;
}

    .req::after {
        content: "*";
        display: inline-block;
        margin-left: 0.2em;
    }

main *.margin0 {
    margin: 0;
}


ul.tags,
ol.tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline;
}

    ul.tags li,
    ol.tags li {
        display: inline-block;
        margin: 0 0.2em 0.2em 0;
        padding: 0 4px;
        font-size: 1em;
        color: #fff;
        border: 1px solid #aaa;
        background-color: #7FC235
    }

    ul.tags.grey li,
    ol.tags.grey li {
        background-color: #999;
    }

    ul.tags li a,
    ol.tags li a {
        margin-right: 0.3em;
        color: #fff;
    }

    ul.tags a:hover,
    ol.tags a:hover {
        text-decoration: none;
    }

/* ===[ Information boxes ]=== */
.alert-box {
    font-family: fontAwesome,Tahoma,Geneva,Arial,sans-serif;
    border-radius: 10px;
    padding: 12px 10px 8px 50px;
    margin: 5px;
    color: #555;
    position: relative;
    text-align: left;
    min-height: 55px;
}

    .alert-box::before {
        font-size: 30px;
        position: absolute;
        left: 10px;
        top: 4px;
    }

    .alert-box.info {
        border: 1px solid #68a2cf;
        background: #e1f2fc;
    }

    .alert-box.success {
        border: 1px solid #a3c159;
        background: #eeffdd;
    }

    .alert-box.notice {
        border: 1px solid #e6c555;
        background: #fef7e0;
    }

    .alert-box.error {
        border: 1px solid #ff9999;
        background: #feebeb;
    }

    .alert-box.info::before {
        content: "\f27a";
        color: #68a2cf;
    }

    .alert-box.success::before {
        content: "\f00c";
        color: #a3c159;
    }

    .alert-box.notice::before {
        content: "\f071";
        color: #e6c555;
    }

    .alert-box.error::before {
        content: "\f057";
        color: #ff4444;
    }

    .alert-box.small {
        background-image: none;
        padding: 6px 10px 6px 10px;
        min-height: auto;
        font-size: 13px;
    }

        .alert-box.small::before {
            margin-right: 6px;
            font-size: 1em;
            left: 0;
            top: 0;
            position: relative;
        }

    .alert-box .close-box {
        position: absolute;
        right: 16px;
        top: 6px;
    }

        .alert-box .close-box:hover {
            cursor: pointer;
        }

    .alert-box span {
        font-weight: bold;
        text-transform: uppercase;
    }

    .alert-box > ul {
        list-style: disc;
        margin: 0.4em 0 0 1.4em;
    }

/* ===[ panel tabs ]=== */
.tabs {
    margin: 0 0 0.8em 0;
    border-bottom: 1px solid #ddd;
}

    .tabs a:not(.buttons) {
        display: inline-block;
        margin: 0 1px -1px 0;
        padding: 8px 16px;
        font-weight: 600;
        text-align: center;
        color: #333;
        border: 1px solid #ddd;
        background: #fefefe;
        font-family: fontAwesome, 'Source Sans Pro', Helvetica, Arial, sans-serif;
    }

        .tabs a.act,
        .tabs a:not(.buttons):hover {
            color: #fff;
            background: #999999;
            /*background:#7FC235;*/
            border-bottom: 1px solid transparent;
            text-decoration: none;
        }

        .tabs a:not(.buttons) i {
            margin-right: 0.3em;
        }

/* ===[ login modal ]=== */
body#loginForm {
    background: #eee;
}

#loginModal {
    width: 98%;
    max-width: 500px;
    min-height: 100px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translate(-50%, -50%);
    background: #fff;
    box-sizing: border-box;
    padding: 1em;
    border: 1px solid #ccc;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 0 10px 1px rgba(200,200,200,.5);
    box-shadow: 0 0 10px 1px rgba(200,200,200,.5);
    overflow: visible;
}

    #loginModal strong {
        padding-right: 1em;
    }

    #loginModal img {
        margin: 15px auto 20px auto;
        max-width: 90%;
    }

/* ===[ modal box ]=== */
.modal {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    display: none;
    background-color: rgba(240, 240, 240, 0.4);
}

    .modal.block {
        display: block;
    }

    .modal.topLevel {
        z-index: 1000;
    }

.modalDialog {
    position: absolute;
    left: 50%;
    top: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translate(-50%, -50%);
    background: #fff;
    box-sizing: border-box;
    padding: 1em;
    border: 1px solid #ccc;
    -webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
    -webkit-box-shadow: 0 0 10px 1px rgba(200,200,200,.5);
    box-shadow: 0 0 10px 1px rgba(200,200,200,.5);
    overflow-y: scroll;
    max-height: 95%;
}

.modal div.close {
    padding-bottom: 1em;
}

.modal a.close {
    position: absolute;
    top: 0;
    right: 4px;
    text-decoration: none;
}


.goldStar {
    font-size: 1.2em;
    color: #FC3;
    text-shadow: -1px 0 #fb0, 0 1px #fb0, 1px 0 #fb0, 0 -1px #fb0;
    display: inline;
}

.blueStar {
    font-size: 1.2em;
    color: #00BFFF;
    text-shadow: -1px 0 #00A3D9, 0 1px #00A3D9, 1px 0 #00A3D9, 0 -1px #00A3D9;
    display: inline;
}

.greenStar {
    font-size: 1.2em;
    color: #4D9003;
    text-shadow: -1px 0 #337600, 0 1px #337600, 1px 0 #337600, 0 -1px #337600; /*10% darker border */
    display: inline;
}

.comma-separated {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .comma-separated li {
        display: inline;
    }

        .comma-separated li:not(:last-child)::after {
            content: ", ";
        }
