/* [UNIVERSAL] */
body {
   background-image: url(/img/starry-night.jpg);
}
html, body {
  padding: 0;
  margin: 0;
}
html, body, input, textarea{
  font-family: Geneva, sans-serif;
	font-size: 16px;
}
h1, h2, h3, h4{
  margin: 5px 0;
}

/* [NOW LOADING] */
#page-loader, #page-loader-spin {
	position: fixed;
	display: block;
	transition: all 0.3s linear;
}
#page-loader {
	top:0;
  left:0;
	height: 100%;
  width: 100%;
	visibility: hidden;
	z-index: 9999;
	background: none;
	opacity: 0.8;
}
#page-loader.active {
	visibility: visible;
	background: #000;
}
#page-loader-spin{
	top: 50%; 
  left: 50%;
	margin: -50px 0 0 -50px;
}

/* [PAGE WRAPPER] */
#page-wrap {
	display: flex;
	align-items: stretch;
}

/* [SIDE BAR] */
#page-sidebar {
	min-width: 250px;
	max-width: 250px;
	background: #353535;
	color: #fff;
	transition: all 0.3s;
}

/* [SIDE BAR ITEMS] */
#page-sidebar a {
  text-decoration: none;
  color: #fff;
  padding: 8px;
  display: block;
  width: 100%;
}
#page-sidebar .ico {
  font-size: 32px;
  color: #f48042;
}

/* [PAGE MAIN] */
#page-main {
	width:100%;
  min-height: 100vh;
	background: #f7f9fa;
}

/* [NAVIGATION BAR] */
#page-nav {
  position: relative;
	background: #474747;
	color: #fff;
  min-height: 50px;
}
#page-button-side, #page-button-out {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: #87260e;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
	cursor: pointer;
  position: absolute;
  top: 0;
}
#page-button-side {
  display: none;
  left: 0;
}
#page-button-out {
  right: 0;
}

/* [CONTENTS] */
#page-contents {
  padding: 10px;
}

/* [SHOW/HIDE THE SIDEBAR + CONTROL] */
@media (max-width: 768px) {
  #page-sidebar {
    margin-left: -250px;
  }
  #page-sidebar.active {
    margin-left: 0;
  }
  #page-button-side {
    display: block;
  }
}

/* [FORMS] */
button, input[type=button], input[type=submit] {
  background: #005389;
  border: 0;
  color: #fff;
}
input[type=text], input[type=email], input[type=number], input[type=password], textarea{
  display: block;
}
input, textarea, button{
  box-sizing: border-box;
  padding: 8px;
  margin: 8px;
}
/*
table.zebra {
  width: 100%;
  border-collapse: collapse;
}
table.zebra td {
  padding: 10px;
}
table.zebra td.right {
  text-align: right;
}
table.zebra tr:nth-child(odd) {
  background-color: #f2f2f2
}
*/
#login-form {
  max-width: 340px;
  margin: 0 auto;
  padding: 10px 20px 20px 20px;
  background: #ffd575;
}
#login-form input{
  width: 100%;
}
/* Initial TABLE attempt */
table a:link {
	color: #666;
	font-weight: bold;
	text-decoration:none;
}
table a:visited {
	color: #999999;
	font-weight:bold;
	text-decoration:none;
}
table a:active,
table a:hover {
	color: #bd5a35;
	text-decoration:underline;
}
table {
	font-family:Arial, Helvetica, sans-serif;
	color:#666;
	font-size:12px;
	text-shadow: 1px 1px 0px #fff;
	background:#eaebec;
	margin:20px;
	border:#ccc 1px solid;

	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;

	-moz-box-shadow: 0 1px 2px #d1d1d1;
	-webkit-box-shadow: 0 1px 2px #d1d1d1;
	box-shadow: 0 1px 2px #d1d1d1;
}
table th {
	padding:21px 25px 22px 25px;
	border-top:1px solid #fafafa;
	border-bottom:1px solid #e0e0e0;

	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
	background: -moz-linear-gradient(top,  #ededed,  #ebebeb);
}
table th:first-child {
	text-align: left;
	padding-left:20px;
}
table tr:first-child th:first-child {
	-moz-border-radius-topleft:3px;
	-webkit-border-top-left-radius:3px;
	border-top-left-radius:3px;
}
table tr:first-child th:last-child {
	-moz-border-radius-topright:3px;
	-webkit-border-top-right-radius:3px;
	border-top-right-radius:3px;
}
table tr {
	text-align: center;
	padding-left:20px;
}
table td:first-child {
	text-align: left;
	padding-left:20px;
	border-left: 0;
}
table td {
	padding:18px;
	border-top: 1px solid #ffffff;
	border-bottom:1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;

	background: #fafafa;
	background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
	background: -moz-linear-gradient(top,  #fbfbfb,  #fafafa);
}
table tr.even td {
	background: #f6f6f6;
	background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
	background: -moz-linear-gradient(top,  #f8f8f8,  #f6f6f6);
}
table tr:last-child td {
	border-bottom:0;
}
table tr:last-child td:first-child {
	-moz-border-radius-bottomleft:3px;
	-webkit-border-bottom-left-radius:3px;
	border-bottom-left-radius:3px;
}
table tr:last-child td:last-child {
	-moz-border-radius-bottomright:3px;
	-webkit-border-bottom-right-radius:3px;
	border-bottom-right-radius:3px;
}
table tr:hover td {
	background: #f2f2f2;
	background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
	background: -moz-linear-gradient(top,  #f2f2f2,  #f0f0f0);	
}
