@charset "UTF-8";
/* CSS Document */

/*** Reset ***/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*** global ***/

body {
	font-size: 14px;
	line-height: 16px;
	font-family: 'Open Sans', serif;
	min-width:	500px;
}

nav {
	padding: 20px 10px;
	display: block;
	background: #f0f0f0;
	overflow: auto;
}

nav a {
	float: left;
	margin-left: 25px;
    padding-top: 20px;
	font-size: 20px;
	line-height: 27px;
	text-decoration: none;
	color: #333;
	font-family: 'Open Sans', serif;
}

nav a:hover {
	color: #555;
	border-bottom: 1px solid #000;
}

h1 {
	font-family: 'Open Sans', serif;	
	font-size:30px;
	line-height:37px;
	text-align:center;
	color:#333333;
	margin:20px;
	font-weight:bold;
}
	
h2 {
	font-family: 'Open Sans', serif;
	font-size:22px;
	line-height:30px;
	text-align:center;
	color:#333333;
	margin: 0px auto 25px auto;
	font-weight:normal;
}
h3 {
	font-family: 'Open Sans', serif;
	font-size:25px;
	line-height: 27px;
	color:#333;
	font-weight: normal;
	
}
h4 {
	font-family: 'Open Sans', serif;
	font-size:35px;
	line-height: 40px;
	margin: 20px 0 10px 0;
	padding-bottom:2px;
	font-weight:bold;
	color: #333;
}
h5 {
	margin:0px;
	padding:0px;
	font-family: 'Open Sans', serif;
	font-weight:normal;
	letter-spacing:1px;	
	color:#333;
	font-size:17px;
	line-height: 23px;
}

h6 {
	font-family: 'Open Sans', serif;
	font-size:25px;
	color:#333;
	padding-bottom:5px;
	border-bottom:1px solid #999;
	margin: 20px 0 5px 0;
}

ul {
	padding-left: 340px;	
}

p, li {
	font-size: 18px;
	line-height: 22px;
	margin-top: 5px;
	color: #333;
	font-family: 'Open Sans', serif;
}

a {
	color: #333;
	font-family: 'Open Sans', serif;
}

#logo {
	float: left;	
}

#current {
	border-bottom: 1px solid #000;	
}

#wrapper {
	margin: 0 auto;
	display:inline-block;
	padding:0px 0 60px 0;
}

#main-image {
	width: 100%;
	height: auto;
}

#covers {
	margin: 20px auto;
	width: 900px;
}

#subscribe {
	width: 300px;
  	height: auto;
  	margin-bottom: 20px;
}

img.mag {
	float: left;
	padding: 20px;
	width: 245px;
	height:auto;
	display:block;
}

#info {
	margin: 30px auto;
	display: table;
	width: 100%;
	background: #f0f0f0;
	padding: 30px 0;
}

.desktop {
	display: block;
}

.tablet, .mobile {
	display: none;
}

.inside:after {
	content: "";
	display: block;
	width: 100px;
	height: 2px;
	margin: 10px auto 0 auto;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}

.cta {
	max-width: 900px;
	width: 100%;
}

.book {
	float: left;
}

.works {
	margin: 0 auto;
	width: 900px;
}

.info {
	width: 259px;
	height: 360px;
	border-right: 1px solid #999;
	float: left;
	padding: 20px;
}

.last {
	border-right: none;
}

.number {
	margin: 0 auto;
	display: block;
}

.box {
	margin: 10px auto;
	display: block;
}

.footer {
	margin:0 auto;
	height:auto;
	margin-bottom:60px;
}
.footer p {
	text-align:center;
	font-size:14px;
	line-height:18px;
	color:#555555;}
	

.clearfix {
	clear: both;
	line-height:0;
	margin: 0;
	padding: 0;
}

@media only screen and (max-width: 1200px) {
	.box {
		float: none;
	}
	
	#flag {
		display: none;
	}
}

@media only screen and (max-width: 1000px) {
	nav a:hover {
		border-bottom: none;
	}
	
	ul {
		padding-left: 40px;
	}
	
	h2 {
		margin: 0;
	}
	
	#current {
		border-bottom: none;
		color: #666;	
	}
	
	#covers {
		width: 93%;
	}
	
	
	#covers h4 {
		padding-top: 0px;
		font-size: 25px;
		line-height: 28px;
	}

	img.mag {
		width: 28%;
		padding: 20px 16px;
	}
	
	.info {
		width: 27%;
		height: 350px;
	}
	
	.book {
		width: 200px;
		height: auto;
	}

	.tablet {
		display: block;
	}
	
	.mobile, .desktop {
		display: none;
	}
	
	.info {
		width: 92%;
		height: auto;
		border-right: none;
		border-bottom: 1px solid #999;
	}
	
	.last {
		border-bottom: none;
	}
	
	.box {
		float: left;
	}

}

@media only screen and (max-width: 500px) {
	.mobile {
		display: block;
	}
	
	.tablet, .desktop {
		display: none;
	}
}