/*=============*/
/*-- general --*/
/*=============*/

body { 
    background-color: #E7ECEF;
    min-width: 320px;  /* min iPhone4 */
}

.body-nav-fixed {
    padding-top: 75px;
}

@media (max-width: 767px) {

    html {
        height: 100%;
    }

    .body-nav-fixed {
        padding-top: 0;  /* padding is included in container-index */
    }
}

.vcenter { /*vertical center align*/
   display: flex;
   vertical-align: middle;
   float: none;
}

.vcenter-outer {
    /*wrapper for elements to be vertically aligned*/
    position: relative;
}

.vcenter-inner {
    /*vertically aligned, only works with .vcenter-outer*/
    margin: 0;
    position: absolute;
    top: 50%;
}

.div-centered {
    /*hrozintally center a block-level element*/
    float: none;
    margin: 0 auto;
}

:root {
    --index-gradient: linear-gradient(90deg, #d1eaf9, #fdd2d2);
    --schools-gradient: linear-gradient(90deg, #d1eaf9, #fdd2d2);
}


/*======================*/
/*-- navbar : general --*/
/*======================*/

nav, .navbar {
    z-index: 2000;
    margin-bottom: 0;
}

.navbar-default {
    background-color: #E7ECEF;
    border-color: transparent;
}

.navbar-scrolled {
    background-color: #AEB1B3;
    border-bottom-color: #939596;
    transition:
            background-color 1s,
            border-bottom-color 2s;
}

.navbar-links-scrolled {
    color: white !important;
    transition: color 0.2s linear;
}

@media (min-width: 992px) { /*css for medium and large*/
    .navbar-brand {
        padding: 0;
        height: 75px;
        position: relative;
    }
    
    .navbar-brand > img {
        height: 100%;
        width: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .beta {
        z-index: 3000;
        background-color: #ff6445;
        color: #ffe3de;
        position: absolute;
        bottom: 2px;
        right: -30px;
        padding: 0.25em 0.5em;
        font-size: 0.9em;
        border-radius: 4px;
        cursor: default;
    }

}

@media (max-width: 991px) { /*css for small*/
    .navbar-brand {
        padding: 0;
        height: 75px;
        position: relative;
    }
    
    .navbar-brand > img {
        height: 100%;
        width: auto;
        padding: 18px 0 18px 5px;
    }

    .beta {
        z-index: 3000;
        background-color: #ff6445;
        color: #ffe3de;
        position: absolute;
        bottom: 5px;
        right: -25px;
        padding: 0.25em 0.5em;
        font-size: 0.65em;
        border-radius: 4px;
        cursor: default;
    }

}

@media (max-width: 767px) { /* css for XS */

    .navbar-brand {
        padding: 0;
        height: 67px;
        position: relative;
    }
    
    .navbar-brand > img {
        height: 100%;
        width: auto;
        padding: 22px 0 15px 15px;
    }

    .navbar-header > button {
        margin: 20px 15px 15px 0;
    }

    .beta {
        z-index: 3000;
        background-color: #ff6445;
        color: #ffe3de;
        position: absolute;
        bottom: 5px;
        right: -18px;
        padding: 0 0.5em;
        font-size: 0.5em;
        border-radius: 4px;
        cursor: default;
    }

    .navbar-min {  /* same colors as scrolled navbar */
        background-color: #AEB1B3;
        border-bottom-color: #939596;
    }

}

.dropdown-menu-nav {
    background-color: #FCFCFC;
}

@media (max-width: 767px) {  /* css for XS */

    .dropdown-menu-nav > li > a {  /* vertically center text in sub-links */
        display:table-cell;
        vertical-align:middle;
    }
}


.dropdown-menu-nav > li > a { /*height of dropdown menu items*/
    height: 40px; 
    line-height: 40px;
}

.dropdown-menu-nav > li > a:hover { /*navbar dropdown menu hover*/
    background-color: #D2D6D8;
    background-image: none;
}

.nav {
    font-size: 18px;
    color: #909090;
}

.navbar-collapse {
    border-color: transparent !important;  /* overwrite default border color */
}

/*======================*/
/*-- navbar at /index --*/
/*======================*/

.navbar-index { /* navbar on index page */
    background: var(--index-gradient);
    border-bottom: 1px solid #ffffff45;
    border-top: none;  /* overriding bootstrap default */
    border-left: none;
    border-right: none;
}

.navbar-index-collapse {
    padding-right: 0;
}

#navbar-index-links > li {
    padding-top: 25px; /*space above links in navbar*/
}

#navbar-index-links > li > a {
    height: 35px;
    padding: 7px 10px;  /*space between links and on top/bottom*/
    font-family: 'Archivo Narrow', sans-serif;
    color: #842121;
}

#navbar-index-links > li.active > a {
    background-color: transparent;
    border-bottom: 2px solid #842121;
    color: #842121;
}

#navbar-index-links > li.dropdown.open > a {  /* dropdown main link */
    background-color: #fdc5c5;
}

#navbar-index-links > li.dropdown.open {  /* covers space above links */
    background-color: #fdc5c5;
}

#navbar-index-dropdown {
    background-color: #fff7f7;
}

#navbar-index-dropdown > li > a {
    display: flex;
    align-items: center;
    color: #5f1816;
}

#navbar-index-dropdown > li > a:hover {
    background-color: #fdefef;
}

@media (max-width: 767px) {  /* css for XS */

    #navbar-index-links {
        margin-bottom: 0;
    }

    #navbar-index-links > li {
        padding: 0;
    }

    #navbar-index-links a {
        color: white;
    }

    #navbar-index-dropdown > li > a {
        color: #801b18;
    }

    #navbar-index-links > li.active > a {
        border: none;
        position: relative;
        text-decoration: underline #842121;
    }

    #navbar-index-links > li.dropdown.open > a { /* dropdown main link */
        background-color: #ffffff24;
    }

    #navbar-index-links > li.dropdown.open { /* only required in non-collapsed nav */
        background-color: transparent;
    }

    #navbar-index-dropdown {
        background-color: #ffffff24;
    }

    #navbar-index-dropdown-btn { /* selectors with -index- are for index only */
        margin: 20px 15px 15px 0;
        border-color: #fb9696; /*#fdb8b8*/
    }

    #navbar-index-dropdown-btn > .icon-bar {
        background-color: #fb9696;
    }

    #navbar-index-dropdown-btn:hover, #navbar-index-dropdown-btn:focus {
        background-color: #fdc5c5;
    }

    .navbar-index-collapse {
        box-shadow: inset 0 1px 0 #ffffff45;  /* overriding default */
    }
}


/*========================*/
/*-- navbar at /schools --*/
/*========================*/

.navbar-schools { /* navbar on index page */
    background: #E7ECEF;
    border-bottom: 1px solid #dee1e3;
    border-top: none;  /* overriding bootstrap default */
    border-left: none;
    border-right: none;
}

.navbar-schools-collapse {
    padding-right: 0;
}

#navbar-schools-links > li {
    padding-top: 25px; /*space above links in navbar*/
}

