/*
 Theme Name:   Hannover-Kolleg (Divi-Child)
 Description:  A Child-Theme for Divi created for the Hannover-Kolleg
 Author:       Kenmedia
 Author URI:   https:/kenmedia.de
 Template:     Divi
 Version:      1.0.0
*/
/**** @import url('https://fonts.googleapis.com/css?family=Markazi+Text:500|Slabo+27px&display=swap'); ****/


/* markazi-text-regular - latin */
@font-face {
  font-family: 'Markazi Text';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/markazi-text-v22-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/markazi-text-v22-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/markazi-text-v22-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/markazi-text-v22-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/fonts/markazi-text-v22-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/markazi-text-v22-latin-regular.svg#MarkaziText') format('svg'); /* Legacy iOS */
}

body {
  line-height: 1.6em !important;
}
html {
  scroll-behavior: inherit;
  overflow-x: hidden;
  max-width: 100vw;
}
/*body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
    padding-top: 58px;
    display: none;
}*/

h1 {
  font-size: 35px;
  color: #007a7b;
  font-weight: 600;
  padding-bottom: 0px;
  padding-top: 20px;
  line-height: 1.3em;
}

h2 {
  font-size: 24px !important;
  color: #003c6b;
  margin-bottom: 20px !important;
  padding-top: 20px !important;
  font-weight: 600;
}

h3 {
  font-size: 20px;
  color: #000;
  padding: 30px 0 !important;
  font-weight: 600;
}

h4 {
  font-size: 18px;
  color: #000;
  padding: 30px 0 !important;
  font-weight: 600;
}

.et_pb_module_header {
  padding: 0px !important;
}

.et_pb_text_0 h1 {
  margin-bottom: 0px !important;
}

.main_title {
  margin-bottom: 30px !important;
}

hr {
  border: none;
  height: 1px;
  /* Set the hr color */
  color: #333; /* old IE */
  background-color: #ccc; /* Modern Browsers */
  margin: 20px 0 !important;
}

.no-bottom-margin,
.entry-title {
  display: none;
}

/* Graue Boxen */

.start-boxes .et_pb_blurb_content img {
    max-width: 80%;
}

.start-boxes .et_pb_main_blurb_image {
  margin-bottom: 15px !important;
}

.start-boxes .et_pb_blurb_content h4 a,
.start-boxes .et_pb_blurb_content h4 span {
  font-size: 90%;
}

/* Abendgymnasium Blau Formatierung */
.ag h1 {
  color: #003c6b !important;
  /*font-family: 'Markazi Text', serif !important;
  font-size: 40px;
  font-weight: 300;*/
}

.ag .et_pb_toggle_title:before {
  color: #003c6b !important;
}

.cat-post-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #003c6b !important;
}

.cat-post-item p {
  margin: 5px 0 10px 0px !important;
  font-size: 15px;
  line-height: 1.4em;
  font-weight: 400;
}

#top-menu li.mega-menu > ul > li > a:first-child {
  padding-top: 0 !important;
  font-weight: 700;
  border-bottom: 1px solid #f2f2f2 !important;
}

.submenue-kategorie {
  text-transform: uppercase;
}

.submenue-kategorie > .sub-menu {
  text-transform: none;
}

#wp-realtime-sitemap-menu ul li {
  text-transform: uppercase;
  font-weight: 700;
}

#wp-realtime-sitemap-menu ul li ul li {
  text-transform: uppercase !important;
}

#wp-realtime-sitemap-menu ul li ul li ul li {
  text-transform: unset !important;
  font-weight: 400 !important;
}

/* Accordion */
h5.et_pb_toggle_title {
  color: #003c6b !important;
  font-size: 17px !important;
  font-weight: 600 !important;
}

.et_pb_accordion_0 .et_pb_toggle_close {
  background-color: #f2f2f2 !important;
  margin-bottom: 1.242% !important;
}

.et_pb_toggle_title:before {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -0.5em;
  color: #007a7b !important;
  font-size: 20px;
  content: '\e050';
}

