

/* Reset
-------------------------------------------------- */
body{
	margin:0;
	padding:0;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
	display: block;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color:#3b5b76;
	text-decoration: none;
	transition: color .3s, background .3s, border .3s;
}
a:hover {
	color:#65829a;
}

h1 {
	font-weight: normal;
}

h2 {
	font-weight: normal;
}

h3 {
	font-weight: normal;
}

h4 {
	font-weight: normal;
}

h1 a, h2 a, h3 a, h4 a {
	color: inherit;
	border: 0 !important;
}

hr{
	margin:45px 0;
	border:	1px rgba(0,0,0,0.15) solid;
}


.cf:after {
	content: "";
	display: table;
	clear: both;
}

.clear{
	clear:both;
}

.main-width{
	max-width:1150px;
	margin:auto;
	padding:0 25px;
}

.text figure{
	margin:0;
	padding:0;
}

.text figure img{
	border:3px #e4e6e7 solid;
	border-radius:2px;
	box-shadow:2px 2px 10px rgba(0,0,0,0.3);
}

.text figcaption{
	margin-top:5px;
	color:#56616a;
	font-size:13px;
	text-align:center;
}

.text .fr{
	margin:0 0 15px 20px;
}

.text .fl{
	margin:0 20px 15px 0;
}

.fr{
	float:right;
	
}

.fl{
	float:left;
}

.btn{
	display:inline-block;
	margin:10px 0 5px 0;
	padding:10px 30px;
	color:#d8dfe6;
	border:2px #d9d9d9 solid; 
	border:2px rgba(255,255,255,0.33) solid; 
	border-radius:5px;
	background-color:#343d52;
	font-size:18px;
	text-shadow:1px 1px 1px rgba(0,0,0,0.15);
}

.btn:hover{
	color:white;
	background-color:#48536d;
}

.btn-large{
	font-size:24px;
}


/* Site
-------------------------------------------------- */
html {
}

body {
	color:#313642;
	font-family:'Open Sans', Helvetica, Arial, sans-serif;
	background:url(../images/bg.jpg);
	background-size: 100%;
	background-repeat:no-repeat;
	background-color:#bfc3c6;
}


/* Header
-------------------------------------------------- */
.header {
	padding:13px 0;
	background-color:e0e8f0;
	background-color:rgba(224,224,224,0.4);
	box-shadow:0 5px 20px rgba(0,0,0,0.15);
}

#header-inner{
	border-top:1px transparent solid;
}

.logo {
	display: block;
	float: left;
}

.social-media{
	float:right;
}

.social-media-icon{
	float:left;
	margin-left:5px;
	opacity:0.5;
	
	transition:opacity 0.3s;
}

.social-media-icon:hover{
	opacity:0.9;
}


/* Navigation
-------------------------------------------------- */


.menu{
	display:table;
	margin:0 auto;
	padding:0;
	margin-top:12px;
	font-family:'Roboto', Helvetica, Arial, sans-serif;
	font-size:16px;
	text-transform:uppercase;
}

.menu a {
	color:#646e78;
	display: block;
}
.menu a:hover {
	color: #2b92ff;
	text-decoration: none;
	text-shadow:1px 1px 1px rgba(0,0,0,0.15);
}
.menu .active {
	color: #2b92ff;
	text-shadow:1px 1px 1px rgba(0,0,0,0.15);
}
.menu li {
	list-style: none;
}
.menu > li {
	display:table-cell;
	position: relative;
}
.menu > li > a {
	padding: 0 18px;
	font-weight: 600;
}

.menu > li:hover .submenu {
	display: block;
}

.submenu {
	position: absolute;
	z-index: 1;
	display: none;
	left:-40px;
	text-transform:none;
}
.submenu:before {
	position: absolute;
	z-index: -1;
	top: -.5em;
	left: 0;
	border-top: .5em solid transparent;
	border-bottom: .5em solid transparent;
	border-left: .5em solid #222;
}
.submenu li {

}
.submenu li a {
	padding:10px 20px;
	font-size: 15px;
	font-weight: 300;
	color: #bbc2cb;
	background: #252c3c;
	white-space: nowrap;
}
.submenu a:hover {
	background: #1a212f;
	color: #fff;
}


