/* --- 1280px --------------------------------------------- */
/* -- iPad --------------------------------------------- */
@media only screen and (max-width: 1025px) and (min-height: 340px) {
  .section.team .colleague_gallery .item {
    width: calc(25% - 40px);
  }
}
/* --- 980px --------------------------------------------- */
@media only screen and (max-width: 979px) {
  #keyvisual.withSlogan .bigtext {
    font-size: 150px;
  }
}
/* --- widescreen laptop? --------------------------------------------- */
/* --- 910px --------------------------------------------- */
@media only screen and (max-width: 910px) {
  #mainmenu {
    display: none;
  }
  #mobilmenu_trigger {
    display: block;
  }
  #mobilemenu_container {
    display: block;
  }
  #search_trigger {
    right: 75px;
    font-size: 30px;
  }
  #keyvisual .image_container {
    height: 60vh;
  }
  #keyvisual .introtext {
    bottom: 3%;
  }
}
/* --- 768px --------------------------------------------- */
@media only screen and (max-width: 767px) {
  #mainmenu {
    display: none;
  }
  #mobilmenu_trigger {
    display: block;
  }
  #mobilemenu_container {
    display: block;
  }
  #search_trigger {
    right: 75px;
    font-size: 30px;
  }
  #keyvisual .image_container {
    height: 65vh;
  }
  #footer .container {
    flex-wrap: wrap;
    gap: 50px;
  }
  #footer .address, #footer .legals {
    width: 100%;
  }
  #footer .logo {
    width: 80%;
    margin-right: 20%;
  }
  #sub_footer .container {
    flex-wrap: wrap;
    gap: 0px;
  }
  #sub_footer .container a {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }
  #sub_footer .container img {
    display: inline-block;
  }
  .section.news_slider .news_container {
    padding-bottom: 80px;
  }
  .section.news_slider .container {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .section.news_slider .container .image {
    width: 100%;
    margin-bottom: 25px;
  }
  .section.news_slider .container .textinfo {
    width: 100%;
  }
  #keyvisual .introtext {
    font-size: 40px;
  }
  .section.boxes4er .title {
    font-size: 20px;
  }
  .section.text_box .box {
    font-size: 35px;
  }
  .section.textbox_3grid .flexcontainer {
    flex-wrap: wrap;
  }
  .section.textbox_3grid .flexcontainer .textbox {
    width: 100%;
  }
}
/* --- 580px --------------------------------------------- */
@media only screen and (max-width: 584px) {
  body {
    font-size: 18px;
  }
  #header {
    top: 5px;
  }
  #header .container {
    height: 100px;
    background-color: white;
  }
  #logo img {
    max-height: 80px;
  }
  #icon_menu {
    top: 0px;
  }
  #header_logo, #header_main, #header_logo::after, #header_main::after {
    box-shadow: none !important;
  }
  #keyvisual.smallImage .image_container, #keyvisual .image_container {
    height: 55vh;
  }
  .section.team .colleague_gallery .item {
    width: calc(33.33% - 40px);
  }
  .section.quote .container {
    flex-wrap: wrap;
    gap: 0px;
  }
  .section.quote .image {
    max-width: 35%;
  }
  .section.quote .quotebox {
    padding: 0px 5% 25px 5%;
  }
  .section.text_box .container {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .section.text_box .container > * {
    width: 100%;
  }
  #keyvisual .introtext {
    font-size: 35px;
    left: 5%;
    max-width: 90%;
  }
  #keyvisual.withSlogan .image_container {
    height: 40vh;
  }
  #keyvisual.withSlogan .bigtext {
    font-size: 100px;
    bottom: -15px;
  }
  .section.gallery_tiles .gallery_tiles_container .item {
    width: calc(33.33% - 10px);
    padding-bottom: 20%;
  }
  .section.imgbox .text {
    font-size: 20px;
  }
  .section.linkbox .containerbox {
    padding: 30px 20px;
  }
  .section.textbox_small .container {
    padding: 25px 20px;
  }
  .section.boxes4er .container {
    gap: 8px;
  }
  .section.boxes4er .container .item {
    padding-bottom: 50%;
  }
  .section.boxes4er .title {
    font-size: 16px;
  }
  .section.boxes4er .titlebox {
    font-size: 16px;
  }
  #calendar_events .item {
    flex-wrap: wrap;
    position: relative;
  }
  #calendar_events .item .icon {
    position: absolute;
    left: 15px;
    top: 15px;
  }
  #calendar_events .item .date {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 35px;
  }
  #calendar_events .item .title {
    padding-left: 35px;
  }
  .section.text_img .container {
    flex-wrap: wrap;
  }
  .section.text_img .container > * {
    width: 100%;
  }
  #news_list .item {
    padding: 20px;
    min-height: 0px !important;
  }
  #news_list .image {
    position: relative;
    width: calc(100% + 40px);
    height: auto;
    margin: -20px -20px 25px -20px;
  }
  #news_list .content {
    width: 100%;
    padding: 0px;
  }
}
/* --- 480px --------------------------------------------- */
@media only screen and (max-width: 479px) and (orientation: portrait) {
  #search_container {
    width: 95vw;
  }
  .section.team .colleague_gallery .item {
    width: calc(50% - 40px);
  }
  #header_logo {
    width: 130px;
  }
  #header_main {
    width: calc(100% - 130px - 15px);
    margin-left: 15px;
  }
  #keyvisual.withSlogan .introtext {
    bottom: 80px;
  }
  #keyvisual.withSlogan .bigtext {
    font-size: 60px;
    bottom: -10px;
  }
  .section.textbox_small .container, .section.textbox_3grid .container {
    padding: 25px;
  }
}
/* --- 380px --------------------------------------------- */
@media only screen and (max-width: 380px) and (orientation: portrait) {
  #icon_menu ul li a {
    font-size: 16px;
  }
}
/* mobile LANDSCAPE ---------------------------------------------*/
