/* main green */
/* --- > 1650 --------------------------------------------- */
@media only screen and (min-width: 1650px) and (min-height: 340px) {
  #footer {
    margin-top: 13vw;
  }
  #footer_image {
    height: 45vw;
  }
  .doc_1 #keyvisual_image img {
    object-position: center center;
  }
  .doc_210 #keyvisual_image img {
    object-position: center center;
  }
  .doc_174 #keyvisual_image img {
    object-position: center center;
  }
  .doc_221 #keyvisual_image img {
    object-position: center center;
  }
}
/* --- 1280px --------------------------------------------- */
@media only screen and (max-width: 1279px) and (min-height: 340px) {
  #logo {
    width: 350px;
  }
  #nav li.lvl1 > a {
    width: 100px;
    height: 100px;
    font-size: 14px;
  }
  #footer .flexcontainer .wave {
    transform: translateY(-25%);
  }
  .section.team #team_list .flexcontainer.grid_big .textbox {
    max-width: 300px;
    left: auto;
    right: 0px;
  }
}
/* -- iPad --------------------------------------------- */
@media only screen and (max-width: 1025px) and (min-height: 340px) {
  #footer .flexcontainer {
    flex-wrap: wrap;
  }
  #footer .flexcontainer > * {
    width: 100%;
    text-align: center;
  }
  #footer .artgaller_link {
    transform: translateY(0px);
    margin: auto;
  }
}
/* -- Portrait  --------------------------------------------- */
@media only screen and (orientation: portrait) {
  #keyvisual {
    height: 450px;
  }
}
/* --- 980px --------------------------------------------- */
@media only screen and (max-width: 979px) {
  #mainmenu {
    display: none;
  }
  #mobilmenu_trigger, #mobilemenu_container {
    display: flex;
  }
  #footer .flexcontainer .wave {
    transform: translateY(0%);
    bottom: 95%;
  }
  #footer .flexcontainer {
    background-color: #6FAC1C;
  }
  .section.service_buttons .right {
    width: 50%;
  }
  .section.service_buttons .buttons_container {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .section.service_buttons .buttons_container .item {
    width: 33.33%;
  }
}
/* --- widescreen laptop? --------------------------------------------- */
@media only screen and (max-height: 750px) and (orientation: landscape) {
  #keyvisual_text {
    bottom: 20px;
  }
  #keyvisual_text p {
    margin-bottom: 0px;
  }
}
/* --- widescreen laptop? --------------------------------------------- */
@media only screen and (max-height: 650px) and (min-width: 1200px) and (orientation: landscape) {
  #keyvisual {
    height: 85vh;
  }
}
/* --- 768px --------------------------------------------- */
@media only screen and (max-width: 767px) {
  #logo {
    left: 0px;
    max-width: 60%;
  }
  #keyvisual_text {
    font-size: 35px;
  }
  #keyvisual {
    height: 350px;
  }
  .formcontainer {
    flex-wrap: wrap;
  }
  .formcontainer > * {
    width: 100%;
  }
  .section.tiles .flexcontainer .item.grid4 {
    width: calc(50% - 25px);
  }
}
/* --- 580px --------------------------------------------- */
@media only screen and (max-width: 584px) {
  /* .doc_1 .textbox_imgtext .image::after { display: none; } */
  body {
    font-size: 15px;
  }
  h1, .h1 {
    font-size: 35px;
  }
  h2, .h2 {
    font-size: 25px;
  }
  #keyvisual_text {
    font-size: 30px;
  }
  #keyvisual {
    height: 240px;
  }
  .frontpage #keyvisual {
    height: 60vh;
  }
  .frontpage #keyvisual img {
    width: 200%;
    max-width: 200%;
    transform: translateY(0px) translateX(-12%) !important;
  }
  #logo {
    left: 0px;
    max-width: 50%;
  }
  #keyvisual .wave, .scrolled #keyvisual .wave {
    transform: translateY(-35%) rotate(-4deg);
    width: 200%;
  }
  #header .headercontainer {
    margin: 0px 15px;
  }
  #mobilmenu_trigger {
    right: -15px;
  }
  .firstsection {
    padding-top: 40px;
    margin-bottom: 50px;
  }
  .scrolled #header #logo {
    left: -1%;
    top: 5px;
    width: 200px;
  }
  #logo_footer {
    max-width: 100%;
  }
  #footer .legals {
    margin-top: 40px;
  }
  .onlymobile {
    display: block;
  }
  #cookiehint .button {
    display: block;
    box-sizing: border-box;
    margin-left: 10%;
    width: 80%;
    margin-bottom: 10px;
    text-align: center;
    line-height: 38px;
  }
  .flexcontainer {
    flex-wrap: wrap;
  }
  .flexcontainer > * {
    width: 100% !important;
  }
  .section.service_buttons .container {
    flex-wrap: wrap;
  }
  .section.service_buttons .container > * {
    width: 100%;
  }
  #doctolib_widget > div {
    right: auto !Important;
    left: 0px !important;
    bottom: 30px !important;
  }
  #doctolib_widget2 {
    top: auto;
    bottom: 18px;
    right: 8px;
    transform: translateX(0px);
  }
  #doctolib_widget2 a {
    width: 60px;
    height: 60px;
    padding: 0px;
    border-radius: 50%;
  }
  #doctolib_widget2 .text {
    display: none;
  }
  .section.team #team_list .flexcontainer.grid_big .item {
    width: calc(100% - 40px) !important;
    margin: 30px !important;
  }
  .section.team #team_list .flexcontainer.grid_big .image {
    width: 100%;
    max-width: 100%;
    padding-bottom: 100%;
  }
  .section.team #team_list .flexcontainer.grid_big .textbox {
    top: auto;
    bottom: -50px;
    max-width: 60%;
    left: 0px;
  }
  .section.team #team_list .flexcontainer.grid_small .item {
    width: calc(85% - 20px) !important;
    margin: auto;
  }
  .section.team .flexcontainer.grid_small .image {
    margin: auto;
  }
  .section.gallery .container .item {
    width: calc(50% - 20px);
    padding-bottom: 34%;
  }
  #navigator .link.prev {
    display: none !important;
  }
}
/* --- 480px --------------------------------------------- */
@media only screen and (max-width: 479px) and (orientation: portrait) {
  #keyvisual_text {
    font-size: 28px;
  }
  .section.service_buttons .buttons_container .item {
    width: 50%;
  }
}
/* --- 380px --------------------------------------------- */
/* mobile LANDSCAPE ---------------------------------------------*/
