/*
Theme Name: re_sxp
Theme URI: http://re-fresh.ro/
Author: RE
Author URI: http://re-fresh.ro/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: re_sxp
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

re_sxp is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

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

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

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

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2.5em;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
}
h2 {
	font-size: 2em;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
}
h3 {
	font-size: 1.3em;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

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

input {
	line-height: normal;
}

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

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

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

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

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

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #2f444e;
	font-family: 'PT Sans', sans-serif;
	font-weight: 300;
	font-size: 15px; font-size: .9375rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #b8bec1;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
	clear: both;
}
ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	background: #54c5d0;
	max-width: 240px;
	padding: 5px 20px;
	font-family: "Oswald", sans-serif;
	font-size: 1.2em;
	text-transform: uppercase;
}


button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	color: white;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {

}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	background-color:rgba(255,255,255,0.5);
	color: #666;
	padding: .5em .8em;
	border: none;
	max-width: 100%;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}



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

.navigation ul{
	text-align: center;
	margin: 0;
	padding-bottom: 50px;
	font-family: "Oswald", sans-serif;
}
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
	color: #fff;
	text-decoration:none;
}

.navigation li {
	display: inline;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
	color: black;
	cursor: pointer;
	padding: 5px 10px;
}

.navigation li a:hover,
.navigation li.active a {
	background-color: #2f444e;
	color: white;
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #34919a;
	text-decoration: none;
}

a:visited {

}

a:hover,
a:focus,
a:active {

}

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}

.btn-yellow{
	font-family: "Oswald", sans-serif;
	font-size: 1.2em;
	line-height: 1.8em;
	text-transform: uppercase;
	position: relative;
	padding-left: 15px;
	background: #e8d628;
	height: 35px;
	max-width: 225px;
}
.btn-yellow::after{
	content: "";
    position: absolute;
    top: 0;
    right: -35px;
    width: 0;
    height: 0;
    border-bottom: 35px solid #e8d628;
	border-right: 35px solid transparent;
}
.btn-yellow a{
	color: #1e313a;
}
.btn-yellow a:hover{
	color: white;
}
.btn-blue{
	font-family: "Oswald", sans-serif;
	font-size: 1.2em;
	line-height: 1.8em;
	text-transform: uppercase;
	position: relative;
	padding-left: 15px;
	background: #54c5d0;
	height: 35px;
	max-width: 225px;
	margin:1em 0;
}
.btn-blue::after{
	content: "";
    position: absolute;
    top: 0;
    right: -35px;
    width: 0;
    height: 0;
    border-top: 35px solid #54c5d0;
	border-right: 35px solid transparent;
}
.btn-blue a{
	color: #2f444e;
}
.btn-blue a:hover{
	color: white;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	display: block;
	float: right;
	clear: right;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 4px 8px;
	text-decoration: none;
	color: white;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	font-weight: 300;
	font-size: 1.3em;
}

.main-navigation ul ul {
	background: #2f444e;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 2.5em;
	left: 0;
	z-index: 99999;

	display: none;
}

.main-navigation ul.open{
	display: block;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a{
	color: #e8d628;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {

}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
	color: #e8d729;
}


/* Small menu. */
@media screen and (max-width: 55em) {
	.main-navigation.toggled ul.open{
		display: block;
	}

	.menu-toggle{
		position: absolute;
		top: 40px; 
		right: 10px;
		text-indent: -9999999px;
		background: url(images/nav.svg);
	}
	.main-navigation.toggled{

	}

	.main-navigation.toggled ul {
		display: block;
		float: right;
		text-align: right;
		width: 100%;
    	height: 100%;
	}
	.main-navigation.toggled ul ul {
		padding-right: 25px;
		position: relative;
		top: 0;
		left: 0;
		display: none;
		box-shadow: none;
	}

	.main-navigation.toggled ul li.focus > ul {
		
	}


	.main-navigation.toggled ul li{
		width: 100%;
	}
	.main-navigation.toggled ul ul a {
		width: 100%;
		padding: 0;
	}
	.main-navigation.toggled ul ul li{
		max-width: 100%;
		width: 100%;
		text-align: right;
	}
	
}

@media screen and (min-width: 55em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}





@media only screen and (min-width: 768px) {
    /* tablets and desktop */
    .menu-main-container >ul >li:hover ul{
        display: block;
    }

}


