@media only screen and (max-device-width: 800px) {
    fieldset{
        height: 80%;
    }
    .demo-card-wide.mdl-card {
        height: 100%;
    }
}

body {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #f5f5f5;
}

label {
    font-size: 12px;
}

input[type=text], select, input[type=password], input[type="email"] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

select {
    padding: 12px;
    display: inline-block;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-color: white;
    cursor: pointer;
}

.authContainer{
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}


.authBody{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #607D8B;
    color: white;
    text-align: center;
}

.headerText{
    padding-top: 10px;
    align-self: center;
}

.demo-card-wide.mdl-card {
    border-radius: 10px;
    width: 400px;
}

.hidden {
    display: none;
}

.error {
    background-color: red;
    color: white;
    padding: 5px;
}

.headerText{
    font-size: 20px;
}

.link-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between
}

#confirm-container {
    height: 150px;
    display: flex;
    justify-content: center;
}

#confirm-container > p {
    position: relative;
    top: 40%;
}

#forgotPasswordLink {
    position: relative;
    font-size: 12px;
    text-decoration: none;
}

#registerLink {
    position: relative;
    font-size: 12px;
    text-decoration: none;
}

#emailLoginLink {
    position: relative;
    font-size: 12px;
    text-decoration: none;
}

#registerLoginLink {
    position: relative;
    font-size: 12px;
    text-decoration: none;
}

.login-button {
    display: flex;
    flex-direction: row;
    flex: 1;
    margin-bottom: -15px;
}

.login-button > button, .register-button > button, .email-button > button {
    position: relative;
    width: 100%;
}

mdl-card_supporting-text{
    margin: 0px;
}

.padded{
    padding: 10px;

}

.row{
    text-align: center;
}
