/*Vista 1*/
.banner-principal{
	width: 100%;
	height: auto;
    border-bottom: solid 4px #FB000A;
}
.parrafo-1 {
    margin: 2rem 7rem;
    text-align: center;
    font-size: 18px;
}
#seccion2{
	text-align: center;
    margin: 0 auto;
    background-color: #fffaf0;
    padding: 1rem 0 2rem 0;
    box-shadow: 4px 6px 5px rgba(0,0,0,0.15);
    border-radius: 20px;
}
.titulo{
	font-size: 20px;
}
.padding-items{
	padding: 0 6rem;
}
.item-mascota, .item-sexo {
    width:150px;
    height:150px;
    cursor: pointer;
    filter: opacity(0.5);
}
input[type="checkbox"][id^="gato"], input[type="checkbox"][id^="perro"], input[type="checkbox"][id^="macho"], input[type="checkbox"][id^="hembra"] {
  display: none;
}
.mascota:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    position: absolute;
    top: 0%;
    left:10%;
    width:150px;
    height:150px;
    text-align: center;
    transition-duration: 0.4s;
    transform: scale(0);
}
:checked + label img {
    filter: none;
}
:checked + .mascota:before {
    background-color: #80808000;
    transform: scale(1);
    border: solid 3px #FB000A;
    width: 151px;
    height: 151px;
    border-radius: 50%;
}
.sub-titulo{
	font-size: 18px;
	margin: 5px 0 15px 0;
}
.personalidad{
	padding: 1rem 2rem;
    border-radius: 5px;
    border: solid #FB000A;
    color: rgba(0,0,0,0.3);
    outline: none;
    cursor: pointer;
}
.btn-principal {
    background: #FB000A;
    font-size: 20px;
    color: #fff;
    padding: 0.5rem 3rem;
    margin: 1rem 0;
}
.line-red{
	display: none;
}
/*Vista 2*/
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 3;
    overflow-y: scroll;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}
