
:root {
    --side-bar-width: 300px;
    --primary-color-netjesscheiden: #443c84;
    --secondary-color-netjesscheiden: #74ddfa;
    --hover-color-netjesscheiden: #564F90;
    --primary-color-judex: #646582;
    --secondary-color-judex: #f28320;
    --hover-color-judex: #df7004;
    --google-drive-upload-color: #1c8dd5;
    --google-drive-upload-color-hover: #197eb7;
    --input-border-radius: 5px;
    --header-size: 90px;
}

.main {
    /*margin-top: 3rem;*/
    margin-bottom: 4rem;
    margin-top: calc(var(--header-size) + 20px);
}

a {
    color: #222;
}

.logo {
    display: flex;
    height: 5rem;
    align-items: center;
}

.logo a {
    flex: 0 0 auto;
}

form .holder {
    margin: 1rem 0 1.5rem;
}

form select {
    margin: 0;
}

.global-header{
    position: fixed;
    height: var(--header-size);
    top:0;
    left:0;
    width:100vw;
    z-index: 10000;
}

.grid-container {
    max-width: 2000px; /* 1400px is the max width of the grid */
    height: 100%;
}

.authentication-login-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    flex-direction: column;
    background-color: #F6F8FE;
}

#authentication-logo {
    width: 160px;
    height: auto;
    margin-bottom: 55px;
}

.authentication-form {
    width: 100%;
    height: 75vh;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.authentication-form .holder {
    flex: none !important;
    width: 100% !important;
}

.login-form input {
    border-radius: 5px;
    border: 1px solid #e2e8f0;
    background-color: #E8F0FE;
    overflow-x: hidden;
    width: 100%;
    height: 50px;
    transition: all 200ms ease-in-out;
    box-sizing: border-box;
    padding: 8px 12px;
    box-shadow: none;
    outline: 0;
}

.login-form input:focus {
    border-radius: 5px;
    border: 2px solid #a0aec0;
    background-color: #E8F0FE;

}

/* Fix for crispy-forms-foundation 1.1.0 fieldset wrapper */
.authentication-form fieldset.fieldset,
.login-form fieldset.fieldset,
fieldset.fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.authentication-form fieldset.fieldset {
    width: 100%;
}

.login-form h3 {
    margin: 0 0 30px 0 !important;
    font-size: 20px;
}

.login-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    height: 100%;
    flex-direction: column;
}

.login-image-container::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 20;
}

.login-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: 50% 50%;
    position: absolute;
    z-index: 1;
}


.login-image-text-wrapper {
    width: 100%;
    height: 75vh;
    max-height: 500px;
    z-index: 30;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.login-image-text-wrapper span {
    text-align: center;
    max-width: 600px;
}

.login-image-text-wrapper h2 {
    display: block;
    text-align: center;
    color: white !important;
    font-size: 60px;
    max-width: 600px;
    margin: 0 auto;
    font-weight: bold;
}

.authentication-button-judex {
    border: none;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-bottom: 20px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    font-family: inherit;
    background-color: #F28320;
    color: white;
}

.authentication-button-scheidingsprofs {
    border: none;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-bottom: 20px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    font-family: inherit;
    background-color: #43AEE3;
    color: white;
}


.login-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.login-block {
    background-color: #f1f1f1;
    color: #333;
}

.login-block label {
    color: #333;
}

.title-text {
    color: #f1f1f1;
    font-size: 24px;
    font-weight: 300;
}

.mediator-header-container {
    width: calc(100vw - var(--side-bar-width));
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: var(--side-bar-width);
    background-color: white;
    padding: 0 25px;
}

.mediator-header-menu {
    width: 100%;
    height: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #0a0a0a;
}

.mediator-header-menu-item {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    display: flex;
}

.mediator-header-logout {
    text-align: right;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.mediator-header-logout > p {
    margin-bottom: 5px;
}

#logout-link {
    font-weight: 600;
    opacity: 0.79;
}

#side-bar-left-wrapper {
    height: 100%;
    width: var(--side-bar-width);
    display: flex;

}