@media only screen and (max-width: 767px) {
    /* phones */

	/* phones */
	body.menutoggled{
		overflow: hidden;
	}

    .main-navigation a{
        display: inline;
    }

    .main-navigation li {
        padding: 3px 0;
    }

    .main-navigation li:hover > a {
        color: #fff;
    }

    .main-navigation li > a:hover {
        color: #e8d628;
    }

    .main-navigation li.current-menu-item:hover > a {
        color: #e8d628;
    }

    .main-navigation.toggled ul .focus > a{

    }

    .menu-main-container {
        background: #2f444e none repeat scroll 0 0;
        bottom: 0;
        left: 0;
        overflow-y: auto;
        position: fixed;
        right: 0;
        top: 89px;
        display: none;
    }

    .main-navigation.toggled .menu-main-container {
        display: block;
    }

	.main-navigation.toggled .menu-main-container {
		font-size: 20px;
	}

	.menu-main-container > ul {
		padding-left: 10px;
	}

    .main-navigation li{
        text-align: left;
    }

    .main-navigation.toggled ul ul{
        padding-right: 0px;
    }

    .main-navigation.toggled ul .focus ul{
        display: block;
    }

    .main-navigation.toggled ul ul li{
        text-align: left;
        padding-left: 30px;
        position: relative;
    }

	.main-navigation.toggled ul ul li::after {
		color: #fff;
		content: "\f054";
		font-family: "FontAwesome";
		font-size: 15px;
		left: 10px;
		position: absolute;
		top: 14px;
	}
}








