.hidden {
    display: none !important;
}

a {
    color: #d72a1d;
}


.overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: none;
    height: 100%;
}

.centering {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    height: calc(100% - 10vh);
}

.gradient-box {
    display: flex;
    align-items: center;
    /*width: 65vw;*/
    width: calc(65vw - 100px);
    margin: auto;
    /* margin-top:10.5em; */
    max-width: fit-content;
    position: relative;
    padding: 2vh 5vw;
    /*box-sizing: border-box;*/
    box-sizing: content-box;
    color: #FFF;
    background: rgb(0, 0, 0, 0.7);
    background-clip: padding-box;
    /* !importanté */
    border: solid 1px transparent;
    /* !importanté */
    /* border-radius: 1em; */
    border-radius: 10px;
    /* min-width: 650px; */
    /*min-width: fit-content;*/
    /* padding: 30px 50px; */
    padding-top: 70px !important;
}

#modalHotspotInnerDivContent {
    display: flex;
    flex-direction: column;
    /* text-align: center; */
    width: 100%;
    /* max-height: 90vh; */
    justify-content: space-between;
    /* align-items: center; */
}

#closeIcon img {
    position: absolute;
    top: 15px;
    right: 15px;
    transform: scale(0.9);
}

#closeIcon img:hover {
    position: absolute;
    top: 15px;
    right: 15px;
    transform: scale(1.2);
}

#closeIcon:hover {
    cursor: pointer;
}



#tlDiv {
    position: fixed;
    bottom: 0;
    /*left: 10vw;*/
    left: 200px;
    height: 10vh;
    /*width: 90vw;*/
    width: calc(100vw - 200px);
    background: white;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}
.mobile #tlDiv{
    height: 15vh;
}

#sliderDiv {
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;

    overflow-x: hidden;
    overflow-y: hidden;

    margin: 0 20px;

    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);

    position: relative;
}

.divHotspotTL {
    min-width: 300px;
    max-width: 300px;
    padding-left: 20px;
    padding-right: 10px;

    cursor: pointer;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
        /* justify-content: center; */
    justify-content: flex-start;
    align-items: flex-start;
    height: 10vh;


    box-sizing: border-box;

    transition: all 2s cubic-bezier(0, 0.88, 0.24, 0.99);

    transform: translateX(0px);
}

.divHotspotTL.transformAnimation {
    transform: translate(50vw) !important;
    opacity: 0;
}

#sliderDiv>div {
    color: black;
}

.arrowDiv {
    /* background-color: #d72a1d; */
    color: black;
    width: 50px;
    font-size: 30px;

    text-align: center;

    cursor: pointer;
    user-select: none;

    font-family: monospace;
    display: flex;
    justify-content: center;
    flex-direction: column;
}



#arrowUp {
    margin-top: 5px;
}
.mobile #arrowUp {
    display: none;
}

#arrowDown {
    margin-bottom: 5px;
}
.mobile #arrowDown {
    display: none;
}


#flechaDecadasArriba {
    transform: scale(1.5);
}

#flechaDecadasAbajo {
    transform: scale(1.5) rotate(180deg);
    margin-left: 20px;
}

#flechaDecadasLeft {
    transform: rotate(-90deg) scale(1.5);
}

#flechaDecadasRight {
    transform: rotate(90deg) scale(1.5) translateX(-5px);
    margin-left: 11px;
}

#arrowLeft {
    background: rgb(118, 23, 22);
    background: linear-gradient(90deg, rgba(118, 23, 22, 1) 0%, rgba(215, 42, 29, 1) 100%);
}

#arrowRight {
    background: rgb(118, 23, 22);
    background: linear-gradient(-90deg, rgba(118, 23, 22, 1) 0%, rgba(215, 42, 29, 1) 100%);
}


#tlDiv .arrowDiv {
    height: inherit;
}

.divHotspotTL.visitedTL {
    /* background-color: lightgray; */
    background-color: rgb(240, 239, 239);
    color: gray !important;
    border-top: 2px solid white;
}

.divHotspotTL.activeTL {
    border-top: solid 2px white;
    /* background-color: gray !important; */
    background: rgb(185, 185, 185);
    background: linear-gradient(180deg, rgba(185, 185, 185, 1) 0%, rgba(255, 255, 255, 1) 100%);
    color: black !important;
}


.disabledClicks {
    pointer-events: none !important;
    filter: blur(1px);
}

.politicalHs {
    background-image: url(../imgs/hotspot2x.png) !important;
}

.activeHS {
    /* background: url(../imgs/hotspot2x.png) !important; */
    /* background-size: contain !important; */
}

.visitedHS {
    opacity: 0.5 !important;
}





#tlReference {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 10vh;
    /*width: 10vw;*/
    width: 200px;
    /*min-height: 100px;*/
    /* min-width: 200px; */
    background: #480000;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    align-content: center;
}
.mobile #tlReference{
    height: 15vh;
}

#tlReference.changingDecade {
    opacity: 0.8;
    cursor: progress;
}

#tlReference.changingDecade * {
    pointer-events: none;
}

#sliderDecades {
    /* height: calc(10vh - 72px); */
    overflow: hidden;

    width: 100%;
    background-color: #480000;
    color: #d72a1d;
    font-weight: bold;

    display: flex;
    /* flex-direction: column; */
    flex-wrap: nowrap;
    /* justify-content: flex-end;  
    align-items: center;   */
    justify-content: center;
}

