@media (orientation:landscape) {

    .landscape-hidden {
        visibility: hidden !important;
        display: none !important;
    }

    /* Modal Content */
    .modal-content {
        position: relative;
        background-color: var(--gris);
        margin: auto;
        padding: 0;
        border: 1px solid #888;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        animation-name: animatetop;
        animation-duration: 0.4s;
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        scale: 1;
        height: 100%;
    }

    /* Modal Footer */
    .modal-footer {
        background-color: var(--azul);
        color: white;
        width: 100%;
        height: 10%;
    }

    /* Modal Body */
    .modal-body {
        width: 100%;
        height: 75%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
        overflow: hidden;
    }

    .modal-footer {
        height: 100%;
        width: 10%;
        background: white;
    }

    .modal-content-index {
        display: flex;
        flex-flow: column;
        border: 0px none;
    }

    .config-oceanograma {
        width: auto;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
    }

    .seccion-config {
        width: 100%;
        height: auto;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
    }

    p.webapp-select.select-input {
        padding-left: 2rem;
    }

    .version-select {
        display: flex;
        max-height: 100%;
        height: 100%;
        width: 100%;
    }

    .version-item {
        max-height: 100%;
        display: flex;
        width: 50%;
        max-width: 50%;
        justify-content: center;
    }

    .selector-version-wrapper {
        max-height: 100%;
        height: 100%;
        width: 100%;
    }

    .modal-body-index {
        height: 85%;
        width: 100%;
    }

    .modal-footer-index {
        height: 10%;
        width: auto;
        background: white;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .h2Modal {
        display: flex;
        width: 100%;
        justify-content: flex-start;
    }

    .volverModal {
        align-self: baseline;
        text-align: start;
        width: 35%;
        padding: 0 5%;
    }

    .volverModal a {
        color: white;
    }

    .tituloModalEstaciones {
        align-self: center;
        width: 60%;
        text-align: start;
    }

    #logo_hm {
        display: flex;
    }

    .modal-logo-container {
        display: flex;
        justify-content: center;
    }

    #logo2 {
        display: none;
    }

    .topbar-portrait {
        display: none;
    }

    .topbar-landscape {
        display: flex;
    }

    /*    .s1-columna{
        min-width: 20%;
        max-width: 20%;
        align-self: flex-start;
    }

    .s1-columna-odd{
        align-self: flex-end;
    }
*/

    .icoModuloLink {
        width: 33%;
        height: auto;
        display: flex;
    }

    .icoModulo {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }



    .s-ultimo-dato {
        background-color: var(--azul);
        -webkit-mask-image: url(svg/00_sidebar/ultimo_dato_x.svg);
        mask-image: url(svg/00_sidebar/ultimo_dato_x.svg);
    }

    .s-ultimo-dato:hover {
        background-color: var(--verde);
        -webkit-mask-image: url(svg/00_sidebar/ultimo_dato_x.svg);
        mask-image: url(svg/00_sidebar/ultimo_dato_x.svg);
    }

    .s-monitoreo {
        background-color: var(--azul);
        -webkit-mask-image: url(svg/00_sidebar/monitoreo_x.svg);
        mask-image: url(svg/00_sidebar/monitoreo_x.svg);
    }

    .s-monitoreo:hover {
        background-color: var(--verde);
        -webkit-mask-image: url(svg/00_sidebar/monitoreo_x.svg);
        mask-image: url(svg/00_sidebar/monitoreo_x.svg);
    }

    .s-pronostico {
        background-color: var(--azul);
        -webkit-mask-image: url(svg/00_sidebar/pronostico_x.svg);
        mask-image: url(svg/00_sidebar/pronostico_x.svg);
    }

    .s-pronostico:hover {
        background-color: var(--verde);
        -webkit-mask-image: url(svg/00_sidebar/pronostico_x.svg);
        mask-image: url(svg/00_sidebar/pronostico_x.svg);
    }


    .aviso-root {
        width: 0px !important;
        height: 0px !important;
        display: none !important;
        z-index: -9999 !important;
    }

    * {
        transition: 0.1s;
        -webkit-font-smoothing: antialiased;
    }

    .root {
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        min-height: 100%;
        height: 100%;
        max-height: 100%;
    }

    .clickeado {
        background: var(--verde);
    }


    /**lv 1 */
    .portrait {
        display: none;
        height: 1px;
        width: 1px;
    }



    .titulo {
        display: inline;
        flex-flow: row nowrap;
        margin: 0;
    }

    .mg-auto-y {
        margin: 0;
    }

    img.mg-auto-y {
        height: auto;
        width: 100%;
    }

    .mg-auto-x {
        margin: 0 auto;
    }

    .topbar-landscape {
        height: 20%;
        width: 100%;
        font-size: clamp(1rem, 1.5rem, 4vw);
        font-family: 'OpenSans';
        flex-flow: row nowrap;
        align-items: center;
        position: absolute;
        top: 0;
    }

    .sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 10%;
        height: 80%;
        position: absolute;
        top: 20%;
        left: 0;
        padding-left: 2%;
    }

    .select-caletas {
        height: 5%;
        width: 100%;
        position: absolute;
        top: 20%;
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
    }

    .seccion {
        height: 75%;
        width: 88%;
        position: absolute;
        bottom: 0;
        right: 0;
        flex-direction: row;
        display: flex;
        padding-bottom: 1%;
    }

    .seccion-oculta {
        display: none !important;
    }

    .seccion-main-activa,
    .flex-me {
        display: flex !important;
    }

    .unidad {
        font-size: clamp(35%, 2vw, 32px);
        margin-right: auto;
        margin-left: 2%;
        font-weight: bold;
        color: var(--azul);
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: center;
    }

    /**lv 2 */

    .desc-seccion {
        display: flex;
        flex-flow: column nowrap;
        width: auto;
        flex: 1 1 100px;
        height: 100%;
        justify-content: space-evenly;
        align-items: center;
        /* flex-end para pronostico viento gif*/
    }

    .selector-comuna-wrapper {
        display: flex;
        flex-flow: column;
        align-items: flex-start;
        justify-content: flex-start;
        max-height: 100%;
    }

    .selector-estacion-wrapper {
        width: 100%;
    }

    .titulo-seccion {
        /* font-size: clamp(90%,5vw,22px); */
        font-size: 1.325rem;
        font-weight: 700;
        color: var(--azul);
        align-self: center;
        height: auto;
        text-align: center;
    }

    .subtitulo-seccion {
        font-size: 1.25rem;
        /* align-self: center; */
        text-align: center;
        height: auto;
        display: flex;
        justify-content: center;
    }

    .ultimodato-subtitulo-seccion {
        font-size: 1rem;
        height: 30%;
        text-align: center;
    }

    #titulo-comuna {
        font-weight: bold;
    }

    /** SELECT DE COMUNAS*/

    .select-comuna {
        appearance: none;
        color: white;
        font-size: 1rem;
        color: black;
        background-color: white;
        margin: 1rem;
        border-radius: 1rem;
        padding: 0.1rem;
        padding-left: 1rem;
    }

    .select-comuna:checked {
        appearance: none;
        color: white;
        background: var(--azul);
        font-size: 3vw;
    }

    .select-comuna option:hover {
        /* color: red; */
        background: var(--verde);
    }

    .menu-el {
        position: relative;
        max-width: 100%;
        width: 100%;
        height: 90%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-flow: column nowrap;
        gap: 5px;
        justify-content: center;
        align-items: center;
    }

    .menu-item {
        width: 100%;
        max-height: 30%;
    }


    .geo-div {
        width: auto;
        height: 100%;
        display: flex;
        flex-flow: row nowrap;
        flex: 0 1 140px;
        justify-content: space-evenly;
        align-items: center;
        gap: 0px;
    }

    .logo-ceaza {
        align-items: center;
        align-self: center;
        display: flex;
        flex-flow: wrap-reverse;
        height: 100%;
        justify-content: center;
        width: auto;
        flex: 0 1 200px;
        padding-left: 2%;
    }

    #full-screen {
        max-width: 30%;
    }

    /**lv 3 */
    .logo {
        height: auto;
        align-self: baseline;
        width: 100%;
        align-self: center;
    }

    .logo-link {
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .img-seccion {
        position: relative;
        height: 100%;
        width: 100%;
        align-self: center;
        transition: 0.1s;
        background: var(--azul);
    }

    .img-seccion-on {
        background: var(--verde);
    }

    .img-seccion:hover {
        background: var(--verde);
    }

    .select_comuna {
        font-size: 2vw;
    }

    select.select_comuna option:hover {
        color: var(--gris);
        background-color: var(--azul);
        box-shadow: 0 0 10px 100px #1882A8 inset;
    }

    .item-select {
        font-size: 3vw;
        color: var(--gris);
        background-color: var(--verde);
    }

    .img-activa {
        background-color: var(--verde);
        transition: 0.1s;
    }

    .sub-menu {
        height: 100%;
        min-width: 10%;
        width: 10%;
        max-width: 10%;
        flex-direction: column;
        background: var(--gris);
        flex: 1 1 100px;
    }

    .iconos-dashboard {
        height: 60%;
        width: 100%;
        flex-flow: row nowrap;
        background: var(--gris);
    }

    .iconos-dashboard>img {
        width: auto;
        height: 100%;
    }

    .sub-img {
        max-width: 100%;
        max-height: 100%;
        background: var(--azul);
        transition: 0.1s;
    }

    .offline {
        opacity: 0.4;
    }

    .loading-gif {
        max-width: 100%;
        width: 50px;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-self: flex-start;
    }

    /**seccion ultimo dato */
    .s1 {
        flex-flow: row nowrap;
    }

    .mod-s1 {
        display: flex;
        flex-flow: row nowrap;
        align-content: center;
        justify-content: left;
    }

    .mod-s1.sub-menu {
        flex-flow: row nowrap;

    }

    .mod-s1.sub-menu:first-child {
        margin-top: 0;
    }

    .s1-contenido {
        background-color: var(--gris);
        display: flex;
        flex-flow: row nowrap;
        align-content: center;
        height: 40%;
        width: 100%;
    }

    .mod-s1 p {
        height: 25%;
        max-height: 25%;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: last baseline;
        justify-content: center;
        font-size: clamp(100%, 5vw, 90px);
        font-family: 'OpenSans';
        margin: 0 auto;
    }

    .mod-s1.sub-img {
        height: auto;
        width: 100%;
        align-self: center;
    }

    .dato {
        font-weight: 600;
    }

    .s1-img {
        background: none;
        height: 80%;
        width: 100%;
        display: flex;
        margin-top: auto;
    }

    .s1-img img {
        width: 100%;
        margin: 0;
    }

    /** seccion monitoreo */

    #btn_monitoreo {
        margin: auto 0;
    }

    .mod-s2,
    .mod-s3 {
        height: 100%;
        display: flex;
        align-content: center;
        justify-content: flex-start;
        overflow: hidden scroll;
    }

    .mod-s2.sub-menu {
        overflow: hidden scroll;
    }


    .s2-contenido {
        background-color: var(--gris);
        flex-flow: column nowrap;
        align-items: center;
        justify-content: center;
        width: 90%;
        max-width: 90%;
    }

    .pop-grafico {
        height: 100%;
        width: 100%;
        max-height: 100%;
        max-width: 100%;
        align-self: baseline;
    }


    .s2-img {
        background: var(--gris);
        max-height: 20%;
        width: 90%;
        max-width: 90%;
        border-radius: 50%;
        margin-top: 5%;
        align-self: center;
    }

    .ico-monitor {
        border-radius: 50%;
    }

    .sub-img.s2-img img {
        max-width: 100%;
        max-height: 95%;
        padding: 0;
        width: 100%;
    }

    /** seccion pronostico */

    .s3.tiempo {
        margin-top: auto;
    }

    .s3-link {
        background: var(--gris);
        /* max-height: 20%;
        width: 90%;
        max-width: 90%; */
        border-radius: 50%;
        display: flex;
        height: auto;
        width: 100%;
        /* align-self: center;
        align-items: center;
        justify-content: center; */
    }

    .ico-pronostico {
        border-radius: 50%;
        height: auto;
        max-height: 20%;
        width: 90%;
        max-width: 90%;
        margin-top: 5%;
    }

    #btnVientoFull {
        margin: 0;
    }

    .sub-img.s3-link img {
        max-width: 100%;
        max-height: 95%;
        padding: 0;
        align-self: center;
    }

    /* .s3-link:first-child{
        margin-top: auto;
    } */

    .s3-contenido {
        background-color: var(--gris);
        justify-content: center;
        width: 90%;
        max-width: 90%;
        height: 100%;
        max-height: 100%;
        display: flex;
        flex-flow: column wrap;
    }

    .s3-contenido .widget-tiempo {
        height: 90%;
        width: 90%;
        align-self: center;
    }

    .s3-contenido .widget-viento {
        height: 90%;
        width: 100%;
        overflow: hidden hidden;
    }

    .frame-modal-widget-viento {
        height: 100%;
        width: 100%;
    }

    .s3-contenido .widget-tsm {
        max-height: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .s3-contenido .widget-viento-gif,
    .widget-tsm-gif {
        max-height: 90%;
        max-width: 90%;
        margin: 0 auto;
        /* margin: 0 auto; */
        height: 100%;
        width: auto;
        align-self: center;
    }

    .oce-header {
        height: 100%;
        position: relative;
        width: 25%;
    }

    .oce-wrapper {
        display: inline-block;
        white-space: nowrap;
        height: 100%;
        overflow-x: scroll;
        overflow-y: hidden;
        width: 100%;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .oce-img {
        min-width: 10108px;
        height: 100%;
    }

    .oce {
        margin-right: auto;
        min-width: 4800px;
        object-fit: cover;
        object-position: -100px 0px;
        width: 10323px;
    }

    .d-flex-col {
        max-height: 100%;
        max-width: 100%;
        display: flex;
        flex-flow: column nowrap;
    }

    .gifs_tsm {
        display: none;
    }

    /* The Modal (background) */
    .modal {
        display: none;
        /* Hidden by default */
        position: fixed;
        /* Stay in place */
        z-index: 1;
        /* Sit on top */
        left: 0;
        top: 0;
        width: 100%;
        /* Full width */
        height: 100%;
        /* Full height */
        overflow: auto;
        /* Enable scroll if needed */
        background-color: rgb(0, 0, 0);
        /* Fallback color */
        background-color: rgba(0, 0, 0, 0.4);
        /* Black w/ opacity */
    }

    .webapp-select {
        display: flex;
        flex-flow: row wrap;
        width: 100%;
        min-width: 100%;
        justify-content: flex-start;
        padding-left: 1rem;
    }

    .webapp-select>select {
        font-size: 0.6rem;
    }

    /* The Close Button */
    .close {
        font-weight: bold;
        width: auto;
        align-self: center;
        width: auto;
        height: 3rem;
    }

    .close-tierra {
        font-size: 100%;
        font-weight: bold;
        width: 20%;
        align-self: center;
        min-height: 30%;
        height: 30%;
        max-height: 30%;
    }

    .close_viento {
        font-size: clamp(4vw, 100%, 5vw);
        font-weight: bold;
        width: 5%;
        align-self: center;
        color: var(--gris);
        background: var(--azul);
        min-height: 20%;
    }

    .close_viento:hover {
        cursor: pointer;
    }

    .closeVientoFull:hover {
        cursor: pointer;
    }

    /* Modal Header */
    .modal-header {
        background-color: var(--azul);
        color: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0%;
        width: 100%;
        height: 15%;
    }

    .modal-header-wv {
        height: 10%;
    }

    .label_estaciones {
        font-size: 0.7rem;
        color: white;
        font-weight: 700;
    }


    #myBtn {
        font-size: 5vw;
    }

    #btnAyudaViento {
        border: 0px none;
        height: auto;
        width: 60%;
    }

    .modal-mod-header {
        min-width: 100%;
        min-height: 20%;
        height: 20%;
        max-height: 20%;
        margin: 0;
        padding: 0;

    }

    .modal-mod-body {
        min-width: 100%;
        min-height: 80%;
        height: 80%;
        max-height: 80%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
        justify-content: center;
    }

    .modal-content-tierra {
        background-color: var(--verde);
    }

    .modal-content-mar {
        background-color: var(--azul);
        width: auto;
        height: auto;
        padding: 5%;
        border-radius: 25px;
    }

    .modal-content-tierra>* {
        scale: 1;
        max-height: 100%;
        height: 100%;
    }

    .modal-content-mar>* {
        scale: 1;
        max-height: 100%;
        height: 100%;
    }


    .modal-logo-container {
        width: 100%;
        height: 15%;
    }

    .modal-logo-container>svg {
        min-height: 0;
        max-height: 100%;
        max-width: 100%;
    }

    .modal-content-wv {
        width: 100%;
        height: 100%;

    }

    .swiper {
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: var(--gris);

        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }

    .swiper-slide img {
        display: block;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }

    /* Add Animation */
    @keyframes animatetop {
        from {
            top: -300px;
            opacity: 0
        }

        to {
            top: 0;
            opacity: 1
        }
    }

    .modal {
        overflow: hidden;
        width: 100%;
        height: 100%;
    }

    img {
        max-height: 100%;
        max-width: 100%;
    }

    .version-item>img {
        height: 100%;
        width: 100%;
    }

    .version-select {
        flex-direction: row;
        justify-content: center;
    }


    .override-overflow {
        overflow: scroll;
    }

    .oce-overflow {
        overflow: scroll;
        flex-flow: row nowrap;
        width: 0;
        flex: 1 1 100%;
    }

    .hidden-sidebar-option {
        display: none;
    }

    .hidden {
        display: none;
    }

    #id-s3>.d-flex-col {
        /*     height: auto;
    width: 50%; */
        height: 100%;
        width: auto;
    }

    .widget-oceano {
        height: 100%;
        width: 100%;
        margin: 0;
    }


    .modal-body-wv {
        height: 90%;
    }

    @media screen and (max-width: 1300.01px) {
        .oce-img {
            min-width: 10100px;
        }
    }

    @media screen and (min-width: 1301px) {
        .oce-img {
            min-width: 15200px;
        }
    }

    @media screen and (max-width: 960px) {
        .oce-img {
            min-width: 6100px;
        }
    }

    @media screen and (max-width: 900px) {
        .oce-img {
            min-width: 5000px;
        }
    }

    @media screen and (max-width: 850px) {
        .oce-img {
            min-width: 5300px;
        }
    }

    @media screen and (max-width: 800px) {
        .oce-img {
            min-width: 5050px;
        }
    }

    @media screen and (max-width: 700px) {
        .oce-img {
            min-width: 5300px;
        }
    }

    .s1-marquee {
        height: 90%;
        border-radius: 30px;
    }

    .s1-columna {
        height: 90%;
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
        justify-content: center;
        width: 45%;
        min-width: 45%;
    }

    .iconos-dashboard {
        height: 100%;
        width: auto;
    }

    .s1-contenido {
        height: 100%;
        width: 80%;
    }

    .mod-s1 p {
        height: 100%;
        max-height: 100%;
        align-items: center;
        justify-content: flex-start;
    }

    .s1-fila {
        width: 100%;
        height: 25%;
        display: flex;
        flex-flow: row nowrap;
        gap: 20px;
    }

    .s1 {
        align-items: center;
        justify-content: space-around;
    }

    .nom-udato {
        font-size: clamp(35%, 2vw, 32px);
        align-self: center;
        font-weight: normal;
        margin-right: 2%;
        color: var(--azul);
    }

    .marquee-ico {
        width: 60%;
        height: 60%;
    }

    .marquee-ico img {
        height: 100%;
        width: 100%;
    }

    .s1-marquee {
        width: 100%;
        height: 100%;
        background: var(--verde);
        border-radius: 30px;
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
        justify-content: space-evenly;
    }

    .s1-marquee>p {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
    }

    .dato-marquee {
        color: white;
        font-size: clamp(6vw, 7vw, 9.5vw);
    }

    .unidad-marquee {
        color: white;
        font-size: clamp(2vw, 4vw, 7vw);
    }

    .ahora-marquee {
        color: white;
        font-size: clamp(4vw, 5vw, 7.5vw);
    }

    .widget-oce {

        height: 90%;
        width: 100%;
    }

    .s3-contenido {
        height: 100%;
        width: 90%;
        display: flex;
        flex-flow: column nowrap;
        justify-content: space-around;
    }

    .sidebar-inner-container {
        height: 100%;
        width: 100%;
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
        justify-content: center;
    }

    .btnEstaciones {
        max-width: 25%;
        width: 25%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .geodiv-link-img {
        width: 100%;
        height: auto;
    }

    .modal-head-index {
        height: 5%;
    }

    #modalSelectVersion {
        height: 100%;
    }

    .p-contenido {
        height: 10%;
        width: 100%;
    }

    .btnEstaciones-25 {
        max-width: 25%;
        align-self: center;
        justify-content: center;
        align-items: center;
        display: flex;
    }


    .acercaDe_links {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: space-around;
        width: 100%;
    }


    .acercaDe {
        width: 100%;
        height: 15%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        position: absolute;
        top: 75%;
    }

    .about-header {
        width: 100%;
        height: 15%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    @media (min-height: 600px) {
        .geo-div {
            flex: 0 1 250px;
        }

        .logo-ceaza {
            flex: 0 1 300px;
        }
    }

    .actualizar {
        width: 40%;
        justify-content: flex-start;
    }

    .btn-actualizar {
        width: 20%;
    }

    .modal-img-aceptar {
        width: 100%;
        height: 20%;
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
    }

}