/* Debugging ------------------------------------------------------------------------------------ */

/*img.editComponent {display: none;}*/
/*.balert2 {display: none;}*/

/* ============================================================================================== */
/* Base typography                                                                                */
/* ============================================================================================== */

/* Loadouts ------------------------------------------------------------------------------------- */

@font-face {
    font-family: noto;
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/Noto Sans/NotoSans-Regular.ttf');
}

@font-face {
    font-family: noto;
    font-weight: normal;
    font-style: italic;
    src: url('../fonts/Noto Sans/NotoSans-Italic.ttf');
}

@font-face {
    font-family: noto;
    font-weight: bold;
    font-style: normal;
    src: url('../fonts/Noto Sans/NotoSans-Bold.ttf');
}

@font-face {
    font-family: noto;
    font-weight: bold;
    font-style: italic;
    src: url('../fonts/Noto Sans/NotoSans-BoldItalic.ttf');
}

html {
    font-size: 15px; /* For relative-em */
}

body {
    font-family: noto;
    font-size: 15px;
    color: #2a2e2e;
}

/* Headings ------------------------------------------------------------------------------------- */

h2,
h3 {
    margin: 0 0 30px;
    font-size: 2em;
    font-size: 2rem;
    font-weight: bold;
}

/* Buttons -------------------------------------------------------------------------------------- */

a, .menu a:hover, a.menu:hover {
    color: #1976d2 !important;
    transition: 0.25s ease-out;
}

    a:hover, .menu a, a.menu {
        color: #2a2e2e !important;
        transition: 0.25s ease-out;
    }

a.button,
.button {
    display: inline-block;
    min-width: 130px;
    margin: 5px 8px 5px 0;
    padding: 15px;
    background: #e2e4e5 !important;
    border: 0;
    border-radius: 5px;
    font-family: noto;
    text-align: center;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

    a.button:hover,
    .button:hover {
        opacity: 0.8;
    }

    a.button.button--primary, .button.button--primary {
        background: #1976d2 !important;
        color: #ffffff !important;
    }

        a.button.button--primary:hover, .button.button--primary:hover {
            background: #1976d2 !important;
        }
    
        a.button.button--primary:after, .button.button--primary:after {
            content: '\000bb';
            margin-left: 5px;
            opacity: 0.75;
        }

    a.button.button--back, .button.button--back {}

        a.button.button--back:before, .button.button--back:before {
            content: '\000ab';
            margin-right: 5px;
            opacity: 0.75;
        }

    a.button:last-child, .button:last-child {
        margin-right: 0;
    }

    @media (max-width: 575px) {
        
        a.button,
        .button {
            display: block;
            width: 100%;
        }

        a.button.button--primary:after, .button.button--primary:after,
        a.button.button--back:before, .button.button--back:before {
            display: none;
        }

    }

/* ============================================================================================== */
/* Layouts                                                                                        */
/* ============================================================================================== */

body {
    background-color: #f8f9fc;
}

::-moz-selection {
  background: #1976d2;
  color: #ffffff;
}
::selection {
  background: #1976d2;
  color: #ffffff;
}

:focus {
    outline: none !important;
}

/* Reusables ------------------------------------------------------------------------------------ */

.has-shadow {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* Header --------------------------------------------------------------------------------------- */

#header {
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 70px;
    padding: 15px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e4e5;
}

    #header .container {
        position: relative;
    }

        .header__logo-link {
            display: inline-block;
            position: relative;
            left: -8px;
            width: 150px;
            height: 100%;
            padding: 5px 8px;
            border-radius: 8px;
        }
        
            .header__logo-link:hover {
                background-color: #f0f3f3;
            }

            .header__logo-image {
                display: inline-block;
                width: 100%;
                height: 100%;
                background: url(../img/juris-access.png) no-repeat center;
                background-size: contain;
            }

/* Panels --------------------------------------------------------------------------------------- */

