﻿html {
    background-color: var(--main-bg-rgb);
    margin: 0;
}

body {
    color: var(--txt-rgb);
    font-size: .85em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    overflow-x: scroll;
    background: var(--main-bg);
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
}

a {
    color: var(--txt-rgb);
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: underline;
    text-decoration-color: var(--txt-rgb);
}

    a:link, a:visited,
    a:active, a:hover {
        color: var(--txt-rgb);
    }

    a:hover {
        background-color: var(--hover-link-rgb);
    }

    a span.action {
        font-weight: bold;
        color: var(--span-link-rgb);
        text-decoration:underline;
        text-decoration-color: var(--span-link-rgb);
    }

        a span.action:hover {
            font-weight: bold;
            color: var(--hover-span-link-rgb);
            text-decoration-color: var(--hover-span-link-rgb);
        }

.link-holder {
    background: var(--my-bg);
    border-radius: 15px;
}

.ame-heading {
    color: var(--label-rgb);
    font-family: arial;
    font-size: 1.2em;
    font-weight: bold;
}

.ame-label {
    color: var(--label-rgb);
    font-family: arial;
    font-size: 1.0em;
    font-weight: bold;
}

.body-text-popup {
    font: arial;
    font-weight: normal;
    color: var(--msg-rgb);
}

.popup-center{
    width:75%;
    margin-left:auto;
    margin-right:auto;
}

.right {
    text-align: right;
}

td.header {
    padding: 0 10px 0 10px;
    border: 0px none
}

td.data{
    padding: 0 5px 0 5px;
    border: 1px solid var(--border-rgb);
    line-height: 100%;
}

.nowrap{
    white-space:nowrap;
}

.dwrap {
    white-space: normal;
}

.dwidth {
    width: 100%;
    overflow-x:hidden;
}

header, footer, hgroup,
nav, section {
    display: block;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1, h2, h3,
h4, h5, h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }

input[type="submit"],
input[type="button"],
button {
    border-radius: 8px;
    background-color: var(--main-ctl-rgb);
    border: 2px solid var(--outline-rgb);
    color: var(--txt-rgb);
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    padding: 10px;
    margin-right: 8px;
    width: auto;
    min-width:100px;
}


input[type=text] {
    border: 1px solid var(--outline-rgb);
    border-radius: 8px;
    background-color: var(--main-bg-rgb);
    color: var(--txt-rgb);
}

input[type=password] {
    border: 1px solid var(--outline-rgb);
    border-radius: 8px;
    background-color: var(--main-bg-rgb);
    color:var(--txt-rgb);
}

select {
    border: 1px solid var(--outline-rgb);
    border-radius: 5px;
    background-color: var(--main-bg-rgb);
    color: var(--txt-rgb);
}

.app-control{ 
    display:inline-block;
    padding:0px;
    text-align:right;
}

/* menu
----------------------------------------------------------*/
.main-menu {
    display: none;
    background-color: transparent;
    font-size: 1.40em;
    font-weight: 800;
    margin: 0 0px 0;
    padding: 0;
    text-align: left;
}

    ul.main-menu li {
        display: inline;
        list-style: none;
        padding-left: 5px;
        font-size:1.0em;
    }

        ul.main-menu li a {
            background: none;
            text-decoration: none;
            white-space: nowrap;
            color: var(--menu-txt-rgb);
            margin-right: 5px;
        }

