body {
    background-color: white;
}

#container {
    font-family: Roboto, Arial !important;
    font-weight: 400;
    background-color: #EBF7F4;
    background-image: url("../img/white-circle.png");
    background-repeat: no-repeat;
    background-size: 152%;
    background-position-x: 70%;
    background-position-y: 86%;
}

#logo-container {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 80px;
    overflow: hidden;
    opacity: 0;
}

#logo-container-top {
    width: 270px;
    position: fixed;
    top: 0;
    height: 60px;
    display: inline-flex;
    justify-content: flex-end;
    padding-top: 16px;
    z-index: 120;
    right: 0;
}
#logo-container-top #logo-efsa-top, #logo-container-top #logo-ecdc-top {
    opacity: 0;
    display: none;
}

#logo-efsa {
    float: right;
    height: 80px;
    width: 155px;
    background-image: url('../img/efsa_logo_80.png');
    background-repeat: no-repeat;
    background-size: 90%;
    background-position: right center;
    margin: 0px 4% 0 0%;
    overflow: hidden;
    padding: 0;
}

#logo-efsa img {
    height: 100%;
    width: auto;
}

#logo-efsa a {
    display: block;
    width: 100%;
    height: 80px;
    text-decoration: none;
}

#logo-ecdc {
    float: left;
    height: 80px;
    width: 90px;
    background-image: url('../img/ecdc_logo_80.png');
    background-repeat: no-repeat;
    background-size: 90%;
    background-position: left center;
    margin: 0px 0% 1px 5%;
    overflow: hidden;
}

#logo-efsa-bottom {
    height: 80px;
    width: 120px;
    background-image: url('../img/efsa_logo.svg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: left center;
    margin: 0 5% 1px 0;
    overflow: hidden;
}

#logo-ecdc img, #logo-efsa-bottom img {
    height: 100%;
    width: auto;
}

#logo-ecdc a, #logo-efsa-bottom a {
    display: block;
    width: 100%;
    height: 60px;
    text-decoration: none;
}


h5 {
    color: #939393;
    line-height: 120%;
    margin: 0;
    text-align: center;
    font-weight: 400;
    font-size: 12px;
}

.close {
    position: absolute;
    top: 0px;
    left: 44%;
    margin: 0 auto;
    height: 50px;
    width: 50px;
    overflow: hidden;
    background-color: white;
    border: #22294D 3px solid;
    border-radius: 50%;
    z-index: 1100;
    background-image: url('../img/close.png');
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.orient {
    top: 0px;
}

.close:hover {
    background-image: url('../img/close-hi.png');
}

#__info_row10__ {
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center !important;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

#__info_row11__ em {
    font-size: 12px;
    line-height: 7px;
}

#__info_row10__ a {
    background-color: #22294D;
    color: #fff !important;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all .2s linear;
}

#__info_row10__ a:hover {
    background-color: #22294D;
}

#info, #copy, #orientation, #screen, #video, #survey, #surveyBox, #antibiotics, #bug, #infoBacteria {
    position: absolute;
    display: none;
    width: 36%;
    left: 32%;
    top: 150px;
    overflow: hidden;
    border-radius: 0px;
    z-index: 1000;
}

#orientation {
    top: 10px;
}

#info h2, #copy h2, #orientation h2, #screen h2, #video h2, #survey h2, #surveyBox h2, #antibiotics h2, #bug h2, #infoBacteria h2 {
    margin: 20px 0 20px 0;
    color: #22294D;
    text-align: center;

}

#info p, #copy p, #orientation p, #screen p, #video p, #survey p, #surveyBox p, #antibiotics p, #bug p, #infoBacteria p {
    margin: 10px 0 0px 0;
    color: #22294D;
    text-align: left;
    line-height: 130%;
    font-size: 16px;
}

#info a, #copy a, #orientation a, #bug a, #infoBacteria a, #info a:visited, #copy a:visited, #orientation a:visited, #bug a:visited, #screen a, #video a,
#orientation a:visited, #surveyBox a, #surveyBox a:visited, #antibiotics a, #antibiotics a:visited, #infoBacteria a:visited {
    color: #22294D;
    font-weight: bold;
    text-decoration: none;
}

#info a:hover, #copy a:hover, #orientation a:hover, #video a, #screen a:hover, #surveyBox a:hover, #antibiotics a:hover, #bug a:hover, #infoBacteria a:hover {
    color: #22294D;
    text-decoration: none;
}