#view {
    padding-top: 100px;
}

    #view .container {
        padding-left: 0;
        padding-right: 0;
    }

/* Footer --------------------------------------------------------------------------------------- */

#japp-footertime {
    position: fixed;
    bottom: 0;
    right: 8px;
    margin: 8px;
    opacity: 0.25;
}

/* ============================================================================================== */
/* Vendors resets                                                                                 */
/* ============================================================================================== */

/* Materialize CSS ------------------------------------------------------------------------------ */

.container .row {
    margin: 0;
}

.input-field,
.range-field {
    margin: 0 0 30px;
    padding: 0;
}

    .input-field > *,
    .input-field .input-element-wrapper input {
        display: block;
        height: auto !important;
        -webkit-box-sizing: border-box !important;
        box-sizing: border-box !important;
        -wekbit-transform: none !important;
        transform: none !important;
    }

    .input-field label,
    .range-field label {
        position: relative;
        font-family: noto;
        font-size: initial;
        color: inherit;
        font-weight: normal;
        pointer-events: unset;
        -webkit-transition: 0.25s ease-out;
        transition: 0.25s ease-out;
        -webkit-transform: none;
        transform: none;
    }

    .input-field input {
        position: relative;
        top: 0;
        margin-left: 0 !important;
        margin-right: 0 !important;
        -webkit-transition: 0.25s ease-out;
        transition: 0.25s ease-out;
    }
    
/* PHPLens -------------------------------------------------------------------------------------- */

#view .applet,
.hpanel .panel-body {
    overflow: visible;
}

#view .lens-newedit-flds {
    display: none;
}

/* ============================================================================================== */
/* Forms                                                                                          */
/* ============================================================================================== */

.view__desc {
    margin: -23px 0 45px;
    opacity: 0.5;
}

.view__actions {
    margin: 23px 0 120px;
}

/* General structure ---------------------------------------------------------------------------- */

.input-field .input-element-wrapper,
.range-field .input-element-wrapper {
    position: relative;
}

.input-field label,
.range-field label {
    margin-bottom: 8px;
}

.input-field input[readonly] {
    cursor: default !important;
}

    /* Patching a strange behaviour where dropdowns are constantly being made read-only */
    .input-field input[readonly].select-dropdown {
        background: #ffffff !important;
        cursor: pointer !important;
    }

.input-field input[style*='255, 192, 192'],
.input-field input.found-empty {
    box-shadow: 0 0 3px #ff5252 !important;
}

.field-marker {
    height: 0 !important;
    overflow: hidden;
    font-size: 0.9em;
    font-size: 0.9rem;
    color: #1976d2;
    transition: 0.25s ease-out;
}

    .field-marker.active {
        margin-top: 8px;
        height: 20px !important;
    }

    .field-marker.field-marker--error {
        color: #ff5252;
    }

.input-field .input-field__reset {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 1;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    color: #aaacac;
    text-align: center;
    cursor: pointer;
    transition: 0.25s ease-out;
}

    .input-field input:focus ~ .input-field__reset {
        top: 6px;
    }

    .input-field .input-field__reset:hover {
        background-color: #ff5252;
        color: #ffffff;
    }

    .input-field__reset .icon {
        font-size: 12px !important;
        line-height: 20px !important;
    }

/* Text fields and passwords -------------------------------------------------------------------- */

.input-field input[type="text"],
.input-field input[type="password"] {
    margin: 0;
    padding: 8px 36px 8px 10px !important;
    background-color: #ffffff;
    border: 1px solid #e2e4e5;
    border-radius: 5px;
    line-height: 20px;
    cursor: pointer;
}
    
    .input-field  input[type="text"]:not([readonly]):focus,
    .input-field  input[type="password"]:not([readonly]):focus {
        top: -2px;
        border-bottom-color: #e2e4e5 !important;
        box-shadow: 0 3px 0 0 #1976d2 !important;
    }

        .input-field input[type="text"]:not([readonly])[style*='255, 192, 192']:focus,
        .input-field input[type="password"]:not([readonly])[style*='255, 192, 192']:focus,
        .input-field input.found-empty[type="text"]:not([readonly]):focus,
        .input-field input.found-empty[type="password"]:not([readonly]):focus {
            box-shadow: 0 3px 0 0 #1976d2, 0 0 3px #ff5252 !important;
        }

