/*
Theme Name: Anna-Essinger-Gymnasium Ulm
Author: Steffen Deusch
Author URI: https://www.steffend.me
Description: Wordpress Theme für das Anna-Essinger-Gymnasium Ulm basierend auf "Iqra Education".
Version: 0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aer-ulm
Tags: left-sidebar, right-sidebar, one-column, two-columns, grid-layout, custom-colors, custom-background, custom-logo, custom-menu, custom-header, editor-style, featured-images, footer-widgets, sticky-post, full-width-template, rtl-language-support, theme-options, threaded-comments, translation-ready, blog, education, e-commerce
*/

@media (max-width: 400px) {
    .hide-image-on-mobile figure {
        display: none;
    }
}

html, body {
    width: 100%;
    height: 100%;
}

html {
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}
p{
    color: #424242; /* früher hell lila */;
    line-height: 2;
    font-size: 15px;
    font-weight: normal;
}
article,
aside,
footer,
header,
nav,
section {
    display: block;
}
h1, h2, h3{
    font-weight: bold;
    color: #333;/* früher lila */
}
h4, h5, h6 {
    text-decoration: underline;
    color: #333;/* früher lila */
}
h2, h3, h4, h5 {
/*    margin-top: 0.5rem; */   
    margin-bottom: 1rem;
}
h6 {
    margin-bottom: 1rem;
}
h1 {
    font-size: 2.5em;
    margin: 0.67em 0;
}
h2 {
    font-size: 2em;
}
h3 {
    font-size: 1.5em;
}
h4 {
    font-size: 1.3em;
}
h5 {
    font-size: 1.1em;
}
h6 {
    font-size: 1em;
}
figcaption,
figure,
main {
    display: block;
}
figure {
    margin: 1em 0;
}
hr {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}
pre {
    font-size: 1em;
}
a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    color: #000;
}
a:active,
a:hover {
    outline-width: 0;
    text-decoration: none;
}
abbr[title] {
    border-bottom: 1px #767676 dotted;
    text-decoration: none;
}
b,
strong {
    font-weight: inherit;
}

b,
strong {
    font-weight: 700;
}
code,
kbd,
samp {
    font-size: 1em;
}
dfn {
    font-style: italic;
}
mark {
    background-color: #eee;
    color: #222;
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
audio,
video {
    display: inline-block;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
img {
    border-style: none;
    /*width: auto;*/
}
svg:not(:root) {
    overflow: hidden;
}
button,
input,
optgroup,
select,
textarea {
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}
button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}
fieldset {
    border: 1px solid #bbb;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}
legend {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}
progress {
    display: inline-block;
    vertical-align: baseline;
}
textarea {
    overflow: auto;
}
[type="checkbox"],
[type="radio"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}
details,
menu {
    display: block;
}
summary {
    display: list-item;
}
canvas {
    display: inline-block;
}
template {
    display: none;
}
[hidden] {
    display: none;
}

/*----------- Alignments ------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*----------- Forms ---------------*/
label {
    display: block;
    font-weight: 800;
    margin-bottom: 0.5em;
}
fieldset {
    margin-bottom: 1em;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    background: #fff;
    background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    border: 1px solid #bbb;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    display: block;
    padding: 0.7em;
    width: 100%;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #222;
    border-color: #333;
}
select {
    border: 1px solid #bbb;
    padding: 10px;
    max-width: 100%;
    background: transparent;
}
input[type="radio"],
input[type="checkbox"] {
    margin-right: 0.5em;
}
input[type="radio"] + label,
input[type="checkbox"] + label {
    font-weight: 400;
}
button,
input[type="button"],
input[type="submit"] {
    background-color: #71b220;
    border: 0;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 800;
    line-height: 1;
    padding: 15px 20px;
    text-shadow: none;
    -webkit-transition: background 0.2s;
    transition: background 0.2s;
}
input + button,
input + input[type="button"],
input + input[type="submit"] {
    padding: 0.75em 2em;
}
button.secondary,
input[type="reset"],
input[type="button"].secondary,
input[type="reset"].secondary,
input[type="submit"].secondary {
    background-color: #ddd;
    color: #222;
}
button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    background: #F5F5F6;/* früher lila */
}
button.secondary:hover,
button.secondary:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="button"].secondary:hover,
input[type="button"].secondary:focus,
input[type="reset"].secondary:hover,
input[type="reset"].secondary:focus,
input[type="submit"].secondary:hover,
input[type="submit"].secondary:focus {
    background: #bbb;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
    color: #333;
}
:-moz-placeholder {
    color: #333;
}
::-moz-placeholder {
    color: #333;
    opacity: 1;
    /* Since FF19 lowers the opacity of the placeholder by default */
}
:-ms-input-placeholder {
    color: #333;
}

/*------------- Formatting ----------------*/
hr {
    background-color: #bbb;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}
/*-------------- Lists -------------------*/
ul,
ol {
    margin: 0 0 1.5em;
    color: #424242;/* früher hell lila */;
}
ul {
    list-style: unset;
}
ol {
    list-style: decimal;
}
li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: auto;
}
dt {
    font-weight: 700;
}
dd {
    margin: 0 1.5em 1.5em;
}

/*-------------------- Tables ---------------------*/
table {
    border-collapse: collapse;
    margin: 0 0 1.5em;
    width: 100%;
}
thead th {
    border-bottom: 2px solid #bbb;
    padding-bottom: 0.5em;
}
th {
    padding: 0.4em;
    text-align: left;
}
tr {
    border-bottom: 1px solid #eee;
}
td {
    padding: 0.4em;
}
th:first-child,
td:first-child {
    padding-left: 0;
}
th:last-child,
td:last-child {
    padding-right: 0;
}

/*--------------------- Links ----------------------*/

a {
    color: #71b220;
    text-decoration: none;
}
a:focus {
    outline: thin dotted;
}
a:hover,
a:active {
    color: #000;
    outline: 0;
}

/* Fixes linked images */
.entry-content a img,
.widget a img {
    -webkit-box-shadow: 0 0 0 8px #fff;
    box-shadow: 0 0 0 8px #fff;
}
.post-navigation a:focus .icon,
.post-navigation a:hover .icon {
    color: #222;
}

/*-------------------- Featured Image Hover ------------------------*/

.post-thumbnail {
    margin-bottom: 1em;
}
.post-thumbnail a img {
    -webkit-backface-visibility: hidden;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
}
.post-thumbnail a:hover img,
.post-thumbnail a:focus img {
    opacity: 0.7;
}

/*--------------- Navigation -----------------------*/
.navigation-top a {
    color: #F5F5F6;/* früher lila */
    font-weight: 600;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}
.navigation-top nav {
    flex-direction: column;
}
.main-navigation {
    clear: both;
    display: block;
    color:#71b220;
}
.main-navigation ul {
    list-style: none;
    padding: 0 1.5em;
    text-align: left;
}
.main-navigation.toggled-on .search-box {
    display: block;
}
.main-navigation ul,
.main-navigation .menu-item-has-children > a > .icon,
.main-navigation .page_item_has_children > a > .icon,
.main-navigation ul a > .icon {
    display: none;
}
.main-navigation > div > ul {
    /*border-top: 1px solid #eee;*/
    padding: 0.75em 1.695em;
}
.main-navigation.toggled-on > div > ul {
    display: block;
}
.main-navigation ul ul {
    padding: 0 0 0 1.5em;
}
.main-navigation ul ul.toggled-on {
    display: block;
}
.main-navigation ul ul a {
    letter-spacing: 0;
    padding: 0.4em 0;
    position: relative;
    text-transform: none;
}
.main-navigation li {
    border-bottom: 1px solid #eee;
    position: relative;
}
.main-navigation li li,
.main-navigation li:last-child {
    border: 0;
}
.main-navigation a {
    display: block;
    padding: 0.5em 0;
    text-decoration: none;
}

#top-menu {
    margin-bottom: 0;
}

/* Menu toggle */
label.hamburg { 
   display: block;
   width: 75px; height: 50px; 
   position: relative;
   margin-left: auto; margin-right: auto;
   border-radius: 4px; 
   margin-bottom: 0;
}

input#hamburg {display:none}

.hamburg-line { 
   position: absolute; 
   left:10px;
   height: 4px; width: 55px; 
   background: #fff; border-radius: 2px;
   display: block; 
   transition: 0.5s;
   transform-origin: center; 
}

.hamburg-line:nth-child(1) { top: 12px; }
.hamburg-line:nth-child(2) { top: 24px; }
.hamburg-line:nth-child(3) { top: 36px; }

#hamburg:checked + .hamburg .hamburg-line:nth-child(1){
   transform: translateY(12px) rotate(-45deg);
   background: #fff;
}

#hamburg:checked + .hamburg .hamburg-line:nth-child(2){
   opacity:0;
}

#hamburg:checked + .hamburg .hamburg-line:nth-child(3){
   transform: translateY(-12px) rotate(45deg);
   background: #fff;
}

