/******************************************************************************/
/*                                                                            */
/*                       Stylesheet suikou.de / suiko.de                      */
/*                       Copyright 2014 Markus Wendling                       */
/*                          Author: Markus Wendling                           */
/*                                                                            */
/******************************************************************************/

/********************************** IMPORTS ***********************************/
@import url(https://fonts.googleapis.com/css?family=Muli:300);

/********************************** GENERAL ***********************************/
body {
  background: url("../img/background.jpg") top left #f4f0ea;
  font-size: 100.01%;
  font-family: arial, verdana, helvetica, tahoma, droid-sans, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #222;
  margin: 0;
}

#pagewrap {
  /* margin: -323px auto 0; */
  margin: 0 auto;
  max-width: 960px;
  width: 100%;
}
/*
#header:before {
  content: "Shimon Suikou";
  text-indent: -9999px;
  background: url("../img/kanji_shimon-suikou.png") top left no-repeat;
  display: table;
  position: relative;
  width: 68px;
  height: 323px;
  top: 670px;
  left: -120px;
}

#header:after {
  content: "Shougonsai";
  text-indent: -9999px;
  background: url("../img/kanji_shougonsai.png") top left no-repeat;
  display: table;
  position: relative;
  width: 74px;
  height: 244px;
  top: 270px;
  right: -670px;
}
*/

hr.clearer {
  clear: both;
  margin: 0;
  padding: 0;
  border: none;
}

h1#logo {
  text-indent: -999999px;
  display: table;
  background: url("../img/logo.png") top left no-repeat; 
  width: 345px; 
  height: 77px;
  margin: 55px 0 55px;
  float: left;
}

h2 {
  font-family: muli, arial, verdana, helvetica, tahoma, droid-sans, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  text-transform: uppercase;
  font-weight: normal;
  color: #ce261b;
  margin-bottom: 12px;
  margin-top: 0;
}

.csc-header.csc-header-n2 {
  margin-top: 30px;
}

h3 {
  font-family: muli, arial, verdana, helvetica, tahoma, droid-sans, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 17px;
  line-height: 26px;
  color: #222;
  margin-bottom: 5px;
  font-weight: bold;
}

p,
#contentwrap li {
  font-size: 17px;
  line-height: 26px;
  color: #222;
  margin-top: 0;
}

#contentwrap img {
  max-width: 100%;
  height: auto;
}

.active:hover,
.active:focus {
  cursor: default;
}

figure {
  margin: 0;
}

#contentwrap ul {
  margin-top: 0;
  padding: 0;
}

#contentwrap li  {
  background: url("../img/lstpt.jpg") 15px 10px no-repeat #FFF;
  list-style: none;
  margin-bottom: 10px;
  padding-left: 30px;
}

.csc-textpic-caption {
  font-size: 13px;
  margin-bottom: 10px;
}

/********************************* NAVIGATION *********************************/

#header ul {
  padding: 0;
  margin: 0;
}

#header ul li {
  float: left;
  list-style: none;
  font-size: 15px;
}

#metamenu {
  float: right;
}

#metamenu li {
  padding: 30px 0 0;
  margin-left: 10px; 
  color: #c4bdbd;
}

#metamenu li a {
  color: #9b9494;
  font-size: 13px;
}

#metamenu li span {
  color: #c4bdbd;
  font-size: 13px;
}

#metamenu li a:hover,
#metamenu li a:focus {
  color: #827b7b;
  text-decoration: none;
}

#header #mainmenu {
  margin-bottom: 15px;
  clear: both;
  float: left;  
}

#mainmenu li a {
  background: #fff;
  color: #222;
  text-decoration: none;
  font-family: muli, arial, verdana, helvetica, tahoma, droid-sans, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  text-transform: uppercase;
  padding: 10px;  
  display: table;
}

#mainmenu li a:hover,
#mainmenu li a:focus,
#mainmenu li:hover a,
#mainmenu li:focus a,
#mainmenu li.curifsub:hover a,
#mainmenu li.curifsub:focus a,
#mainmenu li.cur:hover a,
#mainmenu li.cur:focus a {
  background: #bb291e;
  color: #fff;
}

#mainmenu li.active span,
#mainmenu li.cur a,
#mainmenu li.curifsub a,
#mainmenu li .menulevel-2 li.cur {
  background: #d13a2f;
  color: #fff;
  font-family: muli, arial, verdana, helvetica, tahoma, droid-sans, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  text-transform: uppercase;
  padding: 10px;
  display: table;
}