#info #info-content {
    background-color: rgba(255, 255, 255, 0.93);
    border: #22294D 3px solid;
    border-radius: 0px;
    padding: 18px;
    margin: 28px auto 0 auto;
    max-height: 320px;
    overflow-y: scroll;
}

#antibiotics #antibiotics-content {
    background-color: rgba(255, 255, 255, 0.93);
    border: #22294D 3px solid;
    border-radius: 0px;
    padding: 18px;
    margin: 28px auto 0 auto;
    max-height: 445px;
    overflow-y: scroll;
}

#copy #copy-content {
    background-color: rgba(255, 255, 255, 0.93);
    border: #22294D 3px solid;
    border-radius: 0px;
    padding: 18px;
    margin: 28px auto 0 auto;
}

#bug #bug-content {
    background-color: rgba(255, 255, 255, 0.93);
    border: #22294D 3px solid;
    border-radius: 0px;
    padding: 18px;
    margin: 28px auto 0 auto;
}

#infoBacteria #infoBacteria-content {
    background-color: rgba(255, 255, 255, 0.93);
    border: #22294D 3px solid;
    border-radius: 0px;
    padding: 18px;
    margin: 28px auto 0 auto;
}

#video #video-content {
    position: relative;
    /*height: 0;
    padding-bottom: 56.25%; */
    background-color: rgba(255, 255, 255, 0.93);
    border: #22294D 3px solid;
    border-radius: 0px;
    padding: 18px;
    margin: 28px auto 0 auto;
}

#video #video-content .video {
    /* position: absolute; */
    /* top: 90px; */
    left: 0;
    width: 100%;
    /* height: 100%; */
    min-height: 330px;
    /* width: 100% !important; */
    /* height: auto !important; */
}

#survey #survey-content {
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.93);
    border: #22294D 3px solid;
    border-radius: 0px;
    padding: 18px;
    margin: 28px auto 0 auto;
}

#surveyBox #surveyBox-content {
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.93);
    border: #22294D 3px solid;
    border-radius: 0px;
    padding: 18px;
    margin: 28px auto 0 auto;
}

#orientation #orientation-content {
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.93);
    border: #22294D 3px solid;
    border-radius: 0px;
    padding: 18px;
    margin: 28px auto 0 auto;
}

#screen #screen-content {
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.93);
    border: #22294D 3px solid;
    border-radius: 0px;
    padding: 18px;
    margin: 28px auto 0 auto;
}

.home-box {
    position: fixed;
    z-index: 90;
    top: 90px;
    left: 15px;
    opacity: 1;
    cursor: pointer;
    overflow: hidden;

}


.home-box a {
    border-radius: 50%;
    border: #38b292 1px solid;
    padding: 0px;
    display: inline-block;
    background-color: #ffffff;
    height: 32px;
    width: 32px;
    opacity: 0.8;
    margin: 0px 5px 0 0;
    background-image: url('../img/left-col/home.svg');
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;
    text-decoration: none;
}

.home-box a:visited {
    text-decoration: none;
}

.home-box a:hover {
    background-color: #38b292;
    text-decoration: none;
    background-image: url('../img/left-col/home-hover.svg');
}

.language-box {
    position: fixed;;
    z-index: 100;
    top: 130px;
    left: 15px;
    cursor: pointer;
}

.language-box a {
    padding: 0px;
    display: inline-block;
    height: 32px;
    width: 32px;
    margin: 0px 5px 0 0;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;
    text-decoration: none;
}

.language-box a.language-trigger {
    border-radius: 50%;
    border: #38b292 1px solid;
    background-color: #ffffff;
    background-image: url('../img/left-col/language-en.svg');
    background-repeat: no-repeat;
    background-position: center center;
}

.language-box i:hover {
    background-color: #38b292;
    text-decoration: none;
    background-image: url('../img/left-col/share-hover.svg');
}

.language-box .languages, .language-box li {
    list-style: none inside none;
    padding: 0;
    margin: 0;
}

.language-box li {
    border-radius: 50%;
    border: #38b292 1px solid;
    padding: 0px;
    height: 32px;
    width: 32px;
    display: inline-block;
    margin-right: 5px;
}

.language-box .languages {
    display: block;
    position: absolute;
    width: 240px;
    top: 0;
    left: -600%;
}

