/*	CSS Styling Sheet for Pacific Ship and Shore by Francisco Javier Becerra-Ortiz */

/*	GENERAL/DEFAULTS ------------------------------------*/
/*@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,300);*/

@font-face {
	font-family: 'CustomFont';
	src: url('../fonts/CustomFont.ttf');
}

@font-face {
	font-family: 'Onyx';
	src: url('../fonts/Onyx.TTF');
}

body{
	background-color: rgb(255,241,196);
	margin: 0;
	padding: 0;
	font-family: 'CustomFont', sans-serif;
	font-size: 1em;
	font-weight: 200;
	color: rgb(85,85,85);
}

body *{
	margin: 0%;
	padding: 0%;
}

	/*	TYPOGRAPHY	*/
	h1, h2, h3, h4, h5 {
		font-weight: 100;
		color: rgb(140, 109, 31);
		margin-top: 1em;
	}

	h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child {
		margin-top: 0;
	}	

	h1 {
		font-size: 2.5em;
	}

	h2 {
		font-size: 2em;
	}

	h3{
		font-size: 2.2em;
	}

	h4 {
		font-size: 1.6em;
	}

	h5{
		font-size: 1.2em;
	}

	a, a:visited {
		color: rgb(27,37,64);
		text-decoration: none;
	}

	a:active{
		color: rgb(85,85,85);
	}

	.light {
		opacity: 0.65;
	}

	strong {
		font-weight: 200;
	}

.inner-container{
	width: 74%;
	padding: 0px 3%;
	margin: 0px 10%;
}

/*	HEADER -----------------------------------------------*/

header {
	position: relative;
	display: block;
	margin: 0px;
	padding: 0px;
}

header h1, header h2, header h3, header h4, header h5 {
	color: rgb(27,37,64);
	letter-spacing: normal;
}

header .inner-container{
	height: 100px;
}



header .inner-container a{
	display: block;
	height: 100px;
}

header #header-top-bar {
	background-color: rgb(27,37,64);
	background-image: url('../media/imgs/bars.png');
	background-position:50% 0%;
	background-size: 100px 100px;
	height: 100px;
	margin:0px;
	padding:0px;
}

header .logo {
	display: none;
}

header .site-title {
	transform: translate(0px,-100px);
	background-image: url('../media/imgs/logo.png');
	background-size: 850px 200px;
	background-position: 50% 100%;
	background-repeat: no-repeat;
	height:200px;

}

header .site-title h1, header .site-title h2{
	height: 0px;
	overflow: hidden;
	text-indent: -9999px;
}

/*	NAVIGATION -------------------------------------------*/
nav{
	position: relative;
	display: block;
	margin-top: 20px;
	padding: 0px;
	font-size: 1.2em;
	font-weight: 100;
}

nav ul{
	list-style: none;
	text-align: center;
	
	/*	FLEX	*/
	display: flex;
	align-items:stretch;
	align-content:stretch;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-o-flex-flow: row wrap;
	-moz-flex-flow: row wrap;
	-ms-flow: row wrap;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	justify-content: center;
}

nav ul li{
	padding: 5px 2%;
	margin: 0px;
}

nav .inner-container{
	border-top: 2px solid rgb(27,37,64);
}

nav a {
	color:rgb(85,85,85);
	padding-top: 5px;
	padding-bottom: 5px;
}

nav a:hover {
	color: rgb(27,37,64);
	border-bottom: 1px solid rgb(27,37,64);
}

nav li.current {
	color: rgb(27,37,64);
}

nav li.current a{
	border-bottom: 1px solid rgb(27,37,64);
}

/*	MAIN CONTENT -----------------------------------------*/
div#main-content{
	position: relative;
	display: block;
	margin: 0px;
	margin-top:40px;
	margin-bottom: 80px;

}

div#main-content .inner-container {
	padding-top: 20px;
	padding-bottom: 60px;
	background-color: rgba(255,255,255,1);
	border: 1px solid rgba(140, 109, 31,0.65);
}

div#main-content a {
	color: rgb(140,109,31);
	text-decoration: none;
	font-weight: 600;
}

