/*
Theme Name: AKG
Theme URI: http://akg.hu/
Description: Az Alternatív Közgazdasági Gimnázium wordpress sablonja.
Version: 1.0
Author: Szalai Gergő
Author URI: http://gergoszalai.com/
Tags: magazine
*/

/*-----------------------------------------------------------------------------------*/
/*	Base Styles
/*-----------------------------------------------------------------------------------*/

div, aside {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

a:link, a:active, a:visited {
	color: #3399cc;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Archivo Narrow', sans-serif;
	line-height: normal;
}

h1 {
	font-size: 2.500em;
}

h2 {
	font-size: 2.250em;
}

h3 {
	font-size: 2.000em;
}

h4 {
	font-size: 1.750em;
}

h5  {
	font-size: 1.500em;
}

h6 {
	font-size: 1.250em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
	color: #444;
	text-decoration: none;
}

nav > ul {
	list-style-type: none;
}

iframe.map {
	width: 100%;
	border: none;
}

/* WordPress Core */
.alignnone {
	margin: 0.500em 1.500em 1.500em 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 1.500em auto 1.500em auto;
}

.alignright {
	float:right;
	margin: 0.500em 0 1.500em 1.500em;
}

.alignleft {
	float: left;
	margin: 0.500em 1.500em 1.500em 0;
}

.aligncenter {
	display: block;
	margin: 1.500em auto 1.500em auto;
}

a img.alignright {
	float: right;
	margin: 0.500em 0 1.500em 1.500em;
}

a img.alignnone {
	margin: 0.500em 1.500em 1.500em 0;
}

a img.alignleft {
	float: left;
	margin: 0.500em 1.500em 1.500em 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}

.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 5px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text, .wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 5px 4px 0;
}

/* Wp Gallery */

.gallery {
	list-style-type: none;
	padding: 0;
}

.gallery .gallery-item {

}

.gallery-icon {
	margin: 0;
	padding: 0 5px;
}

.gallery img {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

/*-----------------------------------------------------------------------------------*/
/*	Layout
/*-----------------------------------------------------------------------------------*/

body {
	background: url(img/bg-body.jpg) repeat;
	color: #444;
}

div.page-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 600px;
	z-index: -1;
}