/* Radio buttons and checkboxes ----------------------------------------------------------------- */

.radiolist-tab,
.checkboxlist-tab {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e2e4e5;
}

.input-field input[type="radio"] + label,
.input-field input[type="checkbox"] + label {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 30px;
    line-height: 23px;
}

    .input-field input[type="radio"] + label:hover,
    .input-field input[type="checkbox"] + label:hover {
        color: #1976d2;
    }

    .input-field input[type="radio"][disabled] + label,
    .input-field input[type="checkbox"][disabled] + label,
    .input-field input[type="radio"][disabled] + label:hover,
    .input-field input[type="checkbox"][disabled] + label:hover {
        color: #aaacac;
        cursor: default;
    }

.input-field [type="radio"] + label:before,
.input-field [type="radio"] + label:after,
.input-field [type="checkbox"] + label:before,
.input-field [type="checkbox"] + label:after {
    width: 15px;
    height: 15px;
    margin: 7px 0;
}

    .input-field [type="radio"]:not(:checked) + label:before,
    .input-field [type="radio"]:not(:checked) + label:after,
    .input-field [type="checkbox"]+label:before,
    .input-field [type="checkbox"]:not(.filled-in)+label:after {
        border: 5px solid #d4e0e0;
    }
    
        .input-field [type="checkbox"]+label:before,
        .input-field [type="checkbox"]:not(.filled-in)+label:after {
            background-color: #d4e0e0;
            border-radius: 3px;
        }

        .input-field [type="radio"]:not(:checked) + label:hover:before,
        .input-field [type="radio"]:not(:checked) + label:hover:after {
            border-color: #1976d2;

        }
        
        .input-field [type="checkbox"]:not(:checked) + label:hover:before,
        .input-field [type="checkbox"]:not(:checked) + label:hover:after {
            background-color: #1976d2;
            border: 0;
        }

        .input-field [type="radio"][disabled]:not(:checked) + label,
        .input-field [type="radio"][disabled]:not(:checked) + label {
            color: #aaacac;
            cursor: default;
        }

        .input-field [type="radio"][disabled]:not(:checked) + label:before,
        .input-field [type="radio"][disabled]:not(:checked) + label:after,
        .input-field [type="checkbox"][disabled]:not(:checked) + label:before,
        .input-field [type="checkbox"][disabled]:not(:checked) + label:after {
            background-color: #e2e4e5;
            border: 0;
        }

    .input-field [type="radio"]:checked + label:before,
    .input-field [type="radio"]:checked + label:after,
    .input-field [type="checkbox"]:checked + label:before,
    .input-field [type="checkbox"]:checked + label:after {
        top: 0;
        left: 0;
        background: #1976d2 url('../img/icon-tick.svg') no-repeat center;
        background-size: contain;
        border: 0 solid transparent;
        -webkit-transform: none;
        transform: none;
    }

        .input-field [type="radio"][disabled]:checked + label:before,
        .input-field [type="radio"][disabled]:checked + label:after,
        .input-field [type="checkbox"][disabled]:checked + label:before,
        .input-field [type="checkbox"][disabled]:checked + label:after {
            background-color: #d4e0e0;
        }

/* Dropdowns ------------------------------------------------------------------------------------ */

.input-field .select-wrapper input[type="text"].select-dropdown {
    z-index: 0;
    width: 100% !important;
    height: initial !important;
    box-sizing: border-box !important;
}