.sidebar-left {
    width: var(--side-bar-width);
    height: 100vh;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    flex-direction: column;
    top: 0;
    left: 0;
    background-color: white;
    z-index: 100;
    border-right: 1px solid #eeeeee;
}

.sidebar-logo {
    height: 90px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-left-menu {
    padding-top: 25px;
    box-sizing: border-box;
    width: 100%;
    height: calc(100vh - 90px);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    list-style: none;
}


.sidebar-left-menu li {
    padding-right: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    height: 40px;
    border-radius: 3px;
    margin-bottom: 10px;
    position: relative;
}

.sidebar-left-menu a {
    margin-bottom: 0;
    width: 100%;
    height: auto;
    display: block;
}

.sidebar-left-menu a:before {
    width: 5px;
    height: 100%;
    transition: 100ms ease-in-out transform;
    transform: scaleY(0);
    content: "";
    right: 0;
    top: 0;
    position: absolute;
}

.sidebar-left-menu a:hover:before {
    transition: 100ms ease-in-out transform;
    transform: scaleY(1);
}

.mediation-grid {
    display: grid;
    grid-template-columns: var(--side-bar-width) 1fr;
    grid-template-rows: 1fr;
    height: 100%;
}

#feedback-button-wrapper {
    position: fixed;
    bottom: -4px;
    right: 10px;
}

/*Shared style which are used to replace the inline styling*/
.hide-form {
    display: none;
}

.margin-1em {
    margin: 0 1em;
}

.margin-top-2rem {
    margin-top: 2rem;
}

.margin-right-0-1em {
    margin-right: .1em;
}

.margin-left-0-5em {
    margin-left: .5em;
}

.mediation-table-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 25px;
}

#mediation-table-wrapper {
    width:100%;
    max-width: 1100px;
    margin-top: 3em;
}

#padding-left-null {
    padding-left: 0;
    width: 250px;
    height: 100vh;
}

.no-list-style {
    list-style-type: none;
}

.width-100 {
    width: 100%;
}

.flex {
    flex: 0 0 100%
}

.white {
    color: #E8E8E8;
}

.orange {
    color: #f28320;
}

.purple {
    color: #646582;
}

.blue {
    color: #1779BA;
}

.gray {
    color: gray;
}

.inherit-color {
    color: inherit;
}

.hover-house-icon:hover i {
    cursor: pointer;
    filter: brightness(0.8);
}

.legal-dossier-action-icon:hover {
    color: orange;
}

.back-legal {
    background-repeat: no-repeat;
    padding-right: calc(24px + 1rem);
    text-transform: uppercase;
}

.next-legal {
    background-image: url('/static/vragenlijst/images/arrow-next.svg');
    background-position: calc(100% - 0.5rem) center;
    background-repeat: no-repeat;
    padding-right: calc(24px + 1rem);
    text-transform: uppercase;
}

.next-legal-no-arrow {
    background-position: calc(100% - 0.5rem) center;
    background-repeat: no-repeat;
    padding-right: calc(24px + 1rem);
    text-transform: uppercase;
}

.loader {
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #f28320; /* Judex orange */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s ease infinite;
}

.loader-grey {
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #6a6363; /* grey */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s ease infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.dossier-info-tables {
    /*display: flex;*/
    /*width:100%;*/
    /*height: auto;*/
    /*flex-wrap: wrap;*/
    /*flex-direction: row;*/

    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-gap: 25px;
}

.legal-dossier-tables {
    /*display: flex;*/
    /*width:100%;*/
    /*height: auto;*/
    /*flex-wrap: wrap;*/
    /*flex-direction: row;*/

    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-gap: 25px;
}

#sidebar-logo {
    visibility: hidden;
}

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

input, select{
    border-radius: var(--input-border-radius)!important;
    transition: border-color 100ms ease 0s;
    border: 2px solid rgb(206, 212, 218);
    box-shadow: none!important;
    min-height:45px;
}

select{
    cursor: pointer;
}

/*Login form responsive styling*/
@media screen and (max-width: 1200px) {
    .authentication-login-container {
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
    }

    .login-form {
        height: 100vh;
        padding: 0 50px;
    }

    .login-image-container {
        display: none;
    }
}
