@charset "UTF-8";

@font-face {
    font-family:"ITC Avant Garde Gothic W01 Bd";
    src:url("../fonts/ITCAvantGarde/Fonts/1564347/4cadb55f-822a-4a35-8918-becfc5a866a3.woff2") format("woff2"),
    url("../fonts/ITCAvantGarde/Fonts/1564347/af007af5-dcfa-465a-a278-47ab3eb9a589.woff") format("woff");
}

@font-face {
    font-family: 'Helvetica Neue LT Std';
    src: url('../fonts/HelveticaNeue/HelveticaNeueLTStd-Lt.woff2') format('woff2'),
        url('../fonts/HelveticaNeue/HelveticaNeueLTStd-Lt.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue LT Std';
    src: url('../fonts/HelveticaNeue/HelveticaNeueLTStd-Roman.woff2') format('woff2'),
        url('../fonts/HelveticaNeue/HelveticaNeueLTStd-Roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue LT Std';
    src: url('../fonts/HelveticaNeue/HelveticaNeueLTStd-Md.woff2') format('woff2'),
        url('../fonts/HelveticaNeue/HelveticaNeueLTStd-Md.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Publico Text Web';
    src: url('../fonts/PublicoRoman/PublicoText-Roman-Web.woff2') format('woff2'),
    url('../fonts/PublicoRoman/PublicoText-Roman-Web.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
}


html {
    box-sizing: border-box;
    height: 100%;
}
*,
*::before,
*::after {
    box-sizing: inherit;
}

a {
    color: #000000;
    text-decoration: underline;
}

body {
    background-color: #000000;
    background-image: url("../img/login-background-mcam-banner.jpg");
    background-repeat: no-repeat;
    background-position: 80% 25%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Helvetica Neue LT Std', 'Helvetica Neue', 'HelveticaNeue', 'Helvetica', 'Arial', 'sans-serif';
    margin: 0;
    padding: 0;
}


/* ------------------------------------ */
/* KeyCloak classes - styling overrides */
/* ------------------------------------ */
.login-pf-page {
    display: flex;
    max-width: 1280px;
    margin: 80px auto 0 auto;
    justify-content: center;
}
@media (min-width: 960px) {
    .login-pf-page {
        flex-direction: row;
        align-items: center;
        margin-top: 80px;
    }
}

.login-pf-page-header {
    background-color: transparent;
    height: 88px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 99;
}

.login-pf-header > svg {
    margin-bottom: 24px;
    width: 75%;

}

#kc-header-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

#kc-header-wrapper .kc-header-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

#kc-header-wrapper svg {
    height: 48px;
}
#kc-header-wrapper svg path:first-of-type {
    color: #ffffff;
    fill: currentColor;
}

#kc-content-wrapper .alert-error.pf-m-danger {
    background-color: #ff000f;
    color: #ffffff;
    margin-bottom: 25px;
    padding: 20px;
}
#kc-content-wrapper .alert-success.pf-m-success {
    background-color: #141414;
    color: #ffffff;
    margin-bottom: 25px;
    padding: 20px;
}

.card-pf {
    background-color: #ffffff;
    max-width: 500px;
    padding: 32px;
    border-radius: 4px;
    margin: 0 25px;
}

@media(min-width: 720px) {
    .card-pf {
        margin: 0 0 0 25px;
        flex: 0 0 500px;
        padding: 56px;
    }
}

.card-pf .login-pf-header h1 {
    color: #000000;
    font-family: 'Publico Text Web', 'sans-serif';
    font-weight: 500;
    font-size: 32px;
    margin-bottom: 25px;
    margin-top: 0;
}

@media (min-width: 540px) {
    .card-pf .login-pf-header h1 {
        width: 80%;
    }
}

.form-group:not(:last-child) {
    margin-bottom: 25px;
}

.form-group > label {
    margin-bottom: 0.5rem;
    display: inline-block;
    font-weight: 500;
}

.form-group .control-label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
}

.form-group .form-control {
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #5a5a5a;
    color: #323232;
    display: block;    
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.33;
    width: 100%;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    padding: 12px 0.75rem;
    border-radius: 4px;
    appearance: none;
}
.form-group .form-control:focus {
    color: #323232;
    background-color: #fff;
    border-color: #007bff;
    outline: 0;
    box-shadow: none;
}

.form-group .checkbox input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 24px;
    border: 1px solid #000000;
    margin: 0 10px -6px 0;
    width: 24px;
}
.form-group .checkbox input[type="checkbox"]:checked {
    background-image: url("../img/icons-check.svg");
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 18px;
}

.form-group p{
    margin-top: 3rem;
    font-weight: 600;
}

#kc-form-buttons{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (min-width: 960px) {
    #kc-form-buttons {
        flex-direction: row;
    }
}

.form-group .btn {
    cursor: pointer;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    vertical-align: middle;
    user-select: none;
    font-family: 'Helvetica Neue LT Std', 'Helvetica Neue', 'HelveticaNeue', 'Helvetica', 'Arial', 'sans-serif';
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 4px;
    text-decoration: none;
    padding: 4px 0 4px 8px;
    flex-grow: 1;
}

