@charset "UTF-8";

/* =========================================================
   Layout 3 Columns
========================================================= */

/* body
----------------------------------------------- */
body {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0; 
}

/* container
----------------------------------------------- */
#container {
  width: 100%;
 /*  max-width: 1200px; */
  min-width: 1200px;
  margin: 0 auto;
  position: relative;
  
  
  /* background: #f7f7f5; */
  /* background: #fff; */
  
 /*  background: #f1f2eb; */
 overflow: hidden;
 /* background: url(../images/wave.svg) no-repeat;
 background-size: 2000px 243px;
 background-position: top center; */
 	/* z-index: -1; */  
}

#container:after {
    background-image: url(../images/wave.png) ;
    background-repeat: repeat-x;
    background-size: 1000px 200px;
    top: 0;
    content: "";
    display: block;
    height: 200px;
    left: 0;
    position: absolute;
    width: 100%;
	
	
	z-index: -1;
}

* html #container {
  width:expression(document.documentElement.clientWidth < 802? "800px" : document.documentElement.clientWidth > 1202? "1200px" : "auto");
}

/* header
----------------------------------------------- */
#header {
  clear: both;
}
#headerContainer {
  padding: 0 10px;
}

/* banner
----------------------------------------------- */
#banner {
  clear: both;
  margin-bottom: 7px;
}
#bannerContainer {
  padding: 0 10px;
}

/* navi
----------------------------------------------- */
#navi {
  clear: both;
}
#naviContainer {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    padding: 0 10px;
	box-sizing: border-box;
}

/* main
----------------------------------------------- */
#main {
  
  clear: both;
  margin-top: 10px;
  /* padding: 0 10px; */
  
  
  margin-left: auto;
  margin-right: auto;
  /* max-width: 1000px; */
  max-width: 1200px;
  width: 100%;
  
  padding-bottom: 20px;
}
#main:after {
  content: "";
  clear: both;
  height: 0;
  display: block;
  visibility: hidden;
}

/* wrapper
----------------------------------------------- */
#wrapper {
  float: left;
  clear: both;
  width: 100%;
  margin: 0 -190px 30px 0;
}

/* content(center column)
----------------------------------------------- */
#content {
  float: right;
  width: 100%;
  margin-left: -180px;
}
#contentContainer {
  margin-right: 180px;
  margin-left: 180px;
  
  background: #fff;
  padding: 1em;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid #ccc;	
}

/* menu(left column)
----------------------------------------------- */
#menu {
  float: left;
  margin: 0;
  width: 170px;
}

/* links(right column)
----------------------------------------------- */
#links {
  float: right;
  width: 170px;
  margin: 0;
}

/* footer
----------------------------------------------- */
#footer {
  clear: both;
  width: 100%;
  
 /*  background: #444; */
}
#footerContainer {
  padding: 30px 0 0;
  position: relative;
}

#footerContainer:after {
    background-image: url(../images/wave_bottom.png) ;
    background-repeat: repeat-x;
    background-size: 1000px 200px;
    bottom: 0;
    content: "";
    display: block;
    height: 200px;
    left: 0;
    position: absolute;
    width: 100%;
	z-index: -1;
}


/* pieces
----------------------------------------------- */
#main .pieceSeparator {
  margin: 10px 0;
}