/* fonts are used from "static" Project */
@font-face {
  font-family: "Open Sans Light";
   src: url("/static/fonts/open-sans-light/OpenSans-Light-webfont.eot?#iefix") format('embedded-opentype'),  /* for IE8 */
		url("/static/fonts/open-sans-light/OpenSans-Light-webfont.woff") format("woff"), /* for IE9 */
		url("/static/fonts/open-sans-light/OpenSans-Light-webfont.svg") format("svg"); /* for firefox, chrome */
}

@font-face {
  font-family: "Open Sans Semibold";
  src: 	url("/static/fonts/open-sans-semibold/OpenSans-Semibold-webfont.eot?#iefix") format('embedded-opentype'),  /* for IE8 */
       	url("/static/fonts/open-sans-semibold/OpenSans-Semibold-webfont.woff") format("woff"), /* for IE9 */
       	url("/static/fonts/open-sans-semibold/OpenSans-Semibold-webfont.svg") format("svg"); /* for firefox, chrome */
}

@font-face {
  font-family: "Open Sans Regular";
  src: 	url("/static/fonts/open-sans-regular/OpenSans-Regular-webfont.eot?#iefix") format('embedded-opentype'),  /* for IE8 */
       	url("/static/fonts/open-sans-regular/OpenSans-Regular-webfont.woff") format("woff"), /* for IE9 */
       	url("/static/fonts/open-sans-regular/OpenSans-Regular-webfont.svg") format("svg"); /* for firefox, chrome */
}

html,
body,
.content,
#main-box {
    height: 100%;
}

body {
	background: url(/static/images/CordeelLogo.jpg) no-repeat scroll center center;
	background-size: 800px 600px;
	margin: 0;
	padding: 0;
}

::-webkit-input-placeholder { /* place holder styling for chrome*/
	font-family: 'Open Sans Light';
	font-style: italic;
	color: #868F99;
}
::-moz-placeholder { /* place holder styling for firefox*/
	font-family: 'Open Sans Light';
	font-style: italic;
	color: #868F99;
}
:-ms-input-placeholder { /* place holder styling for IE*/
	font-family: 'Open Sans Light' !important;
	font-style: italic !important;
	color: #868F99 !important;
}
#main-box {
	display: table;
    margin: auto;
}
#login_container{
	display: table-cell;
    vertical-align: middle;
	/* if width changes accordingly background-position of login_logo should change */
	width: 366px; 
}
.login_frm {
	background: #F2F2F2;
	padding: 18px 0 22px 0;
	border-radius: 2px;
	box-shadow: 0 0 5px rgba(0, 0, 0, .18);
	border-bottom: 1px solid #dedede;
}
.error {
    background: none repeat scroll 0 0 #ffffff;
    border-radius: 2px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.28);
    color: #3f4751;
    font-family: "Open Sans Regular";
    font-size: 13px;
    line-height: 1.3;
    list-style: outside none none;
    margin: 0px 20px 12px 39px;
    min-height: 38px;
    padding: 6px;
    position: relative;
    width: 276px;
}
.error:after,
.error:before {
	border-image: none;
	border-style: solid;
    content: "";
    position: absolute;
}

.error:after {
	border-color: #FFFFFF transparent transparent transparent;
    border-width: 5px;
    left: 4.5%;
    top: 100%;
}
.error:before {
	border-color: #CECECE transparent transparent transparent;
    border-width: 6px;
    left: 4%;
    top: 100%;
}
li {
    display: table-cell;
}
.error-img {
    background-color: #F63939;
    border-radius: 50%;
    margin-right: 7px;
    vertical-align: middle;
}
.error-msg {
	cursor: default;
    vertical-align: middle;
}
#pn-logo {
  text-align: center;
  margin-bottom: 8px;
}

		#legend{
			background: #FFFFFF url("/static/images/CordeelMini.png") no-repeat 268px center; /* position depends on login container width 366-12-120 */
			background-repeat: no-repeat;
			background-size: 120px 22px;
			border-radius: 2px 2px 0 0;
		    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
		    margin: 0 auto 26px;
		}
			#legend_text {
			    color: #3F4751;
			    font-family: 'Open Sans Semibold';
			    font-size: 16px;
			    line-height: 40px;
			    vertical-align: middle;
			}
			
			#legend img {
			    margin: 0 12px;
			    vertical-align: middle;
			}
			.field {
			    display: flex;
                margin: 0 36px;
			}
			.icon {
			    width: 31px;
			    border: 1px solid #C4C4C4;
                border-right: none;
			}
			.username {
				background: url("/static/images/login_icon_username.png") no-repeat center;
				border-radius: 2px 0 0 0;
			}
			.password {
				background: url("/static/images/login_icon_password.png") no-repeat center;
				border-radius: 0 0 0 2px;
				border-top-color: #e0e0e0;
				border-top: none;
  			}
			.username-field{
			    border-radius: 0 2px 0 0;			    			    
			}
			.password-field{
			    border-radius: 0 0 2px 0;
			    border-top-color: #e0e0e0;	
			    border-top: none;		    
			}
			input {
			    background-color: #FFFFFF;
			    border: 1px solid #C4C4C4;
			    color: #3f4751;
			    font-size: 13px;
			    font-family: 'Open Sans Regular';
			    height: 31px;
			    line-height: 22px;
			    text-indent: 5px;
			    vertical-align: middle;
			    width: 260px;
			}

			input:focus{
				background-color: #fff;
				border-color: #CECECE;
				outline: 0;
				outline: thin dotted \9;
			}
			input[type=submit]{
			    background-color: #1464A1;
			    border: 1px solid #1464A1;
			    border-radius: 2px;
			    color: #FFFFFF;
			    cursor: pointer;
			    font-size: 14px;
			    font-style: normal;
			    height: 35px;
			    margin: 12px 0 0 36px;
			    padding: 0px;
			    text-decoration: none;
			    width: 294px;
			    -webkit-appearance: none; /* for iphone, to make button styling properly */
			}
			input[type=submit]:hover {
				background-color: #105183;
			}
			
.forgot_password {
  text-align: center;
  margin-top: 10px;
  margin-bottom: -5px;
}
.forgot_password_link {
  color: #989898;
  font-size: 11px;
  color: #5b6672;
  font-family: Open Sans regular;
}
.forgot_password_link:hover{
 color: #3F4751;
}
 
@media only screen and (max-width: 480px){
	#legend {
		margin-bottom: 25px;
		background-position: 157px center;
	}
	.login_frm {
	  padding-top: 10px;
      padding-bottom: 18px;
	}
	input {
		width: 205px;
	}
	input[type="submit"] {
		width: 239px;
	}
	#login_container {
	    width: 280px;
	}
	.error {
	    font-size: 11px;
	    margin: 0px 0 10px 39px;
	    width: 221px;
	}
}

/* Larger screens: up to 1919 pixels */
@media (max-width: 1919px) {
  body {
    background-image: url(/static/images/CordeelLogo.jpg);
  }
}

/* Medium screens: up to 1279 pixels */
@media (max-width: 1279px) {
  body {
    background-image: url(/static/images/CordeelLogo.jpg);
  }
}

/* smaller screens: up to 767 pixels */
@media (max-width: 767px) {
  body {
    background-image: url(/static/images/CordeelLogo.jpg);
  }
}
