body {
    font-size: 16px;
}

.login-pf body {
    background: linear-gradient(135deg, #05F5FD 0%, #00FF3D 100%) no-repeat fixed;
    /* background: url("../img/keycloak-bg.png") no-repeat scroll center center; */
    background-size: cover;
}

.login-pf-ww body{
    background: linear-gradient(135deg, #05F5FD 0%, #00FF3D 100%) no-repeat fixed;
    background-size: cover;
}

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background: url(../img/keycloak-logo-2.png) no-repeat;
    height: 63px;
    width: 300px;
    margin: 62px auto 0;
}

div.kc-logo-text {
    background: url(../img/keycloak-logo-text.png) no-repeat;
    height: 63px;
    width: 300px;
    margin: 0 auto;
}

div.kc-logo-text span {
    display: none;
}

#kc-header {
    color: #ededed;
    overflow: visible;
    white-space: nowrap;
}

#kc-header-wrapper {
    font-size: 29px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2em;
    padding: 62px 10px 20px;
    white-space: normal;
}

#kc-content {
    width: 100%;
    padding: 0 20px;
}

#kc-info {
    padding-bottom: 200px;
    margin-bottom: -200px;
}

#kc-info-wrapper {
    font-size: 13px;
}

#kc-form-options span {
    display: block;
}

#kc-form-options .checkbox {
    margin-top: 0;
    color: #72767b;
}

#kc-terms-text {
    margin-bottom: 20px;
}

/* TOTP */

ol#kc-totp-settings {
    margin: 0;
    padding-left: 20px;
}

ul#kc-totp-supported-apps {
    margin-bottom: 10px;
}

#kc-totp-secret-qr-code {
    max-width: 150px;
    max-height: 150px;
}

#kc-totp-secret-key {
    background-color: #fff;
    color: #333333;
    font-size: 16px;
    padding: 10px 0;
}

/* OAuth */

#kc-oauth h3 {
    margin-top: 0;
}

#kc-oauth ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#kc-oauth ul li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    padding: 10px 0;
}

#kc-oauth ul li:first-of-type {
    border-top: 0;
}

#kc-oauth .kc-role {
    display: inline-block;
    width: 50%;
}

/* Code */
#kc-code textarea {
    width: 100%;
    height: 8em;
}

/* Social */

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

#kc-social-providers li {
    display: block;
}

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

.zocial,
a.zocial {
    width: 100%;
    font-weight: normal;
    font-size: 14px;
    text-shadow: none;
    border: 0;
    background: #f5f5f5;
    color: #72767b;
    border-radius: 0;
    white-space: normal;
}

.zocial:before {
    border-right: 0;
    margin-right: 0;
}

.zocial span:before {
    padding: 7px 10px;
    font-size: 14px;
}