.menu-toggle {
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #F5F5F6;/* früher lila */
    display: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    margin: 1px auto 2px;
    padding: 1em;
    text-shadow: none;
}
.menu-toggle {
    display: block;
}
.main-navigation.toggled-on ul.nav-menu {
    display: block;
}
.menu-toggle:hover,
.menu-toggle:focus {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.menu-toggle:focus {
    outline: thin solid;
}
.menu-toggle .icon {
    margin-right: 0.5em;
    top: -2px;
}
.toggled-on .menu-toggle .icon-bars,
.menu-toggle .icon-close {
    display: none;
}
.toggled-on .menu-toggle .icon-close {
    display: inline-block;
}

/* Dropdown Toggle */

.dropdown-toggle {
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #F5F5F6;/* früher lila */
    display: block;
    font-size: 16px;
    right: -0.5em;
    line-height: 1.5;
    margin: 0 auto;
    padding: 0.5em;
    position: absolute;
    text-shadow: none;
    top: 0;
}
.dropdown-toggle:hover,
.dropdown-toggle:focus {
    background: transparent;
}
.dropdown-toggle:focus {
    outline: thin dotted;
}
.dropdown-toggle.toggled-on .icon {
    -ms-transform: rotate(-180deg); /* IE 9 */
    -webkit-transform: rotate(-180deg); /* Chrome, Safari, Opera */
    transform: rotate(-180deg);
}

/* Scroll down arrow */
.site-header .menu-scroll-down {
    display: none;
}

/*----------- Header ----------------*/
/*.page-template-home-custom #masthead {
    position: absolute;
    z-index: 999;
    width: 100%;
    background: transparent;
    background-image: none !important;
    padding: 0;
}*/
#masthead {
    background: #F5F5F6;
    padding-bottom: 20px;
    background-blend-mode: luminosity;
    background-size: cover;
    background-position: center center !important;
}
.navigation-top {
    background: #71b220;
    position: relative;
}
.navigation-top + hr {
    background: #F5F5F6;
    height: 5px;
    margin: 0;
}
.main-header .custom-logos {
    justify-content: flex-end;
    align-items: center;
    display: flex;
    justify-self: flex-end;
    flex: 1;
    max-height: 150px;
}
.custom-logos img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    flex: 0;
}
@media screen and (max-width: 991px) {
    .main-header h2 {
        display: none;
    }
    .main-header .custom-logos {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .main-header .custom-logos {
        display: none;
    }
}

.logo {
    /*padding: 18px;*/
    /*background: #71b220;*/
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo .aer-logo-left {
    min-width: 120px;
    height: auto;
    margin-top: 1rem;
    margin-right: 2rem;
}

.logo .aer-logo-left--link {
    justify-content: center;
    align-items: center;
    display: none;
}

.logo h1{
    margin: 0;
    font-weight: 600;
}
.logo h1 a{
    color: #fff;
    text-transform: uppercase;
}
.topbar span.call,
.topbar span.email,
.topbar span.time {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
.topbar {
    background: transparent;
    padding: 15px;
}
.topbar span.call i,
.topbar span.email i,
.topbar span.time i {
    padding-right: 8px;
    color: #71b220;
}
.social-icon {
    text-align: right;
    padding-right: 0;
}
.social-icon i {
    padding-left: 10px;
    color: #fff;
    font-size: 12px;
}
.social-icon i:hover{
    color: #71b220;
}
.account a {
    color: #F5F5F6;/* früher lila */
    padding: 20px 0;
}
.account{
    padding: 20px 0px;
    text-align: center;
    background: #71b220;
}
.account a i {
    padding-right: 8px;
}
/*-----------------Search pop up----------------*/
.serach_outer {
 position: fixed;
 width: 100%;
 height: 100%;
 overflow: hidden;
 /*transition: 0.5s;*/
 z-index: 999;
 top: 0;
 left: 0;
 background-color: rgba(0,0,0, 0.8);
 display: none;
}
.serach_inner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 10px;
}
.serach_inner .search-form .search-submit {
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
}
.closepop {
    position: absolute;
    top: 20%;
    transform: translateY(-50%);
    width: 100%;
    right: 0;
    text-align: right;
    margin-right: 28px;
}
.serach_outer i {
    font-size: 24px;
    padding: 4px 0 0 0;
    color: #bbb;
    cursor: pointer;
}
.serach_inner form.search-form {
    display: flex;
    border: 1px solid #bababf;
    padding: 14px 20px;
    border-radius: 0;
    background: #ffffff;
    margin: 0 auto;
    max-width: 700px;
    width: 100%;
}
.serach-page input.search-field {
    border: 1px solid #ccc;
    padding: 9px;
}
button.search-submit {
    border: 0;
    background: transparent;
}
input.search-field {
    padding: 10px;
    background: #fff;
    width: 95%;
    font-size: 15px;
    border-right: none;
    border-radius: 0px;
}
#mastheader .search-submit span .screen-reader-text{
    position: static !important;
}
.search-box {
    display: none;
    flex: 1;
    align-self: flex-end;
    justify-self: flex-end;
}
.search-box span i {
    color: #fff;
    /*background: #fff;*/
    font-size: 15px;
    cursor: pointer;
    padding: 24px 15px;
}
.serach_outer i{
  font-size: 24px;
  padding: 4px 0 0 0;
  color: #bbb;
}
.search_form button.search-submit {
    width: 20%;
    text-align: center;
    float: right;
    border-radius: 0;
    background: url(assets/images/Icon.png) no-repeat scroll 30px 11px;
    text-indent: -9999px;
    padding: 21px 20px;
    margin: 0;
}
.search_form {
    padding: 15px 0px;
    margin-bottom: 25px;
}

/* --------- SLIDER--------- */
#slider .carousel-control-next-icon,
#slider .carousel-control-prev-icon{
    background: transparent;
}
#slider{ 
  max-width:100%;
  margin:auto; 
  padding:0;
  background: #333;/* früher lila */
}
#slider .carousel-inner {
  width: 100%;
  max-height: 400px !important;
}
#slider img {
  width: 100%;
  opacity: 0.5;
  object-fit: cover;
  max-height: inherit;
}
#slider .carousel-item-next,#slider .carousel-item-prev,#slider .carousel-item.active {
  display: block !important;
  max-height: inherit;
}
#slider .carousel-control-next, #slider .carousel-control-prev{
  opacity: 1;
}
#slider .carousel-caption {
    top: 45%;
    transform: translateY(-50%);
    /*right: 40%;*/
}
.carousel-control-next-icon, .carousel-control-prev-icon{
  width: auto;
  height: auto;
}
#slider .inner_carousel h2 {
    color: #fff;
    padding: 0px;
    font-size: 40px;
    font-weight: 600;
}
#slider .inner_carousel p{
    font-size: 14px;
    line-height: 2;
    color: #fff;
    font-weight: 500;
}
#slider .inner_carousel {
   text-align: left;
}
.readbutton a {
    padding: 12px 25px;
    color: #F5F5F6;/* früher lila */
    font-size: 14px;
    font-weight: 600;
    background: #71b220;
    border-radius: 5px;
}
.readbutton a:hover {
    background: #F5F5F6;/* früher lila */
    color: #71b220;
}
.readbutton {
    margin-top: 25px;
    text-transform: uppercase;
}

@media screen and ( max-width: 48em ) {
    #slider .inner_carousel h2 {
        font-size: 32px;
    }
}
/*----------- About Section ----------------*/
#about {
    padding: 2% 0;
    background: #f7f7ff;
}
#about .about-text h2 {
    font-size: 35px;
    font-weight: 700;
    color: #F5F5F6;/* früher lila */
    letter-spacing: 1px;
    margin-bottom: 3%;
    text-transform: capitalize;
}
#about .about-text hr {
    border-top: 1px solid #71b220;
    width: 5%;
    margin: 10px 0 15px;
}
#about .about-text h4{
    font-weight: 700;
    color: #F5F5F6;/* früher lila */
    font-size: 20px;
}
.about-text p {
    font-size: 14px;
    line-height: 2;
    color: #424242;/* früher hell lila */;
    letter-spacing: 1px;
}
.aboutbtn {
    margin-top: 3em;
}
.aboutbtn a {
    border-radius: 5px;
    padding: 15px 25px;
    color: #F5F5F6;/* früher lila */
    font-size: 14px;
    font-weight: 600;
    background: #71b220;
}
.aboutbtn a:hover{
    color: #71b220;
    background:#F5F5F6;/* früher lila */
}
.entry-video iframe{
    width: 100%;
    margin:0;
}
#about .abt-image iframe,
#about .abt-image img,
#about .abt-image video{
    width: 100%;
    height: 320px
}
#about .abt-image {
    padding: 12px;
}
.img-shadow {
    position: absolute;
    -webkit-clip-path: polygon(100% 5%, 25% 100%, 100% 100%);
    clip-path: polygon(100% 5%, 25% 100%, 100% 100%);
    background: #71b220;
    height: 340px;
    top: 7px;
    width: 100%;
    opacity: 0.6;
    right: 12px;
}
.abt-image:hover .img-shadow {
    display: none;
}

/* Content */
.site-content-contain {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-template-home-custom .site-content-contain #content .container {
    padding-top: 30px;
}

