:root {
    --bs-border-radius: 0px !important;
    --background-selected: #d8e8f5;
    --background-active: #005f9b;
}

.bloque-de-noticias-title{
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.6rem !important;
    font-family: var(--expreso-font-family-titular);
    color: #333;
    text-decoration: none;
    border-top-style: solid;
    border-top-color: #33332f;
    border-top-width: 1px;
}


/*
.bloque-noticias{
    min-height: 11rem;
    box-shadow: 0px 0px 0px 1px #ededed;
    -webkit-box-shadow: 0px 0px 0px 1px #ededed;
    -moz-box-shadow: 0px 0px 0px 1px #ededed;
 }  */
@media screen and (min-width: 768px) {

    .paragraph_bloque_noticias[data-ancho="1"],
    .item-bloque-noticias[data-ancho="1"] {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .paragraph_bloque_noticias[data-ancho="2"],
    .item-bloque-noticias[data-ancho="2"] {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .paragraph_bloque_noticias[data-ancho="3"],
    .item-bloque-noticias[data-ancho="3"] {
        flex: 0 0 auto;
        width: 25%;
    }

    .paragraph_bloque_noticias[data-ancho="4"],
    .item-bloque-noticias[data-ancho="4"] {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .paragraph_bloque_noticias[data-ancho="5"],
    .item-bloque-noticias[data-ancho="5"] {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .paragraph_bloque_noticias[data-ancho="6"],
    .item-bloque-noticias[data-ancho="6"] {
        flex: 0 0 auto;
        width: 50%;
    }

    .paragraph_bloque_noticias[data-ancho="7"],
    .item-bloque-noticias[data-ancho="7"] {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .paragraph_bloque_noticias[data-ancho="8"],
    .item-bloque-noticias[data-ancho="8"] {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .paragraph_bloque_noticias[data-ancho="9"],
    .item-bloque-noticias[data-ancho="9"] {
        flex: 0 0 auto;
        width: 75%;
    }

    .paragraph_bloque_noticias[data-ancho="10"],
    .item-bloque-noticias[data-ancho="10"] {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .paragraph_bloque_noticias[data-ancho="11"],
    .item-bloque-noticias[data-ancho="11"] {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .paragraph_bloque_noticias[data-ancho="12"],
    .item-bloque-noticias[data-ancho="12"] {
        flex: 0 0 auto;
        width: 100%;
    }
}

.item-bloque-noticias>article {
    width: 100%;
}

@media screen and (max-width: 767px) {

    .paragraph_bloque_noticias[data-ancho="1"],
    .paragraph_bloque_noticias[data-ancho="2"],
    .paragraph_bloque_noticias[data-ancho="3"],
    .paragraph_bloque_noticias[data-ancho="4"],
    .paragraph_bloque_noticias[data-ancho="5"],
    .paragraph_bloque_noticias[data-ancho="6"] {
        flex: 0 0 auto;
        width: 50%;
    }

    .paragraph_bloque_noticias[data-ancho="7"],
    .paragraph_bloque_noticias[data-ancho="8"],
    .paragraph_bloque_noticias[data-ancho="9"],
    .paragraph_bloque_noticias[data-ancho="10"],
    .paragraph_bloque_noticias[data-ancho="11"],
    .paragraph_bloque_noticias[data-ancho="12"] {
        flex: 0 0 auto;
        width: 100%;
    }
}

.offcanvas-size-xxl {
    --bs-offcanvas-width: min(90vw, 95vw) !important;
}

.offcanvas-size-xl {
    --bs-offcanvas-width: min(95vw, 600px) !important;
}

.offcanvas-size-lg {
    --bs-offcanvas-width: min(95vw, 400px) !important;
}

.offcanvas-size-md {
    /* add Responsivenes to default offcanvas */
    --bs-offcanvas-width: min(95vw, 400px) !important;
}

.offcanvas-size-sm {
    --bs-offcanvas-width: min(95vw, 250px) !important;
}

#offcanvasBloques .view-filters {
    position: sticky;
    top: -1rem;
    z-index: 1;
}

#offcanvasBloques .form-item-field-published-value-min,
#offcanvasBloques .form-item-field-published-value-max {
    position: relative;
    top: -1rem;
}

#offcanvasBloques #edit-title-wrapper {
    position: relative;
    top: -0.2rem;
}

#offcanvasBloques #edit-title-wrapper legend {
    margin-bottom: 0;
    font-size: 0.889rem;
    font-weight: bold;
    position: relative;
    top: 5px;
    width: fit-content;
}

#offcanvasBloques .pager {
    position: sticky;
    width: 100%;
    bottom: -1rem;
    margin-bottom: -2rem;
    background-color: #fff;
    border: 1px solid #ededed;
    border-bottom: none;
    z-index: 1;
}

#offcanvasBloques .grid .row {
    grid-template-columns: repeat(auto-fill, 260px);
    display: grid;
    grid-gap: 1rem;
    justify-content: space-between;
    padding: 0 0.8rem;
}

#offcanvasBloques[data-tipo='bloques'] .view-content {
    width: calc(100% - 2px);
    margin-left: 1px;
}

#offcanvasBloques .views-row {
    margin-bottom: 1rem;
}

