* {
	margin: 0px;
	padding: 0px;
}

@font-face {
  font-family: 'Proxima Nova Regular';
  src: url("../fonts/proximanova-regular-webfont.ttf");
}

@font-face {
  font-family: 'Proxima Nova Bold';
  src: url("../fonts/proximanova-bold-webfont.ttf");
}

html, body {
	min-height: 100%;
}

body {
    text-align: center;
	
    background-image: url("/web-resources/img/login_background.jpg");
	background-color: rgb(61, 61, 61);
	background-size: cover;
	background-attachment:fixed;
    background-repeat: no-repeat;
	overflow-x: hidden;
    font-family: Proxima Nova Regular;
}

a {
	text-decoration: none;
}

.shadow_container {
	border: 1px solid #ededed;
	border-radius: 5px;
	-webkit-box-shadow: -3px 3px 5px -4px rgba(173,173,173,1);
	-moz-box-shadow: -3px 3px 5px -4px rgba(173,173,173,1);
	box-shadow: -3px 3px 5px -4px rgba(173,173,173,1);
}

.fieldset {
	border: 1px solid #ededed;
	border-radius: 5px;
	margin: 10px;
}


.errorMessage {
	display: block;
	text-align: right;
	padding-right: 20px;
	color: red;
	margin: 5px;
}

.header {	
	background-color: rgb(34, 34, 34);
	width: 100%;
	padding: 10px;
	-webkit-box-shadow: -3px 3px 5px -4px rgba(173,173,173,1);
	-moz-box-shadow: -3px 3px 5px -4px rgba(173,173,173,1);
	box-shadow: -3px 3px 5px -4px rgba(173,173,173,1);
}

.logo {
	float: left;
	margin-left: 3%;
	margin-top: 9px;
}

.contact {
    float: right;
    margin-right: 3%;
}

.contact a {
	float: right;
	padding: 15px;

	font-family: Proxima Nova Bold;
	color: rgb(240, 240, 240);
	text-decoration: none;
	font-size: 0.9em;
}

.contact a:hover {
	background-color: rgb(70, 70, 70);
	color: rgb(255, 255, 255);
}

.content {
	display: inline-block;
	width: 33em;
	margin: 80 auto 0 auto;

	background-color: rgb(255, 255, 255);
	border-radius: 5px;
}
.contentMobile {
	display: inline-block;
	width: 33em;
	margin: 80 auto 0 auto;
	margin-top: 10px;
	margin-bottom: 10px;

	background-color: rgb(255, 255, 255);
	border-radius: 5px;
}


.content h2 {
	margin: 5%;
	
	text-align: left;
	font-family: Proxima Nova Bold;
  	font-size: 1.5em;
}

.content hr {
	margin: 5% 0 2% 0;


	background: rgb(210, 210, 210);
	border: 0;
	height: 1px;
}

.feedbackPanelERROR, .feedbackPanelINFO {
	margin: 3%;
	
	text-decoration: none;
	list-style: none;
	font-family: Proxima Nova Bold;
	font-size: 0.9em;
  	color: black;
}

@media only screen and (max-width: 480px) {
	.feedbackPanelINFO {
		font-size: 1.4em;
	}
}

.input {
	display: block;
	width: 88%;
	margin: 0 5% 1% 5%;
	padding: 1%;
	
	border-radius: 5px;
}
.inputLarge {
	display: block;
	width: 90%;
	margin: 0 2% 1% 2%;
	padding: 1%;
	
	border-radius: 5px;
}

.fieldlabel {
    text-align: left;
	display: inline-block;
	width: 43%;
	margin-left: 2%;
	text-transform: uppercase;
  	color: rgb(160, 160, 160);
}

.field, .errorField {
	display: inline-block;
	width: 53%;
	padding: 2%;
	border: 1px solid rgb(210, 210, 210);
	
	font-size: 1.1em;
/* 	background-color: rgb(253, 247, 231); */
background-color: white;
  	border-radius: 5px;
}

.errorField {
	outline: 1px solid rgb(200, 0, 0);
}

.field:focus, .errorField:focus {
/*     border:0px; */
    outline:0px;
	outline: none;
}

.agreement, .erply_books_info {
	margin: 20px 5% 8px 5%;
  	font-size: 0.85em;
  	color: rgb(180, 180, 180);
}

.erply_books_info {
	font-size: 0.95em;
}

.agreement a, .erply_books_info a {
	color: rgb(180, 180, 180);
}