.language-box .languages li a {
    background-image: none;
    color: rgb(0, 153, 171);
}

.language-box li.lang-container {
    background-repeat: no-repeat;
    background-position: center center;
    background-color: white;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;
}

.language-box li.lang-container:hover {
    background-color: #38b292;
}

.language-box li.lang-en {
    background-image: url('../img/left-col/language-en.svg');
}

.language-box li.lang-en:hover {
    background-image: url('../img/left-col/language-en-hover.svg');
}

.language-box li.lang-es {
  background-image: url('../img/left-col/language-es.svg');
}

.language-box li.lang-es:hover {
  background-image: url('../img/left-col/language-es-hover.svg');
}

.language-box li.lang-de {
    background-image: url('../img/left-col/language-de.svg');
}

.language-box li.lang-de:hover {
    background-image: url('../img/left-col/language-de-hover.svg');
}

.language-box li.lang-fr {
    background-image: url('../img/left-col/language-fr.svg');
}

.language-box li.lang-fr:hover {
    background-image: url('../img/left-col/language-fr-hover.svg');
}

.language-box li.lang-it {
    background-image: url('../img/left-col/language-it.svg');
}

.language-box li.lang-it:hover {
    background-image: url('../img/left-col/language-it-hover.svg');
}

.social-box {
    position: fixed;
    z-index: 100;
    top: 250px;
    left: 15px;
    opacity: 1;
    cursor: pointer;
}