header.site-header {
	margin-bottom: 100px;
}

	/* Header Navigation */

	.navbar-inner {
		-webkit-box-shadow: 0 0 5px rgba(0,0,0,.35);
		-moz-box-shadow: 0 0 5px rgba(0,0,0,.35);
		box-shadow: 0 0 5px rgba(0,0,0,.35);
		border-bottom: solid 1px #26abe2;
background: rgba(38,170,226,0.75);
background: -moz-linear-gradient(left, rgba(38,170,226,0.75) 0%, rgba(38,170,226,1) 50%, rgba(38,170,226,0.75) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(38,170,226,0.75)), color-stop(50%, rgba(38,170,226,1)), color-stop(100%, rgba(38,170,226,0.75)));
background: -webkit-linear-gradient(left, rgba(38,170,226,0.75) 0%, rgba(38,170,226,1) 50%, rgba(38,170,226,0.75) 100%);
background: -o-linear-gradient(left, rgba(38,170,226,0.75) 0%, rgba(38,170,226,1) 50%, rgba(38,170,226,0.75) 100%);
background: -ms-linear-gradient(left, rgba(38,170,226,0.75) 0%, rgba(38,170,226,1) 50%, rgba(38,170,226,0.75) 100%);
background: linear-gradient(to right, rgba(38,170,226,0.75) 0%, rgba(38,170,226,1) 50%, rgba(38,170,226,0.75) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#26aae2', endColorstr='#26aae2', GradientType=1 );
	}

	nav#nav a {
		color: #fff;
		text-decoration: none;
		display: block;
	}

	nav#nav a:hover {
		color: #444;
	}

	nav#nav > a {
		display: none;
	}

	nav#nav > ul {
		/*font-family: 'Mouse Memoirs', sans-serif;*/
		font-family: 'Archivo Narrow', sans-serif;
		float: left;
		margin: 0;
	}

	nav#nav > ul > li {
		float:left;
	}

	nav#nav li {
		position: relative;
	}

	nav#nav > ul > li > a {
		padding: 16px 10px 15px;
		font-size: 1.125em;
		font-weight: bold;
		text-transform: uppercase;
		letter-spacing: 0;
		text-shadow: none;
	}

		/* Level 1 */
		ul.sub-menu {
			display: none;
			position: absolute;
			top: 100%;
			margin: 0;
			padding: 0;
			width: 175px;
			list-style-type: none;
			background: #26abe2 url(img/pat-widget.png) repeat;
			font-size: 1.125em;
			border: 1px solid rgba(0, 0, 0, 0.2);
			border-radius: 10px;
			-moz-border-radius: 10px;
			-webkit-border-radius: 10px;
			-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
			-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
			box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
			z-index: 9999;
		}

		nav#nav ul li:hover ul.sub-menu {
			display: block;
		}

		nav#nav ul > li > ul.sub-menu:before {
			content: '';
			display: inline-block;
			border-left: 7px solid transparent;
			border-right: 7px solid transparent;
			border-bottom: 7px solid #ccc;
			border-bottom-color: #26abe2;
			position: absolute;
			top: -7px;
			left: 15px;
		}

		ul.sub-menu li a {
			padding: 5px 10px;
		}
		
		/* Level 2 */
		nav#nav ul > li > ul > li > ul.sub-menu:before {
			content: '';
			display: inline-block;
			border-top: 7px solid transparent;
			border-bottom: 7px solid transparent;
			border-right: 7px solid #ccc;
			border-right-color: #26abe2;
			position: absolute;
			top: 15px;
			left: -14px;
		}

		nav#nav ul li ul li {
			position: relative;
		}

		nav#nav ul li ul li ul.sub-menu, nav#nav ul li:hover ul li ul.sub-menu {
			display:none;
		}

		nav#nav ul li ul li:hover ul.sub-menu {
			display: block;
			position: absolute;
			top: 0;
			left: 100%;
		}

		nav#nav ul li ul li ul.sub-menu li a {
			font-size: 0.875em;
		}



	/* Social Icons */
	div.social {
		margin-right: 10px;
		padding: 10px 10px 10px 0;
		border-right: 1px solid #1b92c5;
		float: right;
	}

	div.social a {
		margin-left: 5px;
		display: inline-block !important;
		width: 31px;
		height: 31px;
		text-indent: -9999px;
		background: url(img/sprites.png) no-repeat;
	}

	div.social a.facebookIcon {
		background-position: -31px 0;
	}

	div.social a.facebookIcon:hover {
		background-position: -31px -31px;
	}

	div.social a.twitterIcon {
		background-position: -62px 0;
	}

	div.social a.twitterIcon:hover {
		background-position: -62px -31px;
	}

	div.social a.rssIcon {
		background-position: 0 0;
	}

	div.social a.rssIcon:hover {
		background-position: 0 -31px;
	}

	/* Searchform */
	div.searchform {
		float:right;
		padding: 10px 0;
	}

	div.searchform form.form-search {
		margin: 0;
	}

#main {
	background-color: #fff;
	padding: 90px 0 20px 0;
	border: 5px solid rgba(255, 255, 255, .50);
	position: relative;
	
	-moz-background-clip: border;     /* Firefox 3.6 */
	-webkit-background-clip: border;  /* Safari 4? Chrome 6? */
	background-clip: border-box;      /* Firefox 4, Safari 5, Opera 10, IE 9 */
				
	-moz-background-clip: padding;     /* Firefox 3.6 */
	-webkit-background-clip: padding;  /* Safari 4? Chrome 6? */
	background-clip: padding-box;      /* Firefox 4, Safari 5, Opera 10, IE 9 */

	box-shadow: 0 0 15px rgba(0, 0, 0, .15);
	-moz-box-shadow: 0 0 15px rgba(0, 0, 0, .15);
	-webkit-box-shadow: 0 0 15px rgba(0, 0, 0, .15);
	
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#main:before {
	content: '';
	display: block;
	width: 140px;
	height: 140px;
	position: absolute;
	top: -60px;
	left: 50%;
	margin-left: -70px;
	padding: 15px;
	background: #fff;
	border-radius: 70px;
	-moz-border-radius: 70px;
	-webkit-border-radius: 70px;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

h1.siteLogo, h2.siteLogo {
	width: 111px;
	height: 113;
	position: absolute;
	top: -55px;
	left: 50%;
	margin-left: -55px;
}

/* Homepage Styles */

div.topStories {}

