/* ### Standard-Tags ### */
html {
    /* background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(181, 225, 255, 1) 100%); */
    background: white;
}

body {
    min-height: 100svh;
    background: transparent;
    background: url("../images/startpage/hintergrund.svg") no-repeat;
    background-size: cover;
    background-position-x: 75%;
}

.ie body {
    min-height: 100vh;
    background: url("../images/startpage/hintergrund_ie.svg") no-repeat;
    background-size: cover;
    background-position-x: 75%;
}

body.page-body {
    background: white;
}

header,
main,
footer {
    width: calc(100% - 1em);
    padding: 0 .5em;
}

main {
    min-height: 100%;
}

h1 {
    padding-top: .8em;
    padding-bottom: .3em;
    margin: 0;
}

.ams-kompakt-p-content a, .ams-kompakt-p-content a:hover, .ams-kompakt-p-content a:visited {
    color: #0078c4;
}

/* ### Header ### */
.bis-kompakt_header {
    display: flex;
    flex-direction: column;
    max-height: 110px;
}

.bis-kompakt_header-left {
    flex-basis: 50%;
    display: flex;
    align-items: center;
}

.bis-kompakt_header-right {
    flex-basis: 50%;
}

.ams-logo {
    display: inline-block;
    flex-basis: 80px;
}

.header-title {
    color: #005db4;
    font-family: Roboto,Arial,sans-serif;
    font-size: 2em;
    align-items: center;
    flex-basis: calc(100% - 80px);
}

.kompakt-titel {
    color: #ed1639;
    font-size: .8em;
}

/* ### Navigation ### */
.ams-m-navigation-bar {
    justify-content: flex-end;
    align-items: center;
}

.ams-m-navigation-bar__nav-item-link {
    color: #2056ae;
    font-size: 1em;
    margin-right: .5em;
}

.ins-bis-link {
    font-family: Roboto, Arial, sans-serif;
    font-size: 1em;
    font-weight: 500;
    color: #fff;
    line-height: 1.28571em;
    background-color: #2056ae;
    transition: background-color .5s ease;
    border-radius: .5em;
    padding: .5em 1em;
}

.ins-bis-link:hover {
    background-color: #0078c4;
}

.ams-m-navigation-bar__nav-item-link .fa-info-circle {
    background-color: white;
    border-radius: .5em;
}

/* ### Startpage ### */

.start-page-wrapper {
    display: flex;
    flex-direction: row;
}

.start-page-left,
.start-page-right {
    display: flex;
    align-items: flex-start;
    height: calc((100svh - 110px) / 2);
    font-size: 1em;
}

.start-page-left {
    height: calc(30svh - (110px / 2));
}

.start-page-left .ams-e-button {
    margin-bottom: .5em;
}

.start-page-right {
    height: calc(70svh - (110px / 2));
    justify-content: center;
}

.ie .start-page-left,
.ie .start-page-right {
    height: calc((100vh - 110px) / 2);
}

.ie .start-page-left {
    height: calc(30vh - (110px / 2));
}

.ie .start-page-right {
    height: calc(70vh - (110px / 2));
}

.start-page-left h1 {
    font-size: 1.5em;
    padding-bottom: 0;
    color: #0d3668;
    line-height: 1em;
}

.start-page-right {
    align-items: flex-end;
}

.familie-wrapper {
    aspect-ratio: 770 / 670;
    width: 80%;
    /*left: calc(50% - 40svw);*/
    display: flex;
}

.familie-person-wrapper {
    position: relative;
}

.ie .familie-person-wrapper {
    padding-bottom: 87%;
}

.familie-person-wrapper img {
    position: absolute;
    bottom: 0;
    height: auto;
    width: 100%;
}

#male.familie-person-wrapper  {
    flex-basis: 38.5%;
}

#female.familie-person-wrapper  {
    flex-basis: 33.5%;
}

#kid.familie-person-wrapper  {
    flex-basis: 28%;
}

#male img {
    right: 0;
}

#female img {
    right: -15%;
    z-index: 1;
}

#kid img {
    z-index: 1;
    right: 15%;
}

.wolke-wrapper {
    position: absolute;
    z-index: 2;
}

.wolke {
    background: url("../images/startpage/wolke.svg");
    background-size: cover;
    z-index: 3;

    height: auto;
    width: 85%;
    aspect-ratio: 140 / 97;
    left: 0;
    bottom: 114%;
}