#offcanvasBloques .block-busqueda-fila,
#offcanvasBloques .views-row {
    padding-top: 0.75rem;
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px #ededed;
    -webkit-box-shadow: 0px 0px 0px 1px #ededed;
    -moz-box-shadow: 0px 0px 0px 1px #ededed;
}

#offcanvasBloques .block-busqueda-fila:hover,
#offcanvasBloques .views-row:hover {
    box-shadow: 0px 0px 0px 1px #0c70bf;
    -webkit-box-shadow: 0px 0px 0px 1px #0c70bf;
    -moz-box-shadow: 0px 0px 0px 1px #0c70bf;
}

#offcanvasBloques[data-tipo='bloques'] .node-article-liquido,
#offcanvasBloques[data-tipo='bloques'] .node-bloque-liquido,
#offcanvasBloques[data-tipo='bloques'] .items-bloque-automatico {
    pointer-events: none;
}

#offcanvasBloques .node-article-liquido:hover,
#offcanvasBloques .node-bloque-liquido:hover {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

#offcanvasBloques .block-busqueda-fila.selected,
#offcanvasBloques .views-row.selected {
    box-shadow: 0px 0px 0px 1px #0c70bf;
    -webkit-box-shadow: 0px 0px 0px 1px #0c70bf;
    -moz-box-shadow: 0px 0px 0px 1px #0c70bf;
    background-color: var(--background-selected);
}

.col-imgdisp {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.img-radio, 
.img-radio {
    margin: 0 !important;
}

.img-crop {
    box-shadow: inset 0px 0px 0px .5px #c0c0c0;
    -webkit-box-shadow: inset 0px 0px 0px .5px #c0c0c0;
    -moz-box-shadow: inset 0px 0px 0px .5px #c0c0c0;
    margin: 0 !important;
    width: 1.8rem !important;
    height: 1.8rem;
    background-color: #f8f8f8 !important;
    padding: 0 !important;
}

.img-crop span {
    color: #808080;
    line-height: 1.7rem;
}

.img-crop.disabled {
    border: 1px solid transparent !important;
    opacity: 0.3 !important;
}

.img-crop.selected {
    box-shadow: inset 0px 0px 0px 1px #0c70bfad;
    -webkit-box-shadow: inset 0px 0px 0px 1px #0c70bfad;
    -moz-box-shadow: inset 0px 0px 0px 1px #0c70bfad;
    background-color: var(--background-selected);
}

.img-crop:hover {
    background-color: var(--background-selected) !important;
}

#offcanvasBloques .views-exposed-form.views-exposed-form {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0rem 1.5rem 1rem;
    border: 1px solid #ededed;
    border-radius: 2px;
    background-color: #fff;
}

#offcanvasBloques .views-exposed-form.views-exposed-form label {
    display: table;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.889rem;
    font-weight: bold;
    line-height: 1.125rem;
    /* position: absolute; */
}

#offcanvasBloques.views-exposed-form .form-no-label {
    margin-top: 2.60rem;
    /* margin: 0.75rem 0.5rem 0 0; */
}