ul.sub-menu {
    display: none;
}

    ul.sub-menu-show {
        padding-top: 0px;
        padding-bottom: 10px;
        padding-left:0px;
    }

        ul.sub-menu-show li{

        }

        ul.sub-menu-show li {
            display: block;
            margin: 0;
            padding-top: 0px;
            padding-bottom: 0px;
            font-size: 0.85em;
            font-weight: 500;
            color: var(--span-link-rgb);
        }

            ul.sub-menu-show li:hover {
                text-decoration: none;
                background: var(--hilite-bg);
                border-radius: 10px;
                max-width:100%;
            }

            ul.sub-menu-show li a {
                color: var(--span-link-rgb);
                margin-right: 5px;
            }

            ul.sub-menu-show li a:hover {
                color: var(--hover-span-link-rgb);
            }

            ul.sub-menu-hide {
                display: none;
            }

            #main-help{
                padding:5px;
                vertical-align:10px;
            }

            .help-video {
                padding: 10px 25px 10px 25px;
            }

            #help-video-thumbnail{
                display:inline-block;
                height:100%;
                overflow-y:auto;
            }

/* main layout
----------------------------------------------------------*/
#contents{
    flex:1 1 0%;
    display:flex;
    visibility:hidden;
    flex-direction:column;
    overflow-y:hidden;
}

.site-wrapper {
    margin: 0 auto;
    max-width: 1700px;
    width:100%;
    overflow-y:hidden;
}

.site-body {
    flex: 1 1 0%;
    display: flex;
}

.page-wrapper {
    margin: 0 auto;
    flex: 1;
}

#semicircle {
    margin: 0 0 0 10px;
    width: 30px;
    height: 12px;
    background-color: var(--main-bar-rgb);
    border-radius: 0px 0px 30px 30px;
}

#vertical-menu {
    display: inline-block;
    flex-basis: 190px;
    margin-top: 0px;
    padding-right: 10px;
    overflow-y: auto;
}

#vertical-menu-items {
    display: none;
    background: var(--my-bg);
    border-radius: 20px;
    padding: 5px;
}

.main-content {
    padding-left: 0px;
    padding-top: 0px;
    display: inline-block;
    overflow-y:hidden;
}

#profile-nav 
{
    display:inline-block;
    padding:3px;
}

#zone-nav
{
    display:inline-block;
    padding:3px;
}

/*******
    mobile here 
********/

@media only screen and (max-width: 1212px), only screen and (max-height: 700px) {

    body{
        font-size:100%;
    }

    .site-wrapper {
        margin: 0 auto;
        max-width: 1212px;
        overflow-y:hidden;
    }

    .site-body {
        flex: 1 1 0%;
        display: flex;
    }

    .page-wrapper {
        margin: 0 auto;
        width:100%;
        overflow-x:auto;
    }

    #vertical-menu {
        display: none;
        flex-basis:0px;
        margin-top: 0px;
        padding:0;
    }

    .main-menu {
        display: block;
        background-color: transparent;
        font-size:1.0em;
    }

    ul.main-menu li {
        display: inline;
        list-style: none;
        padding-left: 15px;
    }

    ul.main-menu li a {
        background: none;
        color: var(--menu-txt-rgb);
        text-decoration: none;
        white-space: nowrap;
     }

            ul.main-menu li a:hover {
                color: var(--txt-rgb);
                text-decoration: none;
            }

    ul.sub-menu-left {
        text-align: left;
    }

    ul.sub-menu-center {
        text-align: center;
    }

    div.sub-menu-show {
        background: var(--my-bg);
        border-radius: 5px;
        padding: 5px;
    }

    ul.sub-menu-right {
        text-align: right;
    }

    ul.sub-menu-show {
        font-size: 1.25em;
        font-weight: 600;
        margin: 0 0 0 0;
        padding: 0;
    }

        ul.sub-menu-show li {
            display: block;
            padding-left: 0px;
            margin: 0;
            font-size:inherit;
        }

            ul.sub-menu-show li:hover {
                background: var(--hilite-mobile-bg);
            }

                ul.sub-menu-show li a {
                    background: none;
                    color: var(--span-link-rgb);
                    text-decoration: none;
                    white-space: nowrap;
                    margin: 0;
                    font-weight: bold;
                }

                    ul.sub-menu-show li a:hover {
                        color: var(--hover-span-link-rgb);
                        font-weight: bold;
                        font-style: italic;
                    }

    #main-help {
        padding: 2px;
        vertical-align: 0px;
    }

    #help-img{
        position:relative;
        top:5px;
    }

    #profile-nav {
        display: block;
    }

    #zone-nav {
        display: block;
    }

    .dwrap {
        white-space: nowrap;
    }

    .dwidth {
        min-width: 100%;
        overflow-x:auto;
    }

}

