/**************************************************************************
 Style Sheet
 login.css file used to format the opening login screen only.
***************************************************************************/

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../../fonts/open-sans/open-sans-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('../../fonts/open-sans/open-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../fonts/open-sans/open-sans-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../fonts/open-sans/open-sans-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../../fonts/open-sans/open-sans-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../fonts/open-sans/open-sans-v15-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../../fonts/open-sans/open-sans-v15-latin-italic.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Italic'), local('OpenSans-Italic'),
       url('../../fonts/open-sans/open-sans-v15-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../fonts/open-sans/open-sans-v15-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../fonts/open-sans/open-sans-v15-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('../../fonts/open-sans/open-sans-v15-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../fonts/open-sans/open-sans-v15-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../../fonts/open-sans/open-sans-v15-latin-600.eot'); /* IE9 Compat Modes */
  src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
       url('../../fonts/open-sans/open-sans-v15-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../fonts/open-sans/open-sans-v15-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../fonts/open-sans/open-sans-v15-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../../fonts/open-sans/open-sans-v15-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../fonts/open-sans/open-sans-v15-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../../fonts/open-sans/open-sans-v15-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
       url('../../fonts/open-sans/open-sans-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../fonts/open-sans/open-sans-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../fonts/open-sans/open-sans-v15-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../../fonts/open-sans/open-sans-v15-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../fonts/open-sans/open-sans-v15-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;  /* to make the background image not scroll */
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

.logo {
	height: 75px;
    background: transparent url(logo.png) no-repeat 50% 50%;
}

.loginContainer {
	position: absolute;
	width: 100%; height: 100%;
	background: url(dark-modern.jpg) no-repeat 0 0; /* lighter */
    background-size: 100% 100%;
    overflow: hidden;
}

.loginWrapper {
	position: absolute;
  	top: 50%; left: 50%;  	
	-ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);    
    padding: 0 40px 0 40px; /* padding allows for box-shadow */
    width: 380px; max-width: 380px; min-width: 320px;
    overflow: hidden;
}

.loginDialog {
	position: relative;
	height: auto;
    background: #fff;
    border-radius: 6px;
    padding: 24px 36px 36px 36px;
    -webkit-box-shadow: 0 0 44px 0 #202d40;
            box-shadow: 0 0 44px 0 #202d40;
}

#signin_label {
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 24px;
    display: inline;
    margin-right: 2px;
}

#localizeLink span {
	float: right;
	position: relative;
	top: 14px; left: -6px;
}

input:not([type=checkbox]), select {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    width: 100%;
    height: 48px;
    font-size: 16px;
    border: none;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	border-radius: 4px;
}

input:not([type=checkbox]) {
	background: #f3f5fb;
    color: #000;
    font-weight: 600;
}

input[type=text], input[type=password] {
    padding-left: 22px;
}

input[type=button] {
    cursor: pointer;
}

/* Customized Checkbox */
.cb-container {
  display: inline-block;
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #020202;
}

.cb-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
  background-color: #fff;
  border: 1px solid #a4a9b7;
  border-radius: 2px;
}

.cb-container:hover input ~ .checkmark {
  background-color: #fff;
}

.cb-container input:checked ~ .checkmark {
  background-color: #fff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.cb-container input:checked ~ .checkmark:after {
  display: block;
}

.cb-container .checkmark:after {
  left: 4px;
  top: 0;
  width: 4px;
  height: 9px;
  border: solid #3367d6;;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

select {
	border: 1px solid #a4a9b7;
	padding-left: 18px;
}

.spacer {
	height: 18px;
}

.input-label {
	font-size: 12px;
	color: #a4a9b7;
	margin-bottom: 3px;
}

#signin_button {
	color: #eee;
	background: #3367d6;
}

#signin_button:hover {
    color: #fff;
}

#or {
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    color: #020202;
    text-align: center;
    margin: 10px 0 10px 0;
}

#guest_button {
    color: #3367d6;
    background: #fff;
    border: 1px solid #3367d6;
}

#optionsContainer {
    width: 100%;
    font-size: 14px;
    color: #3367d6;
}

#remember_username {
    position: relative;
    top: 1px;
}

#forgot_password_control {
	display: inline-block;
	float: right;
	text-align: right;
	cursor: pointer;
}

.account-info {
	position: relative;
	width: 100%;
    background: transparent;
    font-size: 12px;
	line-height: 1.33;
    text-align: center;
    color: #b3b7c3;
    padding-top: 10px;
}

