/*!
Theme Name: Ekkehard-Realschule Singen
Theme URI: https://them.es/starter
Author: Thomas Schuhwerk - Blue Hippo
Author URI: https://www.blue-hippo.company
Description: 
Version: 3.0.3
Requires at least: 5.0
Tested up to: 5.9
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: ers
*/

:root {
  --clr-text: #515054;
  --clr-blue: #0064a6;
  --clr-bluelight: #bac5d8;
  --clr-bg: #f5f7fb;
  --blackColor: #515054;
  --clr-titleicons: #dce5f3;
}

::selection,
::-moz-selection {
  background: var(--clr-bluelight);
}

html {
  scroll-behavior: smooth;
}

#contactTab {
  scroll-margin-top: 100px;
}

input {
  accent-color: var(--clr-blue);
}

a[href$=".pdf"]:before {
  content: "\f1c1";
  font-family: "Font Awesome 5 Pro";
  display: inline-block;
  margin-right: 0.5em;
}

a[href$=".pptx"]:before {
  content: "\f1c4";
  font-family: "Font Awesome 5 Pro";
  display: inline-block;
  margin-right: 0.5em;
}

a[href$=".doc"]:before,
a[href$=".docx"]:before {
  content: "\f1c2";
  font-family: "Font Awesome 5 Pro";
  display: inline-block;
  margin-right: 0.5em;
}

a.nopdficon[href$=".pdf"]:before {
  display: none;
}

h2 {
  font-size: 3.6rem;
}

textarea {
  width: 100%;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignright {
  float: right;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--clr-blue);
  color: #fff !important;
}

.zustimmung .wpcf7-list-item {
  margin: 0;
}

.wpcf7-list-item {
  margin: 0 1rem 0 0;
}

.btn-primary {
  color: var(--clr-blue);
  background-color: #fff;
  border-color: var(--clr-blue);
  border-radius: 3rem;
  padding: 0.5rem 1.5rem;
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--clr-blue);
  border-color: var(--clr-blue);
}

.btn-check:active + .btn-primary:focus,
.btn-check:checked + .btn-primary:focus,
.btn-primary.active:focus,
.show > .btn-primary.dropdown-toggle:focus,
.btn-check:focus + .btn-primary,
.btn-primary:focus {
  box-shadow: none;
}

.mb-6rem {
  margin-bottom: 6rem;
}

.item-title,
.lb-caption {
  display: none !important;
}

.section-mb {
  margin-bottom: 6rem;
}

.section-bgblue,
.section-bggrey {
  background-color: var(--clr-bg);
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.section-pb-0 {
  padding-bottom: 0;
}

.section-pt-0 {
  padding-top: 0;
}

.section-diagonal {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0% 100%);
}

.ovldivider {
  border-bottom: 2px dotted var(--clr-blue);
}

#menu-ers {
  font-family: var(--headingFontFamily);
  font-size: 1.3rem;
}

.rgsteaser--box {
  transition: 350ms;
}

.rgsteaser--box:hover {
  -webkit-transform: translateY(-1rem);
  transform: translateY(-1rem);
}

.teaserbox--inner {
  border-radius: 0.5rem;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
  background: #fff;
  padding: 0;
}

.teaserbox--inner img {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom: 0.25rem solid var(--clr-blue);
}

.teaserbox--inner .fad.fa-calendar-alt {
  color: var(--clr-blue);
}

.teaserbox--text {
  padding: 15px;
  position: relative;
}

.teaserbox--padding {
  padding: 1.5rem 1rem;
}

.page-title-area.erstitleimg {
  height: 480px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  background-position: center center;
  background-size: cover;
}

.page-title-area.erstitleimg::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.page-title-area.erstitleimg h1 {
  text-align: center;
  color: #fff;
  margin-bottom: 0;
  font-size: 3.5rem;
}

.ctrimg img {
  display: block;
  margin: 0 auto;
}

.innercomposer .row ul {
  list-style: none;
  padding: 0;
}

.innercomposer .row li {
  padding-left: 1.3em;
}

