/* josefin-sans-regular - latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../Fonts/josefin-sans-v25-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../Fonts/josefin-sans-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../Fonts/josefin-sans-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../Fonts/josefin-sans-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../Fonts/josefin-sans-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../Fonts/josefin-sans-v25-latin-regular.svg#JosefinSans') format('svg'); /* Legacy iOS */
}
/* josefin-sans-700 - latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../Fonts/josefin-sans-v25-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../Fonts/josefin-sans-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../Fonts/josefin-sans-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../Fonts/josefin-sans-v25-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../Fonts/josefin-sans-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../Fonts/josefin-sans-v25-latin-700.svg#JosefinSans') format('svg'); /* Legacy iOS */
}

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0px;
  margin: 0px;
}

body {
  font-family: "Helvetica Neue", helvetica, sans-serif;
  letter-spacing: 0.5px;
  margin: 0 auto;
}

header {
  width: 100%;
  margin: 0 auto;
}

/********************************************
+******** Masonry ********
********************************************/

.masonry {
  margin: 0 auto;
}

.masonry .item {
  float: left;
  margin-bottom: 28px;
}

.masonry .item:hover a h2,
.masonry .item:hover a h3,
.masonry .item:hover a h4,
.masonry .item:hover a h5 {
  color: #fff;
}

/********************************************
+******** General ********
********************************************/

h1, h2, h3, h4, h5, h6 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: normal;
  color: #807750;
}

h1 {
  font-size: 52px;
  text-align: center;
  margin: 0;
  padding-top: 70px;
}

a, a:hover {
  text-decoration: underline;
  color: #bcb07d;
}

header a {
  color: #807750;
}

header a:hover {
  color: #807750;
}

p {
  font-size: 18px;
  color: #5c522a;
  margin-bottom: 20px !important;
}

p span.highlight {
  color: #cebfa6;
}

p.additional-margin {
  margin-bottom: 50px !important;
}

.wrapper .content ul {
  font-size: 16px;
  font-weight: 200;
  color: #5c522a;
  line-height: 25px;
  letter-spacing: 1px;
  margin: 0;
  padding-left: 30px;
}

/********************************************
+******** Teaser Startseite ********
********************************************/

.kurse,
.malerei,
.kunst {
  position: absolute;
  background: #f9f7ed;
}

.kurse:hover,
.kunst:hover,
.malerei:hover {
  background: #c5bfa6;
}

.kurse:hover .teaser_l,
.kurse:hover .teaser_xs,
.kunst:hover .teaser_l,
.kunst:hover .teaser_s,
.malerei:hover .teaser_l,
.malerei:hover .teaser_m {
  color: #fff;
}

/******** Teaser Startseite Text ********/

.kurse .teaser_l,
.malerei .teaser_l,
.kunst .teaser_l {
  position: absolute;
}

.kurse .teaser_l {
  top: 90px;
  left: 24px;
  font-size: 46px;
}

.malerei .teaser_l {
  margin-top: 79px;
  margin-left: 20px;
}

.kunst .teaser_l {
  top: 91px;
  left: 17px;
}

.teaser_l,
span.teaser_xs,
span.teaser_s,
span.teaser_m {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: normal;
  color: #807750;
  text-transform: uppercase;
  font-size: 48px;
}


span.teaser_xs {
  font-size: 22px;
  position: absolute;
  top: 64px;
  left: 71px;
}

span.teaser_s {
  font-size: 21px;
  position: absolute;
  top: 65px;
  left: 20px;
}

span.teaser_m {
  font-size: 36px;
  position: absolute;
  top: 80px;
  left: 18px;
}

a,
a:hover,
a:visited {
  text-decoration: none;
}

/********************************************
+******** Main Nav ********
********************************************/

header > nav {
  padding-top: 60px;
}

nav {
  padding-bottom: 0;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 24px;
}

