@charset "utf-8";
/* CSS Document */

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

html, body {
	margin: 0;
	height: 100%;
	font-family: Arial, Helvetica, "sans-serif";
	line-height: 1.5em;
}

/** stick footer **/
#wrap {
  min-height: 100%;/* equal to footer height */
  margin-bottom: -105px; 
}
#wrap:after {
  content: "";
  display: block;
}
#footer, #wrap:after {
	height: 105px; /* must be the same height as footer */
}
#footer {
    background: gray;
	border-top: 2px solid darkgray;
}

/** 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;
}

/** layout **/
.cf:before,
.cf:after {
    content:"";
    display:table;
}
.cf:after {
    clear:both;
}
main {
	width: 100%;
	max-width: 1100px;
	padding: 2em;
}
.content {
	position: relative;
	margin-top: 4em;
}

h1 {
	text-transform: uppercase;
	text-align:center;
	font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif"
}
.biz-card {
	background-image: url(../images/businessman2.jpg);
	border: 1px solid #CCC;
}
.biz-card .card {
	width: 86%;
	background-color: white;
	margin: 1em;
	padding: .5em;
	line-height: 1.5em;
	text-align: center;
}
.center {
	text-align: center;
}
.hide {display:none}
#footer a {
	color: white;
	text-decoration: none;
}
.CM {
	width: 100%;
	margin: 1em 0 0 0;
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
	background-color: rgba(255,255,255,0.1);
	text-align: center;
}
.CM img {
	position: relative;
	top: .4em;
	border:0
}
@media (min-width: 440px) {
	.biz-card .card {
		float: right;
		width: 60%;
		border: 1px solid #ccc;
		box-shadow: 2px 2px 2px 0 #aaa; 
	}
}
@media (min-width: 768px) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
	main {
		width: 90%;
		max-width: 1100px;
		margin: 0 auto;
	}
	.clear {clear:both}
	.biz-card .card {
		width: 78%;
	}
	.hide {display:block;}
	.left {
		float: left;
		width: 48%;
	}
	.right {
		float: right;
		width: 48%;
	}
}
@media (min-width: 950px) {
		.biz-card .card {
		width: 60%;
	}
}
