/*
Theme Name: Barlaeus Gymnasium
Theme URI: http://www.barlaeus.nl/
Description: Custom thema voor het Barlaeus.
Version: 1.0.1
Author: Ddzyne
Author URI: http://www.ddzyne.nl/
*/

/*
	* Gridless version 2.0

	* Credit is left inline and big thanks to Nicolas Gallagher and Jonathan Neal

	* Across this document we use safe CSS hacks: http://mathiasbynens.be/notes/safe-css-hacks
	* Selectors beggining with an underscore (_selector: property) target only IE6
	* Selectors beggining with an asterisk (*selector: property) target only IE6 and IE7
*/

/* HTML5 display definitions
---------------------------------------- */

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

/* Corrects inline-block not defined in IE6/7/8 and FF3 */
audio, canvas, video {
	display: inline-block;
	*display: inline;
	*zoom: 1;
}

audio:not([controls]) {
	display: none;
}

/* Ensures content is hidden from all presentations, including screenreaders */
[hidden] {
	display: none;
	visibility: hidden;
}

@-o-viewport {
  width: device-width;
}
@-ms-viewport {
  width: device-width;
}
@viewport {
  width: device-width;
}

/* Base structure
---------------------------------------- */

/*
	* The body will work like a 'div#wrapper' (for this to work, the 'body' needs to have a set width)

	* To add a background to the PAGE, set it in the 'html' element
	* To add a background to the WRAPPER, set it in the 'body' element
*/
html {
	font-size: 100%;
	overflow-y: scroll; /* Force a scrollbar in non-IE */
	-webkit-text-size-adjust: 100%; /* Prevent iOS text size adjust on orientation change without disabling user zoom */
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0 auto;
}

/* Fonts settings based on the 100E2R standard: http://www.informationarchitects.jp/en/100e2r/ */
body, button, input, select, textarea {
	font: 1em/1.414 'Mate', serif;
	color: #222; /* Full black on white is too much contrast, #222 is a better default */
}

/* Add and/or remove tags as your baseline grid needs */
p, blockquote, q, pre, address, hr, code, samp, dl, ol, ul, form, table, fieldset, menu, h4, h5, h6, img, figure, figcaption, button, hr {
	margin: 0 0 0.2em;
}

p, ul {
	margin-bottom:1em;
}

/* Headings/small
---------------------------------------- */

/*
	* Font sizes are based on the golden ratio of 16
	* See this for the modular scale: ow.ly/5jGl6
	* Line-heights and margins are adjusted to keep a 26px (1.5em) vertical rhythm across elements 
*/

h1, h2, h3, h4, h5, h6 {
	font-family: 'Marcellus', serif;
	font-size: 1em;
	font-weight: bold;
}

h1 {
	font-size: 2.129em; /* 68px */
	line-height: 1.1471em;
	margin: 0 0 0.3824em;
}

h2 {
	font-size: 1.618em; /* 42px */
	line-height: 1.2381em;
	margin: 0 0 0.619em;
}

h3 {
	font-size: 1.316em; /* 26px */
	line-height: 1em;
	margin: 0 0 1em;
}

small {
	font-size: 0.5em; /* 10px */
	margin: 0 0 2.6em;
}

p {
	font-size: 1em;
}

/* Preformatted text and code
---------------------------------------- */

/* Allows line wrapping of 'pre' */
pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

pre, code, kbd, samp {
	font: 1em/1.414em Menlo, Consolas, 'DejaVu Sans Mono', Monaco, 'Courier New', Courier, monospace;
}

/* Tables
---------------------------------------- */

table {
	border-collapse: collapse;
	border-spacing: 0;
}

th {
	text-align: left;
}

tr, th, td {
	padding-right: 1.414em;
}

/* Forms
---------------------------------------- */

form {
	margin: 0;
}