#navbar-schools-links > li > a {
    height: 35px;
    padding: 7px 10px;  /*space between links and on top/bottom*/
    font-family: 'Archivo Narrow', sans-serif;
    color: #747474;
}

#navbar-schools-links > li.active > a {
    background-color: transparent;
    border-bottom: 2px solid #666666;
    color: #464646;
}

#navbar-schools-links > li.dropdown.open > a {  /* dropdown main link */
    background-color: #e1e5e7;
}

#navbar-schools-links > li.dropdown.open {  /* covers space above links */
    background-color: #e1e5e7;
}

#navbar-schools-dropdown {
    background-color: #fdfdfd;
}

#navbar-schools-dropdown > li > a {
    display: flex;
    align-items: center;
    color: #1e1e1e;
}

#navbar-schools-dropdown > li > a:hover {
    background-color: #e1e5e7;
}

@media (max-width: 767px) {  /* css for XS */

    #navbar-schools-links {
        margin-bottom: 0;
    }

    #navbar-schools-links > li {
        padding: 0;
    }

    #navbar-schools-links a {
        color: white;
    }

    #navbar-schools-dropdown > li > a {
        color: #747474;
    }

    #navbar-schools-links > li.active > a {
        border: none;
        position: relative;
        text-decoration: underline #464646;
    }

    #navbar-schools-links > li.dropdown.open > a { /* dropdown main link */
        background-color: #ffffff24;
    }

    #navbar-schools-links > li.dropdown.open { /* only required in non-collapsed nav */
        background-color: transparent;
    }

    #navbar-schools-dropdown {
        background-color: #ffffff24;
    }

    #navbar-schools-dropdown-btn { /* selectors with -index- are for index only */
        margin: 20px 15px 15px 0;
        border-color: #bbbbbb; /*#fdb8b8*/
    }

    #navbar-schools-dropdown-btn > .icon-bar {
        background-color: #bbbbbb;
    }

    #navbar-schools-dropdown-btn:hover, #navbar-schools-dropdown-btn:focus {
        background-color: #dfdfdf;
    }

    .navbar-schools-collapse {
        box-shadow: inset 0 1px 0 #ffffff45;  /* overriding default */
    }
}


/*=======================*/
/*-- navbar top: links --*/
/*=======================*/

#links-top > li.dropdown.open > a {  /* dropdown main link */
    background-color: #b8bbbe;
}

#links-top > li.dropdown.open {  /* dropdown sub-links*/
    background-color: #b8bbbe;
}

#links-top > li { 
    padding-top: 25px; /*space above links in navbar*/
}


#links-top > li > a {
    height: 35px;
    padding: 7px 10px;  /*space between links and on top/bottom*/
    font-family: 'Archivo Narrow', sans-serif;
}

#links-top > li.active > a {
    background-color: transparent;
    border-bottom: 2px solid #393939;
}

@media (max-width: 767px) {  /* css for XS */

    #links-top {
        margin-bottom: 0;
    }

    #links-top > li {
        padding: 0;
    }

    #links-top a {
        color: white;
    }

    #links-top > li.active > a {
        border: none;
        position: relative;
        text-decoration: underline white;
    }
}


/*========================*/
/*-- diverse containers --*/
/*========================*/
@media (min-width: 992px) { /*css for lg and md*/
    .container-main {
        background-color: #E7ECEF;
        height: calc(100vh - 75px - 14px);  /*adjust for header + margin of footer*/
        min-height: 350px;
        margin-bottom: 0;
    }
}

@media (max-width: 991px) { /*css for sm*/
    .container-main {
        height: calc(100vh - 75px);
        min-height: 930px;        
        background-color: #E7ECEF;
        margin-bottom: 0;
    }
}

.container-berufe-info {
    min-height: 100vh;
    height: 100%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-areas:
                "content"
                "sidenav-occs";
    margin-top: 50px;
    padding-bottom: 10%;
}

@media (max-width: 767px) {
    /*css for xs*/
    .container-main {
        height: calc(100vh - 75px);
        min-height: 1300px;
        background-color: #E7ECEF;
        margin-bottom: 0;
        padding-top: 70px;
    }

    .container-berufe-info {
        min-height: 100vh;
        margin-top: 30px;
        padding: 70px 30px 30px 30px;

    }
}

@media (min-width: 768px) {
    /*css for small*/
    .container-berufe-info {
        grid-template-columns: 20% 80%;
        grid-template-areas:
                "sidenav-sections content"
                "sidenav-sections sidenav-occs";
    }
}

@media (min-width: 992px) {
    /*css for medium and larger*/
    .container-berufe-info {
    grid-template-columns: 18% 60% 22%;
    grid-template-areas: "sidenav-sections content sidenav-occs";
    }
}



/*==========================*/
/*-- Index page : Content --*/
/*==========================*/

.container-index {
    background-color: #fff;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
}

.index-search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 150px 0 100px 0;
    background: var(--index-gradient);
}

.index-search-container > h2 {
    color: #3c404c;
    margin-bottom: 2em;
    line-height: 1.5;
    font-size: 2.2em;
}

@media (max-width: 767px) {
    /*css for xs*/
    .index-search-container > h2 {
        font-size: 1.7em;
        margin-bottom: 2em;
    }
}

@media (max-width: 500px) {
    /*css for smallest devices*/
    .index-search-container > h2 {
        font-size: 1.2em;
    }
}

.index-search-oblique {
    width: 100%;
    height: 75px;
    margin-top: -1px;  /* fixes unwanted margin problem on some devices/browsers */
}


@media (max-width: 767px) {
    .index-search-oblique {
        height: 40px;
    }
}

.index-search-oblique > svg {
    height: 100%;
    width: 100%;
}

.index-description-container {
    padding: 0 10%;
    margin: 5% 0 5% 0;
    font-size: 1.2em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: justify;
}

.index-description-container h1 {
    font-size: 1.5em;
}

.index-description-container-left {
    width: 40%;
    margin-right: 7%;
}

.index-description-container-left > a {
    display: inline-block;
    margin: 0.5em auto;
    padding: 0.4em 0.6em;
    background: #4f6eca;
    text-decoration: none;
    color: #f3faff;
    border-radius: 2px;
}

.index-description-container-left > a:hover {
    background: #4365ca;
}

.index-description-container-right {
    width: 40%;
}

@media (max-width: 767px) { /* css for XS */
    .index-description-container {
        padding: 0 5%;
    }
}

@media (max-width: 680px) {
    /* css for smallest devices */
    .index-description-container {
        flex-direction: column;
        align-items: center;
        margin: 10% 0 10% 0;
    }

    .index-description-container-left {
        width: 80%;
        margin-right: 0;
    }

    .index-description-container-right {
        width: 80%;
    }

    .index-description-container-left > a {
        display: inline-block;
        margin: 0 0 1em 0;
        padding: 0.4em 0.6em;
    }

    .index-description-container h1 {
        font-size: 1.2em;
    }

}

.index-education-container {
    background-color: #f2f2f2;
    position: relative;
    width: 100%;
}

.index-education-content {
    padding: 5% 15%;
}

.index-education-toggle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
}

