html,body {height: 100%;}

body{
    background: rgb(112, 178, 193);
    background: linear-gradient(115deg, rgba(112, 178, 193, 1) 0%, rgba(113, 178, 198, 1) 8%, rgba(93, 152, 190, 1) 21%, rgba(60, 105, 159, 1) 39%, rgba(44, 80, 140, 1) 49%, rgba(60, 105, 159, 1) 63%, rgba(92, 132, 165, 1) 71%, rgba(93, 152, 190, 1) 77%, rgba(92, 132, 165, 1) 83%, rgba(113, 178, 198, 1) 98%, rgba(112, 178, 193, 1) 100%);
}

img {max-width: 100%;}

/* Media Queries */
@media only screen and (max-width: 1200px){
    #login_right #logo {
        max-width: 30%;
        margin-top: -22%;
    }
    .loginrow #login_left {
        background-position: top;
        background-repeat: no-repeat;
    }

    .loginrow #login_right {
        padding: 25vh 3vw 0px 3vw;
    }
}

@media only screen and (max-width: 767px) {
    .loginrow  #login_left{
        height: 25vh;
        background-position-y: -90px;
        padding: 15vh 2vw 0px 2vw;
    }

    .loginrow #login_right {
        padding: 10vh 3vw 0px 3vw;
    }

    .footerlogin {
        font-size: 0.5rem !important;
    }
}

@media only screen and (max-width: 577px) {
    .loginrow #login_left {
        height: 20vh;
        background-position-y: -70px;
        padding: 10vh 2vw 0px 2vw;
    }
    .loginrow #login_right {
        padding: 5vh 3vw 0px 3vw;
    }

    #login_right #frame {
        padding: 2vw 6vw !important;
    }
}

@media only screen and (max-width: 400px) {
    .loginrow #login_left {
        height: 18vh;
        background-position-y: -40px;
        margin-bottom:6vh;
    }
}


/***************** LOGIN */

#login_left {
    background-image: url('../../images/female-manager.jpg');
    background-size: cover;
    background-position: center top;
}

#login_right {
    padding: 25vh 5vw 0px 5vw;
    color: #fff;
}

#logo{
    display: block;
    margin: 0 auto;
    width: 95%;
    max-width: 152px;
    max-height: 136px;
    margin-top: -15%;
}

#login_right #frame {
    border: 2px solid white;
    border-top: none;
    border-radius: 10px;
    padding: 2vw 4vw;
}

#login_right .bordertopleft {
    border-top: 2px solid white;
    position: relative;
    border-radius: 10px 0px;
    top: 1vw;
    left: 0;
    padding-right: 0;
    height: 1vw;
    float: left;
}

#login_right .bordertopright {
    border-top: 2px solid white;
    position: relative;
    border-radius: 0px 10px;
    top: 1vw;
    right: 0;
    padding-left: 0;
    height: 1vw;
    float: right;
}

.login .fa-paw {font-size: 26px}

a.hiddenanchor {display: none}

.login_wrapper, .registration_form, .login_form {width: 100%}

.login_wrapper {
    height: 260px;
    position: relative;
}

.registration_form,
.login_form {
    position: absolute;
    top: 0px;
}

.registration_form {
    z-index: 21;
    opacity: 0;
    width: 100%;
}

.login_form {
    z-index: 22
}

#signup:target~.login_wrapper .registration_form,
#signin:target~.login_wrapper .login_form {
    z-index: 22;
    animation-name: fadeInLeft;
    animation-delay: .1s
}

#signup:target~.login_wrapper .login_form,
#signin:target~.login_wrapper .registration_form {
    animation-name: fadeOutLeft
}

.animate {
    -webkit-animation-duration: 0.5s;
    -webkit-animation-timing-function: ease;
    -webkit-animation-fill-mode: both;
    -moz-animation-duration: 0.5s;
    -moz-animation-timing-function: ease;
    -moz-animation-fill-mode: both;
    -o-animation-duration: 0.5s;
    -o-animation-timing-function: ease;
    -o-animation-fill-mode: both;
    -ms-animation-duration: 0.5s;
    -ms-animation-timing-function: ease;
    -ms-animation-fill-mode: both;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-fill-mode: both
}

.login_box {
    padding: 20px;
    margin: auto
}