fieldset {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

legend {
	border: 0;
	*margin-left: -7px;
}

button, input, select, textarea {
	vertical-align: baseline;
	*vertical-align: middle;
	border:0.1em solid #ccc;
	padding:0.2em;
	transition:all ease-in 0.2s;
}

button, input {
	line-height: normal;
	*overflow: visible;
}

button:hover, input:hover, select:hover, textarea:hover, button:active, input:active, select:active, textarea:active, button:focus, input:focus, select:focus, textarea:focus {
	border-color:#222;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
	padding:0.3em 0.7em;
}

input[type="submit"]:hover, input[type="button"]:hover {
	background: #222;
	color:#fff;
}

input[type="checkbox"], input[type="radio"] {
	box-sizing: border-box;
}

input[type="search"] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

/* Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7 */
table button, table input {
	*overflow: auto;
}

/* Quotes
---------------------------------------- */

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

blockquote, q, cite {
	font-style: italic;
}

blockquote {
	padding-left: 1.414em;
	border-left: 1px solid #ddd;
}

blockquote > p {
	padding: 0;
}

/* Lists
---------------------------------------- */

ul, ol {
	list-style-position: outside;
	padding: 0;
	margin-left:1em;
}

li ul, li ol {
	margin: 0 1.414em;
}

dl dd {
	margin-left: 1.414em;
}

/* Links
---------------------------------------- */

a {
	text-decoration: none;
	color: #7d2c27;
	transition: all ease-in 0.2s;
	font-weight: bold;
}

/*p a, .nav-below a {
	text-decoration: underline;
}*/

a:hover {
	color: #006d95;
}

a:focus {
	outline: thin dotted;
}

/* Better CSS outline suppression: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {
	outline: none;
}

/* Figures
---------------------------------------- */

figure {
	margin: 0;
}

/* Embedded content
---------------------------------------- */

img, object, video {
	max-width: 100%; /* Automatically scales images larger than the container. Consider this first: http://unstoppablerobotninja.com/entry/fluid-images/ */
	width: 100%; /* IE6 doesn't support max-width, so we just use width. If the image is larger than the container, just uncomment this. If it is smaller than the container, uncomment and change the 100% value to an absolute one */
	height: auto;
}

img {
	border: 0;
	-ms-interpolation-mode: bicubic; /* Improve IE's resizing of images: css-tricks.com/ie-fix-bicubic-scaling-for-images */
}

/* Corrects overflow displayed oddly in IE9 */
svg:not(:root) {
	overflow: hidden;
}

/* Abbreviations
---------------------------------------- */

abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

/* Marked/inserted/deleted text
---------------------------------------- */

mark {
	background: #ff0;
}

ins {
	text-decoration: none;
	background: #ff9;
}

del {
	text-decoration: line-through;
}

/* Others
---------------------------------------- */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-bottom: 1px solid #ddd;
}

strong, b, dt {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

var, address {
	font-style: normal;
}

/* Position 'sub' and 'sup' without affecting line-height: gist.github.com/413930 */
sub, sup {
	font-size: 0.625em;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

/* Helper classes
---------------------------------------- */

/*
	* Micro clearfix hack, more semantically titled with 'group'
	* Source: nicolasgallagher.com/micro-clearfix-hack/
*/
.group:before, .group:after {
	content: "";
	display: table;
}

.group:after {
	clear: both;
}

.group {
	*zoom: 1;
}

/* Primary styles
---------------------------------------- */

/* Grid > 6 Column Mobile First
-------------------------------------------------------------- */
.container {
  /*
    The `max-width` property is the width governer. I dare you to experiment
    with setting this larger, something like 1280px.
  */
	max-width: 1480px;
	width:92%;
	margin:0px auto;
	position: relative;
}

.grid.logo,
.grid-1,
.grid-2,
.grid-3,
.grid-4,
.grid-5,
.grid-6,
.grid-half,
.grid-full,
.grid-unit {
	margin:0 0 1em 0;
	position: relative;
}

.grid-1kol {
	margin:0 auto 1em auto;
}
.grid-1kol .gallery{
	margin: 1.5em 0;
    overflow: auto;
}

.header {
	width:100%;
	padding:0.4em 0 0.4em 0.3em;
    box-sizing: border-box;
}

header {
	position: relative;
	z-index: 99;
}

header .fullwidth {
	background: #fff;
	border-bottom: 7px solid #E9E9E9;
}

.admin-bar header {
	position: relative;
}

.row {
  clear: both;
}

.banner {
	margin-bottom:2.5em;
	position: relative;	
}

header {
	background:#000;
}

.banner img.barlaeus {
	display: block;
	-webkit-box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
	-moz-box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
	box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
}

/*menu dingen, bovenkant pagina*/

.fullwidth {
	z-index: 99;
}

.grid-5.menu, #mainsearch {
	display: none;
	text-align: left;
	margin-top:0.5em;
	margin-bottom:0.5em;
}

.grid.logo {
	width: 63.636363636364%;
	float: left;
	margin: 1%;
}

#showmenu {
	display: none;
}