#offcanvasBloques #edit-field-seccion-target-id,
#offcanvasBloques #edit-submit-content,
#offcanvasBloques #edit-reset,
#offcanvasBloques #edit-submit-bloques-de-contenido {
    margin-top: 1.6rem;
}

#views-exposed-form-bloques-de-contenido-block-busqueda #edit-title {
    margin-bottom: 1.4rem;
}

#offcanvasBloques #edit-field-seccion-target-id+.description {
    display: table;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.889rem;
    font-weight: bold;
    line-height: 1.125rem;
    position: relative;
    top: -4rem;
}

#offcanvasBloques .form--inline {
    display: flex;
    flex-wrap: wrap;
    width:calc(100% - 90px)
}



#offcanvasBloques .form-item,
#offcanvasBloques .form-actions {
    margin-top: 0.5rem;
    margin-bottom: 0rem;
    text-align: right;
}

#offcanvasBloques #edit-submit-contenido {
    margin-top: 1.6rem;
}

#offcanvasBloques #edit-submit {
    margin-top: 1rem;
    position: absolute;
    right: 1.5rem;
    top: 1.2rem;
}

#offcanvasBloques form *:focus,
.toast *:focus,
.toast .btn-close:focus,
.btn:focus,
.btn:active {
    outline: none;
    box-shadow: none;
}


#offcanvasBloques .views-row .cabbloque::after {
    content: "\f078";
    font-family: 'FontAwesome';
    right: 1rem;
    position: absolute;
}

#offcanvasBloques .views-row .cabbloque::after {
    content: "\f078";
    font-family: 'FontAwesome';
    right: 1rem;
    position: absolute;
}

#offcanvasBloques .views-row .cabbloque[aria-expanded=true]::after {
    content: "\f077" !important;
}


.btn:active {
    border: 1px solid transparent !important;
}

.item-bloque-noticias .tool-bloque,
#offcanvasBloques .tool-bloque {
    display: none;
}

.tool-bloque i:hover,
.tool-article-liquido i:hover,
.navbarBloque i:hover,
.navbarPar i:hover {
    color: #0c70bf;
    cursor: pointer;
}

#treeNavigatorContainer ::-webkit-scrollbar,
.tool-menu-gestion::-webkit-scrollbar {
    width: 0.5em;
    height: 0.55em;
    /*background: transparent;*/
    background: #c7c7c7;
}

#treeNavigatorContainer ::-webkit-scrollbar-thumb,
.tool-menu-gestion::-webkit-scrollbar-thumb {
    background: #808080;
    border-radius: 0.2em;
}

#treeNavigatorContainer ::-webkit-scrollbar-corner,
.tool-menu-gestion::-webkit-scrollbar-corner {
    display: none;
}

#treeNavigatorContainer.minimizado {
    height: 2rem !important;
}

#treeNavigatorContainer.minimizado .card-body,
#treeNavigatorContainer.minimizado .ui-resizable-se,
#treeNavigatorContainer.minimizado .fa-circle-chevron-up {
    display: none;
}

#treeNavigatorContainer.minimizado .fa-circle-chevron-down {
    display: block;
}

#treeNavigatorContainer {
    display: none;
    top: 90px;
    left: 35px;
    position: fixed;
    width: auto;
    min-width: 16rem;
    z-index: 500;
    background-color: #ffffff;
    height: calc(100vh - 100px);
    width: 256px;
}

#treeNavigatorContainer .card-header {
    cursor: move;
}

#treeNavigatorContainer .card-header>button.disabled {
    height: 22px;
}

#treeNavigatorContainer .card-body {
    height: calc(100% - 4rem);
    overflow: auto;
    font-size: .8rem;
}

#treeNavigatorContainer .card-footer {
    height: 2.2rem;
}

#treeNavigatorContainer .list-group-item {
    white-space: nowrap;
    text-overflow: ellipsis;
    /*overflow-x: hidden;*/

}

#treeNavigatorContainer .list-group.show .list-group-item {
    overflow-x: hidden;
}

#treeNavigatorContainer .fa-circle-chevron-down {
    display: none;
}

#treeNavigatorContainer .fa-circle-chevron-up {
    display: block;
}