.social-box i, .social-box a {
    border-radius: 50%;
    border: #38b292 1px solid;
    padding: 0px;
    display: inline-block;
    background-color: #ffffff;
    height: 32px;
    width: 32px;
    opacity: 0.8;
    margin: 0px 5px 0 0;
    background-image: url('../img/left-col/share.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;
    text-decoration: none;
}

.social-box i:hover {
    background-color: #38b292;
    text-decoration: none;
    background-image: url('../img/left-col/share-hover.svg');
}

.social-box .share, .social-box li {
    list-style: none inside none;
    padding: 0;
    margin: 0;
}

.social-box li {
    border-radius: 50%;
    border: #38b292 1px solid;
    padding: 0px;
    height: 32px;
    width: 32px;
    opacity: 0.8;
    display: inline-block;
    margin-right: 5px;
}

.social-box a.tw-share {
    background-image: none;
    border: none;
    background-color: transparent;
}

.social-box li.tw {
    background-image: url('../img/left-col/bluesky-blue.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-color: white;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;
    background-size: 18px;

}

.social-box li.tw:hover {
    background-color: #38b292;
    background-image: url('../img/left-col/bluesky-white.png');
}

.social-box a.in-share {
    background-image: none;
    border: none;
    background-color: transparent;
}

.social-box li.in {
    background-image: url('../img/left-col/linkedin.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-color: white;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;

}


.social-box li.in:hover {
    background: #38b292;
    background-image: url('../img/left-col/linkedin-hover.svg');
    background-repeat: no-repeat;
    background-position: center center;
}

.social-box a.fb-share {
    background-image: none;
    border: none;
    background-color: transparent;
}

.social-box li.fb {
    background-image: url('../img/left-col/facebook.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-color: white;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;
}

.social-box li.fb:hover {
    background: #38b292;
    background-image: url('../img/left-col/facebook-hover.svg');
    background-repeat: no-repeat;
    background-position: center center;
}


.social-box .share {
    display: block;
    position: absolute;
    width: 200px;
    top: 0;
    left: -400%;
}

.social-box:hover {
    opacity: 1;
}

.video-box {
    position: fixed;
    z-index: 100;
    top: 210px;
    left: 15px;
    opacity: 1;
    cursor: pointer;
    overflow: hidden;
}

.video-box a {
    border-radius: 50%;
    border: #38b292 1px solid;
    padding: 0px;
    display: inline-block;
    background-color: #ffffff;
    height: 32px;
    width: 32px;
    opacity: 0.8;
    margin: 0px 5px 0 0;
    background-image: url('../img/left-col/video.svg');
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;
    text-decoration: none;
}

.video-box a:visited {
    text-decoration: none;
}

.video-box a:hover {
    background-color: #38b292;
    text-decoration: none;
    background-image: url('../img/left-col/video-hover.svg');
}

.info-box {
    position: fixed;
    z-index: 100;
    top: 170px;
    left: 15px;
    opacity: 1;
    cursor: pointer;
    overflow: hidden;
}

.info-box a {
    border-radius: 50%;
    border: #38b292 1px solid;
    padding: 0px;
    display: inline-block;
    height: 32px;
    width: 32px;
    opacity: 0.8;
    margin: 0px 5px 0 0;
    background-image: url('../img/left-col/info.svg');
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;
    text-decoration: none;
}

.info-box a:visited {
    text-decoration: none;
}

.info-box a:hover {
    background-color: #38b292;
    text-decoration: none;
    background-image: url('../img/left-col/info-hover.svg');
}

.antibiotics-box {
    position: fixed;
    z-index: 100;
    top: 290px;
    left: 15px;
    opacity: 1;
    cursor: pointer;
    overflow: hidden;
}

.antibiotics-box a {
    border-radius: 50%;
    border: #38b292 1px solid;
    padding: 0px;
    display: inline-block;
    background-color: #ffffff;
    height: 32px;
    width: 32px;
    opacity: 0.8;
    margin: 0px 5px 0 0;
    background-image: url('../img/left-col/antibiotics.svg');
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;
    text-decoration: none;
}

.antibiotics-box a:visited {
    text-decoration: none;
}

.antibiotics-box a:hover {
    background-color: #38b292;
    text-decoration: none;
    background-image: url('../img/left-col/antibiotics-hover.svg');
}

.bug-box {
    position: fixed;
    z-index: 100;
    top: 330px;
    left: 15px;
    opacity: 1;
    cursor: pointer;
    overflow: hidden;
}

.bug-box a {
    border-radius: 50%;
    border: #38b292 1px solid;
    padding: 0px;
    display: inline-block;
    background-color: #ffffff;
    height: 32px;
    width: 32px;
    opacity: 0.8;
    margin: 0px 5px 0 0;
    background-image: url('../img/left-col/bug.svg');
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;
    text-decoration: none;
}

.bug-box a:visited {
    text-decoration: none;
}

.bug-box a:hover {
    background-color: #38b292;
    text-decoration: none;
    background-image: url('../img/left-col/bug-hover.svg');
}

.copy-box {
    position: fixed;
    z-index: 100;
    top: 410px;
    left: 15px;
    opacity: 1;
    cursor: pointer;
    overflow: hidden;
}

.copy-box a {
    border-radius: 50%;
    border: #38b292 1px solid;
    padding: 0px;
    display: inline-block;
    background-color: #ffffff;
    height: 32px;
    width: 32px;
    opacity: 0.8;
    margin: 0px 5px 0 0;
    background-image: url('../img/left-col/copyright.svg');
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;
    text-decoration: none;
}

.copy-box a:visited {
    text-decoration: none;
}

.copy-box a:hover {
    background-color: #38b292;
    text-decoration: none;
    background-image: url('../img/left-col/copyright-hover.svg');
}


.copy2canvas-box {
  position: fixed;
  z-index: 100;
  top: 370px;
  left: 15px;
  opacity: 1;
  cursor: pointer;
  overflow: hidden;
}

.copy2canvas-box a {
  border-radius: 50%;
  border: #38b292 1px solid;
  padding: 0px;
  display: inline-block;
  background-color: #ffffff;
  height: 32px;
  width: 32px;
  opacity: 0.8;
  margin: 0px 5px 0 0;
  background-image: url("../img/left-col/save.svg");
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.copy2canvas-box a:visited {
  text-decoration: none;
}

.copy2canvas-box a:hover {
  background-color: #38b292;
  text-decoration: none;
  background-image: url("../img/left-col/save-hover.svg");
}

.survey-box {
    position: fixed;
    z-index: 100;
    top: 250px;
    left: 15px;
    opacity: 1;
    cursor: pointer;
    overflow: hidden;
}

.survey-box a {
    border-radius: 50%;
    border: #38b292 1px solid;
    padding: 0px;
    display: inline-block;
    background-color: #ffffff;
    height: 32px;
    width: 32px;
    opacity: 0.8;
    margin: 0px 5px 0 0;
    background-image: url('../img/left-col/survey.svg');
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: all .20s ease-in-out;
    -moz-transition: all .20s ease-in-out;
    -ms-transition: all .20s ease-in-out;
    -o-transition: all .20s ease-in-out;
    transition: all .20s ease-in-out;
    text-decoration: none;
}

.survey-box a:visited {
    text-decoration: none;
}

.survey-box a:hover {
    background-color: #38b292;
    text-decoration: none;
    background-image: url('../img/left-col/survey-hover.svg');
}

@media screen and (max-width: 1440px) {
    .legend-space {
        margin: 25px 5px;
    }

    #logo-ecdc {
        margin: 0 0 0 2%;
    }
}

@media screen and (max-width: 1280px) {
    .legend-space {
        margin: 25px 2px;
    }

    #logo-efsa {
        margin: 0;
    }

    #logo-ecdc {
        margin: 0 0 0 1%;
    }

}

@media screen and (max-width: 1150px) {


    #logo-container {
        height: 83px;
    }

    #logo-efsa {
        background-image: url('../img/efsa_logo_70.png');
        height: 70px;
        width: 134px;
        margin: 0 1% 0 0;
    }

    #logo-ecdc {
        background-image: url('../img/ecdc_logo_70.png');
        height: 70px;
        width: 76px;
        margin: 0 0 0 2%;
    }

    .legend-title h5 {
        font-weight: 700;
        font-size: 12px;
    }

    .legend-space h5 {
        font-size: 11px;
    }
}

