﻿
body {
    font-family: Arial, Helvetica, sans-serif;
}

header {
    background: #fff url(/images/IMG_CAI/Chaberton.jpg) no-repeat center center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: -1;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

form {
    border: 3px solid #f1f1f1;
}

input[type=text], input[type=password] {
    width: 80%;
    padding: 6px 20px;
    margin: 8px 0 8px 0px;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    background: #00000017;
    color:white;
}

button {
    background-color: #00153E;
    color: white;
    padding: 10px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
}

    button:hover {
        opacity: 0.8;
    }

.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
}

img.avatar {
    width: 90%;
}

.container {
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

.rowForm {
    text-align:center;
}

h1 {
    text-align: center !important;
    font-size: 20px;
    font-weight: bold;
    color: white;
    font-family: initial;
}
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }

}

.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 450px;
    margin-left: auto;
    margin-right: auto;
    background: #9d979b6e;
    position: relative;
    top: 25%;
    border-radius: 10px;
}

    .card:hover {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    }

@media screen and (max-width: 730px) {
    .card{width:60%;}
    input[type=text], input[type=password], img.avatar {
        width: 80%;
    }
 }
