html {
	height: 100%;
}
body, html {
	margin: 0;
}
body {
	background-color: #F7F7F7;
	color: #222;
	font-family: Arial, Sans-serif;
	min-width: 1100px;
	position: relative;
	min-height: 100%;
	padding-top: 20px;
        padding-bottom: 50px;
	box-sizing: border-box;
	text-align: center;
}
body > nav {
        border-bottom: 1px solid #bbb;
        position: fixed;
        width: 100%;
        background-color: #F7F7F7;
        top: 0;
        z-index: 2;
        text-align: left;
}
body > nav ul {
        list-style-type: none;
        width: 1060px;
        margin: auto;
        padding: 0;
        border-left: 1px solid #ccc;
        border-right: 1px solid #bbb;
}
body > nav li {
        display: inline-block;
        border-right: 1px solid #ccc;
        background: #f9f9f9;
        font-size: 24px;

        text-decoration: none;
        vertical-align: bottom;
}
body > nav a, body > nav button {
        display: block;
	padding: 3px .4em;
        color: #666;
        margin: 0 !important;
        background: none;
}
body > nav li::after {
        content: '';
        height: 3px;
        display: block;
        background: #EEE;
}
@media (pointer: fine) {
	/* Android shows this hover instead of navigating so disable it
	   on devices that don't have "fine" control. */
	nav li:hover a, nav button:hover {
	        color: #222;
        	border-bottom: 0;
	}
	nav li:hover::after {
        	background: #CCC;
	}
}
nav li.sel::after {
        background: #7FBDFF;
}
nav li.right {
        border-left: 1px solid #ccc !important;
        float: right;
        border-right: 0 !important;
}
#push {
	min-height: 600px;
}
.pad {
        top: 300px;
}
.short {
        top: 30px;
}
#wrapper {
	position: relative;
	z-index: 1;
	background-color: #F7F7F7;
	margin: auto;
	width: 1040px;
	/*height: 120px;
        left: 50%;
	transform: translateX(-50%);*/
}
#wrapper button {
        margin: 16px 0px;
        color: #6c757d;
        background-color: transparent;
        font-size: 1rem;
        line-height: 18px;
        border-radius: .25rem;
        border: 1px solid #6c757d;
        transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        padding: 8px 12px;
        user-select: none;
        vertical-align: top;
}
#b {
        margin: 0px 0px 7px 30px !important;
}
button:not(:disabled):not(.disabled) {
        cursor: pointer;
}
#wrapper button:hover {
        background-color: #6c757d;
        color: #fff;
}
#wrapper button:disabled {
        opacity: .65;
        color: #6c757d;
        background-color: transparent;
}
#wrapper button span i {
        padding: 3px 15px;
}
.placeholder {
        color: #aaa;
}
footer {
	z-index: 4;
        position: absolute;
        bottom: 0;
        right: 0;
        margin: 5px;
        text-align: right;
        font-size: 11px;
        cursor: pointer;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
}
footer, footer a {
        color: #BBB;
}
footer:hover a, footer:hover {
        color: #222;
}
img {
	position: absolute;
	height: 120px;
	width: 180px ;
}
img.left {
	left: 10px;
}
img.right {
	right: 10px;
}
input, select {
	padding: 3px;
	font-size: 18px;
	color: #222;
	width: 300px;
}
h1 {
	font-size: 40px;
	padding: 15px;
	margin: 0;
}
h2 {
	font-weight: normal;
	margin: 5px 0;
	font-size: 24px;
	max-width: 800px;
}
h3 {
	margin-bottom: 0;
}
strong {
	background: url('ajax.gif') center center no-repeat;
	width: 60px;
	display: none;
	height: 16px;
	margin: 15px 30px 11px;
}
hr {
	display: none;
	border: 0;
	border-top: 1px solid #DDD;
	margin: 35px 0 10px;
}
#load {
        margin: 10px 0 -1px;
        width: 50%;
        border-color: #1988FF;
        display: block;
        opacity: 0;
        position: relative;
        text-align: left;
}
#load:after {
        content: '';
        box-shadow: 0 0 6px 2px #1044BB;
        float: right;
        width: 5px;
}
#wrapper div {
	text-decoration: none;
	text-align: center;
}
#wrapper div * {
	text-align: left;
}
#content {
	margin-top: 4px;
}
#content > span {
	/*width: 100%;*/
	text-align: center;
	margin-bottom: 26px;
}
#content span {
	display: inline-block;
}
a {
	color: #444;
	text-decoration: none;
}
a:hover {
	border-bottom: 1px dashed #444;
}
.button:hover {
	border-bottom: 0;
}
table {
	width: 100%;
	border-spacing: 10px 0;
}
td[colspan], .sd {
	color: #1988FF;
}
.sd {
	color: #1988FF;
}
.sd a {
	color: #3F8ADB;
}

