/* Fonts */

@font-face {
	font-family:'titillium-semiboldupright';
	src: url('../fonts/titillium-semiboldupright-webfont.eot');
	src: url('../fonts/titillium-semiboldupright-webfont.eot?#iefix') format('embedded-opentype'),
		url('../fonts/titillium-semiboldupright-webfont.woff') format('woff'),
		url('../fonts/titillium-semiboldupright-webfont.ttf') format('truetype'),
		url('../fonts/titillium-semiboldupright-webfont.svg') format('svg');
	font-weight: 600;
	font-style: normal;
	font-stretch: normal;
	unicode-range: U+0020-F003;
}

.into-menu {
    display: none;
}

body {
    background-color: #fff;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

main {
    font-size: 1.05em;
}

.wrap {
    min-height: 100%;
    padding: 98px 0 150px;
    position: relative;
}

.home {
    padding-top: 298px;
}
.container-fluid {
    max-width: 1000px;
}

/* Header */

header {
    background-color: #036;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    box-shadow: 0px 0px 4px #036;
}

header a:hover, header a:focus {
    text-decoration: none;
}

.head a {
    text-decoration: none;
}

.head {
    background-color: #fff;
    background-color: rgba(255,255,255,0.85);
    padding: 6px 0 0;
    position: relative;
}
.head img {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 80px;
}

.head strong {
	font-size: 29px;
	color: #036;
	margin: 0 0 0 120px;
	z-index: 10000;
	position: relative;
	font-family: 'titillium-semiboldupright';
}

.head .search-sm-container {
    position: absolute;
    top: 14px;
    right: 20px; /* Abstand vom rechten Rand */
}

.head .search-sm-container .search {
    display: inline-block;
/*    position: absolute;
    top: 14px;
    right: 14px; */
}

.head .search-sm-container .sm {
    display: inline-block;
    margin-left: 10px; /* Abstand zur Suchbox */
    vertical-align: middle;
}

.search input[type="text"] {
    border: 1px solid #AAA;
    color: #000;
    padding: 2px 15px;
    width: 200px;
    border-radius: 15px;
}
.search button[type="submit"] {
    background: none;
    border: none;
}
.search button[type="submit"]:hover {
    cursor: pointer;
}
.caroufredsel_wrapper {
    position: absolute !important;
    top: 0;
}

#slideshow {
	height: 200px;
	width: 100%;
	background-color: #000;
	top: 97px;
	position: absolute;
}
.caroufredsel_wrapper #slideshow {
    position: relative;
}
#slideshow img {
    display: none;
}
header #cssmenu {
    margin: 10px 0 0 120px;
    z-index: 10000;
    max-width: calc(100% - 120px);
}

.smartphone {
    display: none;
}

@media (max-width: 822px) { 
 /* 767px */   
    .caroufredsel_wrapper {
        display: none;
    }
    .wrap, .home {
        padding-top: 40px;
    }
    .head {
        padding: 0;
        background-color: #036;
    }
    .head .search {
        display: none;
    }
    #cssmenu #menu-button {
    	font-size: 17px;
    	padding: 12px 17px 15px 10px;
    	white-space: nowrap;
    	overflow: hidden;
    }
    
    .head strong {
        display: none;
    }
    
    .head img {
    	top: 5px;
    	left: 15px;
    	height: 50px;
    	width: auto;
    }
    
    header #cssmenu {
        margin: 0;
        width: 100%;
        margin: 0 0 0 50px;
        max-width: calc(100% - 50px);
    }
}

/* Footer */
footer {
    padding: 10px 0;
    width: 100%;
    text-align: center;
    background-color: #036;
    color: #fff;
    position: absolute;
    bottom: 0;
}
footer a {
    color: #fff;
    font-weight: 600;
}
footer a:hover, footer a:focus {
    color: #fff;
}

/* Content */

h1 {
    font-family: "titillium-semiboldupright";
    font-size: 1.4rem;
    margin: 30px -15px 20px;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    background-color: #036;
    border-radius: 50px;
}

@media (max-width: 1200px) { 
    h1 {
        margin: 30px 0 20px;
    }
}

