body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, 
pre, form, fieldset, input, textarea, p, blockquote, th, td { 
  padding:0;
  margin:0;
}

fieldset, img {border:0}

ol, ul, li {list-style:none}

:focus {outline:none}

body,
input,
textarea,
select {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #de1010;
}

header {
}

footer {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1rem;
    font-size: 0.7em;
    font-family: 'Ubuntu Condensed', sans-serif;
    text-transform: uppercase;
    color: black;
}

.logo {
  display: flex;
  justify-content: center;
  margin-top: 1.5em;
  margin-bottom: .6em;
}

main {
    margin: .2em auto;
    max-width: 50rem;
    width: calc( 100% - 1.8rem );
    border: none;
    min-height: 75vh;
}

body {
    background: url("../imagenes/diagonal.png") repeat;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

main p {
  font-size: .8em;
  width: 100%;
  text-align: left;
  margin-top: 1.5em;
}

h1 {
  line-height: .85em;
  font-size: 33px;
  color: #4c4c4c;
  text-align: center;
  padding: 0 .6em;
  padding-top: 11px;
  margin-bottom: -.2em;
  margin-top: .4em;
  font-family: 'Reem Kufi', sans-serif;
}

h2 {
  font-size: 16px;
  font-weight: lighter;
  color: #4c4c4c;
  text-align: center;
  padding-top: 10px;
  margin-bottom: .1em;
}

.logueo {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 20px auto;
  width: 100%;
  max-width: 25em; 
  -webkit-border-radius: 8px/7px; 
  -moz-border-radius: 8px/7px; 
  border-radius: 8px/7px; 
  background-color: #fdfdfd; 
  -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.31); 
  -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.31); 
  box-shadow: 1px 2px 5px rgba(0,0,0,.31); 
  border: solid 1px #cbc9c9;
}

input[type=radio] {
  visibility: hidden;
}

form{
  margin: 0 30px;
}

label.radio {
  cursor: pointer;
  text-indent: 1.9em;
  overflow: visible;
  display: inline-block;
  position: relative;
  margin-bottom: 15px;
}

label.radio:before {
  background: #F34747;
  content:'';
  position: absolute;
  top:2px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 100%;
}

label.radio:after {
	opacity: 0;
	content: '';
	position: absolute;
	width: 0.5em;
	height: 0.25em;
	background: transparent;
	top: 7.5px;
	left: 4.5px;
	border: 3px solid #ffffff;
	border-top: none;
	border-right: none;

	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

input[type=radio]:checked + label:after {
	opacity: 1;
}

hr{
  color: #a9a9a9;
  opacity: 0.3;
}

input[type=text],input[type=password],input[type=email]{
  width: 62%; 
  height: 2.4em; 
  -webkit-border-radius: 0px 4px 4px 0px/5px 5px 4px 4px; 
  -moz-border-radius: 0px 4px 4px 0px/0px 0px 4px 4px; 
  border-radius: 0px 4px 4px 0px/5px 5px 4px 4px; 
  background-color: #fff7f7; 
  -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
  -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
  box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
  border: solid 1px #cbc9c9;
  margin-left: -5px;
  margin-top: 13px; 
  padding-left: 10px;
}

input[type=date]{
  width: 63%;
  height: 2.4em; 
  -webkit-border-radius: 0px 4px 4px 0px/5px 5px 4px 4px; 
  -moz-border-radius: 0px 4px 4px 0px/0px 0px 4px 4px; 
  border-radius: 0px 4px 4px 0px/5px 5px 4px 4px; 
  background-color: #fff7f7; 
  -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
  -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
  box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
  border: solid 1px #cbc9c9;
  margin-left: -5px;
  margin-top: 13px; 
  padding-left: 7px;
}

input:invalid {
  border: solid 1px #de1010;
  box-shadow: 1px 1px 5px rgba(247, 0, 0, 0.65); 
}

input[type=password]{
  margin-bottom: 25px;
}

.general {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    width: 104%;
}

.individual {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0 auto;
}

.genero {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-left: -1em;
}

.genero p {
    margin-top: 0em;
    font-size: 1em;
    margin-right: 0em;
}

#iconos {
  width: 2em;
  height: 1.3em;
  background-color: #F34747;
  margin-top: .9em;
  margin-left:7.5%;
  padding: 8px 0px 8px 15px;
  -webkit-border-radius: 4px 0px 0px 4px; 
  -moz-border-radius: 4px 0px 0px 4px; 
  border-radius: 4px 0px 0px 4px;
  color: white;
  -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.09);
  -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
  box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
  border: solid 0px #cbc9c9;
}

p a {
  color: black;
}

a.registrarse {
  font-size: 14px;
  font-weight: 600;
  color: white;
  padding: 6px 2em 0px 2em;
  margin: 25px auto 30px auto;
  display: flex;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  width: 5em; height: 2em; 
  -webkit-border-radius: 5px; 
  -moz-border-radius: 5px; 
  border-radius: 5px; 
  background-color: #F34747; 
  -webkit-box-shadow: 0 3px #d83e3e; 
  -moz-box-shadow: 0 3px #d83e3e; 
  box-shadow: 0 3px #d83e3e;
  transition: all 0.1s linear 0s; 
  top: 0px;
  position: relative;
}

a.registrarse:hover {
  top: 3px;
  background-color:#F34747;
  -webkit-box-shadow: none; 
  -moz-box-shadow: none; 
  box-shadow: none;
  color: white;
}

@media (min-width: 400px) {
    
#iconos {
  margin-left:9.5%;
}    
        
}

@media (max-width: 340px) {
    
#iconos {
  margin-left:5%;
}

}

@media (max-width: 320px) {
    
.genero {
    margin-left: -.9em;
}
    
.genero p {
    margin-top: .1em;
    font-size: .9em;
    margin-right: 0em;
}
    
label.radio {
  text-indent: 1.7em;
}
    
}