header.homePage-header {
	margin: 0 0 2.000em 0;
	padding: 0 0 0.750em 0;
	background: url(img/border-style1.png) repeat-x left bottom;
	position: relative;
}

h2.homePage-title {
	font-size: 3.000em;
	margin: 0;
	padding: 0 0 0 40px;
	background: url(img/sprites.png) no-repeat;
}

div.topStories h2.homePage-title {
	background-position: 0 -62px;
}

header span.titleMeta {
	position: absolute;
	right: 0;
	top: 20px;
}

.typeBox {
	margin-top: 40px;
}

.typeBox header span.titleMeta {
	top: 10px;
}

h2.typeBox-title {
	font-size: 2.000em;
	margin: 0;
	padding: 0 0 0 40px;
	background: url(img/sprites.png) no-repeat;
}

	h2.termbuvar {
		background-position: 0 -118px;
	}

	h2.foto {
		background-position: 0 -167px;
	}

	h2.testneveles {
		background-position: 0 -213px;
	}

	h2.robotika {
		background-position: 0 -265px;
	}
	h2.elsosegely {
		background-position: 0 -315px;
	}
	h2.paletta {
		background-position: 0 -365px;
	}
	h2.altisk {
		background-position: 0 -69px;
	}
	h2.konyvtar {
		background-position: 0 -415px;
	}

.typeBox h2.post-title {}

/* Entry Content */

article {
	margin: 0 0 20px 0;
	padding: 0 0 20px 0;
	background: url(img/border-style2.png) repeat-x left bottom;
}

article:last-child {
	margin: 0;
	padding: 0;
	background: none;
}

figure.post-thumb.alignright {
	float:right;
	margin: 0 0 1.500em 1.500em;
}

figure.post-thumb.alignleft {
	float: left;
	margin: 0 1.500em 1.500em 0;
}

figure.post-thumb.aligncenter {
	display: block;
	margin: 0 auto 1.000em auto;
}

figure.post-thumb {
	display: block;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

figure.post-thumb img {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

header.entry-header {
	margin: 0 0 2.000em 0;
	padding: 0;
	border: none;
}

header.page-header {
	margin: 0 0 2.000em 0;
	padding: 0 0 0.500em 0;
	background: url(img/border-style1.png) repeat-x left bottom;
	position: relative;
	border: none;
}

header.post-header {
	margin: 0 0 20px 0;
}

h1.entry-title, h1.page-title {
	margin: 0;
	font-size: 3.000em;
}

h2.post-title {
	margin: 0;
}

.rightCol h2.post-title, .typeBox h2.post-title {
	font-size: 2.000em;
}

div.archive-meta {
	margin: 20px 0 20px 0;
}

div.entry-meta {
	margin: 0.500em 0 0 0;
	font-size: 0.875em;
}

div.entry-meta span {
	margin: 0 10px 0 0;
}

div.entry-content {
}

div.entry-content h2 {
	font-size: 2.250em;
	margin: 1.000em 0 1.000em 0;
	clear: both;
}

div.entry-content h3 {
	font-size: 2.000em;
	margin: 1.000em 0 1.000em 0;
	clear: both;
}

div.entry-content h4 {
	font-size: 1.750em;
	margin: 1.000em 0 1.000em 0;
	clear: both;
}

div.entry-content h5  {
	font-size: 1.500em;
	margin: 1.000em 0 1.000em 0;
	clear: both;
}

div.entry-content h6 {
	font-size: 1.250em;
	margin: 1.000em 0 1.000em 0;
	clear: both;
}

div.entry-content p {
	margin-bottom: 1.500em;
}

body.home div.entry-content p {
	margin: 0;
}

/* Comments */

div#comments {}

h2.comments-title {
	margin: 1.500em 0;
}

ol.commentlist {
	/*font-family: 'Mouse Memoirs', sans-serif;*/
	font-family: 'Archivo Narrow', sans-serif;
	font-size: 2.000em;
}

ol.children {}

ol.commentlist li.comment, ol.commentlist li.trackback {}

ol.commentlist li.trackback, ol.commentlist li.pingback {
	margin: 1.500em 0;
}

ol.children li {}

li.comment article.comment {
	background: none;
	border-bottom: 3px double #e4e4e4;
	padding: 0 0 1.500em 0;
	margin: 0 0 1.500em 0;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.500em;
}

article.comment header.comment-meta {
	margin: 0 0 1.000em 0;
}

header.comment-meta img.avatar {
	margin-right: 1.000em;
}

section.comment-content {

}

div.reply {}

nav#comment-nav-below {
	margin: 0 0 1.500em 0;
}

div.nav-previous {
	float: left;
}

div.nav-next {
	float: right;
}

ol.commentlist div#respond {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.500em;
}



