       :root {
            --blau: #27368d;
            --schwarz: #222222;
            --weiss: #dddddd;
            --hellbraun: #eae2db;

            --kachelbreite: 350px;
        }

        *,
        *:before,
        *:after {
            box-sizing: inherit;
        }

        html {
            box-sizing: border-box; /* border-box box model um padding und border den elementen geben zu können, ohne ihre grösse zu verändern */
            font-family: 'Josefin Sans', sans-serif;
            color: #222222;
        }

		#schulthesskerzen-frontpage {
            background-color: var(--hellbraun);
			font-size: 20px;
            font-weight: 300;
            text-align: center; /* versuche es einmal hier global zu setzen */
            line-height:1.2em;
		}

        html, body, h1, h3, h4, h5, h6 {
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none;
        }   

        h2 {
            font-family: 'Josefin Slab', serif;
            font-size: 30px;
        }
        
        .kachel-small {
            font-size: 18px;
        }

        q {
            quotes: "“" "„" "«" "»" "”" "”";
        }
        
        q:before {
            content: open-quote;
        }
        
        q:after {
            content: close-quote;
        }

        /* --------------------------- kacheln */
        #kacheln {
            padding: 60px 0 40px 0;
            background-color: #eae2db;
        }

        .kacheln-grid {
            display: grid;
            grid-gap: 20px;
            grid-template-columns: repeat(4, 1fr);
            max-width: 1080px;
            margin: 0 auto;
        }

        .item {
            min-width: 255px;
            height: 350px;
            background-color: white;
            position: relative;
        }
        .item a {
            color: white;
        }
        .kachel-1x.darkfontcolor a, .kachel-2x.darkfontcolor a {
        	color: #222222;
        }
        
        .item.kachel-1x.darkfontcolor q, .item.kachel-2x.darkfontcolor .big {
            color: #27368d !important;
        }
        
        .item a:hover, .item a:visited, .item a:focus {
            color: #dddddd;
        }
        .item .kachel-small {
		    text-align:center;
		    margin: auto;
		    position: absolute;
		    left: 0;
		    bottom: 0;
		    right: 0;
		    top: 175px;
        }
        .item .kachel-title { /* entry-title */
            font-family: 'Josefin Slab', serif;
            font-size: 30px;
            line-height: 1.1em;
		    text-align:center;
		    margin: auto;
		    position: absolute;
		    left: 0;
		    bottom: 0;
		    right: 0;
		    top: 240px;
		    
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;		    
        }
        .item .entry-content p { /* entry-content */
            line-height: .9em;
            position: absolute;
            top: 77%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-width: 200px;
        }
        .item .kachel-meta { /* datumsanzeige */
		    text-align:center;
		    margin: auto;
		    position: absolute;
		    left: 0;
		    bottom: 0;
		    right: 0;
		    top: 145px;
        }
        .item img {
            width: 100%;
        }

        .imagecontainer {
            height: 175px;
            position: relative;
            overflow: hidden;
        }

        .imagecontainer img {
            width: 100%;
            margin: auto;
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
        }

        /* ------------------------------ kachel */
        .kachel a {
            color:#222222;
        }
        .kachel a:hover, .kachel a:visited, .kachel a:focus {
            color:#27368d;
        }


        /* --------------------------- kachel-2x */
        .kachel-2x {
            grid-column: span 2;
            color: var(--weiss);
        }
        .kachel-2x img {
            object-fit: cover;
            object-position: center;
            height: 100%;
            width: 100%;
        }
        .kachel-2x .imagecontainer {
            height:350px;
        }
        .kachel-2x .textcontainer {
		    text-align:center;
            display: table;
            width:100%;
            height:100%;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }
        .kachel-2x .textholder {
        	display: table-cell;
        	vertical-align: middle;
        	text-align:center;
        	max-width:530px;
		}
		.kachel-2x .textholder.middle {
        	vertical-align: middle;
		}
		.kachel-2x .textholder.top {
        	vertical-align: top;
			position: relative;
    		top: 10px;
		}
		.kachel-2x .small {
            font-family: 'Josefin Slab', serif;
			display:block;
			font-size:18px;
            text-shadow: 0 2px 0 rgba(0, 0, 0, 0.07);
		}
		.kachel-2x .big {
            font-family: 'Josefin Slab', serif;
			display:block;
			font-size:30px;
			line-height:93px;
			hyphens: auto;
		}
        
        /* --------------------------- item2 */

        /* --------------------------- item3 */
        .clip-circle50 {
            clip-path: circle(50px at center);
        }

        .clip-circle70 {
            clip-path: circle(70px at center);
        }

        /* --------------------------- item4 */
        .kachel-1x {
            color: white;
        }

        .kachel-1x .kachel-small {
		    text-align:center;
		    margin: auto;
		    position: absolute;
		    left: 0;
		    bottom: 0;
		    right: 0;
		    top: 324px;
        }

        .kachel-1x .kachel-title {
		    text-align:center;
            display: table;
            width:100%;
            height:100%;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }
        
        .kachel-1x .kachel-title q {
        	display: table-cell;
        	vertical-align: middle;
        }
        .kachel-1x .kachel-title q.top {
        	vertical-align: top;
			position: relative;
    		top: 30px;
        }
        .kachel-1x .kachel-title q.middle {
        	vertical-align: middle;
        }

        .kachel-1x img {
            object-fit: cover;
            object-position: center;
            height: 100%;
            width: 100%;
        }
        .kachel-1x .imagecontainer {
            height:350px;
        }
        /* -------------- Über uns / Kontakt */
        #ueberuns, #kontakt {
            background-color: white;
            padding: 30px 20px;
        }

        #ueberuns p, #kontakt p {
            max-width: 768px;
            margin: 0 auto;
			margin: 0 auto 1.41575em auto;
        }

        /* --------------------------- team */
        #team {
            padding: 60px 0 40px 0;
            background-color: #eae2db;
        }
        
        .team-grid {
            display: grid;
            grid-gap: 1px;
            grid-template-columns: repeat(4, 1fr);
            max-width: 1100px;
            margin: 0 auto;
        }

        .team-grid {
            display: grid;
            grid-gap: 20px;
            grid-template-columns: repeat(4, 1fr);
            max-width: 1080px;
            margin: 0 auto;
        }

        .member-position {
            display:none;
        }

        .member-thumb {
            cursor: pointer;
        }

        /* ---------------------------- karte */
        #karte {
            max-height:450px;
        }
        
        @media screen and (min-width: 1450px) {
        ._kacheln-grid {
	            grid-template-columns: repeat(5, 1fr);
    	        max-width: 1355px;
        	}
		}

        @media screen and (min-width: 1820px) {
        ._kacheln-grid {
	            grid-template-columns: repeat(6, 1fr);
    	        max-width: 1630px;
        	}
		}

        @media screen and (max-width: 1080px) {
            .team-grid {
                grid-template-columns: repeat(3, 1fr);
				max-width: 810px;
            }
            .kacheln-grid {
                grid-template-columns: repeat(3, 1fr);
                max-width: 805px;
            }
        }  

        @media screen and (max-width: 810px) {
            .team-grid {
                grid-template-columns: repeat(2, 1fr);       
                max-width: 560px;
            }
            .kacheln-grid {
                grid-template-columns: repeat(2, 1fr);
                max-width: 530px;
            }
        }  

        @media screen and (max-width: 520px) {
            .team-grid {
                grid-template-columns: 1fr;
                max-width: 256px;
            }
            .kacheln-grid {
                grid-template-columns: 1fr;
                max-width: 255px;
            }
            .kachel-2x {
                grid-column: 1;
                color: var(--weiss);
            }
            .kachel-2x img {
                object-fit: cover;
                object-position: center;
                height: 100%;
                width: 100%;
            }
            .kachel-2x .kachel-title {
	            font-size: 65px;
    	        max-width: 510px;
        	}
        }  
        
/* ///////////////////////////////////////////////// STOREFRONT OVERWRITES */

.site-header {
	margin-bottom:0 !important;
}

img {
    border-radius: 0 !important;
}


@media screen and (max-width: 768px) {
	.storefront-handheld-footer-bar {
		border:1px solid red;
		display:none;
	}
}

/* select dropdown */
.custom-select {
  position: relative;
  width: 270px;
}
.custom-select-produkt {
  position: relative;
  width: 190px;
}
.custom-select select, .custom-select-produkt select {
  display: none;
}
.select-selected {
  background-color: #eae2db;
}
/* arrow inside the select element style */
.select-selected:after {
  position: absolute;
  content: "";
  top: 11px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #222222 transparent transparent transparent;
}
/* arrow upwards */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #222222 transparent;
  top: 6px;
}
/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: #222222;
/*  padding: 8px 16px; */
  padding: 4px 16px;
  cursor: pointer;
}
/*style items (options):*/
.select-items {
  position: absolute;
  background-color: #f8f8f8;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}
/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}
.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

a.reset_variations {
	display: none !important;
}

/* end select dropdown */