.callout_container {
    position: absolute; top: 0; left: 0;
    width: 100%;
}
.callout {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
    visibility: hidden;
    position: absolute; top: 0; left: 0;
    background: #d6dded;
    font-size: 1.4em;
    width: 100%;
    z-index: 100;
    padding: 10px 36px 20px 36px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.callout .callout_title {
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 1.1em;
}
.callout .loginDialogButton {
    padding: 4px 15px 3px 15px;
    font-size: 15px;
}
.callout .closeX {
	border-radius: 9px;
    height: 19px;
    width: 19px;
    float: right;
    font-size: 0;
    cursor: pointer;
}
.callout .closeX img {
	position: relative; top: 5px; left: 5px;
}
.callout .closeX:hover {
    background: #567089;
}

.localizeLink span {
    color: #567089;
    position: relative;
    top: -2px;
    font-size: 12px;
}

.localizeLink img {
	float: right;
	clear: right;
	position: relative; top: -3px;
	cursor: pointer;
}
#login_form .localizeLink img {
	position: relative;
	top: 8px;
}
#localeList div {
	height: 24px;
}


#changeLanguageCallout {
    margin-top: -200px;
    font-style: italic;
    color: #dee9ec;
}
#changeLanguageCallout .calloutTriangle {
    top: 170px;
}

#changeLanguageCallout .localizeLink {
    padding: 2px 0px 0px 5px;
    font-weight: normal;
    font-style: normal;
}
#changeLanguageCallout .localizeLink:hover {
    background: #567089;
}


/* Text fields   Check if all are needed */
input:-webkit-autofill {
    -webkit-text-fill-color: black;
    -webkit-box-shadow: inset 0 0 0px 9999px #F3F5FB;
}
::-webkit-input-placeholder {
    font-style: italic;
    color: #9ba4ab;
}
:-moz-placeholder { /* Firefox 18- */
    font-style: italic;
    color: #9ba4ab;
}
::-moz-placeholder {  /* Firefox 19+ */
    font-style: italic;
    color: #9ba4ab;
}
:-ms-input-placeholder {
    font-style: italic;
    color: #9ba4ab;
}
input[type=text]:focus, input[type=password]:focus {
    outline: none;
    border: solid 1px #dbdbdb;  /* repeats the default; needed for webkit */
}

/* Small devices */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 2) {
	.loginContainer { overflow: auto; background: #fff; }
	.loginWrapper { top: 12px; 
		-ms-transform: translate(-50%,-12px);
    	-webkit-transform: translate(-50%,-12px);
    	-moz-transform: translate(-50%,-12px);
    	transform: translate(-50%,-12px);
	}	
	.logo {	background: #fff url(logo-black.png) no-repeat 50% 50%; }
	.loginDialog { padding-bottom: 8px; width: auto; max-width: 45em; min-width: 0; top: 0; -webkit-box-shadow: none; box-shadow: none;}
	.spacer { height: 12px; }
	.account-info {	padding: 0 0 8px 0; color: #a4a9b7;}
	.callout { background: #fff; }
}

@media only screen
and (min-device-width: 320px)
and (max-device-width: 812px)
and (orientation : landscape) {
	.loginContainer { overflow: auto; background: #fff; }
	.loginWrapper { top: 12px; 
		-ms-transform: translate(-50%,-12px);
    	-webkit-transform: translate(-50%,-12px);
    	-moz-transform: translate(-50%,-12px);
    	transform: translate(-50%,-12px);
	}
	.logo {	background: #fff url(logo-black.png) no-repeat 50% 50%; }
	.loginDialog { padding-bottom: 8px; padding-top: 4px; width: auto; max-width: 45em; min-width: 0; top: 0; -webkit-box-shadow: none; box-shadow: none;}
	.spacer { height: 12px; }
	.account-info {	padding: 0 0 8px 0; color: #a4a9b7;}
	.callout { background: #fff; }
}

@media only screen
and (min-device-width: 320px)
and (max-device-width: 450px)
and (orientation : portrait) {
	.loginContainer { background: #fff; }
	.loginWrapper { width: 100%; padding: 0; }
	.logo {	background: #fff url(logo-black.png) no-repeat 50% 50%; }
	.loginDialog { padding-bottom: 8px; padding-top: 0; width: auto; max-width: 45em; min-width: 0; top: 0; -webkit-box-shadow: none; box-shadow: none;}
	.spacer { height: 12px; }
	.account-info {	padding: 0 0 8px 0; color: #a4a9b7;}
	.callout { background: #fff; }
}

/* Minimal size laptops based on viewport size and not screen size:
   To prevent scrolling resize height of spacer elements and inputs only */
@media only screen
and (max-height: 720px)
and (orientation : landscape) {
	.spacer { height: 10px; }
	input:not([type=checkbox]), select { height: 40px; }
}