/* Estilos Formularios */

form{
	margin: 10px 0;
}

form .btn{
    margin-top: 20px;
}

label,legend,.grupo h2{
	font-size: 12px;
	font-weight: 700;
	color: #454445;
	text-transform: uppercase;
}

legend{
	padding: 0 5px;
}

fieldset{
	margin-bottom: 5px;
	padding: 5px 15px;
	border-radius: 3px;
}

input,select,textarea{
	width: 100%;
	height: 40px;
	padding: 0 40px;
	font-size: 12px;
	color: #454445;
	border: none;
}

textarea{
	padding: 5px;
	min-height: 150px;
}

input[type="checkbox"],input[type="radio"]{
	width: 12px;
	height: 12px;
	margin-right: 5px;
	cursor: pointer;
}

button{
	height: 40px;
	padding: 0 15px;
	margin: 20px 0;
	text-transform: uppercase;
	font-family: 'Montserrat',sans-serif;
	font-weight: 700;
	border: none;
	border-radius: 3px;
	color: #FFF;
	background-color: #454445;
}

button i{
	margin-right: 10px;
}

fieldset{
    padding: 10px 5px;
    margin: 10px 0;
}

.grupo{
	margin: 5px 0;
}

.grupo .opciones{
	margin: 10px 0;
}

.campo,.campo_select{
	margin: 5px 0;
	border: 1px solid #454445;
	border-radius: 3px;
	overflow: hidden;
}

.campo_checkbox{
	font-size: 12px;
	color: #454445;
	margin: 5px 0;
}

.campo::before,.campo_select::before,.campo_textarea::before,.campo::after{
    width: 40px;
    height: 40px;
    font-family: 'Font Awesome 6 Free';
    font-size: 18px;
    font-weight: 900;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.campo::before,.campo_select::before,.campo_textarea::before{
	color: #454445;
	left: 0;
}

.archivo .preview{
	height: 225px;
	font-size: 16px;
	margin: 10px 0;
	border-radius: 3px;
	border: 1px solid #454445;
	background-color: #FFF;
}

.archivo input{
	display: none;
}

.archivo label{
    min-height: 40px;
    padding: 0 15px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
	color: #FFF;
	background-color: #454445;
}

.archivo label i{
	margin-right: 10px;
}

.obligatorio::after{
    content: '\f069';
    font-size: 9px;
    color: #FFF;
    right: 0;
    transform: skewX(-2deg) translateX(1px);
    background-color: #454445;
}

.campo_select::before{
	content: '\f039';
}

.usuario::before{
	content: '\f007';
}

.clave::before{
	content: '\f084';
}

.texto::before{
	content: '\f303';
}

.link::before{
    content: '\f0c1';
}

.id::before,.cif::before,.dni::before,.nif::before{
	content: '\f2c2';
}

.html::before{
	content: '\f121';
}

.tlf::before{
    content: '\f3ce';
}

.email::before{
    content: '\40';
}

.asunto::before{
    content: '\f0e0';
}

.color::before{
	content: '\f53f';
}

.color::after{
	content: '\f0d7';
	color: #454545;
	right: 0;
}

	/* Estado Campos */

	.campo_ok{
		border-color: #238C23;
	}

	.campo.ok::after{
		content: '\f00c';
		background-color: #238C23;
	}

	.campo_error{
		border-color: #9E0000;
	}

	.campo.error::after{
		content: '\f00d';
		background-color: #9E0000;
	}

	/* Fin Estado Campos */

    /*Media Queries*/

    @media only screen and (min-width: 600px){

        .archivo .preview{
            height: 275px;
        }
        
    }

    @media only screen and (min-width: 800px){

        .archivo .preview{
            height: 225px;
        }
        
    }

    @media only screen and (min-width: 1000px){

        .archivo .preview{
            height: 200px;
        }
        
    }

    @media only screen and (min-width: 1800px){

        .archivo .preview{
            height: 250px;
        }
        
    }

    /*Fin Media Queries*/

/* Fin Estilos Formularios */