/* Start custom button CSS here
---------------------------------------- */
button, .button {
	display: inline-block;
	padding: 3px 0;
	border-width: 0;
	overflow: visible;
	color: #333;
	font-size: 21px;
	margin-left: 10px;
	cursor: pointer;
}
* html button, * html .button {
	padding-bottom: 1px;
}
html:not([lang*=""]) button, html:not([lang*=""]) .button {
	margin: 10px 5px;
}
button font, .button font {
	background: #f9f9f9;
	z-index: 1;
	padding: 3px 0;
	border-left: 1px solid #ccc;
	border-right: 1px solid #bbb;
	pointer-events: none;
        display: inline !important;
}
* html button i, * html button font, * html .button i, * html .button font {
	padding-top: 0;
}
button font i, .button font i {
	margin: 0;
	position: relative;
	padding: 3px .4em;
	border-width: 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #bbb;
	pointer-events: none;
}
button b, .button b {
	background: #e3e3e3;
	position:absolute;
	z-index: 2;
	bottom: 0;
	left: 0;
	width: 100%;
	overflow: hidden;
	height: 40%;
	border-top: 3px solid #eee;
	pointer-events: none;
}
* html button b, * html .button b {
	top: 1px;
}
button u, .button u {
	position:relative;
	z-index: 3;
	text-decoration: none;
	font-style: normal;
}
button:hover font, button:hover font i, .button:hover font, .button:hover font i {
	cursor: pointer;
	border-color: #9cf !important;
	color: #000;
}
button:active font i b, .button:active font i b {
	bottom: auto;
	top: 0;
	border-top: 0px;
	border-bottom: 3px solid #EEE;
}

.l {
	float: left;
	margin-left: 200px !important;
}
.r {
	float: right;
	margin-right: 200px !important;
}

#help {
	margin: 100px auto 0;
	width: 1000px;
}
#help, #help h1, #help h3 {
	text-align: center;
}
#help * {
	text-align: left;
}
#info {
	text-align: center;
}
#info > div {
	margin-top: 30px;
	box-shadow: 0px 0px 60px #DDD;
	border-radius: 5px;
	padding: 10px;
	display: inline-block;
}
#info > div > div {
	color: #CCC;
	border: 1px solid #CCC;
	border-radius: 10px;
	display: inline-block;
	width: 18px;
	text-align: center;
	margin-right: 6px;
}

form input[type=text], form input[type=password], form input[type=tel] {
        border-radius: 0;
        display: block;
        padding: 6px;
        margin: 10px auto 5px;
        border: 0;
        border-bottom: 1px solid #DDD;
        background-color: transparent;
}
form input:focus {
        outline: none;
}
#wrapper nav {
        float: left;
        width: 200px;
        margin-right: 40px;
        text-align: left;
}
#wrapper nav ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
}
#wrapper nav li {
        padding: 6px;
}
#wrapper nav li::before {
        content: "";
        display: block;
        background-color: #DDD;
        width: 4px;
        height: 18px;
        float: left;
        margin: 0 6px 0 0;
}
#wrapper nav li.sel::before {
        background-color: #7FBDFF;
}
#profile, #custom-list {
        float: left;
        width: 800px;
}
#profile form {
        margin-bottom: 40px;
        text-align: center;
        display: inline-block;
}
label {
        font-size: 16px;
        display: block;x;
        margin: 10px 0px;
        text-align: right !important;
        width: 100%10m;
}
select {
        font-size: 12px;
        height: 26px;
}
#profile span.error {
    font-size: 12px;
    margin: 0px 0px 10px 5px;
}
#profile span#toast {
        color: #7FBDFF;
}

.loader, .loader:after {
        border-radius: 50%;
        width: 10em;
        height: 10em;
}
.loader {
        display: none;
        margin: 120px auto;
        font-size: 10px;
        position: relative;
        text-indent: -9999em;
        border-top: 0.5em solid rgba(189, 189, 189, 0.2);
        border-right: 0.5em solid rgba(189, 189, 189, 0.2);
        border-bottom: 0.5em solid rgba(189, 189, 189, 0.2);
        border-left: 0.5em solid #7fbdff;
        -webkit-transform: translateZ(0);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-animation: load8 1.1s infinite linear;
        animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
        0% {
                -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
        }
        100% {
                -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
        }
}
@keyframes load8 {
        0% {
                -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
        }
        100% {
                -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
        }
}
#popover {
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(50, 50, 50, 0.7);
        top: 0;
        z-index: 10;
        display: none;
}
#popover > div {
        background: #EEE;
        width: 500px;
        height: 500px;
        margin: 200px auto;
        border-radius: 12px;
        -webkit-box-shadow: 0px 0px 16px 5px rgba(56,56,56,1);
        -moz-box-shadow: 0px 0px 16px 5px rgba(56,56,56,1);
        box-shadow: 0px 0px 16px 5px rgba(56,56,56,1);
        overflow: hidden;
}
#popover h1 {
        color: #222;
        padding: 17px;
        font-size: 24px;
        border-bottom: 1px solid #DDD;
        font-weight: normal;
}
#popover #list {
        overflow-y: auto;
        height: 437px;
}
#popover #list div:hover {
        background: #DDD;
}
#popover #list div {
        padding: 16px 40px;
        text-align: left;
        transition: background 0.2s;
        cursor: pointer;
}
