﻿
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');

/**/

body {
    background: url(img/bg.jpg) top;
    background-size: cover;
    font-family: 'Open Sans', sans-serif;
    align-content: center;
}

.wpr {
    position: relative;
    width: 90%;
    border-radius: 4px;
    overflow: hidden;
    margin: 50px auto 0 auto;
}

.cab {
    position: relative;
    overflow: hidden;
    min-height: 119px;
    text-align: center;
}

    .cab img {
        width: 250px;
        text-align: center;
        margin: 0 0 20px 0;
    }

    .cab h1 {
        background-color: #0d345f;
        font-size: 21px;
        font-weight: 700;
        text-transform: uppercase;
        text-align: left;
        width: 100%;
        line-height: 90%;
        color: #fff;
        margin: 0;
        padding: 20px 20px;
        border-radius: 4px 4px 0 0;
    }

        .cab h1 span {
            font-size: 25px;
            font-weight: 300;
            display: block;
            line-height: 115%;
        }

/**/
.cuerpo {
    width: 100%;
    padding: 20px;
    background-color: #fff;
}

.form {
    position: relative;
    background: #0058a6;
    border-radius: 5px;
    margin: 0;
    padding: 15px 25px 30px 25px;
}

    .form h2 {
        color: #fff;
        font-size: 23px;
        line-height: 23px;
        font-weight: 400;
        margin: 0 0 25px 0;
    }

.btn-login {
    position: relative;
    display: block;
    background: #4cbfff;
    background-position: 70% 50%;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border-radius: 50px;
    padding: 10px;
}

    .btn-login > span {
        display: inline-block;
        float: right;
        height: 44px;
        width: 50%;
        margin-top: -10px;
        margin-right: -10px;
        border-radius: 0 50px 50px 0;
        background: #fff url(img/flecha.png) no-repeat center left;
        overflow: hidden;
    }

    .btn-login span span {
        display: inline-block;
        height: 42px;
        width: 100%;
        background: url(img/office-365.png) no-repeat center;
        background-size: 60%;
    }

a.btn-login:hover {
    color: #fff;
    text-decoration: none;
}

/* PIE */
.pie {
    bottom: 0;
    width: 100%;
    background: #f0f0f0 url(img/sombra.png) top repeat-x;
    border-radius: 0 0 4px 0;
}

    .pie .relleno {
        padding: 15px 30px;
    }

    .pie ul {
        margin: 0;
        padding: 0;
        list-style: none;
        font-size: 12px;
        text-align: right
    }

    .pie li a {
        color: #0058a6;
        padding: 10px 0 10px 33px;
        background-position: center left;
        background-repeat: no-repeat;
    }

        .pie li a.contrasena {
            background-image: url(img/icn-contrasena.png);
        }

@media(min-width:700px) {

    .wpr {
        position: relative;
        width: 580px;
        border-radius: 4px;
        overflow: hidden;
        margin: 200px auto 0 auto;
    }

    .cab {
        background-color: #0d345f;
        height: 119px;
        padding: 30px 40px;
    }

        .cab img {
            float: left;
            width: 202px;
        }

        .cab h1 {
            width: auto;
            float: left;
            margin: 0 0 0 10px;
            padding: 0 0 0 10px;
            border-left: 2px solid #e32726;
            border-top: none;
            text-align: left;
        }

            .cab h1 span {
                font-size: 25px;
                font-weight: 300;
                display: block;
                line-height: 115%;
            }

    /**/
    .cuerpo {
        padding: 30px;
    }

    .btn-login {
        font-size: 22px;
    }

        .btn-login > span {
            height: 53px;
        }

        .btn-login span span {
            height: 53px;
            background-size: 50%;
        }
}