.ie .wolke {
    background-size: 100% 100%;
    padding-bottom: 69.29%;
}

.ie .wolke button {
    margin-bottom: -34.645%;
}

.gedanken-wolke {
    background: url("../images/startpage/wolke_mit_kugeln.svg");
    background-size: cover;
    height: auto;
    width: 85%;
    aspect-ratio: 109 / 103;
    left: -35%;
    bottom: 85%;
}

.ie .gedanken-wolke {
    background-size: 100% 100%;
    padding-bottom: 94.5%;
}

.ie .gedanken-wolke button {
    margin-bottom: -47.25%;
}

#female .gedanken-wolke {
    width: 90%;
    left: -38%;
}

#male .gedanken-wolke {
    background: url("../images/startpage/wolke_mit_kugeln_mann.svg");
    aspect-ratio: 162 / 166;
    background-size: cover;

    bottom: 96%;
    left: 15%;
}

.ie #male .gedanken-wolke {
    background-size: 100% 100%;
    padding-bottom: 97.6%;
}

.ie #male .gedanken-wolke button {
    margin-bottom: -48.8%;
}

#male .wolke {
    left: -20%;
    bottom: 129%;
    z-index: 1;
}

#kid .gedanken-wolke {
    width: 110%;
    left: -63%;
    bottom: 80%;
}

#kid .wolke {
    width: 125%;
    left: 0;
    bottom: 105%;
    z-index: 1;
}

#kid .wolke-2 {
    width: 110%;
    left: 37%;
    bottom: 85%;
    z-index: 3;
}

.wolke-button {
    margin: 0;
    padding: 0 1em;
    border: 0;
    background: none;
    cursor: pointer;
    color: #0d3668;
    font-weight: bold;

    font-size: .7em;

    width: 100%;
}

.wolke .wolke-button {
    height: 100%;
}

.gedanken-wolke .wolke-button {
    height: 70%;
}

#kid .gedanken-wolke .wolke-button {
    height: 75%;
}

#female img.aerztin {
    width: 97%;
    right: -10%;
}

#female img.pflegekraft-frau {
    width: 89%;
    right: -7%;
}

#female img.koechin {
    width: 98%;
    right: -15%;
}

#female img.kellnerin {
    width: 153%;
    max-width: none;
    right: -69%;
}

#female img.programmiererin {
    width: 91%;
    right: -7%;
}

#female img.bauarbeiterin {
    right: -21%;
    width: 105%;
    max-width: 105%;
}

#female img.rauchfangkehrerin {
    width: 127%;
    max-width: 127%;
    right: -43%;
    z-index: 0;
}

#male img.arzt {
    width: 115%;
    max-width: 115%;
    right: -15%;
}

#male img.pflegekraft-mann {
    right: -2%;
    width: 96%;
}

#male img.bauarbeiter {
    width: 112%;
    max-width: 112%;
    right: -20%;
}

#male img.rauchfangkehrer {
    max-width: 220%;
    width: 220%;
    right: -63%;
    z-index: 0;
}

#male img.kellner {
    width: 154%;
    max-width: 154%;
    right: -63%;
}

#male img.programmierer {
    width: 91%;
    right: -1%;
}

#male img.koch {
    width: 102%;
    max-width: 102%;
    right: -11%;
}

/* ### Kompetenzsuche ### */
.kompetenzsuche-wrapper {
    display: flex;
    flex-direction: column;
}

.kompetenzsuche-right {
    padding-top: 1em;
}

.kompetenzsuche-right a,
.kompetenzsuche-right a:hover,
.kompetenzsuche-right a:visited {
    color: #0078c4;
}

.suche-suchbegriffe-list li .orig-bez {
    flex-basis: calc(90% - 1.5em - 10px);
    padding: 0 1em 0 .5em;
}

.suche-suchbegriffe-list li:first-of-type {
    padding-top: .3em;
    border-top: 1px solid #005db4;
}

.suche-suchbegriffe-list li {
    padding: .3em 0;
    border-bottom: 1px solid #005db4;
}

.suche-gewaehlte-suchbegriffe-auslisteloeschen {
    padding: 0;
}

.kompetenzsuche-farbindikator {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    align-self: center;
}

#suche-suchbegriffe-list {
    max-width: 100%;
}

.score-bar-wrapper {
    flex-basis: calc(100% - 15px);
}

