html, body {
	margin: 0px;
	padding: 0px;
	font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #7C6954;
	position: relative;
	
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: transparent;
	
	width: 100%;
}
body {
	height: 100vh;
	overflow: hidden;
}
a {
	color: #000000;
	text-decoration: none;
}
input, select, textarea {
	font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

div#enclosure {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: relative;
}

div.page a {
	outline: none;
    color: #862338;
	text-decoration: underline;
}
div.page a:hover {
	text-decoration: none;
}

div#header {
	overflow: hidden;
	padding: 10px 10px;
}
div#header img {
	float: left;
	display: block;
	height: 40px;
	width: auto;
}
div#header .menuIcon {
	float: right;
	display: block;
	height: 40px;
	width: 40px;
	text-indent: -9999px;
	cursor: pointer;
	position: relative;
}
div#header .menuIcon:after {
    display: block;
    width: 100%;
    height: 100%;
    content: " ";
    background-size: 26px 26px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(menu-icon.png);
    -webkit-transition: background-image 300ms ease-in-out, -webkit-transform 300ms ease-in-out;
    -moz-transition: background-image 300ms ease-in-out, -moz-transform 300ms ease-in-out;
    -ms-transition: background-image 300ms ease-in-out, -ms-transform 300ms ease-in-out;
    -o-transition: background-image 300ms ease-in-out, -o-transform 300ms ease-in-out;
    transition: background-image 300ms ease-in-out, transform 300ms ease-in-out;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}
div#header .menuIcon.open:after {
    background-image: url(close.png);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

div#pageTitle {
	color: #ffffff;
	background: #820023;
	font-size: 18px;
	text-align: center;
	padding: 10px;
	line-height: 24px;
}

/* Splash Screen */
div.splash {
	background: #ffffff url(splash.png) no-repeat;
	background-position: left 50% top calc(50% - 40px);
	background-size: contain;
	height: 100vh;
	width: 100%;
	top: 0px;
	left: 0px;
	z-index: 999998;
	position: absolute;
	opacity: 1;
	overflow: hidden;
}
div.splash.loading {
	z-index: 999998;
}
div.splash.hide {
	z-index: -999998;
	opacity: 0;
    -webkit-transition: opacity 500ms ease-in-out;
    -moz-transition: opacity 500ms ease-in-out;
    -ms-transition: opacity 500ms ease-in-out;
    -o-transition: opacity 500ms ease-in-out;
    transition: opacity 500ms ease-in-out;
}
div.splash p.notice {
	position: absolute;
	bottom: 0px;
	width: 100%;
	color: #ffffff;
    background: #820023;
    font-size: 14px;
    text-align: center;
    padding: 10px;
	margin: 0px;
    line-height: 20px;
	box-sizing: border-box;
	z-index: 999999;
}

/* Login Page */
div.login {
	background: #ffffff;
	height: 100vh;
	width: 100%;
	top: 0px;
	left: 0px;
	z-index: 999997;
	position: absolute;
	opacity: 1;
	overflow: hidden;
	
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
div.login.hide {
	z-index: -999997;
	opacity: 0;
	-webkit-transition: opacity 500ms ease-in-out;
	-moz-transition: opacity 500ms ease-in-out;
	-ms-transition: opacity 500ms ease-in-out;
	-o-transition: opacity 500ms ease-in-out;
	transition: opacity 500ms ease-in-out;
}
div.login .inside {
	width: 100%;
	box-sizing: border-box;
	max-width: 600px;
	margin: 0px;
	padding: 15px;
}
div.login .inside img {
	width: 100%;
	height: auto;
	box-sizing: border-box;
}
div.login form#login {
	background: rgba(255,255,255,0.1);
	margin: 0px auto;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}
div.login form#login label {
	width: 50%;
	padding-right: 15px;
	float: left;
	box-sizing: border-box;
	clear: left;
	margin-bottom: 10px;
	line-height: 29px;
}
div.login form#login input {
	width: 50%;
	float: left;
	clear: right;
	padding: 5px;
	box-sizing: border-box;
	margin-bottom: 10px;
}
div.login form#login button {
	display: block;
	width: 100%;
	padding: 10px 20px;
	color: #ffffff;
	background: #820023;
	border: 0px;
	margin-bottom: 0px;
	font-size: 18px;
	cursor: pointer;
}
div.login form#login label.hide, div.login form#login input.hide {
	display: none;
}

/* Main Notice */
body p.mainnotice {
	position: absolute;
	bottom: -100px;
	width: 100%;
	color: #ffffff;
    background: #820023;
    font-size: 14px;
    text-align: center;
    padding: 10px;
	margin: 0px;
    line-height: 20px;
	box-sizing: border-box;
	z-index: 9999998;
	
	-webkit-transition: bottom 500ms ease-in-out;
	-moz-transition: bottom 500ms ease-in-out;
	-o-transition: bottom 500ms ease-in-out;
	transition: bottom 500ms ease-in-out;
}
body.showNotice p.mainnotice {
	bottom: 0px;
}

