/*

	ELIGIBILITY

*/


.forma-header {
	background-color: #e6e6e6;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 700;
}

.step-titles {
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 700;
}

.eligibility {
	margin-left: auto;
	margin-right: auto;
}

.eligibility-button {
	padding: 0px;
	background-color: transparent;
	border: none;
}
.aplication-center {
	text-align: center;
}

a.start-application {
	color: #FFF;
	font-size: 22px;
	text-transform: uppercase;	
	border-radius: 10px;
	border: 1px solid #FFF;
	background-color: #4ca92b;
	padding: 35px 55px;
	margin-top: 60px;
	display: inline-block;
	font-weight: bold;
}

a.start-application:hover {
	color: #FFF;
}

.eligibility-button a.start-application {
	margin-top: 15px;
}

.app-filter {
	margin-bottom: 40px;
	text-align: left;
}

.app-filter, .hidden-filter {
	font-size: 16px;
}

.final-filter .alert-info, .ab-h-left .alert-success {
	text-transform: uppercase;
}

.eligibility .radio {
	margin-bottom: 25px; /*originalmente estaba en 10*/
}
.eligibility .radio input[type='radio'] {
	margin-top: 2px;
}

.hidden-filter {
	display: none;
	text-align: left;
}

@media (min-width: 768px){
	.hsteps-boxes {
		padding-left: 20px;
		padding-right: 20px;
	}
	.hsteps-boxes p {
		padding-left: 30px;
		padding-right: 30px;
	}
	.ab-h-left {
		/*padding-left: 50px;
		padding-right: 50px;*/
		padding-right: 90px;
	}

	.tmh-boxes figure, .tmh-boxes article {
		float: left;
	}
	 
	.tmh-boxes figure {
		width: 30%;
	}
	.tmh-boxes article {
		width: 70%;
		padding-left: 30px;
	}
	.tmh-boxes {
		width: 50%;
	}
	.tmh-boxes article {
		padding-right: 40px;
	}
	.app-filter {
		padding-left: 40px;
		text-transform: uppercase;
	}
	
}


/* APPLICATION */


.incomplete-text {
	background-color: #FFF;
	padding: 15px;
	font-size: 16px;
	border-radius: 5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	color: #000;
}
.new-application-box {
	padding-bottom: 140px;
}
.new-application-box .container {
	padding-bottom: 90px;
}

.new-application-box input[type="text"], .new-application-box input[type="email"]{
	font-size: 16px!important;
}

.info-app, .progress {
	margin-top: 20px;
}
.previous-form, .next-form, .next-step {
	font-weight: bold;
	margin-top: 10px;
}

a.previous-form:hover, a.next-form:hover, a.next-step:hover {
	color: #FFF;
}

.new-application-box label, .new-application-box p, .new-application-box select {
	font-size: 16px;
}
.each-step, .hidden-fields {
	display: none;
}
.each-step:nth-of-type(1) {
	display: block;
}
.congratulations-complete {
	font-size: 16px;
}
.incomplete-fields .incomplete-container {
	top: 50vh!important;
}
.each-step .radio {
	margin-bottom: 18px;
}
.each-step .radio input[type='radio'] {
	margin-top: 3px;
}

.ajax-errors {
	position: fixed;
	z-index: 80;
	background-color: rgba(0, 0, 0, 0.8);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
}

.ajax-errors > div {
	width: 60%;
	background-color: #FFF;
	border-radius: 5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	padding: 15px;
	margin-left: auto;
	margin-right: auto;
	top: 50%;
	position: relative;
	font-size: 16px;
	text-align: center;
}
p#ajax-errors-fields {
	margin-bottom: 20px;
}
.preview-app-box {
	width: 1240px;
	position: fixed;
	z-index: 2;
	height: 100%;	
	margin-left: -620px;
	top:0;
	left: 50%;
	background-color: #FFF;
	display: none;	
}
.preview-app-box iframe {
	width: 100%;
	height: 100%;	
}

.close-app-box {
	position: fixed;
	top: auto;
	bottom: 0;
	z-index: 4;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.8);
	width: 100%;
	padding: 5px;
	color: #FFF;
	font-size: 12px;
}

a#close-app-preview {	
	color: #FFF;	
	font-size: 14px;
	font-weight: 700;
	width: 150px;	
}


#append-the-preview {
	padding-left: 5px;
	padding-right: 5px;
}

#append-the-preview h2 {
	position: absolute;
	width: 100%;
	text-align: center;
	top: 30%;
	left: 0;
	font-size: 16px;
	color: #000;
	font-weight: bold;
}

.save-app {
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 30;
	border-bottom-right-radius:0;
border-bottom-left-radius:0;
-moz-border-radius-bottomright: 0;
  -moz-border-radius-bottomleft: 0;
  -webkit-border-bottom-right-radius: 0;
  -webkit-border-bottom-left-radius: 0;
}