/* Sidebar */
.et_pb_widget_area_left {
  padding-right: 30px;
  border-right: 0px solid rgba(0, 0, 0, 0.1);
  background-color: #f2f2f2;
  padding: 10px 30px;
  -webkit-border-top-left-radius: 30px;
  -webkit-border-bottom-right-radius: 30px;
  -moz-border-radius-topleft: 30px;
  -moz-border-radius-bottomright: 30px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.et_pb_widget_area_left h4 {
  font-weight: 700;
  color: #007a7b;
  text-transform: uppercase !important;
  font-size: 20px !important;
  padding: 20px 0px 10px !important;
  border-bottom: 1px solid #007a7b;
  margin-bottom: 10px;
}

.widget_recent_entries {
  margin-top: 40px;
}

.et_pb_widget {
  margin-bottom: 10px !important;
}

.et_pb_widget_area_left a {
  font-size: 15px;
  line-height: 1em;
}

.et_pb_widget_area_left img {
  -webkit-border-top-left-radius: 30px;
  -webkit-border-bottom-right-radius: 30px;
  -moz-border-radius-topleft: 30px;
  -moz-border-radius-bottomright: 30px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.single-post .entry-title {
  display: block;
}

.et_pb_widget .widget-termine-more a {
  color: white;
}
.et_pb_widget_area_left ul > li {
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}

.et_pb_widget_area_left ul > li:last-child {
  border-bottom: 0px solid #ccc;
  padding-bottom: 15px;
}

.et_post_meta_wrapper img {
  /*display: none;*/
}

.et_pb_text_inner strong {
  font-size: unset !important;
}

.et_pb_text_0 h1 {
  margin-bottom: 20px;
}
.post-content-inner {
  border-bottom: 1px solid #707070;
  padding: 20px 0;
}
.post-content-inner p {
  color: #000 !important;
}
.et_pb_blog_0 .et_pb_post .more-link {
  margin-top: 15px;
  display: block;
}
div#termin .et_pb_post {
  margin-bottom: 20px;
}
div#termin .post-content-inner {
  padding-top: 0;
}

.social-icons-inner {
  padding: 25px !important;
}

.abituronline-icons-inner {
  padding: 25px !important;
}

ul#social-icons li a.icon::before {
  display: block;
  position: relative;
  z-index: 10;
  width: 48px;
  height: 48px;
  color: #fff;
  font-size: 24px;
  line-height: 48px;
}
ul#top-menu > li > a {
  text-transform: uppercase;
}

#top-menu li {
  display: inline-block;
  padding-right: 15px !important;
  font-size: 14px;
}

#top-menu li li a {
  width: 200px;
  padding: 3px 20px !important;
  font-size: 16px !important;
}

#et_top_search {
  margin: -4px 0 0 10px !important;
}
.et_pb_menu_hidden #et_top_search {
  opacity: 0;
  -webkit-animation: fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
  animation: fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
}
.et_pb_no_animation #et_top_search {
  animation: none !important;
  -o-animation: none !important;
  -webkit-animation: none !important;
  -moz-animation: none !important;
}
.et_pb_menu_visible #et_top_search {
  z-index: 99;
  opacity: 1;
  -webkit-animation: fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
  animation: fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
}
/* .et_mobile_menu li .menu-item-has-children > a:after {
  background-color: transparent;
  content: '\25BC';
  float: right;
  font-size: 20px;
}
#mobile_menu .menu-item-has-children > a:first-child:after {
  background-color: transparent;
  content: '\25BC';
  float: right;
  font-size: 20px;
}
*/
body:not(.et-tb) #main-content .container,
body:not(.et-tb-has-header) #main-content .container {
  padding-top: 10px;
}

#main-content {
  background-color: #fff;
  padding-bottom: 0px;
}

#main-content ul {
  padding-left: 0;
  list-style-type: none;
}

#main-content ul > li {
  padding-left: 15px;
  padding-top: 10px;
  position: relative;
}

#main-content ul li:before {
  left: 0;
  position: absolute;
  content: '> ';
  color: #007a7b;
  font-size: 15px;
}

#main-footer {
  background-color: #007a7b;
  margin-top: 0px;
}

.footer-logos{
display: flex;
flex-direction: row;
}

.footer-logos img{
   max-width: 130px;
   margin-right: 20px;
  }
  
.region-hannover-logo{
  margin-left: 10px;
}

.et_pb_widget ul li {
  margin-bottom: 0;
}

.footer-middle {
  margin-top: 50px !important;
}

