html,body{
	height:100%;
	width:100%;
}
body{
	margin: 0 0 0 0;
  padding:0 0 0 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100%;
  width: 100%;
  /*min-height: 520px !important;
  min-width: 600px !important;*/
}
ul {
  list-style-type: none;
}
li {
  margin-left: 10px;
  padding-left: 0px;
}
li a {
  margin-left: 0px;
  margin-top: 10px;
}
input[type="text"], input[type="password"] {
  width: 310px;
  height: 40px;
  display: inline-block;
  box-sizing: border-box;
  border: 1px solid #ccc;
}
div{
	box-sizing: border-box; -moz-box-sizing: border-box;
}
div.div_row {
  position: relative;
  height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;
	display: block;
	border: none;
}
div.navigation {
  position: absolute;
  display: table-cell;
  top: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  height:100%;
  background-color: rgb(0, 160, 221);
  z-index: 1;
}
div.nav_content {
  /*min-width: 350px;*/
  width: 100%;
	height: 100%;
}
div.login {
    display: table-cell;
    position: absolute;
    top: 0px;
		right: 0px;
    /*width: 40%;*/
    width: 450px;
		max-width: 450px;
		min-width: 450px;
    height: 100%;
    margin-left: 0px;
    padding-top: 150px;
    background-color: white;
    z-index: 1;
}
div.controls {
  display: table;
  margin-left: 70px;
	min-width: 200px;
}
input[type=submit] {
  width: 310px;
  margin-top: 25px;
  margin-bottom: 15px;
	box-shadow: 0px 1px 0px 0px #f0f7fa;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #33bdef), color-stop(1, #019ad2));
	background:-moz-linear-gradient(top, #33bdef 5%, #019ad2 100%);
	background:-webkit-linear-gradient(top, #33bdef 5%, #019ad2 100%);
	background:-o-linear-gradient(top, #33bdef 5%, #019ad2 100%);
	background:-ms-linear-gradient(top, #33bdef 5%, #019ad2 100%);
	background:linear-gradient(to bottom, #33bdef 5%, #019ad2 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#33bdef', endColorstr='#019ad2',GradientType=0);
	background-color:#33bdef;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #057fd0;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 56px;
	text-decoration:none;
	text-shadow:0px -1px 0px #5b6178;
}
input[type=submit]:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #019ad2), color-stop(1, #33bdef));
	background:-moz-linear-gradient(top, #019ad2 5%, #33bdef 100%);
	background:-webkit-linear-gradient(top, #019ad2 5%, #33bdef 100%);
	background:-o-linear-gradient(top, #019ad2 5%, #33bdef 100%);
	background:-ms-linear-gradient(top, #019ad2 5%, #33bdef 100%);
	background:linear-gradient(to bottom, #019ad2 5%, #33bdef 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#019ad2', endColorstr='#33bdef',GradientType=0)
}
input[type=button]:active {
	position:relative;
	top:1px;
}
.logo {
    width: 30%;
    min-width: 200px;
		max-width: 600px;
    margin: 50px;
}
div.leaves{
   position: absolute;
   height: 188px;
   width: 202px;
   margin: 1px;
   margin-bottom: 8px;
   margin-right: 8px;
   bottom: 0px;
   right: 0px;
   opacity: .6;
   z-index: 1;
}
.login_header{
    margin-top: 0px;
    margin-left: 10px; 
}
.left_links{
    color: white;
    background-color: transparent; 
    text-decoration: none;
    font-size: 14pt;
}
.icons{
    height: 32px;
    background-color: transparent;
    vertical-align: middle;
    margin-top: 6px;
    margin-bottom: 6px;
    display: inline-block;
}
.icons.mfa_token {
  /* Hack to keep aspect ratio okay for MFA token icon */
  height: 27px;
}
.image_container {
  display: inline-block;
  width: 40px;
  max-width: 40px;
}
.dmz .image_container {
  width: 55px;
  max-width: 55px;
}
.input_user {
    background: white url(../img/user_grey.png) left no-repeat;
    background-size: 32px;
    padding-left: 35px;
    margin-right: 1px;
    margin-bottom: 4px;
}
/*.input_user:focus {
  margin-bottom: 2px;
}
.input_pwd:focus {
  margin-top: 2px;
}*/
.input_pwd {
    background: white url(../img/padlock.png) left no-repeat;
    background-size: 32px;
    padding-left: 35px;
    margin-right: 1px;
}
.hz_line{
  color: lightgray;
  width: 150px;
  text-align: left;
  margin: 0 0 0 50px;
}
a.left_links:visited{
  background-color: transparent;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

a.left_links:hover {
  color: #204090;
  opacity: 0.6;
  text-decoration: none;
}
a.right_links:hover {
  /*color: #204090;*/
  opacity: 0.6;
}

a:active{
  color: yellow;
  background-color: transparent;
  text-decoration: underline;
}
.right_links, .right_links:visited{
  color: rgb(0, 160, 221);
  background-color: transparent; 
  text-decoration: none;
  margin-bottom: 3px;
  display: block;
  font-weight: 600;
}
div.field {
  display: block;
  width: 400px;
  border: 1px solid #222222;
  height: 42px;
  padding: 3px;
  padding-top: 5px;
  padding-bottom: 5px;
  border: 1px solid #ccc;
}
div.field img {
  display: block;
  width: 32px;
  height: 32px;
}
div.field input {
  display: inline-block;
  height: 42px;
}
div.popover {
	visibility: hidden;
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	z-index: 1000;
	background-color: rgba(0,0,0,0.75);
	backdrop-filter: blur(5px);
}
div.popover h3 {
	max-width: 50%;
	min-width: 300px;
	margin: auto;
	margin-top: 80px;
	text-align: center;
	z-index: 1000;
	color: #ffffff;
	border: 0px;
	border-radius:8px;
	padding: 20px;
	padding-bottom: 10px;
	background-color: rgba(0,0,0,0.5);
}
div.popover p img {
	opacity:0.35;
	margin-top:5px;
}

a.citrix_button {
  padding: 3px 10px 3px 6px;
  display: inline-block;
  border: 1px #ffffff solid;
  margin-top: 6px;
  margin-bottom: 6px;
  border-radius: 10px;
  background-color: #6CC04A;
}
a.citrix_button strong {
  /* Hack to get text inside citrix_button link lined back up, due to extra 6px padding */
  margin-left: -7px;
}

/* Overrides for when screen is small */

@media screen and (max-height: 640px) {
  div.navigation {
    zoom: 90%;
  }
}  

@media screen and (max-height: 570px) {
  div.leaves img {
    opacity: 0.2;
  }
  div.navigation {
    zoom: 80%;
  }
}

@media screen and (max-height:450px) {
  div.login {
    top: 0px;
    padding-top: 40px;
    height: 100%;
  }
}

@media screen and (max-height: 420px) {
  div.leaves {
    display: none;
  }
}

@media screen and (max-width: 375px) {
  div.controls {
    max-width: 75%;
    margin-left: 40px;
    height: 100%;
  }
}

@media screen and (max-width:639px) {
  img.logo {
    margin-top:20px;
    margin-bottom:20px;
  }
  div.nav_content, div.navigation, div.div_row {
    min-width:unset;
    width:100%;
  }
  /*
	div.nav_content ul {
		max-width: 100px;
  }
  */
	div.navigation {
		position: absolute;
		bottom: 0px;
		right: 0px;
		height: unset;
	}
  div.login {
    position: absolute;
    padding: 0px;
    height: unset;
    left: 0px;
    top: 220px;
    bottom: 0px;
    width: 100%;
    right: 0px;
    padding-top: 15px;
    max-width: unset;
    min-width: unset;
  }
  div.login.dmz {
    top:310px;
  }
  div.leaves {
    display: none;
  }
  /*div.leaves img {
		position: absolute;
		right: 0px;
		bottom: 0px;
		width: 60%;
		height: 60%;
  }*/
	div.controls input, div.controls input[type=button] {
		width: 85%;
  }
  div.controls {
    margin-left: 50px;
    margin-right: 50px;
  }
}
