/*****************************************************************
/*********				CARROSSEL UNIDADES 			**************
/*****************************************************************/

#carousel-branch {
	margin: 60px auto;
    max-width: 1480px;
}

.col-centered {
	max-width: 1500px;
}

.carousel-inner2 {
	width: 85%;
	margin: auto;
}

.carousel-col h3 {
	text-align: center;
}

.carousel-col img {
	margin: auto;
	object-fit: cover;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	width: 100%;
	height: 100%;
	padding: 0;
}

#carousel .block {
	width: 35vw;
	height: auto;
	height: 24vh;
	overflow: hidden;
}

.carousel-inner2 h3 {
	font-family: 'Gotham XNarrow', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	font-weight: 500;
	padding: 0.3em 0.4em;
	letter-spacing: 1px;
	background-color: #2e1699;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border-bottom: 1px solid #7e96ff42;
	font-size: 1.3em;
	transition: ease 0.3s;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.carousel-inner2 a:hover h3 {
	background-color: #ffffff;
	color: #08005f;
}

.carousel-inner2 a:hover {
	text-decoration: none;
}

.col-centered {
	float: none;
	margin: 0 auto;
}

.carousel-control {
	width: 5%;
}

.carousel-control.left, .carousel-control.right {
	margin-right: 40px;
	margin-left: 32px;
	background-image: none;
	opacity: 1;
}

.carousel-control>a>span {
	color: white;
	font-size: 29px !important;
}

.carousel-col {
	max-height: min-content;
	overflow: hidden;
	margin: auto;
	padding: 12px;
	position: relative;
	min-height: 1px;
	float: left;
}

.active>div:not(:first-of-type) {
	display: none;
}

.active>div:first-child {
	display: block;
}

/*xs*/

@media (max-width: 600px) {
	.carousel-inner .active.left {
		left: -50%;
	}
	.carousel-inner .active.right {
		left: 50%;
	}
	.carousel-inner .next {
		left: 50%;
	}
	.carousel-inner .prev {
		left: -50%;
	}
	.carousel-col {
		width: 50%;
	}
	.active>div:first-child+div {
		display: block;
	}
	.glyphicon-chevron-right:before, .glyphicon-chevron-left:before {
		font-size: 0.8em;
	}
	.carousel-control {
		bottom: 2em;
	}
	.carousel-col {
		padding: 12px 15px;
	}
	.carousel-control.left, .carousel-control.right {
		margin-right: 5px;
		margin-left: 5px;
	}
	.carousel-inner2 {
		width: 90%;
	}
}

/*xxs*/

@media (max-width: 480px) {
	.carousel-col {
		width: 50%;
	}
	.carousel-col {
		padding: 10px 2%;
	}
	.carousel-control.left, .carousel-control.right {
		margin-right: 0;
		margin-left: 0;
	}
	.active>div:first-child+div {
		display: block;
	}
	#carousel-branch {
		margin: 50px auto;
	}
}

/*sm*/

@media (min-width: 601px) and (max-width: 991px) {
	.carousel-inner .active.left {
		left: -33%;
	}
	.carousel-inner .active.right {
		left: 33%;
	}
	.carousel-inner .next {
		left: 33%;
	}
	.carousel-inner .prev {
		left: -33%;
	}
	.carousel-col {
		width: 33%;
	}
	.active>div:first-child+div {
		display: block;
	}
	.active>div:first-child+div+div {
		display: block;
	}
	.carousel-control.left, .carousel-control.right {
		margin-right: 20px;
		margin-left: 10px;
	}
	.fontsize_ h3 {
		font-size: 1.2em;
	}
}

@media (min-width: 700px) and (max-width: 850px) {
	.fontsize h3, .fontsize_ h3 {
		font-size: 1.1em;
		padding: 0.44em 0;
	}
}

@media (max-width: 699px) {
	.carousel-inner2 h3 {
		font-size: 1.1em;
	}
	.fontsize h3, .fontsize_ h3 {
		font-size: 1em;
		padding: 0.4em 0;
	}
}

@media (max-width: 395px) {
	.carousel-inner2 h3 {
		font-size: 1em;
	}
	.fontsize h3, .fontsize_ h3, .fontsize_odessa h3 {
		font-size: 0.9em;
		padding: 0.4em 0;
	}
}

/*md*/

@media (min-width: 992px) and (max-width: 1199px) {
	.carousel-inner .active.left {
		left: -25%;
	}
	.carousel-inner .active.right {
		left: 25%;
	}
	.carousel-inner .next {
		left: 25%;
	}
	.carousel-inner .prev {
		left: -25%;
	}
	.active>div:first-child+div {
		display: block;
	}
	.active>div:first-child+div+div {
		display: block;
	}
	.active>div:first-child+div+div+div {
		display: block;
	}
	.carousel-col {
		width: 25%;
	}
	.fontsize h3, .fontsize_ h3 {
		font-size: 1.15em;
		padding: .4em 0;
	}
}

/*lg*/

@media (min-width: 1200px) {
	.carousel-inner .active.left {
		left: -25%;
	}
	.carousel-inner .active.right {
		left: 25%;
	}
	.carousel-inner .next {
		left: 25%;
	}
	.carousel-inner .prev {
		left: -25%;
	}
	.carousel-col {
		width: 25%;
	}
	.active>div:first-child+div {
		display: block;
	}
	.active>div:first-child+div+div {
		display: block;
	}
	.active>div:first-child+div+div+div {
		display: block;
	}
}