/* Woocommerce */
.woocommerce-product-gallery__image {
    padding: 5px;
}
span.woocommerce-input-wrapper{
 width: 100%;
}
span.posted_in {
    display: block;
}
.woocommerce span.onsale{
    background: #71b220;
    color: #F5F5F6;/* früher lila */
    padding: 0;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
    margin:0 18px 20px 0;
}
.woocommerce a.added_to_cart {
    color: #F5F5F6;/* früher lila */
}
.products li {
    border: solid 1px #dcdcdc;
    padding: 10px !important;
    text-align: center;
}
h2.woocommerce-loop-product__title,
.woocommerce div.product .product_title {
    color: #F5F5F6;/* früher lila */
    letter-spacing: 1px;
    font-weight: 600;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: #F5F5F6;/* früher lila */
}
.woocommerce div.product .product_title,.woocommerce div.product p.price, .woocommerce div.product span.price{
    margin-bottom: 5px;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{
    color: #F5F5F6;/* früher lila */
    background: #71b220;
    font-weight: 600;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover{
    background: #F5F5F6;/* früher lila */
    color: #71b220;
}
.woocommerce div.product form.cart div.quantity{
    margin-right: 10px;
}
.woocommerce .quantity .qty {
    width: 5em;
    padding: 10px;
    border-radius: 0;
    border: solid 1px #000;
    color: #000;
}
nav.woocommerce-MyAccount-navigation ul {
    list-style: none;
}
nav.woocommerce-MyAccount-navigation ul li {
    background: #71b220;
    padding: 12px;
    margin-bottom: 10px;
}
nav.woocommerce-MyAccount-navigation ul li a{
    color: #fff;
    font-weight: 500;
}

/*----------- Blog Post ----------------*/
.blogger {
    text-align: left;
    border: 1px solid #71b220;/* früher lila */
    padding: 10px;
    margin-bottom: 20px;
}
.category a {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    /*color: #fff;*/
    color: #71b220;/* früher lila */
    border-bottom: 1px solid rgba(0,0,0,.09);
    padding-bottom: 3px;
}
.blogger {
    overflow: hidden;
}
.blogger h1 {
    padding: 10px 0;
    margin: 0;
    font-weight: 700;
}
.blogger h1 a {
    color: #333;/* früher lila */
}
.post-image img {
    width: 100%;
    margin-bottom: 10px;
}
.blogger p, .blogger li {
    line-height: 1.8;
}
.blogger p {
    margin-bottom: 0.5rem;
}
.blogger ul {
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.post-link {
    margin: 20px 0;
    text-align: right;
}
.post-link a{
    font-size: 12px;
    color: #71b220;/* früher lila */
    font-weight: 600;
    padding: 10px 20px;
    background: #F5F5F6;
}
.post-link a:hover {
    background: #71b220;/* früher lila */
    color: #F5F5F6;    
}
#content{
    padding:3% 0;
    flex: 1;
}
#content > .metaslider {
    margin-top: -3%;
}
.page-template-home-custom #content{
    padding:0;
}
.singlebox .category {
    margin-bottom: 10px;
}
.post-info {
    font-size: 16px;
    text-align: left;
    background: #71b220;
    padding: 5px 10px;
    margin-bottom: 10px;
}
.post-info i {
  color: #F5F5F6;/* früher lila */
  margin-left:1%;
}
.post-info span {
  margin-left: 1%;
  margin-right: 1%;
  color: #F5F5F6;/* früher lila */
  font-size: 14px;
}
/*----------- Sidebar ----------------*/
#sidebox h2{
    background: #71b220;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: capitalize;
    color: #F5F5F6;/* früher lila */
    text-align: center;
    padding: 12px 0;
    margin-bottom: 10px;
}
.site-footer h2 {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #71b220;
    border-bottom: 1px solid #71b220;
    padding: 15px 0;
    margin-bottom: 15px;
}
#sidebox ul li{
    font-size: 12px;
    letter-spacing: 0.1em;    
    border-top: none;
    color: #707070;
    padding: 10px 0;
    border-bottom: 1px solid;
}
#sidebox ul li:last-child {
    border: none;
}
.site-footer ul li {
    font-size: 11px;
    letter-spacing: 0.1em;
    border-top: none;
    padding-bottom: 6px;
    color: #fff;
}
#sidebox ul li a{
    color: #222;
}
.site-footer ul li a {
    color: #fff;
}
#sidebox .tagcloud a,
.site-footer .tagcloud a {
    display: inline-block !important;
    padding: 10px;
    font-size: 15px !important;
    margin-bottom: 4px;
    color: #000
}
.site-footer .tagcloud a {
    color: #fff;
}
.site-info p {
    color: #F5F5F6;/* früher lila */
    font-size: 15px;
    margin-bottom: 0;
    text-align: center;
}
.site-info a {
    color: #F5F5F6;/* früher lila */
}
.site-footer .screen-reader-text,
#sidebox .screen-reader-text{
    position: static !important;
}
#sidebox input.search-field,
.site-footer  input.search-field {
    padding: 10px;
    background: transparent;
    width: 100%;
    border: 1px solid;
    margin-bottom: 5px;
}
#sidebox  .search-form .search-submit,
.site-footer .search-form .search-submit{
    position: static;
    width: 100%
}
.site-footer  input[type="search"],
.site-footer  input[type="search"]::placeholder{
    color: #fff;
}

.site-footer a:hover {
    color: #333;
}

/*----------- Layout ----------------*/

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}
body {
    background: #fff;
}
#page {
    position: relative;
    word-wrap: break-word;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
    padding-left: 2em;
    padding-right: 2em;
}
.wrap:after {
    clear: both;
    content: "";
    display: block;
}


/* Site branding */

.site-branding {
    padding: 0px;
    -webkit-transition: margin-bottom 0.2s;
    transition: margin-bottom 0.2s;
    z-index: 3;
    background:transparent;
}
.site-branding a {
    text-decoration: none;
}
.site-branding a:hover,
.site-branding a:focus {
}
.site-title {
    clear: none;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.08em;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}
.site-title,
.site-title a {
    color: #fff;
    font-size: 20px;
}
.site-description {
    color: #fafafa;
    font-size: 13px;
    margin: 0;
}
.custom-logo-link img {
    display: inline-block;
    /*max-height: 80px;*/
    max-height: 200px;
    width: auto;
}
body.home.title-tagline-hidden.has-header-image .custom-logo-link img,
body.home.title-tagline-hidden.has-header-video .custom-logo-link img {
    max-height: 200px;
    max-width: 100%;
}
.custom-logo-link a:hover,
.custom-logo-link a:focus {
    opacity: 0.9;
}
.has-header-image.iqra-education-front-page .custom-header,
.has-header-video.iqra-education-front-page .custom-header,
.has-header-image.home.blog .custom-header,
.has-header-video.home.blog .custom-header {
    display: table;
    height: 300px;
    width: 100%;
}
.custom-header-media {
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}
.custom-header-media:before {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.3+75 */
    background: -moz-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#4d000000", GradientType=0); /* IE6-9 */
    bottom: 0;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: 2;
}
.has-header-image .custom-header-media img,
.has-header-video .custom-header-media video,
.has-header-video .custom-header-media iframe {
    position: fixed;
    height: auto;
    left: 50%;
    max-width: 1000%;
    min-height: 100%;
    min-width: 100%;
    min-width: 100vw; /* prevents 1px gap on left that 100% has */
    width: auto;
    top: 50%;
    padding-bottom: 1px; /* Prevent header from extending beyond the footer */
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
.wp-custom-header .wp-custom-header-video-button { /* Specificity prevents .color-dark button overrides */
    background-color: rgba(34, 34, 34, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.6);
    height: 45px;
    overflow: hidden;
    padding: 0;
    position: fixed;
    right: 30px;
    top: 30px;
    -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
    width: 45px;
}
.wp-custom-header .wp-custom-header-video-button:hover,
.wp-custom-header .wp-custom-header-video-button:focus { /* Specificity prevents .color-dark button overrides */
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(34, 34, 34, 0.8);
    color: #fff;
}
.admin-bar .wp-custom-header-video-button {
    top: 62px;
}
.has-header-image:not(.iqra-education-front-page):not(.home) .custom-header-media img {
    bottom: 0;
    position: absolute;
    top: auto;
    -ms-transform: translateX(-50%) translateY(0);
    -moz-transform: translateX(-50%) translateY(0);
    -webkit-transform: translateX(-50%) translateY(0);
    transform: translateX(-50%) translateY(0);
}
/* For browsers that support 'object-fit' */
@supports ( object-fit: cover ) {
    .has-header-image .custom-header-media img,
    .has-header-video .custom-header-media video,
    .has-header-video .custom-header-media iframe,
    .has-header-image:not(.iqra-education-front-page):not(.home) .custom-header-media img {
        height: 100%;
        left: 0;
        -o-object-fit: cover;
        object-fit: cover;
        top: 0;
        -ms-transform: none;
        -moz-transform: none;
        -webkit-transform: none;
        transform: none;
        width: 100%;
    }
}

/* Hides div in Customizer preview when header images or videos change. */

body:not(.has-header-image):not(.has-header-video) .custom-header-media {
    display: none;
}

.has-header-image.iqra-education-front-page .site-branding,
.has-header-video.iqra-education-front-page .site-branding,
.has-header-image.home.blog .site-branding,
.has-header-video.home.blog .site-branding {
    display: table-cell;
    height: 100%;
    vertical-align: bottom;
}

/*----------------- Front Page ----------------------------*/

.iqra-education-front-page .site-content {
    padding: 0;
}
.iqra-education-panel {
    overflow: hidden;
    position: relative;
}
.panel-image {
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    position: relative;
}
.panel-image:before {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.3+100 */ /* FF3.6-15 */
    background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%); /* Chrome10-25,Safari5.1-6 */
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.3)));
    background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#4d000000", GradientType=0); /* IE6-9 */
    bottom: 0;
    content: "";
    left: 0;
    right: 0;
    position: absolute;
    top: 100px;
}
.iqra-education-front-page article:not(.has-post-thumbnail):not(:first-child) {
    border-top: 1px solid #ddd;
}
.panel-content {
    position: relative;
}
.panel-content .wrap {
    padding-bottom: 0.5em;
    padding-top: 1.75em;
}

/* Panel edit link */

.iqra-education-panel .edit-link {
    display: block;
    margin: 0.3em 0 0;
}
.iqra-education-panel .entry-header .edit-link {
    font-size: 14px;
}

/* Front Page - Recent Posts */

