/*
Theme Name: FISAC
*/

.historia-item {
	background-color: #CCCCCC;
	line-height: 1em;
	font-weight: normal;
	font-size: 1rem;
	border-radius: 15px;
    height: fit-content;
    padding: 10px 15px;
    max-width: 350px;
    min-width: 40%;
}

.historia-blanco {
	max-width: 350px;
}

.historia-item h2 {
	color: #fe5000;
}

.historia-item-right::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #CCCCCC;
    transform: rotate(45deg);
    top: 40px;
    left: -15px;
}

.historia-item-left::before {
	content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #CCCCCC;
    top: 40px;
    left: 100%;
    transform: translateX(-20px) rotate(45deg);
}

.historia-item-right::after{
	content: "";
	position: absolute;
	width: 40px;
	height: 40px;
	background-color: #E6E6E6;
	border-radius: 50%;
	top: 40px;
	left: -130px;
}

.historia-item-left::after{
	content: "";
	position: absolute;
	width: 40px;
	height: 40px;
	background-color: #E6E6E6;
	border-radius: 50%;
	top: 40px;
	right: -120px;
}

.historia-blanco:nth-child(odd)::before {
/*	content: "";
    position: absolute;
    height: 100%;
    width: 1px;
    border: 1px solid #E6E6E6;
    left: 100%;
    transform: translateX(100% + 10px);*/
}

.historia-blanco:nth-child(even)::before {
/*	content: "";
    position: absolute;
    height: 100%;
    width: 1px;
    border: 1px solid #E6E6E6;
    right: 100%;
    transform: translateX(-100%);*/
}

@media(max-width: 860px) {
	.historia-blanco:nth-child(even)::before, .historia-blanco:nth-child(odd)::before {
		display: none;
	}

	.historia-item-right::after{
		display: none;
	}

	.historia-item-left::after{
		display: none;
	}
}

@media(max-width: 768px) {
	.historia-blanco {
		display: none;
	}

	.historia-item {
		max-width: 90%;
		margin-bottom: 25px;
	}
}

@media(max-width: 1175px) {

}


.fisac-pilares-pleca {
	height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    border-radius: 45px;
}

.fisac-pilares-pleca p {
	color: white;
}


.fisac-pilares-pleca-gris {
	background-color: #74787b;
}

.fisac-pilares-pleca-gris2 {
	background-color: #afb1b0;
}

.fisac-pilares-pleca-naranja {
	background-color: #fc4d00;
}

.fisac-pilares-pleca-front {
    position: absolute;
    width: 75%;
    display: block;
    z-index: 9;
    transition: opacity 0.4s ease;
}

.fisac-pilares-pleca-back {
    position: absolute;
    width: 75%;
    display: block;
    z-index: 0;
}

.fisac-pilares-pleca:nth-child(1) .fisac-pilares-pleca-front, .fisac-pilares-pleca:nth-child(1) .fisac-pilares-pleca-back {
	background-color: #74787b;
}


.fisac-pilares-pleca:nth-child(2) .fisac-pilares-pleca-front, .fisac-pilares-pleca:nth-child(2) .fisac-pilares-pleca-back {
	background-color: #fc4d00;
}


.fisac-pilares-pleca:nth-child(3) .fisac-pilares-pleca-front, .fisac-pilares-pleca:nth-child(3) .fisac-pilares-pleca-back {
	background-color: #afb1b0;
}

.fisac-pilares-pleca-front:hover {
	opacity: 0;
}


.fisac-contacto-form-wrapper {
	background-color: #afb1b0;
}

.fisac-contacto-form-wrapper form input, .fisac-contacto-form-wrapper form select {
	height: 30px;
}

.fisac-contacto-form-wrapper form input, .fisac-contacto-form-wrapper form select, .fisac-contacto-form-wrapper form textarea {
	width: 100%;
	font-size: 1rem;
	line-height: 1rem;
	border-radius: 5px;
}

.fisac-contacto-form-wrapper form input[type="submit"] {
	background-color: #fc4d00;
	border: 1px solid #fc4d00;
	color: white;
	text-transform: uppercase;
	cursor: pointer;
}