@media screen and (max-width: 1024px) {

    #info, #copy, #orientation, #screen, #video, #survey, #surveyBox, #antibiotics, #bug, #infoBacteria {
        width: 50%;
        left: 24%;
        top: 150px;
    }

    .close {
        left: 47%;
    }

    .legend-space {
        margin: 25px 0;
        width: auto;
    }

    .legend-title {
        margin: 0px 0% 1px 0%;
    }
}

@media screen and (max-width: 960px) {
    .legend-space {
        margin: 26px 0px;
        width: auto;
        min-width: 80px;
    }

    #logo-efsa {
        background-image: url('../img/efsa_logo_60.png');
        margin: 10px 0 0 0%;
        height: 60px;
        width: 110px;

    }

    #logo-ecdc {

        background-image: url('../img/ecdc_logo_60.png');
        margin: 13px 1% 1px 2%;
        height: 60px;
        width: 65px;

    }
}

@media screen and (max-width: 900px) {
    .legend-space {
        margin: 26px 0px;
        min-width: 50px;
    }

    #logo-efsa {
        background-image: url('../img/efsa_logo_50.png');
        margin: 0px 0 0 0%;
        height: 50px;
        width: 106px;
        margin: 11px 1% 1px 0%;
    }

    #logo-ecdc {
        background-image: url('../img/ecdc_logo_50.png');
        margin: 9px 1% 1px 2%;
        height: 50px;
        width: 54px;
    }
}

@media screen and (max-width: 800px) {
    #info, #copy, #orientation, #screen, #video, #survey, #surveyBox, #antibiotics, #bug, #infoBacteria {
        width: 80%;
        left: 9.5%;
    }

    .home-box {
        top: 130px;
        left: 5px;
    }

    .language-box {
        top: 170px;
        left: 5px;
    }

    .social-box {
        top: 330px;
        left: 5px;
    }

    .info-box {
        top: 210px;
        left: 5px;
    }

    .video-box {
        top: 250px;
        left: 5px;
    }

    .survey-box {
        top: 290px;
        left: 5px;
    }

    .bug-box {
        top: 410px;
        left: 5px;
    }

    .copy-box {
        top: 450px;
        left: 5px;
    }

    .copy2canvas-box {
        top: 410px;
        left: 5px;
    }
    .antibiotics-box {
        top: 370px;
        left: 5px;
    }

    .legend-space {
        margin: 25px 2px;
        width: auto;
    }

    .legend-space h5 {
        font-size: 10px;
    }
}

@media screen and (max-width: 768px) {
    .legend-title {
        display: none;
    }
}

@media screen and (max-width: 720px) {
    #logo-container {
        display: none;
    }

    .legend-space {
        margin: 4px 8px;
        width: auto;
    }

    #logo-efsa {
        display: none;

    }

    #logo-ecdc {
        display: none;
    }

    #logo-efsa-top {
        width: auto;
        height: 40px;
        margin: 0px 0 0 2%;
        background-image: none;
        float: right;
    }

    #logo-efsa-top img {
        height: 100%;
        width: auto;
    }

    #logo-ecdc-top {
        height: 40px;
        width: auto;
        margin: 0px 1% 1px 0%;
        background-image: none;
        float: right;

    }

    #logo-ecdc-top img {
        height: 100%;
        width: auto;
    }



    .legend-space {
        margin: 1px 20px 1px;
        width: 90px;
    }

    #orientation {
        width: 64%;
        left: 17.5%;
    }

    .top-buttons {
        font-size: 60%;
    }

}