/* Main
-------------------------------------------------- */
.main {
	padding-bottom: 1.5em;
}

.main p,
.main figure,
.main ul,
.main ol {
	line-height:27px;
}

.text ul,
.text ol {
	
}


/* Home */
#home-content-width{
	max-width:1150px;
	margin:auto;
	padding-top:30px;
}

#home-left-spacer{
	width:30%;
	height:200px;
	float:left;
}

#featured-work{
	float:left;
	width:30%;
	max-width:325px;
}

#featured-work a{
	display:inline-block;
	border:4px rgba(255,255,255,0.5) solid;
	border-radius:2px;
	box-shadow:2px 2px 25px rgba(0,0,0,0.2);
}

#featured-work a:hover{
	border:4px rgba(255,255,255,0.85) solid;
}

#home-content{
	float:left;
	width:30%;
	max-width:300px;
	margin-top:20px;
	margin-left:55px;
	font-size:15px;
}

#home-content p{
	margin:0;
	color:#737782;
	line-height:28px;
}

#home-content p em{
	color:#737782;
}

#home-content p strong em{
	font-weight:400;
	color:#313642;
}

#home-content h2{
	margin:10px 0;
	font-size:32px;
	font-weight:300;
	text-shadow:0 0 4px rgba(208,210,212,0.85), 0 0 4px rgba(208,210,212,0.85), 0 0 2px rgba(208,210,212,0.85), 0 0 10px rgba(208,210,212,1), 0 0 10px rgba(208,210,212,1), 0 0 10px rgba(208,210,212,1);
}

#home-content h3{
	font-size:24px;
	margin:0 0 10px 0;
}

#events-list{
	margin-top:25px;
	padding:15px 25px;
	background:rgba(208,210,212,0.7);
	box-shadow:2px 2px 25px rgba(0,0,0,0.2);
	font-size:14px;
}

#events-list p{
	margin:0;
	padding:0;
	font-weight:600;
	line-height:22px;
}

#events-list a{
	color:#393f4d;
}

#events-list a:hover {
	color:#707787;
}

#events-list .read-more a{
	color:#5b7c99;
}


/* Secondary pages */

/*
#subheader{
	padding:1px;
	background-color:#343d52;
	box-shadow:0 5px 20px rgba(0,0,0,0.15);
}

#subheader h1{
	color:#e9e9e9;
	font-size:36px;
	font-weight:300;
	text-shadow:1px 1px 5px rgba(0,0,0,0.8);
}
*/

#subheader{
	padding:1px;
	background-color:#d1e0f0;
	box-shadow:0 5px 20px rgba(0,0,0,0.15), inset 0 5px 18px rgba(0,0,0,0.09);
}

#subheader h1{
	color:#596c7c;
	font-size:36px;
	font-weight:300;
}

#content-wrapper{
	min-height:500px;
	background-color:#e1e1e0;
	background-color:rgba(224,224,224,0.93);
}

#main-inner{
	padding-top:30px;
}


/* Books */

.book-item a{
	display:block;
	float:left;
	width:23%;
	min-height:420px;
	margin:0 5px 15px 5px;
	padding:20px 0;
	border-radius:5px;
	text-align:center;
}

.book-item a:hover{
	background-color:rgba(255,255,255,0.5);
	box-shadow:inset 1px 1px 5px 1px rgba(0,0,0,0.15);
}

.book-item a .heading{
	display:block;
	margin-top:15px;
	font-size:25px;
	font-weight:300;
}

.book-item a .pub-year{
	
}

.book-item img{
	width:200px;
	margin:auto;
	border:3px #e4e6e7 solid;
	border-radius:2px;
	box-shadow:2px 2px 10px rgba(0,0,0,0.3);
}

#book-cover-box{
	float:left;
	width:350px;
	margin:20px 30px 45px 0;
	text-align:center;
}

#book-cover-box img{
	margin-bottom:15px;
	border:4px rgba(255,255,255,0.5) solid;
	border-radius:2px;
	box-shadow:2px 2px 25px rgba(0,0,0,0.2);
}

