/* =================================================================
						Carrusel Principal
================================================================= */
section.carrusel{
	background: #F7F5E6;
	max-height: 480px;
	height: 480px;
	margin: 0;
	padding: 0;
	width: 100%;
	position: relative;
}

.slider {
	margin: 0 auto;
	max-width: 100%;
	height: 100%;
}

.slide_viewer {
	height: 100%;
	overflow: hidden;
	position: relative;
}

.slide_group {
	height: 100%;
	position: relative;
	width: 100%;
}

.slide {
	display: none;
	height: 100%;
	position: absolute;
	width: 100%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.slide:first-child {
	display: block;
}

.slide:nth-of-type(1) {
	background-image: url('/img/web/Home/principal.jpg');
}

.slide:nth-of-type(2) {
	background-image: url('/img/web/Home/principal_2.jpg');
}

.slide:nth-of-type(3) {
	background-image: url('/img/web/Home/principal_4.jpg');
}

/* .slide:nth-of-type(4) {
    background-image: url('/img/web/Home/principal_4.png');
} */

.slide_buttons {
	left: 0;
	position: absolute;
	right: 0;
	text-align: center;
    bottom: 0;

    display: -webkit-flex !important;
	display: -moz-flex !important;
	display: -ms-flex !important;
	display: -o-flex !important;
	display: flex !important;

    flex-flow: row wrap;

    justify-content: center;
    align-items: center;
}

a.slide_btn {
	color: #ffffff;
	font-size: 42px;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.slide_btn.active, .slide_btn:hover {
	color: var(--amarillo);
	cursor: pointer;
}

.directional_nav {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	max-width: 100%;
	position: absolute;
	top: 0;
}

.previous_btn {
	bottom: 0;
	left: 100px;
	margin: auto;
	position: absolute;
	top: 0;
}

.next_btn {
	bottom: 0;
	margin: auto;
	position: absolute;
	right: 100px;
	top: 0;
}

  .previous_btn, .next_btn {
	width: 75px;
	height: 75px;

	opacity: 0.5;

	-webkit-transition: opacity 0.4s ease-in-out;
	-moz-transition: opacity 0.4s ease-in-out;
	-ms-transition: opacity 0.4s ease-in-out;
	-o-transition: opacity 0.4s ease-in-out;
	transition: opacity 0.4s ease-in-out;

	cursor: pointer;
}

.previous_btn:hover, .next_btn:hover {
	opacity: 1;
}

/* =================================================================
						Torniquetes
================================================================= */
.bloque_azul{
	position: relative;
}


.bloque_azul_1,
.bloque_azul_2,
.bloque_azul_3{
	display: block;

	position: absolute;
}

.bloque_azul_1{
	width: 120px;
	height: 160px;

    top: 215px;
    left: 0;

	background-color: #009be3;

	z-index: -2;
}
.bloque_azul_2{
	width: 400px;
	height: 350px;

    top: 0;
    left: 0;

	background-color: #66c5f1;

	z-index: -4;
}
.bloque_azul_3{
	width: 250px;
	height: 200px;

	top: 90px;
	left: 240px;

	background-color: #b6e8fc;

	z-index: -3;
}

.imagen{
	width: 100%;
	height: 250px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.torniquete{
	position: absolute;
    top: 0;
	left: -120px;

	height: 430px;

    background-image: url('/img/web/Home/torniquete.png');
    background-size: contain;
}

.Parrafo{
	position: relative;
	text-align: justify;
}

.Parrafo .boton{
	display: block;
	position: absolute;
}

.Parrafo .boton.azul{
	width: 50px;
    height: 10px;
    background-color: #009be3;
    margin-top: 20px;
}

.bloque_azul::after{
	display: block;
	content: '';

	position: absolute;
	top: 0;
	left: 0;

	width: 100%;
    height: 95%;

	background-color: #f7f7f7;

	z-index: -5;
}

.Parrafo .boton.mas{
	right: 0;

	background-color: #fff;

	width: auto;
	margin-top: 20px;

	padding: 3px 40px;

	-webkit-transition: .5s ease-in-out 0s;
	-moz-transition: .5s ease-in-out 0s;
	-ms-transition: .5s ease-in-out 0s;
	-o-transition: .5s ease-in-out 0s;
	transition: .5s ease-in-out 0s;

	border-radius: 100px 100px 100px 100px;
	-moz-border-radius: 100px 100px 100px 100px;
	-webkit-border-radius: 100px 100px 100px 100px;

	-webkit-box-shadow: 0px 0px 18px -9px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 18px -9px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 18px -9px rgba(0,0,0,0.75);
}

.Parrafo .boton.mas:hover{
	-webkit-box-shadow: 0px 0px 25px -9px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 25px -9px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 25px -9px rgba(0,0,0,0.75);
}

.cuadro{
	width: 100%;
	height: calc(100% - 100px);

	background-image: url('/img/web/Home/fondo-2.png');

	display: -webkit-flex !important;
	display: -moz-flex !important;
	display: -ms-flex !important;
	display: -o-flex !important;
	display: flex !important;

    flex-flow: column;

    justify-content: center;
    align-items: center;
}

.cuadro .blanco{
	width: 80%;
	background-color: #fff;
	padding: 20px;
}

.republica{
	background-image: url('/img/web/Home/mapa.png');
}

.rep{
	position: relative;
}
.rep::after{
	display: block;
	content: '';

	position: absolute;
	top: 0;
	left: 0;

	width: 100%;
	height: 100%;

	background: rgba(255,255,255,1);
	background: -moz-linear-gradient(45deg, rgba(255,255,255,1) 0%, rgba(237,237,237,1) 100%);
	background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(237,237,237,1)));
	background: -webkit-linear-gradient(45deg, rgba(255,255,255,1) 0%, rgba(237,237,237,1) 100%);
	background: -o-linear-gradient(45deg, rgba(255,255,255,1) 0%, rgba(237,237,237,1) 100%);
	background: -ms-linear-gradient(45deg, rgba(255,255,255,1) 0%, rgba(237,237,237,1) 100%);
	background: linear-gradient(45deg, rgba(255,255,255,1) 0%, rgba(237,237,237,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=1 );

	z-index: -1;
}

.iso{
	width: 140px;
	height: 140px;

	background-image: url('/img/web/Home/iso.png');
    background-size: contain;
    background-position: center;
	background-repeat: no-repeat;
}

.system-access{
	background-image: url('/img/web/Home/system-access.png');
}
.system-tor{
	background-image: url('/img/web/Home/sytemtor.png');
}
.skd{
	background-image: url('/img/web/Home/sdk.png');
}
.manusa{
	background-image: url('/img/web/Home/manusa.png');
	background-size: contain !important;
}
.ferroflex{
	background-image: url('/img/web/Home/ferroflex.jpg');
	background-size: contain !important;
}
.zkt{
	background-image: url('/img/web/Home/zkteco.png');
}


.gris{
	-webkit-transition: .5s ease-in-out 0s;
	-moz-transition: .5s ease-in-out 0s;
	-ms-transition: .5s ease-in-out 0s;
	-o-transition: .5s ease-in-out 0s;
	transition: .5s ease-in-out 0s;

	filter: grayscale(100%);
	opacity: 0.8;

	-webkit-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.75);
}

.gris:hover{
	filter: grayscale(0%);
	opacity: 1;

	-webkit-box-shadow: 0px 8px 27px -13px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 8px 27px -13px rgba(0,0,0,0.75);
	box-shadow: 0px 8px 27px -13px rgba(0,0,0,0.75);
}

/* =================================================================
						Responsive slider
================================================================= */
@media only screen and (max-width: 1000px){
	section.carrusel {
		height: 390px;
	}

	@media only screen and (max-width: 700px){
		section.carrusel {
			height: 300px;
		}
	}
}


@media only screen and (max-width: 767px) {
	.previous_btn {
		left: 50px;
	}
	.next_btn {
		right: 50px;
	}
}

/* =================================================================
						Responsive Torniquetes
================================================================= */
@media only screen and (max-width: 1165px){
	.bloque_azul_1{

	}
	.bloque_azul_2{
		width: 350px;
	}
	.bloque_azul_3{
		width: 230px;
		left: 170px;
	}

	@media only screen and (max-width: 1000px){
		.bloque_azul_1 {
			width: 80px;
		}

		.bloque_azul_2 {
			width: 270px;
		}

		.bloque_azul_3 {
			width: 160px;
		}

		@media only screen and (max-width: 770px){
			.col-5.uppercase{
				height: 430px;
			}

			.imagen.torniquete {
				width: 90%;

				position: absolute;
				top: 15px;
				left: 0;
			}

			.bloque_azul_1,
			.bloque_azul_2,
			.bloque_azul_3{
				display: none;
			}

			.row.bloque_azul .col-12{
				margin-bottom: 120px;
			}

			.cuadro {
				width: 100%;
				max-height: 100vh;
				height: 530px;
			}

			.row.imgs{
				display: -webkit-flex !important;
				display: -moz-flex !important;
				display: -ms-flex !important;
				display: -o-flex !important;
				display: flex !important;

				flex-flow: row wrap;

				justify-content: space-around;
				align-items: center;
			}

			.row.imgs .col-3{
				width: 40%;
				height: 120px;
    			background-size: contain !important;
			}

			.row.imgs .col-3 .imagen.bg-cover{
				height: 100% !important;
			}

			@media only screen and (max-width: 600px){
				.Parrafo .boton.mas{
					margin-top: 60px;
					width: 100%;
					text-align: center;
				}
			}
		}
	}
}



@media only screen and (max-width: 600px){
	.imagen.torniquete,
	.col-5.uppercase{
		height: 280px;
		top: 0;
	}


	.slide{
		background-size: contain;
	}

	section.carrusel {
		height: 230px;
	}

	.previous_btn,
	.next_btn,
	svg{
		width: 40px !important;
		height: 40px !important;
	}

	@media only screen and (max-width: 400px){
		.previous_btn{
			left: 14px;
		}

		.next_btn{
			right: 14px;
		}
	}
}


@media only screen and (max-width: 932px){
	.slide{
		background-size: contain;
	}

	section.carrusel {
		height: 300px;
	}

	@media only screen and (max-width: 920px){
		.slide{
			background-size: cover;
		}

		@media only screen and (max-width: 775px){
			.slide{
				background-size: cover;
			}

			section.carrusel {
				height: 250px;
			}

			@media only screen and (max-width: 640px){
				section.carrusel {
					height: 200px;
				}

				.slide{
					background-size: contain;
				}

				.bloque_azul::after{
					position: relative;
				}

				@media only screen and (max-width: 640px){
					section.carrusel {
						height: 180px;
					}
				}
			}
		}
	}
}