@media only screen and (max-width: 475px) {

    #semicircle{
        display:none;
    }

    #profile-nav
    {
        display:none;
    }
}

header .site-wrapper {
    padding-top: 0px;
}

footer {
    font-size:0.8em;
    clear: both;
    background-color: var(--main-bg-rgb);
    height: 60px;
    padding:5px;
}

/* site title
----------------------------------------------------------*/
.site-title {
    color: #c8c8c8;
    font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
    font-size: 2.3em;
    margin: 0;
}

.site-title a, .site-title a:hover, .site-title a:active {
    background: none;
    color: #c8c8c8;
    outline: none;
    text-decoration: none;
}

.site-nav {
    color: var(--txt-rgb);
    font-size: 100%;
    font-weight: bold;
}

/* login
----------------------------------------------------------*/
#login {
    display: block;
    font-size: .85em;
    margin: 0 0 10px;
    text-align: right;
}

    #login a {
        background-color: #d3dce0;
        margin-left: 10px;
        margin-right: 3px;
        padding: 2px 3px;
        text-decoration: none;
    }

    #login a.username {
        background: none;
        margin: 0;
        padding: 0;
        text-decoration: underline;
    }

    #login ul {
        margin: 0;
    }

    #login li {
        display: inline;
        list-style: none;
    }



/* page elements
----------------------------------------------------------*/
/* featured */

    .featured .site-wrapper {
 		background: var(--main-bar-bg);
        color: #3e5667;
        padding: 0px;
        border-radius:10px;
    }

		.featured hgroup.title{
			/*display:inline-block; */
            display:flex;
            justify-content: space-between; /* Pushes h1 to left, div to right */
            align-items: center; /* Vertically centers items */
		}

        .featured hgroup.left-group {
            display: flex;
            align-items: top;
        }

        .featured hgroup.title h1, .featured hgroup.title h2 {
            color: var(--title-rgb);
        }

        .featured p {
            font-size: 1.1em;
        }

/* page titles */
hgroup.title {
    margin-top:5px;
    margin-bottom: 5px;
    overflow:hidden;
}

hgroup.title h1, hgroup.title h2 {
    display: inline;
}

hgroup.title h2 {
    font-weight: normal;
    margin-left: 3px;
}

/* features */
section.feature {
    width: 300px;
    float: left;
    padding: 10px;
}

/* ordered list */
ol.round {
    list-style-type: none;
    padding-left: 0;
}

    ol.round li {
        margin: 25px 0;
        padding-left: 45px;
    }

        ol.round li.zero {
            background: url("../Images/orderedList0.png") no-repeat;
        }

        ol.round li.one {
            background: url("../Images/orderedList1.png") no-repeat;
        }

        ol.round li.two {
            background: url("../Images/orderedList2.png") no-repeat;
        }

        ol.round li.three {
            background: url("../Images/orderedList3.png") no-repeat;
        }

        ol.round li.four {
            background: url("../Images/orderedList4.png") no-repeat;
        }

        ol.round li.five {
            background: url("../Images/orderedList5.png") no-repeat;
        }

        ol.round li.six {
            background: url("../Images/orderedList6.png") no-repeat;
        }

        ol.round li.seven {
            background: url("../Images/orderedList7.png") no-repeat;
        }

        ol.round li.eight {
            background: url("../Images/orderedList8.png") no-repeat;
        }

        ol.round li.nine {
            background: url("../Images/orderedList9.png") no-repeat;
        }

/* content */
article {
    float: left;
    width: 70%;
}