#search-inputs {
	position: relative;
}

#search-inputs input {
	width: 96%;
	float:right;
	color:#ccc;
}

#search-inputs input:hover, #search-inputs input:focus, #search-inputs input:active {
	color:#222;
}

#main-content #search-inputs {
	width:100%;
}

#main-content #search-inputs input {
	width:100%;
	float: none;
}

#searchsubmit {
	width:1.6em;
	height:1.4em;
	padding:0;
	background: none;
	border: none;
	position: absolute;
	right:0.2em;
	top:0.2em;
	opacity: 0.4;
	background: url(images/search.png) no-repeat center;
}

#searchsubmit:hover {
	opacity: 1;
}

.icon {
	width:1.5em;
	height: 1.5em;
	float:right;
	margin-right:0.6em;
	margin-top:0.1em;
	position: relative;
	opacity: 0.7;
	transition:all ease-in 0.2s;
}

.icon:hover {
	opacity: 1;
}

.icon a {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
}

.grid-2.icons {
	width:30.30303030303%;	
	text-align: right;	
	margin:1% 0;
	float:right;
}

#mainsearch {
	display: none;
}

.icons .svg {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

nav {
	width: 100%;
	font-family: 'Marcellus', serif;
	font-size:1em;
}

nav a {
	white-space:nowrap;
	display: block;
	font-weight: normal;
}

nav ul {
	list-style: none;
	margin:0;
}

nav ul li {
	padding:0.3em 0 0.3em 0;
	font-size:1.2em;
	line-height: 1.2em;
	position: relative;
	z-index:10;
	border-bottom:1px solid #e9e9e9;
}

nav ul li:last-of-type {
	border:0;
}

nav ul li li {
	border:none;
	padding:0.2em 0.3em 0.2em 0;
}

.current_page_item a, .current-menu-item a, .current-menu-parent .current-menu-parent a, .current-post-ancestor .current-menu-parent a, .current-category-ancestor .current-category-ancestor a, .current-post-ancestor .current-post-ancestor a {
	color: #006d95;
}

.current-menu-item li a {
	color: #7d2c27;
}

.sub-menu {
	margin:0.5em 0;
	font-size: 0.7em;
	display: none;
}

.current-menu-item ul , .current-menu-ancestor ul {
	display: block;
}

h1.logo {
	font-size: 0;
	margin:0;
	position: relative;
}

h1.logo .svg {
	width:100%;
	height: 100%;
	min-width: 100%;
}

.logo a {
	display: block;
	width: 100%;
	height:100%;
	z-index: 10;
	position: absolute;
}
.logo.dt {
	display: none;
	display: block\9;  /*IE Hack*/
}

/*login meuk*/
#slidelogin {
	padding:0;
	text-align: right;
	margin-bottom: 1em;
}

#beheerlink, #logoutlink {
	display: block;
	float: right;
}

#beheerlogin {
	display: none;
	float: right;
	clear: both;
}

.ztop {
	z-index: 0;
	background: #fff;
}