.input-field .select-wrapper .caret {
    display: block;
    right: 10px;
    z-index: 6;
    width: 20px;
    height: 20px;
    border: 0;
    color: #d4e0e0;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    pointer-events: none;
    transition: 0.25s ease-out;
}

    .input-field .select-wrapper:hover .caret {
        color: #1976d2;
    }

.input-field .dropdown-content {
    z-index: 7;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

    .input-field .dropdown-content li {
        min-height: 35px;
        border-bottom: 1px solid #e2e4e5;
        color: initial;
        line-height: initial;
    }

        .input-field .dropdown-content li:hover {
            background-color: #f7fafa;
        }

        .input-field .dropdown-content li > * {
            padding: 10px 15px;
            font-size: initial;
            color: initial;
            line-height: initial;
        }
        
            .input-field .dropdown-content li:hover > * {
                color: #1976d2;
            }

.select2-selection {
    height: 38px !important;
    border: 0 !important;
}

    .select2-selection__rendered {
        padding: 5px 12px !important;
    }

    .select2-selection__arrow {
        top: 6px !important;
        right: 9px !important;
        text-align: center;
    }

        .select2-selection__arrow b {
            display: none;
        }
        .select2-selection__arrow:before {
            content: '▼';
            font-size: 10px;
            color: #d4e0e0;
            line-height: 26px;
            transition: 0.25s ease-out;
        }
        .select2-selection:hover .select2-selection__arrow:before {
            color: #1976d2;
        }
    
    .select2-dropdown {
        background-color: #ffffff !important;
        border: 0 !important;
        box-shadow: 0 0 15px #1114 !important;
    }

        .select2-search--dropdown {
            padding: 8px;
        }

            .select2-search__field {
                margin: 0 !important;
                border: 1px solid #d4e0e0 !important;
                border-radius: 3px !important;
                height: auto !important;
                padding: 8px !important;
                width: calc(100% - 18px) !important;
            }
            .select2-search__field:focus {
                box-shadow: none !important;
            }

            .select2-results ul li {
                min-height: 38px;
                padding: 8px 15px;
                border-bottom: 1px solid #e2e4e5;
                font-size: initial !important;
            }
            .select2-container--default .select2-results__option--highlighted[aria-selected] {
                background-color: #f7fafa !important;
                color: initial !important;
            }
            .select2-container--default .select2-results__option[aria-selected=true] {
                background-color: initial !important;
                color: #1976d2 !important;
            }
            .select2-container--default .select2-results__option[aria-selected=true]:hover {
                background-color: #f7fafa !important;
            }



/* Range sliders -------------------------------------------------------------------------------- */

.range-field .slider-value {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 8px;
    background-color: #e2e4e5;
    border-radius: 5px;
    font-size: 0.8em;
    cursor: default;
}

.range-field input[type="range"] {
    margin: 23px 0 0;
    border: 0;
}

.range-field input[type=range]::-webkit-slider-runnable-track {
    height: 5px;
    margin-bottom: 15px;
    background-color: #e2e4e5;
    border-radius: 999px;
}

.range-field input[type=range]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin: -8px 0 0;
    background-color: #1976d2;
    border-radius: 50%;
}

    .range-field input[type=range]:hover::-webkit-slider-thumb {
        width: 15px;
        height: 15px;
        margin-top: -5px;
    }

.range-field input[type=range] + .thumb {
    margin-top: 23px;
    background-color: #1976d2;
    border-radius: 5px !important;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.1);
    -webkit-transform: none;
    transform: none;
}

    .range-field input[type=range] + .thumb.active {}

    .range-field input[type=range] + .thumb.active .value {
        width: 100%;
        height: 100%;
        margin: 0;
        font-size: 1rem;
        line-height: 30px;
        -webkit-transform: none;
        transform: none;
    }

@media (max-width: 767px) {

    .range-field input[type=range]::-webkit-slider-thumb {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }

        .range-field input[type=range]:hover::-webkit-slider-thumb {
            width: 20px;
            height: 20px;
            margin-top: -10px;
        }

}