.iqra-education-front-page .panel-content .recent-posts article {
    border: 0;
    color: #333;
    margin-bottom: 3em;
}
.recent-posts .entry-header {
    margin-bottom: 1.2em;
}
.page .panel-content .recent-posts .entry-title {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0;
    text-transform: none;
}
.iqra-education-panel .recent-posts .entry-header .edit-link {
    color: #222;
    display: inline-block;
    font-size: 11px;
    margin-left: 1em;
}
/*------------ Posts -------------------*/

/* Post Landing Page */

.sticky {
    position: relative;
    background: #eee;
}
.post:not(.sticky) .icon-thumb-tack {
    display: none;
}
.sticky .icon-thumb-tack {
    display: block;
    height: 18px;
    left: -1.5em;
    position: absolute;
    top: 1.65em;
    width: 20px;
}
.page .panel-content .entry-title,
.page-title,
body.page:not(.iqra-education-front-page) .entry-title {
    color: #333;/* früher lila */
    font-size: 30px;
    font-weight: 700;
}
.entry-header .entry-title {
    margin-bottom: 0.25em;
}
.entry-title a {
    color: #333;
    text-decoration: none;
    margin-left: -2px;
}
.entry-title:not(:first-child) {
    padding-top: 0;
}
.entry-meta {
    color: #767676;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1818em;
    padding-bottom: 0.25em;
    text-transform: uppercase;
}
.entry-meta a {
    color: #767676;
}
.pagination,
.comments-pagination {
    border-top: 1px solid #eee;
    font-size: 14px;
    font-weight: 800;
    padding: 2em 0 3em;
    text-align: center;
}
.pagination .icon,
.comments-pagination .icon {
    width: 0.666666666em;
    height: 0.666666666em;
}
.comments-pagination {
    border: 0;
}
.page-numbers {
    display: none;
    padding: 0.5em 0.75em;
}
.page-numbers.current {
    color: #767676;
    display: inline-block;
}
.page-numbers.current .screen-reader-text {
    clip: auto;
    height: auto;
    overflow: auto;
    position: relative !important;
    width: auto;
}
.prev.page-numbers,
.next.page-numbers {
    background-color: #ddd;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    padding: 0.25em 0.5em 0.4em;
}
.prev.page-numbers,
.next.page-numbers {
    -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}
.prev.page-numbers:focus,
.prev.page-numbers:hover,
.next.page-numbers:focus,
.next.page-numbers:hover {
    background-color: #71b220;
    color: #fff;
}
.prev.page-numbers {
    float: left;
    padding: 10px;
    font-size: 13px;
}
.next.page-numbers {
    float: right;
    padding: 10px;
    font-size: 13px;
}
nav h2.screen-reader-text {
    display: none;
}
/* Aligned blockquotes */
.entry-content blockquote.alignleft,
.entry-content blockquote.alignright {
    color: #666;
    font-size: 13px;
    width: 48%;
}

/* Blog landing, search, archives */
.blog .site-main > article,
.archive .site-main > article,
.search .site-main > article {
    padding-bottom: 2em;
}
body:not(.iqra-education-front-page) .entry-header {
    padding: 1em 0;
}
body:not(.iqra-education-front-page) .entry-header,
body:not(.iqra-education-front-page) .entry-content,
body:not(.iqra-education-front-page) #comments {
    margin-left: auto;
    margin-right: auto;
}
body:not(.iqra-education-front-page) .entry-header {
    padding-top: 0;
}
.blog .entry-meta a.post-edit-link,
.archive .entry-meta a.post-edit-link,
.search .entry-meta a.post-edit-link {
    color: #222;
    display: inline-block;
    margin-left: 1em;
    white-space: nowrap;
}
.search .page .entry-meta a.post-edit-link {
    margin-left: 0;
    white-space: nowrap;
}
.taxonomy-description {
    color: #666;
    font-size: 13px;
}

/* More tag */
.entry-content .more-link:before {
    content: "";
    display: block;
    margin-top: 1.5em;
}

/* Single Post */

.single-post:not(.has-sidebar) #primary,
.page.page-one-column:not(.iqra-education-front-page) #primary,
.archive.page-one-column:not(.has-sidebar) .page-header,
.archive.page-one-column:not(.has-sidebar) #primary {
    margin-left: auto;
    margin-right: auto;
    max-width: 740px;
}
.single-featured-image-header {
    background-color: #fafafa;
    border-bottom: 1px solid #eee;
}
.single-featured-image-header img {
    display: block;
    margin: auto;
}
.page-links {
    font-size: 14px;
    font-weight: 800;
    padding: 2em 0 3em;
}
.page-links .page-number {
    color: #767676;
    display: inline-block;
    padding: 0.5em 1em;
}
.page-links a {
    display: inline-block;
}
.page-links a .page-number {
    color: #222;
}
/* Entry footer */
.entry-footer {
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    margin-top: 2em;
    padding: 2em 0;
}
.entry-footer .cat-links,
.entry-footer .tags-links {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1818em;
    padding-left: 2.5em;
    position: relative;
    text-transform: uppercase;
}
.entry-footer .cat-links + .tags-links {
    margin-top: 1em;
}
.entry-footer .cat-links a,
.entry-footer .tags-links a {
    color: #333;
}
.entry-footer .cat-links .icon,
.entry-footer .tags-links .icon {
    color: #767676;
    left: 0;
    margin-right: 0.5em;
    position: absolute;
    top: 2px;
}
.entry-footer .edit-link {
    display: inline-block;
}
.entry-footer .edit-link a.post-edit-link {
    background-color: #222;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    margin-top: 2em;
    padding: 0.7em 2em;
    -webkit-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
    white-space: nowrap;
}
.entry-footer .edit-link a.post-edit-link:hover,
.entry-footer .edit-link a.post-edit-link:focus {
    background-color: #767676;
}

/* Post Formats */

.blog .format-status .entry-title,
.archive .format-status .entry-title,
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}
.format-quote blockquote {
    color: #333;
    font-size: 20px;
    font-weight: 300;
    overflow: visible;
    position: relative;
}
.format-quote blockquote .icon {
    display: block;
    height: 20px;
    left: -1.25em;
    position: absolute;
    top: 0.4em;
    -webkit-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
    width: 20px;
}

/* Post Navigation */
.post-navigation {
    font-weight: 800;
    margin: 3em 0;
}
.post-navigation .nav-links {
    padding: 1em 0;
}
.nav-subtitle {
    background: transparent;
    color: #767676;
    display: block;
    font-size: 11px;
    letter-spacing: 0.1818em;
    margin-bottom: 1em;
    text-transform: uppercase;
}
.nav-title {
    color: #333;
    font-size: 15px;
}
.post-navigation .nav-next {
    margin-top: 1.5em;
}
.nav-links .nav-previous .nav-title .nav-title-icon-wrapper {
    margin-right: 0.5em;
}
.nav-links .nav-next .nav-title .nav-title-icon-wrapper {
    margin-left: 0.5em;
}

/*---------------- Pages -----------------*/
.page .entry-header .edit-link {
    font-size: 14px;
}
.search .page .entry-header .edit-link {
    font-size: 11px;
}
.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* 404 page */
.error404 .page-content {
    padding-bottom: 4em;
}
.error404 .page-content .search-form,
.search .page-content .search-form {
    margin-bottom: 3em;
}

/*------------ Footer ---------------*/
button.search-submit:hover {
    background: #71b220;
}
.site-footer ul li a:hover {
    color: #71b220 !important;
}
.site-footer {
    background: #F5F5F6;/* früher lila */
}
.site-footer .wrap {
    padding-bottom: 1.5em;
    padding-top: 2em;
}
.site-footer li a {
    color: #000;
}
.site-footer li {
    color: #fff;
}
    
/* Footer widgets */

.site-footer .widget-area {
    padding-bottom: 2em;
    padding-top: 2em;
}
.search-form .search-submit {
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
}
.search-form button.search-submit {
    background: #71b220;
    color: #F5F5F6;/* früher lila */
    border-right: none;
    border-radius: 0px;
}
.widget-area p,
.widget-area label,
.widget-area select,
.widget-area td,
.widget-area td a,
.widget-area caption,
.widget-area th{
    color: #000;
}
.site-footer .widget-area p,
.site-footer .widget-area label,
.site-footer .widget-area td,
.site-footer .widget-area td a,
.site-footer .widget-area caption,
.site-footer .widget-area th{
    color: #333;
}
.site-footer .widget-area select{
    color: #424242;/* früher hell lila */;
}
button.search-submit {
    background: #000;
    color: #fff;
}
.copyright {
    background: #71b220;
    padding: 12px;
}

/*------------- Comments ----------------*/

.comments-title {
    font-size: 20px;
    margin-bottom: 1.5em;
}
.comment-list,
.comment-list .children {
    list-style: none;
    margin: 0;
    padding-left: 60px;
}
.comment-list li:before {
    display: none;
}
.comment-body {
    margin-left: 65px;
}
.comment-author {
    font-size: 16px;
    margin-bottom: 0.4em;
    position: relative;
    z-index: 2;
}
.comment-author .avatar {
    height: 50px;
    left: -65px;
    position: absolute;
    width: 50px;
}
.comment-author .says {
    display: none;
}
.comment-meta {
    margin-bottom: 1.5em;
}
.comment-metadata {
    color: #767676;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1818em;
    text-transform: uppercase;
}
.comment-metadata a {
    color: #767676;
}
.comment-metadata a.comment-edit-link {
    color: #222;
    margin-left: 1em;
}
.comment-body {
    color: #333;
    font-size: 14px;
    margin-bottom: 4em;
}
.comment-reply-link {
    font-weight: 800;
    position: relative;
}
.comment-reply-link .icon {
    color: #222;
    left: -2em;
    height: 1em;
    position: absolute;
    top: 0;
    width: 1em;
}
.children .comment-author .avatar {
    height: 30px;
    left: -45px;
    width: 30px;
}
.bypostauthor > .comment-body > .comment-meta > .comment-author .avatar {
    border: 1px solid #333;
    padding: 2px;
}
.no-comments,
.comment-awaiting-moderation {
    color: #767676;
    font-size: 14px;
    font-style: italic;
}
.comments-pagination {
    margin: 2em 0 3em;
}
.form-submit {
    text-align: right;
}

