/* 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 */
}

:root {
  --planon-blue: #114DAC;
  --error-background: rgb(255, 169, 163, 0.15);
  --error-border: #C4281D;
  --info-background: rgba(84, 190, 230, 0.15);
  --info-border: #1D88AF;
  --success-background: rgba(185, 243, 192, 0.15);
  --success-border: #339945;
}

html, body, .content {
    height: 100%;
}

body {
	background: url(/static/images/background-index.jpg?v=2) no-repeat center center fixed;
	background-size: cover;
	margin: 0;
	padding: 0;
}

#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;

	/* Default regular */
   font-family: "Open Sans Regular";
   font-size: 14px;
   font-style: normal;
   font-weight: 400;
   line-height: 22px; /* 157.143% */
   letter-spacing: 0.049px;
}

.message, .error {
  display: flex;
  min-height: 40px;
  border: 1px solid var(#ffffff, rgba(255, 255, 255, 0.00));
  padding: 4px 8px 4px 48px;
  margin-bottom: 0px;
  margin-top: 10px;
  background-repeat: no-repeat;
  background-position: 16px 16px;
  cursor: default;
  vertical-align: middle;
  border-left-width: 8px;
  border-left-style: solid;
}

.message.error, .error {
 background-color: var(--error-background);
 border-left-color: var(--error-border);
 background-image: url("/static/images/login_icon_error.svg");
}

.message.information, .feedbackpanel.information {
 background-color: var(--info-background);
 border-left-color: var(--info-border);
}

.message.success, .feedbackpanel.success {
  background-color: var(--success-background);
  border-left-color: var(--success-border);
}

.message.error .error-msg {
  color: var(--pn-theme-internal_120, #3F4751);
  font-family: "Open Sans Regular";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.049px;
  align-self: 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-msg {
	cursor: default;
    vertical-align: middle;
}

#pn-logo {
  text-align: center;
  margin: 16px 0 20px 0;
}
#pn-logo img {
  max-width: 100%;
  height: auto;
}

#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-label {
 display: inline-block;
 margin-bottom: 10px;
 margin-top: 10px;
}

#login_container h1 {
  margin-bottom: 0px;
}


input {
    background-color: #FFFFFF;
    font-size: 14px;
    font-family: 'Open Sans Regular';
    height: 40px;
    line-height: 1.5;
    vertical-align: middle;
    width: 335px;
    text-indent: 16px;
    border: 1px solid #7A7A7A;
    -webkit-appearance: none;
    border-radius: 6px;
    padding: 0;
}

input[type=submit]{
    background: linear-gradient(90deg, var(--planon-blue) 0%, #1767E8 100%);
    text-indent: 0;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 15px;
    font-style: normal;
    margin: 16px 0 8px 0;
    -webkit-appearance: none; /* for iphone, to make button styling properly */
    font-family: "Open Sans Regular";
    font-weight: 400;
    line-height: normal;
    outline: 0;
    border: 0;
}

input[type=button].back-to-login {
	background-color: #D8D8D8;
	outline: 0px;
	font-weight: 400;
	text-indent: 0px;
	cursor: pointer;
	outline-offset: 0;
	border: 0;
}

*:focus-visible {
  outline-width: 2px !important;
  outline-offset: 1px;
  outline-style: solid !important;
  outline-color: var(--planon-blue) !important;
}

input[type="submit"]:focus-visible {
 outline-color: #ffffff!important;
 outline-offset: -4px;
}

input:not([type="submit"], [type="button"]):focus-visible {
  outline-width: 1px !important;
}


.forgot_password {
  text-align: center;
  margin: 16px 0;
}

.forgot_password_link {
  color: var(--planon-blue);
  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 {
		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: 610px;
  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;
}

/* FeedbackPanel */
.feedbackPanel {
    padding-left: 0px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.message li {
    display: inline;
}

.message.password-requirements li {
 display: inline-block;
}

.message.password-requirements li:nth-child(1) {
 font-weight: bold;
 margin-bottom: 10px;
}

/* Password */
.field.password {
    position: relative;
}

.password-verdict {
 text-align: center;
 width: 100%;
 color: white;
 font-size: small;
}

.password-strength-meter { 
	position: absolute;
	background: #d9d9d9;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	box-shadow: inset 0 -1px 1px rgba(255,255,255,0.3);
	width: 128px; 
	height: 32px;
	bottom: 5px;
	right: 6px;
	align-items: center;
	font-family: 'Open Sans Regular';
	display: flex;
	visibility: hidden;
}

.password-strength-meter.none{
  visibility: hidden;
}

.password-strength-meter.poor{
	background: #C4281D;
	visibility: visible;
}

.password-strength-meter.fair{
	background: #A44200;
	visibility: visible;
}

.password-strength-meter.good{
	background: #1E46AC;
	visibility: visible;
}

.password-strength-meter.strong{
	background: #006400;
	visibility: visible;
}