@media (max-width: 1240px){
	.preview-app-box {
		width: 1024px;		
		margin-left: -512px;
	}
}

@media (max-width: 1024px){
	.preview-app-box {
		width: 860px;		
		margin-left: -430px;
	}
}



@media (max-width: 860px){
	#append-the-preview {		
		/*-webkit-overflow-scrolling: touch;*/
  		overflow-y: scroll;
  		overflow-x: scroll;
  		width: 100%;
  		height: 100%;
  		padding-bottom: 100px;
	}

	.preview-app-box {
		width: 100vw;
		left: 0;
		margin-left: auto;		
		
	}

	/*.preview-app-box iframe {
		height: 0;
	      max-height: 100%;
	      max-width: 100%;
	      min-height: 100%;
	      min-width: 100%;
	      width: 0;
	}*/
	
}

@media (max-width: 860px) and (orientation: portrait){
	.preview-app-box {
		height: 100vh;
	}
}

.prepare-app-disclaimer {
	padding: 15px;
	text-align: center;
	background-color: #e6e6e6;
	font-size: 13px;
	display: none;
}

@media (min-width: 768px) {
	.prepare-app-disclaimer {
		display: block;
	}
}

/* zoom form preview */

.zoom-form {	
	display: none;
	width: 30px;
	height: auto;
	margin-left: 15px;
}
span.you-can-zoom {display: none;}


@media (max-width: 860px){
	.zoom-form, span.you-can-zoom {
		display: inline-block;
	}
	#zoom-out {
		display: none;
	}
}

img.uscis-app-logo {
	display: inline-block; 
	width: 20%;
}
h1.app-title-uscis {
	font-family: 'Times New Roman', sans-serif!important; 
	color: #000;
}

@media (max-width: 767px) {
	.payment-methods-col {
		margin-bottom: 30px;
	}
	.ajax-errors > div {
		width: 80%;
	}
	.final-submission, .close-review {
		margin-bottom: 15px;
	}
	#first-step-1 select {
		font-size: 14px;
	}
	img.uscis-app-logo {		
		width: 35%;
	}
	.save-app {
		font-size: 12px;
		padding: 7px;
	}
}

.append-here-alert {
	/*position: fixed;
	top: 20%;
	width: 320px;
	left: 50%;
	margin-left: -160px;
	z-index: 10;*/

	display: none;
}

/**********	 STEPS ****************/

.form-step-boxes {
	display: none;
}

.incomplete-fields {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background-color: #3c3c3c;
	background-color: rgba(0, 0, 0, 0.7);
	display: none;
	overflow-y: scroll;
}

.incomplete-fields .alert-danger {
	display: block;
}

.incomplete-fields > div {
	position: relative;
	top: 20%;
	width: 40%;
	margin-left: auto!important;
	margin-right: auto!important;
	text-align: center;
}

.label-advice {
	background-color: #5bc0de;
	padding: 5px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}

.if-html > div {
	margin-bottom: 15px;
}

@media (max-width:767px){
	.incomplete-fields > div {
		top: 10%;
		width: 90%;
	}
}

/* REVIEW APPLICATION BEFORE SUBMIT*/

/*********** REVIEW YOUR APPLICATION **********/

.review-box {
	position: fixed;
	z-index: 60;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	display: none;
}

.review-content {
	width: 700px;
	height: 80%;
	overflow: auto;
	overflow-y: scroll;
	background-color: #FFF;
	padding: 15px;
	margin: 5% auto 0 auto;
	color: #000;
	font-size: 14px;
	position: relative;
}

.review-content .review-botones {
	text-align: center;
}

.review-content table {
	width: 100%;
	border: 1px solid #000;
}

.review-content table tr {

}

.loading {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 4;
	background-image: url('../images/loading.gif');
	background-size: 40px 40px;
	background-position: center center;
	background-repeat: no-repeat;
}

p.text-warning {
	color:#d43f3a;
	text-transform: uppercase;
	font-size: 22px;
}

.eligibility-button {
	padding: 0px;
	background-color: transparent;
	border: none;
}

.alert-otros .form-group {
	position: relative;
}

.advice {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	position: absolute;
	padding: 10px;
	font-weight: 700;
	right: 0;
	top: -60px;
	display: none;
	border: 1px solid #bce8f1;
	box-shadow: 0px 0px 3px  3px #e6e6e6;
	color: #31708f;
	background-color: #d9edf7;
}

.load-wall {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	background: rgba(0, 0, 0, 0.3);
	/*background-image: url('../images/loading.gif');*/
	background-position: center center;
	background-repeat: no-repeat;
	color: #FFF;
	font-weight: 700;
	font-size: 16px;
	text-align: center;
	vertical-align: middle;
}

@media (max-width: 767px){
	.review-content {
		width: 100%;
		height: 91%;
	}
}