/*---------------- Widgets ---------------*/

#secondary {
    padding: 1em 0 2em;
}
#sidebox .widget {
    border: 1px solid #71b220;/* früher lila */
    margin-bottom: 6%;
    padding: 10px;
}
.widget {
    margin-bottom: 5%;
}
.widget-title a {
    color: inherit;
}

/* widget forms */

.widget select {
    width: 100%;
}

/* widget lists */
.widget ul.menu {
    list-style: none;
    margin: 0;
    background: none;
}
.widget ul.menu ul {
    list-style: none;
    margin: 0;
    background: none;
}
.widget:not(.widget_tag_cloud) ul li + li {
    margin-top: -1px;
}
.widget ul li ul {
    margin: 0 0 -1px;
    padding: 0;
    position: relative;
}
.widget ul li li {
    border: 0;
}

/* Widget lists of links */

.widget_top-posts ul li ul,
.widget_rss_links ul li ul,
.widget-grofile ul.grofile-links li ul,
.widget_pages ul li ul,
.widget_meta ul li ul {
    bottom: 0;
}
.widget_nav_menu ul li li,
.widget_top-posts ul li,
.widget_top-posts ul li li,
.widget_rss_links ul li,
.widget_rss_links ul li li,
.widget-grofile ul.grofile-links li,
.widget-grofile ul.grofile-links li li {
    padding-bottom: 0.25em;
    padding-top: 0.25em;
}
.widget_rss ul li {
    padding-bottom: 1em;
    padding-top: 1em;
}

/* Widget markup */
.widget .post-date,
.widget .rss-date {
    font-size: 0.81em;
}

/* Text widget */
.widget_text {
    word-wrap: break-word;
}
.widget_text ul {
    list-style: disc;
    margin: 0 0 1.5em 1.5em;
}
.widget_text ol {
    list-style: decimal;
}
.widget_text ul li,
.widget_text ol li {
    border: none;
}
.widget_text ul li:last-child,
.widget_text ol li:last-child {
    padding-bottom: 0;
}
.widget_text ul li ul {
    margin: 0 0 0 1.5em;
}
.widget_text ul li li {
    padding-left: 0;
    padding-right: 0;
}
.widget_text ol li {
    list-style-position: inside;
}
.widget_text ol li + li {
    margin-top: -1px;
}

/* RSS Widget */

.widget_rss .widget-title .rsswidget:first-child {
    float: right;
    margin-right: 12px !important;
}
.widget_rss .widget-title .rsswidget:first-child:hover {
    background-color: transparent;
}
.widget_rss .widget-title .rsswidget:first-child img {
    display: block;
}
.widget_rss ul li {
    padding: 2.125em 0;
}
.widget_rss ul li:first-child {
    border-top: none;
    padding-top: 0;
}
.widget_rss li .rsswidget {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
}
.widget_rss .rss-date,
.widget_rss li cite {
    color: #767676;
    display: block;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.5;
}
.widget_rss .rss-date {
    margin: 0.5em 0 1.5em;
    padding: 0;
}
.site-footer .widget_rss .rssSummary {
    color: #333;
    margin-bottom: 0.5em;
}

/* Contact Info Widget */
.widget_contact_info .contact-map {
    margin-bottom: 0.5em;
}

/* Gravatar */
.widget-grofile h4 {
    font-size: 16px;
    margin-bottom: 0;
}

/* Recent Comments */
.widget_recent_comments table,
.widget_recent_comments th,
.widget_recent_comments td {
    border: 0;
}

/* Recent Posts widget */
.widget_recent_entries .post-date {
    display: block;
}

/* Search */
.search-form {
    position: relative;
    display: flex;
    flex-direction: column;
}
.search-form .search-submit .icon {
    height: 24px;
    top: -2px;
    width: 24px;
}

/* Tag cloud widget */
.tagcloud ul li {
    float: left;
    border-top: 0;
    border-bottom: 0;
    padding: 0;
    margin: 4px 4px 0 0;
}
.tagcloud,
.widget_tag_cloud,
.wp_widget_tag_cloud {
    line-height: 1.5;
}
.widget .tagcloud a,
.widget.widget_tag_cloud a,
.wp_widget_tag_cloud a {
    border: 1px solid #ddd;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: block;
    padding: 4px 10px 5px;
    position: relative;
    -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
    width: auto;
    word-wrap: break-word;
    z-index: 0;
}
.widget .tagcloud a:hover,
.widget .tagcloud a:focus,
.widget.widget_tag_cloud a:hover,
.widget.widget_tag_cloud a:focus,
.wp_widget_tag_cloud a:hover,
.wp_widget_tag_cloud a:focus {
    background: #71b220;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-decoration: none;
}

/* Calendar widget */

.widget_calendar th,
.widget_calendar td,
.widget_calendar td,
.widget_calendar td {
    text-align: center;
    border: 1px solid;
}

/* Gallery widget */
.gallery-columns-5 .gallery-caption,
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}

/*-------------------- Media ----------------*/
img,
video {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}
img.alignleft,
img.alignright {
    float: none;
    margin: 0;
}
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    margin-bottom: 1.5em;
    max-width: 100%;
}

/* Remove bottom on embeds that wrapped in paragraphs via wpautop. */
p > embed:only-child,
p > iframe:only-child,
p > object:only-child {
    margin-bottom: 0;
}
.wp-caption,
.gallery-caption {
    color: #666;
    font-size: 13px;
    font-style: italic;
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

/* Media Elements */
.mejs-container {
    margin-bottom: 1.5em;
}

/* Audio Player */
.mejs-controls a.mejs-horizontal-volume-slider,
.mejs-controls a.mejs-horizontal-volume-slider:focus,
.mejs-controls a.mejs-horizontal-volume-slider:hover {
    background: transparent;
    border: 0;
}

/* Playlist Color Overrides: Light */
.site-content .wp-playlist-light {
    border-color: #eee;
    color: #222;
}
.site-content .wp-playlist-light .wp-playlist-current-item .wp-playlist-item-album {
    color: #333;
}
.site-content .wp-playlist-light .wp-playlist-current-item .wp-playlist-item-artist {
    color: #767676;
}
.site-content .wp-playlist-light .wp-playlist-item {
    border-bottom: 1px dotted #eee;
    -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}
.site-content .wp-playlist-light .wp-playlist-item:hover,
.site-content .wp-playlist-light .wp-playlist-item:focus {
    border-bottom-color: rgba(0, 0, 0, 0);
    background-color: #767676;
    color: #fff;
}
.site-content .wp-playlist-light a.wp-playlist-caption:hover,
.site-content .wp-playlist-light .wp-playlist-item:hover a,
.site-content .wp-playlist-light .wp-playlist-item:focus a {
    color: #fff;
}

/* Playlist Color Overrides: Dark */
.site-content .wp-playlist-dark {
    background: #222;
    border-color: #333;
}
.site-content .wp-playlist-dark .mejs-container .mejs-controls {
    background-color: #333;
}
.site-content .wp-playlist-dark .wp-playlist-caption {
    color: #fff;
}
.site-content .wp-playlist-dark .wp-playlist-current-item .wp-playlist-item-album {
    color: #eee;
}
.site-content .wp-playlist-dark .wp-playlist-current-item .wp-playlist-item-artist {
    color: #aaa;
}
.site-content .wp-playlist-dark .wp-playlist-playing {
    background-color: #333;
}
.site-content .wp-playlist-dark .wp-playlist-item {
    border-bottom: 1px dotted #555;
    -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}
.site-content .wp-playlist-dark .wp-playlist-item:hover,
.site-content .wp-playlist-dark .wp-playlist-item:focus {
    border-bottom-color: rgba(0, 0, 0, 0);
    background-color: #aaa;
    color: #222;
}
.site-content .wp-playlist-dark a.wp-playlist-caption:hover,
.site-content .wp-playlist-dark .wp-playlist-item:hover a,
.site-content .wp-playlist-dark .wp-playlist-item:focus a {
    color: #222;
}

/* Playlist Style Overrides */

.site-content .wp-playlist {
    padding: 0.625em 0.625em 0.3125em;
}
.site-content .wp-playlist-current-item .wp-playlist-item-title {
    font-weight: 700;
}
.site-content .wp-playlist-current-item .wp-playlist-item-album {
    font-style: normal;
}
.site-content .wp-playlist-current-item .wp-playlist-item-artist {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1818em;
    text-transform: uppercase;
}
.site-content .wp-playlist-item {
    padding: 0 0.3125em;
    cursor: pointer;
}
.site-content .wp-playlist-item:last-of-type {
    border-bottom: none;
}
.site-content .wp-playlist-item a {
    padding: 0.3125em 0;
    border-bottom: none;
}
.site-content .wp-playlist-item a,
.site-content .wp-playlist-item a:focus,
.site-content .wp-playlist-item a:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: transparent;
}
.site-content .wp-playlist-item-length {
    top: 5px;
}

/* SVG Icons base styles */
.icon {
    display: inline-block;
    fill: currentColor;
    height: 1em;
    position: relative; /* Align more nicely with capital letters */
    top: -0.0625em;
    vertical-align: middle;
    width: 1em;
}