#mainmenu li .menulevel-2 {
  position: absolute;
  display: none;
  background: #bb291e;
  color: #fff;
  width: 15.5em;
  z-index: 99;
  font-weight: normal;
  zoom: 1;
  margin-left: 0px;
  box-shadow: none !important;
}

#mainmenu li .menulevel-2 li {
  width: 100%;
}

#mainmenu li .menulevel-2 li a,
#mainmenu li .menulevel-2 li.cur {
  background: #bb291e;
  color: #fff;
  width: 100%;
}

#mainmenu li .menulevel-2 li a:hover,
#mainmenu li .menulevel-2 li a:focus,
#mainmenu li .menulevel-2 li.cur,
#mainmenu li.actifsub a {
  background: #D13A2F;
  color: #fff;
}

#mainmenu li:hover .menulevel-2 {
  display: block; 
}

#header #langmenu {
  float: right;
  padding-top: 25px;
}

#langmenu li a,
#langmenu li span {
  display: table;
  width: 20px;
  height: 13px;
  margin-left: 10px;
}

#langmenu li.active {
  opacity:0.4;
  filter:alpha(opacity=40);
}

/********************************** CONTENT ***********************************/
#contentwrap {
  clear: both;
  background: #fefefd;
  padding: 10px;
}

.cwidth-100 {
  width: 100%;
  float: left;
  margin-bottom: 20px;
}

.cwidth-70 {
  width: 67%;
  float:left;
  margin-right: 25px;
  padding-left: 10px;
}

.cwidth-30 {
  width: 28%;
  float: left;
  padding-right: 10px;
}

.cwidth-30 img {
  width: 100%;       /* NEW: let the image follow the column width */
  max-width: 266px;  /* still keep a max size on big screens if you like */
  height: auto;
}

.cwidth-70 img {
  float: left;
  margin: 0 20px 10px 0;
  padding-top: 7px;
}

.cwidth-70 .csc-textpic-intext-right img {
  float: right;
  margin: 0 20px 10px 0;
  padding-top: 7px;
  max-width: 150px;
  height: auto;
}

.csc-textpic.csc-textpic-intext-right {
  display: table;
}

.csc-textpic.csc-textpic-intext-right .csc-textpic-image {
  height: 115px;
  overflow: hidden;
  display: inline-block;
  float: right;
}

/********************************** FOOTER ************************************/
footer { 
  background: #fff;
  color: #9b9494;
  margin-top: 20px;
  padding: 15px 15px 10px;
  font-size: 13px;
}

span.imprint {
  float: left;
}

span.telfax {
  float: right;
}

/********************************** GALLERY ***********************************/
body .galleria-container {
  background: none repeat scroll 0 0 #FFFFFF;
}

body .galleria-thumb-nav-left, 
body .galleria-thumb-nav-right, 
body .galleria-info-link, 
body .galleria-info-close, 
body .galleria-image-nav-left, 
body .galleria-image-nav-right {
  background-image: url("../img/classic-map.png");
}

body .galleria-lightbox-title {
  visibility: hidden;
}

/******************************* MEDIA QUERIES ********************************/
/*
@media screen and (max-width: 1245px) {
  #pagewrap {
    margin-top: 0;
  }
  #header:before {
    display: none;
  }
  #header:after {
    display: none;
  }
}*/

@media screen and (max-width: 1024px) {
  .cwidth-70 {
    width: 70%;
    margin-right: 2%;
    padding-left: 0;
  }

  .cwidth-30 {
    width: 28%;
    padding-right: 0;
  }
  
  #pagewrap {
	margin: 0 5px;  /* 10px gap left & right */
    width: auto;     /* so width + margins fits into the viewport */
  }
}

/* Keep 2nd + 3rd column side-by-side on small screens in landscape */
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .cwidth-70 {
    float: left;
    width: 72%;      /* a bit more room for main content */
    margin-right: 2%;
    padding-left: 0;
  }

  .cwidth-30 {
    float: left;
    width: 26%;      /* slightly narrower so both fit on one line */
    padding-right: 0;
  }
  
  #pagewrap {
	margin: 0 5px;  /* 10px gap left & right */
    width: auto;     /* so width + margins fits into the viewport */
  }
}