/* Datepicker ----------------------------------------------------------------------------------- */

.ui-datepicker.ui-widget {
    padding: 0;
    border: 0;
    border-radius: 5px;
    font-size: initial;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    transform: translateY(8px);
}

    .ui-datepicker .ui-datepicker-header {
        padding: 5px;
        background-color: #ffffff;
        border: 0;
        border-bottom: 1px solid #d4e0e0;
        color: initial;
        font-weight: normal;
        cursor: default;
    }

        .ui-datepicker .ui-datepicker-title {
            margin: 5px 30px;
        }

            .ui-datepicker .ui-datepicker-header select {
                display: inline-block;
                height: auto;
                margin: 0 3px;
                padding: 8px !important;
                background-color: #f3f3f3;
                border-radius: 3px;
                font-family: inherit !important;
                font-size: 0.9em;
                font-size: 0.9rem;
                line-height: 1;
            }

        .ui-datepicker .ui-datepicker-prev,
        .ui-datepicker .ui-datepicker-next {
            top: 15px;
            width: 20px;
            height: 20px;
            margin: 0 5px;
            border-radius: 3px;
            cursor: pointer;
        }

            .ui-datepicker .ui-datepicker-prev:hover,
            .ui-datepicker .ui-datepicker-next:hover {
                background-color: rgba(0, 0, 0, 0.1);
            }
        
            .ui-datepicker .ui-datepicker-prev {
                left: 3px !important;
                -webkit-transform: rotate(90deg);
                transform: rotate(90deg);
            }

            .ui-datepicker .ui-datepicker-next {
                right: 3px !important;
                -webkit-transform: rotate(-90deg);
                transform: rotate(-90deg);
            }

            .ui-datepicker .ui-datepicker-prev .ui-icon,
            .ui-datepicker .ui-datepicker-next .ui-icon {
                background: url('../img/icon-angle.svg') no-repeat center;
                background-size: contain;
            }

    .ui-datepicker thead {
        border-bottom: 1px solid #e2e4e5;
    }

        .ui-datepicker th {
            padding: 8px;
            font-weight: normal;
            font-size: 0.8rem;
            opacity: 0.5;
        }

    .ui-datepicker td {
        padding: 3px;
    }

        .ui-datepicker td a {
            color: #212121 !important;
            border-radius: 5px !important;
        }

            .ui-datepicker td a:hover {
                background-color: #f0f3f3 !important;
                color: #1976d2 !important;
            }

        .ui-datepicker td a.ui-state-active {
            background: #1976d2 !important;
            border-radius: 5px;
        }

        .ui-datepicker td a.ui-state-highlight {
            box-sizing: border-box;
            background: #b0d7fd !important;
            color: #212121 !important;
        }

    .ui-datepicker .ui-datepicker-buttonpane {
        border: 1px solid #e2e4e5;
        border-width: 1px 0 0;
    }

        .ui-datepicker .ui-datepicker-buttonpane button {
            margin: 10px 8px !important;
            padding: 3px 8px !important;
            border-radius: 5px;
            font-size: 0.9rem;
        }


/* ============================================================================================== */
/* Modules                                                                                        */
/* ============================================================================================== */

/* Breadcrumbs ---------------------------------------------------------------------------------- */

.progression {
    position: fixed;
    top: 70px;
    z-index: 10;
    width: 100%;
}

    .progress-crumb-group {
        display: flex;
        background-color: #f2f2f2;
    }

        .progress-crumb-list {
            display: inline-block;
            flex-grow: 1;
            float: left;
            height: 5px;
            background-color: #1976d2;
        }

            .progress-crumb-list * {
                display: none;
            }

        .progress-crumb-selected {
            background-color: transparent;
        }

        .progress-crumb-selected ~ .progress-crumb-list {
            background-color: transparent;
        }

        .progress-crumb-selected:first-child:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 15px;
            height: 5px;
            background-color: #1976d2;
        }

.main-stepper__label {
    display: none;
}