#book-cover-box h3{
	margin:10px 0;
	padding:0;
	font-size:32px;
	font-weight:300;
}


/* News */

#newss-listing{
	
}

.news-item{
	padding:30px 0;
	border-bottom:2px rgba(0,0,0,0.15) solid;
}

.news-item .date{
	margin:0;
	padding:0;	
}

.news-item h2{
	margin:0;
	padding:0;
}

.news-item:first-child{
	padding-top:0;
}

.news-item:last-child{
	border:0;
}


/* Events */

#events-listing{
	
}

.event-item{
	padding:30px 0;
	border-bottom:2px rgba(0,0,0,0.15) solid;
}

.event-item .date{
	margin:0;
	padding:0;	
}

.event-item h2{
	margin:0;
	padding:0;
}

.event-item:first-child{
	padding-top:0;
}

.event-item:last-child{
	border:0;
}


/* Project meta
-------------------------------------------------- */
.meta {
	margin-bottom: 1.5em;
}
.meta li {
	float: left;
	list-style: none;
	margin-right: 2em;
	color: red;
}
.meta li b {
	font-weight: 400;
	color: #000;
	padding-right: .25em;
}


/* Footer
-------------------------------------------------- */
.footer {
	padding:15px 0;
	font-size: 12px;
}

.copyright{
	text-align:center;
}

#purchase{
	padding:45px 0 15px 0;
	color:#e9e9e9;
	background:url(../images/purchase-gradient.png) #343d52 no-repeat center top;
	box-shadow:0 -5px 40px rgba(0,0,0,0.4);
	font-size:18px;
	text-shadow:1px 1px 5px rgba(0,0,0,0.8);
}

#purchase-inner{
  	position: relative;
}

#purchase-inner:before {
    content: '';
    float: right;
    display: block;
    width: 300px;
    height: 250px;
}

#purchase h2{
	margin:0;
	padding:0;
	font-size:30px;
	font-weight:300;
}

#purchase h3{
	margin:0;
	padding:0;
	color:#bbbbbb;
	font-size:24px;
	font-weight:300;
}

#purchase-book{
	
}

.book-cover-thumb{
	float:left;
	margin:0 30px 20px 0;
}

.book-cover-thumb img{
	width:135px;
	box-shadow:1px 1px 8px rgba(0,0,0,0.5);
}

#purchase a{
	color:#b4d7fd;
}

#purchase a:hover{
	color:#e6f2ff;
}

#purchase .purchase-options{
	font-size:22px;
}

#more-books{
    position: absolute;
    top: 0;
    right: 0;
	width:320px;
	height:200px;
	text-align:center;
}

#more-books h3{
	margin:12px 0;
	font-size:18px;
	font-weight:normal;
}

#more-books p{
	font-size:14px;
}

#more-books .book-cover-thumb{
	display:inline-block;
	float:none;
	width:70px;
	margin:0 6px;
}

#more-books .book-cover-thumb a img{
	border:2px transparent solid;
	
	transition:border 0.3s;
}

#more-books .book-cover-thumb a:hover img{
	border:2px rgba(255,255,255,0.4) solid;
}

#purchase .copyright{
	margin-top:60px;
	color:#939da7;
	font-size:12px;
}

#back-to-top{
	display:inline-block;
	margin-bottom:20px;
	padding:8px 3px 6px 3px;
	border:2px #c8cbd1 solid;
	border:2px rgba(255,255,255,0.7) solid;
	border-radius:4px;
	background-color:#40485c;
	box-shadow:1px 1px 8px rgba(0,0,0,0.5);
	text-align:center;
	opacity:0.6;
	
	transition:opacity 0.3s;
}

#back-to-top:hover{
	opacity:1;
}
	
#show-menu-btn{
	display:none;
	margin:10px 0 0 0;
	padding:10px 30px;
	color:#bfc7ce;
	background-color:#343d52;
	border-radius:5px;
	background-color:#343d52;
	font-size:24px;
}



#show-menu-btn:hover{
	color:white;
	background-color:#48536d;
}

.mobile-content{
	display:none !important;
}


