@charset "utf-8";
/* CSS Document */

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
	margin: 0;
	height: 100%;
	background: url(../images/back1S.gif);
	background-size: cover;
	font-family: Arial, Helvetica, "sans-serif";
	line-height: 1.5em;
}
#wrap {
  	width: 100%;
	max-width: 900px;
	min-height: 100%;
 	margin: 0 auto -106px auto; 
	background-color: rgb(255,255,255,.8);
	box-shadow: none;
}
#wrap:after {
  content: "";
  display: block;
}
#footer, #wrap:after {
	height: 106px;
}
#footer {
  background: #a9a9a9;
}
.header {
  background-color: #a9a9a9;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  z-index: 3;
}
.header img {
	margin-top: .2em;
	width: auto;
	height: 25px;
}
.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: transparent;
	border-left: none;
}
a.logo {
	color: #333;
	font-style: italic;
	letter-spacing: -1px;
}
a.logo img {display:none}
.header li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
	color: #333;
}
.header li a:first-child {
	border-left: 1px solid #f4f4f4;
}
.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 20px 20px;
  text-decoration: none;
}
	
/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/** LAYOUT **/
main {
	padding: 6em 2em 2em 2em;
}
h1, h2, .logo, .phone, address, .call {font-family: "Palatino Linotype", Palatino, "Times New Roman", "serif"}
h1, h2 {
	margin-bottom: 0;
	padding-bottom: 0;
}
h2 {margin-top: 2em}
.clear {clear:both}
.right, .left {
	float: none;
	width: 100%;
}
.left {line-height: 1.75em;}
figure {text-align:center}
figure img {
	width: 40%;
	min-width: 150px;
	border-radius: 20px;
}
figcaption {
	font-weight: bold;
	font-family: exo, "Helvetica Neue", Arial, "sans-serif";
	font-size: .85em;
	color: #333;
}
a.special {
	display: block;
	width: 100%;
	margin-top: 1.5em;
	padding: 1em;
	text-align: center;
	font-size: 1.15em;
	border: 2px dashed #333;
	border-radius: 10px;
	background-color: #e1e1e1;
	text-decoration: none;
	color: #333;
}
.call {
	margin-top: 2em;
	font-size: 1.15em;
	text-align: center;
}
.phone {
	margin-top: .5em;
	font-size: 2em;
	font-weight: bold;
}
address {
	padding-top: .75em;
	text-align: center;
	font-size: 1.15em;
}
.bull {display:none}
.line2 {display:block}
main .logo {text-align: center;margin-top: 1.5em;}
.CM {
	width: 100%;
	margin: 1em 0;
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
	background-color: rgba(255,255,255,0.1);
	text-align: center;
	font-family: Arial, Helvetica, "sans-serif";
}
.CM img {
	position: relative;
	top: .4em;
	border:0
}
.CM a {
	color: #333;
	text-decoration: none;
}
#footer .spacer {
	height: .1em;
}
@media (min-width: 850px) {
	#wrap {
		width: 90%;
		box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
	}
	.header ul {border-left: 1px solid #f4f4f4;}  
	.header li {
		float: left;
	  }
	  .header li a {
		padding: 20px 30px;
	  }
	  .header .menu {
		clear: none;
		float: right;
		max-height: none;
	  }
	  .header .menu-icon {
		display: none;
	  }
	.header .logo {padding: 10px 20px;}
	a.logo img {display: inline-block}
	.right {float: right;width: 40%}
	.left {float:left;width: 60%;padding-right: 2em}
	figure img {width: 100%;}
	.bull, .line2 {display: inline-block}
}