.innercomposer .row li:before {
  content: "\f14a";
  font-family: "Font Awesome 5 Duotone";
  display: inline-block;
  margin-left: -1.3em;
  width: 1.3em;
  color: var(--clr-blue);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* SECTION SEARCH PAGINATION
------------------------------------------------------------*/

.paginavigation {
  margin-top: 0;
}

.paginavigation ul {
  padding-left: 0;
}

.paginavigation li a,
.paginavigation li a:hover,
.paginavigation li.active a,
.paginavigation li.disabled {
  color: #fff;
  text-decoration: none;
}

.paginavigation li a.btn {
  font-size: 16px;
  line-height: 1;
}

.paginavigation li.btnseite {
  position: relative;
  top: -3px;
}

.paginavigation li.btnseite .btn {
  border: 0;
}

.paginavigation li {
  display: inline;
}

.paginavigation li a,
.paginavigation li a:hover,
.paginavigation li.active a,
.paginavigation li.disabled {
  color: var(--clr-blue);
  border: 2px solid var(--clr-blue);
  background-color: #fff;
  border-radius: 2rem;
  cursor: pointer;
  padding: 12px;
  padding: 0.75rem;
}

.paginavigation li a:hover,
.paginavigation li.active a {
  background-color: var(--clr-blue);
  color: #fff;
}

/*
 *KONTAKT
 * ######################################################
*/

.erreichbarkeit .petach {
  border-radius: 50%;
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 160px;
}

.erreichbarkeit .contactblock p {
  text-align: center;
  font-size: 1.4rem;
}

.erreichbarkeit .contactblock a {
  color: var(--clr-text);
}

.erreichbarkeit .contactblock i {
  font-size: 3rem;
  color: var(--clr-blue);
}

/*
 * COURSE CARD
 * ######################################################
*/

.course-card {
  background-color: #fff;
  box-shadow: 0 0 10px rgb(21 87 153 / 8%);
  padding: 28px 28px 30px;
  border-radius: 25px;
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
}

.course-card:before {
  content: "";
  position: absolute;
  top: 6px;
  left: -1px;
  width: 7px;
  height: 166px;
  background-image: url("/wp-content/themes/ers/assets/images/layout/shape3.png");
  background-repeat: no-repeat;
}

.course-card ul.course-meta {
  padding-left: 0;
}

.course-card .course-meta li {
  display: inline-block;
  margin-right: 11px;
}

.course-card:nth-child(2) {
  left: -100px;
}

@media only screen and (max-width: 820px) {
  .course-card:nth-child(2) {
    left: 0;
  }
}

.course-meta i {
  color: var(--clr-blue);
}

.course-card h3 a {
  color: var(--clr-text);
}

.course-card .locat {
  margin-left: auto;
  display: inline-block;
}

.course-card .posted-by a {
  color: var(--clr-text);
}

.course-card .posted-by img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.accordion {
  background: #fff;
}

.accordion-button {
  font-size: 1.4rem;
}

.accordion-button:not(.collapsed),
.accordion-button.collapsed {
  color: #fff;
  background-color: var(--clr-blue);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  border-right: 1px solid var(--clr-blue);
  border-left: 1px solid var(--clr-blue);
}

.accordion-item:last-child {
  border-bottom: 1px solid var(--clr-blue);
}

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

#footer {
  margin-top: 50px;
  background-image: url("/wp-content/themes/ers/assets/images/footer-bg.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

a.icbeforacc:before {
  content: "\f15c";
  font-family: "Font Awesome 5 Pro";
  display: inline-block;
  margin-right: 0.5em;
}

#footer::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 100, 166, 0.6);
}

#footer .container.mdfooter {
  padding-top: 4rem;
  padding-bottom: 4rem;
  z-index: 2;
  position: relative;
}

#footer .container.mdfooter h4 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

#footer .container.mdfooter p {
  color: #fff;
  line-height: 1.8rem;
  font-size: 1.1rem;
}

#footer .container.mdfooter a {
  color: #fff;
}

#footer .xsfooter {
  padding-bottom: 2rem;
  z-index: 2;
  position: relative;
}

#footer .xsfooter {
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  padding-top: 2rem;
}

#footer .xsfooter,
#footer .xsfooter p,
#footer .xsfooter a {
  color: #fff;
  font-size: 0.8rem;
}

#footer .container.mdfooter a:hover,
#footer .xsfooter a:hover {
  color: rgba(255, 255, 255, 0.6);
}

#footer .coopfooter .img-fluid {
  width: 32%;
  padding-right: 1%;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.footer-area {
  padding-top: 0 !important;
}

@media only screen and (max-width: 1080px) {
  #footer .container.mdfooter h4 {
    font-size: 1.4rem;
  }
  #footer .container.mdfooter p {
    font-size: 14px;
  }
  #footer .container {
    max-width: 95%;
  }
}

@media only screen and (max-width: 820px) {
  .noke-responsive-nav .noke-responsive-menu.mean-container .navbar-nav {
    height: 520px;
  }
  .noke-responsive-nav .mean-container a.meanmenu-reveal {
    padding-top: 8px;
  }
  #footer .fmb {
    margin-bottom: 2rem;
  }
  #footer .container.mdfooter p {
    font-size: 1rem;
  }
  .page-title-area.erstitleimg h1,
  .icon-ers-heade h2.section-title,
  .innercomposer h2.section-title {
    font-size: 2.4rem !important;
  }
  .section-title,
  .centertitle h3.section-title {
    max-width: 100%;
  }
  .hidefirstonmd .col-md-6:first-child {
    display: none;
  }
}
