h1 {
	font-size: 32px;
}

h2 {
	font-size: 24px;
}

.centered {
	text-align: center;
}

/* IE 11.0 bug - RHDENG-856 */
.wrapper {
	flex: auto !important;
}

/* Compatibility with jquery.validate */
.error input.valid, .error textarea.valid, .error select.valid {
	margin-bottom: 1rem !important;
}
.error input.pending, .error textarea.pending, .error select.pending {
	margin-bottom: 0 !important;
}

select {
	margin: initial;
	font-size: 1em;
}
.options-wrapper {
	margin-top: 10px;
}

label.label-for-checkbox {
	line-height: inherit;
}
input[type=checkbox] {
	vertical-align: middle;
}
.checkbox .small-1 {
	width: 20px;
}
.checkbox .small-22 {
	max-width: 90%;
}

#kc-form-buttons input, #kc-form-buttons button {
	margin-right: 10px;
}

nav.accounts ul li.logged-in {
	display: block;
}

.line-around:before {
	right: 0.5em;
	margin-left: -50%;
}

.line-around:after {
	left: 0.5em;
	margin-right: -50%;
}

.full-reg-form-only, .rhdterms-only, .download-show {
	display: none;
}

.hideme {
	display: none !important;
}

.orcolumn .orcolumn-wrapper {
    margin: 0 auto;
    width: 10px;
    color: #e7e7e7;
}
.orcolumn .orcolumn-divider {
    border-left: 1px solid #e7e7e7;
    height: 145px;
}

#kc-register .orcolumn .orcolumn-divider {
    height: 155px;
}
.orcolumn .orcolumn-or {
    font-size: 20px;
    position: relative;
    left: -8px;
}

.kc-loginpage #kc-form-buttons {
    padding-top: 10px;
}

.kc-loginpage #kc-form-buttons .heavy-cta {
	padding-left: 40px;
	padding-right: 40px;
}

.kc-loginpage {
	margin-bottom: 50px;
}
.kc-wrapper .kc-provider-login {
	width: 52px;
	height: 52px;
}

/** Choices styling */
/* Mobile */
#kc-register-form-column, #kc-register-social-column {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

.login-choice-title {
	font-size: 20px;
	text-transform: uppercase;
	margin: 15px 0;
}
#kc-register h2.login-choice-title.register-choice-main {
	margin: 0;
}

.login-main-row h2.login-choice-title, #kc-register h2.login-choice-title.register-choice-main {
	color: #c00;
}

#kc-register h2.login-choice-title.register-choice-main {
	text-transform: none;
}

@media only screen and (max-width: 480px) {
	.kc-wrapper .kc-card {
		border-bottom: 1px solid #afb1b2;
	}
	.content {
		padding: 0;
	}
}

/** Input fields styling */
select:hover {
	background-color: #FAFAFA;
	border: 1px solid #ccc
}
input[type="text"]:disabled, input[type="text"]:read-only{
    color: #8c8f91;
}

.field__item, .field {
	display:block;
}

.rhd-adaptive-placeholder .field.error {
	margin-bottom: 0;
}

.rhd-adaptive-placeholder select {
	height: 3.2em;
	padding: 1.2em 5px 5px 15px;
}
.rhd-adaptive-placeholder textarea:focus+label, .rhd-adaptive-placeholder input:focus+label, .rhd-adaptive-placeholder select:focus+label {
	color: #656565;
}
.rhd-adaptive-placeholder label {
	bottom: 25px;
}
.rhd-adaptive-placeholder select.filled+label, .rhd-adaptive-placeholder select:focus+label, .rhd-adaptive-placeholder textarea.filled+label, .rhd-adaptive-placeholder textarea:focus+label, .rhd-adaptive-placeholder input.filled+label, .rhd-adaptive-placeholder input:focus+label {
	bottom: 35px;
}
.rhd-adaptive-placeholder input:-webkit-autofill ~ label[for=username] {
	bottom: 35px;
}
.kc-wrapper .kc-card .field+.field {
	margin-top: 20px;
}

span.error + div.field.form-field-note-text {
    margin-top: 0px; 
}

.rhd-adaptive-placeholder input.form-field-with-note {
	margin-bottom: 0px;
}

.rhd-adaptive-placeholder div.field.form-field-note-text {
    margin-top: 5px; 
    font-size: 0.75rem; 
    line-height: 120%;
}