.index-education-toggle-wrapper > h1 {
    color: #313131;
    text-align: center;  /* required when line breaks */
}

.index-education-toggle-wrapper > h1 > span {
    background-color: #122c88;  /* fallback color */
    background-image: linear-gradient(45deg, #f3544d, #495bdc);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.index-education-content > div > h2 {
    color: #313131;
}

#index-education-binoculars {
    width: 300px;
    position: absolute;
    top: 10%;
    right: 17%;
}

.index-education-results {
    margin-top: 5%;
    background-color: white;
    width: 100%;
    display: flex;
    flex-direction: row;
    border-radius: 4px;
    --height-results: 200px;
}

.index-education-results > .left {
    width: 50%;
}

.index-education-results > .left > .list {
    height: var(--height-results);
    overflow-y: scroll;
    list-style-type: none;
    margin: 0 0 0.5em 0;
    border-bottom: 1px solid #eeeeee;
    padding: 0.2em 0 0 0;
}


.index-education-results > .right {
    width: 50%;
}

.index-education-results-filter {
    width: 100%;
}

#index-education-results-filter-input {
    width: 100%;
    border: none;
    background: #727171;
    color: #efefef;
    font-size: 1.2em;
    padding: 0.5em 0.5em 0.3em 0.5em;
    border-top-left-radius: 4px;
}

#index-education-results-filter-input:hover, #index-education-results-filter-input:focus {
    background: #5d5d5d;
}

#index-education-results-filter-input::placeholder {
    color: #d0d0d0;
}

#index-education-results-filter-input:-ms-input-placeholder {  /* Internet Explorer 10-11 */
    color: #d0d0d0;
}

#index-education-results-filter-input::-ms-input-placeholder {  /* Microsoft Edge */
    color: #d0d0d0;
}

#index-education-results-filter-input:focus {
    outline: none;
}

.index-education-results-item {
    font-size: 1.1em;
    padding: 0.1em 0 0.1em 0.5em;
    cursor: pointer;
    border-left: 4px solid transparent;
}

.index-education-results-item:hover, .index-education-results-item.active {
    background-color: #efefef;
    color: black;
    border-left: 4px solid #ea545f;
}

.index-education-results-item.inactive {
    display: none;
}

.index-education-results-occupations-header {
    width: 100%;
    border: none;
    background: #4d4f94;
    color: #efeffd;
    font-size: 1.2em;
    padding: 0.5em 0.5em 0.3em 0.5em;
    border-top-right-radius: 4px;
    text-align: center;
    text-shadow: 0 1px 0 #140d63;
}

.index-education-results-occupations-list {
    height: var(--height-results);
    overflow-y: scroll;
    border-bottom: 1px solid #eeeeee;
}

.index-education-results-occupations-list > a {
    text-decoration: none;
    color: black;
}

.index-education-results-occupations-list > a > .item {
    padding: 0.7em;
    border-bottom: 1px solid #efefef;
    cursor: pointer;
}

.index-education-results-occupations-list > a > .item:hover {
    background-color: #efefef;
}

.index-education-results-occupations-list-title {
    font-size: 1.1em;
}

.index-education-results-occupations-list-badge {
    margin-top: 0.7em;
    line-height: 1;
    display: inline-block;
    border-radius: 4px;
    box-shadow: 1px 1px 2px 0 #0000005c;
    margin-right: 0.2em;
}

.index-education-results-occupations-label {
    background: #f5f5f5;
    display: inline-block;
    color: black;
    padding: 0.2em 0.3em;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.index-education-results-occupations-color {
    height: 100%;
    display: inline-block;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 0.2em 0.3em;
}

.color-green {
    background: #47bf9d40;
    color: #024431;
}

.color-yellow {
    background: #fbefbd;
    color: #3a3000;
}

.color-red {
    background: #ecc1b9;
    color: #501407;
}

@media (max-width: 1250px) {
    #index-education-binoculars {
        width: 200px;
    }

    .index-education-toggle-wrapper {
        width: 70%;
    }

    .index-education-toggle-wrapper > h1 {
        font-size: 2.2em;
    }

    .index-education-content > div > h2 {
        font-size: 2em;
    }

}

@media (max-width: 1000px) {

    .index-education-toggle-wrapper {
        width: 100%;
    }

    #index-education-binoculars {
        display: none;
    }
}

@media (max-width: 767px) {
    /* XS devices*/
    .index-education-content {
        padding: 7% 10% 12% 10%;
    }
}

@media (max-width: 600px) {
    /* smallest devices */
    .index-education-results {
        flex-direction: column;
        background-color: #f2f2f2;
        margin-top: 2em;
    }

    .index-education-results > .left {
        width: 100%;
        background-color: white;
        border-radius: 4px;
    }

    .index-education-results > .right {
        width: 100%;
        margin-top: 2em;
        background-color: white;
        border-radius: 4px;
    }

    #index-education-results-filter-input {
        border-top-right-radius: 4px;
    }

    .index-education-results-occupations-header {
        border-top-left-radius: 4px;
    }

    .index-education-results-occupations-list {
        margin-bottom: 0.5em;
    }

    .index-education-results-occupations-list > a > .item {
        background-color: white;
    }

    .index-education-results-item:hover, .index-education-results-item.active {
        background-color: #dcdada;
    }

    .index-education-results-occupations-list > a:last-of-type > .item {
        border-bottom: none;
    }
}

@media (max-width: 500px) {
    .index-education-content > div > h2 {
        font-size: 1.6em;
    }

    .index-education-toggle-wrapper > h1 {
        font-size: 1.8em;
    }
}