.kompetenzsuche-vorschlag-heading {
    font-size: 1rem;
    color: black;
    font-weight: normal;
    text-align: left;
}

.gap-kompetenz-liste-links {
    text-align: left;
}

.bis-kompakt-main .gap-analyse-liste.kompetenzsuche-liste .suche-gewaehlte-suchbegriffe-auswahllupe {
    padding: 0;
}

.bis-kompakt-main .gap-analyse-liste.kompetenzsuche-liste .gap-kompetenz-liste-rechts {
    flex-basis: 20px;
}

.bis-kompakt-main .gap-analyse-liste.kompetenzsuche-liste .gap-kompetenz-liste-links {
    flex-basis: calc(100% - 31px);
}

.bis-kompakt-main .gap-analyse-liste.kompetenzsuche-liste .gap-kompetenzen-header-rechts.gap-kompetenzen-header {
    flex-basis: 15px;
}

.bis-kompakt-main .gap-analyse-liste.kompetenzsuche-liste .gap-kompetenzen-header-links.gap-kompetenzen-header {
    flex-basis: calc(100% - 36px);
}

.detailseite-link {
    font-size: 14px;
    border: none;
    background: none;
    padding: 0;
    color: #0078c4;
    cursor: pointer;
    margin-right: 5px;
    text-align: left;
    font-family: Roboto, Arial, sans-serif;
}

/* Hotsearch List von ams-main.css übernommen (Wrapper-Klasse angepasst) */
.awesomplete-wrapper .awesomplete [hidden] {
    display:none
}
.awesomplete-wrapper .awesomplete .visually-hidden {
    position:absolute;
    clip:rect(0,0,0,0)
}
.awesomplete-wrapper .awesomplete {
    position:relative
}
.awesomplete-wrapper .awesomplete>input {
    display:block
}
.awesomplete-wrapper .awesomplete>ul {
    position:absolute;
    left:0;
    z-index:1;
    min-width:100%;
    box-sizing:border-box;
    list-style:none;
    padding:0;
    margin:0;
    background:#fff
}
.awesomplete-wrapper .awesomplete>ul:empty {
    display:none
}
@supports (transform:scale(0)) {
    .awesomplete-wrapper .awesomplete>ul {
        transition:.3s cubic-bezier(.4,.2,.5,1.4);
        transform-origin:1.43em -.43em
    }
    .awesomplete-wrapper .awesomplete>ul[hidden] {
        opacity:0;
        transform:scale(0);
        display:block;
        transition-timing-function:ease
    }
    .awesomplete-wrapper .awesomplete>ul:empty {
        opacity:0;
        transform:scale(0);
        display:block;
        transition-timing-function:ease
    }
}
.awesomplete-wrapper .awesomplete>ul {
    box-sizing:border-box;
    border:2px solid #093c7d;
    margin-top:-2px
}
.awesomplete-wrapper .awesomplete>ul>li {
    font-family:Roboto,Arial,sans-serif;
    font-size:1rem;
    font-weight:500;
    color:#212121;
    padding: 10px;
    position:relative;
    cursor:pointer
}
.awesomplete-wrapper .awesomplete>ul>li:hover {
    background-color:#0078c4
}
.awesomplete-wrapper .awesomplete>ul>li[aria-selected=true] {
    background-color:#0078c4
}
.awesomplete-wrapper .awesomplete mark {
    background:#eaff00
}
.awesomplete-wrapper .awesomplete li[aria-selected=true] mark {
    background-color:#0078c4
}

/* ### Detailseite ### */
.detailseite-schliessen {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 2em;
    cursor: pointer;

    color: #2056ae;
    transition: color .5s ease;
}

.detailseite-schliessen:hover {
    color: #0078c4;
}

#bis-link-element-wrapper {
    position: relative;
    height: 4em;
}

#bis-link-element {
    position: absolute;
    left: 27%;
    top: 20%;
}

/* ### Helper ### */
.mobile-hidden {
    display: none;
}

mark {
    background: none !important;
    mso-highlight: transparent !important;
    color: #0078c4 !important;
}

@media screen and (min-width: 648px) {
    /* ### Startpage ### */
    .start-page-left__text {
        margin-top: 10%;
    }

    body {
        background-position-x: 52%;
    }
}