@media screen and (max-width: 720px) and (max-height: 600px) and (min-width: 641px) {


    .legend-space {
        margin: 1px 8px 1px;
        width: auto;
    }

}

@media screen and (max-width: 640px) {

    .legend-space {
        margin: 6px 10px 1px;
        width: 85px;
    }

}

@media screen and (max-width: 500px) {

    #logo-ecdc-top {
        height: 45px;
    }

    #logo-efsa-top {
        height: 45px;
    }

    .home-box {
        top: auto;
        bottom: 336px;
        left: 5px;
    }

    .language-box {
        top: auto;
        bottom: 300px;
        left: 5px;
    }

    .social-box {
        top: auto;
        bottom: 158px;
        left: 5px;
    }

    .info-box {
        top: auto;
        bottom: 264px;
        left: 5px;
    }

    .antibiotics-box {
        top: auto;
        bottom: 123px;
        left: 5px;
    }

    .copy-box {
        top: auto;
        bottom: 22px;
        left: 5px;
    }

    .copy2canvas-box {
        top: auto;
        bottom: 53px;
        left: 5px;
    }

    .bug-box {
        top: auto;
        bottom: 88px;
        left: 5px;
    }

    .video-box {
        top: auto;
        bottom: 229px;
        left: 5px;
    }

    .survey-box {
        top: auto;
        bottom: 193px;
        left: 5px;
    }


    .legend-space {
        margin: 1px 10px 1px;
        width: auto;
    }

    #video #video-content .video {
        min-height: 202px;
        left: initial;
    }
}

@media screen and (max-width: 420px) {
    #info, #copy, #orientation, #screen, #video, #survey, #surveyBox, #antibiotics, #bug, #infoBacteria {
        width: 96%;
        left: 1.8%;
    }

    .close {
        left: 45%;
    }

    .legend-space {
        margin: 2px 5px 1px;
        width: auto;
    }
}

@media screen and (max-width: 380px) {

    .legend-space {
        margin: 0px 5px 0px 5px;
        width: auto;
    }

    .legend-space h5 {
        font-size: 11px;
    }

}

@media screen and (max-height: 600px) {
    #info, #copy, #orientation, #screen, #video, #survey, #surveyBox, #antibiotics, #bug, #infoBacteria {
        top: 70px;
    }
}

@media screen and (max-height: 500px) {
    #info, #copy, #orientation, #screen, #video, #survey, #surveyBox, #antibiotics, #bug, #infoBacteria {
        top: 10px;
    }
}

@media screen and (max-height: 450px) {
    #info, #copy, #orientation, #screen, #video, #survey, #surveyBox, #antibiotics, #bug, #infoBacteria {
        top: 3px;
    }
}

#survey-content .btn-survey {
    background-color: rgb(224, 224, 224);
    padding: 5px;
    display: block;
    cursor: pointer;
    border-radius: 5px;
    width: 80%;
    margin: 0 auto;
    margin-top: 7px;
    text-decoration: none;
    text-align: center;
}

#survey-content .btn-survey:last-of-type {
    margin-bottom: 7px;
}

/* .prev-version-container-mobile {
    background-color: #e8ebee;
    border-radius: 35px;
    padding: 0 18px;
    text-align: center;
    height: 40px;
    margin-right: 25px;
    display: flex;
}

.prev-version-container-mobile a, .prev-version-container a{
    text-decoration: none;
    color: #22294D;
    font-size: 12px;
    display: flex;
    align-items: center;
}
.prev-version-container-mobile a img, .prev-version-container a img {
    width: 20px;
    padding-right: 5px;
}
 */

/* Dropdown container */
@media screen and (max-width: 1024px) {
    .dropdown-box {
        padding: 0 !important;
        max-width: 164px !important;
    }
    .dropdown-container {
        margin-right: 0px !important;
    }
    .dropdown-menu{
        max-width: 153px;
    }
}
.dropdown-container {
  position: relative;
  font-family: Arial, sans-serif;
  font-size: 12px;
  width: 200px;
  margin-right: 40px;
}