.login_content {
    margin: 0 auto;
    padding: 25px 0 0;
    position: relative;
    text-align: center;
    color: #FFF;
    min-width: 280px
}

#login_right a,
#login_right .btn-default:hover {
    text-decoration: none;
    color: #FFF;
    font-size: 1rem;
}

#login_right a:hover {
    text-decoration: underline
}


.login_content form {
    margin: 20px 0;
    position: relative
}

.login_content form input[type="text"],
.login_content form input[type="email"],
.login_content form input[type="password"] {
    border-radius: 3px;
    border: 1px solid white;
    color: #777; 
    margin: 0 0 20px;
    width: 100%
}

.login_content form input[type="text"]:focus,
.login_content form input[type="email"]:focus,
.login_content form input[type="password"]:focus {
    -ms-box-shadow: 0 0 2px #ed1c24 inset;
    -o-box-shadow: 0 0 2px #ed1c24 inset;
    box-shadow: 0 0 2px #A97AAD inset;
    background-color: #fff;
    border: 1px solid #A878AF;
    outline: none
}

#username {
    background-position: 10px 10px !important
}

#password {
    background-position: 10px -53px !important
}

.reset_pass {
    margin-top: 10px !important
}

.login_content div .reset_pass {
    margin-top: 13px !important;
    margin-right: 39px;
    float: right
}

.separator {
    border-top: 1px solid #D8D8D8;
    margin-top: 10px;
    padding-top: 10px
}

.button {
    background: #f7f9fa;
    background: linear-gradient(top, #f7f9fa 0%, #f0f0f0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f9fa', endColorstr='#f0f0f0', GradientType=0);
    -ms-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    -o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    border-radius: 0 0 5px 5px;
    border-top: 1px solid #CFD5D9;
    padding: 15px 0
}

.login_content form input[type="submit"],

form .submit {
    border-color: #fff;
    background-image: linear-gradient(to right, #1181a2, #0078a0, #006e9e, #00649b, #075a96);
    width: 100%;
    border-radius:0;
    border:0;
}

form .botonlogin:hover {
    text-decoration: underline;
}

.button a {
    background: url(http://cssdeck.com/uploads/media/items/8/8bcLQqF.png) 0 -112px no-repeat;
    color: #7E7E7E;
    font-size: 17px;
    padding: 2px 0 2px 40px;
    text-decoration: none;
    transition: all 0.3s ease
}

.button a:hover {
    background-position: 0 -135px;
    color: #00aeef
}

header {
    width: 100%
}

#nprogress .bar {
    background: #BE1E2D
}

#nprogress .peg {
    box-shadow: 0 0 10px #BE1E2D, 0 0 5px #BE1E2D
}

#nprogress .spinner-icon {
    border-top-color: #BE1E2D;
    border-left-color: #BE1E2D
}

.footerlogin {
    text-align: center;
    width: 100%;
    padding: 0px 0px 20px 0px;
    font-size: 0.8rem;
}

.footerlogin a {
    text-decoration: underline;
    font-weight: bold;
}

/****************************** Login checkbox*/
/* The container */
.chkcontainer {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.chkcontainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.chkcontainer:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.chkcontainer input:checked~.checkmark {
    background-color: #3C6886;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.chkcontainer input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.chkcontainer .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Input icons*/
.has-icon .form-control {
    padding-left: 2.375rem;
}
.has-icon .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}


/*lightbox Navidad 
.lightboxnavidad {
    background-image: url("layout/images/fondo-n-lb.png");
    background-repeat: repeat;
    width: 100%;
    height: 160%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    text-align: center;
}

@media only screen and (max-height: 380px) {

    .lightboxnavidad {
        height: 240%;
    }
}

@media only screen and (max-height: 300px) {

    .lightboxnavidad {
        height: 340%;
    }
}

@media only screen and (max-height: 210px) {

    .lightboxnavidad {
        height: 450%;
    }
}

.lightboxnavidad #lb {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    min-width: 800px;
    max-height: 790px;
    min-height: 500px;
}

.lightboxnavidad #cerrar-lb {
    position: absolute;
    top: 6vh;
    right: 10%;
    z-index: 9000;
    cursor: pointer;
}

END lightbox Navidad */