@font-face {
    font-family: Larsseit;
    src: url('https://maison-moderne-salesforce-community.s3.eu-central-1.amazonaws.com/assets/fonts/Larsseit+Family/Type+Dynamic+-+Larsseit.otf') format('opentype');
}

@font-face {
    font-family: Larsseit;
    src: url('https://maison-moderne-salesforce-community.s3.eu-central-1.amazonaws.com/assets/fonts/Larsseit+Family/Type+Dynamic+-+Larsseit+Bold.otf') format('opentype');
    font-weight: 700;
}

@font-face {
    font-family: Larsseit;
    src: url('https://maison-moderne-salesforce-community.s3.eu-central-1.amazonaws.com/assets/fonts/Larsseit+Family/Type+Dynamic+-+Larsseit+Italic.otf') format('opentype');
    font-style: italic;
}

@font-face {
    font-family: Larsseit;
    src: url('https://maison-moderne-salesforce-community.s3.eu-central-1.amazonaws.com/assets/fonts/Larsseit+Family/Type+Dynamic+-+Larsseit+Bold+Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    color: #333;
    font-family: Larsseit, Arial;
    background-color: hsla(12, 6%, 84%, .5);
    display: table;
    line-height: 1.3;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow-x: hidden; 
}

a, a.theme {
    text-decoration: none;
    color: #E50046;
}

body a:hover, body a.theme:hover, .cSelfRegister a:hover {
    color: #B20036;
}

img {
    max-width: 100%;
    height: auto;
}

.mm-main {
    height: 100%;
    display: table-cell;
}

.mm-main-wrap {
    height: 100%;
    display: flex;
    flex-flow: column;
    position: relative;
}

.mm-side {
    display: table-cell;
    vertical-align: top;
    width: 50%;
    height: 100%;
}

@media screen and (max-width: 1024px) {
    .mm-side {
        display: none;
    }
}

.mm-side iframe {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: none;
    float: right;
}

.mm-content {
    margin: auto;
    padding: 20px 10px 10px 10px;
    width: 100%;
    max-width: 360px;
}

.mm-login-logo {
    margin: 0 auto 30px auto;
    max-width: 280px;
}

.mm-login-title {
    font-size: 22px;
    margin: 0 auto 5px auto;
    padding: 0 30px;
    max-width: 320px;
    text-align: center;
}

.mm-login-description {
    font-size: 14px;
    margin: 0 auto 20px auto;
    padding: 0 15px;
    max-width: 320px;
    text-align: center;
}

#component, .mm-form {
    margin: 10px auto;
}

.mm-navigation {
    font-size: 14px;
    margin: 0 auto 10px auto;
    padding: 0 30px;
    max-width: 320px;
    text-align: center;
}

.cSSOLogin p,
.cSSORegister p,
.cSSOForgotPassword p,
.cSSOChangePassword p {
    font-size: 14px;
}

.mm-login-footer {
    padding: 0 20px 15px 20px;
    text-align: center;
    width: 100%;
    font-size: 12px;
}

.slds-scope {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    background: inherit;
    color: inherit;
    -webkit-tap-highlight-color: inherit;
}

.cLoginForm button.sfdc_button,
.cForgotPassword button.sfdc_button,
.cSelfRegister button.sfdc_button,
.cLoginForm button.sfdc_button:active,
.cForgotPassword button.sfdc_button:active,
.cSelfRegister button.sfdc_button:active,
.cLoginForm button.sfdc_button:focus,
.cForgotPassword button.sfdc_button:focus,
.cSelfRegister button.sfdc_button:focus,
.slds-scope button.slds-button_brand,
.slds-scope button.slds-button_brand:focus,
.mm-form input[type=submit] {
    background: #E50046;
    background-color: #E50046;
    border: none;
    border-radius: 0;
    box-shadow:none;
    outline: none;
    text-transform: uppercase;
}

.slds-scope button.slds-button_brand {
    padding: 5px 12px;
    width: 100%;
}

.mm-form input[type=submit]{
    text-shadow: none;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    margin-top: 5px;
}

.cLoginForm button.sfdc_button:not([disabled]):hover,
.cForgotPassword button.sfdc_button:not([disabled]):hover,
.cSelfRegister button.sfdc_button:not([disabled]):hover,
.slds-scope button.slds-button_brand:not([disabled]):hover,
.mm-form input[type=submit]:not([disabled]):hover {
    background-color: #B20036;
    background: #B20036;
}

#sfdc_forgot {
    display: none;
}

#error{
    padding-bottom: 10px;
}

.login-icon {
    display: none;
}

.form-element__label {
    display: none;
}

.cLoginForm #sfdc_username_container,
.cLoginForm #sfdc_password_container,
.cForgotPassword #sfdc_username_container,
.cSelfRegister #sfdc_nickname_container,
.cSelfRegister #sfdc_username_container,
.cSelfRegister #sfdc_email_container,
.cSelfRegister .navigation {
    padding: 0;
    border: 0;
    background-color: inherit;
    font-size: 14px;
}

.cSelfRegister #sfdc_nickname_container .slds-form-element__label {
    font-size: 14px;
    color: inherit;
}

input[type='text'],
input[type='password'],
input[type='submit'],
.slds-scope .slds-input {
    display: block;
    border: 1px solid #CCC;
    color: rgba(0,0,0,0.75);
    font-size: 14px;
    font-weight: normal;
    font-family: inherit;
    padding: 8px;
    height: 37px;
    width: 100%;
    margin: 0px;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    border-radius: 0;
}

input[type='checkbox'] {
    -webkit-appearance: checkbox;
    float: left;
    margin: 0;
}

.slds-scope .slds-has-error .slds-form-element__help {
    font-size: 14px;
}

.error{
    color: #ff0000;
    font-weight: 700;
}

.mm-form .mm-input-container {
    padding-bottom: 10px;
}

.uiButton--default .label {
    color: #fff;
    text-shadow: none;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.uiButton--default {
    text-shadow: none;
    box-shadow: none;
    margin: 0;
}

.cCenterPanel {
    box-shadow: none;
    width: 360px;
}

#auraErrorMessage {
    position: absolute;
    left: 0;
    width: 50%;
    padding: 20px 30px;
}

#loading {
    font-size: 10px;
    margin: 50px auto;
    text-indent: -9999em;
    width: 11em;
    height: 11em;
    border-radius: 50%;
    background: #E50046;
    background: -moz-linear-gradient(left, #E50046 10%, rgba(255, 255, 255, 0) 50%);
    background: -webkit-linear-gradient(left, #E50046 10%, rgba(255, 255, 255, 0) 50%);
    background: -o-linear-gradient(left, #E50046 10%, rgba(255, 255, 255, 0) 50%);
    background: -ms-linear-gradient(left, #E50046 10%, rgba(255, 255, 255, 0) 50%);
    background: linear-gradient(to right, #E50046 10%, rgba(255, 255, 255, 0) 50%);
    position: relative;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

@-webkit-keyframes load3 {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
}

@keyframes load3 {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
}
  
#auraErrorMessage {
    display: none;
}