.btn-primary {
    background-color: #000000;
    border: 2px solid #000;
    color: #ffffff;
    padding: 4px 16px;
}

.btn-primary:hover {
    background-color: #323232;
    border-color: #323232;
}

.btn-primary--light {
    border: 2px solid #fff;
    color: #000;
    padding: 4px 16px;
    background-color: transparent;
}

.btn-primary--light:hover {
    border: 2px solid #fff;
    background-color: transparent;
}

.btn-login, .btn-fpw{
    width: 100%;
    margin-bottom: 0.5rem;
}

@media (min-width: 960px) {
    .btn-fpw {
        margin-left: 8px;
    }
    .btn-login, .btn-fpw{
        margin-bottom: 0;
    }
}

.btn-fpw {
    float: right;
}

.form-group .btn, .form-group .btn > svg {
    transition: 200ms ease-in-out;
}

.form-group .btn:hover > svg {
    color: #ff000f;
    transform: translateX(6px);
}

#kc-info {
    background-color: #efefef;
    margin-top: 16px;
    padding: 20px;
}

.mb-2 {
    margin-bottom: 16px;
}


/* ------------------------ */
/* Custom = Promotion block */
/* ------------------------ */
.mcam-promotion-block {
    display: none;
    max-width: 780px;
    padding: 80px;
}
@media (min-width: 960px) {
    .mcam-promotion-block {
        display: block;
    }
}

.mcam-promotion-block .pb-tagline {
    font-family: 'Helvetica Neue LT Std', 'Helvetica Neue', 'HelveticaNeue', 'Helvetica', 'sans-serif';
    font-size: 1.125rem;
    font-weight: 500;
    color: #ff000f;
    line-height: 26px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.mcam-promotion-block .pb-headline {
    color: rgba(255,255,255,0.95);
    font-family: 'Publico Text Web, ITC Avant Garde Gothic W01 Bd', 'sans-serif';
    font-size: 3.87rem;
    line-height: 60px;
    margin: 25px 0;
    font-weight: normal;
}
.mcam-promotion-block .pb-body {
    color: rgba(255,255,255,0.95);
    font-family: 'Helvetica Neue LT Std', 'Helvetica Neue', 'HelveticaNeue', 'Helvetica', 'Arial', 'sans-serif';
    font-weight: normal;
    font-size: 1.125rem;
    line-height: 26px;
    margin-bottom: 40px;
}

.mcam-promotion-block .pb-cta {
    align-items: center;
    display: inline-flex;
    font-family: 'Helvetica Neue LT Std', 'Helvetica Neue', 'HelveticaNeue', 'Helvetica', 'Arial', 'sans-serif';
    flex-shrink: 0;
    color: #ffffff;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    user-select: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 4px;
    transition: background-color .5s ease,color .5s ease;
}
.mcam-promotion-block .pb-cta svg {
    position: relative;
    left: 0;
    margin-left: 4px;
    height: 32px;
    width: 32px;
    transition: all .15s ease-in;
}

.mcam-promotion-block .pb-cta:hover {
    text-decoration: underline;
}

.mcam-promotion-block .pb-cta:hover svg {
    left: 6px;
}

/* FOOTER */

.mcam-login-footer {
    border-top: 1px solid grey;
    color: #808080;
    padding: 32px;
    /*display: none;*/
    justify-content: space-between;
    max-width: calc(1280px - 120px); /* minus 120 for considering the padding left and right in the card*/
    margin: 100px auto 0 auto;
}

.mcam-login-footer > p {
    margin: 0;
}

.mcam-login-footer__socials {
    display: flex;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 0;
}

.mcam-login-footer__socials > a{
    width: 24px;
    height: 24px;
}

.mcam-login-footer__socials > a:not(:last-child){
    margin-right: 32px;
}

.mcam-login-footer__socials > a > svg {
    color: #808080;
    width: 100%;
    height: 100%;
}

@media(min-width: 960px){
    .mcam-login-footer {
        margin-top: 175px;
    }

    .mcam-login-footer__text{
        display: inline-block;
    }

    .mcam-login-footer__socials {
        float: right;
        padding-top: 0;
    }
}

/*********************************/
/** Password Strength Indicator **/
/*********************************/

.password-strength-indicator {
    width: 100%;
    display: flex;
    margin-top: 8px;
    font-size: 12px;
    flex-direction: column;
}
.password-strength-item:not(:last-child) {
    margin-bottom: 4px;
}

@media (min-width: 576px) {
    .password-strength-indicator{
        flex-direction: row;

    }

    .password-strength-item:not(:first-child) {
        margin-left: 16px;
    }

    .password-strength-item:not(:last-child) {
        margin-bottom: 0;
    }
}

.password-strength-item{
    display: flex;
    align-items: center;
}

.password-strength-item > svg {
    height: 16px;
    width: 16px;
    margin-right: 4px;
}

.password-strength-item > svg, .password-strength-item > span {
    color: #69879e;
    fill: #69879e;
    transition: 200ms ease-in-out;
}

.password-strength-indicator .valid > svg, .password-strength-indicator .valid > span {
    fill: #2b7829;
    color: #2b7829;
}
