/* General */

.field--type-text-long h2 {
    font-size: 24px;
}

.block-views h2,
section h2 {
    font-size: 24px;
    margin-bottom: 0.25em;
}

section h2 {
    margin-top: 2em;
}

.block-views h3 {
    font-size: 24px;
    margin-bottom: 0.5em;
}

.block-views h4,
.block-views .h4 {
    font-size: 16px;
    margin-top: 0.5em;
}

.block-views {
    margin-top: 2em;
}

.block-views-blockcerroref-block-1 .views-view-responsive-grid__item {
    margin-bottom: 1em;
}

/* Hitos y orgs two column bricks */

@media (min-width: 1024px) {
    .vright {
        padding-left: 2em;
    }
}

.vleft .field,
.vright .field {
    margin-bottom: 10px;
}

.vmiddle .field__label,
.vleft .field__label,
.vright .field__label,
.vright .links.inline {
    font-weight: bold;
}

.vright .links.inline li {
    margin-bottom: 1em;
}

.vright .links.inline li a:hover {
    text-decoration: underline;
}

.vright h2 {
    margin-top: 1em;
    font-size: calc(var(--theme-font-size)*1.4);
}

.vright h3 {
    font-size: calc(var(--theme-font-size)*1.2);
}

.vmiddle .field__item {
    margin-top: 1em;
    margin-bottom: 2em;
}

/* Vistas hitos patrimoniales */
.titlegrid {
    margin-top: 0.25em;
    font-size: calc(var(--theme-font-size) * 2.2);
    font-family: var(--theme-font-family);
    font-weight: var(--theme-font-weight-bold);
    line-height: var(--theme-line-height-sm);
}

.subtitlegrid {
    font-size: calc(var(--theme-font-size) * 1.1);
    font-family: var(--theme-font-family);
    font-weight: var(--theme-font-weight-bold);
    line-height: var(--theme-line-height-sm);
}
.lista-hitos .views-view-responsive-grid__item {
    margin-bottom: 1.5em;
}

/* Comments */
.form-item-comment-body-0-value label,
#edit-comment-body-0-format {
    display: none;
}

article.js-comment {
    border: 1px dotted #999;
    padding: 1em;
    margin: 2em 0;
}

/* Social media block */
.social-media-sharing {
    text-align: right;
}

/* Excepción Patio Volantin */
[data-theme="light"] .layout[data-history-node-id="854"] .field--type-image img {
    background-color: #3e4149;
}

/* Node title */
h2.nodetitle {
    font-weight: var(--theme-font-weight-semibold);
    font-size: calc(var(--theme-font-size)*2.32);
}

.gridfields {
    font-weight: var(--theme-font-weight-semibold);
}

/* Documentos */
@media (min-width: 1024px) {
    .documentos .form-actions {
        display: inline-flex;
        margin-left: 1em;
    }

    .documentos input#edit-submit-documentos {
        height: calc(var(--size-field, .25rem)*8.5);
    }

    .documentos .form-item-idioma {
        display: inline-flex;
    }

    .documentos .js-form-item-etiqueta {
        width: auto;
        display: inline-flex;
    }
}

/* bef */
.bef-links-use-ajax li {
    display: inline-flex;
    margin-right: 1em;
    margin-top: 1em;
}

.bef-links-use-ajax li a {
    /*font-weight: var(--theme-font-weight-semibold);
    */
    border: 1px solid #666;
    padding: 4px 16px;
    transition: background-color 0.3s ease-in-out;
    -webkit-transition: background-color 0.3s ease-in-out;
    -moz-transition: background-color 0.3s ease-in-out;
    -ms-transition: background-color 0.3s ease-in-out;
    -o-transition: background-color 0.3s ease-in-out;
}

.bef-links-use-ajax li a:hover {
    background-color: #111;
    border-color: #111;
    color: #fff;
}

nav.pager {
    text-align: center;
    margin-top: 2em;
}

/* User pages */

.user-pages__form article div {
    margin-bottom: 0.5em;
    display: block;
}

.user-pages__form article h4.label {
    font-size: 16px;
}

/* Footer */
#block-mapavalpo-footer-menu {
    font-weight: var(--theme-font-weight-semibold);
}

@media (min-width: 1024px) {
    footer .footer-one-column-centered__container {
        padding-top: 1.75em !important;
    }
}


/* Mapa */
path.leaflet-interactive:hover {
  fill-opacity: 0.8;
}

  /* fill: #0078a8;
  stroke: #fff;
  stroke-width: 5px;
  fill-opacity: 0.6; */

/* @media (max-width: 768px) {
    .views-view-responsive-grid .leaflet-container {
        max-height: 241px !important;
    }
} */

/* Bloque en cerros Responsive Mapa vs/ image */

.views-view-responsive-grid .leaflet-container {
    max-height: 400px;
}
@media (min-width: 522px) {
    .views-view-responsive-grid .leaflet-container {
        max-height: 240px;
    }
}
@media (min-width: 550px) {
    .views-view-responsive-grid .leaflet-container {
        max-height: 260px;
    }
}
@media (min-width: 600px) {
    .views-view-responsive-grid .leaflet-container {
        max-height: 280px;
    }
}
@media (min-width: 640px) {
    .views-view-responsive-grid .leaflet-container {
        max-height: 299px;
    }
}
@media (min-width: 767px) {
    .views-view-responsive-grid .leaflet-container {
        max-height: 363px;
    }
}
@media (min-width: 1024px) {
    .views-view-responsive-grid .leaflet-container {
        max-height: 241px;
    }
}

@media (min-width: 1280px) {
    .views-view-responsive-grid .leaflet-container {
        max-height: 305px;
    }
}

@media (min-width: 1536px) {
    .views-view-responsive-grid .leaflet-container {
        max-height: 369px;
    }
}

.search-content .field--type-string.field--label-inline,
.search-content .field--type-entity-reference.field--label-inline,
.search-content .field--type-daterange.field--label-inline,
.search-content .field--type-datetime.field--label-inline,
.search-content .field--type-list-string.field--label-inline,
.taxonomy-term .field--type-string.field--label-inline,
.taxonomy-term .field--type-entity-reference.field--label-inline,
.taxonomy-term .field--type-daterange.field--label-inline,
.taxonomy-term .field--type-datetime.field--label-inline,
.taxonomy-term .field--type-list-string.field--label-inline {
    display: flex;
}
.search-content .field--type-string .field__label,
.search-content .field--type-entity-reference .field__label,
.search-content .field--type-list-string .field__label,
.search-content .field--type-datetime .field__label,
.taxonomy-term .field--type-string .field__label,
.taxonomy-term .field--type-entity-reference .field__label,
.taxonomy-term .field--type-list-string .field__label,
.taxonomy-term .field--type-datetime .field__label {
    padding-right: 6px;
}
.search-content .field--type-daterange.field--label-inline time,
.search-content .field--type-daterange.field--label-inline time,
.taxonomy-term .field--type-daterange.field--label-inline time,
.taxonomy-term .field--type-daterange.field--label-inline time {
    padding-left: 6px;
}

.mapa-orgs .bef-exposed-form {
    margin-top: 1em;
}
@media (min-width: 768px) {
    .mapa-orgs .bef-exposed-form {
        display: flex;
        /* width: 50%; */
    }
}
.mapa-orgs .bef-exposed-form .form-item-cerro {
    padding-right: 8px;
}
.mapa-orgs .bef-exposed-form div {
    margin-bottom: 20px;
}

form.node-form label {
    display: inline-block;
}
.node-hitos-edit-form .js-form-item {
    margin-bottom: 8px;
}