.popup {
   	margin: 1rem auto;
    background: #FFFAF0;
    width: 550px;
    position: relative;
    transition: all 3s ease-in-out;
    border-radius: 21px;
}
.popup .close {
    position: absolute;
    top: 1%;
    right: 4%;
    transition: all 200ms;
    font-size: 30px;
    text-decoration: none;
    font-weight: 600;
    color: #FB000A;
    z-index: 1;
    opacity: 1;
}
.popup .close:hover {
    color: #FB000A !important;
}
.content {
    color: #00000099;
    margin: 0;
    padding: 1rem;
}
.titulo-pop {
    font-size: 24px;
    color: #000;
    line-height: 1;
    text-align: center;
}
.subtitulo-pop{
	font-size: 20px;
	text-align: center;
	margin-bottom: 4rem;
}
.formulari1 {
    width: 100%;
    margin-bottom: 1rem;
    padding-left: 15px;
    box-shadow: 0px 4px 12px rgb(0 0 0 / 5%);
    border: solid 1px #D3CDCD;
    border-radius: 5px;
    height: 38px;
    font-size: 16px;
    color: #D3CDCD;
}
.formulari1::placeholder{
    color: #DEDADA;
}
.padding-lateral-2{
	padding: 0 1rem;
}
.padding-lateral-2 .formulari1 {
    width: 85%;
}
.small {
    font-size: 14px !important;
}
/* Vista 3 */
.result-banner{
	width: 100%;
}
.resultados .popup .close{
	color: #fff;
}
.resultados .popup .close:hover {
    color: #fff !important;
}
.sugerencia-mascota {
    width: 130px;
    height: auto;
    position: relative;
    z-index: 2;
}
.name-mascota {
    background-color: #fb000a;
    color: #fff;
    padding: 0.5rem 2rem;
    font-size: 24px;
    text-transform: uppercase;
    margin-left: -10px;
}
.description-name {
    max-width: 70%;
    margin: 1rem auto;
    color: #000;
    font-size: 14px;
}
.sugerencia-mascota2 {
    width: 115px;
    height: auto;
}
.name-mascota2 {
    text-decoration: underline;
    color: #000;
    font-size: 24px;
    text-transform: uppercase;
    text-decoration-color: #fb000a;
}
.description-name2{
	text-align: center;
    margin: 0 auto;
    font-size: 14px;
    color: #000;
}
.btn-center-margin{
	margin: 2rem auto 0;
}
.resultados .btn-principal {
    padding: 0.5rem 1rem;
}
/*Loading*/
.content-loading {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin: 0 auto;
}
.lds-default {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-default div {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #d7a586;
  border-radius: 50%;
  animation: lds-default 1.2s linear infinite;
}
.lds-default div:nth-child(1) {
  animation-delay: 0s;
  top: 37px;
  left: 66px;
}
.lds-default div:nth-child(2) {
  animation-delay: -0.1s;
  top: 22px;
  left: 62px;
}
.lds-default div:nth-child(3) {
  animation-delay: -0.2s;
  top: 11px;
  left: 52px;
}
.lds-default div:nth-child(4) {
  animation-delay: -0.3s;
  top: 7px;
  left: 37px;
}
.lds-default div:nth-child(5) {
  animation-delay: -0.4s;
  top: 11px;
  left: 22px;
}
.lds-default div:nth-child(6) {
  animation-delay: -0.5s;
  top: 22px;
  left: 11px;
}
.lds-default div:nth-child(7) {
  animation-delay: -0.6s;
  top: 37px;
  left: 7px;
}
.lds-default div:nth-child(8) {
  animation-delay: -0.7s;
  top: 52px;
  left: 11px;
}
.lds-default div:nth-child(9) {
  animation-delay: -0.8s;
  top: 62px;
  left: 22px;
}
.lds-default div:nth-child(10) {
  animation-delay: -0.9s;
  top: 66px;
  left: 37px;
}
.lds-default div:nth-child(11) {
  animation-delay: -1s;
  top: 62px;
  left: 52px;
}
.lds-default div:nth-child(12) {
  animation-delay: -1.1s;
  top: 52px;
  left: 62px;
}
@keyframes lds-default {
  0%, 20%, 80%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}
/*responsive*/
@media screen and (min-width: 992px ) and (max-width: 1199px){
	.parrafo-1 {
	    margin: 2rem 2rem;
	    text-align: center;
	}
	.padding-items{
		padding: 0 3rem;
	}
}
@media screen and (min-width: 768px ) and (max-width: 991px){
	.parrafo-1 {
	    margin: 2rem 1rem;
	    text-align: center;
	}
	.padding-items{
		padding: 0;
	}
	.mascota:before {
		left: 8%;
	}
}
@media screen and (max-width: 767px){
	.parrafo-1 {
	    margin: 2rem 1rem;
	    text-align: center;
	}
	#seccion2 {
	    text-align: left;
	    padding: 3rem 0 2rem 0;
	    box-shadow: none;
	    border-radius: 0;
	}
	.padding-items{
		padding: 0 1rem;
		text-align: center;
	}
	.mascota:before {
	    width:110px;
	    height:110px;
	}
	:checked + .mascota:before {
	    width: 111px;
	    height: 111px;
	}
	.item-mascota, .item-sexo {
	    width: 110px;
	    height: 110px;
	    cursor: pointer;
	}
	.personalidad{
		padding: 1rem;
	}
	.center-mobile{
		text-align: center;
	}
	.mascota:before{
		left: auto;
	}
	.line-red{
		display: initial;
    	margin-right: 5px;
	}
	.titulo {
	    margin-bottom: 2rem;
	    margin-left: 1rem;
	}
	.popup {
	    width: 95%;
	}
	.titulo-pop{
		font-size: 20px;
	}
	.subtitulo-pop{
		font-size: 18px;
		margin-bottom: 2rem;
	}
	.popup .close{
		right: 2%;
	}
	.resultados .content{
		padding: 1rem 0;
	}
	.resultados .popup{
		border-radius: 40px;
	}
}
@media screen and (max-width: 540px){
	.col-xs-12{
		width: 100% !important;
	}
	.padding-lateral-2 {
	    padding: 0 1rem;
	    text-align: center;
	    width: 100%;
	    margin: 0 auto;
	}
	.center-general .btn-principal{
		margin: 2rem 0;
		font-size: 18px;
	}
}