
@media(orientation: portrait) {
  body {
  		background-color: black;
		color: white;
		font-family: roboto;
		background-image: url("/images/bg-mobile.jpg");
		-webkit-background-size: 100%; 
		-moz-background-size: 100%; 
		-o-background-size: 100%; 
		background-size: 100%; 
		-webkit-background-size: cover; 
		-moz-background-size: cover; 
		-o-background-size: cover; 
		background-size: cover;
	}
}
@media (orientation: landscape) {
  body {
		background-color: black;
		color: white;
		font-family: roboto;
		background-image: url("/images/bg1.jpg");
		-webkit-background-size: 100%; 
		-moz-background-size: 100%; 
		-o-background-size: 100%; 
		background-size: 100%; 
		-webkit-background-size: cover; 
		-moz-background-size: cover; 
		-o-background-size: cover; 
		background-size: cover;
	}
}

* {
  	box-sizing: border-box;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  	font-size: 16px;
}

a:link {
	color: white;
	font-weight: bolder;
	text-decoration: none; 
}

a:hover {
	color: #ff0000;
	font-weight: bolder;
	text-decoration: underline; 
}

a:active {
	color: red;
	font-weight: bolder;
	text-decoration: none; 
}

a:visited {
	color: white;
	font-weight: bolder;
	text-decoration: none; 
}

.register {
  	width: 400px;
  	background-color: rgba(0,0,0,0.75);
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
.register h1 {
  	text-align: center;
  	color: #ffffff;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.register form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.register form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
 	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.register form input[type="password"], .register form input[type="text"], .register form input[type="email"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}
.register form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
  	margin-top: 20px;
  	background-color: #3274d6;
 	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}

.register form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}

body.loggedin {
	background-color: #f3f4f7;
}

.login {
  	width: 400px;
  	background-color: rgba(0,0,0,0.75);
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
.login h1 {
  	text-align: center;
  	color: #ffffff;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}
.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}

.login form input[type="button"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}

.forgot {
	display: none;
  	width: 400px;
  	background-color: rgba(0,0,0,0.95);
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	box-shadow: 0 0 20px 0 #222;
	-webkit-box-shadow: 0 0 20px 0 #222;
	-moz-box-shadow: 0 0 20px 0 #222;
	left: 50%;
	margin: -120px 0 0 -160px;
	padding: 10px;
	position: fixed;
	top: 50%;
	z-index: 1000;
}
.forgot .close {
	color: black;
	position: absolute;
	top: 10px;
	right: 10px;
}

.forgot h1 {
  	text-align: center;
  	color: #ffffff;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.forgot form {
	
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.forgot form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.forgot form input[type="password"], .forgot form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}
.forgot form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.forgot form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}

#modal-background {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        opacity: .50;
        -webkit-opacity: .5;
        -moz-opacity: .5;
        filter: alpha(opacity=50);
        z-index: 1000;
    }

.loader-overlay {
	background: rgba(0,0,0,0.95);
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	vertical-align: middle;
	width: 100%;
	z-index: 100000;
}

.loader-content {
	margin-left: auto;
	margin-top: auto;
	width: 50%;
}

.loader-center {
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);   
	left: 50%;
	display: block;
	position: fixed;
	top: 50%;
	transform: translate(-50%, -55%);
}

.loader-text {
	color: #FFF;
	font-size: 18px;
	height: 50%;
}

table.roe {
	text-align: center;
	width: 95%;
	border: 1px solid white;
	border-collapse: collapse;
	background-color: rgba(0,0,0,0.80);
}

table.roe td {
	text-align: center;
	border: 1px solid white;
	border-collapse: collapse;
}

table.roe th {
	background-color: white;
	color: black;
	font-weight: bold;
	text-align: center;
	border: 1px solid white;
	border-collapse: collapse;
}

table.daily {
	text-align: left;
	width: 95%;
	border: 1px solid white;
	border-collapse: collapse;
	background-color: rgba(0,0,0,0.80);

}

table.daily td {
	text-align: left;
	border: 1px solid white;
	border-collapse: collapse;
	padding-left: 10px;
}
table.daily td.sub {
	background-color: #777777;
	color: white;
	text-align: left;
	border: 1px solid white;
	border-collapse: collapse;
	padding-left: 5px;
}

table.daily th {
	background-color: #2f3947;
	color: white;
	font-weight: bold;
	text-align: center;
	border: 1px solid white;
	border-collapse: collapse;
}

div#banner { 
	display: none;
    position: fixed; 
	top: 100px;
	left: 0;
	right: 0;
	bottom: 0;
    background-color: rgba(0,128,0,0.85); 
    width: 100%; 
	height: 50px;
	z-index: 10000;
}

div#banner-content { 
       width: 100%; 
       margin: 0 auto; 
       padding: 10px;
	   color: white;
}
div#header { 
	font-weight: bolder;
	font-size: 1.5em;
    text-align: center;
	position: fixed;
	margin-left: auto;
    margin-right: auto;
	margin-bottom: 50px;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
    background-color: #2f3947; 
    width: 100%; 
	height: 50px;
	z-index: 10000;
}

div#footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #2f3947;
  color: white;
  text-align: center;
}

div#content {
	position: fixed; 
	padding-bottom: 75px;
	width: 95%;
	top: 75px;
	background-color: rgba(0, 0, 0, 0.5);
	overflow: auto;
	height: 100%;
	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin-top: 25px;
	margin-left: 50px;
    margin-right: auto;
	margin-bottom: 75px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	box-shadow: 0 0 20px 0 #222;
	-webkit-box-shadow: 0 0 20px 0 #222;
	-moz-box-shadow: 0 0 20px 0 #222;
}

/* Dropdown Button */
.dropbtn {
  background-color: #2f3947;
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none
  }

/* The container <div> - needed to position the dropdown content */
.dropdown {
	position: relative;
	display: inline-block;
	float: left;
	left: 25px; 
}
.headerlogin {
	position: relative;
	display: inline-block;
	float: right;
	right: 25px; 
	top: 12px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2f3947;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #2596be;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}

.ui-tabs {
	width: 98%;
	margin: auto;
}

.container {
    display: inline-block;
    height: 35px; /* image's height */
}

.container span {
	height: 35px; /* image's height */
    display: table-cell;
    vertical-align: middle;
}
.white {
	text-align: center;
	color: #ffffff;
	padding: 5px;
}
.page-header {
	text-align: center;
	width: 50%;
	margin: auto;
	margin-top:  10px;
	padding: 10px;
	border-radius: 10px;
	background-color: rgba(50,50,50,0.5);
	box-shadow: 0 0 20px 0 #222;
	-webkit-box-shadow: 0 0 20px 0 #222;
	-moz-box-shadow: 0 0 20px 0 #222;
}