div p{
	margin-top: 0.75em;
}

div#main-content article {
	padding-bottom: 50px;
	margin-bottom: 40px;
	/*border-bottom: 1px solid rgba(255,241,196,0.90);*/
	border-bottom: 1px solid rgb(220,220,220);
}

div#main-content article:last-of-type {
	border-bottom: none;
}

div#main-content blockquote {
	display:block;
	margin-top:10px;
	margin-right:0%;
	margin-bottom:10px;
	margin-left:0%;
	padding-top:40px;
	padding-right:10%;
	padding-bottom:40px;
	padding-left:10%;
	/*position:relative;*/
	color:rgb(40,40,40);
	text-align:left;
	font-weight:200;
	font-style:oblique;
	width:80%;
	font-size:16px;
	background-color:rgba(200,200,200,.05);
	background-image:url('../media/imgs/quotes-open.png'),url('../media/imgs/quotes-close.png');
	background-repeat:no-repeat,no-repeat;
	background-position:1% 98%,99% 2%;
	background-size:3% auto,3% auto;
}

div#main-content h1, div#main-content h2, div#main-content h3, div#main-content h4, div#main-content h5{
	padding-bottom: 1em;
}

div#main-content .main p:first-child, div#main-content .main p:first-of-type {
	/*clear:both;*/
	margin-bottom: 2em;
	/*font-size: 1.2em;*/
}

div#main-content ul, div#main-content ol {
	list-style-position: inside;
	margin-left: 5%;
}

div#main-content img:nth-of-type(odd) {
	margin-left: 2%;
	float: right;

	/*filters*/
	-webkit-filter: brightness(0.90) contrast(1.4);
}

div#main-content img:nth-of-type(even) {
	margin-right: 2%;
	float: left;

	/*filters*/
	-webkit-filter: brightness(0.90) contrast(1.4);
}

div#main-content article > img {
	width: 50%;
	margin-top: 2em;
	margin-bottom: 2em;
}

div#main-content img.picture{
	min-width: 46%;
	max-width: 96%;
	padding: 2% 2% 8% 2%;
	background-color: rgb(220,220,220);
	margin-top: 2em;
	margin-bottom: 2em;
	box-shadow: 0px -5px 10px rgba(40,40,40,0.35);

	/*filters */
	-webkit-filter: sepia(0.65) brightness(0.95) contrast(1.4);

}

div#main-content figure {
	float: right;
	clear: right;
	width: 48%;
	padding-left: 2%;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: rgb(255,255,255);
}

div#main-content figure > img{
	width: 100%;
	margin-bottom: 5px;
	border-radius: 2px;

	/*filters*/
	-webkit-filter: brightness(0.90) contrast(1.4);
}

div#main-content figcaption {
	color: rgb(200,200,200);
	font-size: 0.80em;
	width: 80%;
	margin-left: 20%;
	text-align: right;
}

div#main-content figcaption a {
	color: rgb(150,150,150);
}

/*	FOOTER -----------------------------------------------*/
footer {
	position: relative;
	display: block;
	margin: 0px;
	padding: 0px;
	font-size: 0.75em;
	color: rgb(255,241,196);
	background-color: rgb(77,67,52);
	border-top: 1px solid rgba(140, 109, 31,0.65);
	box-shadow: 0px 10px 10px rgba(0,0,0,0.05) inset, 0px -10px 10px rgba(0,0,0,0.10) inset;
	text-align: center;
}

footer strong {
	color: rgb(140, 109, 31);
	font-weight: 200;
}

footer .inner-container{
	padding-top: 10px;
	padding-bottom: 40px;

	/*	FLEX	*/
	display: flex;
	align-items:stretch;
	align-content:stretch;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-o-flex-flow: row wrap;
	-moz-flex-flow: row wrap;
	-ms-flow: row wrap;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	justify-content: center;
}

footer .inner-container .content {
	clear: none;
	width:68%;
	text-align: left;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-o-flex-flow: row wrap;
	-moz-flex-flow: row wrap;
	-ms-flow: row wrap;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: flex-start;
}