.zocial:hover {
    background: #ededed !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
    background-image: none;
    border: 0;

    box-shadow: none;
    text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before {
    content: "\f15d";
}

.zocial.stackoverflow:before {
    color: inherit;
}

.card-pf form.form-actions .btn {
    float: right;
    margin-left: 10px;
}

.card-pf form.form-actions div.term-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.login-pf-page .login-pf-brand {
    margin-top: 20px;
    max-width: 360px;
    width: 40%;
}

.card-pf {
    background: #fff;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 550px;
    border-top: 0;
    box-shadow: 0 40px 60px 0 rgba(0, 0, 0, 0.5);
}

.login-pf-page .login-pf-signup {
    font-size: 15px;
    color: #72767b;
}

#kc-content-wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

.login-pf-page .login-pf-social-link {
    margin-bottom: 25px;
}

.login-pf-page .login-pf-social-link a {
    padding: 2px 0;
}

.login-pf-page.login-pf-page-accounts {
    margin-left: auto;
    margin-right: auto;
}

/* MANUAL STYLE CHANGES - Conciso */

@font-face {
    font-family: 'Pangram';
    src: url('../fonts/pangram/font/Pangram-Light.woff2') format('woff2'),
    url('../fonts/pangram/font/Pangram-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Pangram';
    src: url('../fonts/pangram/font/Pangram-Regular.woff2') format('woff2'),
    url('../fonts/pangram/font/Pangram-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Pangram';
    src: url('../fonts/pangram/font/Pangram-Bold.woff2') format('woff2'),
    url('../fonts/pangram/font/Pangram-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'BasisGrotesquePro';
    src: url('../fonts/BasisGrotesquePro/BasisGrotesquePro-Regular.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BasisGrotesquePro';
    src: url('../fonts/BasisGrotesquePro/BasisGrotesquePro-Bold.otf');
    font-weight: bold;
    font-style: normal;
}

* {
    /* font-family: 'Pangram', sans-serif; */
    font-family: BasisGrotesquePro, serif;
}

/* GENERAL / MAIN */

body {
    width: 100%;
    height: 100%;
}

a, a:hover {
    text-decoration: none;
    color: #FF5711;
}

#kc-info {
    padding-bottom: 0;
    /*
     * There are empty elements in this element (which are not needed).
     * But they would take up space if we did not have this rule.
     */
    margin: 0;
    display: none;
}

.outer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.cc-card-pf {
    margin: auto !important;
    padding: 65px 75px 70px !important;
    background-color: #FFFFFF;
    border-radius: 3px;
    height: auto;
    max-height: 100%;
    overflow: auto;
}

#kc-header {
    margin-bottom: 0;
}

.login-pf-page {
    width: 100%;
    height: 100%;
}

.login-pf-page .login-pf-header {
    display: block !important;
}

.login-pf-page .form-control {
    height: auto !important;
}

/* TYPOGRAPHY */

p, .paragraph {
    margin-top: 25px;
    margin-bottom: 25px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    color: #1A2126;
    margin: 0;
}

h1 {
    font-size: 60px;
    line-height: 70px;
}

h2 {
    font-size: 48px;
    line-height: 58px;
}

h3 {
    font-size: 42px;
    line-height: 54px;
}

h4 {
    font-size: 36px;
    line-height: 46px;
}

h5, h6 {
    font-size: 24px;
    line-height: 35px;
}

.id37-text1, .id37-text2, .id37-text3, .id37-text4 {
    font-weight: normal;
    color: #1A2126;
    margin: 0;
}

.id37-text1 {
    font-size: 21px;
    line-height: 30px;
}

.id37-text2 {
    font-size: 18px;
    line-height: 26px;
}

.id37-text3 {
    font-size: 16px;
    line-height: 22px;
}

.id37-text4 {
    font-size: 14px;
    line-height: 20px;
}

.id37-text-center {
    text-align: center;
}

.id37-heading {
    text-align: center;
    margin-bottom: 10px;
    overflow-wrap: break-word;
}

.id37-subheading {
    color: #1A2126;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    text-align: center;
}

.light-grey-text {
    color: #969799;
    font-size: 12px;
    line-height: 18px;
}

/* LOCALE */

.cc-locale-selector {
    float: right;
    position: relative;
    top: -48px;
    margin-bottom: -48px;
    padding-bottom: 15px;
    right: -64px;
    color: #979799;
    font-size: 12px;
    line-height: 15px;
}

div#kc-locale.float_right {
    position: absolute;
    width: 200px;
    top: 20px;
    right: 20px;
    text-align: right;
    z-index: 9999;
}

#kc-locale {
    text-align: right;
    z-index: 9999;
}

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 0;
    top: 30px;
    min-width: 100px;
    padding: 2px 0;
    border: solid 1px #bbb;
}

#kc-locale:hover ul {
    display: block;
    margin: 0;
    z-index: 9999;
}

#kc-locale ul li a {
    display: block;
    padding: 5px 14px;
    color: #000 !important;
    text-decoration: none;
    line-height: 20px;
}

#kc-locale ul li a:hover {
    color: #4d5258;
    background-color: #d4edfa;
}

#kc-locale-dropdown a {
    color: #1A2126;
    background: 0 0;
    padding: 0 15px 0 0;
    font-weight: bold;
    font-size: 15px;
}

#kc-locale-dropdown a:hover {
    text-decoration: none;
}

a#kc-current-locale-link {
    display: block;
    padding: 0 5px;
}

a#kc-current-locale-link::after {
    content: url(../img/icon_arrow_dropdown.png);
    margin-left: 1px;
    vertical-align: sub;
}

/* ALERTS */

