
/* For Mobile */
@media screen and (max-width: 540px) {

    html{
        height: 100%;
        min-height: 533px;
    }

    body {
        font-family: Arial, sans-serif;
        text-align: center;
        margin: 0px;
        padding: 0px;
        height: 100%;
        min-width: 300px;
        min-height: 533px;
    }
    #data {
        font-size: 2rem;
    }
    h1{
        margin:0px;
        padding:0px;
    }
    .loading-frame {
        position: fixed;
        top: 35%;
        left: 10%;
        width: 80%;
        height: 30%;
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
    }
    .loading-state {
        position: relative;
        width: 80%;
        height: 100%;
        max-height: 240px;
        max-width: 320px;
        background-color: rgb(199 196 196 / 73%);
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        border-radius: 10%;
    }
    .loading {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        border: 3px solid #556357;
        border-top-color: orange;
        animation: loading 1s linear infinite;
        visibility: hidden;
    }
    @keyframes loading {
        to {
            transform: rotate(360deg);
        }
    }
    .loader {
        width: 39px;
        height: 39px;
        border: 3px solid #556357;
        border-radius: 50%;
        display: inline-block;
        position: relative;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
    }
    .loader::after {
        content: '';  
        box-sizing: border-box;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 3px solid;
        border-color: #738a77 transparent;
    }

    @keyframes rotation {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    } 

    .imagenMuestra {
        margin-bottom: 10px;
        min-width: 150px;
        min-height: 20px;
        max-width: 180px;
        max-height: 180px;
        height: 40%;
        mask-image: url(mask2.png);
        mask-size: 100% 100%;
        mask-repeat: no-repeat;
        object-fit: cover;
    }

    .imagenMuestraIcon {
        margin-bottom: 10px;
        width: 100px;
        height: 100px;
        mask-image: url(mask2.png);
        mask-size: 100% 100%;
        mask-repeat: no-repeat;
    }

    .wp-login-logo{
        margin: auto;
        padding: 0px;
        height: 27%;
        min-height: 150px;
        min-width: 150px;
        aspect-ratio: 1;
        background-image: url("cabecera.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .onlineFrame{
        position: absolute;
        top: 0;
        right: 0;
        width:72px;
        height: 72px;
        background: white;
        border-radius: 36px;
        box-shadow: 0 26px 58px 0 rgba(0, 0, 0, .22), 0 5px 14px 0 rgba(0, 0, 0, .18);
        margin:10px;
    }

    .online{
        width:64px;
        height: 64px;
        margin:3px;
    }

    body.login {
        background-image: url("fondoverde.jpg");
        background-size: auto;
        background-repeat: repeat;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        display: block;
        align-content: center;
    }
        
    body.login div#login div#loginFront h1 a {
        
    }
    #login form#loginform, #login form#registerform, #login form#lostpasswordform, #login form#resetpassform {
        background-color: rgba(255,255,255,0.01);
        height: 60%;
        border-radius: 0px;
        box-shadow: 0 1px 0px rgba(10,0,0,0.01);
    } 

    div#login div#loginFront {
        width: 320px;
    }
    #login form#loginform .input, #login form#registerform .input, #login form#lostpasswordform .input, #login form#resetpassform .input {
        width: 100%;
        border-radius: 0px;
    }
    #login form#loginform label, #login form#registerform label, #login form#lostpasswordform label, #login form#resetpassform label {

    }
    #login form#loginform .forgetmenot label, #login form#registerform .forgetmenot label, #login form#lostpasswordform .forgetmenot label {

    }
    #login form .submit .button {
        height: auto;
        background-color: #424242;
        border-color: #0a0000;
        text-shadow: 0 -1px 1px #999999,1px 0 1px #999999,0 1px 1px #999999,-1px 0 1px #999999;}

    #login form .submit .button:hover, #login form .submit .button:focus {
        background-color: #4f4f4f;
        border-color: #0a0000;
    }
    div#login{
        display: block;
        background-image: url(fondobeige.jpg);
        height: 90%;
        width: 85%;
        margin-left: auto;
        margin-bottom: auto;
        margin-right: auto;
        margin-top: auto;
        text-align: center;
        padding: 0 0 0;
        max-width: 480px;
        min-width: 200px;
        max-height: 1080px;
        min-height: 480px;
        background-size: contain!important;
        box-shadow: 0 26px 58px 0 rgba(0, 0, 0, .22), 0 5px 14px 0 rgba(0, 0, 0, .18);
    }

    form#loginform{
        margin-top: 16px;
        padding: 0 0 0 0;
        background-color: rgb(255,255,255,0);
        border-bottom: 0px;
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
        width: 90%;
        height: 100%;
        display: inline-block;
        position: relative;
        z-index: 1;
    }

    form#loginformCode{
        margin-top: 16px;
        padding: 0 0 0 0;
        background-color: rgb(255,255,255,0);
        border-bottom: 0px;
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
        width: 100%;
        height: 10%;
        display: inline-block;
        position: relative;
        z-index: 1;
    }

    .pie{
        display: block;
        height: 0%;
        width: 85%;
        margin-left: auto;
        margin-bottom: auto;
        margin-right: auto;
        margin-top: auto;
        text-align: center;
        padding: 0 0 0;
        max-width: 480px;
        min-width: 200px;

    }

    div.qr{
        width:100%; 
        height:30%; 
        min-width:160px; 
        min-height: 160px;
        max-width:480px; 
        max-height: 480px;
        text-align: center;
        margin: auto;
        background-image: url("qrweb.png");
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

    img.qr{
        width:100%; 
        height:100%; 
        min-width:160px; 
        min-height: 160px;
        max-width:480px; 
        max-height: 480px;
        margin: auto;
    }

    .loginFrame{
        height: 100%;
        width: 100%;
        background-image: url(pie.png);
        background-size: contain;
        background-position: bottom center;
        background-repeat: no-repeat;
    }

    .customize-control-o2-range-slider .customize-control-title {
        margin-bottom: 10px;
    }

    .customize-control-o2-range-slider .o2-range-slider input[type='range'] {
        margin-bottom: 14px;
    }

    .customize-control-o2-range-slider input[type=radio]:checked.o2-range-slider-buttonset + label {
        transform: translateY(0);
    }

    /* temporarily added for WordPress 6.7  */
    body.login div#login div#loginFront h1 a  {
        background-repeat: no-repeat;
        background-position: center;
        text-indent: 100%;
        display: block;
        overflow: hidden;
        white-space: nowrap;
        margin-inline: auto;
    }

    h1{
        font-size: 2rem;
    }
}

