body {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

a {
  color: #5aa127;
  text-decoration: none;
}

a:hover {
  color: #019CD9;
  text-decoration: none;
}

.footer-unten-wrapper a.internal-link {
  color: #fff;
}

.footer-unten-wrapper a:hover.internal-link {
  color: #5aa127;
}

b,
strong {
  font-weight: 600 !important;
}

/*------------------------------------*\
  #BOOTSTRAP
\*------------------------------------*/
.container,
.container-fluid {
  padding: 0;
}

#carousel-slider .glyphicon {
  color: #fff;
}

.row {
  width: 100% !important;
  margin: 0 !important;
}


/*------------------------------------*\
  #ÜBERSCHRIFTEN
\*------------------------------------*/
h1,
.h1,
h2,
.h2,
h3,
.h3 {
  clear: both;
  margin: 0 0 15px 0 !important;
  font-family: 'Comfortaa', cursive;
  color: #5aa127;
}

h1,
.h1,
h2,
.h2 {
  font-size: 28px;
  padding: 0;
}

h3,
.h3 {
  font-size: 24px;
}

/*------------------------------------*\
  #KOPFBEREICH
\*------------------------------------*/
.top-logo-icon-wrapper {
  width: 100%;
}

.logo {
  padding: 0;
}

.logo img {
  width: 75px;
  height: auto;
  margin-top: 20px;
}

.schulbezeichnung-schulort-wrapper {
  margin: 20px 0 0 15px;
  font-family: 'Comfortaa', cursive;
}

.schulbezeichnung {
  font-size: 26px;
  height: 28px;
}

.schulort {
  font-size: 30px;
}

/*** RUNDE ICONS ***/
.icon-wrapper {
  position: relative;
}

.icon-kontakt,
.icon-krankmeldung,
.icon-anfahrt,
.icon-termine,
.icon-suche {
  border: 1px solid #555;
  border-radius: 50%;
  height: 65px;
  width: 65px;
  padding: 0;
  text-align: center;
  margin: 20px 0 0 20px;
}

.icon-kontakt {
  margin: 20px 0 0 0;
}

a .icon-kontakt:hover,
a .icon-krankmeldung:hover,
a .icon-anfahrt:hover,
a .icon-termine:hover,
a .icon-suche:hover {
  background: #555;
}

a .icon-kontakt:hover .glyphicon,
a .icon-krankmeldung:hover .glyphicon,
a .icon-anfahrt:hover .glyphicon,
a .icon-termine:hover .glyphicon,
a .icon-suche:hover .glyphicon {
  color: #fff;
}

.icon-beschriftung {
  color: #555;
  margin-top: 20px;
  font-size: 14px;
}

.icon-suche .icon-beschriftung {
  margin-top: 17px;
}

.icon-krankmeldung .icon-beschriftung {
  margin-left: -17px;
  margin-top: 20px;
}

.glyphicon {
  color: #555;
}

.glyphicon-user,
.glyphicon-road,
.glyphicon-calendar {
  font-size: 30px;
  margin-top: 12px;
}

.icon-suche i,
.glyphicon-search {
  font-size: 30px;
  margin-top: 14px;
}

.top-logo-icon-wrapper form.dropdown-menu.navbar-form {
  left: auto;
  padding: 20px;
  right: 0;
}

.top-logo-icon-wrapper form.dropdown-menu.navbar-form {
  padding: 20px;
  right: 0;
  top: 85px;
}

.top-logo-icon-wrapper button.btn.btn-default i.glyphicon.glyphicon-search {
  font-size: 15px;
  margin: 0;
}

.glyphicon-heart-empty {
  font-size: 36px;
  margin-top: 12px;
}

.navigation-wrapper {
  background: #5aa127;
  margin: 15px 0 30px 0;
}

.kopfbild {
  text-align: center;
  background-image: url(/typo3conf/ext/schulnetz_auerbergland_template/Resources/Public/Images/Template/Rosshaupten_08_Walk.jpg);
  background-size: cover;
}

/*** BREADCRUMB ***/
.breadcrumb-wrapper {
  background: #eee;
  font-size: 14px;
}

.breadcrumb-wrapper a {
  color: #555;
}

/*** AKTUELLES TEASERBOX ***/
.mask-teaserbox-bild {
  padding: 0;
}

.mask-teaserbox-bild img {
  width: 100%;
  height: auto;
}


/*** LAUFSCHRIFT ***/
.mask-laufschrift {
  background: #555;
  padding: 5px 0;
}