#treeNavigatorContainer .navbarBloque,
#treeNavigatorContainer .navbarPar {
    display: none;
}

#treeNavigatorContainer[data-mode='bloques'] .navbarBloque {
    display: flex;
}

#treeNavigatorContainer[data-mode='parrafos'] .navbarPar {
    display: flex;
}

#treeNavigatorContainer[data-tipo='lista'] .saveBloque,
#treeNavigatorContainer[data-tipo='lista'] .addArt {
    display: none;
}



#treeNavigator .list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: var(--background-active);
    border-color: var(--background-active);
}

.ui-icon-gripsmall-diagonal-se {
    position: absolute;
    right: 0px;
    bottom: 0px;
}

.bstreeview .state-icon {
    width: 1rem !important;
    margin-right: 0 !important;
    height: 2rem;
    position: absolute;
    top: 2px;
    right: 2px;
    line-height: 2rem;
}

.placeHolderDestino {
    background-color: var(--background-selected);
}

.no-transition {
    transition: none !important;
    animation: none !important;
}

.titleNavegador {
    position: absolute;
    left: calc(50% - 34px);
    cursor: move;
}

.ui-resizable-s {
    cursor: s-resize;
    height: 7px;
    width: 100%;
    bottom: -5px;
    left: 0;
}

.ui-resizable-e {
    cursor: e-resize;
    width: 7px;
    right: -5px;
    top: 0;
    height: 100%;
}

.ui-resizable-se {
    cursor: se-resize;
    width: 12px;
    height: 12px;
    right: 1px;
    bottom: 1px;
}

.ui-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    display: block;
    -ms-touch-action: none;
    touch-action: none;
}

.btns-flotante {
    padding: 1rem 1rem;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 99;
}

.btns-flotante .addMegaBloque {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    border-radius: 2rem;
    background-color: #00649f;
    cursor: pointer;
    transition: all 300ms ease 0ms;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    right: 6rem;
    position: fixed;
}

