﻿html,body {
    font-family:Verdana,sans-serif;
    font-size:14px;
    line-height:1.5;
    background-color: #3f51b5;
    color: white;
    margin: 0px;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

html {
    overflow-x:hidden;
}

img {
    padding: 0px;
    margin: 0px;
    border-style:none;
    vertical-align:middle;
}

.caption {
    font-style: italic;
    margin-bottom: 4px;
}

h1,h2,h3,h4 {
    text-align: center;
    margin: 0px;
    padding: 4px 0px 0px 2px;
}

h4 { 
    font-size: 14px;
}

p {
    margin-top: 3px;
    margin-bottom: 7px;
}

input {
    padding: 2px;
    margin: 2px;
    box-sizing: border-box;
    border: 1px solid #aaa;
    border-radius: 4px;
    text-align: left;
    font-size: 14px;
}

#pagemessage {
    margin-top: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 14px;
    text-align:center;
}

.error {
    color: #FEDE00;
}

.message {
    color: white;
}

.helper {
    height: 100%;
    margin: 0px;
    padding: 0px;
}

#pagebanner {
    margin: auto;
    width: 360px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: inline-block;
}

#pagebanner img, #pageicon img {
    margin: auto;
    display: block;
}

#pagewrapper {
    overflow-y: auto;
    position: fixed;
    top: 40px;
    left: 0px;
    padding-top: 8px;
    margin: 0px;
    bottom: 130px;
    width: 100%;
    text-align: center;
    background-color: #3f51b5;
    color: white;
}

#pagebody {
    background-color: #3f51b5;
    color: white;
    min-height: 390px;
    width: 100%;
    display: inline-block;
    padding: 0px;
    margin: 0px;
    position: relative;
    text-align: center;
}

#pagenav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130px;
    padding: 5px 0px 0px 0px;
}

#pagefooter {
    color: #ddd;
    text-align: center;
    font-size: 12px;
    padding: 5px 0px 5px 0px;
    width: 100%;
}

.tableFixHead {
    overflow-y: auto;
    border: 1px solid #aaa;
    border-radius: 6px;
    display: inline-block;
    background-color: white;
    margin: 3px;
}

.tableFixHead thead th {
    position: sticky;
    top: 0;
    background-color: #9EA8DA;
    border-collapse: collapse;
    z-index: 100;
    color: white;
    padding: 2px 6px 2px 6px;
}

.tableFixHead tbody td {
    padding: 2px 6px 2px 6px;
    background-color: white;
    vertical-align: top;
}

.tableFixHead tbody th {
    background-color: #ddd;
}

.gd-list {
    display: inline-block;
    border-collapse: collapse;
    font-family:"Segoe UI",Arial,sans-serif;font-weight:400;margin:0px;
    font-size: 14px;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

#busy {
    width: 360px;
    height: 130px;
    top: 165px;
    left: 50%;
    margin-left: -180px;
    z-index: 9000;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url('/1.2/img/gears.gif');
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

#dialog {
    width:360px;
    top: 140px;
    left: 50%;
    margin-left: -182px;
    z-index: 9999;
    position:absolute;
    background-color: #9EA8DA;
    border: 3px solid black;
    border-radius: 10px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 5px;
}

#dialog input {
    width: 160px;
    border: 1px solid #7C86B6;
}

#dialog textarea {
    min-width: 280px;
    height: 60px;
}

#dialog .msg {
    color: white;
    max-width: 340px;
    text-align: center;
    display: inline-block;
    margin: 0px 5px 10px 5px;
}

#dialog .label {
    color: white;
    width: 110px;
    text-align: left;
    margin-right: 10px;
}

#dialogbuttons {
    background-color: #9EA8DA;
    margin-top: 10px;
}

.buttonpanel {
    padding-bottom: 4px;
    padding-top: 4px;
    margin: 0px;
    text-align:center;
}

select {
    text-align: left;
    vertical-align: middle;
    margin: 2px;
    display: block;
    height: 25px;
    width: 140px;
    margin: 5px 0px;
    padding: 0px 5px;
    font-size: 14px;
    color: #333;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #aaa;
    border-radius: 4px;
    -ms-word-break: normal;
    word-break: normal;
}

table {
    text-align: center;
    display: inline-block;
    border: 0px;
}

td {
    text-align: left;
    vertical-align: top;
}

.label {
    text-align: left;
    vertical-align: top;
    width: 90px;
}


select:disabled, input:disabled {
    color: white;
    background-color: #9EA8DA;
    border: 1px solid #bbb;
    cursor:not-allowed;
    pointer-events:none;
}

a {
    color: blue;
    text-decoration: none;
    background-color:transparent;
    @media (hover: hover) {
	&:hover {
	    color: #efbbff;
	    outline-width:0;
	}
    }
}

#pagefooter a {
    color: #ddd;
    text-decoration: none;
    background-color:transparent;
    @media (hover: hover) {
	&:hover {
	    color: #efbbff;
	    outline-width:0;
	}
    }
}

.pagebutton {
    margin: 2px;
    padding:3px 6px 4px 6px;
    border-radius: 4px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    text-align:center;
    cursor:pointer;
    white-space:nowrap;
    display:inline-block;
    background-color:inherit;
    color:inherit;
    border:none;
}

.pagebutton {
    @media (hover: hover) {
	&:hover {
	    color: black;
	    background-color: #ccc;
	}
    }
}

.gd-normal {
    background-color: black;
    color: white;
}

.gd-home {
    background-color: crimson;
    color: white;
}

.gd-special {
    background-color: #01579B;
    color: white;
}

.gd-off {
    background-color: #9EA8DA;
    color: white;
    pointer-events:none;
}

#splash {
    display: inline-block;
    margin: 0px 0px 0px 5px;
    width: 360px;
    height: 360px;
}

.splash0 {
    background: transparent url('/1.2/img/splash/splash0.png') no-repeat center center;
}