.index-top-10-container {
    padding-top: 7%;
    padding-bottom: 10%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.index-top-10-wrapper {
    display: flex;
    flex-direction: row;
    margin-top: 5%;
}

.index-top-10-list {
    display: flex;
    flex-direction: column;
    width: 300px;
    background-color: #fbfbfb;
    padding: 3% 2%;
    box-shadow: 4px 3px 7px 0px rgba(0,0,0,0.2);
}

.index-top-10-list:not(:first-of-type) {
    margin-left: 5%;
}

.index-top-10-list-header {
    font-size: 1.3em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em 0;
    font-weight: 500;
}

.index-top-10-list-header > span {
    margin-right: 0.2em;
    color: #af3535
}

.index-top-10-list-item {
    font-size: 1.1em;
    text-align: center;
    padding: 0.5em 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.index-top-10-list-item > a {
    color: #063167;
}

@media (max-width: 1250px) {
    .index-top-10-container > h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 1000px) {

    .index-top-10-container {
        width: 100%;
    }

    .index-top-10-wrapper {
        flex-direction: column;
        width: 60%;
    }

    .index-top-10-list {
        width: 100%;
        padding: 7% 5%;
    }

    .index-top-10-list-header {
        padding-top: 0;
    }

    .index-top-10-list:not(:first-of-type) {
        margin: 3em 0 0 0;
    }

}

@media (max-width: 600px) {
    .index-top-10-wrapper {
        width: 80%;
    }

    .index-top-10-container > h1 {
        font-size: 1.8em;
    }
}


/*==========================*/
/*-- Index page : Switch --*/
/*==========================*/

.index-education-toggle {
    position: relative;
    left: -150px;
}

.index-education-toggle label {
    font-size: 14px;
}

.index-education-toggle-switch {
    height: 36px;
    flex: 0 0 300px;
    border-radius: 4px;
    transition: background-color 0.3s cubic-bezier(0, 1, 0.5, 1);
    background: #848484;
    position: relative;
    cursor: pointer;
}

.index-education-toggle-switch:before {
    left: 150px;
    font-size: 12px;
    line-height: 36px;
    width: 150px;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.5);
    content: attr(data-checked);
    position: absolute;
    top: 0;
    text-transform: uppercase;
    text-align: center;
}

.index-education-toggle-switch:after {
    top: 2px;
    left: 2px;
    border-radius: 2px;
    width: 148px;
    line-height: 32px;
    font-size: 12px;
    transition: transform 0.3s cubic-bezier(0, 1, 0.5, 1);
    color: #777;
    content: attr(data-unchecked);
    position: absolute;
    z-index: 5;
    text-transform: uppercase;
    text-align: center;
    background: white;
    transform: translate3d(0, 0, 0);
}

.index-education-toggle label {
    user-select: none;
    position: relative;
    display: flex;
    align-items: center;
}

.index-education-toggle label .index-education-toggle-switch:after { /* Schatten unter Box */
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
}

.index-education-toggle *, .index-education-toggle *:before, .index-education-toggle *:after {
    box-sizing: border-box;
}

.index-education-toggle-chbox {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.index-education-toggle-chbox:checked ~ label .index-education-toggle-switch:before {
    content: attr(data-unchecked);
    left: 0;
}

.index-education-toggle-chbox:checked ~ label .index-education-toggle-switch:after {
    content: attr(data-checked);
}

.index-education-toggle-chbox:checked ~ label .index-education-toggle-switch:after {
    color: #777;
}

.index-education-toggle-chbox[disabled] ~ label {
    color: rgba(119, 119, 119, 0.5);
}

.index-education-toggle-chbox:hover ~ label .index-education-toggle-switch {
    background-color: #777;
}

.index-education-toggle-chbox:focus ~ label .index-education-toggle-switch:after, .index-education-toggle-chbox:hover ~ label .index-education-toggle-switch:after {
    color: #5e5e5e;
}

.index-education-toggle-chbox:hover ~ label {
    color: #6a6a6a;
}

.index-education-toggle-chbox:focus ~ label .index-education-toggle-switch:after, .index-education-toggle-chbox:hover ~ label .index-education-toggle-switch:after {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
}

.index-education-toggle-chbox:checked ~ label .index-education-toggle-switch:after {
    transform: translate3d(148px, 0, 0);
}

.index-education-toggle-chbox:checked:focus ~ label .index-education-toggle-switch:after, .index-education-toggle-chbox:checked:hover ~ label .index-education-toggle-switch:after {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
}

@media (max-width: 500px) {
    .index-education-toggle {
        left: -125px;
    }

    .index-education-toggle-switch {
        flex: 0 0 250px;
    }

    .index-education-toggle-switch:before {
        left: 125px;
        width: 125px;
        font-size: 10px;
    }

    .index-education-toggle-switch:after {
        width: 123px;
        font-size: 10px;
    }
}



/*=====================================*/
/*-- Index page : Occupation search  --*/
/*=====================================*/

.index-search-input-wrapper {
    width: 500px;
}

#search-input {
    border-top-left-radius: 24px;
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    outline: 0;
}

@media (max-width: 767px) { /* css for XS */
    .index-search-input-wrapper {
        width: 70%;
    }

    #search-input {
        font-size: 1em;
    }

    #search-info {
        font-size: 1em;
        padding: 6px 12px;
    }
}

@media (max-width: 500px) { /* css for smaller devices */
    .index-search-input-wrapper {
        width: 80%;
    }
}

.search-input-default {
    border-bottom-left-radius: 24px !important;  /*over-riding .form-control*/
}

#search-input:focus {
    border-color: #2873d8;
    box-shadow: inset 0 1px 1px rgba(40, 94, 216, 0.08), 0 0 8px rgba(40, 86, 216, 0.6);
}

.search-input-highlight-collapsed {
    border-color: #2873d8;
    box-shadow: inset 0 1px 1px rgba(40, 94, 216, 0.08), 0 0 8px rgba(40, 86, 216, 0.6);
}

.search-input-highlight-expanded {
    border-top-color: #2873d8;
    border-left-color: #2873d8;
    border-right-color: #2873d8;
    border-bottom: 1px solid #dfe1e5 !important;
    box-shadow: inset 0 1px 1px rgba(40, 94, 216, 0.08), 0 0 8px rgba(40, 86, 216, 0.6);
    border-bottom-left-radius: 0 !important;
}

#search-info {
    cursor: pointer;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
}

.tooltip-inner {
    cursor: default;
}

.tooltip-inner a {
    color: #60a6e3;
}




/*=================*/
/*-- school map  --*/
/*=================*/

.dropdown-menu {
    z-index: 2000;
}

.container-schools {
    font-size: 16px;
    height: auto;
    padding: 0;
}

@media (max-width: 767px) {
    .container-schools {
        padding: 0 15px;
    }
}

.container-schools .row {
    margin-left: 0;
    margin-right: 0;
}

#schools-map-wrapper {
    box-shadow: 4px 4px 7px 0 rgb(0 0 0 / 20%);
    margin-bottom: 50px;
    border-radius: 5px;
}

#schools-map-info {
    margin-top: 50px;
}

#schools-controls {
    display: grid;
    grid-template-columns: 240px 2fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
        "state control-upper buttons"
        "state control-lower buttons";
    margin-top: 40px;
    padding: 2em;
    background-color: #fdfdfd;
    border-radius: 5px 5px 0 0;
}

@media (max-width: 991px) {

    #schools-map-info {
        margin-top: 20px;
    }

    #schools-map-footer {
        margin-bottom: 80px !important;
    }

    #schools-controls {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
        "state state"
        "control-upper control-upper"
        "control-lower buttons";
        margin-top: 40px;
        padding: 2em;
        background-color: #fdfdfd;
        border-radius: 5px 5px 0 0;
    }
}

@media (max-width: 553px) {

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.2em;
    }

    #schools-controls {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
        "state "
        "control-upper"
        "control-lower"
        "buttons";
        margin-top: 40px;
        padding: 10% 10% 5% 10%;
        background-color: #fdfdfd;
        border-radius: 5px 5px 0 0;
    }
}