.footer-copyright {
  font-style: italic;
  font-size: 80% !important;
  margin-top: 30px;
  margin-bottom: 30px;
}

#footer-widgets {
  padding: 20px 0 0;
}

#main-content ul#social-icons li,
#main-footer ul#menu-footermenu li {
  padding: 0;
}

#main-content ul#social-icons li:before,
#main-footer ul#menu-footermenu li:before {
  display: none;
}

#main-content > .container:not(:first-child) {
  padding-top: 0;
}

.et_pb_section {
  padding-top: 0px !important;
}

.entry-content
  > #et-boc
  > .et_builder_inner_content
  > .et_pb_section:last-child,
.entry-content
  > #et-boc
  > .et_builder_inner_content
  > .et_pb_section:last-child
  > .et_pb_row {
  padding-top: 0;
  padding-bottom: 0;
}

.kollegium > .et_pb_row {
  width: 100%;
  border-bottom: 1px solid hsla(0, 0%, 70%, 1);
}

.page-id-9 .container.no-bottom-margin {
  display: none;
}

.post-content-inner p {
  font-size: 15px !important;
  line-height: 1.5em;
}

.et_pb_blog_grid h2 {
  font-size: 18px;
  line-height: 1.4em !important;
}

a {
  color: #007a7b;
}

.gCalFlowo {
  background: red;
}

.box-grey {
  background-color: #f2f2f2;
  padding: 20px;
}

.box-grey h2 {
  padding-top: 0px !important;
}

.list-zahl ol {
  list-style-type: decimal;
  list-style-position: outside;
  margin-left: 20px;
}

.list-zahl ol li {
  padding-top: 20px;
}

.et_pb_toggle_open h5 {
  font-size: 22px !important;
  padding: 10px 0 30px !important;
}

.widget-termine-more {
  font-weight: 700;
  background-color: #007a7b;
  /*max-width: 100px;*/
  text-align: center;
  color: #fff;
  padding: 10px;
  margin-top: 30px;
}

.widget-termine-more:hover {
  background-color: #003c6b;
}

.wpcf7 select {
  width: 100%;
  border: 1px solid #bbb;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 5px;
  background-color: white;
  background-image: url(select-arrow.png);
  background-position: right;
  background-repeat: no-repeat;
  border-radius: 0px !important;
  margin-bottom: 30px;
  box-shadow: none !important;
  font-size: 16px;
}

.anmeldung-kasten {
  border: 1px solid #ccc !important;
  padding-top: 25px !important;
  padding-right: 25px !important;
  padding-bottom: 25px !important;
  padding-left: 25px !important;
}

.flex-container {
  display: flex;
  justify-content: flex-start; /* Standardwert */
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, calc(33.3% - 10px));
  grid-gap: 15px;
}

.flex-item {
  padding: 20px;
  background-color: #f2f2f2;
  width: 100%;
  font-size: 92%;
}

.flex-item:hover {
  background-color: #007a7b;
  color: #fff;
}

.flex-container-50 {
  display: flex;
  flex-wrap: wrap; /* Standardwert = nowrap */
}

.flex-item-50 {
  flex-basis: 50%;
  flex-grow: 1;
  flex-shrink: 1;
  background-color: #f2f2f2;
  padding: 20px;
  border: 5px solid #fff;
}

.flex-item-50:hover {
  background-color: #007a7b;
  color: #fff;
}

.flex-item-50 img {
  margin-bottom: 20px;
}

.download-box-grey {
  background-color: #f2f2f2;
  padding: 10px;
}

.dlm-downloads li:before {
  display: none !important;
}

.dlm-downloads li {
  padding-left: 0px !important;
}

.filetype-icon {
  padding-left: 35px !important;
}

.et_pb_blog_grid .entry-title {
  display: unset;
  font-size: 18px !important;
}

.tns-inner h2 {
  display: block;
  font-size: 18px !important;
}

/* Schulleitung */

#schulleitung h5 {
  font-weight: 700;
  font-size: 20px;
  color: #003c6b;
}

#schulleitung p {
  font-weight: 400;
  font-size: 15px;
  color: #666;
  line-height: 1.4em;
  font-style: italic;
}

/* Unterrichtsfächer */
#unterrichtsfaecher {
  width: 100%;
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
}

#unterrichtsfaecher > div {
  margin: 0;
  display: grid;
  text-align: center;
  cursor: pointer;
}