/* Sidebar */

#sidebar {}

aside.widget {
	background: url(img/pat-widget.png) repeat;
	background-color: #d4d4d4;
	padding: 0 1px 10px 1px;
	margin: 0 0 20px 0;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

aside.widget:last-child {
	margin: 0;
}

h3.widget-title {
	padding: 10px;
	margin: 0;
}

aside.widget > div, aside.widget > ul {
	background: #fff;
	padding: 10px;
	margin: 0;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

aside.widget div ul {
	margin: 10px 0;
	padding: 0;
}

aside.widget div ul ul, aside.widget ul ul {
	margin: 0 0 5px 0;
	padding: 0;
}

aside.widget ul li {
	margin: 0 0 0 20px;
	list-style-position: outside;
}

aside.widget article .entry-content p {
	margin: 0;
	font-size: 0.875em;
}

/* Archive Widget */

aside.widget_archive ul {
	overflow: hidden;
	font-size: 0.750em;
}

aside.widget_archive ul li {
	width: 40%;
	float: left;
}

/* Image Widget */

aside.widget_image {
	background-color: transparent;
	background: none;
	padding: 0;

	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}

aside.widget_image figure {
	margin: 0;
}

/* Like Box Widget */

aside.widget_likebox {
	background-color: #26abe2;
}

aside.widget_likebox > div {
	padding: 10px;
}

/* This element holds injected scripts inside iframes that in some cases may stretch layouts. So, we're just hiding it. */
#fb-root {
  display: none;
}

/* To fill the container and nothing else */
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
  width: 100% !important;
}

.pam {
	padding: 6px !important;
}

/* Calendar Widget */

aside.widget_calendar, aside.widget_event_list {
	background-color: #fecb08;
}

table#wp-calendar {
	width: 100%;
	text-align: center;
}

table#wp-calendar caption {}

table#wp-calendar td {
	line-height: 30px;
}

table#wp-calendar tbody td {
	border: 1px solid #e4e4e4;
}

table#wp-calendar td a {
	display: block;
	background-color: #fecb08;
	color: #222;
	font-weight: bold;
}

/* Event list widget */

aside.widget article {
	border-bottom: 3px double #e4e4e4;
	padding: 0 0 1.000em 0;
	margin: 0 0 1.000em 0;
	background: none;
}

aside.widget div > article:last-child {
	margin: 0;
	padding: 0;
	border: none;
}

aside.widget article header.post-header {
	margin: 0 0 0.500em 0;
}

aside.widget article .event-date {
	margin: 0 0 0.300em 0;
}

aside.widget article .post-title {
	margin: 0;
}

/* Adrotate widget */

aside.widget_adrotate_widgets {
	background: none;
	background-color: transparent;
	padding: 0;

	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}

aside.widget_adrotate_widgets div.block_outer {
	padding: 0;
	background: transparent;

	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}

aside.widget_adrotate_widgets div.block_inner {

}

/* Footer */

footer {
	margin-top: 40px;
	padding-bottom: 20px;
}

	p.copyright {
		padding: 30px 0;
		margin: 0;
	}

	footer img.footerLogo {
		margin: 0 auto;
		display: block;
		opacity: .35;
	}
	
	/* Footer Navigation */
	nav#footer-navigation {
		text-align: right;
		padding: 30px 0;
	}

	nav#footer-navigation ul li {
		margin-left: 10px;
	}

	nav#footer-navigation ul li a {
		color: #444;
	}

	nav#footer-navigation ul li a:hover {
		color: #444;
	}

/*-----------------------------------------------------------------------------------*/
/*	WP PageNavi
/*-----------------------------------------------------------------------------------*/

.wp-pagenavi {
	clear: both;
	margin-top: 40px;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	color: #fff;
	background: #3399cc;
	padding: 10px 15px;
	margin: 0;
}

.wp-pagenavi a:hover {
	-webkit-transition:background-color 0.1s linear;
	-moz-transition:background-color 0.1s linear;
	-o-transition:background-color 0.1s linear;
	transition:background-color 0.1s linear;
	background: #4BA5D2;
}

