body {
    background-color: #fff;
}

.login_page {
	width: 600px;
	margin: 10% auto 0 auto;
}
.ec_logo {
	padding-bottom:20px;	
}
.logo_width {
	width: 50%;
	background-image: url(../img/eclogo.svg);
    background-repeat: no-repeat;
    height: 57px;
    margin: 0 auto;

    /* Hide the text. */
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

/* Login form layout. */
#kc-form-login {
    display: grid;
    grid-template-areas:
        "username username"
        "password password"
        "options login-button";

    .form-group:nth-child(1) {
        grid-area: username;
    }
    .form-group:nth-child(2) {
        grid-area: password;
        margin-bottom: 20px;
    }
    .form-group:nth-child(3) {
        grid-area: options;
        place-self: start;
    }
    .form-group:nth-child(3) .checkbox {
        margin-top: 0;
    }
    .form-group:nth-child(4) {
        grid-area: login-button;
        place-self: start end;
    }
}

/* EC theme. */
.ECButton{
    padding-left: 20px;
    padding-right: 20px;
    background: #8eb245;
    color: #ffffff;
    border: 1px solid #8eb245;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    font-size: 11px;
    border-radius: 2px;
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    -o-transition: background-color 0.2s;
    transition: background-color 0.2s;
    cursor: pointer !important;
    margin-left: 10px;
}

.ec-error-circle-o:before {
    color: #cc0000;
    content: "\e926";
    font-family: "PatternFlyIcons-webfont";
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
}

/* Remove the "Sign in to your account" text */
.formHeader {
    display: none;
}

.login-input {
	width: 40%;
    text-align: left;
	float:left;
	margin-right:12px;
}

.usertext {
	background-color: #fff;
	border: none;
	padding: 5px;
    width: 100%;
	border:1px solid #ccc;
}


@media (min-width: 0px) and (max-width: 767px) {
    .login_page {
        width: 90%;
    }

    .logo_width {
        width: 60%;
    }

    .login-input {
        width: 100%;
        float:none;
        margin-right:0;
        margin-bottom:20px;
    }
}

.alert-error {
    background-color: #ffffff;
    border-color: #cc0000;
    color: #333333;
}

.pf-c-alert .pf-c-alert__icon {
    display: inline;
}

.ec-input-group {
    display: flex;
}

.ec-input-group > button {
    flex: 1;
    margin-left: -1px;
}

/* Alternative login providers. */
.ec-social-account-section hr {
    margin: 0;
}

.ec-social-account-list {
    list-style-type: none;
    padding-inline-start: unset;
}

.ec-social-account-list .ECButton {
    min-width: calc(100% - 4px);
    margin-left: 2px;
    padding-top: 9px;
    padding-bottom: 8px;
    font-size: 12px;
}

.ec-social-account-list li {
    margin: 7px 0;
}