footer .inner-container a, footer .inner-container a:visited {
	color: rgb(255,241,196);
	color: rgba(255,241,196,0.65);
}

footer .inner-container .content h4, footer .inner-container .content h5 {
	border-bottom: 1px solid rgb(140, 109, 31);
	border-bottom: 1px solid rgba(140, 109, 31,0.65);
}

footer .inner-container h4 a, footer .inner-container h4 a:visited, footer .inner-container h5 a, footer .inner-container h5 a:visited {
	color: rgb(255,241,196);
	color: rgba(255,241,196,0.65);
}

footer .inner-container ul {
	list-style: square;
}

footer .inner-container .content .column ul li, footer .inner-container .content .column ol li {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

footer .inner-container .content .column {
	margin-right: 2%;
	padding:0px 0.25em;
}

footer .inner-container .content .column h5 {
	font-size: 1.5em;
	margin-bottom: 0.5em;
}

footer .inner-container .content .column:last-child {
	margin-right: 0px;
}

footer .right {
	width: 29%;
	padding: 5px 0% 20px 1%;
	margin: 0px;
	border-left: 1px solid rgba(255,241,196,0.35);
	text-align: left;
}











/*	MEDIA QUERIES ----------------------------------------*/
@media only screen and (max-width: 1260px){
	.inner-container{
		width: 80%;
		padding: 0px 5%;
		margin: 0px 5%;
	}

	/*	HEADER	*/
	header{
		/*background-color: rgb(27,37,64);*/
		background: rgb(255,241,196);
	}

	header h1 {
		letter-spacing: 0.25em;
	}

	header h2 {
		letter-spacing: 1.1em;
	}
	
	header .inner-container {
		height: auto;
		text-align: center;
	}

	header .inner-container a {
		/*	FLEX	*/
		align-items:center;
		/*align-content:stretch;*/
		-o-display: flex;
		-moz-display: flex;
		-ms-display: flex;
		-webkit-display: flex;
		display: flex;
		-o-flex-flow: row wrap;
		-moz-flex-flow: row wrap;
		-ms-flow: row wrap;
		-webkit-flex-flow: row wrap;
		flex-flow: row wrap;
		justify-content: center;
		height: auto;
	}

	header #header-top-bar {
		height: 30px;
		margin-bottom: 10px;
		background-image: url('../media/imgs/bars.png');
		background-position:50% 0%;
		background-size: 50px 50px;
	}

	header .logo {
		display: initial;
		width: 55px;
		margin-top: 10px;
		margin-bottom: 10px;
	}

	header .site-title {
		transform: translate(0px,0px);
		background-image: none;
		background-repeat: no-repeat;
		height: auto;
		width: auto;
		margin-left: 2%;
	}

	header .site-title h1 {
		height: auto;
		float:right;
		width: auto;
		overflow: visible;
		text-indent: 0%;
		color: rgb(27,37,64);
		font-family: Onyx;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0em;
		text-align: left;
	}

	header .site-title h2{
		height: auto;
		clear:right;
		overflow: visible;
		text-indent: 0%;
		color: rgb(150,150,150);
		text-transform: uppercase;
		letter-spacing: 0em;
		font-size: 1em;
		width: auto;
		text-align: left;
	}

	/*	NAVIGATION	*/
	nav {
		margin-top: 0px;
	}

	/*	FOOTER	*/

}