span.error, small.error {
	background-color: transparent;
	color: #f04124;
	font-style: normal;
	line-height: 120%;
	margin-bottom: 0;
	padding: 5px 0 5px 9px;
}
.checkbox span.error {
	padding: 0;
}
.rhd-adaptive-placeholder textarea.error, .rhd-adaptive-placeholder input.error, .rhd-adaptive-placeholder select.error{
	border: 1px solid #f04124;
	color: #f04124 !important;
}
.field .error+label,.field .error:focus+label {
	color: #f04124 !important;
}

.password-input, .username-input {
	margin-bottom: 0 !important;
}

.form-hint {
	text-align: right;
	margin-bottom: 1rem;
	color: #8c8f91;
}

#kc-registration {
	margin-top: 30px;
}

.alert-box {
	margin-bottom: 0;
	font-size: 22px;
}

.alert-box a, .alert-box a:visited {
    color: white;
    text-decoration: underline;
}

#kc-form-login #kc-form-options {
	margin: 0 0 1rem 0;
}

#kc-register-title {
	padding-bottom: 20px;
}
#kc-register {
	padding-top: 0;
}
#kc-register-form h3 {
	font-size: 1.2rem;
}

#kc-register-form #kc-form-buttons {
    padding-top: 20px;
}

#kc-register-form .rhd-adaptive-placeholder, #kc-update-profile-form .rhd-adaptive-placeholder {
	margin-bottom: 20px;
}

#kc-update-profile-form label {
	display: inline;
}

.tac-all-wrapper {
	padding: 0 0 0 10px;
	margin-left: 8px;
	border-left: #e7e7e7 1px solid;
}
.tac-all-wrapper div.checkbox:last-child {
	line-height: 100%;
}
.tac-all-wrapper div.checkbox:last-child input {
	margin-bottom: 0;
}
.tac-all-wrapper label {
    font-size: 11px !important;
	padding-top: 3px;
}

/* Social */
.social-provider {
	color: white !important;
    font-size: 19px !important;
}

a.social-provider, #kc-register .button {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
}

.social-provider .fa {
    margin-right: 5px;
}

a.social-provider {
    padding: 0.6em 0.2em !important;
}

a.social-provider:hover, a.social-provider:focus {
	background-color: initial !important;
}

.social-provider.twitter {
	background-color: #46c0fb;
}

.social-provider.google-plus {
	background-color: #dd4b39;
}

.social-provider.linkedin-square {
	background-color: #0083a8;
}

.social-provider.facebook {
	background-color: #4863ae;
}

.social-provider.github, .social-provider.stack-overflow {
	color: #252527 !important;
}
.social-provider.windows {
	background-color: #2672ec;
}

#kc-social-providers ul {
	padding: 0;
	margin: 0;
}

#kc-social-providers li {
	display: inline;
	margin-top: 5px;
}

#kc-social-providers li:first-of-type {
	margin-top: 0;
}

.social-provider.stack-overflow .fa {
	color: #f90 !important;
}

.social-provider.jbossdeveloper {
    background: #4a5d75 url("../img/jbossdev_icon_reversed.svg") !important;
}

.confirm-link-idp-sections .columns {
	padding-right: 20px !important;
	padding-bottom: 20px !important;
}

.confirm-link-idp-section {
	background-color: #e6e7e8;
	padding: 20px;
}

.confirm-link-idp-section-hint {
	min-height: 50px;
}

/* Password Toggle */
.rhdPasswordToggle {
	background: transparent;
	border: 0;
	border-radius: 0.25em;
	color: #888;
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	margin-right: 0.5em !important;
	padding: 0.5em;
	text-transform: uppercase;
	-moz-appearance: none;
	-webkit-appearance: none;
}

.rhdPasswordToggle:hover, .rhdPasswordToggle:focus {
	background-color: #dcdcdc;
	color: #555;
	outline: transparent;
}

.hideShowPassword-field {
	padding-right: 65px !important;
}

/* EU Cookie Banner https://issues.jboss.org/browse/RHDENG-1175 */
#eu-cookie-banner {
	background-color: #fee9b2;
	color: #424242
}

#eu-cookie-banner p {
	margin: 5px;
	font-size: 13px;
	width: calc(100% - 60px)
}

#eu-cookie-banner span.read-more a {
	float: right;
	font-weight: 600;
	color: #c00
}

#eu-cookie-banner button.close-button {
	color: #424242;
	background: none;
	padding: 0 8px;
	font-size: 1.4em;
	margin-bottom: 0;
	float: right;
	width: 50px
}

@media only screen and (max-width: 1024px) {
	#eu-cookie-banner span.read-more {
		display: block
	}

	#eu-cookie-banner span.read-more a {
		float: none
	}
}