/*------------- Galleries -----------------*/
.gallery-item {
    display: inline-block;
    text-align: left;
    vertical-align: top;
    margin: 0 0 1.5em;
    padding: 0 1em 0 0;
    width: 50%;
}
.gallery-columns-1 .gallery-item {
    width: 100%;
}
.gallery-columns-2 .gallery-item {
    max-width: 50%;
}
.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus,
.widget-area .gallery-item a,
.widget-area .gallery-item a:hover,
.widget-area .gallery-item a:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: none;
    display: inline-block;
    max-width: 100%;
}
.gallery-item a img {
    display: block;
    -webkit-transition: -webkit-filter 0.2s ease-in;
    transition: -webkit-filter 0.2s ease-in;
    transition: filter 0.2s ease-in;
    transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.gallery-item a:hover img,
.gallery-item a:focus img {
    -webkit-filter: opacity(60%);
    filter: opacity(60%);
}
.gallery-caption {
    display: block;
    text-align: left;
    padding: 0 10px 0 0;
    margin-bottom: 0;
}

/*------------ Customizer ----------------*/
.highlight-front-sections.iqra-education-customizer.iqra-education-front-page .iqra-education-panel:after {
    border: 2px dashed #0085ba; /* Matches visible edit shortcuts. */
    bottom: 1em;
    content: "";
    display: block;
    left: 1em;
    position: absolute;
    right: 1em;
    top: 1em;
    z-index: 1;
}
.highlight-front-sections.iqra-education-customizer.iqra-education-front-page .iqra-education-panel .panel-content {
    z-index: 2; /* Prevent :after from preventing interactions within the section */
}

/* Used for placeholder text */
.iqra-education-customizer.iqra-education-front-page .iqra-education-panel .iqra-education-panel-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3em;
    text-transform: uppercase;
    text-align: center;
}

/* Show borders on the custom page panels only when the front page sections are being edited */
.highlight-front-sections.iqra-education-customizer.iqra-education-front-page .iqra-education-panel:nth-of-type(1):after {
    border: none;
}
.iqra-education-front-page.iqra-education-customizer #primary article.panel-placeholder {
    border: 0;
}

/* Add some space around the visual edit shortcut buttons. */
.iqra-education-panel > .customize-partial-edit-shortcut > button {
    top: 30px;
    left: 30px;
}

/* Ensure that placeholder icons are visible. */
.iqra-education-panel .customize-partial-edit-shortcut-hidden:before {
    visibility: visible;
}

/*---------------- Media Queries ---------------*/

@media screen and ( max-width: 720px ) and ( min-width: 320px ){
    .dropdown-toggle {
        color: #71b220;
    }
    .navigation-top a {
        color: #71b220;
    }
    .page-template-home-custom #masthead{
        /*padding: 15px;*/
        background: #F5F5F6;/* früher lila */
        position: static;
    }
    .logo{
        padding: 15px;
    }
    .main-navigation.toggled-on > div > ul{
        background-color: #fff;
    }
    .topbar,
    .social-icon,#slider .inner_carousel{
        text-align: center;
    }
    #slider .carousel-caption{
        right: 15%;
    }
    #slider .carousel-control-prev{
        right: 21%;
    }
    button.menu-toggle {
        margin: 10px auto;
    }
    #masthead{
        /*padding: 15px;*/
    }
    #about{
        padding: 4% 0;
    }
    #about .about-text hr{
        width: 10%;
    }
    .readbutton{
        margin-top:0;
    }
    .aboutbtn{
        margin: 2em 0;
    }
    .site-footer .search-form .search-submit{
        padding: 13px;
    }
}

@media screen and (min-width: 20em) {
    body.customize-partial-edit-shortcuts-shown .site-header .site-title {
        padding-left: 0;
    }
    button.menu-toggle {
        border: solid 1px;
    }
}

@media screen and (max-width: 30em) {
    #slider .inner_carousel h2 {
        font-size: 24px;
    }
    #slider .inner_carousel p, #slider .inner_carousel blockquote {
        display: none;
    }
    .site-branding a{
        margin-top: 1%;
    }
    .page-template-home-custom .site-branding a{
        margin-top: 15%;
    }
    .custom-logo-link{
        float: none;
    }
    .page-template-home-custom .main-header {
        position: relative;
        padding-bottom: 18px;
    }
    /* Fix image alignment */
    img.alignleft {
        float: left;
        margin-right: 1.5em;
    }
    img.alignright {
        float: right;
        margin-left: 1.5em;
    }
    /*Front Page */
    .panel-content .wrap {
        padding-bottom: 2em;
        padding-top: 3.5em;
    }
    .page-one-column .panel-content .wrap {
        max-width: 740px;
    }
    .panel-content .entry-header {
        margin-bottom: 4.5em;
    }
    .panel-content .recent-posts .entry-header {
        margin-bottom: 0;
    }

    /* Blog Index, Archive, Search */
    .taxonomy-description {
        font-size: 14px;
    }
    .page-numbers.current {
        font-size: 16px;
    }

    /* Site Footer */
    .site-footer {
        font-size: 16px;
    }

    /* Gallery Columns */
    .gallery-item {
        max-width: 25%;
    }
    .gallery-columns-1 .gallery-item {
        max-width: 100%;
    }
    .gallery-columns-2 .gallery-item {
        max-width: 50%;
    }
    .gallery-columns-3 .gallery-item {
        max-width: 33.33%;
    }
    .gallery-columns-4 .gallery-item {
        max-width: 25%;
    }
    .widget_calendar th, .widget_calendar td{
        padding: 3px;
    }
    .search-box{
        text-align: center;
    }
}

@media screen and (max-width:1030px) and (min-width: 1000px) {
    #slider .inner_carousel h2 {
        font-size: 35px;
    }
    /*#slider .carousel-caption {
        top: 58%;
    }*/
    .readbutton {
        margin-top: 15px;
    }
    .account{
        padding: 12px 0;
    }
    .topbar span.call i, .topbar span.email i, .topbar span.time i{
        padding-right: 1px;
    }
    .social-icon i {
        padding-left: 15px;
    }
} 

