@charset "utf-8";
/* CSS Document */

@font-face {
	font-family: Modern;
	src: url(fonts/modernpics-webfont.ttf),url(fonts/modernpics-webfont.eot),url(fonts/modernpics-webfont.svg),url(fonts/modernpics-webfont.woff);
}
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
	margin: 0;
	height: 100%;
	background-image: url(../images/back1S.gif);
	background-attachment: fixed;
	background-size: cover;
	font-family: Arial, Helvetica, "sans-serif";
	line-height: 1.5em;
}
a {color: darkblue;}
h1, h2 {
	margin: 0;
	padding: .1em 0;
	font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
	text-align: center;
	color: darkblue;
}
.clear {clear:both}

/** stick footer **/
#wrap {
  min-height: 100%;
  margin-bottom: -470px; 
}
#wrap:after {
  content: "";
  display: block;
}
#footer {
    background: gray;
	border-top: 2px solid darkgray;
}
#footer, #wrap:after {
	height: 470px;
}

main {padding-top: 2.5em}

/** navigation **/
.header {
  background-color: #fff;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  z-index: 3;
}
.header img {
	margin-top: .3em;
	width: auto;
	height: 25px;
}
.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}
.header li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
}
.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: 10px 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;
}

/** Page ayout **/

.content {
	width: 100%;
	padding: 2em;
	background-color: #fff;
}
.intro {
	width: 100%;
	margin: 1em auto;
}
.contentL {
	float: none;
	width: 100%;
	margin: 1em 1em 1em 0;
	text-align: center;
}
.contentL img {
	width: 100%;
	border: 1px solid black;
	border-radius: 10px;
}
.contentR {
	float: none;
	width: 100%;
}

/**** FOOTER ****/

#footer .content {
	margin-top: .5em;
	background:transparent;
	color: white;
	box-shadow: none;
	padding: 0;
}
.icons, .ft-logo, .address {
	float: none;
	width: 100%;
	padding-top: 1em;
	text-align: center;
}
.icons a {
	text-decoration: none;
	color: white;
}
.icon {
	font-family: Modern;
	font-size: 2em;
	vertical-align: middle;
	line-height: 1.5em;
}
.CM {
	width: 100%;
	margin: 2em 0 0 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: white;
	text-decoration: none;
}


@media (min-width: 850px) {
	
	#wrap {
		margin-bottom: -280px;
	}
	#footer, #wrap:after {
		height: 280px;
	}	
	.header li {
    float: left;
  }	
	.header li a {
    padding: 20px 30px;
  }	
	.header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
	.content {
		width: 90%;
		max-width: 950px;
		margin: 0 auto;
		box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
		text-align: center;
	}
	.contentL {
		float:left;
		width: 42%;
	}
	.contentR {
		float: right;
		width: 55%;
		text-align: left;
	}
	#footer .content {
		padding: 1em 0 0 0;
		width: 100%;
	}
	.icons, .ft-logo, .address {
	float: left;
	width: 33.33%;
	border-top: 0;
	}
	.ft-logo {text-align:center;}

}