/* Pages */
div.page, ul#menu {
	height: calc( 100vh - 104px - 34px );
	width: 100%;
	overflow-y: auto;
	top: 104px;
	left: 0px;
	z-index: 100;
	position: absolute;
	background: #ffffff;
	padding: 10px 10px;
	box-sizing: border-box;
}
div.page p {
	margin-top: 0px;
}
div.page {
	opacity: 0;
	z-index: -99999;
}
div.page.visible {
	opacity: 1;
	z-index: 99999;

	-webkit-transition: opacity 500ms ease-in-out;
	-moz-transition: opacity 500ms ease-in-out;
	-o-transition: opacity 500ms ease-in-out;
	transition: opacity 500ms ease-in-out;
}
iframe {
	width: 100%;
	box-sizing: border-box;
	height: 60vh;
}
div.page a.downloadfile {
	background: #820023;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 18px;
    margin-top: 10px;
    display: inline-block;
    clear: both;
}
div.page img.logo {
	width: 100%;
	height: auto;
	max-width: 450px;
	display: block;
	margin: 0px auto;
	padding-bottom: 20px;
}
div.page span.usersName {
	font-weight: bold;
}


/* Connectivity issues */
p.connectivityissues {
	position: absolute;
	bottom: -100px;
	width: 100%;
	color: #ffffff;
    background: #820023;
    font-size: 14px;
    text-align: center;
    padding: 10px;
	margin: 0px;
    line-height: 20px;
	box-sizing: border-box;
	z-index: 9999999;
	
	-webkit-transition: bottom 500ms ease-in-out;
	-moz-transition: bottom 500ms ease-in-out;
	-o-transition: bottom 500ms ease-in-out;
	transition: bottom 500ms ease-in-out;
}
body.showConnectivity p.connectivityissues {
	bottom: 0px;
}

/* Menu */
ul#menu {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	z-index: 999999;
	border-top: 2px solid #ffffff;
	
	height: 0px;
	overflow-y: auto;
	opacity: 0;
}
ul#menu.open {
	height: auto;
	max-height: calc( 100vh - 104px );
	overflow-y: auto;
	opacity: 1;
	
	 -webkit-transition: opacity 300ms ease-in-out;
    -moz-transition: opacity 300ms ease-in-out;
    -ms-transition: opacity 300ms ease-in-out;
    -o-transition: opacity 300ms ease-in-out;
    transition: opacity 300ms ease-in-out;
}
ul#menu li.hide {
	display: none;
}
ul#menu li a {
	display: block;
	background: #4f4130;
	line-height: 36px;
	font-size: 16px;
	text-align: center;
	color: #ffffff;
	border-bottom: 2px solid #ffffff;
}
ul#menu li a:hover {
	background: #862338;
}

/* Advisor In and Out Status */
div.page form#adviser-in-out {
	background: rgba(255,255,255,0.1);
	margin: 0px auto;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}
div.page form#adviser-in-out label {
	width: 50%;
	padding-right: 15px;
	float: left;
	box-sizing: border-box;
	clear: left;
	margin-bottom: 10px;
	line-height: 29px;
}
div.page form#adviser-in-out input, div.page form#adviser-in-out select, div.page form#adviser-in-out textarea {
	width: 50%;
	float: left;
	clear: right;
	padding: 5px;
	box-sizing: border-box;
	margin-bottom: 10px;
}
div.page form#adviser-in-out button {
	display: block;
	width: 100%;
	padding: 10px 20px;
	color: #ffffff;
	background: #820023;
	border: 0px;
	margin-bottom: 0px;
	font-size: 18px;
	cursor: pointer;
}
div.page form#adviser-in-out label.hide, div.page form#adviser-in-out input.hide {
	display: none;
}


/* spinner */
.spinner {
	width: 100%;
	height: calc( 100vh - 104px - 34px );
	background: rgba(0,0,0,0.3);
  
	position: absolute;
    top: 104px;
    left: 0px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
	
	z-index: -999999;
}
.spinner.show {
	z-index: 999999;
}
.spinner .inside {
	width: 40px;
	height: 40px;
	position: relative;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  
  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
	0%, 100% { 
		transform: scale(0.0);
		-webkit-transform: scale(0.0);
	} 50% { 
		transform: scale(1.0);
		-webkit-transform: scale(1.0);
	}
}


/* Build Number */
div.buildNo {
	text-align: center;
	bottom: 0px;
	left: 0px;
	width: 100%;
	box-sizing: border-box;
	position: absolute;
	
	color: #ffffff;
    background: #820023;
    font-size: 12px;
    text-align: center;
    padding: 8px;
    line-height: 18px;
}


/* Tables */
div.table {
	
}
div.table .row {
	overflow: hidden;
	display: block;
}
div.table .row:nth-of-type(odd) {
	background: rgba(0,0,0,0.05);
}
div.table .row.head {
	color: #ffffff;
	background: #820023;
}
div.table .row .cell {
	float: left;
	box-sizing: border-box;
	padding: 7px 10px;
	font-weight: normal;
}

div.table.employeeonsite .row .cell:nth-of-type(1) {
	width: calc( 100% - 100px );
}
div.table.employeeonsite .row .cell:nth-of-type(2) {
	width: 100px;
}