nav a {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul.open {
  list-style: none;
  font-weight: bold;
  text-align: center;
  background-color: #f9f7ed;
  margin: 0;
}

ul.open li {
  text-align: left;
  text-decoration: none;
  list-style: none;
  display: inline;
}

ul.open li a {
  display: block;
  padding: 8px 2%;
  text-decoration: none;
  display: inline-block;
  text-decoration: none;
  color: #807750;
  font-weight: lighter; }

ul.open li a:hover {
  background-color: #c5bfa6;
  color: #fff;
}

.anchor-link {
  display: none;
  text-align: right;
  padding: 0 1em 0;
  text-align: center;
  padding: 10px 15px;
  color: #807750;
  background-color: #f9f7ed;
  text-decoration: none;
  margin: 3px;
}

/******** Mobile Nav ********/

@media (max-width: 715px){

.anchor-link {
  display: block;
}

ul.open {
  background-color: #f9f7ed;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 5px;
  width: 100%;
  z-index: 500;
  display: none;
}

.anchor-link:hover:ul.open {
  display: inline;
}

ul.open li {
  display: block;
  list-style: none;
  text-align: center;
}

  ul.open li a {
    display: block;
    padding: 10px 10px;
    border-bottom: 1px solid #bfbba7;
    text-decoration: none;
  }

  ul.open li a:hover {
    background-color: #c5bfa6;
    color: #fff;
  }
}


nav a:hover {
  color: #807750;
  text-decoration: none;
}

nav ul {
  text-align: center;
  /*background-color: #f9f7ed;*/
  margin: 0;
}

.aside nav ul {
  text-align: left;
}

nav ul li {
  text-decoration: none;
  list-style: none;
  display: inline;
}

nav ul li.active .subpoints {
  display: block;
  padding-left: 40px;
}

nav ul li.active .subnav:first-child {
  border-bottom: none;
  background: url(../Images/pfeil02a.png) no-repeat;
}

nav li.active > a{
  background-color: #c5bfa6;
  color: #fff;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
}

.aside nav ul li.subnav {
  border-bottom: 2px solid #fff;
}

nav ul li a {
  display: inline-block;
  padding: 11px 35px;
  color: #807750;
}

nav ul.subpoints li a {
  text-decoration: none;
  color: #c5bfa6;
}

nav ul li ul {
  background-color: #fff;
}

nav ul li > ul li {
  display: list-item;
  list-style-type: disc;
  color: #c5bfa6;
}

nav ul li ul li a {
  font-size: 20px;
}

/*nav ul li ul li a:hover {
  text-decoration: underline;
}*/

.wrapper {
  max-width: 1280px;
  margin: 0 auto;
  margin-top: 90px;
  overflow: hidden;
}

/********************************************
+******** Aside ********
********************************************/

.aside {
  float: left;
  margin-bottom: 40px;
}

.aside nav,
.aside ul {
  padding: 0;
}

.aside nav ul li {
  display: block;
}

.aside ul li {
  position: relative;
}

.aside ul li a {
  padding: 11px 10px;
  padding-left: 0;
  width: 100%;
}

.aside ul li.subnav > a {
  padding: 9px 10px;
  padding-left: 25px;
  width: 100%;
}

.aside ul li.subnav:before {
    content: '';
    position: absolute;
    width: 7px;
    height: 12px;
    left: 10px;
    top: 20px;
    background: url(../Images/pfeil01.png) no-repeat;
}

.aside ul li.subnav.active:before {
    content: '';
    position: absolute;
    width: 7px;
    height: 12px;
    left: 10px;
    top: 20px;
    background: url(../Images/pfeil01a.png) no-repeat;
}

/*.aside ul li.subnav.active:before {
    content: '';
    position: absolute;
    width: 12px;
    height: 7px;
    left: 10px;
    top: 25px;
    background: url(../Images/pfeil02a.png) no-repeat;
} */


.aside nav ul li.active_sub,
.aside nav ul li.active_sub a,
.aside nav ul li.active_sub a:hover,
.aside nav ul li.active_sub a:active,
.aside nav ul li.active_sub a:focus,
.aside nav ul li.active_sub a:visited {
    /*text-decoration: underline;*/
    color: #807750;
}

.aside nav ul li.subnav ul li a:hover:before,
.aside nav ul li.subnav ul li a:active {
    background: url(../Images/pfeil02a.png) no-repeat;
    background-color: #c5bfa6;
}

.aside nav ul li.subnav ul.subpoints li a:hover:before,
.aside nav ul li.subnav ul.subpoints li a:active {
    background-color: transparent;
}

.aside ul li a:hover,
.aside ul li a:focus {
  width: 100%;
}

.aside ul li.subnav a:hover,
.aside ul li.subnav a:focus {
  width: 100%;
  text-decoration: none;
}

.aside ul li a:active:ul {
  visibility: visible;
}

.aside nav ul ul {
  display: none;
}

.aside .subpoints li {
  padding: 8px;
  display: list-item;
  color: #c5bfa6;
}

.aside .subpoints a {
  display: inline;
  color: #c5bfa6;
}

.aside .subpoints a:hover {
  color: #807750;
}

.wrapper aside nav {
  padding-top: 0;
}

/********************************************
+******** Content Folgeseite ********
********************************************/

.content_folge {
  float: left;
  max-width: 750px;
}

.content_folge h2 {
  text-transform: none;
  /*background-color: #f9f7ed;
  padding: 15px 20px;*/
  margin: 0;
  margin-bottom: 20px;
  font-size: 30px;
}

#start {
  overflow: hidden;
}

