/*
Theme Name: The HTML5 Reset Theme
Theme URI: http://html5reset.org
Description: A style-free theme to get you started on an HTML5-based WordPress theme of your own.
Author: Monkey Do! + @ckhicks
Author URI: http://monkeydo.biz
Version: 2.0
License: BSD 2-Clause
License URI: http://opensource.org/licenses/bsd-license.php
*/

/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

/* A Linux- and Windows-friendly sans-serif font stack: http://prospects.mhurrell.co.uk/post/updating-the-helvetica-font-stack */

html,
body {
  overflow: auto;
  font-weight: ;
}

body {
  font: 13px;
  font-family: 'Roboto', sans-serif;
  color: #515151;
}

/* Using local fonts? Check out Font Squirrel's webfont generator: http://www.fontsquirrel.com/tools/webfont-generator */

/* We like off-black for text. */
body,
select,
input,
textarea {
  color: #515151;
}

a {
  color: #515151;
}

a:hover {
  color: #001a5a !important;
}

p {
  line-height: normal !important;
}

/* Custom text-selection colors (remove any text shadows: http://twitter.com/miketaylr/status/12228805301) */
::-moz-selection {
  background: #fcd700;
  color: #fff;
  text-shadow: none;
}

::selection {
  background: #fcd700;
  color: #fff;
  text-shadow: none;
}

/*	j.mp/webkit-tap-highlight-color */
a:link {
  -webkit-tap-highlight-color: #fcd700;
}

ins {
  background-color: #fcd700;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #fcd700;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder {
  color: #a9a9a9;
}

textarea:-moz-placeholder {
  color: #a9a9a9;
}


/* And here begins the WordPress fun.
-------------------------------------------------------------------------------*/

#wrapper {
  width: 100%;
  margin: auto;
}


/* Print styles!
-------------------------------------------------------------------------------*/
@media print {}


/* Media queries!
-------------------------------------------------------------------------------*/

/* Always do mobile-first, and consider using em units: http://blog.cloudfour.com/the-ems-have-it-proportional-media-queries-ftw

@media screen and (min-width: 480px) {

} */

.fluid {
  max-width: 100%;
}

.container {
  max-width: 1440px;
  margin: auto;
  padding: 0 30px;

}

.header {
  width: 100%;
  background-color: #001a5a;
  height: 102px;
}

header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: normal;
  height: 102px;
  position: relative;
}

.header .intranet {
  position: relative;
  top: -23px;
  height: 42px;
  line-height: 42px;
  background-color: #F8F8F8;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  font-size: 22px;
  font-weight: 700;
  color: #515151;
  width: 181px;
  text-align: center;
}

.header .emergencias {
  position: relative;
  margin-right: 65px;
}

.header .emergencias .titulo {
  position: relative;
  top: 24px;
  font-size: 15px;
  text-transform: capitalize;
  color: #fff;
  text-align: right;
}

.header .emergencias .numero {
  position: relative;
  top: 24px;
  right: -14px;
  font-size: 19px;
  text-transform: capitalize;
  color: #fff;
  font-weight: 700;
}

.header .emergencias i {
  position: relative;
  top: -27px;
  font-size: 41px;
  right: -139px;
  text-transform: capitalize;
  color: #fff;
  font-weight: 700;
  opacity: 0.5;
}


.contactos {
  width: 100%;
  background-color: #f8f8f8;
  min-height: 237px;
  padding: 0 2rem;
}

.contactos .container {

  padding: 48px 4rem;
}

.contactos h2 {
  padding: 0 0 21px;
  font-size: 22px;
  font-weight: 500;
}

.contactos .form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: stretch;
}

.contactos .form .box {
  width: 48%;
}

.contactos .form label {
  margin: 0 0.6rem 0.3rem;
  display: block;
  font-size: 14px;
  font-weight: 600;
}


.contactos .form .box input,
.contactos .form .box select {
  width: 100%;
  height: 50px;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 0 1rem;
  font-size: 14px;
}

.contactos .checkbox {
  margin: 0 0 17px 11px !important;
  font-size: 15px !important;
  display: block;
}

.contactos .checkbox label {
  padding-top: 2px !important;
}

.contactos .ui.toggle.checkbox input:checked~label:before,
.contactos .ui.toggle.checkbox input:focus:checked~label:before {
  background-color: #001a5a !important;
}

.contactos form {
  display: flex;
}

.contactos form input:nth-child(1) {
  width: 80% !important;
}

.contactos form input:nth-child(2) {
  width: 20% !important;
}

.inicio {
  width: 100%;
  background-color: #fff;
  padding: 0 2rem;
}

.inicio .container {

  padding: 4rem 1.8rem;
}

.inicio h3 {
  padding: 0 0 0 2.5rem;
  font-size: 30px;
  font-weight: 500;
}

