﻿

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh;
    font-family: sans-serif;
}

:root {
    --background-screen : #fff;
    --background-movil : rgba(214, 212, 212,0);
}

.box {
    width: 100%;
    height: 100%;
    display: flex;
}

.box_imagen {
    width: 100%;
    height: 100vh;
    background-size: cover;
    position: relative;
    overflow: hidden;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}


/*slider-----------------------------------------*/


.cb-slideshow {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .cb-slideshow,
    .cb-slideshow:after {
        /* position: fixed;*/
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        z-index: 0;
    }

        /*.cb-slideshow:after {
            content: '';
            background: transparent url(../../images/imgLogin/pattern.png) repeat top left;
           
            content: "";
            display: block;
            width: 100%;
            height: 100%;
            opacity: 0.3;
            position: absolute;
            top: 0;
            bottom: 0;
        }*/

        .cb-slideshow li span {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0px;
            left: 0px;
            color: transparent;
            background-size: cover;
            background-position: 50% 50%;
            background-repeat: none;
            /*opacity: 0;*/
            z-index: 0;
            backface-visibility: hidden;
            animation: imageAnimation 36s linear infinite 0s;
        }

        .cb-slideshow li div {
            z-index: 1000;
            position: absolute;
            bottom: 30px;
            left: 0px;
            width: 100%;
            text-align: center;
            opacity: 0;
            color: #fff;
            animation: titleAnimation 36s linear infinite 0s;
        }

            .cb-slideshow li div h3 {
                font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
                font-size: 240px;
                padding: 0;
                line-height: 200px;
            }

        .cb-slideshow li:nth-child(1) span {
            background-image: url(../../images/imgLogin/2.jpeg);
        }

        /*.cb-slideshow li:nth-child(2) span {
            background-image: url(../../images/imgLogin/3.jpg);
            animation-delay: 6s;
        }

        .cb-slideshow li:nth-child(3) span {
            background-image: url(../../images/imgLogin/4.jpg);
            animation-delay: 12s;
        }

        .cb-slideshow li:nth-child(4) span {
            background-image: url(../../images/imgLogin/5.jpg);
            animation-delay: 18s;
        }


        .cb-slideshow li:nth-child(5) span {
            background-image: url(../../images/imgLogin/6.jpg);
            animation-delay: 24s;
        }

        .cb-slideshow li:nth-child(6) span {
            background-image: url(../../images/imgLogin/8.jpg);
            animation-delay: 30s;
        }*/


        .cb-slideshow li:nth-child(1) div {
            animation-delay: 6s;
        }

        /*.cb-slideshow li:nth-child(3) div {
            animation-delay: 12s;
        }

        .cb-slideshow li:nth-child(4) div {
            animation-delay: 18s;
        }

        .cb-slideshow li:nth-child(5) div {
            animation-delay: 24s;
        }

        .cb-slideshow li:nth-child(6) div {
            animation-delay: 30s;
        }*/

/*@keyframes imageAnimation {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }

    8% {
        opacity: 1;
        animation-timing-function: ease-out;
    }

    17% {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes titleAnimation {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    17% {
        opacity: 1;
    }

    19% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}*/

.no-cssanimations .cb-slideshow li span {
    opacity: 1;
}


.box_imagen:after {
    /* content: '';*/
    background: transparent url(../../images/imgLogin/pattern.png) repeat top left;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
}



.box_login_desing {
    top: 98px;
}

.box_login {
    background-color: var(--background-screen);
    /*background: linear-gradient(to bottom, rgba(231, 85, 0, 0.63) 0%,rgba(231, 85, 0, 0.69) 50%,white 80%);*/
    width: 35em;
    height: 100vh;
    position: relative;
    transition: all .5s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login {
    position: relative;
    width: 100%;
    padding: 6em 1em 1em 1em;
    box-sizing: border-box;
    width: 90%;
}

    .login .input {
        width: 100%;
        line-height: 2.3;
        outline: none;
        border: none;
        margin-bottom: 0.5em;
        color: black;
        font-weight: normal;
        font-size: 13px;
        box-sizing: border-box;
        transition: all .3s;
        border-bottom: 1px solid #a9a29e;
        font-family: Calibri;
        text-align: center;
        width: 200px;
    }

    .login .text {
        /*padding-left: 10px;*/
    }

        .login .text:focus {
            border-bottom: 1px solid #0470a8;
            background-color: white;
        }


    .login .button {
        background-color: #008dd7;
        color: #fff;
        margin-top: 1em;
        cursor: pointer;
        transition: all .3s;
        border-radius: 5px;
        width: 150px;
        text-align: center;
        display: block;
        margin: 1em auto 0;
    }

        .login .button:hover {
            background-color: #0470a8;
        }

        .login .button:active {
            background-color: rgb(240, 154, 104);
            box-shadow: 0 0 10px 3px rgba(232, 86, 2,.8);
        }

.logologin {
    background-color: transparent;
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    top: 28px;
    width: 300px;
    text-align: center;
}

.logo_img {
    height: 225px;
}

.copyright {
    position: absolute;
    bottom: 30px;
    width: 90%;
    left: 5%;
    display: block;
    text-align: center;
    font-size: 13px;
    font-family: Calibri;
}

.logohh img {
    width: 200px;
}

.logohh {
    position: fixed;
    bottom: 2.5em;
    left: 2.5em;
}


@media screen and (max-width:768px) {
    .box_imagen {
        width: 0;
    }

    .box_login {
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--background-movil);
    }

    .box {
        background: var(--background-movil);
    }

    .box_login_desing {
        top: 15px;
    }

    .login {
        border: 1px solid #fff;
        background-color: #ffffff;
        border-radius: 10px;
        position: relative;
        box-shadow: 0 0 2px 5px rgba(71, 28, 3,0.1);
        padding-top: 18em;
    }

        .login:after {
            content: '';
            width: 90%;
            height: 10%;
            background: rgba(71, 28, 3,0.9);
            position: absolute;
            z-index: -1;
            box-shadow: 0 10px 10px rgba(0, 0, 0,0.5);
            border-radius: 50%;
            left: 5%;
            bottom: 0px;
        }

    .logologin {
        transform: translate(-50%,30%);
        top: -71px;
        width: 300px;
        text-align: center;
    }

    .logo_img {
        height: 175px;
    }

    .copyright {
        font-family: Calibri;
        font-size: 15px;
        color: #fff;
        text-shadow: 0px 0px 15px black;
    }


    .logohh {
        bottom: 5em;
        left: 50%;
        transform: translateX(-50%);
    }
}
