#tema {
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	width:96%;
	max-width:1200px;
	border:#d3d0d0 thin solid;
	background-color:#fff;
	-webkit-box-shadow: 0 16px 16px -8px #bbb;
	box-shadow: 0 16px 16px -8px #bbb;
	margin:20px auto;
	display:block;
}

h4 {
	width:96%;
	display:block;
}

#arriba {
	text-align:center;
	padding:12px 4px;
	border-bottom:#33C0D8 2px solid;
	width: 96%;
	margin: 12px auto;
	display: block;
}

.arriba p {
	display: inline;
}

.arriba a {
	font-size: 16px;
	font-weight:400;
	color: #000;
	padding: 4px 6px 2px 10px;
	margin:0 4px;
	border-radius:16px;
	border:#d3d0d0 thin solid;
	background: linear-gradient(#fbfbfb, #e6e6e6);
	width:170px;
	display: inline-block;
}

#tema h4, #tema h6 {
	font-weight:bold;
	color: #000;
}

#tema h6 {
	font-size:15px;
	font-weight:bold;
	color: #000;
	line-height:1;
}

.tema .menu a {
	font-size: 14px;
	font-weight:400;
	color: #000;
	padding: 4px 4px 1px 8px;
	margin:4px 4px 8px;
	border-radius:16px;
	border:#d3d0d0 thin solid;
	background: linear-gradient(#fbfbfb, #e6e6e6);
	width:180px;
	display:block;
}

.tema .menu b {
	font-weight:500;
	color: #000;
}

.arriba a:hover, .tema .menu a:hover	{
	color: #c32;
	background: linear-gradient(#f3f3f3, #d9d9d9);
}

@media screen and (max-width: 800px) {

#tema {
	width:94%;
	-webkit-box-shadow:  0 6px 18px -8px #333;
	box-shadow:  0 10px 15px -10px #000;
	background-color:#fff;
	border-radius:16px;
}

h4 {
	width:96%;
	display:block;
}

#arriba {
	text-align:center;
	padding:12px 4px;
	border-bottom:#33C0D8 2px solid;
	width: 96%;
	margin: 12px auto;
	display: block;
}

.arriba p {
	margin:3px 0;
	display: inline;
}

.arriba a {
	font-size: 16px;
	font-weight:500;
	padding: 3px 6px;
	margin:2px;
	width:140px;
}

.menu p {
	margin:2px 0;
}

.tema .menu a {
	font-size: 14px;
	font-weight:400;
	padding: 4px 0 2px 5px;
	margin:2px;
	border-top:#e0e0e0 thin solid;
	background: linear-gradient(#f9f9f9, #e0e0e0);
	width:145px;
	display:block;
}

.arriba a:hover, .menu a:hover	{
	color: #c32;
	background: linear-gradient(#f3f3f3, #d9d9d9);
}
}