/* Creado: Félix Ricardo Oliva Alonso, 24/08/2016. Se creó el CSS para la plantilla base, sólo se reservan los espacios.  */
/* Modificado: Félix Ricardo Oliva Alonso, 25/08/2016. Se trabaja con el  header y los estilos generales*/
/* Modificado: Félix Ricardo Oliva Alonso, 29/08/2016. Se trabaja con el footer y con la manipulación las imágenes.  */


* {
    margin: 0;
    line-height: ;
    font-family: Calibri;
    color: #555555;
    margin: 0 auto;
}
body {
    background-color: blue;
    font-size: 11pt;
}


.border{
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border: 1px solid #acacac;
    -moz-border: 1px solid #acacac;
    -webkit-bordrs: 1px solid #acacac;
    outline: 0;
}



.titulo_pagina{
  width: 990px;
  /*border: 1px solid red;*/
  text-align: center;
  margin-top: 50px;
  min-height: 30px;
  background-color: #ffffff;
}

.titulo_pagina2{
  width: 900px;
  /*border: 1px solid red;*/
  text-align: center;
  font-size: 15pt;
  float: right;
  margin-right: 45px;
  margin-left: 12px;
  color: #080808;
  /*background-color: #ffffff;*/

}

.titulo_fondo {
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    box-sizing: border-box;
    min-height: 30px;
}

.cerrar_form{
  /*border: 1px solid green;*/
  opacity: 0.6;
  cursor: pointer;
  margin-left: 5px;
  padding: 3.5px;

}

.cerrar_form2{
  /*border: 1px solid green;*/
  opacity: 0.6;
  cursor: pointer;
}
.cerrar_form:hover,.cerrar_form2:hover{
  opacity: 1
}
a{
  color: #555555;
}



a:hover{
  color: #555555;
  text-decoration: none;
}

.pc::-webkit-input-placeholder {
    color: #dd4939;
}
.pc:-moz-placeholder {
    /* FF 4-18 */
    color: #dd4939;
}
.pc::-moz-placeholder {
    /* FF 19+ */
    color: #dd4939;
}
.pc:-ms-input-placeholder {
    /* IE 10+ */
    color: #dd4939;
}


/************************************************************
                      HEADER
************************************************************/

header {
    width: 990px;
    height: 135px;
    padding-top: 20px;
    /*border: 1px solid green;*/
    margin-bottom: 20px;
    background-color: #ffffff;
}
header #h_logo {
    width: 384px;
    height: 100px;
    /*border: 1px solid blue;*/
    float: left;
}
header #h_fecha {
    width: 375px;
    height: 25px;
    /*border: 1px solid blue;*/

    float: right;
}
header #h_fecha p {
    padding-left: 30px;
    margin: -23px 0px 0px 0px;
    font-size: 10pt;
}
/************************************************************
                            HEADER/BARRA
    ************************************************************/

header #h_menu {
    width: 990px;
    height: 24px;
    /*border: 1px solid red;*/
    float: left;
    margin: 5px 0px 0px 0px;
    padding-bottom: 5px;
    border-bottom: solid 1px rgba(204, 204, 204, 1);
}
/*header #h_menu:before {
       content: ' ';
       position: absolute;
       width: 990px;
       height: 25px;
       opacity: 0.15;
       background: url("/img/pattern.png") repeat  ;
}*/
header #h_menu nav {
    position: relative;
}
header #h_menu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
header #h_menu nav > ul > li {
    float: right;
}
/*header #h_menu nav > ul > li:first-child {
    border-right: 0px;
}*/
header #h_menu nav ul li a {
    width:70px;
    text-align: center;
    text-decoration: none;
    color: #555555;
    display: block;
    padding: 5px 20px;
    font-size: 10pt;
    font-weight: bold;
}
header #h_menu nav ul li a:hover {
    color: black;
    text-decoration: underline;
    border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
}
header #h_menu nav > ul > li:hover div {
    display: flex;
    border-bottom: solid 1px rgba(204, 204, 204, 1);

}