.inicio .posts {
  display: table;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
}

.inicio .posts .post {
  display: inline-flex;
  text-align: left;
  width: 50%;
  padding: 2rem 0 0;
  justify-content: space-around;
}

.inicio .posts .post .content {
  width: 92%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: normal;
  align-content: normal;
  border-bottom: 2px dotted rgb(173, 173, 173);
}

.inicio .fecha {
  font-size: 14px;
  padding-left: 1rem;
}

.inicio .box .titulo {
  font-size: 19px;
  padding-left: 1rem;
  border-left: 4px solid #001a5a;
  display: block;
  margin: 0.8rem 0 1.4rem 0;
  color: #515151;
  line-height: 20px;
}

.inicio .posts .post img {
  width: auto !important;
}

.inicio .box .texto-corto {
  font-size: 15px;
  margin: 1.4rem 0 2rem;
}



.noticias {
  width: 100%;
  background-color: #fff;
  padding: 0 2rem;
}

.noticias .container {

  padding: 4rem 4rem;
  display: flex;
  justify-content: space-between;
}

.noticias .noticia {
  width: 75%;
  padding-right: 5%;
}

.noticias h3 {
  padding: 0 0 0 1rem;
  font-size: 24px;
  font-weight: 500;
  border-left: 6px solid #001a5a;
  margin: 1rem 0 0 0;
}


.noticias .noticia img {
  max-width: 600px;
  padding: 3rem 0;
}

.noticias .noticia .entry-content {
  padding: 0 0 3rem 0;
  font-size: 15px;
  line-height: 17px;

}

.noticias .noticia .entry-content p {
  font-size: 15px !important;
  line-height: 22px !important;
  font-weight: 500 !important;

}

.noticias .noticia .paginador {
  display: flex;
  justify-content: space-between;
}

.noticias .noticia .paginador a {
  color: #515151;
  position: relative;
}

.noticias .noticia .paginador i {
  margin: 5px;
  color: #001a5a;
  top: 1px;
  position: relative;
}


.noticias .ultimas-noticias {
  width: 20%;
}

.noticias .ultimas-noticias h4 {
  padding: 0px 0 1rem;
  line-height: 18px;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid #b3b3b3;
  margin: 3rem 0 2rem 0;
}

.noticias .ultimas-noticias a {
  color: #515151;
  display: block;
  margin-bottom: 2rem;
}

.noticias .titulo-volver {
  text-align: right;
}

.noticias .titulo-volver a {
  color: #515151
}

.noticias .titulo-volver i {
  margin-right: 5px;
  color: #001a5a;
}

.noticias .btn-ver-todas {
  border-radius: 5px;
  background-color: #515151;
  padding: 0.6rem 0;
  text-align: center;
  margin-top: 4rem;
  color: #fff !important;
}

.noticias .btn-ver-todas:hover {
  color: #fff !important;
}


.listado-noticias {
  width: 100%;
  background-color: #fff;
  padding: 0 2rem;
}

.listado-noticias .container {

  padding: 4rem 1.8rem;
  display: flex;
  justify-content: space-between;
}

.listado-noticias .noticia {
  width: 75%;
  padding-right: 5%;
}

.listado-noticia .ultimas-noticias {
  width: 20%;
}

.listado-noticias h3 {
  padding: 0 0 0 2.5rem;
  font-size: 30px;
  font-weight: 500;
}

.listado-noticias .posts {
  display: table;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
}

.listado-noticias .posts .post {
  display: inline-flex;
  text-align: left;
  width: 100%;
  padding: 2rem 0 0;
  justify-content: space-around;
}

.listado-noticias .posts .post .content {
  width: 92%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: normal;
  align-content: normal;
  border-bottom: 2px dotted rgb(173, 173, 173);
}

.listado-noticias .fecha {
  font-size: 14px;
  padding-left: 1rem;
}

.listado-noticias .box .titulo {
  font-size: 19px;
  padding-left: 1rem;
  border-left: 4px solid #001a5a;
  display: block;
  margin: 0.8rem 0 1.4rem 0;
  color: #515151;
  line-height: 20px;
}


.listado-noticias .box .texto-corto {
  font-size: 15px;
  margin: 1.4rem 0 2rem;
}


.listado-noticias .ultimas-noticias {
  width: 20%;
}

.listado-noticias .ultimas-noticias h4 {
  padding: 0px 0 1rem;
  line-height: 18px;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid #b3b3b3;
  margin: 3rem 0 2rem 0;
}

.listado-noticias .ultimas-noticias a {
  color: #515151;
  display: block;
  margin-bottom: 2rem;
}

.listado-noticias .titulo-volver {
  text-align: right;
}

.listado-noticias .titulo-volver a {
  color: #515151
}

.listado-noticias .titulo-volver i {
  margin-right: 5px;
  color: #001a5a;
}