.wp-pagenavi span.current {
	font-weight: bold;
	background: #4BA5D2;
}

.wp-pagenavi span.pages {
	-webkit-border-top-left-radius: 18px;
	-webkit-border-bottom-left-radius: 18px;
	-moz-border-radius-topleft: 18px;
	-moz-border-radius-bottomleft: 18px;
	border-top-left-radius: 18px;
	border-bottom-left-radius: 18px;
}

.wp-pagenavi a.nextpostslink {
	-webkit-border-top-right-radius: 18px;
	-webkit-border-bottom-right-radius: 18px;
	-moz-border-radius-topright: 18px;
	-moz-border-radius-bottomright: 18px;
	border-top-right-radius: 18px;
	border-bottom-right-radius: 18px;
}

/*-----------------------------------------------------------------------------------*/
/*	SwipeBox
/*-----------------------------------------------------------------------------------*/

html.swipebox {
  overflow: hidden!important;
}

#swipebox-overlay img {
  border: none!important;
}

#swipebox-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999!important;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

#swipebox-slider {
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  position: absolute;
  display: none;
}

#swipebox-slider .slide {
  background: url("img/loader.gif") no-repeat center center;
  height: 100%;
  width: 100%;
  line-height: 1px;
  text-align: center;
  display: inline-block;
}

#swipebox-slider .slide:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}

#swipebox-slider .slide img,
#swipebox-slider .slide .swipebox-video-container {
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  vertical-align: middle;
}

#swipebox-slider .slide .swipebox-video-container {
  background:none;
  max-width: 1140px;
  max-height: 100%;
  width: 100%;
  padding:5%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}


#swipebox-slider .slide .swipebox-video-container .swipebox-video{
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
}

#swipebox-slider .slide .swipebox-video-container .swipebox-video iframe{
  width: 100%!important; 
  height: 100%!important;
  position: absolute;
  top: 0; left: 0;
}

#swipebox-action, #swipebox-caption {
  position: absolute;
  left: 0;
  z-index: 999;
  height: 50px;
  width: 100%;
}

#swipebox-action {
  bottom: -50px;
}
#swipebox-action.visible-bars {
  bottom: 0;
}

#swipebox-action.force-visible-bars {
  bottom: 0!important;
}

#swipebox-caption {
  top: -50px;
  text-align: center;
}
#swipebox-caption.visible-bars {
  top: 0;
}

#swipebox-caption.force-visible-bars {
  top: 0!important;
}

#swipebox-action #swipebox-prev, #swipebox-action #swipebox-next,
#swipebox-action #swipebox-close {
  background-image: url("img/icons.png");
  background-repeat: no-repeat;
  border: none!important;
  text-decoration: none!important;
  cursor: pointer;
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0;
}

#swipebox-action #swipebox-close {
  background-position: 15px 12px;
  left: 40px;
}

#swipebox-action #swipebox-prev {
  background-position: -32px 13px;
  right: 100px;
}

#swipebox-action #swipebox-next {
  background-position: -78px 13px;
  right: 40px;
}

#swipebox-action #swipebox-prev.disabled,
#swipebox-action #swipebox-next.disabled {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
  opacity: 0.3;
}

#swipebox-slider.rightSpring {
  -moz-animation: rightSpring 0.3s;
  -webkit-animation: rightSpring 0.3s;
}

#swipebox-slider.leftSpring {
  -moz-animation: leftSpring 0.3s;
  -webkit-animation: leftSpring 0.3s;
}

@-moz-keyframes rightSpring {
  0% {
    margin-left: 0px;
  }

  50% {
    margin-left: -30px;
  }

  100% {
    margin-left: 0px;
  }
}

@-moz-keyframes leftSpring {
  0% {
    margin-left: 0px;
  }

  50% {
    margin-left: 30px;
  }

  100% {
    margin-left: 0px;
  }
}

@-webkit-keyframes rightSpring {
  0% {
    margin-left: 0px;
  }

  50% {
    margin-left: -30px;
  }

  100% {
    margin-left: 0px;
  }
}

@-webkit-keyframes leftSpring {
  0% {
    margin-left: 0px;
  }

  50% {
    margin-left: 30px;
  }

  100% {
    margin-left: 0px;
  }
}

@media screen and (max-width: 800px) {
  #swipebox-action #swipebox-close {
    left: 0;
  }

  #swipebox-action #swipebox-prev {
    right: 60px;
  }

  #swipebox-action #swipebox-next {
    right: 0;
  }
}