.schools-controls-wrapper {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.schools-controls-wrapper .btn-default {
    border-color: black;
}

.schools-controls-wrapper .filter-option {
    color: black;
}

.schools-controls-wrapper-disabled label {
    color: #999;
}

.schools-controls-wrapper-disabled span {
    color: #999;
}

.schools-controls-wrapper-disabled .btn-default {
    border-color: #999;
}

.schools-controls-wrapper-disabled .btn-default:hover, .schools-controls-wrapper-disabled .btn-default:focus {
    border-color: #999;
}

.schools-controls-wrapper-disabled .filter-option {
    color: #999;
}

.schools-controls-wrapper-state {
    grid-area: state;
}

.schools-controls-wrapper-controls-upper {
    grid-area: control-upper;
    display: flex;
}

.schools-controls-wrapper-controls-lower {
    grid-area: control-lower;
    padding-top: 20px;
}

.schools-controls-wrapper-controls-lower > span {
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
    cursor: default;
}

.schools-controls-wrapper-controls-lower label {
    font-weight: normal;
    font-size: 0.9em;
}

.schools-controls-btn-wrapper {
    margin-left: auto;
    grid-area: buttons;
    display: flex;
    height: 100px;
    align-items: flex-start;
}

@media (min-width: 1200px) {

    #schools-controls-search-btn {
        margin-right: 10px;
    }
}

@media (max-width: 1199px) {

    .schools-controls-btn-wrapper {
        flex-direction: column;
    }

    #schools-controls-search-btn {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 991px) {

    .schools-controls-wrapper-controls-upper {
        padding-top: 20px;
    }

    .schools-controls-btn-wrapper {
        flex-direction: row;
        align-items: end;
    }

    #schools-controls-search-btn {
        margin-right: 10px;
        margin-bottom: 0;
    }
}

@media (max-width: 553px) {

    .schools-controls-wrapper-controls-upper {
        flex-direction: column;
    }

    .schools-controls-wrapper {
        margin-right: 0;
    }

    .schools-controls-wrapper:nth-of-type(2) {
        margin-top: 20px;
    }

    .select-schools {
        width: 100% !important;
    }

    .schools-controls-btn-wrapper {
        margin-left: 0;
        align-items: center;
        justify-content: center;
    }
}

.schools-controls-btn {
    padding: 15px;
    width: 114px;
    border-radius: 5px;
    border: none;
}

#schools-controls-search-btn {
    color: white;
    background-color: #4f6eca;
    display: flex;
    align-items: center;
}

#schools-controls-search-btn:hover {
    background-color: #415cad;
}

#schools-controls-search-btn > span {
    display: inline;
    font-size: 22px;
    font-weight: 600;
    padding-right: 5px;
}

.lds-dual-ring { /* source: https://loading.io/css/*/
    display: none;
    width: 20px;
    height: 20px;
    margin-right: 7px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 16px;
    height: 16px;
    margin: 2px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#schools-controls-reset-btn {
    color: grey;
    background-color: rgb(239, 239, 239);
}

#schools-controls-reset-btn:hover {
    color: #7a7a7a;
    background-color: rgb(233, 233, 233);
}

#schools-notification {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    text-align: center;
}

.schools-notification-error {
    background-color: #f8d7da;
    color: #721c24;
}

#schools-map {
    height: 600px;
    border-radius: 0 0 5px 5px;
}

#schools-map-footer {
    padding: 2em;
    background-color: #fdfdfd;
    border-radius: 5px;
    margin-bottom: 150px;
    box-shadow: 4px 4px 7px 0 rgb(0 0 0 / 20%);
}

#schools-map-footer-table {
    display: inline-flex;
    flex-direction: column;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    margin-bottom: 10px;
}

.schools-map-footer-table-row {
    display: flex;
    flex-direction: row;
}

.schools-map-footer-table-cell-left {
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    width: 200px;
}

.schools-map-footer-table-cell-right {
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    width: 140px;
}

.schools-map-footer-table-header {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #eeeeee;
}

.tab-pane > p {
    padding: 5px;
    font-family: sans-serif;
    font-size: 100%;
}

@media (min-width: 992px) { /*css for lg and md*/
    #info-box {
        padding-right: 0;
        z-index: 1500;
    }
    
    #tool-box {
        margin-top: 30px;
    }
}

@media (max-width: 991px) { /*css for sm and xs*/
    #info-box {
        padding-top: 20px;
        padding-right: 0;
        z-index: 1500;
    }
    
    #tool-box {
        margin-top: 0px;
    }
}

@media (min-width: 768px) { /*css for lg, md, and sm*/
    #map-control {
        height: 600px;
        background-color: #D2D6D8;
        padding: 20px;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        text-align: left;
    }
    
    #map {
        height: 600px;
        padding: 0;
    }
}

@media (max-width: 767px) { /*css for xs*/
    #map-control {
        height: 500px;
        background-color: #D2D6D8;
        padding: 20px;
        text-align: left;
    }
    
    #map {
        height: 300px;
        padding: 0;
    }
    
}

#map-control .glyphicon-remove {
    transform: translateY(19px);
    font-size: 12px;
    color: #E74C3C;
    display: none;
    cursor: pointer;  
}

#map-control .checkbox { /*checkbox for private schools*/
    padding-left: 0;
}

#map-control .dropdown-menu {
    z-index: 1010; /*overlay leaflet bottom left text*/
}

.nav-tabs {
    background-color: #E7ECEF;
    border-bottom: 1px solid #959595;
}

.nav-tabs li a:link {
    background-color: #E7ECEF;
    border-bottom: none;
    color: gray;
}

.nav-tabs li a:hover {
    background-color: #BEC2C4;
    color: #383838;
}

.nav-tabs > li.active > a:link, /*behavior of tabs that are currently active*/
.nav-tabs > li.active > a:hover {
    background-color: #BEC2C4;
    color: #383838;
    border: 1px solid #959595;  
    border-bottom-color: transparent;
}

.map-popup-header { /*header in map popup*/
    margin-bottom: 5px;
}

.map-popup-col-2 { /*2nd column in map popup*/
    padding-left: 5px;
}

@media (min-width: 992px) { /*css for lg and md*/
    #map-alert { /*alert after search*/
        margin-top: 40px;
    }
}

@media (max-width: 991px) { /*css for sm and xs*/
    #map-alert { /*alert after search*/
        margin-top: 0px;
    }   
}

#map-alert p {
    font-size: 100%;
}

#map-alert h1 {
    font-size: 140%;
    margin: 5px;
}

#loading-screen-absolute-wrapper {
    position: absolute;
    height: 600px;
    z-index: 1000;
    display: none;
}

#overlay-1 img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -80px 0 0 -80px;
}

@media (min-width: 768px) { /*css for lg, md, and sm*/
    .map-overlay {
        padding: 0;
    }
    
    #overlay-1 { 
        height: 600px;        
        background-color: rgba(0,0,0,0.6);
        z-index: 9999;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }
}

@media (max-width: 767px) { /*css for xs*/
    .map-overlay {
        padding: 0;
    }
    
    #overlay-1 { 
        height: 750px;
        width: 100vw;        
        background-color: rgba(0,0,0,0.6);
        z-index: 9999;
    }    
}

/*==========================*/
/*-- about page : general --*/
/*==========================*/

@media (min-width: 1200px) { /*css for lg*/
    .container-about {
        margin: 60px 0 0 0;
        background-color: #D2D6D8;
        padding: 80px 150px;
    }
}

@media (max-width: 1199px) { /*css for md*/
    .container-about {
        margin: 60px 0 0 0;
        background-color: #D2D6D8;
        padding: 30px 100px;
    }
}