aside {
    float: right;
    width: 25%;
}

    aside ul {
        list-style: none;
        padding: 0;
    }

        aside ul li {
            background: url("../Images/bullet.png") no-repeat 0 50%;
            padding: 2px 0 2px 20px;
        }

.label {
    font-weight: 700;
}

/* login page */
#loginForm {
    border-right: solid 2px #c8c8c8;
    float: left;
    width: 55%;
}

    #loginForm .validation-error {
        display: block;
        margin-left: 15px;
    }

    #loginForm .validation-summary-errors ul {
        margin: 0;
        padding: 0;
    }

    #loginForm .validation-summary-errors li {
        display: inline;
        list-style: none;
        margin: 0;
    }

    #loginForm input {
        width: 250px;
    }

    #loginForm input[type="checkbox"],
    #loginForm input[type="submit"],
    #loginForm input[type="button"],
    #loginForm button {
        width: auto;
    }

#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 40%;
}

    #socialLoginForm h2 {
        margin-bottom:  5px;
    }

#socialLoginList button {
    margin-bottom: 12px;
}

#logoutForm {
    display: inline;
}

/* contact */
.contact h3 {
    font-size: 1.2em;
}

.contact p {
    margin: 5px 0 0 10px;
}

.contact iframe {
    border: 1px solid #333;
    margin: 5px 0 0 10px;
}

/* forms */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

    fieldset legend {
        display: none;
    }

    fieldset ol {
        padding: 0;
        list-style: none;
    }

        fieldset ol li {
            padding-bottom: 5px;
        }

label {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
}

label.checkbox {
    display: inline;
}

input, textarea {
    border: 1px solid var(--txt-rgb);
    background: var(--main-ctl-rgb);
    color: var(--txt-rgb);
    font-size: 1.2em;
    /*margin: 5px 0 6px 0;*/
    padding: 5px;
    width: 300px;
}

textarea {
    font-family: inherit;
    width: 500px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 40px var(--main-bg-rgb) inset !important;
}

input:-webkit-autofill {
    -webkit-text-fill-color: var(--txt-rgb);
}

    input:focus, textarea:focus {
        border: 1px solid #7ac0da;
    }

    input[type="checkbox"] {
        background: transparent;
        border: inherit;
        width: auto;
    }

/* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error {
    color: #e80c4d;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}


/* tables
----------------------------------------------------------*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 0.75em;
    border: 0 none;
}

th {
    font-size: 1.2em;
    text-align: left;
    border: none 0px;
    padding-left: 0;
}

    th a {
        display: block;
        position: relative;
    }

    th a:link, th a:visited, th a:active, th a:hover {
        color: #333;
        font-weight: 600;
        text-decoration: none;
        padding: 0;
    }

    th a:hover {
        color: #000;
    }

    th.asc a, th.desc a {
        margin-right: .75em;
    }

    th.asc a:after, th.desc a:after {
        display: block;
        position: absolute;
        right: 0em;
        top: 0;
        font-size: 0.75em;
    }

    th.asc a:after {
        content: '▲';
    }

    th.desc a:after {
        content: '▼';
    }

td {
    padding: 0.25em 2em 0.25em 0em;
    border: 0 none;
}

tr.pager td {
    padding: 0 0.25em 0 0;
}

.normal-text-0 {
    font-family: arial;
    font-size: 100%;
    font-weight: normal;
}

.input-ctl {
    min-width: 100px;
    width: 100%;
}

.text-ctl {
    min-width: 10em;
    max-width: 100%;
}

.text-ctl-num {
    min-width: 3em;
    width: 100%;
}

td input[type="radio"] {
    width: 20px;
}

.select-ctl {
    width: 100%;
}

.username {
    font-size: 100%;
}

table.results {
    width: 97%;
    margin-left: auto;
    margin-right: auto;
    border-color: var(--border-rgb);
}

th.results {
    border: 1px solid var(--border-rgb);
    background-color: #d8d8d8;
    color: black;
    font-family: arial;
    font-weight: bold;
    font-size: 1.0em;
    white-space: nowrap;
    text-decoration: underline;
    padding: 0px 3px 0px 3px;
}

td.results {
    border: 1px solid var(--border-rgb);
    font-family: arial;
    font-weight: normal;
    font-size: 0.90em;
    white-space: nowrap;
    padding: 0px 3px 0px 3px;
}

table.filter {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.results-l {
    text-align: left;
}

.results-c {
    text-align: center;
}

.results-r {
    text-align: right;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 0;
    border: 0 none;
}

td {
    padding: 0px;
    border: 0 none;
}

.content-area {
    height: 100%;
}

.full-table {
    width: 100%;
}

.main-h {
    overflow-y: auto;
    padding-left:0px;
    height: 100%;
}

.extra-buttons {
}

.hidden {
    display: none;
}

.msg-text {
    border-radius: 15px;
    background-color: green;
    color: white;
    font-weight: bold;
}

.resizer[data-direction='horizontal'] {
    cursor: ew-resize;
    height: 100%;
    width: 12px;
    background: var(--splitter-h-bg);
}

.resizer[data-direction='vertical'] {
    cursor: ns-resize;
    height: 12px;
    width: 100%;
    background: var(--splitter-v-bg);
}

.vcontainer {
    display: flex;
    flex-direction: column;
}

.vflex {
    flex: 1 1 0%;
}

.hcontainer {
    display: flex;
    flex-direction: row;
}

.hflex {
    flex: 1 1 0%;
}

.split-container {
    display: flex;
    flex-direction: row;
    height:100%;
    overflow-y:hidden;
}

.split-1 {
    width:40%;
    height: 100%;
    overflow-x:auto;
    overflow-y:auto;
}

.resizer {
    --data-direction: horizontal;
    cursor: ew-resize;
    height: 100%;
    width: 12px;
    background: var(--splitter-h-bg);
}

.split-2 {
    flex: 1 1 0%;
    overflow-x:auto;
    overflow-y:auto;
}

@media only screen and (max-width: 1212px) {
    .split-container {
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow-y: hidden;
    }

    .split-1 {
        width:100%;
        height:40%;
        overflow-y:auto;
    }

    .resizer {
        --data-direction: vertical;
        cursor: ns-resize;
        height: 12px;
        width: 100%;
        background: var(--splitter-v-bg);
    }

    .split-2 {
        flex: 1 1 0%;
        overflow-y: auto;
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 26px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--toggle-theme-rgb);
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: var(--main-ctl-rgb);
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: var(--toggle-theme-rgb);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--toggle-theme-rgb);
}

input:checked + .slider:before {
    -webkit-transform: translateX(19px);
    -ms-transform: translateX(19px);
    transform: translateX(19px);
}

.theme:before {
    content: url("/images/sun1.GIF");
    background-color: transparent;
}

input:checked + .theme:before {
    content: url("/images/moon1.GIF");
    background-color: transparent;
}

/* Rounded sliders */
.slider.round {
    border-radius: 26px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Tooltip container */
.tooltip {
    /*vertical-align: top;*/
    vertical-align:bottom;
    position: relative;
    display: inline-block;
}

    /* Tooltip text */
    .tooltip .tooltiptext {
        font: arial;
        font-weight: bold;
        font-size: 0.85em;
        word-wrap: break-word;
        visibility: hidden;
        width: 250px;
        background-color: #fee4b5;
        color: #222;
        text-align: center;
        padding: 0;
        border-radius: 3px;
        /* Position the tooltip text */
        position: absolute;
        z-index: 1;
        /*bottom: 125%;*/
        top: 125%;
        left: -250px;
        margin-left: 250px;
        /* Fade in tooltip */
        opacity: 0;
        transition: opacity 0.3s;
    }

    .tooltip .app-control-tooltip{
        top:25%;
        left:-200px;
    }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