#login-head {
	display: none;
	position: absolute;
	text-align: center;
	overflow: hidden;
	background: #fff;
	padding:0.2em 1em;
	top:0;
	right:10%;
	border-radius:0 0 2em 2em;
	border:7px solid #e9e9e9;
	border-top:0;
	cursor:pointer;
	color:#7d2c27;
	transition:all 0.2s ease-in;
}

#login-head:hover {
	color:#006d95;
}

#menu-login-menu {
	float: right;
}

#menu-login-menu li {
	list-style: none;
	margin: 0 0.5em 0 0;
	float: right;
}

#menu-login-menu li:after {
	content: " | "
}

.login-row {
	float: right;
	clear:both;
}

.lwa label {
	margin-right:0.5em;
    float: left;
    width: auto;
    padding-top:0.6em;
}

.lwa-links label {
	width: auto;
	padding-top:0.2em;
}

.lwa-links {
	padding-top: 0.5em;
}

input.lwa-rememberme {
	margin-left: 0;
	margin-right: 0.3em;
	float: left;
}

.lwa input {
    margin-top: 0.5em;
}

/*extra tekst stijlen*/
.nieuws .hentry h3 {
	margin-bottom:1em;
}

.nieuws p {
	margin-bottom:1em;
}

.nieuws img {
	display: none;
}

a img {
	border-bottom:5px solid #7d2c27;
	transition:all ease-in 0.2s;
	-webkit-box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
	-moz-box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
	box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
}

#main-content img {
	-webkit-box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
	-moz-box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
	box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
}

a:hover img {
	border-color: #006d95;
}

/*entries enzo*/
.gallery {
	display: flex;
    flex-wrap: wrap;
}

.gallery-caption {
	display: none;
}

.gallery img {
	margin-bottom: 0;
}

.gallery a {
	margin:0;
}

.gallery figure {
	width:23.5%;
	float:left;
	margin-right:2%;
	padding:0;
}

.gallery figure:nth-child(4n) {
	margin-right:0;
}


/*#main-content img {
	width: auto;
}*/

#main-content img.fullwidth-pic {
	width: 100%;
}

.hentry {
	margin-bottom: 1em;
}

.hentry h3 {
	margin-bottom: 0.3em;
}

.navigation {
	width: 100%;
}

.nav-previous, .nav-next  {
	float:left;
}

.spacer {
	width:1em;
	float:left;
}

.entry-meta {
	color: #7b7b7b;
	font-size:80%;
}
.single .entry-meta {
	font-size: 100%;
	display: inline;
	float: left;
}
.single .entry-meta:after {
	color: #222;
	content: " -\00a0";
}
.nieuws .entry-meta {
	margin-top:-0.5em;
}

.entry-meta:after {
	content:'\00a0';
}

.catimg img {
	width: 100% !important;
}

/*footer*/

footer {
	background: #373737; /* Old browsers */
	background: -moz-linear-gradient(top,  #373737 0%, #464646 16%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#373737), color-stop(16%,#464646)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #373737 0%,#464646 16%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #373737 0%,#464646 16%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #373737 0%,#464646 16%); /* IE10+ */
	background: linear-gradient(to bottom,  #373737 0%,#464646 16%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#373737', endColorstr='#464646',GradientType=0 ); /* IE6-9 */
	color:#ccc;
	padding:1em;
	text-align: center;
	margin-top: 1.414em;
	border-top:0.4em solid #e9e9e9;
	font-family: 'Marcellus', serif;
	font-size:0.9em;
}

footer span {
	display: block;
	float: none;
}

footer a {
	color:#ccc;
}

.breadcrumbs {
	font-family: 'Marcellus', serif;
}

.breadcrumbs a, .wp-pagenavi a {
	font-weight: normal;
}

p.wp-caption-text {
	font-style: italic;
	text-align: center;
	width: 100% !important;
}

.wp-caption {
	max-width: 100% !important;
	width: auto !important;
}

/*sidebar*/
.widget-area ul {
	list-style: none;
	margin: 0;
}

#nav-below {
	margin-bottom:1em;
}

.sticky-wrapper {
	height: auto;
}

/*frontpage*/
.frontpage img {
	margin-bottom: 0;
}

.frontpage .fppic {
	position: relative;
	display: block;
}

.frontpage h3 {
	position: absolute;
	padding:2% 3%;
	bottom: 5px;
	width: 94%;
	background:#000;
	background: rgba(0,0,0,0.6);
	color: #fff;
	transition:all ease 0.3s;
}

.frontpage:hover h3 {
	background: rgba(0,0,0,0.9);
}

h3.video {
	background: rgba(0,0,0,0.6) !important;
	position: relative;
	bottom: 0;
	border-bottom:5px solid #7d2c27;
}

.fpshadow {
	box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
}

/*Vakken custom*/
.vakken h2 {
	font-size: 1.3em;
}

/* iframe embed */
.embed-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 1em;
}
.embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Media queries
---------------------------------------- */