@media screen and (max-width: 919px) {
	
	.logo{
		width:220px;
		margin-top:5px;
	}
	
	.menu{
		font-size:14px;
	}
	
	.menu > li > a {
		padding: 0 12px;
	}
	
	#home-content-width{
		width:100%;
		margin:auto;
		padding-top:20px;
	}
	
	#home-left-spacer{
		display:none;
	}
	
	#featured-work{
		width:48%;
		margin-left:40px;
	}
	
	#home-content{
		width:48%;
		margin-left:40px;
	}
	
}


@media screen and (max-width: 767px) {

	.mobile-content{
		display:block !important;
	}
	
	#main-nav{
		display:none;
	}
	
	.menu{
		width:100%;
		margin:0;
		padding:0;
		border-radius:5px;
		background: #252c3c;
		font-family:'Roboto', Helvetica, Arial, sans-serif;
		font-size:16px;
		text-transform:uppercase;
	}
	
	.menu a {
		color: #bbc2cb;
		display: block;
	}
	
	.menu a:hover {
		color: #fff;
		background: #161b27;
		text-decoration: none;
		text-shadow:1px 1px 1px rgba(0,0,0,0.15);
	}
	
	.menu .active {
		color: #fff;
		background: #161b27;
		text-shadow:1px 1px 1px rgba(0,0,0,0.15);
	}
	
	.menu li {
		list-style: none;
	}
	
	.menu li:first-child a{
		border-radius:5px 5px 0 0;
	}
	
	.menu li:last-child a{
		border-radius:0 0 5px 5px;
	}
	
	.menu > li {
		display:block;
		position:static;
	}
	
	.menu > li > a {
		padding:15px;
		font-weight: 600;
	}
	
	.menu > li:hover .submenu {
		display: block;
	}
	
	.submenu{
		display:none !important;
	}
	
	#show-menu-btn{
		display:block;
	}

	.logo {
		float: none;
		width:auto;
		text-align:center;
	}

	.logo img{
		margin:auto;
	}
	
	.social-media{
		display:none;
	}
	
	.social-media.mobile-content{
		display:table !important;
		float:none;
		margin:12px auto;
	}
	
	.social-media.mobile-content .social-media-icon{
		display:table-cell;
		float:none;
		padding:0 3px;
		text-align:center;
	}
	
	/* Home */
	#home-content-width{
		width:100%;
		margin:auto;
		padding-top:20px;
	}
	
	#featured-work{
		float:none;
		width:100%;
		margin:auto;
		text-align:center;
	}
	
	#home-content{
		float:none;
		width:100%;
		margin:20px auto;
		text-align:center;
	}
	
	#home-content p{
		text-align:left;
	}
	
	#events-list{
		text-align:left;
	}
	
	#events-list p{
		line-height:30px;
	}
	
	/* Books */
	.book-item a{
		width:46%;
		min-height:430px;
		margin:0 5px 0 5px;
	}

	#book-cover-box{
		float:none;
		width:100%;
		margin:20px 0 45px 0;
		text-align:center;
	}

	#book-cover-box img{
		display:inline-block;
	}
	
	/* Purchase */
	#purchase-inner:before {
		content: '';
		float: none;
		display: block;
		width: auto;
		height: auto;
	}
	
	.purchase-options{
		clear:both;
		text-align:center;
	}
	
	#more-books{
		position:static;
		clear:both;
		width:100%;
		height:auto;
		margin:45px auto;
		padding:15px 0;
		background: #252c3c;
		border-radius:5px;
		text-align:center;
	}

	#back-to-top.mobile-content{
		display:inline-block !important;
	}
		
}



@media screen and (max-width: 480px) {

	.main-width{
		padding:0 15px;
	}

	.text figure.fl,
	.text figure.fr{
		float:none;
		margin:0;
		text-align:center;
	}

	.text figure img{
		display:inline-block;
	}

	.book-cover-thumb{
		float:none;
		text-align:center;
	}

	.book-cover-thumb img{
		display:inline-block;
	}
	
	#more-books{
		float:none;
	}
	
	.book-item a{
		width:95%;
	}

}
