.Header {
  background-color: #fff;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}

.Header:before,
.Header:after {
  display: table;
  content: ' ';
}

.Header:after {
  clear: both;
}


/* Iconos
   ========================================================================== */

.Icon {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center center;
}

.Icon--search {
  width: 22px;
  height: 18px;
  background-image: url('../img/icon-search.png');
  position: relative;
  top: 2px;
}

.Icon--find {
  width: 22px;
  height: 18px;
  background-image: url('../img/icon-find.png');
  background-size: 100%;
}

.Icon--calendar {
  width: 42px;
  height: 42px;
  background-image: url('../img/icon-calendar.png');
}

.Icon--money {
  width: 42px;
  height: 42px;
  background-image: url('../img/icon-money.png');
}

.Icon--folder {
  width: 42px;
  height: 42px;
  background-image: url('../img/icon-folder.png');
}

.Icon--arrow {
  width: 14px;
  height: 9px;
  background-image: url('../img/icon-arrow.png');
}

.Icon--menu {
  width: 24px;
  height: 24px;
  background-size: 100%;
  background-image: url('../img/icon-menu.png');
}

/* Cajas en resultados de busqueda
   ========================================================================== */
.Box {
  border: 2px solid #ccc;
  border-radius: 6px;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  background-color: #f3f3f3;
  /*background-color: #e5eaee;*/
  /*height: 360px;*/
  min-height: 360px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
}

.box-captcha{
       position: relative;
}

@media screen and (max-width: 859px) {
  .Box {
    margin-bottom: 1.5rem;
  }
}

.Box-footer {
  background-color: #fff;
  justify-self: flex-end;
  text-decoration: none;
  display: block;
  text-align: center;
  padding-top: 0.625em;
  padding-bottom: 0.625em;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  color: #0f4b8d;
  border-top: 1px solid #ccc;
  font-size: 1.125em;
}

.Box-footer:after {
  content: ' \00bb';
  display: inline-block;
  color: green;
  margin-left: 0.5em;
  font-size: 1.25em;
  line-height: 1;
}

.Box-message {
  text-align: center;
  font-size: 1.25em;
  margin: 15px 0;
}

.Box-title {
  font-weight: 500;
  margin-top: 1rem !important;
  font-size: 1.25em !important;
  margin-bottom: 0;
  margin-left: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.Box-title .Icon {
  margin-right: 0.5em;
}

.Box-highlight {
  /*margin-left: 1.5rem;
  margin-right: 1.5rem;*/
  margin: 0 1.5rem 1rem 1.5rem;
  border: 1px solid #aaa;
  border-radius: 6px;
  background-color: #fff;
  padding: 0.825rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  line-height: 1.25;
}

.Box-highlight strong {
  font-size: 1.625em;
  word-wrap: break-word;
}

#firstBoxCobros .Box-highlight strong {
  font-size: 1.2em;
}

div.Box .acceso a {
    padding: 10px 20px;
    margin: 15px 0;
}

a.cajitamasexpedientes{
	text-decoration: underline;
}
.modal-header {
    padding: 16px 24px 0 24px;
}

.modal-body {
    position: relative;
    margin: 0 24px 20px 24px;
}


@media screen and (min-width: 859px) {
	#firstBoxTramite .Box-highlight strong {
	  font-size: 1.4em;
	}
}

