@font-face {
	font-family: 'Source Sans Pro';
	font-style: normal;
	font-weight: 300;
	src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(/googlesans.ttf) format('truetype');
}

body {
	font-size: 16px;
	font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Source Sans Pro', sans-serif;
	color: #737373;
	margin: 0px;
	background: #bebebe;
}

#container {
	width: 1000px;
	max-width: 100%;
	margin: 0 auto;
	background: #ffffff;
	box-shadow: 0px 0px 10px rgba(97, 97, 97, 0.6);
}

/* HEADER */

header {
	background: #000 url('/i/headbg.jpg') no-repeat center center;
	background-size: 100%;
	padding: 2%;
	position:relative;
}

header ul#lang {
	float: right;
	padding: 0;
	margin: 0px;
}
header ul#lang li {
	display: inline;
	float: left;
	padding: 0px 2%;
}
nav {
	position: relative;
	padding: 0px;
	
}
nav ul {
	padding: 0;
	margin: 0px;
}
nav li {
	display: inline;
	float: left;
	padding: 0px 2%;
}
nav li a {
	color: #fff;
	display: block;
	text-align: center;
	text-decoration: none;
	line-height: 2em;
}
header nav li.selected a {
	color: #85d27a;
}

header nav li#lang {
	float: right;
	text-align:center;
}
header nav li#lang a {
	display: inline;
	padding: 0 0 0 5px;
}
header nav li#lang a img {
	width: 20px;
	border-radius: 3px;
}

nav a#pull {
	display: none;
	text-decoration: none;
}

header img.social {
	position: absolute;
	padding: 0;
	margin-top: 1%;
	max-width: 3.2%;
	min-width: 16px;
}

header img.social#soc_gplus {
	margin-left: 6%;	
}
header img.social#soc_tw {
	margin-left: 12%;	
}

header img#gymlogo {
	display: block;
	clear: both;
	margin: 0px auto;
	max-width: 66.5%;
	min-width: 300px;
}

header div {
	padding: 0.5% 0 3% 0;
	text-align: center;
	font-size: 1.9em;
	color: #fff;
}

header img#itunes {
	display: block;
	margin: 0 auto;
	max-width: 20.6%;
	min-width: 120px;
}

header img#iphone3d {
	display: block;
	position: absolute;
	margin: 0px auto;
	max-width: 32%;
	top: 80%;
	right: 5%;
}

/* CONTENT */

div#content h1 {
	font-size: 1.6em;
	color: #252525;
	font-weight: normal;
}

div#content h3 {
	font-size: 1.2em;
	color: #252525;
	font-weight: normal;
}

div#content a {
	color: #5eb95f;
	text-decoration: none;
}

div#content p {
	padding: 0;
	margin: 0 0 1em 0;
}

div#content hr {
	background-color: #eaeaea;
	height: 1px;
	border: none;
	width: 99%;
}

/* MAINPAGE */

section {
	clear: left;
	border-top: 1px solid #eaeaea;
	margin: 0 35% 3% 5%;
	line-height: 1.5em;
}
section#intro {
	margin-right: 43%;
}
section#intro img {
	display: none;
}

section img {
	max-width: 30%;
	float: left;
	margin-right: 3%;
}
section.left img {
	float: right;
	margin-left: 3%;
	margin-right: 0;
}
section img.galleryimg {
	max-width: 47%;
	float: left;
	margin-right: 3%;
}

section.left {
	text-align: right;
}
section a {
	display: inline-block;
	padding: 0.7em 1.2em;
	background-color: white;
	color: #5eb95f;
	border: solid 1px #5eb95f;
	border-radius: 10px;
}
section#intro a {
	background-color: #5eb95f;
	color: white;
}
section a.jmplink {
	display: inline;
	padding: 0;
	border: none;
	border-radius: 0;
}

div.mainpage section ul li {
	list-style-position: inside;
}

/* WORKOUT TOPLISTS */