h2 {
    font-family: 'titillium-semiboldupright';
    color: #036;
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

h3 {
    font-family: 'titillium-semiboldupright';
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}


main img {
    max-width: 100%;
    border-radius: 10px;
}

main strong {
    font-weight: 600;
}

.imglist {
    display: inline-block;
    margin: 0 10px 10px 0;
}

.text-image {
    float: right;
    margin: 7px 0 20px 25px;
    max-width: 50%;
}

.image-copyright {
    font-size: 14px;
    text-align: right;
    font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    color: #999;
    padding-top: 5px;
}

@media (max-width: 822px) { 
    .text-image {
        float: none;
        margin: 0;
        max-width: 100%;
    }
}

.subnav {
    padding-left: 0;
}


main a {
    color: #036;
    text-decoration: underline;
}
main a:hover, main a:focus {
    color: #036;
    text-decoration: none;
}

main ul {
    margin: 20px 20px;
    padding: 0;
    list-style-image: url("../layout/note.gif");
}

main ul li {
    margin: 15px 5px;
    padding: 0;
}

main xiframe {
    border: none;
    width: 100%;
   /*height: 200px; */
}

.big_iframe {
    border: none;
    width: 100%;
   height: 900px; 
}

main .embed-responsive {
    max-width: 800px;
}

main p img {
    margin: 5px 0;
}
.subtitle {
    margin-top: -1rem;
}

.person {
    padding-bottom: 10px;
}
.person h3 {
    margin: 1rem 0 0.5rem;
}

.kalender {
    border: 2px solid rgba(0,51,102,0.1);
    margin: .5rem 0 1rem;
}

.kalender-datum {
    background-color: rgba(0,51,102,0.1);
}

.kalender p {
    margin-bottom: 10px;
}
.kalender-datum, .kalender-text {
   padding: 10px 15px 7px;
}

/* Boxen */

.grid {
    margin: 20px 0;
}

.grid-item {
    padding: 0 1rem 1rem 0;
    
}

@media (max-width: 575px) { 
    .grid-item  {
        padding: 0 0 1rem;
    }
}


.box {
    border: 2px solid rgba(0,51,102,0.5);
    color: #000;
    padding: 10px 15px 35px;
    position: relative;
    background-image: url("../layout/box.jpg");
    background-position: center;
}

.box .row {
    margin: 0;
}
.box .fa {
    width: 17px;
    text-align: center;
}
.box .button {
    width: 100%;
    background-color: #f9b200;
    display: block;
    bottom: 0;
    color: #000;
    position: absolute;
    margin: 0 -15px;
    padding: 5px 15px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    border-top: 1px solid rgba(0,51,102,0.3);
    font-size: 1rem;
}
.plakat {
    padding: 0 !important;
}
.plakat img {
    max-width: 100%;
    border-radius: 0;
}
.plakat .button {
    margin: 0;
    position: relative;
}
.box a {
    text-decoration: none;
}
.box a:hover {
    text-decoration: underline;
}
.box .button:hover {
    background-color: #036;
    text-decoration: none;
    color: #fff;
}
.box h2 {
    margin-top: 0;
}
.box ul {
    list-style-type: none;
    margin: 25px -15px 0;
    padding: 0;
}
.box ul li {
    display: block;
    margin: 0;
    border-top: 1px solid rgba(0,51,102,0.3);
}
main .box-link {
    padding: 7px 15px 10px;
    text-decoration: none;
    display: block;
}

main .box-link:hover {
    text-decoration: none;
    background-color: #fff;
    background-color: rgba(255,255,255,0.5);
}

.box .datum {
    background-color: #fff;
    background-color: rgba(255,255,255,0.8);
    padding: 7px 0;
}
.box .monat, .box .tag {
    display: block;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

.box .tag {
    font-size: 130%;
    margin-top: -5px;
}

/* Gallery */

.gallery {
    margin-top: 25px;
}
.gallery a {
    text-decoration: none;
}

.album {
    padding: 15px 15px 1px;
    background-color: rgba(0,51,102,0.1);
    margin: 15px 0;
    border-radius: 5px;
    text-align: center;
}
.album h3 {
    margin: -15px -15px 10px;
    background-color: rgb(0,51,102);
    color: #fff;
    padding: 10px 15px 12px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.album img {
    margin-top: 5px;
    border-radius: 3px;
    border: 1px solid rgba(0,51,102,0.3);
}
.album p {
    margin: 10px 0;
    font-size: 90%;
}

.album h3 a {
    text-decoration: none;
    color: #fff;
}
.album h3 a:hover {
    text-decoration: underline;
}

/* Icons */

a[href*="//"]:not([href*="jugendmusikschule-ditzingen.de"]):not(.no-icon), main a[href$=".pdf"]:not(.no-icon) {
    position:relative;
    padding-left: 1.4rem;
    margin-left: 0.2rem;
}  

a[href*="//"]:not([href*="jugendmusikschule-ditzingen.de"]):not(.no-icon), 
main a[href$=".pdf"]:not(.no-icon),
main a[href$=".doc"]:not(.no-icon),
main a[href$=".docx"]:not(.no-icon) {
    position:relative;
    padding-left: 1.4rem;
    margin-left: 0.2rem;
}

/* PDF-Icon */
main a[href$=".pdf"]:not(.no-icon):before {
    content: "\f1c1"; /* FontAwesome Icon für PDF */
    font-family: FontAwesome;
    left: 0;
    position:absolute;
    top:0;
}

/* DOC/DOCX-Icon */
main a[href$=".doc"]:not(.no-icon):before,
main a[href$=".docx"]:not(.no-icon):before {
    content: "\f1c2"; /* FontAwesome Icon für DOC */
    font-family: FontAwesome;
    left: 0;
    position:absolute;
    top:0;
}