.listado-noticias .btn-ver-todas {
  border-radius: 5px;
  background-color: #515151;
  padding: 0.6rem 0;
  text-align: center;
  margin-top: 4rem;
  color: #fff !important;
}

.listado-noticias .btn-ver-todas:hover {
  color: #fff !important;
}



.agenda {
  width: 100%;
  background-color: #fff;
  padding: 0 2rem;
}

.agenda .container {

  padding: 1rem 5rem 4rem;
}

.agenda .titulo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
}

.agenda .titulo a {
  color: #515151
}

.agenda .titulo i {
  margin-right: 5px;
  color: #001a5a
}


.agenda h3 {
  padding: 0 0 21px;
  font-size: 18px;
  display: inline-block;
}

.agenda h2 {
  padding: 0 0;
  font-size: 22px;
  font-weight: 500;
  color: #001a5a;
  display: inline-block;
}

.agenda table {
  border: 0px;
  /*text-transform: uppercase;*/
  width: 100%;
}

.agenda table tr {
  background-color: #fff !important;
}

.agenda table tbody tr:hover {
  background-color: rgb(243, 243, 243) !important;
}

.agenda table thead td {
  border-bottom: 1px solid #808080;
  padding: 24px 0 24px 30px;
  font-size: 15px;
  font-weight: 800;

}

.agenda table tbody td {
  border-bottom: 1px solid #c4c4c4;
  padding: 20px 0;
  font-size: 12px;
  font-weight: 500;
  /*text-transform: capitalize;*/
}

.agenda table tbody td div {
  padding: 0 30px;
  border-right: 1px solid #c4c4c4;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.agenda table tbody td:nth-child(7) div {
  border-right: 0px;
  justify-content: center;
}

.agenda table tbody td .imagen span {
  border-radius: 50%;
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  display: block;
  font-size: 15px;
}

.agenda table tbody td .imagen .foto {
  border-radius: 50%;
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  display: block;
  font-size: 17px;
}

.agenda table tbody td:nth-child(1) {
  width: 40px;

}

.agenda table tbody td:nth-child(3) {
  font-size: 16px !important;

}

.agenda table tbody td:nth-child(2) {
  font-size: 16px !important;
  white-space: nowrap;
  width: 237px;
  vertical-align: top;

}

.agenda table thead td:nth-child(7) {
  text-align: center;
}

.agenda table tbody td:nth-child(7) {
  font-size: 16px !important;
  text-align: center;
}







.footer {
  width: 100%;
  background-color: #333333;
  min-height: 200px;
}

.footer h3 {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid #666;
  margin-bottom: 2rem;
  color: #fff;
  font-size: 22px;
}

.copyright {
  width: 100%;
  background-color: #161616;
  text-align: center;
  color: #fff;
  line-height: 30px;
}

.footer .press {
  display: table;
  /* Required for table-cell to work on li's */
  padding: 0;
  /* Override defaults for lists */
  margin: 0;
  /* Override defaults for lists */
  width: 100%;
  /* Get the row full width */
  text-align: left;
  /* Centre align grid items */
}

.footer .press li {
  display: inline-flex;
  /* Get all images to show in a row */
  text-align: left;
  /* Centre align the images */
  width: 25%;
  padding-bottom: 10px;
}

.footer .press li a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 960px) and (min-width: 501px) {
  .footer .press li {
    width: 50%;
  }

  /* Show 2 logos per row on medium devices (tablets, phones in landscape) */
}

@media (max-width: 500px) {
  .footer .press li {
    width: 100%;
  }

  /* On small screens, show one logo per row */
}

@media (max-width: 960px) {

  .header .intranet,
  .header .emergencias {
    display: none;
  }

  .fluid {
    padding: 0 1rem !important;
  }

  .container {
    padding: 48px 1rem !important;
  }

  .header .container {
    padding: 0 30px !important;
  }

  .contactos .form {
    display: block;
  }

  .inicio .posts .post {
    width: 100%;

  }

  .inicio h3 {
    padding: 0 0 0 0.5rem;
    font-size: 20px;
  }

  .contactos .container {
    padding: 21px 1rem 10px !important;
  }

  .contactos .form .box {
    width: 100%;
    margin-bottom: 2rem;
  }

  .contactos h2 {
    padding: 10px 0 10px 8px;
    font-size: 19px;
  }

  .agenda .container {
    position: relative;
  }

  .agenda .titulo {
    display: block;
  }

  .agenda .titulo h2,
  .agenda .titulo h3 {
    margin: 0;
    padding: 0 !important;
  }

  .agenda .table-agenda {
    overflow: auto;
    width: 100%;
  }


  .titulo-volver {
    display: none;
  }

  .footer .press {
    display: block;
  }

  .footer .press li {
    display: inline-block;
  }
}