div#wotables {
	clear: right;
	float: right;
	margin-right: 4%;
	margin-top: 3%;
	width: 28%;
}
div.mainpage div#wotables {
	margin-top: 0;
}
div#wotables table {
	width: 100%;
}
table.wos tr th {
	background-color: #525250;
	color: white;
	padding: 0.5em;
	font-weight: normal;
}
table.wos tr td a div {
	color: #525250;
	margin: 2px;
}
table.wos tr td {
	font-size: 0.9em;
	padding: 0.5em;
	background-color: #eaeae6;
	color: #525250;
	border-bottom: 1px solid #bfbeba;
}
table.wos tr td div {
	clear: both;
	padding: 2px;
}
table.wos tr td em {
	color: #84837f;
	font-size: 0.8em;
}
table.wos tr td span {
	float: left;
	display: inline-block;
	width: 39px;
	height: 36px;
	line-height: 39px;
	color: #eaeae6;
	text-align: center;
	background: url('/i/star.png') no-repeat;
	font-size: 12px;
	margin-right: 5px;
}
table.wos tr td img {
	float: left;
	width: 40px;
	margin-right: 5px;
}
div#wotables table.wos tr td span {
	float: right;
}
div#wotables a.morewo {
	float: right;
	padding: 1em 0 2em 0;
}

/* ARTICLE PAGES */

article {
	border-top: 1px solid #eaeaea;
	margin: 0 35% 3% 5%;
}

article#wolistarticle {
	margin: 0 5% 3% 5%;
}

/* WORKOUT LIST */

form#wofilters {
	text-align: center;
	clear: right;
	float: right;
	width: 25%;
	background-color: #525250;
	color: white;
	font-weight: normal;
	font-size: 0.9em;
	padding: 5px 0;
	margin: 0 3% 3% 0;
	border-radius: 10px;
}

form#wofilters div {
	padding: 5px 0;
}
form#wofilters div label {
	display: block;
	clear: both;
}
form#wofilters div input, form#wofilters div select {
	width: 80%;
}

form#wofilters input.subbtn {
	display: inline-block;
	padding: 0.7em 1.2em;
	background-color: #525250;
	color: white;
	border: solid 1px white;
	border-radius: 10px;
	margin: 5px;
}

table#wolist.wos, table#wodetails.wos {
	margin: 3% 0 3% 5%;
	width: 65%;
}

table#wolist.wos tr th, table#wodetails.wos tr th {
	text-align: left;
}

table#wolist.wos tr td div, table#wodetails.wos tr td div {
	float: left;
	clear: none;
	width: 48%;
	min-width: 200px;
} 

table#wodetails.wos {
	width: 90%;
}

ul.pager {
	padding: 0;
	margin: 1% 0 3% 5%;
	width: 62%;
}
ul.pager li {
	display: inline;
	padding: 0;
}
ul.pager li.next {
	float: right;
}


/* FEATURES */

div.gallerycontainer {
	margin: 0 35% 0 0;
	padding: 3% 0 3% 3%;
}
div.gallerybox {
	float: left;
	display: inline;
	width: 31%;
	min-height: 130px;
	margin-right: 2%;
}
div.gallerybox h3 {
	margin-top: 0;
	padding-top: 0;
}
div.galleryimg {
	text-align: center;
	font-size: 12px; 
}
div.galleryimg a.zoom img {
	max-width: 100%;
}

section div.watch {
    float: left; 
    width: 27%;
    margin: 2.5%; 
    text-align: center;
    font-size: 12px;
}

section div.watch img {
    max-width: 100%;
    border: solid black 1em;
    border-radius: 7%;
}

section img.iphone {
box-shadow: 0px 10px 35px -17px rgba(0,0,0,0.75);
}

section.itemtype_4 {
	
}

section.itemtype_4 img {
	float: left;
	margin: 0% 2% 0% 0;
	max-width: 100%;
	width: 240px;
}

section.itemtype_4 a.video {
	display: inline;
	border: none;
	background: transparent;
	padding: 0;
}

section.itemtype_4 a.norm {
	border: none;
	background: transparent;
	padding: 0;
}


/* FOOTER */

a#pagetop {
	clear: both;
	line-height: 2.2em;
	text-align: right;
	display: block;
	background-color: #262635;
	padding: 0 2%;
	color: #5eb95f;
	text-decoration: none;
}
footer {
	background-color: #d4d4d4;
	margin-bottom: 5%;
	padding: 2%;
}
footer nav li a {
	color: #262635;
	
}
footer a#itunesfooter img {
	display: block;
	clear: both;
	padding-top: 2%;
	max-width: 20.6%;
	min-width: 120px;
}

/* MODAL */

