/* Código cuadros */

.cuadro {
	-moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;
	position:relative;
}

/* Barras arriba y abajo */

.cuadro .arriba, .cuadro .abajo{
	margin:0px 44px 0px 44px;
	height:28px;
	position:relative;
}

.cuadro .arriba {
	top:-6px;
	background:url(arribaabajo.png) repeat-x;
}

.cuadro .abajo {
	top:6px;
	margin-top:-6px;
	background:url(arribaabajo.png) repeat-x left bottom;
}

/* Esquinas, elementos generados mediante content:"" */

.cuadro .arriba:before, .cuadro .arriba:after, 
.cuadro .abajo:before, .cuadro .abajo:after, 
#weblinks .abajo:before, #weblinks .abajo:after { 
	height: inherit;
	width: 50px;
	content:"";
	display: block;
	position:absolute;
}

/* Propiedades de cada esquina generada */

.arriba:before {
	background: transparent url(borde.png) left top;
	left:-50px; top:0px;
}

.arriba:after {
	background: transparent url(borde.png) right top;
	right:-50px; top:0px;
}

.abajo:before {
	background: transparent url(borde.png) left bottom;
	left:-50px; top:0px;
}

.abajo:after {
	background: transparent url(borde.png) right bottom;
	right:-50px; top:0px;
}

/* Barras izquierda y derecha */

.cuadro .contenido:before, .cuadro .contenido:after {
	height: 100%;
	width: 5px;
	content:"";
	display: block;
	position:absolute;
	top:0px;
}

.cuadro .contenido:before {
	left:-4px;
	background: transparent url(izqdcha.png) repeat-y left top;
}

.cuadro .contenido:after {
	right:-4px;
	background: transparent url(izqdcha.png) repeat-y right top;
}

/* Propiedades del contenido */

.cuadro .contenido {
	padding:0px 20px 0px 20px;
	position:relative;
	margin-top:-6px;
}

.cuadro .contenido *:first-child {
	margin-top:0px !important;
}

.cuadro .contenido *:last-child {
	margin-bottom:0px !important;
}