@media (max-width: 991px) { /*css for sm, xs*/
    .container-about {
        margin: 0;
        background-color: #D2D6D8;
        padding: 120px 30px 30px 30px;
    }

    .container-about-features {
        padding-right: 30px;
        padding-left: 30px;
    }

    .featurette-divider {
        margin-top: 0;
        margin-bottom: 0;
    }
}

.about-arrow-down {
    height: 60px;
    text-align: center;
    padding: 15px 0;
    font-size: 30px;
    color: rgba(210,214,216,1); /*same as #D2D6D8 but with opacity setting*/
}


/*==================================*/
/*-- about page : content  --*/
/*==================================*/

@media (min-width: 992px) { /*css for md, lg*/
    .vertical-align {
        display: flex;
        flex-direction: row;
    }
    
    .about-intro-text {
        padding: 5%;
        font-size: 1.2em;
        font-weight: 400;
        line-height: 1.5;      
    }
}

@media (max-width: 991px) { /*css for xs, sm*/
    .vertical-align {
        display: block;
        flex-direction: row;

    }
    
    .about-intro img {
        max-height: 300px; 
        display: block;
        margin: 0 auto;
        margin-top: 2%;
    }
    
    .about-intro-text {
        padding: 2%;
        font-size: 12pt;
        font-weight: 400;
        line-height: 1;      
    }  
}

.vertical-align > [class^="col-"],
.vertical-align > [class*=" col-"] {
    display: flex;
    align-items: center;     /* Align the flex-items vertically */
    /*justify-content: center;*/ /* Optional, to align inner flex-items
                              horizontally within the column  */
}

.about-intro-text h2 {
    font-size: 50px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -1px;
    padding-bottom: 10px;
}



/*==================================*/
/*-- about page : 3 info features --*/
/*==================================*/

.featurette { 
    padding: 50px 0; /*space above and below featurette*/
}

.featurette-text {
    margin: 5%;
}

@media (min-width: 768px) {
    .featurette img {
        max-height: 200px;
    }

    .featurette .pull-right { /*contains images pulled right*/
        margin: 5% 5% 5% 60px;
    }

    .featurette .pull-left { /*contains images pulled left*/
        margin: 5% 60px 5% 5%;    
    }
    
    .featurette-heading {
        font-size: 50px;
        font-weight: 300;
        line-height: 1;
        letter-spacing: -1px;
    }
}

@media (max-width: 767px) {
    .featurette img {
        max-height: 100px;
    }

    .featurette .pull-right { /*contains images pulled right*/
        margin: 3%;
    }

    .featurette .pull-left { /*contains images pulled left*/
        margin: 3%;    
    }
    
    .featurette-heading {
        font-size: 30px;
        font-weight: 300;
        line-height: 1;
        letter-spacing: -1px;
    }
}

.featurette-divider {
    background-color: black;
    border-color: #CED5DA; /*color a bit darker shade of gray/blue*/
}


/*==================*/
/*-- footer style --*/
/*==================*/

footer {
    background-color: #D2D6D8;
    border-top: 1px solid #c6cacb;
    height: 50px;
}

.footer-text {
    text-align: right;
    padding-top: 15px;
    font-family: 'Archivo Narrow', sans-serif;
}

@media (max-width: 767px) {
    footer {
        padding: 0 5%;
        height: auto;
        margin-top: 0;
    }

    .footer-text {
        padding-top: 10px;
        margin-bottom: 10px;
    }
}

footer a, footer a:visited { /*link + visited*/
    color: #404040;
}

footer a:hover  { /*link hover*/
    color: #202020;
}

footer a:active  { /*link active*/
    color: #404040;
}

/*========================*/
/*-- impressum: general --*/
/*========================*/

.impressum p {
    font-size: medium;
    font-family: sans-serif;
}

.impressum {
    margin-bottom: 60px;
    margin-top: 60px;
    background-color: #D2D6D8;
    padding: 20px;        
}

/*=================================*/
/*-- occ's : general --*/
/*=================================*/

.row-occs { /*row container that is split between nav and content*/
    margin: 20px 0px;
}


/*=================================*/
/*-- occ's : side-bar navigation --*/
/*=================================*/

.navbar-affix { /*affixed navbar on side: general*/
    margin-top:3%;
}

.navbar-affix li { /*aligns navbar vertically*/
    float: none;
    display: block;
    height: 40px;    
}

#links-left > li > a {
    padding: 0;
}

#links-left > li.active > a {
   background-color: black; /*active links*/
}


/*============================*/
/*-- /berufe : sidebar left --*/
/*============================*/

.berufe-sidenav {
    position: fixed;
    z-index: 1;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    grid-area: sidenav-sections;
}

.berufe-sidenav-link, .berufe-sidenav-link:focus {
    font-size: 1.1em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    border-bottom: 1px solid #b0b0b0;
    border-right: 1px solid #b0b0b0;
    border-radius: 3px;
    padding: 0.2em 0.5em;
    text-decoration: none;
}

@media (max-width: 767px) {
    .berufe-sidenav {
        display: none;
    }
}

@media (min-width: 992px) {
    .berufe-sidenav-link, .berufe-sidenav-link:focus {
        font-size: 1.3em;
    }
}

@media (min-width: 1200px) {
    .berufe-sidenav-link, .berufe-sidenav-link:focus {
        font-size: 1.5em;
    }
}

.berufe-sidenav-link-inactive {
    color: #8f8291 !important;
    background-color: #e0e5e8 !important;
}

.berufe-sidenav-link-active, .berufe-sidenav-link:hover {
    color: white !important;
    background-color: #437EBD !important;
    text-decoration: none;
}



/*=============================*/
/*-- /berufe : sidebar right --*/
/*=============================*/

#berufe-sidenav-right-wrapper {
    grid-area: sidenav-occs;
}

#berufe-sidenav-right {
    padding: 1em;
    margin-left: 3em;
    background-color: #e0e5e8;
    border: 1px solid #dedfe0;
    border-radius: 2px;
}

@media (max-width: 991px) {
    #berufe-sidenav-right {
        margin-top: 5%;
        border-radius: 10px;
        margin-left: 0;
        margin-right: 2%;
    }
}

@media (min-width: 992px) {
    #berufe-sidenav-right {
        margin-left: 2em;
    }
}

@media (min-width: 1200px) {
    #berufe-sidenav-right {
        margin-left: 3em;
    }
}

#berufe-sidenav-right > h1 {
    font-size: 1.2em;
    margin-top: 0;
}

@media (max-width: 1199px) and (min-width: 992px) {
    #berufe-sidenav-right > h1 {
        font-size: 1.1em;
        margin-top: 0;
    }
}

#berufe-sidenav-right > h1 > span {
    color: #1566bf;
}

#berufe-sidenav-right > ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    overflow-x: hidden;
}

.berufe-sidenav-right-extendable {
    max-height: 200px;
    overflow-y: hidden;
}

.berufe-sidenav-right-item > a {
    color: inherit;
    width: 100%;
}

.berufe-sidenav-right-item > a:hover {
    text-decoration: none;
}

