﻿@charset "utf-8";

/*
=======================================
	Reset CSS
=======================================
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, main, menu, nav, section, summary,
time, mark, audio, video{
	margin:0;
	padding:0;
}

article,aside,details,figcaption,figure,
footer,header,main,menu,nav,section{
	display:block;
}

html{
	-webkit-text-size-adjust: 100%;
}

body{
	line-height: 1.5;
	font-size: 14px;
	font-family: sans-serif;
}

img{
	max-width: 100%;
	height: auto;
}

ul,ol{
	list-style-type: none;
}

table {
	border-collapse: collapse; 
	border-spacing: 0;
}

img, input, select, textarea { 
	vertical-align: middle;
}

/* Base */
body{
	background-color: #e6d7c3;
}

h1{
	margin-bottom: 30px;
}

h2{
	padding: 0.2em 0.5em;
	background-color: #15355f;
	color: #fff;
}

a{
	color: #31567e;
}

a:visited{
	color: #562e73;
}

#container{
	max-width: 940px;
	margin: 0 auto;
	padding: 0 10px 10px;
}

.box_shadow{
	margin-bottom: 30px;
	box-shadow: 4px	4px 5px #a68e6f;
}

.text_card{
	max-width: 100%;
	padding: 1em;
	background-color: #fae6b9;
}

/* Global Navigation */
nav{
	margin-bottom: 20px;
}

#gnav a{
	color: #dddddd;
}

#gnav a:visited{
	color: #dddddd;
}

#gnav ul{
	display: flex;
	flex-flow: row wrap;
	justify-content: left;
}

#gnav li{	
	box-sizing: border-box;
	width: 33.3333%;
	padding: 0.5em;
	background-color: #385916;
	border: #000 1px solid;
	font-size: 16px;
	font-weight: bold;
	color: #dddddd;
	text-align: center;
}

#info .text_card{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
}

#info img{
	max-width: 150px;
}

#info p{
	padding-top: 0.5em;
}

/* Info min-width:400px */
	@media screen and (min-width:400px){
	#info .text_card{
		flex-flow: row nowrap;
		justify-content: flex-start;
		align-items: center;
	}

	#info p{
		padding-top: 0em;
		padding-left: 1em;
	}
}