.Box-content {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.Box-content div {
	line-height: 1.1;
	padding: 0.4rem 0 0 0;
}

.Box-body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.boxbody{
	font-size: 1.0em;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
}
/* Filtros en resultados de busqueda
   ========================================================================== */

.Filter-button {
  border: 1px solid #bbb;
  -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 10px;
  color: #0b4f98;
  margin-bottom: 2em;
  display: none;
}

.Filter-button.is-open .Icon {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.Filter-button .Icon {
  margin-left: 0.5em;
}

.Filter li + li {
  margin-top: 1.125em;
}

.Filter li.is-active {
  font-weight: bold;
}

@media screen and (max-width: 859px) {
  .Filter-button {
    display: block;
  }

  .Filter {
    display: none;
    margin-bottom: 2.5rem !important;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2rem;
  }
}

@media screen and (min-width: 860px) {
  .Filter {
    display: block !important;
  }
.Result {
  margin-bottom: 48px;
}
}

.Section {
  margin-top: 64px;
  /* margin-bottom: 48px; */
}

@media screen and (max-width: 859px) {
  .Snippet--download .Media-image img {
    width: 32px;
    height: 32px;
  }
  .Section {
	margin-top: 0;
  }
}

/* Botones
   ========================================================================== */

.Button {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background-color: #555;
  padding: 0.5em 1.5em;
  border-radius: 2px;
  text-align: center;
  -webkit-transition: background-color 0.125s ease-in-out;
  transition: background-color 0.125s ease-in-out;
}

.Button:hover {
  text-decoration: none;
}

.Button--blue {
  background-color: #004078;
}

.Button--blue:hover {
  background-color: #0056a1;
}

.Button--green {
  background-color: #508110;
}

.Button--green:hover {
  background-color: #67a515;
}
.Button--grey {	
	/*padding: 8px 24px;*/
	/*border-radius: 5px;*/
	color: #0B4F98;
	background-color: #e5eaee;
	/*width: 100%;*/
	/*margin-bottom: 15px;*/
}
.Button--grey:hover {
	background-color: #f4f6f8;
	text-decoration: none;
}

/* Utilidades para margenes
   ========================================================================== */

.u-mt24 {
  margin-top: 24px;
}

.u-mb24 {
  margin-bottom: 24px;
}

.u-mt25 {
  margin-top: 25px;
}

.u-mt48 {
  margin-top: 48px;
}

.u-mb48 {
  margin-bottom: 48px;
}

/* Modifiers para .row
   ========================================================================== */

.row--noGutter {
  margin-left: 0;
  margin-right: 0;
}

.row--noGutter .col {
  padding-left: 0;
  padding-right: 0;
}

.row--spacious {
  margin-left: -24px;
  margin-right: -24px;
}

.row--spacious .col {
  padding-left: 24px;
  padding-right: 24px;
}

/* Resultados de busqueda (general)
   ========================================================================== */

.wrap-resultados {
  margin-top: 64px;
  margin-bottom: 48px;
}

.result-type {
  font-weight: 400;
  font-size: 1rem;
  color: #666;
  float: left;
  clear: both;
}

@media screen and (max-width: 859px) {
  .result-type {
    display: block;
    margin-left: 0;
    font-size: 0.95em;
  }
}

/* Texto solo visible para lectores de pantalla
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Snippet (resultados de busqueda)
   ========================================================================== */

.Snippet-actions {
  margin-top: 16px;
  text-align: right;
}

.Snippet-actions .Button {
  min-width: 10em;
  margin-left: 0.5em;
}

@media screen and (max-width: 859px) {
  .Snippet-actions {
    font-size: 0.95em;
    text-align: left;
  }
}

@media screen and (max-width: 859px) {
  .Snippet-actions .Button {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .Snippet-actions .Button + .Button {
    margin-top: 0.625em;
  }
}

@media screen and (min-width: 858px) {
  .Snippet-actions .Button + .Button {
    margin-left: 0.5em;
  }
}

.lista-resultados ul li.Snippet {
  /* especificidad innecesaria */
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.Snippet-date {
  margin-bottom: 0.3125em !important;
  color: #666 !important;
  font-size: 0.875em !important;
  display: block;
  clear: both;
}

.Snippet-image {
  float: left;
  margin-right: 1.25em;
}

.Snippet-media {
  margin-top: 0.75em;
}

.Snippet--download .Snippet-image {
  margin-right: 1em;
}

.Snippet-description {
  line-height: 1.5 !important;
  clear: both;
  margin-top: 10px!important;
}

.Snippet-media p.Snippet-description {
  margin-top:0 !important;
}

@media screen and (max-width: 479px){
	.Snippet-description {
	    margin-top: 36px!important;
	}
}

.lista-resultados.formato-carpeta li h2 {
  font-weight: 400;
}

@media screen and (max-width: 859px) {
  .lista-resultados.formato-carpeta li h2 {
    font-size: 1.25em;
    line-height: 1.5;
  }
}

@media screen and (max-width: 859px) {
  .Snippet--hasImage .Snippet-image {
    margin-right: 0;
    margin-bottom: 1em;
    float: none;
  }

  .Snippet--hasImage .Snippet-image img {
    width: 100%;
    display: block;
  }
}

.Header {
  /* margin-bottom: 30px; */
}

.home-page .Header {
  margin-bottom: 0;
}

.Nav-trigger {
  font-size: 15px;
  text-transform: uppercase;
  color: #555;
  padding: 1em 0.75em;
  /* -webkit-transition: background-color 0.25s ease-in-out,
    color 0.25s ease-in-out;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
  -webkit-transition-delay: 0.25s;
  transition-delay: 0.25s; */
  text-decoration: none;
}
/*************/
/* @media screen and (min-width: 859px) {
  .Nav-trigger {
    -webkit-transition: background-color 0.25s ease-in-out,
      color 0.25s ease-in-out;
    -webkit-transition: background-color 0.25s ease-in-out,
      color 0.25s ease-in-out;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
    -webkit-transition-delay: 0.25s;
    transition-delay: 0.25s;
  }

  .Nav-trigger:focus,
  .Nav-item.hover .Nav-trigger,
  .Nav-item:hover .Nav-trigger {
    background-color: #e4e9ed;
    color: #000;
  }

  .Nav-trigger:focus + .Nav-child,
  .Nav-item.hover .Nav-child,
  .Nav-item:hover .Nav-child {
    left: 0;
    opacity: 1;
  }

  .Nav-trigger:focus + .Nav-child--right,
  .Nav-item.hover .Nav-child--right,
  .Nav-item:hover .Nav-child--right {
    right: 0;
    left: auto;
  }
}
 */
@media screen and (min-width: 859px) {
  .Nav-child {
    top: calc(100% + 0.825em);
    position: absolute;
    height: auto;
    z-index: 2;
    left: -9999px;
    opacity: 1;
    -webkit-transition: opacity 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out;
    -webkit-transition-delay: 0.25s;
    transition-delay: 0.25s;
    min-width: 300px;
  }
}

@media screen and (max-width: 859px) {
  .Nav-child {
    display: none;
    margin-bottom: 2rem;
    padding-top: 0;
  }

  .Nav-item--search {
    display: none !important;
  }

  .Nav-trigger {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .Nav-child ul {
    padding-left: 1.25rem !important;
  }

  .Nav-trigger:after {
    position: relative;
    top: 8px;
    content: '';
    width: 0;
    height: 0;

    display: inline-block;

    float: right;

    border-left: 5px solid transparent;
    border-right: 5px solid transparent;

    border-top: 5px solid #555;
  }

  .Nav-trigger.is-active:after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;

    border-bottom: 5px solid #555;
    border-top: none;
  }
}

@media screen and (min-width: 860px) {
  .Nav-child {
    background-color: #e4e9ed;
/*     padding-top: 1em;
    padding-bottom: 1em; */
    width: 600px;
    padding: 1.625rem;
    margin-right: 11px;
  }
}

.Nav-child ul {
  list-style: none;
  padding-left: 0;
}

.Nav-child ul li a {
  color: #000;
  display: block;
  padding: 14px 24px;
  -webkit-transition: color 0.125s ease-in-out,
    background-color 0.125s ease-in-out;
  transition: color 0.125s ease-in-out, background-color 0.125s ease-in-out;
}

.Nav-child ul li a:hover {
  background-color: #194276;
  color: #fff;
  text-decoration: none;
}

@media screen and (min-width: 859px) {
  .Nav-child--large {
    width: 900px;
  }

  .Nav-child--medium {
    width: 720px;
  }

  .Nav-item--search .Nav-child {
    width: 600px;
    padding: 1.625rem;
    margin-right: 1px;
  }
}
@media only screen and (max-width: 913px){
	nav a {
     color: #0b4f98;
	}
}

.contenedor .Section .row h2.cuarto {
	color: #666;
	font-size: 1.04rem;
	font-weight: 400;
	padding: 0 0 5px 8px;
	border-bottom: 1px solid #ddd;
}

.documento-wrap ul > li:before{
	color: #0B427C;
    content: '\25AA';
    font-size: 23px;
    display: inline-block;
    width: 1.0em;
    margin-left: -1.0em;
}
.descripcion-carpeta ul > li:before{
	color: #0B427C;
    content: '\25AA';
    font-size: 23px;
    display: inline-block;
    width: 1.0em;
    margin-left: -1.0em;
}

div.modal-body > form > fieldset > legend{
	width: 100%;
}

.oficinastitle{
	margin-top: 1em;
}
.listaoficinas{
	
}
.oficinaitem{
	
}
.oficinatitle{
	font-weight: bold;
}
.oficinadatos{
	
}
ul.ulpopuptramite{
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
}
ul.ulpopuptramite li{
	border-bottom: 0;
}
ul.ulpopuptramite li label{
	text-align: left !important;
}
.agendar-tramite form ul.ulpopuptramite li select{
	width: 100%;
}
.modal-content fieldset ul.ulpopuptramite li{
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	
}

/* Buscador (componente)
   ========================================================================== */

#contenido .Search-input {
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 1.25em;
  padding: 0.5em 0.75em;
  width: 100%;
}

#contenido .Search-input[type="search"] {
  box-sizing: border-box;
  -webkit-appearance: none;
}

@media screen and (max-width: 859px) {
  #contenido .Search-input {
    font-size: 1em;
  }
}

#contenido .Search-input--withShadow {
  -webkit-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.4);
}

#contenido .Search-button {
  width: 100%;
  color: #fff;
  background-color: #194276;
  border: 0;
  border-radius: 3px;
 /* text-transform: uppercase;*/
  font-size: 1.20em;
  padding: 0.5em 0.75em;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: background-color 0.25s ease-in-out;
  transition: background-color 0.25s ease-in-out;
}

@media screen and (max-width: 859px) {
  #contenido .Search-button {
    font-size: 1em;
    margin-top: 1em;
  }
}

#contenido li.Snippet--download > div.Snippet-image > img{
	margin-bottom: 0.5em;
}

#contenido .Search-button:hover {
  background-color: #0056a1;
}

#contenido .Search--large {
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.Search--small {
  font-size: 0.75em;
}

@media screen and (max-width: 1180px) {
  .nav-item > a:focus {
    outline: 0;
  }
  .nav-item.is-open > a:after {
    transform: rotate(180deg);
  }
  #contenido .Search--large {
    max-width: 100%;
  }
}