﻿body {
    font-family: "Source Sans Pro", Arial, sans-serif;
    margin:0px;
}
h2 {
    background-color: #378edb;
    margin: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left:10px;
}
/* Full-width inputs */
input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    
    
}

/* Set a style for all buttons */
button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

/* Add a hover effect for buttons */
button:hover {
    opacity: 0.8;
}

/* Extra style for the cancel button (red) */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #378edb; /*#4992d7;*/
    width: 160px;
}

/* Center the avatar image inside this container */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
}

/* Avatar image */
img.avatar {
    width: 40%;
    border-radius: 50%;
    max-width:500px;
}

/* Add padding to containers */
.container {
    padding: 16px;
    max-width: 500px;
    margin: auto;
    background-color: #e0e0e0;
    width:33%;
}


@media only screen and (max-width: 800px) {
    .container {

        width:80%;
    }
}

    /* The "Forgot password" text */
    span.psw {
        float: right;
        padding-top: 16px;
    }

    /* Change styles for span and cancel button on extra small screens */
    @media screen and (max-width: 400px) {
        span.psw {
            display: block;
            float: none;
        }

        .cancelbtn {
            width: 100% !important;
        }
    }

    @media screen and (max-width:500px) {
        .imgcontainer {
            margin: 0px;
        }
    }

    .divlogincontenedor > div {
        float: left;
    }

    .divlogincontenedor::after {
        content: " ";
        display: block;
        height: 0;
        clear: both;
    }




.show-password {
    border-color: transparent;
    border-style: solid;
    border-top-color: transparent;
    border-width: 4px;
    color: transparent;
    display: inline-block;
    height: 32px;
    right: 2px;
    position: absolute;
    top: 38px;
    transition: all .2s;
    vertical-align: middle;
    width: 32px;
}

    .show-password::after {
        background-color: #34495e;
        border-radius: 7px;
        content: "";
        display: block;
        height: 8px;
        left: 12px;
        opacity: 0.5;
        position: relative;
        top: 2px;
        transition: all .2s;
        width: 8px;
    }

    .show-password:hover {
        border-radius: 20px;
        border-top-color: #34495e;
    }

        .show-password:hover::after {
            opacity: 1;
        }