.marquee {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  animation: marquee 30s linear infinite;
  color: #fff;
}

.marquee:hover {
  animation-play-state: paused;
}

/* Make it move */
@keyframes marquee {
  0% {
    text-indent: 27.5em
  }

  100% {
    text-indent: -105em
  }
}

/*** MASK BILDERGALERIE ***/
.bildspalte {
  margin-bottom: 25px !important;
}

.bildspalte p {
  margin-bottom: 30px;
}

.mask-bildergalerie div.mask-bildergalerie-wrapper {
  margin-bottom: 15px;
  -webkit-box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.5);
}

.mask-bildergalerie div.bildspalte img {
  width: 100%;
  height: auto;
}

/*------------------------------------*\
  #CONTENT
\*------------------------------------*/
/**** SUCHFELD ****/
#custom-search-input {
  padding: 3px;
  border: solid 1px #E4E4E4;
  border-radius: 0;
  background-color: #fff;
}

#custom-search-input form#tx_indexedsearch .input-group input {
  padding: 3px;
  border: 0 !important;
  border-radius: 0;
  background-color: #fff;
  width: 100%;
}

#custom-search-input form#tx_indexedsearch .input-group .input-group-btn {
  position: absolute;
  right: 0;
}

#custom-search-input form#tx_indexedsearch .input-group .input-group-btn button {
  border: 0 !important;
}

/*------------------------------------*\
  #FOOTER
\*------------------------------------*/
.footer-oben-wrapper {
  background: #eee;
  border-top: 1px solid #555;
  padding: 20px 0 0 0;
  margin-top: 20px;
}

.footer-oben-links .ce-element,
.footer-oben-mitte .ce-element,
.footer-oben-rechts .ce-element {
  margin-bottom: 20px !important;
}

.footer-unten-wrapper {
  background: #555;
  color: #fff;
}

.footer-unten-wrapper a:hover {
  text-decoration: none;
  color: #ccc;
}

.footer-unten-wrapper .ce-element {
  margin: 0;
}

.footer-unten-wrapper {
  padding: 5px 0 0 0;
}

.footer-oben-links {
  padding-left: 0;
}

.footer-oben-rechts img {
  width: 100%;
  height: auto;
}

/*------------------------------------*\
  #TYPO3
\*------------------------------------*/
.ce-element,
.frame {
  margin-bottom: 30px;
}

hr {
  padding: 0;
  border: none;
  border-top: medium double #555;
  color: #555;
  text-align: center;
  clear: both;
  margin-bottom: 30px;
}

hr:after {
  content: "\1F4CE";
  display: inline-block;
  position: relative;
  top: -0.95em;
  font-size: 1.5em;
  padding: 0 0.25em;
  background: white;
}

.align-right {
  text-align: right;
}

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

.back-to-top {
  background: #ed1b24;
  border-radius: 10px;
  bottom: 50px;
  color: #fff;
  font-size: 30px;
  padding: 5px 20px;
  position: fixed;
  right: 20px;
}

a.back-to-top:hover,
a.back-to-top:visited,
a.back-to-top:checked {
  color: #fff;
  text-decoration: none;
}


.frame-type-menu_pages ul,
.frame-type-menu_subpages ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.frame-type-menu_pages ul li,
.frame-type-menu_subpages ul li {
  background: #eee;
  border: 1px solid #555;
  padding: 10px 0;
  text-align: center;
  width: 49%;
}

.frame-type-menu_pages ul li:nth-child(even),
.frame-type-menu_subpages ul li:nth-child(even) {
  margin-left: 1%;
}

.mail img {
  margin-top: -5px;
}

.open>.dropdown-menu {
  display: block;
}

/*------------------------------------*\
  #MASK
\*------------------------------------*/
.mask-infobox {
  border: 1px solid #979797;
}

.mask-infobox-ueberschrift {
  background: #555;
  color: #fff;
  font-size: 20px;
  height: 45px;
  padding: 4px 0 0 10px;
}

.mask-infobox-text {
  padding: 10px;
}

/**** INFOBOX MIT BILD ****/
.mask-infoboxbild {
  position: relative;
  width: 100%;
}

.mask-infoboxbild-ueberschrift {
  height: 50px;
  position: absolute;
  width: 70%;
  background: #5aa127;
  color: #fff;
  font-size: 20px;
  padding: 9px 0 0 10px;
  z-index: 1;
}

.mask-infoboxbild-bild {
  overflow: hidden
}

.mask-infoboxbild-bild img {
  width: 100%;
  height: auto;
}

.mask-infoboxbild-bild img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