.footer-navigation{
	width: 100%;
	text-align: center;
	padding: 1em 0;
}
.footer-navigation ul{
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-navigation li{
	display: inline;
}
.footer-navigation a {
	display: inline-block;
	padding: 4px;
	text-decoration: none;
	color: white;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	font-weight: 300;
	font-size: 1em;
}
.footer-navigation a:hover{
	color: #54c5d0;
}
.footer-navigation ul ul{
	display: none;
}

/* Training nav*/
.training-navigation{
	font-family: "Oswald", sans-serif;
	font-size: 1.2em;
	padding: .5em 0; 
}
.training-navigation ul{
	text-align: right;
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: solid 1px #b8bec1;
}
.training-navigation ul li{
	margin:0;
	display: inline-block;
	padding-left: 20px;
}
.training-navigation li a{
	padding: 3px 0;
	line-height: 2em;
	text-transform: uppercase;
	color: #2f444e;
	display: block;
}
.training-navigation li a:hover{
	color: #54c5d0;
}
.training-navigation .current_page_item > a,
.training-navigation .current-menu-item > a,
.training-navigation .current_page_ancestor > a,
.training-navigation .current-menu-ancestor > a {
	border-top: solid 1px #2f444e;
}
.training-navigation h2{
	font-size: 1.3em;
	text-transform: uppercase;
	margin: 0;
	line-height: .6em;
}
.training-navigation h2::after{
	content: "";
    display: block;
	border-bottom: solid 1px #2f444e;
	max-width: 70px;
	padding-top: 14px;
}
/* Trainer nav */
.trainer-navigation{
	font-family: "Oswald", sans-serif;
	font-size: 1.2em;
}
.trainer-navigation ul{
	text-align: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.trainer-navigation ul li{
	margin:0;
	display: inline-block;
	padding: 0 40px;
}
@media screen and (max-width: 55em) {
	.training-navigation h2::after{
		border: none;
	}
	.trainer-navigation ul li{
		padding: 0 5px;
	}
}
.trainer-navigation li a{
	padding: 3px 0;
	line-height: 2em;
	text-transform: uppercase;
	color: #fff;
	display: block;
}
.trainer-navigation li a:hover{
	color: #e8d628;
}
.trainer-navigation .current_page_item > a,
.trainer-navigation .current-menu-item > a,
.trainer-navigation .current_page_ancestor > a,
.trainer-navigation .current-menu-ancestor > a {
	color: #e8d628;
}
/* Share nav */
.sbwp-social{
	padding: .5em 0;
	float: right;
	margin-top: 1em;
	clear: left;
}
@media screen and (max-width: 55em) {
	.sbwp-social{
		float: none;
		display: block;
	}
}
.sbwp-social .dist{
	font-family: "Oswald", sans-serif;
	text-transform: uppercase;
	padding-right: 15px;
}
.sbwp-social i{
	margin: 2px;
	background: #797c77;
	padding: 3px;
	min-width: 28px;
	text-align: center;
	border-radius: 2em;
	line-height: 22px;
}
.sbwp-social i:hover{
	background: #54c5d0;
}
.sbwp-social a{
	color: white;
}
.hero .sbwp-social{
	display: none;
}
.no-socials .sbwp-social{
	display: none;
}

/* Post nav*/
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	float: left;
	margin-right: 2em;
}
.left{
	text-align: left;
}

.alignright {
	float: right;
	margin-left: 1.5em;
}
.right{
	text-align: right;
}
@media screen and (max-width: 480px) {
	.alignleft,
	.alignright{
		margin: 0;
	}
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.center{
	text-align: center;
}
.strong{
	font-weight: 500;
}
.shadow{
	text-shadow: 1px 1px 2px rgba(150, 150, 150, 1);
}
.spaced-s{
	max-width: 95%;
	margin: 0 auto;
}
.spaced{
	max-width: 80%;
	margin: 0 auto;
}

.spaced-l{
	max-width: 60%;
}
@media screen and (max-width: 55em) {
	.spaced-l{
		max-width: 100%;
		width: 100%;
	}
}
.space-top-xs{
	padding-top: .5em;
}

.space-top-s{
	padding-top: 1em;
}
.space-top-m{
	padding-top: 2em;
}
.space-bottom-m{
	padding-bottom: 2em;
}
.space-bottom-l{
	padding-bottom: 4em;
}
.space-v-s{
	padding: 1em 0;
}
.space-v-m{
	padding: 2em 0;
}
.relative{
	position: relative;
}
.no-margin{
	margin: 0;
}
.uppercase{
	text-transform: uppercase;
}
.add-line{
	border-bottom: solid 1px #b8bec1;
}
.add-line:after{
	content: "";
    display: block;
	border-bottom: solid 1px #2f444e;
	max-width: 70px;
	padding-bottom: 5px;
}
h2.add-line-center{
	font-size: 1.55em;
}
.clear-none{
	clear: none;
}
.add-line-center{
	border-bottom: solid 1px #b8bec1;
}
.add-line-center:after{
	content: "";
    display: block;
	border-bottom: solid 1px #2f444e;
	max-width: 65px;
	padding-bottom: 5px;
	margin: 0 auto;
}
.add-line-center-dark{
	border-bottom: solid 1px #244952;
}
.add-line-center-dark:after{
	content: "";
    display: block;
	border-bottom: solid 1px #f9e62c;
	max-width: 65px;
	padding-bottom: 5px;
	margin: 0 auto;
}



/* Content vs sidebar */
.site-content{
	margin-top: 89px;
	margin-bottom: 400px;
	background: #e6e7e8;
	display: block;
	-webkit-box-shadow: 0px 6px 6px 0px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 6px 6px 0px rgba(0,0,0,0.1);
	box-shadow: 0px 6px 6px 0px rgba(0,0,0,0.1);
}
.content-area {
	float: left;
	margin: 0 -30% 0 0;
	width: 100%;
}
.site-main {
	margin: 0 30% 50px 0;
}
.site-main-full{
	margin-bottom:50px; 
}
.site-content .widget-area {
	float: right;
	overflow: hidden;
	width: 27.5%;
	padding-top: 2em;
}
@media screen and (max-width: 55em) {
	.content-area{
		margin: 0;
	}
	.site-main{
		margin: 0 0 50px 0
	}
	.site-content .widget-area {
		width: 100%;
		float: left;
		position: relative;
	}
	.site-content .widget-area .widget {
		display: inline-block;
		margin: 15px;
	}
}

.site-footer {
	clear: both;
	width: 100%;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/* Colors */
.white{
	color: white;
}
.yellow{
	color: #f9e62c;
}
.bg-grey{
	background: #e6e7e8;
}
.bg-darkblue{
	background: #1e313a;
}
.bg-blue{
	background: #34919a;
}
.bg-light-blue{
	background: #00bcd4;
}
.bg-purple{
	background: #673ab7;
}
.bg-white{
	background: white;
}
.bg-yellow{
	background: #e8d628;
}
.bg-green{
	background: #8bc34a;
}
.bg-red{
	background: #ff4081;
}
.bg-orange{
	background: #ff9800;
}

.bg-pink{
	background: #e652e4;
}

.bg-training{
	background: url(https://sxp.ro/wp/wp-content/uploads/header-antrenamente.jpg) center top no-repeat;
	background-size: cover;
}
.bg-galerie{
	background: url(https://sxp.ro/wp/wp-content/uploads/header-galerie.jpg) center top no-repeat;
	background-size: cover;
}
.bg-contact{
	background: url(https://sxp.ro/wp/wp-content/uploads/bg-contact.jpg) center top no-repeat;
	background-size: cover;
}


.wrapper{
	position: relative;
	float: left;
	width: 100%;
}
.container{
	max-width: 1180px;
	margin: 0 auto;
}
@media screen and (max-width: 1180px) {
	.container{
		margin: 0 15px;
	}
}
.site-header{
	background: #2f444e url(images/shadow-header.png) no-repeat center top;
	border-bottom: solid 4px #e8d729;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
}

.site-header .header-container{
	max-width: 1180px;
	margin: 0 auto;
}
.site-branding{
	float: left;
}
.site-branding img{
	display: block;
	margin: 0;
	padding: 0;
}
.site-branding .logo-m{
	display: none;
}
@media screen and (max-width: 70em) {
	.site-branding .logo-m{
		display: block;
	}
	.site-branding .logo{
		display: none;
	}
}
.top-contact{
	float: right;
	position: relative;
	line-height: 1.5em;
	padding: 0 15px;
	margin-bottom: 10px;
	font-family: "Oswald", sans-serif;
	font-size: 1.2em;
	color: #2f444e;
	background: #e8d628;
}

.top-contact:before{
	content: "";
    position: absolute;
    top: 0;
    left: -27px;
    width: 0;
    height: 0;
	border-top: 27px solid #e8d628; 
	border-left: 27px solid transparent;
}
.top-contact a{
	color: #2f444e;
}

.social-footer {
	text-align: center;
	padding: 8px 5px 0 5px;
	font-family: sans-serif;	
}
.social-footer ul{
	margin: 0;
	padding: 5px;
	list-style: none;
}
.social-footer li{
	display: inline;
	margin: 0 5px;
}
.social-footer li a{
	display: inline-block;
	width: 50px;
	height: 50px;
	text-align: center;
	color: white;
	font-size: 2em;
	padding: 2px;
	border: solid 2px white;
	border-radius: 2em;
}

.site-footer{
	width: 100%;
	position: fixed;
	bottom: 0;
	padding-top: 40px;
	background: #13232a;
	z-index: -1;
}
.footer-branding{
	text-align: center;
	padding: 1em 0;
}
.site-info{
	font-family: 'Oswald', sans-serif;
	color: #34919a;
	padding: 2em;
	text-align: center;
}
.home-top-ad a{
	color: white;
}
.home-top-ad .btn{
	color: white;
	position: absolute;
	bottom: 0;
	right: 30px;
	font-family: "Oswald", sans-serif;
	font-size: 1.6em;
}

.home-top-block a{
	color: white;
}
.home-top-block .btn{
	color: white;
	position: absolute;
	bottom: 0;
	right: 30px;
	font-family: "Oswald", sans-serif;
	font-size: 1.6em;
}

@media screen and (max-width: 70em) {
	.home-top-ad .widget{
		font-size: .8em;
	}
	.home-top-ad .btn{
		position: relative;
		display: block;
		left: 0;
	}
}

/* Home trainers */
.home-trainers{
	position: relative;
	width: 100%;
	display: block;
	margin-top: -50px;
	margin-bottom: 120px;
	min-height: 240px;
	background: url(images/bg-home-trainers.svg) no-repeat bottom center;
	border-bottom: solid 1px #e8d628;
}
.home-trainers .widget {
	margin: 0;
}
.home-trainers .widget h2{
	position: absolute;
	width: 100%;
	text-align: center;
	bottom: -40px;
	color: white;
	font-size: 1.5em;
	margin: 0;
}

.home-trainers ul{
	margin: 0;
	padding: 0;
	list-style: none;
}
.home-trainers li{
	display: inline-block;
	width: 25%;
	vertical-align: bottom;
	position: relative;
}
.home-trainers li img{
	display: block;
	margin: 0;
}
.home-trainers li:hover h2{
	
	color: #e8d729;
}
@media screen and (max-width: 45em) {
	.home-trainers{
		margin-bottom: 45px;
	}
	.home-trainers li{
		width: 50%;
	}
	.home-trainers li:nth-child(1),
	.home-trainers li:nth-child(2){
		margin-bottom: 20px;
		border-bottom: solid 1px #e8d628;
	}
}
/* Training slider home */

.training-home-box{
	width: 25%;
	float: left;
	text-align: right;
}
.training-home-content{
	padding: 15px;
}
.training-home-content h2{
	color: white;
	line-height: 1.1em;
	text-transform: uppercase;

}
.training-home-content p{
	font-family: "Oswald", sans-serif;
	margin: 0;
	font-size: 1.2em;
	font-weight: 400;
}
.training-home-slide{
	padding-top: 40px;
	width: 75%;
	float: right;
}
.training-home-slide .traning-entry-title{
	font-size: 1.4em;
}


@media screen and (max-width: 70em) {
	.training-home-box{
		width: 100%;
		text-align: center;
	}
	.training-home-slide{
		padding-top: 40px;
		width: 100%;
	}
}


.training-home-ad{
	font-family: "Oswald", sans-serif;
	margin: 0;
	font-size: 1.4em;
	padding: 15px;
}
.training-home-ad .ad-first{
	font-weight: 400;
	font-size: 1.2em;
	margin-right: 5px;
	text-transform: uppercase;
}

.training-home-ad .widget{
	margin: 0;
}



/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.page-header{
	padding: 4.8em 0 1.8em 0;
}
.page-header h1{
	text-transform: uppercase;
	font-weight: 400;
	margin: 0;
	font-size: 2.3em;
}
.page-excerpt{
	font-family: "Oswald", sans-serif;
}
.page-excerpt p{
	margin: 0;
	font-size: 1.2em;
}
.page-header-excerpt{
	padding: 4em 0;
	font-family: "Oswald", sans-serif;
}
.page-header-excerpt h1{
	font-size: 2.3em;
	margin: 0;
}
.page-header-excerpt p{
	text-transform: uppercase;
	font-size: 1.2em;
	margin: 0;
}

.page-header-archive{
	padding: 4.8em 0 2.5em 0;
}
.page-header-archive h1{
	text-transform: uppercase;
	font-weight: 400;
	margin: 0;
	font-size: 2.3em;
}
.page-header-archive h2{
	text-transform: uppercase;
	font-size: 1.2em;
	margin: 0;
	line-height: 1em;
}
.page-description-archive{
	font-family: "Oswald" , sans-serif;
	font-size: 1.15em;
	padding: 1em 0;
}
@media screen and (min-width: 1400px) {
	.page-header-excerpt{
		padding: 8em 0;
		font-family: "Oswald", sans-serif;
}
}
/* Contact */
.contact-box{
	position: relative;
	width: 100%;
	font-family: "Oswald", sans-serif;
	font-size: 1.2em;
	padding: 1em 0;
}
.info-contact-box{
	padding: 2px 15px;
	font-family: "Oswald", sans-serif;
	font-size: 1.2em;
	color: #2f444e;
	background: #f9e62c;
	position: absolute;
	top: -35px;
	right: 0;
	height: 35px;
}
.info-contact-box:before{
	content: "";
    position: absolute;
    top: 0;
    left: -35px;
    width: 0;
    height: 0;
    border-bottom: 35px solid #f9e62c;
	border-left: 35px solid transparent;
}
.contact-box h3{
	margin-top: 15px;
	margin-bottom: 0;
	font-weight: 500;
}
.contact-box p{
	margin: 0;
}
.contact-box a{
	color: white;
}
.contact-address,
.contact-phone,
.contact-email{
	display: inline-block;
	vertical-align: top;
	padding-left: 60px;
}
.contact-address{
	min-width: 240px;
	background: url(images/ico-location.png) left top no-repeat;
}
.contact-phone{
	min-width: 400px;
	background: url(images/ico-mobile.png) left top no-repeat;
}
.contact-email{
	background: url(images/ico-email.png) left top no-repeat;
}
.phone-minwidth{
	min-width: 110px;
	display: inline-block;
}
@media screen and (max-width: 50em) {
	.contact-address,
	.contact-phone,
	.contact-email{
		display: block;
		min-width: 80%;
		max-width: 80%;
		padding-left: 20%;
	}
	.phone-minwidth{
		min-width: 50px;
		display: inline-block;
	}
}


.map-container p{
	margin: 0;
}
.map-overlay {
   background:transparent; 
   position:relative; 
   width:100%;
   height:460px; /* your iframe height */
   top:460px;  /* your iframe height */
   margin-top:-460px;  /* your iframe height */
}

.schedule-box{
	margin: 265px 0 160px 0;
}
.schedule-box h2{
	margin: 15px 0;
	font-weight: 600;
	line-height: 1.2em;
	max-width: 530px;
	font-weight: 400;
}
.schedule-image{
	position: absolute;
	top: -200px;
	left: 520px;
}
@media screen and (max-width: 70em) {
	.schedule-image{
		position: absolute;
		top: 120px;
		left: 0;
	}
	.schedule-box{
	 	margin: 0 0 540px 0;
	}
}
@media screen and (max-width: 35em) {	
	.schedule-box{
	 	margin: 0 0 340px 0;
	}
}
@media screen and (max-width: 25em) {	
	.schedule-box{
	 	margin: 0 0 200px 0;
	}
}

/* Page trainers*/
.page-trainer{
	min-height: 100vh;
}
.trainer{
	max-width: 480px;
	color:white;
	margin: 30px 3em 0 3em;
	
}

@media screen and (max-width: 45em) {
	.page-trainer{
		background-size: 680px auto!important;
		background-repeat: no-repeat;
	}
	.trainer{
		padding-top: 220px;
		margin: 0;
	}
}
/* Tarife */
.info-price-box{
	padding: 2px 15px;
	font-family: "Oswald", sans-serif;
	font-size: 1.4em;
	color: #2f444e;
	background: #f9e62c;
	position: absolute;
	top: -1.05em;
	right: 0;
	height: 35px;
}
.info-price-box:before{
	content: "";
    position: absolute;
    top: 0;
    left: -35px;
    width: 0;
    height: 0;
	border-top: 35px solid #f9e62c; 
	border-left: 35px solid transparent;
}
.info-price-box a{
	color: #2f444e;
}
.pret{
	font-family: "Oswald", sans-serif;
	font-size: 1.15em;
}
.page-cosmetica{
	background: url(https://sxp.ro/wp/wp-content/uploads/bg-cosmetice.jpg) center top no-repeat;
}
.page-masaj{
	background: url(https://sxp.ro/wp/wp-content/uploads/bg-masaj.jpg) center top no-repeat;
}
.page-aerobic h2,
.page-cosmetica h2,
.page-masaj h2{
	font-size: 1.55em;
	margin: 1em 0;
}
/* Tables cosmetice */
.cosmetice{
	margin: 1em 0;
	float: left;
}
.cosmetice td{
	padding: 0 1em;
}
.cosmetice tr{
	border-bottom: #e6e7e8 15px solid;
}

.cosmetice-pret{
	width: 120px;
	text-align: right;
	color: white;
	font-size: 1.4em;
}
.cosmetice-half-left{
	float: left;
	width: 45%;
	margin-right: 5%;
}
.cosmetice-half-right{
	float: left;
	width: 45%;
	margin-left: 5%;
}
@media screen and (max-width: 480px) {
	.cosmetice{
		margin:0;
	}
	.cosmetice-half-left{
		float: none;
		width: 100%;
		margin-right: 0;
	}
	.cosmetice-half-right{
		float: left;
		width: 100%;
		margin-left: 0;
	}
}
/* Tables masaj */

.masaj{
	margin: 1em 0;
	float: left;
	width: 100%;
}
.masaj-left{
	width: 46%;
	margin: 2%;
}
.masaj-pret{
	padding: 8px 15px;
	width: 25%;
}
.masaj td:first-child{
	background: url(images/bg-masaj-pret.png) no-repeat;
}
.masaj-pret p{
	display: inline-block;
	vertical-align: top;
	text-transform: uppercase;
	margin: 0;
	padding: 5px;
	line-height: 1.5em;
}
.masaj-price-xl{
	font-size: 3em;
	font-weight: 600;
	line-height: 1em;
}
h3.masaj-title{
	font-size: 2em;
	margin: 0;
	line-height: 1em;
}
.masaj-content{
	padding: .5em 1em;
}
@media screen and (max-width: 72em) {
	.masaj-left{
		width: 96%;
		margin: 2%;
	}
}
@media screen and (max-width: 55em) {
	.masaj td {
		width:100%;
		float:left;
		clear:left
	}
}


/* AEROBIC */
.aerobic{
	padding: 2.5em 0;
	margin: 2.5em 0;
	border-top: solid 1px #b8bec1;
	border-bottom: solid 1px #b8bec1;
}
.aerobic h2{
	margin: 0;
}
.aerobic h3{
	margin: 0 0 .5em 0;
}

/* Blog */
.article-listing{
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	display: block;
	font-size: 0;
}
.article-listing ul{
	width: 100%;
	margin: 0;
	padding: 0;
}
.article-listing li{
	font-size: 1rem;
	display: inline-block;
	width: 33.33%;
	position:relative;
	vertical-align: top;
}

@media screen and (max-width: 55em) {
	.article-listing li{
		width: 50%;
	}
}
@media screen and (max-width: 25em) {
	.article-listing li{
		width: 100%;
	}
}

.article-listing-home article,
.article-listing article{
	margin: 15px;
}
.article-thumb img{
	display: block;
	margin: 0;
}
.article-date{
	font-family: "Oswald", sans-serif;
	font-size: .7em;
	text-transform: uppercase;
	margin: 5px 0;
	float: left;
}
.article-comment-number{
	font-family: "Oswald", sans-serif;
	font-size: .8em;
	line-height: 1.8em;
	float: right;
	padding-left: 25px;
	margin-top: 5px;
	background: url(images/ico-comment.png) left center no-repeat;
}
.article-entry-title{
	font-size: 1.2em;
	margin: 0;
	min-height: 3.6em;
}
.article-title-container{
	border-bottom: solid 1px #8dbcc1;
}
.article-title-container:after{
	content: "";
    display: block;
	border-bottom: solid 1px #2f444e;
	max-width: 40px;
}
.home-article-title-container{
	border-bottom: solid 1px #234750;
}
.home-article-title-container:after{
	content: "";
    display: block;
	border-bottom: solid 1px #f9e62c;
	max-width: 40px;
}
.home-article-excerpt,
.article-excerpt{
	font-family: "Oswald", sans-serif;
	font-size: 1em;
}
.home-article-excerpt,
.article-excerpt p{
	margin: 10px 0;
}

.article-excerpt:after{
	content: "";
    display: block;
	border-bottom: solid 1px #8dbcc1;
	max-width: 80%;
	margin: 0 auto;
}
.home-article-excerpt:after{
	content: "";
    display: block;
	border-bottom: solid 1px #234750;
	max-width: 80%;
}
.article-posted-on{
	text-align: center;
	font-family: "Oswald", sans-serif;
	font-size: .8em;
	text-transform: uppercase;
	margin: 10px 0;
}

/* Article listing home */
.article-listing-home{
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	display: block;
	font-size: 0;
}
.article-listing-home ul{
	width: 100%;
	margin: 0;
	padding: 0;
}
.article-listing-home li{
	font-size: 1rem;
	display: inline-block;
	width: 25%;
	position:relative;
	vertical-align: top;
}

@media screen and (max-width: 55em) {
	.article-listing-home li{
		width: 50%;
	}
}

@media screen and (max-width: 30em) {
	.article-listing-home li{
		width: 100%;
	}
}



/* Article detail*/
.article-header-title{
	padding-top: 2em;
}
.article-header-title h1{
	text-transform: uppercase;
	font-size: 2em;
}
.article-meta{
	width: 100%;
	display: block;
	float: left;
}
.article-date-detail{
	font-family: "Oswald", sans-serif;
	font-size: 1em;
	text-transform: uppercase;
	margin-bottom: 20px;
	float: left;
}
.article-full-image{
	width: 100%;
	float: left;
}
.article-twoway-nav{
	padding-bottom: 2em;
}
.all-article{
	width: 50px;
	height: 50px;
	background: url(images/ico-all.png) center center no-repeat;
	display: inline-block;
}
.prev-article{
	width: 50px;
	height: 50px;
	background: url(images/ico-prev.png) center center no-repeat;
	display: inline-block;
}
.next-article{
	width: 50px;
	height: 50px;
	background: url(images/ico-next.png) center center no-repeat;
	display: inline-block;
}


/* Training listing */
.training-listing{
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	display: block;
	font-size: 0;
}
.training-listing article{
	width: 100%;
	margin-bottom: 1.5em;
}
.training-listing ul{
	margin: 0;
	padding: 0;
}
.training-listing li{
	font-size: 1.1rem;
	display: inline-block;
	width: 33.33%;
	position:relative;
	vertical-align: top;
}
.training-listing img:hover{
	opacity: .9;
}
.title-training-container{
	position: absolute;
	top: 25px;
	width: 100%;
}
.traning-entry-title{
	line-height: 35px;
	font-size: 1.2em;
	text-transform: uppercase;
	position: relative;
	max-width: 225px;
	padding-left: 15px;
	background: #e8d628;
	height: 35px;
}

.traning-entry-title::after{
	content: "";
    position: absolute;
    top: 0;
    right: -35px;
    width: 0;
    height: 0;
    border-top: 35px solid #e8d628;
	border-right: 35px solid transparent;
}
.traning-entry-title a{
	color: #1e313a;
}
.traning-entry-title a:hover{
	color: white;
}
.training-thumb{
}
.training-thumb img{
	width: 100%;
	height: auto;
	display: block;
	margin: 0;
}
.training-linsting-entry{
	padding: 1em 0;
}
.training-listing ul.post-meta li{
	display: block;
	width: 100%;
	font-family: "Oswald", sans-serif;
	color: #2f444e;
	font-weight: 500;
	line-height: 2em;
}
.training-listing ul.post-meta li:nth-child(1){
	background: url(images/ico-durata.png) center left no-repeat;
	padding-left: 40px;
}
.training-listing ul.post-meta li:nth-child(2){
	background: url(images/ico-intensitate.png) center left no-repeat;
	padding-left: 40px;
}
.training-listing ul.post-meta li:nth-child(3){
	background: url(images/ico-trainer.png) center left no-repeat;
	padding-left: 40px;
}

.training-listing ul.post-meta li .post-meta-key{
	font-weight: 300;
}
.training-read-more{
	font-family: "Oswald", sans-serif;
	line-height: 2em;
	display: block;
	background: url(images/ico-detalii.png) center left no-repeat;
	padding-left: 40px;
	color: #2f444e;
}
.training-read-more:hover{
	color: #54c5d0;
}
.traning-content-title{
	font-weight: 600;
	margin: .5em 0;
}
.training-meta{
	position: relative;
	border-bottom: solid 1px #b8bec1;
}
.training-meta::after{
	content: "";
    display: block;
	border-bottom: solid 1px #2f444e;
	max-width: 70px;
	padding-bottom: 15px;
}

@media screen and (max-width: 55em) {
	.training-listing ul li{
		width: 50%;
	}
	.training-linsting-entry{
		margin: 0 15px;
	}
}
@media screen and (max-width: 35em) {
	.training-listing ul li{
		width: 100%;
	}
	.training-linsting-entry{
		margin: 0 15px;
	}
}

/* Gallery listing */
.gallery-listing{
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	display: block;
	font-size: 0;
}
.gallery-listing article{
	margin-bottom: 1.5em;
}
.gallery-listing ul{
	margin: 0;
	padding: 0;
	width: 100%;
}
.gallery-listing li{
	font-size: 1.1rem;
	display: inline-block;
	width: 33.33%;
	position:relative;
	vertical-align: top;
}
.gallery-listing article{
	margin: 15px;
}
.gallery-title-container{
	position: relative;
	max-width: 82%;
	height: 35px;
}
.format-gallery .gallery-title-container{
	background: #54c5d0;
}

.format-video .gallery-title-container{
	background: #e8d628;
}

.gallery-entry-title{
	font-size: 1.2em;
	margin: 0;
	padding: 2px 15px;
}
.gallery-entry-title a{
	color: white;
}
.format-gallery .gallery-entry-title:after{
	content: "";
    position: absolute;
    top: 0;
    right: -35px;
    width: 0;
    height: 0;
    border-top: 35px solid #54c5d0;
	border-right: 35px solid transparent;
}
.format-video .gallery-entry-title:after{
	content: "";
    position: absolute;
    top: 0;
    right: -35px;
    width: 0;
    height: 0;
    border-top: 35px solid #e8d628;
	border-right: 35px solid transparent;
}
.format-gallery .gallery-title-box{
	background: white url(images/ico-gallery.png) right center no-repeat;
}
.format-video .gallery-title-box{
	background: white url(images/ico-video.png) right center no-repeat;
}
.single-format-video .content-area-full{
	max-width: 1160px;
	margin: 0 auto;
}

@media screen and (max-width: 55em) {
	.gallery-listing li{
		width: 50%;
	}
}
@media screen and (max-width: 30em) {
	.gallery-listing li{
		width: 100%;
	}
}









.event-feat{
	font-family: "Oswald", sans-serif;
}
.event-feat p{
	margin-top: 0;
	font-size: 1.2em;
}

.single-post .site-content{
	font-size: 1.2em;
}



.entry-content ul{
	padding: 0;
	margin: 30px;
}
.entry-content ul.unstyled li{
	margin: 0;
	padding: 0;
	list-style: inside;
}
.entry-content ul li{
	list-style-image: url(images/arrow-r.png);
	list-style-position: inherit;
	margin: .5em 0;
	padding-left: 10px;
}
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-form label{
	width: 100%;
	display: block;
}
.comment-form input{
	width: 100%;
}
.comment-form input.submit{
	
}
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}
@media only screen and (max-width: 680px) {
}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper embed,
.videoWrapper object,
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*  SECTIONS  */
.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: 1% 0 1% 2.5%;
}
.col:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

/*  GRID OF TWELVE  */
.span_12_of_12 {
	width: 100%;
}

.span_11_of_12 {
  	width: 91.45%;
}
.span_10_of_12 {
  	width: 82.91%;
}

.span_9_of_12 {
  	width: 74.37%;
}

.span_8_of_12 {
  	width: 65.83%;
}

.span_7_of_12 {
  	width: 57.29%;
}

.span_6_of_12 {
  	width: 48.75%;
}

.span_5_of_12 {
  	width: 40.20%;
}

.span_4_of_12 {
  	width: 31.66%;
}

.span_3_of_12 {
  	width: 23.12%;
}

.span_2_of_12 {
  	width: 14.58%;
}

.span_1_of_12 {
  	width: 6.041%;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
	.col {  margin: 1% 0 1% 0%; }
    
    .span_1_of_12, .span_2_of_12, .span_3_of_12, .span_4_of_12, .span_5_of_12, .span_6_of_12, .span_7_of_12, .span_8_of_12, .span_9_of_12, .span_10_of_12, .span_11_of_12, .span_12_of_12 {
	width: 100%; 
	}
}


/* FlexSlider Content
*********************************/ 
.hero{
	background: #34919A;
}
.hero article{
	/*min-height: 620px;*/
}

.hero article img{
	width: 100%;
}

.hero article p{
	margin-bottom: 0;
	display: inline;
}

.hero .full-url{
	top: 0;
	left: 0;
	display: block;
	position: absolute;
	width: 100%;
	/*height: 620px;*/
	bottom: 0;
}
.gallery-flex{
}


@media screen and (max-width: 64em) {
	.hero article{
		/*min-height: 340px;*/
		/*max-height: 340px;*/
		}
	.hero .full-url{
		height: 340px;
		max-height: 340px;
	}
}
@media screen and (max-width: 48em) {
	.hero article{
		/*min-height: 200px;*/
		/*max-height: 200px;*/
		}
	.hero .full-url{
		height: 200px;
		max-height: 200px;
	}
}
@media screen and (max-width: 35em) {
	.hero article{
		/*min-height: 150px;*/
		/*max-height: 150px;*/
		}
	.hero .full-url{
		height: 150px;
		max-height: 150px;
	}
}

/* FlexSlider Necessary Styles
*********************************/ 

.flexslider li {list-style: none;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {position: relative; zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}

.flexslider .slides {zoom: 1; padding: 0; margin: 0;}
.carousel li {margin-right: 5px}



/* Direction Nav */
.flex-direction-nav {display: none;}




/* Hero controls */
@media screen and (max-width: 55em) {
	.hero .flex-control-nav{
		display: none;
	}
}
.hero .flexslider-controls {
	position: absolute;
	bottom: 60px;
	width: 100%;
	z-index: 999;
}

.flex-control-nav {
	list-style: none;
	font-family: "Oswald", sans-serif;
}

.flex-control-nav li:before {
   content: "0" counter(item);
   color: white;

   font-weight: 400;
   text-align: center;
   display: inline-block;
   vertical-align: top;
   font-size: 2.2em;
   margin: 0;
   line-height: .9em;
}

.flex-control-nav li {
	counter-increment: item;
	font-size: 1.3em;
	color: #fff;
	cursor: pointer;
	float: left; 
	vertical-align: middle;
	width: 25%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.flex-control-nav li .nav-control-title{
	vertical-align: top;
	max-width: 75px;
	display: inline-block;
	line-height: 1em;
}

.flex-control-nav li:last-child {
}

.flex-control-nav .flex-active {
	color: #e8d628;
}

.flex-control-nav li.flex-active:before {

	color: #e8d628;

}
/* Gallery flex control */

.gallery-flex .flex-control-nav {
	display: none;
}


/* ========= OWL ==========*/


    #owl-demo .item{
      width: 100%;
    }


/* ==== hickups ==== */
.menu-toggle {
	cursor: pointer;
	height: 50px;
	padding: 0;
	position: absolute;
	right: 13px;
	top: 33px;
	width: 48px;
}