.main-content{
	margin: 0 20% 0 auto;
	padding-top: 1.5rem;
	width: 65%;
	margin-bottom: 4rem;
}

.sr-block-black{
	padding-left: 3em;
	padding-right: 3em;
}

.sr-img{
	flex: 1 0.85 auto;
	width: 100%;
	height: 100%;
 	/* max-height: 512px; */
	max-width: 600px;
	min-width: 300px;
	margin-bottom: 5%;
	margin-top: 1rem;
	box-sizing: border-box;
	margin-left: 4rem;
	margin-right: 1rem;
}

.sr-contacto-top{
	flex: 1 1 auto;
	margin-top: 1em;
}

.sr-contact-form{
	margin-top: 1.5rem;
}
.sr-contact-form .sr-block-black{
	margin-left: 3rem;
}

form{
	margin-top: 3rem;
	margin-bottom: 4rem;
}
label, textarea, input{
	display: block;
}
label{
	width: 50%;
	/* margin-top: 0.8rem; */
	text-transform: uppercase;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 2px;
	padding-left: 0;
}
input{
	width: 50%;
}
input, textarea{
	border: none;
	background-color: #f0f0f0;
	font-family: inherit;
	font-size: medium;
	/* margin-bottom: 0.8rem; */
	padding: 0.6em;
	padding-left: 1em;
	padding-right: 1em;
	box-sizing: border-box;
	font-weight: 450;
}
.try-validate:invalid{
	outline: 1px dotted #f07f7f;
	background-color: #f5f0f0;
}
.try-validate:invalid:focus{
	outline: 2px solid rgb(255, 87, 87);
}
label.error{
	text-transform: none;
	color:red;
	height: 0.5em;
	margin-top: 0.0em;
	font-weight: normal;
	margin-bottom: 1em;
}
textarea{
	width: 100%;
	resize: vertical;
	min-height: 10em;
}
button{
	cursor: pointer;
	margin-top: 1.2rem;
	width: 100%;
	font-family: inherit;
	font-size: medium;
	border: none;
	background-color: #ef4d4d;
	color: white;
	padding: 0.8rem;
	box-sizing: border-box;
	font-size: 0.85rem;
	font-weight: 500;
}
button:hover{background-color: #e44343;}
button:active{background-color: #c23232;}

#title{
	border: none;
	width: 1px;
	height: 1px;
	margin: 0;
	position: absolute;
	left: 1px;
	padding: 0;
	background-color: initial;
}

.sr-datos-contacto{
	margin-left: 3%;
	display: flex;
	flex-wrap: wrap;
	margin-top: 5rem;
	font-size: 1.2rem;
}
.sr-datos-contacto > *{
	height: 5em;
	padding: 1rem;
	margin-right: 1em;

	margin-top: auto;
	margin-bottom: auto;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
}
.sr-datos-contacto > *:first-child{
	margin-right: 6em;
}
.sr-datos-contacto img{
	height: 2em;
	width: auto;
	margin-top: 0.6em;
}

.popup-container{
	display: flex;
	align-items: center;
	position:absolute;
	left: 0;
	width: 100%;
}
.popup{
	position: relative;
	background-color: white;
	border: black 1px;
	z-index: 1;
	margin: 0 auto;
	padding: 2em;
	top: -22em;
	flex: 0 1 auto;
	text-align: center;
	filter: drop-shadow(0 0.5rem 0.6rem #00000036);
	transition-property: top opacity;
	transition-duration: 0.5s;
	opacity: 1.0;
}
.popup-anim{
	opacity: 0.0;
	top: 22em;
}
.popup button{
	width: 50%;
	background-color: rgb(29, 29, 29);
}
.popup button:hover{background-color: #414141;}
.popup button:active{background-color: #2c2c2c;}

@media screen and (max-width: 1370px){
	.sr-img{
		max-width: 400px;
	}
	.main-content{
		margin: 0 auto;
		width: 85%;
	}
}
@media screen and (max-width: 1000px){
	.sr-img{
		margin:0 auto;
		padding-top: 1rem;
		padding-bottom: 1rem;
	}
	.columns{
		flex-direction: column;
	}
}


@media screen and (max-width: 800px){
	.sr-contacto-top{
		width: 100%;
		margin: 0;
		min-width: 0;
	}
	.sr-img{
		min-width: 100px;
		width: 60%;
		margin-bottom: 4rem;
	}
	.main-content{
		width: 95%;
		margin: 0 auto;
		margin-bottom: 4rem;
	}

	label, input{width: 100%;}
	.sr-datos-contacto{
		font-size: 0.9rem;
		margin-left: 0;
	}
	.sr-contact-form .sr-block-black{
		margin-left: 0;
		width: 80%;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}
}
@media screen and (max-width: 320px){
	.sr-datos-contacto > *:first-child{
		margin-right: 1rem;
	}
}