.fancybox-overlay .fancybox-title > .fancybox-title {
  font-weight: 500;
  font-size: 14px;
}

/********************************************
+******** Masonry Margin Fix Responsive ********
********************************************/

.container {
  width: 1280px;
}

#start .content h2 {
  padding: 0;
  background-color: transparent;
}

#start .content a {
  color: #bcb07d;
  text-decoration: none;
}

.content a {
  color: #bcb07d;
  text-decoration: underline;
}

.content img {
  margin-bottom: 30px;
  max-width: 100%;
}

p {
  font-size: 18px;
  font-weight: 200;
  color: #5c522a;
  line-height: 25px;
  letter-spacing: 1px;
  margin: 0;
}

/********************************************
+******** Accordion ********
********************************************/

.ac-container {
  margin-top: 50px;
  margin-bottom: 130px;
}
.ac-container label {
    padding: 5px 20px;
    position: relative;
    z-index: 20;
    display: block;
    height: 50px;
    cursor: pointer;
    color: #8e8766;
    line-height: 33px;
    border-bottom: 1px solid #bfbba7;
}

.ac-container h3 {
    text-transform: none;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 26px;
    font-weight: bold;
    margin: 0;
    padding-bottom: 40px;
    position: relative;
    z-index: 20;
    display: block;
    height: 30px;
    cursor: pointer;
    color: #8e8766;
    line-height: 33px;
}

.ac-container h4 {
    text-transform: none;
    font-size: 22px;
    margin: 0;
    color: #967f19;
    font-weight: bold;
}

.ac-container .panel-accordion section > h3 {
    margin-top: 20px;
}

.ac-container input:checked + label,
.ac-container input:checked + label:hover{
    color: #8e8765;
}

.ac-container label:before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 0;
    top: 14px;
    background: url(../Images/pfeil01.png) no-repeat;
}

.ac-container input:checked + label:before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 0;
    top: 14px;
    background: url(../Images/pfeil02.png) no-repeat;
}


.ac-container input{
    display: none;
}

.ac-container article {
    margin-top: -1px;
    overflow: hidden;
    height: 0px;
    position: relative;
    z-index: 10;
    transition:
        height 0.3s ease-in-out,
        box-shadow 0.6s linear;
}

.ac-container input:checked ~ article {
    transition:
        height 0.5s ease-in-out,
        box-shadow 0.1s linear;
}

.ac-container article p {
    padding: 20px 0 30px;
}

.ac-container input:checked ~ article.ac {
    height: auto;
}

/********************************************
+******** Footer ********
********************************************/

footer {
  clear: both;
  overflow: hidden;
  border-top: 1px solid #bfbba7;
  margin-top: 130px;
}

footer p {
  padding-top: 20px;
  padding-bottom: 60px;
  padding-right: 15px;
  float: right;
}

footer a,
footer a:hover,
footer a:focus {
  color: #bcb07d;
  text-decoration: underline;
}


/***********     Media Queries Start     *************/


@media all and (min-width: 1280px) {
  #start .content {
    max-width: 1280px;
    margin: 50px auto 0;
  }
  .item {
    width: 190px;
    height: 190px;
  }
  .item img {
    max-width: 100%;
  }

  .item.w2 {
    width:  408px;
  }

  .item.h3 {
    height: 408px;
    }
}

@media all and (max-width: 1279px) and (min-width: 1077px) {
  #start .content {
    max-width: 1077px;
    margin: 50px auto 0;
  }

  .item {
    width: 190px;
    height: 190px;
  }
  .item img {
    max-width: 100%;
  }

  .item.w2 {
    width:  408px;
  }

  .item.h3 {
    height: 408px;
    }

    .masonry {
      width: 1062px;
    }
}