/* For Tablets */
@media screen and (min-width: 540px) {

    html{
        height: 100%;
        min-height: 888px;
    }

    body {
        font-family: Arial, sans-serif;
        text-align: center;
        margin: 0px;
        padding: 0px;
        height: 100%;
        min-width: 350px;
        min-height: 888px;
    }
    #data {
        font-size: 5rem;
    }
    h1{
        margin:0px;
        padding:0px;
    }
    .loading-frame {
        position: fixed;
        top: 35%;
        left: 10%;
        width: 80%;
        height: 30%;
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
    }
    .loading-state {
        position: relative;
        width: 80%;
        height: 100%;
        max-height: 240px;
        max-width: 320px;
        background-color: rgb(199 196 196 / 73%);
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        border-radius: 10%;
    }
    .loading {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 3px solid #556357;
        border-top-color: orange;
        animation: loading 1s linear infinite;
        visibility: hidden;
    }
    @keyframes loading {
        to {
            transform: rotate(360deg);
        }
    }
    .loader {
        width: 48px;
        height: 48px;
        border: 3px solid #556357;
        border-radius: 50%;
        display: inline-block;
        position: relative;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
    }
    .loader::after {
        content: '';  
        box-sizing: border-box;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 3px solid;
        border-color: #738a77 transparent;
    }

    @keyframes rotation {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    } 

    .imagenMuestra {
        margin: 10px;
        min-width: 150px;
        min-height: 100px;
        max-width: 450px;
        max-height: 400px;
        height: 50%;
        mask-image: url(mask2.png);
        mask-size: 100% 100%;
        mask-repeat: no-repeat;
        object-fit: cover;
    }

    .imagenMuestraIcon {
        margin: 10px;
        width:150px;
        height:150px;
        mask-image: url(mask2.png);
        mask-size: 100% 100%;
        mask-repeat: no-repeat;
    }

    .wp-login-logo{
        margin: auto;
        padding: 0px;
        height: 27%;
        min-height: 260px;
        min-width: 260px;
        aspect-ratio: 1;
        background-image: url("cabecera.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .onlineFrame{
        position: absolute;
        top: 0;
        right: 0;
        width:72px;
        height: 72px;
        background: white;
        border-radius: 36px;
        box-shadow: 0 26px 58px 0 rgba(0, 0, 0, .22), 0 5px 14px 0 rgba(0, 0, 0, .18);
        margin:10px;
    }

    .online{
        width:64px;
        height: 64px;
        margin:3px;
    }

    body.login {
        background-image: url("fondoverde.jpg");
        background-size: cover;
        background-repeat: repeat;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        display: block;
        align-content: center;
    }
        
    body.login div#login div#loginFront h1 a {
        
    }
    #login form#loginform, #login form#registerform, #login form#lostpasswordform, #login form#resetpassform {
        background-color: rgba(255,255,255,0.01);
        height: 60%;
        border-radius: 0px;
        box-shadow: 0 1px 0px rgba(10,0,0,0.01);
    }
    div#login div#loginFront {
        width: 320px;
    }

    #login form#loginform .input, #login form#registerform .input, #login form#lostpasswordform .input, #login form#resetpassform .input {
        width: 100%;
        border-radius: 0px;
    }
    #login form#loginform label, #login form#registerform label, #login form#lostpasswordform label, #login form#resetpassform label {

    }
    #login form#loginform .forgetmenot label, #login form#registerform .forgetmenot label, #login form#lostpasswordform .forgetmenot label {

    }
    #login form .submit .button {
        height: auto;
        background-color: #424242;
        border-color: #0a0000;
        text-shadow: 0 -1px 1px #999999,1px 0 1px #999999,0 1px 1px #999999,-1px 0 1px #999999;}

    #login form .submit .button:hover, #login form .submit .button:focus {
        background-color: #4f4f4f;
        border-color: #0a0000;
    }


    div#loginFront{
        display: block;
        background-image: url(fondobeige.jpg);
        height: 90%;
        width: 85%;
        margin-left: auto;
        margin-bottom: auto;
        margin-right: auto;
        margin-top: auto;
        text-align: center;
        padding: 0 0 0;
        max-width: 1280px;
        min-width: 297px;
        max-height: 1440px;
        min-height: 297px;
        background-size: contain!important;
        box-shadow: 0 26px 58px 0 rgba(0, 0, 0, .22), 0 5px 14px 0 rgba(0, 0, 0, .18);
    }

    div#login{
        display: block;
        background-image: url(fondobeige.jpg);
        height: 90%;
        width: 85%;
        margin-left: auto;
        margin-bottom: auto;
        margin-right: auto;
        margin-top: auto;
        text-align: center;
        padding: 0 0 0;
        max-width: 1280px;
        min-width: 297px;
        max-height: 2276px;
        min-height: 800px;
        background-size: contain!important;
        box-shadow: 0 26px 58px 0 rgba(0, 0, 0, .22), 0 5px 14px 0 rgba(0, 0, 0, .18);
    }

    form#loginform{
        margin-top: 20px;
        padding: 0 0 0 0;
        background-color: rgb(255,255,255,0);
        border-bottom: 0px;
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
        width: 90%;
        height: 100%;
        display: inline-block;
        position: relative;
        z-index: 1;
    }

    form#loginformCode{
        margin-top: 20px;
        padding: 0 0 0 0;
        background-color: rgb(255,255,255,0);
        border-bottom: 0px;
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
        width: 90%;
        height: 10%;
        display: inline-block;
        position: relative;
        z-index: 1;
    }
    
    .pie{
        display: block;
        height: 0%;
        width: 85%;
        margin-left: auto;
        margin-bottom: auto;
        margin-right: auto;
        margin-top: auto;
        text-align: center;
        padding: 0 0 0;
        max-width: 1280px;
        min-width: 297px;

    }

    div.qr{
        width:100%; 
        height:30%; 
        min-width:260px; 
        min-height: 260px;
        max-width:540px; 
        max-height: 540px;
        text-align: center;
        margin: auto;
        background-image: url("qrweb.png");
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

    img.qr{
        width:100%; 
        height:100%; 
        min-width:260px; 
        min-height: 260px;
        max-width:540px; 
        max-height: 540px;
        margin: auto;
    }

    .loginFrame{
        height: 100%;
        width: 100%;
        background-image: url(pie.png);
        background-size: contain;
        background-position: bottom center;
        background-repeat: no-repeat;
    }

    .customize-control-o2-range-slider .customize-control-title {
        margin-bottom: 10px;
    }

    .customize-control-o2-range-slider .o2-range-slider input[type='range'] {
        margin-bottom: 14px;
    }

    .customize-control-o2-range-slider input[type=radio]:checked.o2-range-slider-buttonset + label {
        transform: translateY(0);
    }

    /* temporarily added for WordPress 6.7  */
    body.login div#login div#loginFront h1 a  {
        background-repeat: no-repeat;
        background-position: center;
        text-indent: 100%;
        display: block;
        overflow: hidden;
        white-space: nowrap;
        margin-inline: auto;
    }
}