/*======================================================================
/* Main Styles
/*====================================================================*/

body {
	font-size: 16px !important;
	padding-bottom: 225px; /* Counters fixed footer. */
	font-family: 'Affogato-Regular';
	background: #eee url(../images/seigaiha.png);
}

p {
	margin-bottom: 20px;
	line-height: 27px;
}

a {
	color: #52653f;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	border-bottom: 2px solid #52653f;
	}

h2, h3 {
	font-size: 21px;
	margin-bottom: 30px;
	font-family: 'Affogato-Medium';
}

/*======================================================================
/* Header Styles
/*====================================================================*/

header {
	z-index: 2;
}

header h1 {
	padding-top: 55px;
	text-align: center;
}

header h1 a {
	position: relative;
}

header h1 a span {
	position: absolute;
	top: -50px;
	right: 65px;
	font-size: 11px;
}
	
header h1 a:hover {
	border-bottom: none;
}

header p {
	text-align: center;
	font-style: italic;
	}

/*======================================================================
/* Nav Styles
/*====================================================================*/

nav {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: #52653f;
	height: 50px;
	font-family: 'Affogato-Medium';
	text-align: center;
}

nav ul li, nav ul li a {
	display: inline-block;
	color: #fff;
	text-decoration: none;
}

nav ul li a {
	font-weight: normal;
	line-height: 50px;
	padding: 0 20px;
}

nav ul li a:hover {
	border-bottom: none;
	background: rgba(255,255,255, 0.3);
}

/*======================================================================
/* Content Styles
/*====================================================================*/

#imagestrip {
	width: 100%;
	height: 630px;
	margin-bottom: 15px;
	background: #ddd;
}

 /* Start classes for #imagestrip. */
.home {
	background: url(../images/homepage.jpg) no-repeat center !important;
}
.about {
	background: url(../images/about.jpg) no-repeat center !important;
}
.services {
	background: url(../images/services.jpg) no-repeat center !important;
}
.faq {
	background: url(../images/faqs.jpg) no-repeat center !important;
}
.contact {
	background: url(../images/contact.jpg) no-repeat center !important;
}

/* End classes. */

#columns {
	position: relative;
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
	padding: 3vh 0;
}

#columns div {
	position: relative;
	float: left;
	width: 200px;
	height: 410px;
	padding: 0 20px 25px;
	text-align: left;
}

#columns h2 {
	font-size: 16px;
	padding: 10px 0 0;
	text-align: center;
}

#columns p:last-of-type {
	position: absolute;
	bottom: 0;
	right: 0;
	text-align: right;
}

#columns ul {
	margin: 15px 0 15px 65px;
}

#columns ul li {
	line-height: 33px;
}

#columns span {
	display: block;
	width: 150px;
	line-height: 150px;
	margin: 0 auto 20px;
	color: #fff;
	text-align: center;
}

#columns div h2 {
	margin-bottom: 15px;
	}

#columns span a {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: red;
	color: transparent;
}

#columns span a:hover {
	border-bottom: none;
	}

#columns div:nth-child(1) span a {
	background: url(../images/testimonials.jpg) no-repeat center;
}

#columns div:nth-child(2) span a {
	background: url(../images/about_thumb.jpg) no-repeat center;
}

#columns div:nth-child(3) span a {
	background: url(../images/newspaper-866520_640.jpg) no-repeat center;
}

#columns div:nth-child(4) span a {
	background: url(../images/question-1846784_640.jpg) no-repeat center;
}

#columns div#main {
	float: none;
	width: auto;
	height: auto;
	clear: both;
	padding-top: 25px;
	border-top: 1px solid #ccc;
}

#columns div#main h2 {
	padding: 5px 0;
	text-align: left;
}

#columns div#main p:last-of-type {
	position: static;
	text-align: left;
}

#columns ul#affiliates {
	margin: 0;
	text-align: center;
}