/*Submenu*/
header #h_menu nav ul li div {
    position: absolute;
    box-sizing: border-box;
    display: none;
    z-index: 1;
    border-top: 1px solid rgba(204, 204, 204, 1);
    background-color: #ffffff;
}
header #h_menu nav ul li div ul {
    display: table-cell;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
    float: right;
}
header #h_menu nav ul li div ul:last-child {
    border: none;
}
header #h_menu nav ul li div ul li a {
    color: #555555;
    border-bottom: solid 1px rgba(204, 204, 205, 0.3);
}

header #h_menu nav ul li div ul li a:hover {
    text-decoration: underline;

}

/************************************************************
                      FOOTER
************************************************************/

footer {
    background-color: #2a2a2a;
    min-height: 340px;
}
footer hr {
    height: 1px;
    border: 0;
    background-color: #333333;
}
footer #f_content {
    width: 990px;
    /*border: 1px solid red;*/
}
footer #f_content #f_top {
    width: 990px;
    height: 110px;
    padding-top: 30px;
    /*border: 1px solid green;*/
}
footer #f_content #f_left {
    /*border: 1px solid blue;*/
    padding-top: 30px;
    width: 300px;
    float: right;
    box-sizing: border-box;
}
footer #f_content #f_right {
    /*border: 1px solid blue;*/
    padding-top: 30px;
    width: 590px;
    float: left;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.8);
}
footer #f_content #f_right p,
footer #f_content #f_right p strong {
    color: #777;
}
footer #f_content #f_menu {
    width: 990px;
    /*border: 1px solid yellow;*/
    padding-top: 20px;
    box-sizing: border-box;
}
footer #f_content #f_menu #f_box1 {
    width: 250px;
    height: 174px;
    display: inline-block;
    /*border: 1px solid red;*/
    box-sizing: border-box;
    padding-left: 0px;
}
footer #f_content #f_menu #f_box2 {
    width: 180px;
    height: 174px;
    display: inline-block;
    /*border: 1px solid red;*/
    box-sizing: border-box;
}
footer #f_content #f_menu #f_box3 {
    width: 215px;
    height: 174px;
    display: inline-block;
    /*border: 1px solid red;*/
    box-sizing: border-box;
}
footer #f_content #f_menu #f_box4 {
    width: 205px;
    height: 174px;
    display: inline-block;
    /*border: 1px solid red;*/
    box-sizing: border-box;
}
footer #f_content #f_menu #f_box5 {
    width: 118px;
    height: 174px;
    display: inline-block;
    /*border: 1px solid red;*/
    box-sizing: border-box;
}
footer #f_content #f_menu #f_box1 ul,
footer #f_content #f_menu #f_box2 ul,
footer #f_content #f_menu #f_box3 ul,
footer #f_content #f_menu #f_box4 ul,
footer #f_content #f_menu #f_box5 ul {
    list-style: inside none;
    float: left;
    margin: 0;
    padding: 0;
    line-height: 17pt;
}
footer #f_content #f_menu #f_box1 ul h4,
footer #f_content #f_menu #f_box2 ul h4,
footer #f_content #f_menu #f_box3 ul h4,
footer #f_content #f_menu #f_box4 ul h4,
footer #f_content #f_menu #f_box5 ul h4 {
    color: #EAEAEA;
}
footer #f_content #f_menu #f_box1 ul li,
footer #f_content #f_menu #f_box2 ul li,
footer #f_content #f_menu #f_box3 ul li,
footer #f_content #f_menu #f_box4 ul li,
footer #f_content #f_menu #f_box5 ul li {
    color: #999999;
}

footer #f_content #f_menu #f_box1 ul li a,
footer #f_content #f_menu #f_box2 ul li a,
footer #f_content #f_menu #f_box3 ul li a,
footer #f_content #f_menu #f_box4 ul li a,
footer #f_content #f_menu #f_box5 ul li a {
    color: rgb(153, 153, 153);
}

footer #f_content #f_menu #f_box1 ul li:hover,
footer #f_content #f_menu #f_box2 ul li:hover,
footer #f_content #f_menu #f_box3 ul li:hover,
footer #f_content #f_menu #f_box4 ul li:hover,
footer #f_content #f_menu #f_box5 ul li:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    cursor: pointer;
}