/* Dropdown box (initial state) */
.dropdown-box {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 10px;
  background-color: transparent;
  color: #22294D;
  border: 1px solid #22294D; /* White border */
  border-radius: 5px;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  max-width: 145px;
}
/* Rotate the arrow when the dropdown is active */
.dropdown-container.active .dropdown-arrow {
    transform: rotate(180deg); /* Rotate 180 degrees for "dropup" effect */
}

.dropdown-arrow {
  width: 20px;
  height: 20px;
  margin-left: 10px; /* Adjust spacing */
  transition: filter 0.3s ease; /* Smooth transition for color change */
}

/* Label inside the dropdown box */
.dropdown-label {
  position: absolute;
  top: -8px;
  left: 5px;
  font-size: 12px;
  color: #22294D;
  background-color: white;
  padding: 0 5px;
  pointer-events: none;
  font-weight: bold;
}

/* Dropdown active year */
#active-year {
  margin-left: auto;
  font-weight: bold;
  font-size: 14px;
}

/* Downward arrow */
.arrow {
  margin-left: 10px;
  font-size: 12px;
  color: #ffffff; /* White arrow */
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  border: 2px solid #acb2b8;
  border-radius: 5px;
  z-index: 10;
  max-width: 155px;
  padding: 5px;
  margin-top: 5px;
}

/* Dropdown items */
.dropdown-item {
  padding: 8px 15px;
  color: #22294D;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 5px;
}

.dropdown-item:not(:first-child) {
    margin-top: 4px;
}

/* Hover effect on items */
.dropdown-item:hover {
  background-color: #e7ebee;
}

/* Disabled/Current year item */
.current {
  color: white; /* Gray */
  pointer-events: none;
  background-color: #22294D;
}

/* Show the dropdown when active */
.dropdown-container.active .dropdown-menu {
  display: block;
}

.go-to-text {
    /* display: none; */
    font-size: 12px;
    visibility: hidden;
    color: #22294D;
    margin-right: 14px;
}

.dropdown-item:not(.current):hover {
    background-color: #E7EBEE;
}

.dropdown-item:not(.current):hover .go-to-text {
    visibility: visible;
}

.dropdown-item {
    display: flex;
    gap: 31px;
    justify-content: flex-start;
    align-items: center;
}


.year-text {
    /* margin-left: auto;  */
    font-size: 14px;
    font-weight: bold;
}


#legend {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 101;
    background-color: transparent;
    overflow: hidden;
    text-align: center;
    opacity: 1;
}

#legend-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: center;
    opacity: 0;
    background-color: #fff;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.legend-entries-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.legend-entry {
    width: 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legend-entry.first {
    margin-right: 10px;
}

.legend-entry-bar {
    height: 7px;
    width: 100%;
    border: 1px solid #c9c9c9;
}


.no-bacteria {
    background-color: #ECEFF1;
}
.rare {
    background-color: #2D8E75;
}
.very-low {
    background-color: #4CBA9D;
}

.low {
    background-color: #C3E8DE;
}
.moderate {
    background-color: #EBF7F4;
}

.high {
    background-color: #FBE266;
}

.very-high {
    background-color: #F9B112;
}

.extremely-high {
    background-color: #D77C47;
}


.legend-entry-text {
    padding: 15px 5px 0;
    font-size: 14px;
}

.legend-footer {
    width: 100%;
    height: 7px;
    background-color: #22294D;
    position: absolute;
    bottom: 0;
}

.infoIcon {
    cursor: pointer;
}

#shadow {
    /*filter: drop-shadow(0px 6px 6px rgba(150, 150, 150, 0.4));*/
}

@media screen and (max-width: 1240px) {
    #legend-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
        text-align: center;
        opacity: 0;
        background-color: #fff;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .legend-entry {
        width: 60px;
    }
    .legend-entry-text {
        padding: 5px;
        font-size: 14px;
    }
    #logo-container-top img {
        height: 40px;
        margin-right: 15px;
    }
    #logo-container-top #logo-efsa-top, #logo-container-top #logo-ecdc-top {
        opacity: 0;
        display: block;
    }

    #logo-container-top {
        width: 100%;
        position: fixed;
        top: 0;
        height: 60px;
        display: inline-flex;
        justify-content: flex-end;
        padding-top: 16px;
        z-index: 120;
    }

}