.submitButton {
	margin: 1% 5% 0 5%;
	width: 90%;
	height: 46px;
	
	background-color: rgb(247, 204, 86);
	border: none;
	border-radius: 5px;
  	font-size: 1.2em;
  	color: white;
  	font-family: Proxima Nova Bold;
}

.submitButton:hover {
	background-color: rgb(245, 192, 47);
	cursor: pointer;
}

.bottomLinks {
	margin: 5%;
	margin-top: 1%;
	width: 90%;
	text-align: center;
}
@media only screen and (max-device-width: 700px) and (orientation: portrait)  {
   .bottomLinks a {
    font-size: min(2.5rem, 8.5vw) !important;
    height: 7rem;
    line-height: 7rem; 
  }
}


.leftLink, .rightLink {
	
	float: left;
	display: inline-block;
	width: 49.5%;
	height: 46px;
	line-height: 46px;
	margin: 0 0.5% 0 0;
	
	text-decoration: none;
	font-size: 0.9em;
	background-color: rgb(245, 245, 245);
	border-radius: 5px;
	font-family: Proxima Nova Bold;
  	color: black;
}

.rightLink {
	margin: 0 0 0 0.5%;
}

.leftLink:hover, .rightLink:hover{
	background-color: rgb(235, 235, 235);
}

.bottom, .bottom a {
	margin-top: 10px;
	
	font-family: Proxima Nova Regular;
	text-decoration: none;
	font-size: 0.85em;
	color: white;
}

	   /* Desktop */
@media only screen and (max-width: 1024px), 
	   /* Mobile */
	   only screen and (max-device-width: 1024px) {
	.content {
		width: 82%;
	}
}	   /* Desktop */
@media only screen and (max-width: 768px), 
	   /* Mobile */
	   only screen and (max-device-width: 768px) {
	.header {
		text-align: center;
	}
	.logo {
		float: none;
		display: inline-block;
		margin: 9px auto 0 auto;
	}
	.contact, .contact a {
		float: none;
		padding: 0;
		margin: 10 auto 12 auto;
	}
	.contact a:hover {
		background-color: rgb(34, 34, 34);
	}
	.contact a {
		margin-left: 1.8%;
		margin-right: 1.8%;
	}
	.content {
		margin-top: 10%;
		width: 96%;
	}
	.contentMobile {
		margin-top: 10px;
		width: 96%;
	}
	  .fieldlabel, .field, .errorField {
    display: block;
    width: 100%; /* or 100% with padding/margin */
    margin: 0 auto 1em auto; /* center horizontally with spacing below */
  }

  .fieldlabel {
    text-align: left;
    margin-bottom: 0.3em;
  }
}

/* Only mobile */
@media only screen and (min-device-width: 769px) and (max-device-width: 1024px) {
	body {
		font-size: 1.3em;
	}
}
@media only screen and (max-device-width: 768px) and (orientation: portrait) {
	body {
		font-size: 1.5em;
	}
}
@media only screen and (max-device-width: 460px) and (orientation: portrait) {
	body {
		font-size: 2.1em;
	}
	.logo img {
		width: 302px;
		height: 64px;
	}
	.leftLink, .rightLink, .submitButton {
		height: 110px;
		line-height: 110px;
	}
}

/* Base layout */
.code-input {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem auto;
}

.code-input input {
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1.6rem;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: Proxima Nova Bold;
}

.code-input input:focus {
  outline: none;
  border-color: rgb(247, 204, 86);
  box-shadow: 0 0 6px rgba(247, 204, 86, 0.7);
}

/* Send button */
.send-btn {
  width: 92%;
  max-width: 450px;
  padding: 1rem;
  font-size: 1.3rem;
  border: none;
  border-radius: 6px;
  background-color: #4CAF50;
  color: white;
  font-family: Proxima Nova Bold;
  cursor: pointer;
  margin: 1rem auto 0 auto;
  display: block;
}

.send-btn:hover {
  background-color: #43A047;
}

/* Error text */
.error-message {
  margin-top: 1rem;
  color: red;
  font-size: 1rem;
  display: none;
}

/* 📱 Mobile-specific boost: even BIGGER inputs + button */
@media only screen and (max-device-width: 700px) and (orientation: portrait)  {
   .code-input input {
    width: min(6rem, 24vw) !important; 
    height: min(6rem, 24vw) !important;
    font-size: min(2.2rem, 8vw) !important;
  }
  .send-btn {
    font-size: min(4rem, 16vw) !important;
    padding: 0.7rem !important;
    width: 95% !important;
  }
  .submitButton {
    font-size: min(2.2em, 8vw);
   	height: 6%; 
  }
}
