﻿@charset "utf-8";

html {
    font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
}

body {
    /*line-height: 1;*/
    margin: 0;
    background: #fff;
    line-height: 1.42857143;
    color: #333;
}


/* ===[ content wrapper ]=== */
.wrapper {
    width: 100%;
    overflow: auto;
}

.wrapperContainX {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: hidden;
}

/* ===[ tables / floats / alignment ]=== */
table {
    width: 100%;
    border: none;
    border-collapse: collapse;
}

    table td {
        height: 1.8em;
        text-align: left;
        vertical-align: top;
        padding: 0;
    }

.cellpadding2,
.cellpadding2 td {
    padding: 2px;
}

.cellspacing2,
.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,
table th.vtop {
    vertical-align: top;
}

.vmiddle,
table td.vmiddle,
table th.vmiddle {
    vertical-align: middle;
}

.vbottom,
table td.vbottom,
table th.vbottom {
    vertical-align: bottom;
}

.fright {
    float: right;
}

.fleft {
    float: left;
}

.clear {
    clear: both;
}

.block {
    display: block;
}

.hidden {
    display: none;
}


/* ===[ Grids / headers ]=== */
.gridview {
    background: #fcfcfc;
    border: 1px solid #424242;
    font-family: Verdana,Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    line-height: 1.2em;
    margin-bottom: 0.2em;
}

    .gridview th {
        font-weight: bold;
        font-size: 1.2em;
        padding: 0.4em 0.4em;
    }

    .gridview th,
    .headers {
        background: #222D31;
        color: #fff;
        text-align: left;
        vertical-align: middle;
    }

table.cellspacing2 td.headers,
table td.headers {
    padding: 0.2em 0.4em;
}

.gridview > thead > tr,
.gridview > tbody > tr {
    border-bottom: 1px solid #424242;
}

.gridview tr:hover {
    background: #dedede;
}

.gridview td {
    padding: 0.4em;
    height: 1.4em;
    line-height: inherit;
}

.gridview a.control {
    color: #808080;
    font-size: 1em;
    padding: 0.2em 0.6em;
    vertical-align: middle;
}

    .gridview a.control:hover {
        cursor: pointer;
        color: #3c8dbc;
        text-decoration: none;
    }


.headers {
    font-weight: bold;
    font-size: 1.1em;
    padding: 0.3em 0.2em;
    font-family: Arial, Helvetica, sans-serif;
}

    .gridview.grey th,
    .headers.grey {
        background: #999;
    }

    .gridview.blue th,
    .headers.blue {
        background: #81B4B0;
    }


/* ===[ 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;
}

    .textboxes:focus, input[type='text']:focus, input[type='password']:focus, select:focus, textarea:focus {
        border: 1px solid #81B4B0;
        -webkit-box-shadow: none;
        -moz-box-box-shadow: none;
        box-shadow: none;
        color: #111;
        margin: 0;
    }

/* readonly textboxes */
input:read-only {
    background: #ddd;
}

input:-moz-read-only {
    background: #ddd;
}

/* disabled textboxes */
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;
    }


/* ===[ Buttons ]=== */
.buttons,
a.buttons,
input[type='submit'],
input[type='button'] {
    font-family: "Font Awesome 5 Free", 'Source Sans Pro', Helvetica, Arial, sans-serif;
    background: #ccc;
    color: #000;
    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: 1px solid #000;
    min-width: auto;
    max-width: 99%;
}

    /* padding between font awesome and button / textbox text */
    .buttons.fas::before,
    .buttons.far::before,
    .buttons.fal::before {
        font-family: "Font Awesome 5 Free";
        margin-right: 0.4em;
        font-size: 0.9em;
    }

    .buttons.fas::before { /* Font Awesome Solid icon weight */
        font-weight: 900;
    }

    .buttons.far::before { /* Font Awesome Regular icon weight */
        font-weight: 400;
    }

    .buttons.fal::before { /* Font Awesome Light icon weight */
        font-weight: 300;
    }

    .buttons.iconOnly.fas::before,
    .buttons.iconOnly.far::before,
    .buttons.iconOnly.fal::before {
        margin-right: 0;
    }

    /* hover styles */
    .buttons:hover, .buttons:hover:enabled,
    a.buttons:hover, a.buttons:hover:enabled,
    input[type='submit']:hover, input[type='submit']:hover:enabled,
    input[type='button']:hover, input[type='button']:hover:enabled {
        text-decoration: none;
        cursor: pointer;
        background: #474747;
        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);
    }

    /* fixed width buttons */
    .buttons.fixed, a.buttons.fixed, input[type='submit'].fixed, input[type='button'].fixed {
        min-width: 80px;
    }

    /*green button*/
    .buttons.green, a.buttons.green, input[type='submit'].green, input[type='button'].green {
        background: #7FC235;
        color: #fff;
    }

        .buttons.green:hover:enabled, a.buttons.green:hover:enabled, input[type='submit'].green:hover:enabled, input[type='button'].green:hover:enabled {
            background: #76B531;
            color: fff;
        }

    /*black button*/
    .buttons.black, a.buttons.black, input[type='submit'].black, input[type='button'].black {
        background: #221F1F;
        color: #fff;
    }

        .buttons.black:hover:enabled, a.buttons.black:hover:enabled, input[type='submit'].black:hover:enabled, input[type='button'].black:hover:enabled {
            background: #2F2C2C;
            color: fff;
        }

    /*red button*/
    .buttons.red, a.buttons.red, input[type='submit'].red {
        background: #F40000;
        color: #fff;
    }

        .buttons.red:hover:enabled, a.buttons.red:hover:enabled, input[type='submit'].red:hover:enabled {
            background: #E80000;
            color: fff;
        }

    /*blue button*/
    .buttons.blue, a.buttons.blue, input[type='submit'].blue, input[type='button'].blue {
        background: #489FDF;
        color: #fff;
    }

        .buttons.blue:hover:enabled, a.buttons.blue:hover:enabled, input[type='submit'].blue:hover:enabled, input[type='button'].blue:hover:enabled {
            background: #2487D0;
            color: fff;
        }

    /*disabled buttons*/
    .buttons:disabled:hover, a.buttons:disabled:hover, input[type='submit']:disabled:hover, input[type='button']: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;
}

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;
    }