/* The media queries included in here are only placeholder. Modify them as your content requires */

@media only screen and (min-width: 480px) {
	/* Wide mobile (480px+) styles go here */
	.container, .header {
		width: 98%;
	}

	.grid.logo,
	.grid-1,
	.grid-2,
	.grid-3,
	.grid-4,
	.grid-5,
	.grid-6,
	.grid-half,
	.grid-full,
	.grid-unit {
		float: left;
		width:96.969696969697%;
		margin:0 1.515151515152% 1em;
		padding:0;
	}

	.grid-1kol {
		width:96.969696969697%;
	}

	.gallery .grid-unit,
	.grid-half {
		width:46.969696969697%;
		margin: 0 1.515151515152% 1em;
	}

	.grid-flow-opposite{
		float:right
	}

	.grid.logo {
		width:63.636363636364%;
		margin:0;
	}

	h1.logo {
		margin:0;
		position: relative;
		line-height: 1em;
	}

	img.logodt {
		box-shadow: none;
	}

	#main-content #search-inputs {
		width:70%;
	}
	.vakken {
		-moz-column-count:2;
		-webkit-column-count:2;
		column-count:2;
		column-gap:40px;
		-moz-column-gap:40px; /* Firefox */
		-webkit-column-gap:40px; /* Safari and Chrome */
	}


}