.divDecadeSlider {
    padding: 5px;
    line-height: calc(10vh - 72px);
    transition: transform 1s cubic-bezier(0, 0.88, 0.24, 0.99);
    cursor: pointer;
}

.divDecadeSlider.activeDecade {
    cursor: default;
}

.labelHSfade {
    transition: opacity 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.mobile .labelHSfade{
    display: none;
}



div#sliderDiv::before,
.divHotspotTL::before {
    font-size: 16px;
    font-family: MontserratBold;
    content: attr(data-before);
        /* position: absolute; */
    top: 15px;
    left: 20px;
    width: 1px;
    /* word-wrap: break-word; */
    text-align: center;
    line-height: calc(10vh / 5);
    /* top: 50%; */
        /* transform: translateY(-50%); */
    font-weight: bold;
    color: #d72a1d;
    /* font-size: 20px; */
    z-index: 1;
}

div#sliderDiv::before{
    position: absolute;
    top: 3px;
    display:none;
}
.divHotspotTL::before{
    margin-top: 4px;
}

.mobile div#sliderDiv::before,
.mobile .divHotspotTL::before {
    top: 50% !important;
}



div#sliderDiv[data-year]::before,
.divHotspotTL[data-year]::before {
    color: #cccccc;
}

.mobile #sliderDiv .nameTL {
    padding-left: 50px;
    font-size: 12px;
    line-height: 14px;
}

#sliderDiv .nameTL {
  
    font-size: 13px!important;
    line-height: 14px;
}

#krpanoSWFObject>div>div>canvas {
    transition: filter 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#krpanoSWFObject>div>div>canvas.modalOpenned {
    filter: blur(2px) contrast(0.8);
}


#krpanoInterface {
    width: 100vw;
    max-height: 90vh;
    position: fixed;
    top: 0;
}

#acercaZoomContainer {
    margin-left: auto;
    margin-right: 0;
    width: fit-content;
    margin-top: 20px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

#acercaZoomContainer>div {
    /*height: 30px;
    line-height: 30px;*/
    border-radius: 5px;
    margin-right: 20px;

    background-color: white;
    color: #858585;

    padding: 5px 10px;
    /* width: 20px;
    text-align: center;

    font-size: 30px;
    font-weight: bold; */

    cursor: pointer;
    user-select: none;
}

#acercaZoomContainer>div#acercaBtn {
    background-color: #d72a1d;
    color: white;
    font-family: BebasNeue;
    width: unset;
    font-size: 18px;
}

/* ============================================================================== */

/* ========= FONTS ============= */

@font-face {
    font-family: MontserratRegular;
    src: url(Montserrat-Regular.ttf);
}

@font-face {
    font-family: MontserratBold;
    src: url(Montserrat-Bold.ttf);
}

@font-face {
    font-family: BebasNeue;
    src: url(BebasNeue-Regular.ttf);
}

#zoomInBtn {
    margin-right: 4px !important;
    width: 8px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Capa_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none%3Bstroke:%2394938f%3Bstroke-miterlimit:10%3Bstroke-width:2px%3B%7D%3C/style%3E%3C/defs%3E%3Cline class='cls-1' x1='6' y1='14' x2='22' y2='14'/%3E%3Cline class='cls-1' x1='14' y1='6' x2='14' y2='22'/%3E%3C/svg%3E");
}

#zoomOutBtn {
    padding-left: 12px !important;
    width: 8px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Capa_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none%3Bstroke:%2394938f%3Bstroke-miterlimit:10%3Bstroke-width:2px%3B%7D%3C/style%3E%3C/defs%3E%3Cline class='cls-1' x1='6' y1='14' x2='22' y2='14'/%3E%3C/svg%3E");
}

#acercaZoomContainer div:hover {
    scale: 1.1
}


/*  ============================= ESTILOS DE LOS MODALES ========== */

#nameModal {
    margin-bottom: 16px;
    font-size: 17px;
    margin-bottom: 32px;
}

#yearModal {
    position: absolute;
    top: 30px;
    left: 0;
    width: 72px;
    color: white;
    background-color: #d72a1d;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

#contentModal {
    margin-top: 16px;
}

#linkModal {
    margin-top: 16px;
    margin-bottom: 32px;
}

#linkModal a {
    color: #d72a1d;
}

.activeDecade {
    color: white
}

svg#flechaDecadasArriba polygon:hover {
    fill: #d72a1d
}

svg#flechaDecadasAbajo polygon:hover {
    fill: #d72a1d
}

svg#flechaDecadasLeft polygon:hover {
    fill: #470907
}

svg#flechaDecadasRight polygon:hover {
    fill: #470907
}

#iframeModal {
    display: block;
    margin: auto;
}

.mobile #iframeModal {width:100%!important}

#modalImg {
    display: block;
    margin: auto;
    max-height: 40vh;
    min-height: 200px;
}
#divModal{
    overflow: auto;
}
.centering{
    overflow: auto;
}

#rotateDeviceWarning{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: #000000bb;
    z-index: 1000;
    top: 0;
    left: 0;
    text-align: center;
    padding: 10vw;
    box-sizing: border-box;
    font-size: 20px;
    line-height: 1.3em;
}