@media screen and (min-width: 769px) {
    h2,
    .home.blog .entry-title,
    .page .panel-content .recent-posts .entry-title {
        font-size: 2em;
    }

    .main-navigation .menu-item:not(:hover) > .sub-menu.toggled-on {
        display: none;
    }

    .search-box {
        display: block;
    }
    /* Layout */
    .wrap {
        max-width: 1000px;
        padding-left: 3em;
        padding-right: 3em;
    }
    .error404 #primary {
        float: none;
    }
    /* Site Branding */
    .site-branding {
        margin-bottom: 0;
    }
    .has-header-image.iqra-education-front-page .site-branding,
    .has-header-video.iqra-education-front-page .site-branding,
    .has-header-image.home.blog .site-branding,
    .has-header-video.home.blog .site-branding {
        bottom: 0;
        display: block;
        left: 0;
        height: auto;
        padding-top: 0;
        width: 100%;
    }
    .has-header-image.iqra-education-front-page .custom-header,
    .has-header-video.iqra-education-front-page .custom-header,
    .has-header-image.home.blog .custom-header,
    .has-header-video.home.blog .custom-header {
        display: block;
        height: auto;
    }
    .custom-header-media {
        height: 165px;
        position: relative;
    }
    .iqra-education-front-page.has-header-image .custom-header-media,
    .iqra-education-front-page.has-header-video .custom-header-media,
    .home.blog.has-header-image .custom-header-media,
    .home.blog.has-header-video .custom-header-media {
        height: 0;
        position: relative;
    }
    .has-header-image:not(.iqra-education-front-page):not(.home) .custom-header-media,
    .has-header-video:not(.iqra-education-front-page):not(.home) .custom-header-media {
        bottom: 0;
        height: auto;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
    }
    .custom-logo-link img,
    body.home.title-tagline-hidden.has-header-image .custom-logo-link img,
    body.home.title-tagline-hidden.has-header-video .custom-logo-link img {
        max-width: 250px;
    }
    .title-tagline-hidden.home.has-header-image .custom-logo-link img,
    .title-tagline-hidden.home.has-header-video .custom-logo-link img {
        max-height: 200px;
    }
    .site-title {
        font-size: 36px;
    }
    .site-description {
        font-size: 14px;
        font-weight: 500;
    }

    /* Navigation */
    .navigation-top {
        bottom: 0;
        font-size: 14px;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 999;
    }
    .navigation-top .wrap {
        max-width: 1000px;
    }
    .navigation-top nav {
        margin-left: -1.25em;
        flex-direction: row;
    }
    .search-box{
        text-align: right;
        padding-right: 0;
    }
    .site-navigation-fixed.navigation-top {
        bottom: auto;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 999;
    }
    .admin-bar .site-navigation-fixed.navigation-top {
        top: 32px;
    }
    /* Main Navigation */

    .menu-toggle,
    .dropdown-toggle {
        display: none;
    }
    label.hamburg {
        display: none;
    }
    .main-navigation {
        width: auto;
    }
    .main-navigation ul,
    .main-navigation ul ul,
    .main-navigation > div > ul {
        display: block;
    }
    .main-navigation ul {
        background: transparent;
        padding: 0;
    }
    .main-navigation > div > ul {
        border: 0;
        margin-bottom: 0;
        padding: 0;
    }
    .main-navigation li {
        border: 0;
        display: inline-block;
    }
    .main-navigation li li {
        display: block;
    }
    .main-navigation a {
        padding: 20px 15px 10px;
        text-transform: capitalize;
        color: #fff;
        font-weight: 600;
        font-size: 14px;
    }
    .main-navigation .current-menu-item a:after,
    .main-navigation .current-page-ancestor a:after {
        opacity: 1;
    }
    .main-navigation a:hover:after{
        opacity: 1;
    }
    .main-navigation a:after {
        content: "";
        font-family: 'FontAwesome';
        height: 6px;
        width: 6px;
        border-radius: 50%;
        background: #fff;
        display: block;
        opacity: 0;
        margin: 5px auto 0;
    }
    .main-navigation ul ul a:after{
        display: none;
    }
    .main-navigation ul ul {
        background: #fff;
        left: -999em;
        padding: 0;
        position: absolute;
        top: 100%;
        z-index: 99999;
        display: none;
    }
    .main-navigation ul li.menu-item-has-children:before,
    .main-navigation ul li.menu-item-has-children:after,
    .main-navigation ul li.page_item_has_children:before,
    .main-navigation ul li.page_item_has_children:after {
        border-style: solid;
        border-width: 0 6px 6px;
        content: "";
        display: none;
        height: 0;
        position: absolute;
        left: 2em;
        bottom: -1px;
        width: 0;
        z-index: 100000;
    }
    .main-navigation ul li.menu-item-has-children.focus:before,
    .main-navigation ul li.menu-item-has-children:hover:before,
    .main-navigation ul li.menu-item-has-children.focus:after,
    .main-navigation ul li.menu-item-has-children:hover:after,
    .main-navigation ul li.page_item_has_children.focus:before,
    .main-navigation ul li.page_item_has_children:hover:before,
    .main-navigation ul li.page_item_has_children.focus:after,
    .main-navigation ul li.page_item_has_children:hover:after {
        display: block;
    }
    .main-navigation ul li.menu-item-has-children:before,
    .main-navigation ul li.page_item_has_children:before {
        border-color: transparent transparent #bbb;
        bottom: 0;
    }
    .main-navigation ul li.menu-item-has-children:after,
    .main-navigation ul li.page_item_has_children:after {
        border-color: transparent transparent #fff;
    }
    .main-navigation ul ul li:hover > ul,
    .main-navigation ul ul li.focus > ul {
        left: 100%;
        right: auto;
        top:0;
    }
    .main-navigation ul ul a {
        padding: 0.75em 1.25em;
        width: 14em;
    }
    .main-navigation li li {
        -webkit-transition: background-color 0.2s ease-in-out;
        transition: background-color 0.2s ease-in-out;
    }
    .main-navigation li li a:hover,
    .main-navigation li li a.focus {
        background: #71b220;
    }
    .main-navigation li li a {
        -webkit-transition: color 0.3s ease-in-out;
        transition: color 0.3s ease-in-out;
    }
    .main-navigation li li.focus > a,
    .main-navigation li li a:hover,
    .main-navigation li li a:focus,
    .main-navigation li li.current_page_item a:hover,
    .main-navigation li li.current-menu-item a:hover,
    .main-navigation li li.current_page_item a:focus,
    .main-navigation li li.current-menu-item a:focus {
        color: #F5F5F6;/* früher lila */
    }
    .main-navigation ul li:hover > ul,
    .main-navigation ul li.focus > ul {
        left: 0;
        right: auto;
        display: block;
    }
    .main-navigation .menu-item-has-children > a > .icon,
    .main-navigation .page_item_has_children > a > .icon {
        display: inline;
        left: 5px;
        position: relative;
        top: -1px;
    }
    .main-navigation ul ul .menu-item-has-children > a > .icon,
    .main-navigation ul ul .page_item_has_children > a > .icon {
        margin-top: -9px;
        left: auto;
        position: absolute;
        right: 1em;
        top: 50%;
        -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
        -ms-transform: rotate(-90deg); /* IE 9 */
        transform: rotate(-90deg);
    }
    .main-navigation ul ul ul {
        left: -999em;
        top: 0;
    }
    .main-navigation ul ul li a{
        color:#71b220;/* früher lila */
        border: 1px solid #71b220;/* früher lila */
    }
    .main-navigation ul ul li.menu-item-has-children.focus:before,
    .main-navigation ul ul li.menu-item-has-children:hover:before,
    .main-navigation ul ul li.menu-item-has-children.focus:after,
    .main-navigation ul ul li.menu-item-has-children:hover:after,
    .main-navigation ul ul li.page_item_has_children.focus:before,
    .main-navigation ul ul li.page_item_has_children:hover:before,
    .main-navigation ul ul li.page_item_has_children.focus:after,
    .main-navigation ul ul li.page_item_has_children:hover:after,
    .site-header .site-navigation-fixed .menu-scroll-down {
        display: none;
    }

    /*Scroll down arrow */
    .site-header .menu-scroll-down {
        display: block;
        padding: 1em;
        position: absolute;
        right: 0;
    }
    .site-header .menu-scroll-down .icon {
        -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
        -ms-transform: rotate(90deg); /* IE 9 */
        transform: rotate(90deg);
    }
    .site-header .menu-scroll-down {
        color: #fff;
        top: 2em;
    }
    .site-header .navigation-top .menu-scroll-down {
        color: #767676;
        top: 0.7em;
    }
    .menu-scroll-down:focus {
        outline: thin dotted;
    }
    .menu-scroll-down .icon {
        height: 18px;
        width: 18px;
    }

    /* Front Page */
    .iqra-education-front-page.has-header-image .site-branding,
    .iqra-education-front-page.has-header-video .site-branding,
    .home.blog.has-header-image .site-branding,
    .home.blog.has-header-video .site-branding {
        margin-bottom: 70px;
    }
    .iqra-education-front-page.has-header-image .custom-header-media,
    .iqra-education-front-page.has-header-video .custom-header-media,
    .home.blog.has-header-image .custom-header-media,
    .home.blog.has-header-video .custom-header-media {
        height: 1200px;
        height: 100vh;
        max-height: 100%;
        overflow: hidden;
    }
    .iqra-education-front-page.has-header-image .custom-header-media:before,
    .iqra-education-front-page.has-header-video .custom-header-media:before,
    .home.blog.has-header-image .custom-header-media:before,
    .home.blog.has-header-video .custom-header-media:before {
        height: 33%;
    }
    .admin-bar.iqra-education-front-page.has-header-image .custom-header-media,
    .admin-bar.iqra-education-front-page.has-header-video .custom-header-media,
    .admin-bar.home.blog.has-header-image .custom-header-media,
    .admin-bar.home.blog.has-header-video .custom-header-media {
        height: calc(100vh - 32px);
    }
    .panel-content .wrap {
        padding-bottom: 4.5em;
        padding-top: 6em;
    }
    .panel-image {
        height: 100vh;
        max-height: 1200px;
    }
    /* With panel images 100% of the screen height, we're going to fix the background image where supported to create a parallax-like effect. */
    .background-fixed .panel-image {
        background-attachment: fixed;
    }
    .page-two-column .panel-content .entry-header {
        float: left;
        width: 36%;
    }
    .page-two-column .panel-content .entry-content {
        float: right;
        width: 58%;
    }

    /* Front Page - Recent Posts */
    .page-two-column .panel-content .recent-posts {
        clear: right;
        float: right;
        width: 58%;
    }
    .panel-content .recent-posts article {
        margin-bottom: 4em;
    }
    .panel-content .recent-posts .entry-header,
    .page-two-column #primary .panel-content .recent-posts .entry-header,
    .panel-content .recent-posts .entry-content,
    .page-two-column #primary .panel-content .recent-posts .entry-content {
        float: none;
        width: 100%;
    }
    .panel-content .recent-posts .entry-header {
        margin-bottom: 1.5em;
    }
    .page .panel-content .recent-posts .entry-title {
        font-size: 26px;
    }
    
    /* Posts */
    .site-content {
        padding: 5.5em 0 0;
    }
    .single-post .entry-title,
    .page .entry-title {
        font-size: 26px;
    }
    .comments-pagination,
    .post-navigation {
        clear: both;
    }
    .post-navigation .nav-previous {
        float: left;
        width: 50%;
    }
    .post-navigation .nav-next {
        float: right;
        text-align: right;
        width: 50%;
    }
    .nav-next,
    .post-navigation .nav-next {
        margin-top: 0;
    }

    /* Blog, archive, search */
    .sticky .icon-thumb-tack {
        height: 23px;
        left: -2.5em;
        top: 1.5em;
        width: 32px;
    }
    .blog .site-main > article,
    .archive .site-main > article,
    .search .site-main > article {
        padding-bottom: 4em;
    }
    .navigation.pagination {
        clear: both;
        float: right;
        width: 58%;
    }
    .has-sidebar .navigation.pagination,
    .archive.page-one-column:not(.has-sidebar) .navigation.pagination {
        float: none;
        width: 100%;
    }
    .entry-footer {
        display: table;
        width: 100%;
    }
    .entry-footer .cat-tags-links {
        display: table-cell;
        vertical-align: middle;
        width: 100%;
    }
    .entry-footer .edit-link {
        display: table-cell;
        text-align: right;
        vertical-align: middle;
    }
    .entry-footer .edit-link a.post-edit-link {
        margin-top: 0;
        margin-left: 1em;
    }

    /* without sidebar */
    :not(.has-sidebar) .entry-content blockquote.alignleft {
        margin-left: -17.5%;
        width: 48%;
    }
    :not(.has-sidebar) .entry-content blockquote.alignright {
        margin-right: -17.5%;
        width: 48%;
    }

    /* with sidebar */
    .has-sidebar .entry-content blockquote.alignleft {
        margin-left: 0;
        width: 34%;
    }
    .has-sidebar .entry-content blockquote.alignright {
        margin-right: 0;
        width: 34%;
    }
    .has-sidebar #primary .entry-content blockquote.alignright.below-entry-meta {
        margin-right: -72.5%;
        width: 62%;
    }

    /* Pages */
    .page.page-one-column .entry-header,
    .iqra-education-front-page.page-one-column .entry-header,
    .archive.page-one-column:not(.has-sidebar) .page-header {
        margin-bottom: 4em;
    }
    /* 404 page */
    .error404 .page-content {
        padding-bottom: 9em;
    }
    /* Comments */
    ol.children .children {
        padding-left: 2em;
    }

    /* Posts pagination */
    .nav-links .nav-title {
        position: relative;
    }
    .nav-title-icon-wrapper {
        position: absolute;
        text-align: center;
        width: 2em;
    }
    .nav-links .nav-previous .nav-title .nav-title-icon-wrapper {
        left: -2em;
    }
    .nav-links .nav-next .nav-title .nav-title-icon-wrapper {
        right: -2em;
    }

    /* Secondary */
    #secondary {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Footer */
    .site-footer {
        font-size: 14px;
        line-height: 1.6;
        margin-top: 3em;
    }
    .site-info .sep {
        margin: 0 0.5em;
        display: inline;
        visibility: visible;
        height: auto;
        width: auto;
    }

    /* Gallery Columns */
    .gallery-columns-5 .gallery-item {
        max-width: 20%;
    }
    .gallery-columns-6 .gallery-item {
        max-width: 16.66%;
    }
    .gallery-columns-7 .gallery-item {
        max-width: 14.28%;
    }
    .gallery-columns-8 .gallery-item {
        max-width: 12.5%;
    }
    .gallery-columns-9 .gallery-item {
        max-width: 11.11%;
    }

    .post-image img {
        float: left;
        max-width: 300px;
        margin-right: 10px;
        margin-bottom: 10px;
    }
}