.berufe-sidenav-right-item::before {
    transition: transform 0.5s ease;
    content: ">";
    display:inline-block;
    margin-right: 0.55em;
    font-weight: 500;
}

.berufe-sidenav-right-item:hover {
    color: #034184;
}

.berufe-sidenav-right-item:hover::before {
    transform: translateX(0.2em);
}

#berufe-sidenav-right-extend {
    position: relative;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
    margin-top: 5px;
}

#berufe-sidenav-right-collapse {
    justify-content: center;
    font-weight: 500;
    cursor: pointer;
    display: none;
    margin-top: 10px;
}

.berufe-sidenav-right-extend-on {
    display: flex;
}

.berufe-sidenav-right-extend-off {
    display: none;
}

#berufe-sidenav-right-extend > span, #berufe-sidenav-right-collapse > span {
    opacity: 0.7;
}

#berufe-sidenav-right-extend::before {
    content: '';
    background: linear-gradient(180deg,hsla(0,0%,100%,0) 0,#e0e5e8);
    height: 75px;
    width: 100%;
    position: absolute;
    top: -75px;
}

.berufe-sidenav-right-extend-icon {
    color: #1566bf;
    font-size: 1.4em !important;
    font-weight: 600 !important;
    margin-right: 2px;
}

#berufe-sidenav-right-extend > .berufe-sidenav-right-extend-icon {
    padding-top: 4px;
}

#berufe-sidenav-right-collapse > .berufe-sidenav-right-extend-icon {
    padding-top: 2px;
}





/*=======================*/
/*-- /berufe : content --*/
/*=======================*/


.berufe-content {
    grid-area: content;
}

.berufe-content-tile:first-of-type h1 { /*affects first h1 of content*/
    margin-top: 0;
}

@media (max-width: 767px) {
    .berufe-content-tile > h1 {
        font-size: 2em;
    }
}

.berufe-allgemein-wrapper {
    margin-top: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.berufe-allgemein-wrapper:not(:first-of-type) {
    margin-top: 1.5em;
}

.berufe-content-salary {  /* we style this section in dark-mode */
    background-color: #D6DDE3;
    color: #333;
    border-radius: 10px;
    padding: 1.5em;
    margin-top: 10%;
}

.occ-icon {
    width: 100px;
    height: 100px;
}

@media (max-width: 767px) {

    .berufe-content-salary {
        margin-top: 5%;
    }

    .occ-icon {
        width: 80px;
        height: 80px;
    }
}


.berufe-content-tile h1 {
    margin-top: 1.5em;
}

.icon-header {
    font-size: 0.8em !important;
    color: rgb(51, 101, 135);
    cursor: pointer;
}

.berufe-content-salary > h1 {
    margin-top: 0;
}

.berufe-content-tile h2 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 0.2em;
}

.berufe-content-intro {
    margin-bottom: 1em;
}

.berufe-content-intro-lower {
    margin-top: 2em;
}

.berufe-content-intro-inline-header {
    color: #245284;
    font-weight: 600;
}

.icon-float-left {
    float: left; 
    margin: 0 5px 0 0;
}

#clock {
    width: 15%;
    margin-right: 1.5em;
}

.clock-flex-wrapper {
    margin-top: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock-info {
    margin-left: 2em;
    font-size: 1.2em;
    line-height: 1.2;
}

@media (max-width: 767px) {

    #clock {
        display: none;
    }

    .clock-info {
        margin-left: 0;
    }
}

.clock-info-header {
    font-weight: 900;
}

.clock-info-highlight {
    display: inline;
    font-weight: 700;
    background-color: #dbdbdb;
    border-radius: .25rem;
    padding: 0 .2em;
    line-height: 1.2;
}

.clock-info-highlight-dark-mode {
    display: inline;
    font-weight: 700;
    background-color: #e8eef3;
    border-radius: .25rem;
    padding: 0 .2em;
    line-height: 1.2;
}

.clock-info-alert {
    cursor: default;
    margin-left: 0.4em;
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.clock-info-alert-green {
    color: #D1F2EB;
    background-color: #0B5345;
}

.clock-info-alert-yellow {
    color: #FEF9E7;
    background-color: #B9770E;
}

.clock-info-alert-red {
    color: #F9EBEA;
    background-color: #7B241C;
}

.clock-info-row {
    margin-top: 0.3em;
}

.clock-info ul {
    padding-left: 30px;
}

.schedule-flex-wrapper {
    margin-top: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-index {
    border-radius: 10px;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    padding: 0.5em;
    color: white;
    background-color: #1C2833;
}

.bubble {  /*info bubble next to statistics*/
    width: 6em;
}

@media (max-width: 767px) {
    .bubble {
        width: 4.5em;
    }
}

.bubble-left {
    margin-right: 1em;
}

.bubble-left-next-item {
    margin-left: 1em;
    margin-right: -0.7em;
}

.bubble-right-next-item {
    margin-right: 1em;
    margin-left: -0.7em;
}

#container-arbeitszeit {  /* Contains charts for work schedules */
    width: 100%;
    height: 400px;
}

#schedule-curly-bracket {
    height: 120px;
    width: 20px;
    margin: 0 3em;
}

@media (max-width: 767px) {
    .schedule-flex-wrapper {
        flex-direction: column;
    }

    #schedule-curly-bracket {
        margin: -30px 0;  /* Negative margin required because of rotation */
        transform: rotate(90deg);
    }
}


/*==========================*/
/*-- occ search in navbar --*/
/*==========================*/

#nav-occ-search-wrapper {
    margin-top: 25px;
    margin-right: 20px;
}

@media (max-width: 767px) {
    /*css for xs*/
    #nav-occ-search-wrapper {
        display: none;
    }
}

@media (max-width: 991px) {
    /* small devices */
    #nav-occ-search-wrapper {
        margin-right: 10px;
        padding-right: 0;
    }
}

#nav-occ-search {
    width: 200px;
    outline: 0;
}

#nav-occ-search:focus {
    border-color: #2873d8;
    box-shadow: inset 0 1px 1px rgba(40, 94, 216, 0.08), 0 0 8px rgba(40, 86, 216, 0.6);
}

.nav-occ-search-highlight-collapsed {
    border-color: #2873d8;
    box-shadow: inset 0 1px 1px rgba(40, 94, 216, 0.08), 0 0 8px rgba(40, 86, 216, 0.6);
}

.nav-occ-search-highlight-expanded {
    border-top-color: #2873d8;
    border-left-color: #2873d8;
    border-right-color: #2873d8;
    border-bottom: 1px solid #dfe1e5 !important;
    box-shadow: inset 0 1px 1px rgba(40, 94, 216, 0.08), 0 0 8px rgba(40, 86, 216, 0.6);
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}


/*===============================*/
/*-- occ search : suggestions  --*/
/*===============================*/

ul.ui-autocomplete {  /*UL including suggestions*/
    border-left-color: #2873d8 !important;
    border-right-color: #2873d8 !important;
    border-bottom-color: #2873d8 !important;
    border-top: none !important;
    box-shadow: 0 4px 6px 0 rgba(40, 86, 216, 0.6);
    overflow-x: hidden;
    overflow-y: auto;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 0;
    z-index: 3000;
}