.btns-flotante .addBloque {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    border-radius: 2rem;
    background-color: #00649f;
    cursor: pointer;
    transition: all 300ms ease 0ms;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.btns-flotante .saveTodosBloques,
.btns-flotante .saveBloque {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    border-radius: 2rem;

    background-color: #009f42;
    cursor: pointer;
    transition: all 300ms ease 0ms;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

.btns-flotante .addBloque:hover {
    background-image: linear-gradient(to bottom, #0a7bc1, #00649f);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
    /*transform: translateY(-.3rem);*/
}

.btns-flotante .saveTodosBloques:hover {
    background-image: linear-gradient(to bottom, #05ca57, #009f42);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
    /*transform: translateY(-.3rem);*/
}

.cargando .spinner-grow {
    background-color: #00649f !important;
}

.cargando>div {
    color: #00649f !important;
}

/* ///Ventana Layout */

.ventanaLayout {
   /* position: absolute !important;*/
    top: 6rem;
    left: 18rem;
    z-index: 610;
    display: none;
    width: max-content;
    width:340px;
    /*--switch-color:#d8001a;*/
    --switch-color: #2196F3;
    --switch-height: .875rem;
    --switch-width: 2rem;
    --img-radio-hover-color: #ccc;
    --bs-btn-active-border-color: var(--switch-color);
    /*--img-radio-hover-color: #2196f3;*/
}

.ventanaLayout .card-header {
    cursor: move;
}

.ventanaLayout .fmimg-radio,
.ventanaLayout .img-radio {
    width: 4.5rem !important;
    height: 4.5rem !important;
    position: relative;
    background-color: #f8f8f8 !important;
    /* border: 1px solid #ccc; */
    margin-right: 1rem;
    cursor: pointer;
    border-radius: .25rem !important;
}

.ventanaLayout .img-check  {
    width: 1.5rem !important;
    height: 1.5rem !important;
    position: relative;
    background-color: #f8f8f8 !important;
    /* border: 1px solid #ccc; */
    margin-right: 1rem;
    cursor: pointer;
    border-radius: .25rem !important;
}

.ventanaLayout .img-radio:last-child {
    margin-right: 0;
}

.ventanaLayout .fmimg-radio:hover,
.ventanaLayout .img-radio:hover,
.ventanaLayout .img-check:hover {
    border: 1px solid #cccccc !important;
}

.ventanaLayout .btn-check:checked+.btn:hover {
    border: 1px solid var(--bs-btn-active-border-color) !important;
}

.ventanaLayout .fmimg-radio:before,
.ventanaLayout .img-radio:before,
.ventanaLayout .img-check:before {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    content: "";
}

.ventanaLayout .fmimg-radio span,
.ventanaLayout .img-radio span {
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    display: none;
    width: calc(100% - 1rem);
    margin-left: 0.5rem;
    border: 1px solid whitesmoke;
    background-color: #fff;
}

.ventanaLayout .btn-check,
.ventanaLayout .btn-check-color {
    display: none;
}

.ventanaLayout .col-left {
    width: 5rem !important;
}

.entradillaTag {
    position: relative;
    top: -.5rem;
}

.ventanaLayout .square:before {
    background-image: url(../images/squ.png);
}

.ventanaLayout .rect:before {
    background-image: url(../images/rect.png);
}

.ventanaLayout .rect2:before {
    background-image: url(../images/rect2.png);
}

.ventanaLayout .img-top:before {
    background-image: url(../images/img-top.png);
}

.ventanaLayout .img-bottom:before {
    background-image: url(../images/img-bottom.png);
}

.ventanaLayout .img-left:before {
    background-image: url(../images/img-left.png);
}

.ventanaLayout .img-right:before {
    background-image: url(../images/img-right.png);
}

.ventanaLayout .img-inside:before {
    background-image: url(../images/img-inside.png);
}

.ventanaLayout .img-none:before {
    background-image: url(../images/img-none.png);
}

.ventanaLayout .img-border{
    height:1rem;
}

.ventanaLayout .img-border-top:before {
    background-image: url(../images/img-border-top.png);
}

.ventanaLayout .img-border-right:before {
    background-image: url(../images/img-border-right.png);
}

.ventanaLayout .img-border-bottom:before {
    background-image: url(../images/img-border-bottom.png);
}

.ventanaLayout .img-border-left:before {
    background-image: url(../images/img-border-left.png);
}

.ventanaLayout .btn.teaser-color-1 {
    background-color: unset !important;
}

.ventanaLayout .btn.teaser-color-2 {
    background-color: #09347f !important;
}

.ventanaLayout .btn.teaser-color-3 {
    background-color: #a3d3ed !important;
}

.ventanaLayout .btn.teaser-color-4 {
    background-color: #171717 !important;
}

.ventanaLayout .chgcolor {
    position: relative;
    top: 0.4rem;
}

.ventanaLayout .chgcolor .btn {
    margin-left: 0.1rem !important;
    margin-right: 0.1rem !important;
    border-radius: 0 !important;
    border: 1px solid #000;
    height: 1.3rem;
}

.ventanaLayout .switch {
    position: relative;
    display: inline-block;
    width: var(--switch-width);
    height: var(--switch-height);
    margin-top: 0.4rem;
    top: 0.2rem;
    left: -0.2rem;
}

.ventanaLayout .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ventanaLayout .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.ventanaLayout .slider:before {
    position: absolute;
    content: "";
    height: calc(var(--switch-height) - 2px);
    width: calc(var(--switch-height) - 2px);
    left: 1px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.ventanaLayout input:checked+.slider {
    background-color: var(--switch-color);
}

.ventanaLayout input:focus+.slider {
    box-shadow: 0 0 1px var(--switch-color);
}

.ventanaLayout input:checked+.slider:before {
    -webkit-transform: translateX(calc(var(--switch-width) - var(--switch-height)));
    -ms-transform: translateX(calc(var(--switch-width) - var(--switch-height)));
    transform: translateX(calc(var(--switch-width) - var(--switch-height)));
}


.ventanaLayout .slider.round {
    border-radius: var(--switch-height);
}

.ventanaLayout .slider.round:before {
    border-radius: 50%;
}

.closeVL {
    position: absolute;
    right: 0.3rem;
    top: 0.1rem;
}