@media only screen and (min-width: 768px) {
	/* Tablets/netbooks (768px+) styles go here */
	#login-head {
		display: block;
	}
	header .fullwidth {
		border: 0;
	}
	.header {
		padding: 0;
	}
	.banner img.barlaeus {
		border-top:7px solid #e9e9e9;
	}

	#main-content {
		padding-bottom: 4em;
	}

	.archive-meta p {
	}

	.sticky-wrapper {
		height: auto;
	}
	
	.grid-1.search {
		text-align: right;
	}

	header {
		background: #fff;
		position: relative;
	}

	.stuck {
		position: fixed;
		top:0;
		z-index: 99;
	}

	.admin-bar .stuck {
		top:28px;
	}

	.fullwidth.stuck {
		width: 100%;
		border-bottom:7px solid #e9e9e9;
		background: #fff;
		-webkit-box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
		-moz-box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
		box-shadow: 3px 4px 4px rgba(40, 40, 40, 0.5);
	}

	.fullwidth.stuck .sub-menu {
		max-height: 0;
		visibility: hidden;
		opacity: 0;
	}

	.fullwidth.stuck nav ul li:hover ul {
		max-height: 30em;
		visibility: visible;
		opacity: 1;
	}

	.container {
		width: 100%;
	}

	nav {
	}

	nav ul li {
		margin:0 0.8em 0 0;
		float:left;
		border:none;
	}

	nav ul li:last-of-type {
		margin:0;
	}

	nav ul li a:hover, nav ul li.current-page-ancestor .nolink {
		color: #006d95 !important;
	}

	nav ul li:hover ul /*, .current_page_item ul, .current_page_ancestor ul, .current-menu-parent ul, .current-menu-item ul, .current-post-ancestor ul, .current-category-ancestor ul*/
	{
		margin:0.5em 0 0.5em 0;
		max-height:30em;
		opacity: 1;
		z-index:1;
		visibility: visible;
		z-index: 99;
	}

	.grid-1     { width: 13.636363636364%; }
	.grid-2     { width: 30.30303030303%; }
	.grid-3,
	.grid-half  { width: 46.969696969697%; }
	.grid-4     { width: 63.636363636364%; }
	.grid-5     { width: 80.30303030303%; }
	.grid-6,
	.grid-full, .grid-full.menu  { width: 96.969696969697%; }

	.grid-1kol {
		width:70%;
	}

	.logo.zwart {
		display: none;
	}
	.logo.dt {
		display: block;
		position: absolute;
		margin-top:7px;
		left:1.4%;
	}
	.logo a {
		z-index: 0;
		position: relative;
	}
	img.logodt {
		border:0;
		height: 100%;
		width: auto;

	}
	.gallery .grid-unit {
		width: 30.30303030303%;
	}

	.content-pad-right {
		padding-right: 4%; /* Use (or don't) as necessary. */
	}

	.content-pad-left {
		padding-left: 4%;
	}

	footer {
		position: fixed;
		bottom: 0;
		width: 100%;
		opacity: 0.9;
		transition:all ease 0.3s;
	}

	footer:hover {
		opacity: 1;
	}

	footer span {
		display: inline;
		margin-right:1em;
	}

	.grid-5.menu, #mainsearch {
		display: block;
	}

	.sub-menu {
		display: block;
		margin:0;
		visibility: hidden;
		max-height: 0;
		font-size: 0.7em;
		transition:all .4s ease-in-out;
		opacity: 0;
		z-index:-100;
		height:auto;
	}

	nav ul.sub-menu {
		margin-top:1em;
		position: absolute;
		background: #fff;
		padding:1em;
		left:-1em;
		top:1.3em;
		z-index:1;
		border-bottom: 7px solid #e9e9e9;
		text-align: left;
		font-size: 0.7em;
	}

	nav ul li:hover ul, .current_page_item ul, .current_page_ancestor ul, .current-menu-parent ul {
		margin-top:1em;
	}

	nav ul.sub-menu li {
		float:none;
	}

	.icons {
		display: none;
	}
	#main-content #search-inputs {
		width:40%;
	}

	#mainsearch {
		display: block;
	}
	.vakken {
		-moz-column-count:3;
		-webkit-column-count:3;
		column-count:3;
		column-gap:40px;
		-moz-column-gap:40px; /* Firefox */
		-webkit-column-gap:40px; /* Safari and Chrome */
	}
}

@media only screen and (min-width: 1024px) { 
	/* Desktops (1024px+) styles go herde */	
	.grid-1kol {
		width:50%;
	}
}

/* Micro Clearfix - http://nicolasgallagher.com/micro-clearfix-hack/
For best results, use your favorite clearfix here.
-------------------------------------------------------------- */
.cf:before, .cf:after { content:""; display:table; }
.cf:after { clear:both; }
.cf { zoom:1; } /* For IE 6/7 (trigger hasLayout) */


/* Print styles
---------------------------------------- */

/* Print styles inlined to avoid extra HTTP connection */

@media print {
	* {
		background: transparent !important;
		color: black !important; /* Black prints faster: sanbeiji.com/archives/953 */
		text-shadow: none !important;
		filter: none !important;
		-ms-filter: none !important;
	}

	a {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/* Do not show javascript and internal links */
	a[href^="javascript:"]:after, a[href^="#"]:after {
		content: ""; 
	}

	/* Printing Tables: css-discuss.incutio.com/wiki/Printing_Tables */
	thead {
		display: table-header-group;
	}

	tr, img {
		page-break-inside: avoid;
	}

	@page {
		margin: 0.5cm;
	}

	p, h2, h3 {
		orphans: 3;
		widows: 3;
	}

	h2, h3 {
		page-break-after: avoid;
	}
}