.ui-state-active,  /*override jquery ui defaults for search suggestion highlighting*/
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
	border-left: 1px solid #2873d8 !important; /*08518C*/
	border-right: 1px solid #2873d8 !important; /*08518C*/
	border-top: 1px solid #08518C !important; /*08518C*/
	border-bottom: 1px solid #08518C !important; /*08518C*/
	background: #2873d8;
	font-weight: normal;
	color: white;
    margin: 0;  /* -1px required to make it stretch to both sides*/
}

.ui-autocomplete-divider {
    margin-top: 0;
    padding-top: 10px;
}

.ui-menu-item-wrapper {
    padding: .2em 1em !important;
}

.ui-autocomplete-title {
    font-weight: bold;
    padding: .2em 1em;
    margin: .8em 0 .2em;
    line-height: 1.5;
}

.ui-autocomplete-no-primary-results {
    padding: .2em 1em;
    margin: .2em 0 .2em;
    line-height: 1.5;
    color: #BDBDBD;
}

.search_title_suffix {
    font-size: 0.8em;
    padding-left: 0.4em;
}



/*=====================*/
/*-- /berufskatalog  --*/
/*=====================*/

.container-bk {
    background-color: #E7ECEF;
    min-height: calc(100vh - 75px - 14px);
    margin-bottom: 100px;
    margin-top: 75px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
}

.bk-header {
    margin: 0 10px 10px 10px;
}

.bk-tile {
    background-color: white;
    color: black;
    font-size: 1.5em;
    text-align: center;
    padding: 1.5em;
    margin: 10px;
    border: 2px solid transparent;
    border-radius: 10px;
    height: max-content;  /* Avoids height stretch */
    cursor: pointer;
    flex-grow: 1;
}

.bk-tile-1 {
    background-color: #7cc7de;
}

.bk-tile-9 {
    background-color: #7cb7de;
}

.bk-tile-3 {
    background-color: #7ca5de;
}

.bk-tile-8 {
    background-color: #7c91de;
}

.bk-tile-5 {
    background-color: #817cde;
}

.bk-tile-2 {
    background-color: #997cde;
}

.bk-tile-7 {
    background-color: #b57cde;
}

.bk-tile-4 {
    background-color: #db7cde;
}

.bk-tile-6 {
    background-color: #de7cb4;
}

.bk-tile-active {
    border: 2px solid #484848;
}

.bk-oc-list {
    background-color: #c8dae6;
    border: 1px solid #a7a7a7;
    border-radius: 2px;
    color: white;
    font-size: 1.2em;
    padding: 1.5em;
    margin: 0.1em 1em 0.75em 1em;
    width: 100%;
    display: none;
}

.bk-oc-list h1 {
    margin-top: 0;
    color: #2d2d2d;
    font-size: 1.2em;
}

.bk-oc-list a {
    margin-top: 0;
    color: #2d2d2d;
}

@media (max-width: 767px) { /*css for xs*/

    .container-bk {
        margin-top: 100px;
        margin-bottom: 40px;
    }

    .bk-header {
        font-size: 1.2em;
    }

    .bk-tile {
        font-size: 1em;
    }

    .bk-oc-list {
        padding: 1em;
    }

    .bk-oc-list h1 {
        font-size: 1em;
    }

    .bk-oc-list a {
        font-size: 0.8em;
    }
}



/*=============*/
/*-- /daten  --*/
/*=============*/

.container-data {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
            "datasets-header datasets-header"
            "datasets datasets-note"
            "items-header items-header"
            "items items-note";
    padding-top: 50px;
    min-height: calc(100vh - 76px - 14px);  /* adjust for header + margin of footer */
    font-size: 16px;
    margin-bottom: 5em;
}

.data-sets-header {
    grid-area: datasets-header;
    margin-bottom: 1.5em;
}

.data-sets {
    grid-area: datasets;
    color: #1C2833;
    margin-right: 4em;
}

.data-orange-header {
    font-size: 1.2em;
    font-weight: 500;
    margin: 0;
    border-radius: 5px;
    display: inline-block;
    padding: 0.3em 0.5em;
    background-color: rgba(255, 165, 0, 1);
}

.data-set {
    margin-top: 1.5em;
}

.data-set:first-of-type {
    margin-top: 0;
}

.data-set-title {
    display: inline-block;
    background-color: #dfe4e7;
    color: black;
    font-size: 1em;
    font-weight: 500;
    padding: 0.2em 0.5em;
    border-radius: 5px;
    border: 1px solid #d3d7d9;
    margin-bottom: 0.5em;
}

.data-set-description {
    padding-left: 1em;
}

.data-sets-note-wrapper {
    grid-area: datasets-note;
}

.data-note {
    border: 1px solid black;
    background-color: #1C2833;
    color: white;
    border-radius: 10px;
    padding: 1em;
}

.data-note > h1 {
    font-size: 1.2em;
    font-weight: 500;
    margin: 0 0 0.5em 0;
    border-bottom: 2px solid orange;
    display: inline-block;
}


.data-note > section {
    font-size: 1em;
    margin-top: 0.5em;
}


.data-note > section > span {
    color: orange;
}

.data-items-header {
    grid-area: items-header;
    margin: 3em 0 1.5em 0;
}

.data-items {
    grid-area: items;
    margin-right: 4em;
}

.data-items-note-wrapper {
    grid-area: items-note;
}

@media (max-width: 767px) {
    /*css for xs*/
    .container-data {
        grid-template-columns: 100%;
        grid-template-rows: auto;
        grid-template-areas:
                "datasets-note"
                "datasets-header"
                "datasets"
                "items-note"
                "items-header"
                "items";
        padding-top: 100px;
    }

    .data-sets-header {
        margin-top: 3em;
        margin-bottom: 1em;
    }

    .data-items-header {
        margin-top: 3em;
        margin-bottom: 1em;
    }

    .data-items-note-wrapper {
        margin-top: 1.5em;
    }

    .data-items {
        margin-right: 0;
    }

    .data-sets {
        margin-right: 1em;
    }
}

.data-item {
    padding: 1em 0.5em;
    border: 1px solid #d3d7d9;
    box-sizing: border-box;
    margin-top: -1px;
    background-color: #e0e5e8;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.data-item-active, .data-item:hover {
    background-color: #d9dfe2;
}

.data-item-first {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.data-item-last {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.data-item-info {
    display: none;
    padding: 0.5em;
    background-color: #e3e9ec;
    border-right: 1px solid #dae1e4;
    border-left: 1px solid #dae1e4;
}

.data-item-info-bold {
    font-weight: 500;
}

.data-item-info-question {
    font-style: italic;
}

.data-item-info-last {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom: 1px solid #dae1e4;
}

.data-item-source {
    border-radius: 3px;
    padding: 3px;
    margin-left: auto;
    margin-right: 0.5em;
    font-size: 0.8em;
    line-height: 1;
}

.data-item-source-mz {
    color: #ffdcdc;
    background-color: #ff3330;
}

.data-item-source-etb {
    color: #f9ecfb;
    background-color: #8030ff;
}