#unterrichtsfaecher > div img {
  margin-bottom: -8px !important;
}

#unterrichtsfaecher > div p {
  background-color: #f2f2f2;
  padding: 12px 0px;
  margin-top: 0px !important;
}

#unterrichtsfaecher > div:hover p {
  background-color: #007a7b;
  color: #fff;
}

#unterrichtsfaecher > div > img {
  width: 100% !important;
}

#unterrichtsfaecher-filter div[data-selection='all'] {
  flex: unset !important;
  grid-area: all;
}
#unterrichtsfaecher-filter div[data-selection='gymnasium'] {
  flex: unset !important;
  grid-area: ab;
}
#unterrichtsfaecher-filter div[data-selection='kolleg'] {
  flex: unset !important;
  grid-area: ko;
}
#unterrichtsfaecher-filter {
  display: grid;
  grid-gap: 10px;
  font-size: medium;
  grid-template-columns: repeat(6, 1fr);
}

@media only screen and (max-width: 767px) {
  #unterrichtsfaecher-filter {
    grid-template-areas:
    'ab ab ab ko ko ko';
  }
}
@media only screen and (min-width: 768px) {
  #unterrichtsfaecher-filter {
    grid-template-areas: 'ab ab ab ko ko ko';
  }
}
/* Termine */
.termine .et_pb_row {
  padding: 10px 0;
  margin-left: 0;
}

.termine .et_pb_row.et_pb_row_1.et_pb_row_trenner {
  border-top: 1px solid #007a7b;
  margin-top: 15px;
  margin-bottom: 15px;
}
.termine .et_pb_row:hover {
  background-color: #f2f2f2;
}

.termine .et_pb_row.et_pb_row_1.et_pb_row_trenner:first-child {
  border-top: none;
}

/* Termine-Widget */
#termine_widget ul li {
  font-size: 15px;
  line-height: 1.7em;
  color: #666;
}

/* BUTTONS */
button {
  text-align: l;
  cursor: pointer;
  font-size: 24px;
  margin: 20px 0 0;
  padding: 15px 20px;
  outline: none;
  background-color: #007a7b;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 17px;
  font-weight: 400;
}

/* LightBox */
.mfp-wrap .mfp-container .mfp-content .mfp-figure .mfp-close {
  top: 0;
  transform: translateY(-100%);
  margin: 0;
  cursor: pointer;
  width: auto;
}
.mfp-wrap .mfp-container .mfp-content .mfp-figure figure .mfp-img {
  padding: unset;
}
.mfp-zoom-out-cur {
  cursor: auto !important;
}
.single-post .mfp-bottom-bar {
  display: none;
}
/* Akkordion */
.et_pb_toggle h5.et_pb_toggle_title {
  transition-duration: 0.5s;
}
#main-content ul.et_pb_social_media_follow li {
  padding-left: 0;
}

#main-content ul.et_pb_social_media_follow li:before {
  display: none;
}

#main-content ul.et_pb_social_media_follow li a {
  border-radius: 50%;
}
.et_pb_social_media_follow li a.icon {
  height: 42px;
  width: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.et_pb_social_media_follow li a.icon::before {
  font-size: 22px;
}





@media (max-width: 1400px) {
  header > .container {
    width: 100%;
    padding: 0 15px;
  }
}

@media (max-width: 1200px) {
  #top-menu li a {
    font-size: 16px !important;
  }
}
@media (max-width: 1080px) {
  #et_mobile_nav_menu {
    display: block;
  }
  #top-menu {
    display: none;
  }
 
}

@media (max-width: 980px) {
  #page-container {
    padding-top: 0px !important;
  }
}

@media only screen and (max-width: 840px) {
  table.responsive {
    margin-bottom: 0;
    overflow: hidden;
    overflow-x: scroll;
    display: block;
    white-space: nowrap;
  }
  .grid-container {
    display: grid;
    grid-template-columns: repeat(2, calc(50% - 10px));
    grid-gap: 15px;
  }
}
@media only screen and (max-width: 540px) {
  .grid-container {
    display: grid;
    grid-template-columns: repeat(1, 100%);
    grid-gap: 15px;
  }
}

@media (max-width: 479px) {
  .start-boxes .et_pb_column {
    width: 47.5% !important;
}
}
