#preloader{
    position: absolute;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../content.jpg) !important;
    background-repeat: repeat;
}
#preloader div{
    position: relative;
    width: 150px;
    height: 150px;
}
#preloader div .rotate{
    position: absolute;
    height: 100%;
    width: 100%;
}
#preloader div .static{
    position: absolute;
    height: 100%;
    width: 100%;
}
.img-loader {
    vertical-align: middle;
    border-style: none;
}

/*Movil ------------*/
@media (max-width: 1199px) {
    #preloader{
        height: 100%;
    }
}

/*-------------ANIMACION DE PRELOADER CIP - LOGO*/
#preloader .rotate{
    animation-duration: 120ms;
    animation-iteration-count: infinite;
    animation-name: preloader;
}
@keyframes preloader {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

body {
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-size: 15px;
}

/*General ------------*/
html,body{
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100%;
    margin:0;
    display: flex;
    flex-direction: column;
    font-size: 15px;
}
main{
    height: 100vh;
    width: 100vw;
}

/*Izquierda ------------*/
.izquierda{
    padding-right: 0;
    position: relative;
    height: 100%;
    width: 100%;
}
.izquierda > img{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}
.izquierda > .help{
    position: absolute;
    top: 25%;
    display: block;
    width: 100%;
    padding-right: 10%;
}
iframe{
    display: block;
    margin: auto;
}
.izquierda > .footer{
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    padding-right: 10%;
}
.footer > p{
    text-align: center;
    font-size: .7rem;
    color: white;
    margin-bottom: 0;
    text-shadow: 0px 3px 10px black;
}
.izquierda > .logo{
    position: absolute;
    top: 10px;
    left: 30px;
}
.logo > img{
    width: 350px;
}

/*Derecha ------------*/
.derecha{
    margin: auto;
    display: flex;
    align-items: center;
    padding-right: 50px;
}
.cabecera p{
    font-size: .8rem;
    text-align: center;
}
.cabecera > div{
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}
.cabecera img {
    width: 70%;
    margin-top: 5px;
}
.cabecera .user-guest{
    display: block;
}
.cabecera .user-cip{
    display: none;
}
.login .botones{
    display: flex;
    justify-content: space-between;
}
.ingresar{
    margin-right: 5px;
}
.registro{
    margin-left: 5px;
}
.enlaces{
    margin-bottom: 0;
}
a{
    text-align: center;
    text-decoration: none;
    color: grey;
    font-size: .8rem;
}
p{
    margin-bottom: .5rem;
    color: grey;
}
a:hover{
    color: grey;
}
.pago > .tarjetas{
    display: flex;
    justify-content: center;
}
.pago img{
    width: 100%;
    max-width: 400px;
}
.pago > p{
    text-align: center;
    font-size: .8rem;
    color: grey;
}

/* BOTON DE AYUDA CON EL REGISTRO */
.btn-help{
    --width: 70px;
    --heigth: 60px;
    --wOculto: 200px;
    position: fixed;
    right: calc(var(--wOculto) * -1);
    bottom: 90px;
    display: flex;
    justify-content: center;
    align-items: center;

    width: calc(var(--width) + var(--wOculto));
    height: var(--heigth);
    box-shadow: 0px 0px 4px #888888;
    border-radius: 3px;
    background-color: white;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;

    transition: .3s all;
}
.btn-help:hover{
    transition: .3s all;
    transform: translateX(calc(var(--wOculto) * -1 - 7px));
}
.btn-help:hover > .btn-help-ancla > img{
    transition: .5s all;
    transform: rotate(360deg);
}
.btn-help-ancla{
    width: var(--width);
    height: var(--heigth);

    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-help-ancla > img{
    height: 70%;
}
.btn-help-content{
    width: var(--wOculto);
    height: var(--heigth);
    background-color: #FF3838;
    color: white;
    padding: 10px;
    text-align: center;
}
.animate-rotate{ /* SE ACTIVA CON JS*/
    transform: rotate(360deg);
    transition: .5s all;
}



/*Movil ------------*/
@media (max-width: 1199px) {
    body{
        overflow-y: scroll;
        padding-left: 30px;
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: rgb(230, 230, 230);
    }
    main{
        display: block;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        margin-right: 0;
        padding-right: 0;
    }
    .derecha{
        padding: 0;
        width: 100%;
        margin: auto;
    }
    .derecha > div{
        margin: auto;
        border-radius: 15px;
        background-color: white;
        box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
            -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
            -moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
    }
    .cabecera .user-cip{
        display: block;
        width: 100px;
        height: 100px;
    }
}