@media all and (max-width: 1076px) and (min-width: 859px) {
  #start .content {
    margin: 50px auto 0;
    max-width: 859px;
  }

  .item {
    width: 190px;
    height: 190px;
  }
  .item img {
    max-width: 100%;
  }

  .item.w2 {
    width:  408px;
  }

  .item.h3 {
    height: 408px;
    }

    .masonry {
      width: 844px;
    }
}

@media all and (max-width: 858px) and (min-width: 641px) {
  #start .content {
    margin: 50px auto 0;
    max-width: 641px;
  }

  .item {
    width: 190px;
    height: 190px;
  }
  .item img {
    max-width: 100%;
  }

  .item.w2 {
    width:  408px;
  }

  .item.h3 {
    height: 408px;
    }

    .masonry {
      width: 626px;
    }
}

@media all and (max-width: 640px) and (min-width: 401px) {
  #start .content {
    max-width: 401px;
    margin: 50px auto 0;
  }

  .grid-sizer {
    width: 178px;
  }

  .item {
    width: 178px;
    height: 178px;
  }
  .item img {
    width: 178px;
    height: 178px;
    float: left;
  }

  .item.w2 {
    width:  178px;
  }

  .item.h3 {
    height: 178px;
    }
/*Teaser Malkurse*/
  span.teaser_xs {
  font-size: 22px;
  position: absolute;
  top: 58px;
  left: 65px;
  }

  .kurse .teaser_l {
  top: 84px;
  left: 21px;
  font-size: 46px;
}

/*Teaser Malerei*/

  span.teaser_m {
  font-size: 36px;
  position: absolute;
  top: 67px;
  left: 9px;
  }

/*Teaser Angewandte Kunst*/
  span.teaser_s {
    font-size: 21px;
    position: absolute;
    top: 60px;
    left: 11px;
  }

  .kunst .teaser_l {
    top: 85px;
    left: 11px;
  }

  .masonry {
  width: 384px;
  }

}

/********************    IPAD    ********************/

@media all and (max-width: 991px) and (min-width: 768px) {

  body h1 {
    font-size: 46px;
  }

  .aside ul li.subnav:first-child:before,
  .aside ul li.subnav:before {
    top: 19px !important;
  }

}

/******************** SMARTPHONE ********************/

@media all and (max-width: 550px) and (min-width: 0px) {
  #start .content {
    max-width: 400px;
    margin: 50px auto 0;
  }

  body h1 {
    font-size: 36px;
  }

  body header > nav {
    padding-top: 50px;
  }

  body .wrapper {
    margin-top: 30px;
  }

  body .wrapper aside {
    margin-bottom: 30px;
  }

  .masonry {
    margin-left: 3%;
    overflow: hidden;
    width: 320px;
    margin: 0 auto;
  }

  .masonry .item {
    width: 135px;
    height: 135px;
    margin-left: 12px;
    margin-right: 12px;
  }
  .masonry .item img {
    width: 135px;
    height: 135px;
  }

  .masonry .w2, .masonry .w3 {
    height: 135px;
  }

  .masonry .item.w2 {
    width:  135px;
  }

  .masonry .item.h3 {
    height: 135px;
    }

  /*Teaser Malkurse*/
  .masonry span.teaser_xs {
    font-size: 18px !important;
    position: absolute;
    top: 45px !important;
    left: 48px !important;
  }

  .masonry .kurse .teaser_l {
    top: 70px !important;
    left: 19px !important;
    font-size: 30px !important;
}

/*Teaser Malerei*/

  .masonry span.teaser_m {
    font-size: 26px !important;
    position: absolute;
    top: 55px !important;
    left: 11px !important;
  }

/*Teaser Angewandte Kunst*/
  .masonry span.teaser_s {
    font-size: 16px !important;
    position: absolute;
    top: 50px !important;
    left: 11px !important;
  }

  .masonry .kunst .teaser_l {
    top: 73px !important;
    left: 10px !important;
    font-size: 36px !important;
  }

  .kurse,
  .malerei,
  .kunst {
    position: relative;
    background: #f9f7ed;
  }

  .fancybox-nav span {
    top: 90%;
  }

  footer {
    padding: 10px 20px;
  }

}

@media all and (max-width: 1021px) and (min-width: 768px) {
  .aside ul li.subnav:before {
    top: -30px;
  }
}

@media all and (max-width: 892px) and (min-width: 768px) {
  .aside ul li.subnav:first-child:before {
    top: -30px;
  }
}


/***********Media Queries Ende*************/
