/* 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 {
    height: 100%;
}

body {
	background: url(/static/images/background-index.jpg?v=2) no-repeat scroll center center;
	background-size: cover;
	margin: 0;
	padding: 0;
}

::-webkit-input-placeholder { /* place holder styling for chrome*/
	font-family: 'Open Sans Light';
	color: #3f4751;
	opacity: 0.5;
}

::-moz-placeholder { /* place holder styling for firefox*/
	font-family: 'Open Sans Light';
	color: #3f4751;
	opacity: 0.5;
}
:-ms-input-placeholder { /* place holder styling for IE*/
	font-family: 'Open Sans Light' !important;
	color: #3f4751 !important;
	opacity: 0.5;
}
#main-box {
	display: block;
	margin: auto;
	padding: 96px;
}
#login_container{
	display: block;
	margin: auto;
	/* if width changes accordingly background-position of login_logo should change */
	width: 336px;
	padding: 16px 32px;
	background-color: #ffffff;
	box-shadow: 0 0 10px rgba(0, 0, 0, .3);
	border-radius: 4px;
}
.error,
.message.error {
    border-radius: 2px;
    box-shadow: 0 1px 2px 1px rgba(60,64,67,0.3), 0 1px 6px 0px rgba(60,64,67,0.2);
    color: #ff5245;
    font-family: "Helvetica";
    font-size: 14px;
    line-height: 1.3;
    list-style: outside none none;
    margin: -44px 0px 8px 0px;
    padding: 8px 8px 8px 16px;
    background-color: rgb(247, 222, 225);
    width: 311px;
    min-height: 32px;
    height: auto;
    display: flex;
    align-items: center;
}
.error:after,
.error:before {
	position: absolute;
}

.error:after {
	border-color: #FFFFFF transparent transparent transparent;
    border-width: 5px;
    left: 4.5%;
    top: 100%;
}
.error:before {
}
li {
    display: table-cell;
}

.error .feedbackPanel li {
    display: block;
}

.error-img {
  background: url(/static/images/login_icon_error.svg) no-repeat center;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  display: block;
}

.error-msg {
	cursor: default;
    vertical-align: middle;
}
#pn-logo {
  text-align: center;
  margin: 16px 0 48px 0;
}

#legend{
	background: #FFFFFF url("/static/images/planon-logo.png") no-repeat 234px 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 {
    margin-bottom: 8px;
}
input {
    background-color: #FFFFFF;
    font-size: 14px;
    font-family: 'Open Sans Regular';
    height: 40px;
    line-height: 1.5;
    border: none;
    vertical-align: middle;
    width: 335px;
    text-indent: 16px;
    outline: 1px solid #d8d8d8;
    -webkit-appearance: none;
    border-radius: 6px;
    padding: 0;
}

input[type=submit]{
    background-color: #114dac;
    text-indent: 0;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 15px;
    font-style: normal;
    margin: 8px 0;
    -webkit-appearance: none; /* for iphone, to make button styling properly */
    font-family: "Helvetica";
    outline: 0;
}
			
input[type=submit].back-to-login {
	margin-bottom: 34px;
}
.forgot_password {
  text-align: center;
  margin: 16px 0;
}
.forgot_password_link {
  color: #114dac;
  font-size: 16px;
  font-family: Open Sans regular;
  text-decoration: none;
  font-weight: 600;
  box-shadow: none;
  cursor:pointer
}
 
/* Larger screens: up to 1919 pixels */
@media (max-width: 1919px) {
  body {
    background-image: url(/static/images/background-index-1280.jpg?v=2);
  }
}

/* Medium screens: up to 1279 pixels */
@media (max-width: 1279px) {
  body {
    background-image: url(/static/images/background-index-768.jpg?v=2);
  }

  #main-box {
  	padding:40px;
  }

  .error {
  	top: 128px;
  }
}

/* smaller screens: up to 767 pixels */
@media (max-width: 767px) {
  body {
    background-image: url(/static/images/background-index-480.jpg?v=2);
  }
}

/* smaller screens: up to 767 pixels */
@media (max-width: 600px) {
	body{
		background:#fff;
	}

	#login_container { 
		box-shadow: none;
	}

	#main-box {
		padding: 0;
	}

	.error {
		top: 80px;
	}

	#pn-logo img {
    	width: 100%;
    	height: auto;
	}

	#pn-logo {
		min-height: 76px;
	}
}

@media only screen and (max-width: 480px){
	#legend {
		margin-bottom: 25px;
		background-position: 157px center;
	}
	input {
		width: 100%;
	}
	input[type="submit"] {
		width: 100%
	}
	#login_container {
	    width: 100%;
	    padding: 0;
	}
	.error,
	.message.error {
		width: calc(100% - 24px);
	}

	#main-box {
		padding: 16px;
	}
}

/* unsuppoted broswer warning message styles */
.unsupported-browser-warn {
  box-shadow: 0 0 10px rgba(0, 0, 0, .3);
  background-color: #ffffff;
  color: #3f4751;
  border-radius: 2px;
  position: absolute;
  top: 431px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 100;
  width: 400px; 
  font-family: 'Open Sans Regular';
  font-size: 12px; }

_:-ms-lang(x), .unsupported-browser-warn {
	display: block !important;
} 
  
.unsupported-browser-warn-text {
  color: #3f4751;
  display: table-cell;
  padding: 3px 36px 13px 0;
  line-height: 1.3; }

.unsupported-browser-warn-text a {
  color: inherit; }

.unsupported-browser-warn .unsupported-warning {
  margin: 12px 8px 3px 61px; }

.unsupported-browser-warn .unsupported-warning-message {
  font-weight: bold;
  margin-top: -4px; }

.unsupported-browser-warn .pnicon-close {
  float: right;
  font-size: 12px; }

.unsupported-browser-warn .orange-line {
  width: 4px;
  height: 100%;
  background-color: #f4a000;
  position: absolute;
  border-radius: 2px 0 0 2px; }
  
.unsupported-browser-warn .circle-icon {
  display: table-cell;
  width: 56px;
  vertical-align: top;
  text-align: center;
  padding-top: 3px;
  padding-left: 5px;
  }
  
.unsupported-browser-warn img {
  height: 24px;
}

#pss_body[data-render-mode=mobile] .unsupported-browser-warn {
   display: none;
}