@media screen and ( min-width: 67em ) {
    /* Navigation */
    .logo {
        justify-content: flex-start;
    }
    .logo .aer-logo-left--link {
        display: flex;
    }
    .navigation-top .wrap {
        padding: 0;
    }
    .navigation-top nav {
        margin-left: 0;
    }
    /* Sticky posts */
    .sticky .icon-thumb-tack {
        font-size: 32px;
        height: 22px;
        left: -1.25em;
        top: 0.75em;
        width: 32px;
    }

    /* Pagination */
    .page-numbers {
        display: inline-block;
    }
    .page-numbers.current {
        font-size: 15px;
    }
    .page-numbers.current .screen-reader-text {
        clip: rect(1px, 1px, 1px, 1px);
        height: 1px;
        overflow: hidden;
        width: 1px;
    }
    /* Comments */
    .comment-body {
        margin-left: 0;
    }
}

@media screen and ( max-width: 48.875em ) and ( min-width: 48em ) {
    .admin-bar .site-navigation-fixed.navigation-top,
    .admin-bar .site-navigation-hidden.navigation-top {
        top: 46px;
    }
    h1.site-title {
        line-height: 0.7;
    }
    td, th{
        padding: 0px;
    }
    .site-title a {
        font-size: 13px;
    }
}

@media screen and (min-width: 720px) and (max-width: 768px){
    .custom-header{
        padding: 10px 0;
    }
    #masthead{
        /*padding: 15px;*/
    }
    .page-template-home-custom #masthead{
        /*padding: 15px;*/
        background: #F5F5F6;/* früher lila */
        position: static;
    }
    .logo{
        padding: 15px;
    }
    .topbar,
    .social-icon{
        text-align: center;
    }
    .topbar span.call i, .topbar span.email i{
        margin-bottom: 10px;
    }
    .main-navigation a{
        /*padding: 20px 12px 10px;*/
    }
    .account{
        padding: 10px 0;
    }
    #slider .carousel-caption{
        top: 50%;
        align-items: center;
        display: flex;
        /*right: 30%;*/
    }
    #slider .inner_carousel p, #slider .inner_carousel blockquote {
        display: none;
    }
    .main-navigation.toggled-on > div > ul {
        background-color: #fff;
    }
    .navigation-top a {
        color: #71b220;
    }
    .dropdown-toggle {
        color: #71b220;
    }
}

/* Startseite: 2er column auf 2/3 */
@media (min-width: 992px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile).w-two-one .wp-block-column:first-child {
        flex-basis: 66.6%;
    }
}

@media (max-width: 991px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile).w-two-one {
        flex-wrap: wrap;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile).w-two-one>.wp-block-column:not(:only-child) {
        flex-basis: 100% !important;
        flex-grow: 1;
    }
}

/*@media (min-width: 600px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 50%;
        flex-grow: 1;
    }
}*/

/* embedded posts in site */
.ivycat-post {
    border: 1px solid #71b220;/* früher lila */
    padding: 10px;
    margin-bottom: 20px;
    overflow: hidden; /* for float:left images; */
}

/* hide content of slider when too small */
@media screen and (max-width: 768px) {
    #slider .inner_carousel p, #slider .inner_carousel blockquote {
        display: none;
    }

    #slider .carousel-caption {
        padding: 0;
        top: 50%;
        align-items: center;
        display: flex;
    }
}   

/* Quote style */

blockquote.wp-block-quote {
    border-left: 5px solid #71b220;/* früher lila */
    padding-left: 10px;
}

blockquote.wp-block-quote p {
    font-size: 16px;
    font-weight: normal;
	font-style: italic;
    /*color: #71b220;*/ /* früher lila */
    color: black;
    margin-bottom: 5px;
}

blockquote.wp-block-quote cite {
    /*font-style: italic;*/
	font-style: normal;
	font-size: 12px;
    color: #424242;/* früher hell lila */;
}

/* Quote for carousel */

.carousel-caption blockquote {
    text-align: right;
    border-left: none;
    border-right: 5px solid #71b220;
    padding-left: 0;
    padding-right: 10px;
}

.carousel-caption blockquote p {
    font-size: 16px !important;
    font-weight: bold !important;
}

.carousel-caption blockquote cite {
    color: #fff;
}

/* END Quote */

/* TABS */

.responsive-tabs ul.responsive-tabs__list {
    margin: 0 !important;
}

/*.responsive-tabs .responsive-tabs__list__item--active {
    border: 1px solid #71b220 !important;
    background-color: #fff !important;
    color: #fff !important;
}*/

.responsive-tabs .responsive-tabs__list__item {
    margin: 0 !important;
}

/*.responsive-tabs .responsive-tabs__panel {
    border: 1px solid #71b220 !important;
}*/

@media (max-width: 767px) {
    /*.responsive-tabs .responsive-tabs__heading--active, .responsive-tabs .responsive-tabs__heading--active:hover {
        background: #71b220 !important;
        color: #fff;
    }
    .responsive-tabs .responsive-tabs__heading {
        border: 1px solid #71b220 !important;
        border-top: none !important;
    }
    .responsive-tabs .responsive-tabs__panel {
        border: 1px solid #71b220 !important;
    }*/
    figure {
        float: none !important;
    }
}

/* TABS END */

.custom-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex {
    /* helper class */
    display: flex;
}

#content li {
    /* same text as paragraphs */
    color: #424242;
    line-height: 2;
    font-size: 15px;
    font-weight: normal;
}

.wp-block-image + * {
    /* fix ugly layout with float: left; */
    /* breaks some other layout things... */
    /* overflow: hidden; */
}

/*.wp-block-image {
    overflow: unset !important;
}*/

/* do not show empty paragraphs */
p:empty {
    display: none;
}

.widget-area > .row {
    width: 100%;
    height: 100%;
}

#termin-container {
    /* für fadeIn effekt */
    transition: all 0.5s ease-in-out;
}

#sideBarTermine {
    transition: all 0.5s ease-in-out;
}

/* Textfarben Gutenberg */

.has-primary-color {
    color: #71b220;
}
.has-light-gray-color {
    color: #F5F5F6
}
.has-dark-gray-color {
    color: #333;
}
.has-red-color {
    color: #e71642;
}
.has-green-color {
    color: #00973d;
}
.has-yellow-color {
    color: #f9b518;
}

/* Hintergrundfarben Gutenberg */

.has-primary-background-color {
    background-color: #71b220;
}
.has-light-gray-background-color {
    background-color: #F5F5F6;
}
.has-dark-gray-background-color {
    background-color: #333;
}
.has-red-background-color {
    background-color: #e71642;
}
.has-green-background-color {
    background-color: #00973d;
}
.has-yellow-background-color {
    background-color: #f9b518;
}

/*.wp-block-file {
    position: relative;
}

.wp-block-file .wp-block-file__button {
    display: none;
}

.wp-block-file a:after {
    font-family: 'Font Awesome\ 5 Free';
    font-size: 18px;
    position: absolute;
    content: "\f56d";
    margin-left: 10px;
    color: #333;
    font-weight: 900;
}*/

.taxonomy-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

.taxonomy-cloud a {
    display: inline-block;
    margin: 0.125rem;
    padding: 0.4375rem;
    background: rgb(241, 241, 241);
    border: 1px solid rgb(4, 172, 228);
    transition: all 0.1s ease-in-out;
}

.taxonomy-cloud a:hover,
.taxonomy-cloud a:focus {
    background: rgb(4, 172, 228);
    color: white;
    transform: scale(1.1);
}

.encyclopedia.search-form .screen-reader-text {
    display: none;
}

@media print {
    header, footer, nav.post-navigation, .encyclopedia-prefix-filters {
        display: none;
    }
}