@media screen and (min-width: 900px), screen and (min-width: 700px) and (orientation: landscape) and (pointer: coarse) {
    /* ### Header ### */
    .bis-kompakt_header {
        flex-direction: row;
        max-height: 62px;
    }

    .bis-kompakt_header-left {
        flex-basis: 80%;
    }

    .bis-kompakt_header-right {
        flex-basis: 38%;
    }

    /* ### Navigation ### */
    .ams-m-navigation-bar__nav-item-link {
        color: #2056ae;
        font-size: 1.5em;
    }

    .ins-bis-link {
        font-family: Roboto, Arial, sans-serif;
        font-size: 1.5em;
        font-weight: 500;
        color: #fff;
        line-height: 1.28571em;
        background-color: #2056ae;
        transition: background-color .5s ease;
        border-radius: .5em;
    }

    /* ### Startpage ### */
    .familie-wrapper {
        width: 70%;
    }

    .start-page-wrapper {
        height: calc(100svh - 63px);
        flex-direction: row;
    }

    .start-page-left {
        font-size: 1.2em;
        height: calc(100svh - 63px);
        flex-basis: 40%;
    }

    .start-page-right {
        position: relative;
        flex-basis: 60%;
        align-items: flex-end;
        height: calc(100svh - 63px);
    }

    .ie .start-page-wrapper {
        height: calc(100vh - 63px);
    }

    .ie .start-page-left {
        height: calc(100vh - 63px);
    }

    .ie .start-page-right {
        height: calc(100vh - 63px);
    }

    /* ### Helper ### */
    .mobile-hidden {
        display: initial;
    }
}

@media screen and (min-width: 700px) and (orientation: landscape) and (pointer: coarse) {
    .start-page-left {
        flex-basis: 50%;
    }

    .start-page-right {
        flex-basis: 50%;
    }

    .ins-bis-link {
        font-size: 1em;
    }

    .familie-wrapper {
        width: 45%;
    }

    .wolke-button {
        font-size: .4em;
    }
}

@media screen and (min-width: 1201px) {
    header, main, footer {
        padding: 0;
    }

    .bis-kompakt_header {
        width: 1200px;
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    }

    /* ### Startpage ### */
    .start-page-left h1 {
        font-size: 2em;
    }

    .wolke-button {
        font-size: 1em;
    }

    .start-page-body .bis-kompakt-main {
        width: calc(((100svw - 1200px) / 2) + 1200px);
        align-self: flex-end;
    }

    .ie .start-page-body .bis-kompakt-main {
        width: calc(((100vw - 1200px) / 2) + 1200px);
    }

    /* ### Kompetenzsuche ### */
    .kompetenzsuche-wrapper {
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    .kompetenzsuche-left {
        padding: 1em 1em 1em 0;
    }

    .kompetenzsuche-right {
        padding: 1em 0 1em 1em;
    }

    .kompetenzsuche-left,
    .kompetenzsuche-right {
        flex-basis: calc(50% - 1em);
    }

    .familie-wrapper {
        width: 60%;
        left: 0;
    }
}

@media screen and (min-width: 1920px) {
    .familie-wrapper {
        width: 70%;
    }
}

@media screen and (min-width: 2560px) {
    .familie-wrapper {
        width: 80%;
    }

    #kid .wolke-2 {
        left: 33%;
    }
}

@media screen and (max-width: 640px) {
    .kompetenzsuche-right .ams-p-content-section .ams-l-main__header:first-of-type {
        width: 92%;
    }

    #bis-link-element {
        left: 0;
        width: 100%;
    }
}

/*
@media screen and (min-width: 1365px) {

    .familie-wrapper {
        max-width: 570px;
        max-height: 503px;
    }
}

@media screen and (min-width: 1599px) {

    .familie-wrapper {
        max-width: 690px;
        max-height: 608px;
    }
}

@media screen and (min-width: 1919px) {

    .familie-wrapper {
        max-width: 800px;
        max-height: 705px;
    }
}

@media screen and (min-width: 2100px) {

    .familie-wrapper {
        max-width: 900px;
        max-height: 793px;
    }
}
*/

/*
@media screen and (max-height: 1025px) {
    .familie-wrapper {
        max-height: 570px;
        max-width: 647px;
    }
}

@media screen and (max-height: 901px) {
    .familie-wrapper {
        max-height: 470px;
        max-width: 533px;
    }
}

@media screen and (max-height: 501px) {
    .familie-wrapper {
        max-height: 160px;
        max-width: 181px;
    }
}

 */