/** css */

/**
 * overwrite default.css
 */

html {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: Arial,sans;
    background-color: #F8F9FA;
}

a {
    color: #666;
    text-decoration: none;
}

.error {
    font-family: inherit !important;
    color: #ec001c !important;
}

.icon {
    width: 18px;
}

.customnavi__link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.customnavi__link span {
    margin-right: 8px;
    text-align: right;
}

a:hover {
    text-decoration: underline;
}

input {
    padding: 8px 4px !important;
}

.btn, button, fieldset button[type="submit"] {
    width: 100%;
    border-radius: 4px;
    outline: none;
    border: none;
    padding: 8px 16px;
    box-shadow: 2px 4px 6px rgba(0,0,0,0.19);
}

.btn:hover, button:hover {
    cursor: pointer;
}

.btn--cta, fieldset button[type="submit"]  {
    background-color: #E0001B;
    color: white;
    text-transform: uppercase;
}

.btn--cta:hover, fieldset button[type="submit"]:hover  {
    background-color: #ec001c;
}

.error-message {
    color: #ec001c;
    text-align: left;
    margin-bottom: 4px;
}

.error-message.error {
    padding-left: 10px;
}

.error-message .errorlist {
    padding: 0;
}

.error-message .errorlist ul, .errorlist ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

div#page {
    min-height: 80vh;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    padding: 16px;
    background-color: white;
    text-align: center;
    margin-top: 72px;
    margin-bottom: 40px;
    border-radius: 2px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

#logo, #logomla {
    max-width: 100%;
}
#logo img, #logomla img {
    max-width: 100%;
}

fieldset {
    border: none;
    overflow-x: unset;
}

fieldset:hover {
    border: none;
    background-color: white;
}

fieldset input, fieldset select {
    width: 100%;
    min-width: 40px !important;
    padding: 8px;
}

fieldset select:hover {
    cursor: pointer;
}

/* login form */

#loginform input {
    margin-bottom: 8px;
}

#loginform input.btn--cta {
    margin-top: 8px;
}
#loginform .checkbox-save-login {
    display: flex;
    align-items: center;
    justify-content: center;
}

#loginform .checkbox-save-login input {
    margin: 0 4px 1px 0;
}

#loginform .checkbox-save-login input:hover, #loginform .checkbox-save-login label:hover {
    cursor: pointer;
}

/* crm-form */
.customnavi {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 24px;
}

.customnavi #logo {
    margin: 8px;
}

.customnavi__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 14px;
}

#ewerkcrmform, #recoverForm {
    max-width: 300px;
}

.checklist-label {
    text-align: left;
    margin-bottom: 8px;
}

.checklist {
    display: block;
    overflow-y: auto;
    height: 250px;
    min-height: 200px;
    max-height: 250px;
    border: 1px solid #aaa;
    border-radius: 4px;
    max-width: 250px;
    padding-bottom: 8px;
}
.checklist__item {
    text-align: left;
    display: block;
    margin: 8px 0 0 5px;
}

.checklist__item input[type="checkbox"] {
    max-width: 35px;
    width: 35px;
    display: inline-block;
    margin-top: 1px;
    vertical-align: top;
}

.checklist__item input:hover, .checklist__item label:hover {
    cursor: pointer;
}

.checklist__item-label {
    margin: 0;
    padding: 0;
    text-align: left;
    max-width: 100%;
    width: calc(100% - 40px);
    word-break: break-all;
    display: inline-block;
}

/* PW reset page */

#resetpassForm #fs_user_password1 {
    position: relative;
}
#resetpassForm #fs_user_password1 .btn_itm_infor {
    position: absolute;
    bottom: 19px;
    right: -10px;
}
/* mobile styles */

@media only screen and (max-width: 450px) {
    div#page {
        margin-top: 24px;
        margin-bottom: 24px;
        width: 90%;
    }
}
