/*
---------------------------------------------------------------------------------------------
HEADER - #login_box
---------------------------------------------------------------------------------------------
*/

.background_login_box{
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: none;
}
#login_box{
    width: 700px;
    height: auto;
    position: absolute;
    background-color: #eee;
    border-radius: 5px;
    box-shadow: 0 0px 10px -1px rgba(0, 0, 0, 0.96);
    padding: 20px;
    z-index: 10;
    color: #777;
    display: none;
    margin-top: 12px;
    right: 32px;
    margin-left: -150px;
}
#login_box:before {
    content: "";
    position: absolute;
    top: -8px;
    right: 0;
    width: 0;
    height: 0;
    display: block;
    margin-left: 0;
    margin-right: 200px;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #eee transparent;
}
#login_box a:hover{
    color: #ca0000;
}
#login_box form{
    margin: 0;
}
#login_box .form_group{
    margin-bottom: 10px;
    position: relative;
}
#login_box .form_group input{
    display: block;
    width: 80%;
    height: 22px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    padding-left: 40px;
    border-radius: 5px;
}
#login_box .form_group .fa{
    position: absolute;
    top: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    font-size: 18px;
    color: #ccc;
    margin-left: 0;
    left: 0;
}
#login_box #recover-password{
    background-color: transparent;
    color: inherit;
}
#login_box #recover-password:hover{
    color: #ca0000;
}
#login_box .btn{
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    font-size: 14px;
    border-radius: 5px;
    border: 0;
    color: #fff;
    background-color: #ca0000;
    font-weight: bold;
    line-height: 17px;
    padding: 10px 10px;
    text-transform: uppercase;
    text-decoration: none;
    width: auto;
}
#login_box .btn:hover{
    color: #fff;
}
#login_box #loginForm .btn-enter{
    width: calc(44% - 5px);
    float: right;
}
#login_box .btn .fa{
    font-size: 18px;
    margin-right: 5px;
}
#login_box .btn-register{
    background-color: #ccc;
    height: auto;
}
#login_box .form-control:focus {
    border-color: #A2A2A2;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(197, 197, 197, 0.6);
}
#login_box h3{
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
}
#login_box .localizar p,
#login_box .loginOk p{
    line-height: 1.4em;
    margin-bottom: 10px;
    padding: 0;
    color: #777;
}
#login_box .localizar #listado-enlaces{
    background-color: transparent;
    color: inherit;
}
#login_box .localizar #listado-enlaces:hover{
    color: #ca0000;
}
#login_box .localizar .btn{
    font-size: 13px;
    margin-right: 15px;
    margin-bottom: 5px;
    height: auto;
}
#login_box .localizar .btn:last-child{
    margin-right: 0;
}
#login_box .localizar a .fa{
    margin-right: 5px;
}

#login_box .localizar_btn_inferior{
    text-align: center;
    margin: 5px 0 -5px 0;
}

#login_box .hidden{
    display: none;
}

#login_box .error{
    color: #ca0000;
}

@media (max-width: 425px) {
    #login_box {
        width: 80vw;
        height: auto;
        position: absolute;
        background-color: rgb(238, 238, 238);
        border-radius: 5px;
        box-shadow: rgba(0, 0, 0, 0.96) 0 0 10px -1px;
        padding: 20px;
        z-index: 10;
        color: rgb(119, 119, 119);
        display: block;
        margin-top: 12px;
        left: 130px;
        margin-left: -150px
    }
}


@media (max-width: 359px) {
    #login_box {
        width: 267px;
        height: auto;
        position: absolute;
        background-color: #eee;
        border-radius: 5px;
        box-shadow: 0 0 10px -1px rgba(0, 0, 0, 0.96);
        padding: 20px;
        z-index: 10;
        color: #777;
        display: none;
        margin-top: 12px;
        right: 0;
        margin-left: -150px;
    }
}