.md-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80%;
    max-width: 630px;
    height: 60%;
    z-index: 2000;
    visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.md-modal a#modalclose {
	position: absolute;
	top: -13px;
	right: -13px;
	background-color: #525250;
	border-radius: 20px;
	color:#eaeae6; 
	text-decoration: none;
	padding: 5px 10px;
	z-index: 2001;
	font-size: 12px;
}
.md-show {
    visibility: visible;
}
.md-content {
    color:#bbb; 
	background-color: #eaeae6;
	padding:10px; 
	border-radius: 10px;
	height:100%; 
}
.modalwrapper {
	height:100%; 
	overflow: auto;
}
.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(0,0,0,0.5);
    transition: all 0.3s;
}
 
.md-show ~ .md-overlay {
    opacity: 1;
    visibility: visible;
}

div.md-modal table.wos {
	width: 100%;
}
div.md-modal table.wos tr td div {
	float: left;
	clear: none;
	width: 48%;
	min-width: 200px;
}
div.md-modal table.wos tr.exercise td img, table#wodetails.wos tr.exercise td img {
	float: left;
	width: 70px;
}
div.md-modal table.wos tr.exercise td strong, table#wodetails.wos tr td strong {
	float: right;
	display: inline-block;
	margin-right: 5px;
}

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}


/* MEDIA */

@media screen and (max-width: 800px) {
	header div {	
		font-size: 1.6em;
	}
	div#container {
		font-size: 0.95em;
	}
	div#container h1 {
		font-size: 1.4em;
	}
	div.gallerybox {
		width: 48%;
		min-height: 100px;
	}
}

@media screen and (max-width: 700px) {
	header div {	
		font-size: 1.4em;
	}
	section, section#intro, article {
		margin-left: 4%;
		margin-right: 4%;
		clear: both;
	}
	section#intro img {
		display: inline;
		max-width: 35%;
		margin-top: 1%;
		padding-top: 3%;
		margin-bottom: 1%;
	}
	header img#iphone3d  {
		display: none;
	}
	div#wotables {
		display: none;
	}

	form#wofilters {
		width: 40%;
	}
	table#wolist.wos {
		width: 50%;
	}
	ul.pager {
		width: 46%;
	}
	div.gallerycontainer {
		margin: 0;
	}
}

@media screen and (max-width: 600px) {
	header {
		background-image: -webkit-radial-gradient(center, ellipse closest-side, #353045 0%, #000000 100%);
		background-image: -o-radial-gradient(center, ellipse closest-side, #353045 0%, #000000 100%);
		background-image: radial-gradient(ellipse closest-side at center, #353045 0%, #000000 100%);
	}
	header nav { 
  		height: auto;
  	}
  	header nav ul {
  		width: 100%;
  		height: auto;
  		display: none;
  	}
  	header nav li {
  		width: 46%;
  		float: left;
  		position: relative;
  	}
  	
  	nav a#pull {
		display: block;
		position: relative;
		line-height: 40px;
	}
	nav a#pull:after {
		content:"";
		background: url('/i/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 10px;
		top: 10px;
	}
  	
  	form#wofilters {
		margin: 3% 0 3% 5%;
		float: none;
		width: 90%;
	}
	table#wolist.wos {
		width: 90%;
	}
	ul.pager {
		width: 90%;
	}
	.md-modal {
		width: 90%;
		height: 80%; 
	}
	div.gallerybox {
		width: 100%;
		min-height: 0;
	}
	header img.social {
		max-width: 5%;
	}
	header img.social#soc_gplus {
		margin-left: 7%;	
	}
	header img.social#soc_tw {
		margin-left: 14%;	
	}
section div.watch {
    width: 40%;
    margin: 4%;
}
	
	section.itemtype_4 p {
		clear: left;
	}
	
	
}

@media screen and (max-width: 400px) {
	header div {
		font-size: 1.4em;
		display: none;
	}
	section.left {
		text-align: left;
	}
	section img, section.left img, section#intro img, section img.galleryimg {
		float: none;
		max-width: 80%;
		display: block;
		margin: 0 auto;
	}
	header img.social {
		max-width: 6%;
	}
	header img.social#soc_gplus {
		margin-left: 9%;	
	}
	header img.social#soc_tw {
		margin-left: 18%;	
	}


}


/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}