﻿html, body {
    position: relative;
    /*height: 100%;*/
    width: 100vw;
    height: 100vh;
}

body {
    /* background-color: -webkit-linear-gradient(90deg, #5663fc,#1606df,#ffffff);/* Chrome 10-25, Safari 5.1-6 */
    /*background: -webkit-linear-gradient(90deg, #ffffff,#7171fd,#ffffff);/ * Chrome 10-25, Safari 5.1-6  * /
    background: linear-gradient(90deg, #ffffff,#7171fd,#ffffff); W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: -webkit-linear-gradient(90deg, #9f9f9f,#ffffff,#9f9f9f); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(90deg, #9f9f9f,#ffffff,#9f9f9f); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.abs-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container .img-logojudis {
    max-width: 80%;
}

.field-copyright {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    color: #9c9c9c;
    margin-bottom: 0px;
}

@media only screen and (max-width: 600px) {
    .login-container .img-logojudis {
        max-width: 100%;
        margin-left: 0px;
    }

    .col-xs-12, .col-sm-12, .col-md-12 {
        padding-left: 0px;
        padding-right: 0px;
    }

    .field-copyright {
        font-size: 8px;
    }
}

.input-ctrl {
    height: auto;
    max-height: auto;
    max-width: 100%;
}


/* captcha */

fieldset {
    border: 1px solid #ccc;
    padding: 15px;
    max-width: 345px;
    background-color: #fff;
    border-radius: 5px;
}

section {
    padding: 0 15px;
}

.CaptchaWrap {
    position: relative;
}

.CaptchaTxtField {
    border-radius: 5px;
    border: 1px solid #ccc;
    display: block;
    box-sizing: border-box;
}

#UserCaptchaCode {
    padding: 15px 10px;
    outline: none;
    font-size: 18px;
    font-weight: normal;
    font-family: 'Open Sans', sans-serif;
    width: 343px;
}

#CaptchaImageCode {
    text-align: center;
    /*margin-top: 15px;*/
    padding: 0px 0;
    width: 300px;
    overflow: hidden;
}

.capcode {
    font-size: 46px;
    display: block;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
    letter-spacing: 1px;
    color: #ccc;
    font-family: 'Roboto Slab', serif;
    font-weight: 100;
    font-style: italic;
}

.btnSubmit {
    margin-top: 15px;
    border: 0px;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 12px;
    background-color: #1285c4;
    color: #fff;
    cursor: pointer;
}

.style-captcha {
    position: relative;
    left: 100px;
    margin: 0px 0px 20px 0px;
    align-items: center;
    max-width: 100%;
}

@media only screen and (max-width: 600px) {
    .style-captcha {
        position: relative;
        left: 0px;
        margin: 0px 0px 20px 0px;
        align-items: center;
        max-width: 100%;
    }
}

.error {
    color: red;
    font-size: 12px;
    display: none;
}

.success {
    color: green;
    font-size: 18px;
    margin-bottom: 15px;
    display: none;
}

/*****************/

.well {
    padding: 35px;
    padding-left: 30px;
    box-shadow: 0 0 50px #666666;
    margin: 7% auto 0;
    width: 450px;
    background: rgba(0.4, 0, 0, 0.4);
}

.btn1 {
    background-color: #0a47a2;
    color: white;
    transition: all 0.5s;
    font-size: 16px;
}

    .btn1:hover, .btn1:focus {
        background-color: #0c54c0;
        color: white;
        border: 1px solid;
        border-color: #0a47a2;
        ;
        transition: 0.5s;
    }

a:hover {
    text-decoration: none;
    color: red;
}

.well-header {
    background-color: #0a47a2;
    ;
}

.input-group-addon {
    background-color: #0a47a2;
    border-color: #0a47a2;
    color: white;
}

.btn2 {
    transition: all 0.5s;
}


.btn2:hover, .btn2:focus {
    border-color: #428bca;
    color: black;
    background-color: white;
    transition: 0.5s;
}

/* Contenedor */

.login-container {
    position: relative;
    width: 60%; /*600px;*/ /* 300 */
    margin: 80px auto;
    padding: 20px 40px 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #ccc;
}

@media only screen and (max-width: 600px) {
    .login-container {
        position: relative;
        width: 300px; /* 300 */
        margin: 80px auto;
        padding: 20px 40px 40px;
        text-align: center;
        background: #fff;
        border: 1px solid #ccc;
    }
}

#output {
    position: absolute;
    width: 300px;
    top: -75px;
    left: 0;
    color: #fff;
}

    #output.alert-success {
        background: rgb(25, 204, 25);
    }

    #output.alert-danger {
        background: rgb(228, 105, 105);
    }


.login-container::before, .login-container::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 3.5px;
    left: 0;
    background: #fff;
    z-index: -1;
    -webkit-transform: rotateZ(4deg);
    -moz-transform: rotateZ(4deg);
    -ms-transform: rotateZ(4deg);
    border: 1px solid #ccc;
}

.login-container::after {
    top: 5px;
    z-index: -2;
    -webkit-transform: rotateZ(-2deg);
    -moz-transform: rotateZ(-2deg);
    -ms-transform: rotateZ(-2deg);
}

.avatar {
    width: 100px;
    height: 100px;
    margin: 10px auto 30px;
    border-radius: 100%;
    border: 2px solid #aaa;
    background-size: cover;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        -ms-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}