main ul,
main ol {
    margin: 0.4em 0 0.8em 2.4em;
}

main ul {
    list-style: disc;
}

main ol {
    list-style: decimal;
}

main .greyText {
    color: #999;
}

main .greenText {
    color: #7FC235;
}

main .blackText {
    color: #222D31;
}

main .redText,
.req,
.requiredField {
    color: #f00;
}

    .req::after,
    .requiredField::after {
        content: "*";
        display: inline-block;
        margin-left: 0.2em;
    }

main *.margin0 {
    margin: 0;
}


/* ===[ Tags ]=== */
ul.tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline;
}

    ul.tags li {
        background: #f00;
        display: inline-block;
        margin: 0 0.2em 0.2em 0;
        padding: 0 4px;
        font-size: 1em;
        color: #fff;
        border: 1px solid #aaa;
        background-color: #81B4B0
    }

        ul.tags li a {
            margin-right: 0.3em;
            color: #fff;
        }

    ul.tags a:hover {
        text-decoration: none;
    }


/* ===[ panel tabs ]=== */
/* Primary Tabs */
.tabs {
    margin-bottom: 0.8em;
    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: "Font Awesome 5 Free", "Source Sans Pro", Helvetica, Arial, sans-serif;
    }

        .tabs a.act,
        .tabs a:not(.buttons):hover {
            color: #fff;
            background: #999;
            border-bottom: 1px solid transparent;
            text-decoration: none;
        }

        .tabs a:not(.buttons) i {
            margin-right: 0.3em;
        }

    /* Font Awesome icon adjustments */
    .tabs a.fas::before,
    .tabs a.far::before,
    .tabs a.fal::before {
        margin-right: 0.4em;
        font-size: 0.9em;
    }
    /* Solid */
    .tabs a.fas::before {
        font-weight: 900;
    }
    /* Regular */
    .tabs a.far::before {
        font-weight: 400;
    }
    /* Light */    
    .tabs a.fal::before {
        font-weight: 300;
    }


/* Secondary Tabs */
.secondary-tabs {
    margin-top: 0.5em;
    display: flex;
    gap: 4px;
}

    .secondary-tabs a {
        display: inline-block;
        padding: 6px 12px;
        font-size: 0.9em; /* Slightly smaller */
        font-weight: 500; /* Slightly lighter */
        text-align: center;
        color: #555;
        border: 1px solid #bbb; /* Distinct border */
        background: #fafafa;
        border-radius: 4px; /* Rounded corners for a tab look */
    }

        .secondary-tabs a.act,
        .secondary-tabs a:hover {
            color: #fff;
            background: #777; /* More muted than primary */
            border-color: #666;
            text-decoration: none;
        }






/* ===[ Alert boxes ]=== */
.alert-box {
    font-family: 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 {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f4ad";
        color: #68a2cf;
    }

    .alert-box.success::before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f00c";
        color: #a3c159;
    }

    .alert-box.notice::before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f071";
        color: #e6c555;
    }

    .alert-box.error::before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        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;
    }


/* ===[ 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.topLevel {
        z-index: 1000;
    }

    .modal.block {
        display: block;
    }

.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;
}

/* ===[ Photo Upload ]=== */
article.photos {
}

    article.photos .fileUpload .select {
        display: none;
    }

    article.photos .fileUpload .submit {
        display: none;
    }

    article.photos .fileUpload .preview {
        margin: 0.4em 0;
    }

        article.photos .fileUpload .preview img {
            margin-right: 2px;
        }

    article.photos ul {
        list-style: none;
        margin: 0.4em 0;
        padding: 0;
        display: grid;
        height: 100%;
        grid-template-rows:;
        grid-gap: 1px 1px;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-areas: ". . . . . .";
    }

        article.photos ul li {
            margin: 0;
            padding: 0;
        }

            article.photos ul li a {
                width: 100%;
                display: block;
                height: 120px;
                background-color: #cccccc;
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
                position: relative;
            }

            article.photos ul li:hover a span {
                display: block;
            }

            article.photos ul li a span {
                display: none;
                width: 100%;
                height: 100%;
                position: relative;
                background-color: rgba(0, 0, 0, 0.3);
            }

            article.photos ul li a i {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                font-size: 2em;
                color: #fff;
            }


.d-block {
    display: block;
}