.mask-infoboxbild-bild:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}

.mask-infoboxbild-beschreibung {
  bottom: 0;
  position: absolute;
  background: url(/typo3conf/ext/schulnetz_auerbergland_template/Resources/Public/Images/Template/trans-90-weiss.png);
  padding: 5px;
  text-align: center;
}

/**** SCHULÜBERSICHT ****/
.mask-schuluebersicht-wrapper {
  border: 1px solid #ccc;
  padding: 0 10px;
  margin-bottom: 20px;
  min-height: 140px;
}

.mask-schuluebersicht-beschreibung-wrapper {
  padding: 0 15px;
  ;
}

.mask-schuluebersicht-wappen {
  padding: 0;
}

.mask-schuluebersicht-wappen img {
  height: auto;
  margin: 10px 0 0;
  width: 105px;
}

/*------------------------------------*\
  #NEWS
\*------------------------------------*/
.news-list-item {
  background: #eee;
  margin-bottom: 20px !important;
}

.news .news-list-item h3 {
  padding-top: 15px;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px !important;
}

.news-list-item h3 a {
  color: #555;
}

.news-list-view .col-sm-3 {
  padding: 0;
}

.news div.col-md-9 {
  padding: 5px 5px 5px 0;
}

.news div.lead {
  padding-right: 10px;
}

.news div.extra {
  display: none;
}

.news div.lead {
  font-size: 16px;
  margin-bottom: 5px;
}

.news a.read-more {
  color: #ED1B24;
}

.news.news-single .thumbnail {
  border: none;
  margin-bottom: 20px;
}

.news.news-single .thumbnail img {
  width: 100%;
  height: auto;
}

.news.news-single a.btn {
  border: 1px solid #ccc !important;
}

/*------------------------------------*\
  #MEDIA-QUERIES
\*------------------------------------*/
@media (max-width: 1170px) {
  .kopfbild img {
    width: 100%;
    height: auto;
  }

  @media (max-width: 991px) {
    .container {
      max-width: 100%;
    }

    .logo {
      padding: 0 0 0 15px;
    }

    .icon-kontakt,
    .icon-krankmeldung,
    .icon-anfahrt,
    .icon-termine,
    .icon-suche {
      margin: 20px 20px 0 0;
    }

    .icon-kontakt {
      margin: 20px 0 0 0;
    }

    .breadcrumb-wrapper {
      padding: 0 15px;
    }

    .content-startseite {
      padding: 0 15px;
    }

    .footer-oben-wrapper {
      padding: 20px 15px 0;
    }

    .footer-unten-wrapper {
      padding: 5px 15px 0 15px;
    }
  }

  @media (max-width: 767px) {

    .icon-kontakt,
    .icon-krankmeldung,
    .icon-anfahrt,
    .icon-termine,
    .icon-suche {
      margin: 20px 0 0 0;
    }

    .icon-kontakt {
      margin: 20px 0 0 0;
    }

    .icon-beschriftung {
      color: #555;
      font-size: 14px;
      margin-top: 20px;
      margin-bottom: 20px;
    }

    .icon-wrapper {
      margin-bottom: 20px;
    }

    .footer-oben-mitte,
    .footer-oben-rechts {
      padding-left: 0;
    }

    /* .gridelement-2-spalten-66-33 .linke-spalte,
    .gridelement-2-spalten-66-33 .rechte-spalte,
    .gridelement-2-spalten-33-66 .linke-spalte,
    .gridelement-2-spalten-33-66 .rechte-spalte {
        padding: 0;
    } */

    .row.news-list-item {
      margin: 0 0 15px 0;
    }

    .footer-oben-rechts img {
      width: 260px !important;
      height: auto;
    }
  }

  @media (max-width: 575px) {

    .ce-gallery,
    .ce-column {
      width: 100%;
    }

    .ce-gallery .ce-media img {
      width: 100%;
      height: auto;
    }

    .mask-schuluebersicht-beschreibung-wrapper {
      width: 100%;
    }

    .mask-schuluebersicht-wappen {
      display: none;
    }
  }

  @media (max-width: 435px) {
    .icon-termine {
      margin-right: 25px;
    }
  }

  @media (max-width: 385px) {
    /*.icon-anfahrt {
        margin-right: 25px;
    }*/

    .icon-termine {
      margin-right: 0;
    }
  }

  @media (max-width: 350px) {
    .icon-anfahrt {
      margin-right: 25px;
    }

    .icon-termine {
      margin: 35px 0 0 0;
    }
  }