.alert {
    border: 1px solid;
    word-wrap: break-word;
    border-radius: 2px;
    font-size: 14px;
    line-height: 18px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.alert.alert-error {
    background-color: #FA607E;
    border-color: #FA607E;
    color: #FFFFFF;
}

.alert.alert-warning {
    background-color: rgba(253, 192, 28, 0.1);
    border-color: #FDC01C;
    color: #1A2126;
}

.alert > .pficon {
    left: 16px;
    top: 13px;
}

/* FORM */

.form-control {
    height: auto;
    color: #1A2126;
    font-size: 21px;
    font-weight: normal;
    line-height: 26px;
    padding: 13px 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-horizontal .control-label {
    text-align: left;
    padding: 0;
}

label {
    font-weight: bold;
}

label.control-label {
    color: #1A2126;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 0;
}

/* INPUT */

input {
    outline: none;
}

input.form-control:-ms-input-placeholder {
    font-weight: bold;
    color: #C5C6CB;
    font-style: normal;
}

input.form-control:-moz-placeholder {
    font-weight: bold;
    color: #C5C6CB;
    font-style: normal;
}

input.form-control::-moz-placeholder {
    font-weight: bold;
    color: #C5C6CB;
    font-style: normal;
    /* Firefox should not apply an opacity value != 1 to the placeholder texts! (Which it does by default..)  */
    opacity: 1;
}

input.form-control::-webkit-input-placeholder {
    font-weight: bold;
    color: #C5C6CB;
    font-style: normal;
}

input.form-control::placeholder {
    font-weight: bold;
    color: #C5C6CB;
    font-style: normal; /* maybe italic? */
}

input[type=text], input[type=password] {
    font-weight: normal;
    color: #1A2126;
    background-color: #F8F8F8;
    /* border: 1px solid transparent; */
    /* border-radius: 2px; */
    border: none;
    box-shadow: none;
    padding-left: 18px;
}

input[type=text]:hover, input[type=password]:hover {
    /* border-color: #4D7CFE; */
}

input[type=text]:focus, input[type=password]:focus {
    /* border-color: #4D7CFE; */
    /* background-color: #FFFFFF; */
    box-shadow: none;
}

input[type=text].errorTextField, input[type=password].errorTextField {
    /* border: 1px solid #FA607E; */
    border: none;
    background-color: rgba(250, 96, 126, 0.1);
    color: #FA607E;
}

.input-info {
    margin-top: -17px;
    margin-bottom: 22px;
}

/* BUTTONS */

.btn, input[type=submit].loginButton, input[type=submit].btn-block {
    color: #1A2126;
    font-size: 18px;
    font-weight: bold;
    line-height: 23px;
    text-align: center;
    max-width: 350px;
    height: 54px;
    border: 2px solid #FF5711;
    border-radius: 0;
    background-image: none;
    margin: 0;
    outline: none !important;
}

.btn:focus,
.btn:active,
.btn:hover,
.btn:active:focus {
    outline: 0 auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.btn.btn-primary {
    margin: 0;
    background-color: #FFFFFF !important;
    border-color: #FF5711 !important;
}

.btn.btn-primary:focus,
.btn.btn-primary:active,
.btn.btn-primary:hover,
.btn.btn-primary:active:focus {
    background-color: #FFFFFF !important;
    border-color: #FF5711 !important;
}

.btn.btn-primary:disabled {
    background-color: #C5C6CB !important;
    border-color: #C5C6CB !important;
}

input[type=submit].loginButton {
    margin: -5px auto auto;
}

/* ICONS */

.pficon .pficon-error-circle-o {
    display: none;
}

.icon-emergency-triangle-outline {
    height: 20px;
    width: 20px;
    content: url(../img/icon_emergency_triangle_outline.svg);
}

.pficon-error-circle-o:before {
    content: url(../img/Icon_close.svg);
}

/* HELPER */

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.pb-18px {
    padding-bottom: 18px;
}

.pb-20px {
    padding-bottom: 20px;
}

.pb-22px {
    padding-bottom: 22px;
}

.m-0 {
    margin: 0;
}

.mt-5px {
    margin-top: 5px;
}

.mb-10px {
    margin-bottom: 10px;
}

.mb-12px {
    margin-bottom: 12px;
}

/* CUSTOM CHECKBOX */

/* Customize the container */
.cc-checkbox-container {
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.cc-checkbox-container input {
    display: none;
}

/* Create a custom checkbox */
.cc-checkbox {
    position: absolute;
    height: 24px;
    width: 24px;
    background-color: #F6F7FB;
    border-radius: 2px;
    border: 1px solid #E1E2E7;
}

/* Create the cc-checkbox/indicator (hidden when not checked) */
.cc-checkbox:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the cc-checkbox when checked */
.cc-checkbox-container input:checked ~ .cc-checkbox:after {
    display: block;
}

/* Style the cc-checkbox/indicator */
.cc-checkbox-container .cc-checkbox:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid #FF5711;
    border-width: 0 2px 2px 0;

    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* CUSTOM CHECKBOX */

/*Registration page. Radio buttons customization=>*/
.cc-radio-container {
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.cc-radio-container input {
    display: none;
}

/* Create a custom radio button */
.cc-radio-button {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-color: #F6F7FB;
    border-radius: 50%;
    border: 1px solid #E1E2E7;

}

/* Create the indicator (the dot/circle - hidden when not checked) */
.cc-radio-button:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.cc-radio-container input:checked ~ .cc-radio-button-label {
    font-weight: bold;
    color: #1A2126;
}

.cc-radio-container input:checked ~ .cc-radio-button:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.cc-radio-container .cc-radio-button:after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #FF5711;
}

.cc-radio-button-label {
    display: inline-block;
    vertical-align: top;
    font-weight: normal;
    margin-top: 3px;
    margin-left: 8px;
    margin-right: 8px;
}

/* CUSTOM SPACINGS / ELEMENT STYLES */

.newHere {
    text-align: center;
    margin-top: -8px;
    margin-bottom: -4px;
}

.agb-accept-label {
    font-size: 14px;
    margin-left: 36px;
}

.agb-accept-checkbox {
    margin-left: -36px;
}

.login-header-info {
    overflow-wrap: break-spaces;
}

.login-header-spacing {
    padding-bottom: 18px;
}

.register-header-spacing {
    padding-bottom: 15px;
}

.register-disclaimer-spacing {
    margin-bottom: 25px;
}

.register-back-to-start-spacing {
    margin-bottom: 15px;
}

.password-forgotten-header-spacing {
    padding-bottom: 18px;
}

.password-forgotten-back-to-start-spacing {
    margin-bottom: inherit;
}

.verify-email-header-spacing {
    padding-bottom: 20px;
}

.verify-email-instruction1-spacing {
    margin-bottom: 10px
}

.verify-email-instruction2-spacing {
    margin-bottom: -10px;
}

.info-options-spacing {
    margin-bottom: 25px;
}

/* RESPONSIVE CHANGES */

@media (max-width: 768px) {
    .cc-card-pf {
        width: 340px;
        padding: 58px 24px 46px !important;
        background-color: #FFFFFF;
        border-radius: 3px;
    }

    #kc-content {
        padding: 0;
    }

    h3 {
        font-size: 24px;
        line-height: 29px;
    }


    .hidden-on-mobile {
        display: none;
    }

    .id37-subheading {
        font-size: 16px;
        line-height: 22px;
    }

    .cc-locale-selector {
        top: -38px;
        margin-bottom: -38px;
        padding-bottom: 15px;
        right: -10px;
    }

    .input-info {
        margin-top: -17px;
        margin-bottom: 40px;
    }

    .login-header-info {
        overflow-wrap: break-spaces;
    }

    .login-header-spacing {
        padding-bottom: 6px;
    }

    .register-header-spacing {
        padding-bottom: 6px;
    }

    .register-disclaimer-spacing {
        margin-bottom: 20px;
    }

    .register-back-to-start-spacing {
        margin-bottom: 6px;
    }

    .password-forgotten-header-spacing {
        padding-bottom: 6px;
    }

    .password-forgotten-back-to-start-spacing {
        margin-bottom: -12px;
    }

    .verify-email-header-spacing {
        padding-bottom: 12px;
    }

    .verify-email-instruction1-spacing {
        margin-bottom: 16px
    }

    .verify-email-instruction2-spacing {
        margin-bottom: 0;
    }

    .info-options-spacing {
        margin-bottom: 20px;
    }

}

.error-message-margin {
    margin-top: 20px;
}

/*ABG's and Master EULA*/
h3.term-header {
    height: 38px;
    text-align: center;
    color: #1A2126;
    font-size: 32px;
    font-weight: 300;
    line-height: 38px;
}

h3.term-subheader {
    height: 24px;
    margin-bottom: 14px;
    color: #383838;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
}

h3.term-content {
    margin-bottom: 29px;
    color: #1A2126;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
}

div.term-text {
    overflow-y: auto;
    height: 390px;
    cursor: text;
}

div.login-pf-page.login-pf-page-accounts {
    padding-top: 2em;
}

input#kc-accept.btn.btn-primary,
input#kc-decline.btn.btn-default {
    display: inline-flex;
    justify-content: center;
    float: none;
    margin: 0.25em;
    width: auto;
    padding: 0.75em 2em;
    height: auto;
    box-sizing: border-box;
    min-width: 170px;
}

input#kc-accept.btn.btn-primary:hover,
input#kc-decline.btn.btn-default:hover {
    color: #4D5258;
}

#kc-decline.btn.btn-default {
    background-color: white;
    border-color: darkgrey;
}

/*Customize scrollbar for Chrome*/

.term-text::-webkit-scrollbar {
    width: 3px;
    background-color: #C5C6CB;
}

.term-text::-webkit-scrollbar-track {
    width: 3px;
}

.term-text::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: #FF5711;
}

/*for "Terms and conditions" form*/
@media (min-width: 768px) {
    .login-pf-page .login-pf-header {
        margin-bottom: 30px;
    }
}

* {
    box-sizing: border-box;
}