/* Skin 
--------------------------*/
#swipebox-overlay {
  background: #0d0d0d;
}

#swipebox-action, #swipebox-caption {
  text-shadow: 1px 1px 1px black;
  background-color: #0d0d0d;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0d0d0d), color-stop(100%, #000000));
  background-image: -webkit-linear-gradient(#0d0d0d, #000000);
  background-image: -moz-linear-gradient(#0d0d0d, #000000);
  background-image: -o-linear-gradient(#0d0d0d, #000000);
  background-image: linear-gradient(#0d0d0d, #000000);
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=95);
  opacity: 0.95;
}

#swipebox-action {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#swipebox-caption {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: white!important;
  font-size: 15px;
  line-height: 43px;
  font-family: Helvetica, Arial, sans-serif;
}


/*-----------------------------------------------------------------------------------*/
/*	Responsive Layout
/*-----------------------------------------------------------------------------------*/

/* Large desktop */
@media (min-width: 1200px)  {}
 
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	#main {
		padding: 90px 20px 20px 20px;
	}

	header.site-header {
	}

	/* Navigation */
	.navbar-inner {
		background: #26abe2;
	}

	nav#nav {
		position: relative;
		top: auto;
		left: auto;
	}
		nav#nav > a {
			width: 3.125em;
			height: 3.125em;
			text-align: left;
			text-indent: -9999px;
			background-color: #26abe2;
			position: relative;
		}

		/* Icon */

		nav#nav > a:before, nav#nav > a:after {
			position: absolute;
			border: 2px solid #fff;
			top: 35%;
			left: 25%;
			right: 25%;
			content: '';
		}

		nav#nav > a:before, nav#nav > a:after {
			position: absolute;
			border: 2px solid #fff;
			top: 35%;
			left: 25%;
			right: 25%;
			content: '';
		}

		nav#nav > a:after {
			top: 60%;
		}

		nav#nav:not( :target ) > a:first-of-type,
		nav#nav:target > a:last-of-type {
			display: block;
		}

		 /* first level */
		nav#nav > ul {
			height: auto;
			display: none;
			position: absolute;
			left: 0;
			right: 0;
			z-index: 9999;
		}
			#nav:target > ul {
				display: block;
			}
			nav#nav > ul > li {
				width: 100%;
				float: none;
			}
			nav#nav > ul > li > a {
				height: auto;
				text-align: left;
				padding: 10px; /* 20 (24) */
				background-color: #26abe2;
			}
	 
		/* Level 2 */
		nav#nav li ul {
			position: static;
			width: 100%;
			background: #26abe2;
			border-radius: 0;
			box-shadow: none;
			-webkit-box-shadow: none;
			-moz-box-shadow: none;
			border: 0;
		}

		nav#nav ul li ul.sub-menu li a {
			padding: 10px 10px 10px 20px;
		}

		/* Level 3 */
		nav#nav ul li ul li ul.sub-menu, nav#nav ul li ul li:hover ul.sub-menu {
			position: static;
			width: 100%;
			background: #26abe2;
			border-radius: 0;
			left: 0;
			right: 0;
			box-shadow: none;
			-webkit-box-shadow: none;
			-moz-box-shadow: none;
			border: 0;
		}

		nav#nav ul li ul li ul.sub-menu:before {
			border:none;
		}

		nav#nav ul li ul li ul.sub-menu li a {
			padding: 10px 10px 10px 30px;
		}

	/* Searchform */
	div.searchform {
		float:none;
		padding: 30px 0;
		width: 260px;
		margin: 0 auto;
	}

	/* Content */
	.typeBox .span6 {
		margin-bottom: 40px;
	}

	/* Footer Navigation */
	nav#footer-navigation, p.copyright {
		text-align: center;
	}
}
 
/* Landscape phones and down */
@media (max-width: 480px) { 

	h2.homePage-title {
		font-size: 1.750em;
		background: none;
		padding: 0;
	}

	h2.typeBox-title {
		font-size: 1.750em;
		background: none;
		padding: 0;
	}

	.leftCol {
		margin: 0 0 40px 0;
	}

	.topStories .article {
		margin: 0 0 20px 0;
		padding: 0 0 20px 0;
		background: url(img/border-style2.png) repeat-x left bottom;
	}

 }