﻿
/*set border to the form*/
html {
    width: 100%;
}

body {
    overflow: auto;
}

form {
    border: 3px solid #f1f1f1;
}
/*assign 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 the buttons*/

button {
    background-color: darkgoldenrod;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}
    /* set a hover effect for the button*/

    button:hover {
        opacity: 0.8;
    }
/*set extra style for the cancel button*/

.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}
/*centre the display image inside the container*/
img {
    width: 50%;
    height: auto;
}

.imgcontainer {
    margin: 0 auto;
    /*margin: 24px 0 12px 0;*/
    max-height: 100px;
    max-width: 100px;
}
/*set image properties*/

img.Avatar {
    margin: auto;
    display: block;
    width: auto;
    /*width: 40%;*/
    /*border-radius: 50%;*/
}
/*set padding to the container*/

.container {
    padding: 16px;
}
/*set the forgot password text*/

span.psw {
    float: right;
    padding-top: 16px;
}
/*set styles for span and cancel button on small screens*/

@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }
}


/*loading icon*/
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid darkgoldenrod; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
