html {background: transparent;}
body {text-align: center; background: #e0e0e0; color: #666666; font-family: verdana;}
table, tr, td, th {border: none;}
a {font-weight: bold; text-decoration: none; color: #666666;}
a:hover {text-decoration: underline;}
h1, h2 {font-size: 14px; padding: 0px; margin: 0px; background: #4080c0; color: #ffffff; padding: 0.5em 0.5em 0.5em 1em;}
h2 {font-size: 12px; background: #4080c0;}

#doc {background: #ffffff; margin: auto; text-align: left; width: 780px;}
#tdoc {width: 100%; font-size: 11px; margin: 0em;}
#tdoc table {margin: 0em;}
#hd {background: url(../images/header.png) no-repeat; height: 99px;}
#hd tr, #hd td {margin: 0; padding: 0px; vertical-align: bottom;}
#hd-log {width:164px; height: 75px;}
#hd-cua {width:550px;}
#hd-gob {width: 66px; background: url(../images/segob.png);}
#hd-gob a {display: block; width: 66px; height: 99px; text-decoration: none;}
#ft {background: #4080c0; color: #ffffff; text-align: center;}
#ft a {color: #ffffff;}
#ml, #mr {width: 130px; background: #f0f0f8; padding: 0px; margin: 0px; vertical-align: top;}
#ct {width: 520px; padding: 0.5em; vertical-align: top;}
td#menu {background: #373739; text-align: center; vertical-align: middle; height: 24px;}
#menu ul, #menu li {display: inline; margin: 0; padding: 0;}
#menu a { color: #ffffff; text-decoration: none; padding: 0px 1.5em; background: url(../images/m-item.png) no-repeat center left;}
#menu a:hover {color: #ffcc00;}
#searchbox input {width: 120px;}

.block {margin-bottom: 1em; color: #404040; }
.block a {font-weight: normal;  text-decoration: none;}
.block a:hover {color: #c00000; text-decoration: none;}
.block li {margin-bottom: 0.4em; list-style-image: url(../images/m-item.png);}
.upper {text-transform: uppercase;}
.center {text-align: center;}
.menu-title {background: #4080c0; color: #ffffff; padding: 0.5em 1em; text-align: center; margin-bottom: 0.5em; font-weight: bold;}
#tdoc table.dc {width: 100%; *width: 99%; padding: 0em;}
.dc td {width: 50%; vertical-align: top; padding: 0.5em 0em; padding-right: 0.5em;}
.banner {padding: 0.5em 0em; text-align: center;}
.banner img {width: 130px;}
div.top {color: #ffffff; background: #4080c0; padding: 0.5em; text-align: center; font-weight: bold; font-size: 14px;}
div.cuerpo {background: #f0f0f0; padding: 0.5em; text-align: justify; margin-bottom: 0.5em;}
div.subtitle {color: #4080c0; font-weight: bold; font-size: 12px;}
.mas a, a.liga {color: #005c9c;}
.mas a:hover, a.ligar:hover {text-decoration: underline;}
.mas {text-align: right; clear: both; padding: 0.5em 0em;}
.box{border:1px solid #6699CC; padding:8px; margin-bottom:8px;}
.subbox{border-bottom: 1px dotted #6699CC; margin-bottom:16px;}

.galeria a {padding: 2px 4px; border: 2px solid #cc0000;}
div.galeria {width: 450px; margin: auto; text-align: left;}
div#galeria-fondo {height: 250px; border: 1px solid #000000; background-position: center center;}
div#galeria-links {text-align: right; padding: 8px 4px 8px 0px; border: 1px solid #000000; border-top: none; background: #cccccc url(../images/barra.png) no-repeat left center;}
img.galeria-imagen {display: none;}
.galeria-contenido button {display: block; width: 150px; margin: .5em; text-align: center; padding: 2px; border: 1px solid #cc6600; background: #ff8a3c; color: white;}

/* Tabla de secretarias */
table.secretarias {width: 100%; *width: 98%; margin-top: 16px;}
table.secretarias td {width: 25%; text-align: center; vertical-align: middle;}
table.secretarias td a {color: #ffffff;}
#presidencia {background: #ca0016;}
#se {background: #039cc5;}
#sct {background: #6bb542;}
#sep {background: #f9b240;}
#segob {background: #0084c5;}
#sfp {background: #01b5ce;}
#sectur {background: #9ad36a;}
#sra {background: #f69e19;}
#ssp {background: #0066ae;}
#semar {background: #02a2b0;}
#sener {background: #ccd321;}
#salud {background: #f59119;}
#pgr {background: #03529d;}
#shcp {background: #00a9a4;}
#sagarpa {background: #ce8419;}
#stps {background: #e66c21;}
#sedena {background: #00437a;}
#sre {background: #046836;}
#sedesol {background: #d7088c;}
#semarnat {background: #942a8e;}