#columns ul#affiliates li {
	display: inline-block;
	width: 200px;
	margin-right: 15px;
}

#columns ul#affiliates li:last-child {
	margin-right: 0;
}

#columns ul#affiliates li a:hover {
	outline: 2px solid rgba(0,0,0, 0.15);
}

#columns ol {
	margin-left: 80px;
	line-height: 30px;
}

#columns ol li {
	margin-bottom: 20px;
}

#columns div#accordion, #columns div#accordion div {
	float: none;
	width: auto;
	height: auto;
	padding: 0;
}

#columns div#accordion div {
	display: none;
}

#columns div#accordion h2 {
	cursor: pointer;
	padding-left: 7px;
	border-left: 5px solid #52653f;
}

#columns div#aboutImage {
	float: right;
	width: 280px;
	height: auto;
	margin: 0 -15px 15px 20px;
	padding: 0;
}

#columns div#main div#aboutImage p:last-of-type {
	margin-bottom: 0;
	margin-left: 0;
	color: #999;
	font-style: italic;
	font-size: 14px;
	text-align: center;
	}

#columns iframe {
	float: left;
	width: 400px;
	margin-bottom: 20px;
	margin-right: 25px;
	border: 1px solid red;
}

#columns iframe:last-of-type {
	float: right;
	margin-right: 0;
	border: 1px solid red;
}

#columns div#location1, #columns div#location2 {
	width: auto;
	height: auto;
}

#columns div#location1 h3, #columns div#location2 h3 {
	margin-bottom: 20px;
}

/*======================================================================
/* Sidebar Styles
/*====================================================================*/

#columns div.sidebarSupport { /* #mainbut the class is added for secondary pages that require sidebar support. Overrides padding, etc. */
	height: 100%;
	padding: 0;
	padding-right: 350px;
}

aside#sidebar {
	position: absolute;
	top: 0;
	right: 0;
	width: 270px;
	padding: 0 15px;
	text-align: left;
	background: #eee;
}

aside#sidebar h2 {
	margin-top: 15px;
}

aside#sidebar a {
	position: relative;
}

#columns aside#sidebar a span {
	position: absolute;
	display: inline;
	top: -50px;
	right: -240px;
	width: auto;
	line-height: inherit;
	margin: 0;
	font-size: 11px;
	color: #52653f;
	font-weight: bold;
	text-decoration: none;
}

aside#sidebar h2, aside#sidebar p {
	text-align: center !important;
}

aside#sidebar img {
	display: block;
	width: 280px;
	margin: 0 auto;
}

/*======================================================================
/* Form Styles
/*====================================================================*/

form input[type='text'], form input[type='email'], form input[type='phone'] {
	padding: 7px 15px;
}

form input[type='submit'] {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 7px 0;
}

form textarea {
	width: 100%;
	height: 110px;
	overflow: scroll;
}

form label {
	line-height: 33px;
}

#columns div#main form#mainContact {
	clear: both;
	}

#columns div#main form#mainContact div input[type='text'], #columns div#main form#mainContact div input[type='email'], #columns div#main form#mainContact div input[type='phone'] {
	float: right;
}

#columns div#main form#mainContact input[type='submit'] {
	width: 200px;
	margin-left: auto;
	margin-right: auto;
}

#columns div#main form#mainContact div {
	position: static;
	float: none;
	width: 500px;
	height: auto;
	padding: 0;
}

/*======================================================================
/* Footer Styles
/*====================================================================*/

footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	clear: both;
	color: #ccc;
	background: #222;
}

footer * {
	margin: 0;
	line-height: 55px;
}

footer p:first-of-type {
	float: left;
	padding-left: 100px;
}

footer p:last-of-type {
	float: right;
	padding-right: 100px;
	font-size: 14px;
}

footer a {
	color: #ccc;
	text-decoration: none;
}

footer a span {
	color: #67dc98;
	font-family: 'Affogato-Medium';
}

/*======================================================================
/* Media queries
/*====================================================================*/