﻿@charset "UTF-8";
/* CSS Document */

html,
body {
    height: 100%;
}

html {
    font-size: 16px;
}

body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    background-color: #f5f5f5;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    background-image: url(images/fondoLogin.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: auto !important;
}

.form-signin {
    background-color: #FFF;
    width: 22.875rem;
    height: 22.875rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-left: 1rem;
    padding: 2rem;
}

    .form-signin h1 {
        font-weight: 300 !important;
        color: #171717 !important;
    }

    .form-signin span {
        font-weight: 500 !important;
    }

    .form-signin .checkbox {
        font-weight: 300 !important;
        display: flex;
        justify-content: space-between;
        color: #999999;
    }

        .form-signin .checkbox a {
            color: #999999;
        }

    .form-signin .form-control {
        position: relative;
        box-sizing: border-box;
        height: auto;
        padding: 0.625rem;
    }

        .form-signin .form-control:focus {
            z-index: 2;
        }

    .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"] {
        margin-bottom: 0.625rem;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

#logo {
    background-color: #000;
    width: 22.875rem;
    height: 22.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.btn-primary {
    background-color: #71B093;
    border: none;
}

    .btn-primary:hover {
        background-color: #000;
        border: none;
    }

.navbar.fixed-bottom a {
    color: #171717;
}

    .navbar.fixed-bottom a:hover {
        color: #71B093;
    }

@media (max-width: 1199px) and (min-width: 992px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        flex-direction: row;
    }
    /*.form-signin {
        margin-left: 0;
        margin-bottom: 1rem;
    }*/
    .form-signin {
        margin-left: 1rem;
        margin-bottom: 0;
        width: 21rem;
        height: 21rem;
        padding: 2rem;
    }

    #logo {
        width: 21rem;
        height: 21rem;
        margin-bottom: 0;
    }
    .navbar-nav {
         flex-direction: row!important;
    }
}

@media (max-width: 820px)and (orientation : landscape) {
    html {
        font-size: 14px;
    }

    body {
        flex-direction: row;
    }

    .form-signin {
        margin-left: 1rem;
        margin-bottom: 0;
        width: 20rem;
        height: 20rem;
        padding: 2rem;
    }

    #logo {
        width: 20rem;
        height: 20rem;
        margin-bottom: 0;
    }

    .form-signin h1 {
        font-size: 1.1rem !important;
    }

    .navbar-nav {
        flex-direction: row !important;
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    html {
        font-size: 14px;
    }

    body {
        flex-direction: row;
        margin-top: -15px;
    }

    .form-signin {
        margin-left: .5rem;
        margin-bottom: 0;
        width: 18rem;
        height: 18rem;
        padding: 1rem;
    }

    #logo {
        width: 18rem;
        height: 18rem;
        padding: 1rem;
    }

    .form-signin h1 {
        font-size: 1.1rem !important;
    }

    .form-signin .checkbox {
        flex-direction: column;
    }

    .navbar-nav {
        flex-direction: row !important;
    }
}

@media (max-width: 575px) and (min-width: 321px) {
    html {
        font-size: 14px;
    }

    body {
        flex-direction: row;
        margin-top: -15px;
    }

    .form-signin {
        margin-left: .5rem;
        margin-bottom: 0;
        width: 18rem;
        height: 18rem;
        padding: 1rem;
    }

    #logo {
        width: 18rem;
        height: 18rem;
        padding: 1rem;
    }

    .form-signin h1 {
        font-size: 1.1rem !important;
    }

    .form-signin .checkbox {
        flex-direction: column;
    }

    .navbar-nav {
        flex-direction: row !important;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    body {
        flex-direction: column-reverse;
    }

    .form-signin {
        margin-left: 0;
        margin-bottom: 1rem;
        width: 20rem;
        height: 20rem;
        padding: 1rem;
    }

    #logo {
        width: 20rem;
        height: 20rem;
        margin-bottom: 2rem;
    }

    .form-signin h1 {
        font-size: 1.1rem !important;
    }
}
/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {
    #logo {
        width: 20rem;
        height: 10rem;
        margin-bottom: 2rem;
    }
}