@media only screen and (max-width: 800px) {
	.inner-container{
		width: 90%;
		padding: 0px 5%;
		margin: 0px 0%;
	}

	/*	HEADER	*/

	header{
		/*background-color: rgb(27,37,64);*/
		background: rgb(255,241,196);
	}
	
	header .inner-container{
		height: auto;
		text-align: center;
	}

	header .inner-container a{
		/*	FLEX	*/
		display: block;
	}

	header #header-top-bar {
		display:none;
	}

	header .logo {
		/*display: initial;
		width: 20%;*/
		float: none;
		margin-top: 5px;
		margin-bottom: 5px;
	}

	header .site-title {
		transform: translate(0px,0px);
		background-image: none;
		background-repeat: no-repeat;
		height: auto;
		width: 100%;
	}

	header .site-title h1 {
		height: auto;
		float: none;
		overflow: visible;
		text-indent: 0%;
		color: rgb(27,37,64);
		font-family: Onyx;
		font-weight: 100;
		text-align: center;
		width: auto;
		letter-spacing: 0.25em;
	}

	header .site-title h2{
		height: auto;
		overflow: visible;
		text-indent: 0%;
		color: rgb(150,150,150);
		text-transform: uppercase;
		letter-spacing: 1.5em;
		font-size: 0.80em;
		text-align: center;
		width: 100%;
		margin: 0%;
	}

	/*	NAVIGATION	*/
	nav .inner-container {
		/*border-top: none;*/
		margin-top: 10px;
	}

	nav ul{
		-o-flex-flow: column wrap;
		-moz-flex-flow: column wrap;
		-ms-flex-flow: column wrap;
		-webkit-flex-flow: column wrap;
		flex-flow: column wrap;
	}

	nav ul li {
		font-size: 1.2em;
		margin: 0%;
		padding: 10px 5%;
		width: 90%;
		border-bottom: 1px solid rgba(27,37,64, 0.25);
	}

	nav ul li:last-child {
		border-bottom: none;
	}

	/*	MAIN CONTENT -----------------------------------------*/
	div#main-content{
		background-color: rgb(255,255,255);
		margin-bottom: 0px;
		padding-bottom: 80px;
	}

	div#main-content .inner-container {
		background-color: transparent;
		border-left: none;
		border-right: none;
	}

	div#main-content figure {
		float: none;
		width: 100%;
		padding-left: 0%;
	}

	div#main-content article > img {
		width: 100%;
		margin-top: 2em;
		margin-bottom: 2em;
	}

	div#main-content figcaption {
		font-size: 1em;
	}

	/*	FOOTER	*/
	footer .inner-container{
		padding-top: 10px;
		padding-bottom: 40px;

		/*	FLEX	*/
		display: flex;
		align-items:stretch;
		align-content:stretch;
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-o-flex-flow: column wrap;
		-moz-flex-flow: column wrap;
		-ms-flow: column wrap;
		-webkit-flex-flow: column wrap;
		flex-flow: column wrap;
		justify-content: center;
	}

	footer .inner-container .content {
		width:100%;
		text-align: center;
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-o-flex-flow: column wrap;
		-moz-flex-flow: column wrap;
		-ms-flow: column wrap;
		-webkit-flex-flow: column wrap;
		flex-flow: column wrap;
	}

	footer .inner-container .content .column {
		padding-top: 1em;
		padding-bottom: 1em;
		border-bottom: 1px solid rgba(255,241,196,0.35);
		font-size: 1.2em;
	}

	footer .inner-container .content .column h5 {
		font-size: 1.4em;
	}

	footer .inner-container .content .column ul, footer .inner-container .content .column ul {
		list-style: none;
	}

	footer .inner-container .content .column ul li, footer .inner-container .content .column ol li {
		padding-top: 0.5em;
		padding-bottom: 0.5em;
	}

	footer .right {
		width: 100%;
		padding: 0%;
		margin: 2em 0 0 0;
		border-left: none;
		text-align: center;
	}

	nav a:hover {
		color: rgb(27,37,64);
		border-bottom: none;
	}

	nav li:hover {
		background-color: rgba(51,51,51,0.05);
	}

	nav li.current {
		color: rgb(27,37,64);
		background-color: rgba(51,51,51,0.05);
	}

	nav li.current a{
		border-bottom: none;
	}
}








@media only screen and (max-width: 800px) and (orientation: landscape) {
	.inner-container{
		width: 85%;
		padding: 0px 5%;
		margin: 0px 2.5%;
	}

	/*	NAVIGATION	*/
	nav ul{
		-o-flex-flow: row wrap;
		-moz-flex-flow: row wrap;
		-ms-flex-flow: row wrap;
		-webkit-flex-flow: row wrap;
		flex-flow: row wrap;
	}

	nav ul li {
		font-size: 1em;
		margin: 0%;
		padding: 10px 5px;
		width: auto;
		border-bottom: none;
	}
}