/* Global Styles */

html {
    position: relative;
    height: 100%;
    min-height: 600px;
}

body {
    background-color: #003F5B;
    min-width: 400px;
    min-height: 580px;
    /*background-image: url("../images/bg_login");*/
    /*background-image: url("../images/img_imagen_login_a.jpg");*/
    background-image: url("../images/img_imagen_login_b.jpg");
    background-size: cover;
    background-position: center center;
}

.panel{
    border:none;
}

.border-radius input {
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
    border-radius: 4px !important;
}

#login-form {
    /*width: 100%;*/
    /*max-width: 600px;*/
}

#login-form .panel-default {
    /*background-color: #EEE;*/
    background-color:transparent;
    max-width: 600px;
}

#Captcha1 {
    background-color: rgba(0, 0, 0, 0)!important;
}

#Captcha1 img {
    margin-top: -15px;
    float: right;
}

#captcha-group {
    display: inline-flex;
}

.panel-default {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
}

#login-form .panel-heading {
    /*background-color: white;*/
    background-color:transparent;
    border:none;

}

#login-form .panel-heading img {
    /*margin: 10px 0;*/
    margin-top:-35px;
    margin-bottom:15px;
    max-width: 100%;
    max-height: 100%;
    /*height: 200px;*/
    height:122px;
}
#login-form .panel-body{
    background-color:white;
    border:1px solid transparent;
    border-radius:4px;

    /* 5/4/2021 */
    max-width:600px;
    margin-left:auto;
    margin-right:auto;

}

#login-form .panel-cont-body {
    margin: 15px 75px 0 75px;
    color: #AAA;
}

#login-form .input-group {
    margin-bottom: 15px;
}

#login-form .fa {
    color: #003F5B;
    font-size: 18px;
}

#login-form .alert-danger {
    padding: 7px;
    line-height: 13px;
    font-size: 13px;
    margin: 9px -7% 14px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;

}

#login-form .alert-danger button {
    margin-top: -5px;
}

.btn {
    margin-top: 10px;
}

#txtCaptcha1 {
    width: calc(100% - 200px);
    margin-right: 20px;
}

#divCaptcha1 {
    float: right;
    margin-top: -64px;
}

#LoginForm .form-group.text-left {
    padding-left: 1em;
}

form.login {
    padding-top: 40px;
}

form.login p {
    margin-top: 15px;
    color: white;
}

form.login footer {
    background-color: transparent !important;
    color: #678191;
    font-size: 12px;
}

.form-group {
    margin-bottom: 5px;
}

.btn-primary {
    background-color: #003F5B;
    border-color: #003F5B;
}

.btn-primary:hover,
.btn-primary:active .btn-primary:active:focus,
.btn-primary:active:hover,
.btn-primary:focus {
    background-color: #032533;
    border-color: #032533;
    color: white;
}

.btn-primary[disabled],
.btn-primary[disabled]:hover {
    background-color: #688C9C;
    border-color: #688C9C;
}

.btn-transparent {
    background-color: transparent;
    border-color: #003F5B;
    color: #003F5B;
}

.btn-transparent:hover,
.btn-transparent:active,
.btn-transparent:focus {
    background-color: #003F5B;
    color: white;
}


footer {
    clear: both;
    width: 100%;
    /*background-color: #003F5B;*/
    background-color:transparent;
    color: #678191;
    padding-bottom: 20px;
    bottom: 4em;
    left: 0;
    right: 0;
    position: absolute;
    font-size: 12px;
    line-height: 18px;
    z-index: -1;
    text-align:center;
    /*pau*/
}
body.login footer{
    background-color:transparent;

}

footer .footer-info {
    max-width: 555px;
    margin: 0 auto;
}

footer .titulo {
    margin-bottom: 5px;
}

footer a {
    /*color: #678191;*/
    color:rgb(180,170,215);
}

footer a:hover {
    color: white;
}

footer span.white {
    color: white
}

footer img.bandera {
    width: 20px;
    margin-right: 5px;
}

#barraaceptacion .inner{
    /*max-width:900px;
    width:90%;*/
    max-width: 1200px;
    width: 100%;
    position:relative;
    padding-bottom:8em;
    margin-left:auto;
    margin-right:auto;
}

@media(max-width:768px) {
    /*body {
        margin-top: 50px;
    }*/
    footer {
        padding-left: 15px;
        padding-right: 15px;
    }
    #txtCaptcha1 {
        width: calc(100% - 175px);
    }
}

@media(max-width:500px) {
    /* 5/4/2021 begin */
    #txtCaptcha1{
        width:100%;
    }
    #divCaptcha1{
        float:none;
        margin-top:0px;
        margin-bottom:1em;
        text-align:center;

    }
    #login-form .panel-cont-body{
        margin:15px 30px 0 30px;
    }

    /* 5/4/2021 end */
    /* form.login {
        padding-top: 0px;
    }*/
    #login-form .panel-body {
        margin-left: 15px;
        margin-right: 15px;
        margin-top: -75px;
    }
    #txtCaptcha1{
        width:100%;
    }
}

.panel-default>.panel-heading {
    color: #003F5B;
}

.panel-default>.panel-heading .panel-title {
    font-size: 14px;
    height: 100%;
}

.panel-footer {
    color: #888;
}

a.form-footer {
    padding: 5px 2px;
    color: #666;
    display: inline-block;
    margin-top: 10px;
}

a.form-footer:hover {
    color: #222;
    text-decoration: none;
}

#loading {
    background-color: #333;
    opacity: 0.9;
    height: 100%;
    width: 100%;
    position: absolute;
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    z-index: 10000;
}

.loader {
    border: 15px solid #f3f3f3;
    border-radius: 100%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}


/* Safari */

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/** Cambio Footer **/
.row.rowFooter{
    width: 630px;
    margin-left: auto;
    margin-right: auto;
}
.row.rowFooter p{
    color: #00A5E6;
    text-align: left;
}
.container-logo-footer{
    padding-left: 25px;
    padding-right: 25px;
    float: left;
}
@media (max-width: 883px){
 .container-logo-footer{
    padding-bottom: 20px;
    padding-left: 25px;
    padding-right: 25px;
    float: unset;
}
.row.rowFooter p{
    color: #00A5E6;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.row.rowFooter{
    width: unset;
    margin-left: auto;
    margin-right: auto;
}   
}
@media (max-width: 800px){
 .row.rowFooter p{
    width: 480px;
    margin-left: auto;
    margin-right: auto;
    }   
}
@media (max-width: 750px){
 .row.rowFooter p{
    width: unset;
    margin-left: auto;
    margin-right: auto;
    }   
}
.btn-close-aceptacion{
    margin-top: -5px;
    opacity: .8;
    color: #FFFFFF;
    position: absolute;
    float: right;
    right: 55px;
    top: 63px;
}
.btn-close-aceptacion:hover{
    opacity: 1;
    color: #FFFFFF;
}
/** x Cambio Footer **/