﻿body {
  margin-top: 65px;
}

.navbar-header {
  position: relative;
  top: -4px;
}
.navbar-brand > .icon-banner {
  position: relative;
  top: -2px;
  display: inline;
}
.icon {
  position: relative;
  top: -10px;
}
.logged-out iframe {
  display: none;
  width: 0;
  height: 0;
}
.page-consent .client-logo {
  float: left;
}
.page-consent .client-logo img {
  width: 80px;
  height: 80px;
}
.page-consent .consent-buttons {
  margin-top: 25px;
}
.page-consent .consent-form .consent-scopecheck {
  display: inline-block;
  margin-right: 5px;
}
.page-consent .consent-form .consent-description {
  margin-left: 25px;
}
.page-consent .consent-form .consent-description label {
  font-weight: normal;
}
.page-consent .consent-form .consent-remember {
  padding-left: 16px;
}
.grants .page-header {
  margin-bottom: 10px;
}
.grants .grant {
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid lightgray;
}
.grants .grant img {
  width: 100px;
  height: 100px;
}
.grants .grant .clientname {
  font-size: 140%;
  font-weight: bold;
}
.grants .grant .granttype {
  font-size: 120%;
  font-weight: bold;
}
.grants .grant .created {
  font-size: 120%;
  font-weight: bold;
}
.grants .grant .expires {
  font-size: 120%;
  font-weight: bold;
}
.grants .grant li {
  list-style-type: none;
  display: inline;
}
.grants .grant li:after {
  content: ', ';
}
.grants .grant li:last-child:after {
  content: '';
}

/****** DELAY LOGIN *********/

@keyframes fadeInBG {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.background-login {
    opacity: 0;
    animation: fadeInBG 1s;
    animation-delay: 0s;
    animation-fill-mode: forwards;
}


@keyframes fadeInLogin {
    from {
        opacity: 0;
        transform: scale(0);
        /*top: -44px;*/
    }

    to {
        opacity: 1;
    }
}

.wrap-login {
    opacity: 0;
    animation: fadeInLogin 1s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    transform: scale(1);
    /*top: 0px;*/
    /*-webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  transform: translateY(0%);*/
}

/****** COMPONENTES LOGIN *********/

.background-login {
    background: url('../images/bg-login.jpg') top center no-repeat;
    background-size: cover;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    text-align: center;
    overflow-y: auto;
    padding-bottom: 0px;
}

    .background-login:before {
        content: '';
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        z-index: 10;
        background: #000;
        opacity: 0.70;
    }


.wrap-login {
    width: 400px;
    margin: 0px auto;
    position: relative;
    z-index: 20;
}

    .wrap-login .logotipo-login {
        padding: 70px 0px 20px 0px;
    }

    .wrap-login .box-white {
        background: white;
        border-radius: 2px;
        -webkit-box-shadow: 0px 0px 103px 0px rgba(0,0,0,0.32);
        -moz-box-shadow: 0px 0px 103px 0px rgba(0,0,0,0.32);
        box-shadow: 0px 0px 103px 0px rgba(0,0,0,0.32);
    }

        .wrap-login .box-white .title-login {
            height: 56px;
            line-height: 58px !important;
            font-family: 'brownregular';
            font-size: 16px;
            /* letter-spacing: 1px; */
            color: #444444;
            text-transform: uppercase;
            -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.16);
            -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.16);
            box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.16);
        }

        .wrap-login .box-white .form-login {
            padding: 30px;
        }

            .wrap-login .box-white .form-login .input-login {
                width: auto;
                height: 50px;
                border: 1px solid #b4b4b4;
                border-radius: 3px;
                margin-bottom: 18px;
                position: relative;
                -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.08);
                -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.08);
                box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.08);
            }

                .wrap-login .box-white .form-login .input-login input {
                    color: ##741371;
                    position: absolute;
                    display: block;
                    top: 0px;
                    bottom: 0px;
                    left: 0px;
                    right: 0px;
                    line-height: 49px;
                    width: 100%;
                    padding: 0px 0px 0px 60px;
                    outline: none;
                    border: none;
                    font-size: 15px;
                    background: transparent;
                }

                .wrap-login .box-white .form-login .input-login.user:before {
                    content: '';
                    width: 40px;
                    height: 40px;
                    position: absolute;
                    left: 18px;
                    top: 4px;
                    background: url('../images/sprite-jockey.png') -12px -10px;
                }

                .wrap-login .box-white .form-login .input-login.pass:before {
                    content: '';
                    width: 40px;
                    height: 40px;
                    position: absolute;
                    left: 18px;
                    top: 4px;
                    background: url('../images/sprite-jockey.png') -12px -70px;
                }

            .wrap-login .box-white .form-login .ingresar {
                position: relative;
            }

            .wrap-login .box-white .form-login .btn-ingresar {
                width: auto;
                height: 50px;
                border: 1px solid #b4b4b4;
                border-radius: 2px;
                position: relative;
                /* left: 0px; */
                /* right: 0px; */
                /* bottom: -53px; */
                color: white;
                border: none;
                outline: none;
                cursor: pointer;
                width: 100%;
                font-family: 'brownlight';
                font-size: 15px;
                letter-spacing: 1px;
                text-transform: uppercase;
                background: #741371;
                transition-duration: 0.8s;
                overflow: hidden;
                -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
                -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
                box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
            }

                .wrap-login .box-white .form-login .btn-ingresar:after {
                    content: "";
                    background: #ccc;
                    display: block;
                    position: absolute;
                    border-radius: 50%;
                    padding-top: 300%;
                    padding-left: 350%;
                    margin-left: -40px !important;
                    margin-top: -120%;
                    opacity: 0;
                    transition: all 1s;
                }

                .wrap-login .box-white .form-login .btn-ingresar:active:after {
                    padding: 0;
                    margin: 0;
                    opacity: 1;
                    transition: 0s;
                }

                .wrap-login .box-white .form-login .btn-ingresar:before {
                    content: '';
                    width: 40px;
                    height: 40px;
                    position: absolute;
                    right: 13px;
                    top: 4px;
                    background: url('../images/sprite-jockey.png') -12px -130px;
                }

.opacity-exito {
    background: url('../../ClientApp/src/assets/images/bg-opacity.png') 0px 0px repeat;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 10000;
}

    .opacity-exito .loading {
        background: url(../../ClientApp/src/assets/images/loading.gif) center center no-repeat #000;
        width: 50px;
        height: 50px;
        border-radius: 25px;
        position: fixed;
        top: 50%;
        left: 50%;
        margin-top: -25px;
        margin-left: -25px;
        z-index: 110;
    }

/*****************************************
* RWD LOGIN *
*****************************************/

@media only screen and (max-width: 480px) {

    .wrap-login {
        width: auto;
        margin: 0px 20px;
    }

        .wrap-login .logotipo-login {
            padding: 26px 0px 20px 0px;
        }
}

@media only screen and (max-width: 375px) {

    .wrap-login {
        width: auto;
        margin: 0px 10px;
    }

        .wrap-login .box-white .title-login {
            font-size: 14px;
        }

        .wrap-login .box-white .form-login {
            padding: 18px 15px 18px 15px;
        }
}
