﻿.ch-grid {
	margin: 0px 0 0 0;
	padding: 0;
	list-style: none;
	display: block;
	text-align: center;
	width: 100%;
}

.ch-grid:after,
.ch-item:before {
	content: '';
    display: table;
}

.ch-grid:after {
	clear: both;
}

.ch-grid li {
	width: 220px;
	height: 220px;
	display: inline-block;
	margin: 20px;
}



.ch-item {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	overflow: hidden;
	position: relative;
	cursor: default;
	box-shadow: 
		inset 0 0 0 4px rgba(255,255,255,0.6),
		0 1px 2px rgba(0,0,0,0.1);
	transition: all 0.4s ease-in-out;
}


.ch-img-1 { 
	background-image: url('images/teléfono.gif');
}

.ch-img-2 { 
	background-image: url('images/correo.gif');
}


.ch-info {
	position: relative;
	background: rgba(63,147,147, 0.8);
	width: inherit;
	height: inherit;
	border-radius: 50%;
	overflow: hidden;
	opacity: 0;
	transition: all 0.4s ease-in-out;
	transform: scale(0);
}


.ch-info h3 {
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 22px;
	margin: 0 30px;
	padding: 45px 0 0 0;
	height: 140px;
	font-family: 'Open Sans', Arial, sans-serif;
	text-shadow: 
		0 0 1px #fff, 
		0 1px 2px rgba(0,0,0,0.3);
}



.ch-info p {
	color: #fff;
	padding: 10px 5px;
	font-style: italic;
	margin: 0 30px;
	font-size: 12px;
	border-top: 0px solid rgba(255,255,255,0.5);
	opacity: 0;
	transition: all 1s ease-in-out 0.4s;
}



.ch-info p a {
	display: block;
	color: rgba(255,255,255,0.7);
	font-style: normal;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 9px;
	letter-spacing: 1px;
	padding-top: 4px;
	font-family: 'Open Sans', Arial, sans-serif;
}

.ch-info p a:hover {
	color: rgba(255,242,34, 0.8);
}



.ch-item:hover {
	box-shadow: 
		inset 0 0 0 1px rgba(255,255,255,0.1),
		0 1px 2px rgba(0,0,0,0.1);
}


.ch-item:hover .ch-info {
	transform: scale(1);
	opacity: 1;
}



.ch-item:hover .ch-info p {
	opacity: 1;
}

.menudes {
position: relative;
overflow: hidden;
width: 100%;
margin: 0 auto 10px;
text-align:center;
}
.menudes a {
display: inline-block;
width:11.11%; /* 100% dividido por el número de elementos */
box-sizing: border-box;
padding: 5px 15px;
color: #000;
background: #ccc;
opacity:.4;
text-decoration: none;
font-weight:bold;
text-align: center;
border-right: 2px solid #fff;
position:relative;
z-index:2;
}
.menudes a:first-child {
border-left: 1px solid #fff;
}
.marca { /* cuadro blanco*/

position: absolute;
width: 11.11%;
height: 28px;
box-sizing: border-box;
bottom: 0;
left: -30%;
border: 2px solid #ffffff;
transition: 0.5s ease-in-out;
z-index:1;
}
.menudes a:hover ~ .marca {
margin-left: -1px;
}
.menudes a:nth-child(1):hover ~ .marca {
left: 4.8%; 
}
.menudes a:nth-child(2):hover ~ .marca {
left: 16.20%; /* 1/8 del ancho total */
}
.menudes a:nth-child(3):hover ~ .marca {
left: 27.50%; /* 2/8 del ancho total */
}
.menudes a:nth-child(4):hover ~ .marca {
left: 38.9%; /* 3/8 del ancho total */
}
.menudes a:nth-child(5):hover ~ .marca {
left: 50.2%; /* 4/8 del ancho total */
}
.menudes a:nth-child(6):hover ~ .marca {
left: 61.5%;  /* 5/8 del ancho total */
}
.menudes a:nth-child(7):hover ~ .marca {
left: 72.8%; /* 6/8 del ancho total */
}
.menudes a:nth-child(8):hover ~ .marca {
left: 84.3%; /* 7/8 del ancho total */
}


