html,
button,
input,
select,
textarea {
    color: #222;
	}


html {
	background: #FFF7F0; /* for old browsers */
	border-top: 10px solid #835C39;

	color: #444;
    line-height: 1.4;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Hiragino Sans", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "Helvetica", "Arial", sans-serif;
	}


body {
	height: 100%;
	background-color: #FFF7F0;
	}

header{
	height: 100px;
	text-align: center;
	}


.container {
	position: relative;
	max-width: 90％;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	}

h1{	
	background: -webkit-linear-gradient(180deg, rgb(166, 125, 87), rgb(255, 247, 240));
	background: linear-gradient(180deg, rgb(166, 125, 87), rgb(255, 247, 240));
	}

h2 {
	color: #eee;
	font-size: 150%;
	font-weight: normal;
	line-height: 1.5em;
	
	margin: 2em 2px 1em 2px;
	padding: 10px 15px 10px 15px;
	border-left: 15px solid #3d3898;
	box-shadow: 4px 4px 8px #ddd;

	background: -webkit-linear-gradient(0deg, rgb(102, 112, 160), rgb(73, 91, 136));
	background: linear-gradient(0deg, rgb(102, 112, 160), rgb(73, 91, 136));
	}

h3	{
	color:#05511e;
	font-size: 130%;
	font-weight:normal;
	line-height: 1.4em;
	margin: 3em 0.5em 0em 0.5em;
	border-bottom: 1px solid #05511e;
	}

h4	{
	font-weight: bold;
	font-size: 120%;
	color: #666;
	margin: 3em 0.8em 0 0.8em; 
	letter-spacing: 0.1em;
	}

h5	{
	font-weight: bold;
	font-size: 120%;
	color: #244979;
	padding-bottom: 8px;
	border-bottom: 1px solid #777;
	margin: 3em 0.6em 0em 0.6em;
	padding-left: 0.5em;
	padding-right: 0.5em;
	}


hr.style {
	border: 0;
	height: 1;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
	background: #aaa;
	background-image: linear-gradient(to right, #eee, #aaa, #eee);
	}

a:link	{
	color: #08f;
	text-decoration: none;
	}

a:visited	{
	color: #08f;
	}
a:hover		{
	color: #08f;
	text-decoration: underline;
	}

.textright{
	text-align: right;
	}
.textcenter{
	text-align: center;
	}




#footer {
	color: #fff;
	background-color: #835C39;
	min-height: 50px;
	text-align: center;
	clear: both;
	margin: 2em 0 0 0;
	padding: 1em ;
	}

#footer a	{
	color: #ada;
	}


/* The header and title logo */
#header h1 {
	margin: 0;
	padding: 0;
	}
#title {
	display: block;
	padding-top: 40px;
	padding-bottom: 40px;
	margin-bottom: 30px;
	margin-left: auto;
	margin-right: auto;
	}
	






		

/* For switching between wide and narrow screen */
.largescreeninline{
	display: inline;
	}
.smallscreeninline{
	display: none;
	}


.hide{
	display: none;
	}


/* -------------------- Media Queries -------------------- */

/*** screen width 980px and smaller ***/
@media screen and (max-width: 980px) {

	/* 10px margin added to the width of container makes 980px. */
	.container {
		margin: 0 10px;
		}

	}
/*** screen width 960px END ***/



/*** screen width 667px iPhone 6 and smaller ***/
@media screen and (max-width: 667px) {

	#header img {
		max-width: 90% !important;
		height: auto !important;
		}
	#title {
		padding: 30px 0 10px 0 ;
		}
	
	/* remove float and full width for mobile screen */
		
	.container {
		max-width: 95%;
		margin: 0 auto;
		}
	
	h2 {
		font-size: 140%;
		}
	
	img.wrapright {
		float:none;
		display: block;
	 	margin-left: auto;
    margin-right: auto;
		}
	
	.largescreeninline {
		display: none;
		}
	.smallscreeninline {
		display: inline;
		}

	}

/*** screen width 667px END ***/
