// VARIABLES
@link-color: #21409a;
@link-hover-color: #5ba255;
@border-color: #ccc;
@light-text-color: #999;
@text-color: #333;
@gray-color: #ececec;
@heading-font: @body-font;
@serif-font: Georgia, "Times New Roman", serif;
@body-font: "PT Sans", Arial, "Helvetica Neue", Helvetica, Ubuntu, sans-serif;
@color-tabs: #48981d;
@deg-tabs: 220deg;

// PARAMETRIC MIXINS
.border-radius (@radius: 5px) {
	-webkit-border-radius: @radius;
	-moz-border-radius: @radius;
	border-radius: @radius;
	-moz-background-clip: padding-box;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
}

.round (@radius: 0, @radius: 0, @radius: 5px, @radius: 5px) {
	-webkit-border-radius: @arguments;
	-moz-border-radius: @arguments;
	border-radius: @arguments;
	-moz-background-clip: padding-box;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
}

.gradient (@from, @to) {
	background-color: @from;
	background-image: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to));
	background-image: -webkit-linear-gradient(top, @from, @to);
	background-image:    -moz-linear-gradient(top, @from, @to);
	background-image:      -o-linear-gradient(top, @from, @to);
	background-image:         linear-gradient(to bottom, @from, @to);
}

.gradient-tabs(@color-tabs) {
	background: @color-tabs;
	background: -webkit-linear-gradient(@deg-tabs, transparent 10px, @color-tabs 10px);
	background: -moz-linear-gradient(@deg-tabs, transparent 10px, @color-tabs 10px);
	background: -ms-linear-gradient(@deg-tabs, transparent 10px, @color-tabs 10px);
	background: -o-linear-gradient(@deg-tabs, transparent 10px, @color-tabs 10px);
	background: linear-gradient(@deg-tabs, transparent 10px, @color-tabs 10px);
}

.box-shadow (@x: 0, @y: 0, @blur: 1px, @color: #000) {
	-webkit-box-shadow: @arguments;
	-moz-box-shadow: @arguments;
	box-shadow: @arguments;
}

.inner-shadow (inset, @x: 0, @y: 0, @blur: 1px, @color: #000) {
	-webkit-box-shadow: @arguments;
	-moz-box-shadow: @arguments;
	box-shadow: @arguments;
}

.text-shadow (@x: 0, @y: 0, @blur: 1px, @color: #000) {
	text-shadow: @arguments;
}

.transition (@duration: 0.2s, @ease: ease-out) {
	-webkit-transition: all @duration @ease;
	-moz-transition: all @duration @ease;
	-o-transition: all @duration @ease;
	transition: all @duration @ease;
}

.transform (@deg) {
	-webkit-transform: rotate(@deg);
	-moz-transform: rotate(@deg);
	-ms-transform: rotate(@deg);
	-o-transform: rotate(@deg);
	transform: rotate(@deg);
	background: none;
}

/* ========== GENERAL ========== */
body {
	margin: 0;
	font: 14px/21px @body-font;
	color: @text-color;
	background: #fff;
}

h1, h2, h3, h4, h5, h6 {
	margin-bottom: 1.5em;
	padding: 0;
	color: @text-color;
	font-weight: bold;
}

h1 {
	font-size: 36px;
	line-height: 40px;
}

h2 {
	font-size: 23px;
	line-height: 40px;
}

h3 {
	font-size: 20px;
	line-height: 32px;
}

h4 {
	font-size: 18px;
	line-height: 30px;
}

h5 {
	font-size: 16px;
	line-height: 26px;
}

h6 {
	font-size: 14px;
	line-height: 24px;
}

hr {
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	height: 0;
	margin: 8px 0 10px;
	border: 0;
	border-top: 1px solid @border-color;
	border-bottom: 1px solid #fff;
}

ul, ol, li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

p, ul, ol {
	margin-bottom: 1.5em;
}

p a, footer a {
	color: @link-color;
	.transition();

	&:hover {
	text-decoration: underline;
	}
}

/* ---------- Links --------- */
a:link {
	color: @link-color;
	text-decoration: none;
}

a:visited {
	color: darken(@link-color, 10%);
}

a:hover {
	color: @link-hover-color;
	outline: 0;
}

a:active {
	outline: 0;
}

a:focus {
	outline: thin dotted;
}

/* ---------- Tables --------- */
table {
	max-width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	background-color: transparent;
}

/* ---------- Image --------- */
.image-box-left, .image-box-right {
	width: 290px;
	padding: 4px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	background: #fff;
	.box-shadow (0, 1px, 3px, rgba(0, 0, 0, 0.1));

	img {
		display: inline-block;
		max-width: 100%;
		height: auto;
	}

	figcaption {
		padding: 3px 0;
		line-height: 1.1;
		color: #666;
		text-align: center;
		font-style: italic;
	}
}

.picture-left, .picture-right {
	max-width: 30%;
	border: 1px solid #d9e0e6;
	border-bottom-color: #c8cdd2;
	border-right-color: #c8cdd2;
	background: #fff;
	.box-shadow (1px, 1px, 3px, rgba(0, 0, 0 , .4));
}

.image-box-left, img.picture-left {
	float: left;
	margin: .5em 1em 1em 0;
}

.image-box-right, img.picture-right {
	float: right;
	margin: .5em 0 1em 1em;
}

/* ---------- Button --------- */
.btn {
	display: inline-block;
	position: relative;
	padding: 5px 10px;
	font-size: 14px;
	vertical-align: baseline;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;

.text-shadow (1px, 1px, 0, rgba(255, 255, 255, .4));
	background-repeat: no-repeat;
	background-position: bottom left;
	background-image: url(../img/bg-button.png);
	background-position: bottom left, top right, 0 0, 0 0;
	background-clip: border-box;
	.border-radius (8px);
	.box-shadow (inset 0, 0, 1px, #fff);
	-webkit-transition: background-position 1s;
	-moz-transition: background-position 1s;
	-o-transition: background-position 1s;
	transition: background-position 1s;

	&:hover {
		background-position: top left;
		background-position: top left, bottom right, 0 0, 0 0;
	}

	&:active {
		bottom: -1px;
		left: 1px;
	}
}

.orange.btn {
	color: #693e0a;
	border: 1px solid #bea280;
	background-color: #e38d27;
	background-image: url(../img/bg-button.png),
	url(../img/bg-button.png),
	-moz-radial-gradient(center bottom, circle, rgba(232,189,45,1) 0,rgba(232,189,45,0) 100px),
	-moz-linear-gradient(#f1982f, #d4821f);
	background-image: url(../img/bg-button.png),
	url(../img/bg-button.png),
	-webkit-gradient(radial, 50% 100%, 0, 50% 100%, 100, from(rgba(232,189,45,1)), to(rgba(232,189,45,0))),
	-webkit-gradient(linear, 0% 0%, 0% 100%, from(#f1982f), to(#d4821f));

	&:hover {
		background-color: #ec9732;
		background-image: url(../img/bg-button.png),
		url(../img/bg-button.png),
		-moz-radial-gradient(center bottom, circle, rgba(241,192,52,1) 0,rgba(241,192,52,0) 100px),
		-moz-linear-gradient(#f9a746, #e18f2b);
		background-image: url(../img/bg-button.png),
		url(../img/bg-button.png),
		-webkit-gradient(radial, 50% 100%, 0, 50% 100%, 100, from(rgba(241,192,52,1)), to(rgba(241,192,52,0))),
		-webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9a746), to(#e18f2b));
	}
}

.gray.btn {
	color: #525252;
	border:1px solid #a5a5a5;
	background-color: #a9adb1;
	background-image: url(../img/bg-button.png),
	url(../img/bg-button.png),
	-moz-radial-gradient(center bottom, circle, rgba(197,199,202,1) 0,rgba(197,199,202,0) 100px),
	-moz-linear-gradient(#c5c7ca, #92989c);
	background-image: url(../img/bg-button.png),
	url(../img/bg-button.png),
	-webkit-gradient(radial, 50% 100%, 0, 50% 100%, 100, from(rgba(197,199,202,1)), to(rgba(197,199,202,0))),
	-webkit-gradient(linear, 0% 0%, 0% 100%, from(#c5c7ca), to(#92989c));

	&:hover {
		background-color: #b6bbc0;
		background-image: url(../img/bg-button.png),
		url(../img/bg-button.png),
		-moz-radial-gradient(center bottom, circle, rgba(202,205,208,1) 0,rgba(202,205,208,0) 100px),
		-moz-linear-gradient(#d1d3d6, #9fa5a9);
		background-image: url(../img/bg-button.png),
		url(../img/bg-button.png),
		-webkit-gradient(radial, 50% 100%, 0, 50% 100%, 100, from(rgba(202,205,208,1)), to(rgba(202,205,208,0))),
		-webkit-gradient(linear, 0% 0%, 0% 100%, from(#d1d3d6), to(#9fa5a9));
	}
}

/* ========== HEADER ========== */
.header-main {
	background: rgba(255, 255, 255, .7) url(../img/bg-header.png) -40% 100% repeat-x;
}

.logo  {
	margin: 0;
	font-size: 0;
	line-height: 1;

	a {
		text-decoration: none;

		&:hover {
			opacity: .7;
			.transition ();
		}

		img {
			max-width: 100%;
			height: auto;
		}
	}
}

/* ---------- Navigation --------- */
.header-navigation,
.footer-navigation {
	ul {
		margin-bottom: 0;
		z-index: 999;

		> li {
			display: inline-block;
			position: relative;

			.nav-link {
				display: block;
				padding: 3px 14px;
				font-size: 19px;
				font-weight: bold;
				color: @link-color;
				text-decoration: none;
			}

			.active {
				color: @link-hover-color;
			}

			ul {
				position: absolute;
				top: 25px;
				opacity: 0;
				filter: alpha(opacity=0);
				visibility: hidden;
				-webkit-transition: opacity 0.3s ease-in;
				-moz-transition: opacity 0.3s ease-in;
				-o-transition: opacity 0.3s ease-in;
				transition: opacity 0.3s ease-in;
				background: #fff;
				.round ();

				li {
					display: block;
					min-width: 140px;
					white-space: nowrap;
					margin: 0;

					a {
						display: block;
						margin-right: 0;
						padding: 3px 14px;
						color: @link-color;
						text-decoration: none;

						&:hover {
							color: #fff;
							background: @link-hover-color;
						}
					}
				}
			}

			&:hover > ul {
				opacity: 1;
				filter: alpha(opacity=100);
				visibility: visible;
			}

			&:hover > .nav-link {
				color: @link-hover-color;
			}

			&:last-child a {
				.round ();
			}
		}

		li:last-child .nav-link {
			padding-right: 0;
		}
	}
}

.header-navigation {
	float: right;
	margin-top: 90px;
}

/* ========== SLIDER ========== */
.slider-wrapper {
	position: relative;
	height: 330px;
	background: transparent url(../img/parallax-slider/bg-slider.jpg) repeat;
}

/* ========== BANNERS ========== */
.banners {
	padding: 25px 0;
	background: url(../img/gradient-banners.png) no-repeat 50% 0,
	url(../img/bg-banners.jpg) repeat;
}

.banner,
.banner-item,
.banner-item img,
.banner-item h3,
.banner-item h3 a {
	.transition (@duration: 0.7s, @ease: ease);
}

.banner {
.banner-item {
	display: block;
	position: relative;
	overflow: hidden;

	img {
		display: block;
		width: 100%;
	}

	h3 {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		margin: 0;
		padding: 10px 14px 4px;
		font-size: 22px;
		line-height: 1;
		font-weight: normal;
		color: #fbf000;
		background: rgba(0, 0, 0, .4);
		opacity: 1;
		z-index: 100;

		span {
			display: block;
			font-size: 14px;
			line-height: 1.3;
			color: #fff;
		}
	}

		&:hover h3 {
			padding-bottom: 12px;
			line-height: 1;
			font-weight: normal;
		}
	}
}

/* ========== TRAINING ========== */
.training {
	padding: 25px 0;
	background: #ececec url(../img/bg-training.jpg);

	h2 {
		margin: 0;
	}

	.read-more-link a,
	.news a {
		text-decoration: underline;

		&:hover {
			text-decoration: none;
		}
	}
}
	/* ---------- Shedule --------- */
.schedule {
	h4 {
		margin: 0 0 10px;
			line-height: 1;
			font-weight: bold;
			color: @link-hover-color;
		}

	.schedule-container {
		margin-bottom: 20px;
	}
}

#schedule-tabs {
	width: 100%;
	margin: 0;

	li {
		float: left;

	a {
		float: left;
		width: 120px;
		height: 35px;
		padding: 0 20px;
		color: #fff;
		line-height: 35px;
		text-align: center;
		.box-shadow (-4px, 0, 0, rgba(0, 0, 0, .2));
		.gradient-tabs (@color-tabs);
		.text-shadow(0, 1px, 0, rgba(0, 0, 0, .5));

		&:hover {
			opacity: .8;
			.transition ();
		}
	}
}

#current a {
	.gradient-tabs (#fbf000);
	color: @color-tabs;
	.text-shadow(0, 1px, 1px, rgba(72, 152, 29, .5));
	}
}

#schedule-content {
	padding: 15px;
	overflow: auto;
	.round (0, 0, 10px, 10px);
	.gradient (#fff, #ddd);
	-moz-box-shadow: 0 0 10px rgba(150, 150, 150, .9), 0 -1px 0 #fff inset;
	-webkit-box-shadow: 0 0 10px rgba(150, 150, 150, .9), 0 -1px 0 #fff inset;
	box-shadow: 0 0 10px rgba(150, 150, 150, .9), 0 -1px 0 #fff inset;

	div {
		min-height: 220px;

		p {
			margin: 0 0 4px;
		}
	}
}

/* ---------- Events --------- */
.events-header {

	hr {
		margin-bottom: 16px;
	}

	h2 {
		display: inline-block;
		margin-right: 10px;
		vertical-align: middle;
	}

	.nav-tabs {
		display: inline-block;
		margin: 0;
		vertical-align: middle;
		text-align: center;

		li {
			display: inline-block;
			width: 16px;
			margin: 0 6px 0 0;

			&#current a {
				color: @text-color;
				background: #fff;
				.inner-shadow (inset, -1px, -1px, 0, rgba(0, 0, 0, .4));
			}

			&:hover a {
				color: @color-tabs;
				background: #fbf000;
			}

			a {
				display: block;
				width: 16px;
				height: 16px;
				line-height: 16px;
				font-size: 12px;
				cursor: pointer;
				text-decoration: none;
				color: #fff;
				outline: 0;
				background: @color-tabs;
				.border-radius (50%);
				.inner-shadow (inset, 1px, 1px, 2px, rgba(0, 0, 0, .4));
				.text-shadow ();
			}
		}
	}
}

.tab-banner-item {
	display: block;
	position: relative;
	overflow: hidden;
	margin-bottom: 12px;

	img {
		width: 100%;
	}

	.event-desc {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		margin: 0;
		padding: 8px 14px;
		font-size: 22px;
		line-height: 1.2;
		font-weight: normal;
		color: #fbf000;
		background: rgba(0, 0, 0, .4);
		z-index: 10;

		span {
			display: block;
			font-size: 14px;
			color: #fff;
		}
	}

	&:hover {
		opacity: .7;
		.transition(.4s, ease);
		-webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(.7, transparent), to(rgba(0,0,0,0.4)));
	}
}

/* ---------- News --------- */
.training .news p,
.sidebar .news p {
	margin: 0 0 16px;
	line-height: 1.4;
	color: #333;
}

.training .news span,
.sidebar .news span {
	display: block;
	color: @light-text-color;
	font-size: 12px;
}

/* ========== ACTIVITY ========== */
.activity-box {
	padding: 25px 0 40px;
	background: url(../img/bg-activity-box.jpg);
}

.activity-box hr {
	margin: 20px 0 24px;
}

.activity-box h2,
.sidebar .activity-post h2,
.sidebar .youtube h2 {
	margin: 0;
	padding-left: 38px;
	line-height: 24px;
	background: url(../img/sprite-ico-activity.png) no-repeat;
}

.activity-box div img {
	max-width: 100% !important;
}

/* ---------- Social-group --------- */
.social-group {
	position: relative;
}

.social-group .tab-social > div {
	margin: 0 10px;
	padding: 0 0 10px;
}

#nav-tabs-social {
	position: absolute;
	left: -120px;
	top: 105px;
	width: 220px;
	height: 30px;
	.transform(270deg);

	li {
	display: inline-block;

		&#current a {
			color: @light-text-color;
		}

		a {
			display: block;
			margin: 0;
			padding: 0 2px;
			border: 0;
			text-transform: uppercase;
			outline: 0;
			font-weight: bold;

			&:hover {
				color: @color-tabs;
				background: 0;
			}
		}
	}
}

/* ---------- Tweets --------- */
.tweets {
	header h2 {
		background-position: 15px -72px;
	}

	iframe {
		max-width: 100%;
		min-width: 180px;
	}
}


/* ---------- YouTube --------- */
.youtube h2 {
	background-position: 4px -141px;
}

/* ========== Footer-menu ========== */
.footer-menu {
	position: relative;
	padding: .8em 0;
	line-height: 1;
	vertical-align: middle;
	background: url(../img/parallax-slider/bg-slider.jpg);
}

/* ---------- Footer-navigation --------- */
.footer-navigation {
	float: none;
	margin: 0;

	li {
		&:hover {
			background: #fff;
			.transition (0.3s, ease-in-out);
			.round (5px, 5px, 0, 0);
		}
	}

	li:last-child {

		&:hover {
			background: #fbf000;
		}
	}
}

/* ---------- Form-search --------- */
.form-search {
	position: relative;
	width: 100%;
	vertical-align: middle;

	input {
		border: none;
	}

	.input-search {
		width: 100%;
		height: 24px;
		padding: 3px 27px 3px 6px;
		line-height: 18px;
		outline: none;
		color: @light-text-color;
		.border-radius ();
		.box-shadow (inset, 1px 1px, 1px, rgba(0, 0, 0, .5));

		&::-webkit-search-cancel-button {/*hides a clear button*/
			-webkit-appearance: none;
		}

		&:focus {
			.box-shadow (inset, 1px 1px, 1px, rgba(0, 0, 0, .2));
			color: @text-color;
		}
	}

	.submit {
		position: absolute;
		top: 0;
		right: 0;
		width: 23px;
		height: 100%;
		background: url(../img/btn-search.png) no-repeat 0 50%;
		opacity: 0.5;

		&:hover {
			opacity: 0.8;
		}
	}
}

/* ========== FOOTER ========== */
.main-footer {
	padding: 35px 0 80px;
	background: url(../img/bg-footer-main.jpg) no-repeat 50% 0,
	#d8d8d8 url(../img/bg-gray-footer-main.jpg);

	h4 {
		margin: 0 0 10px;
		line-height: 1;
	}

	p {
		margin: 0 0 8px;
	}
}

/* ---------- Social-r --------- */
#social-r {
	a {
		display: block;
		float: left;
		width: 25px;
		height: 25px;
		margin: 0 6px 6px 0;
		text-indent: -9999px;
		background: url(../img/sprite-icons-social.png) no-repeat;
		.transition (0.5s, ease-in-out);

		a img {
			border: none;
		}
	}

	.facebook:hover {
		background-position: -26px 0;
	}

	.vkontakte {
		background-position: 0 -25px;

		&:hover {
			background-position: -26px -25px;
		}
	}

	.youtube-channel {
		background-position: 0 -50px;

	&:hover {
		background-position: -26px -50px;
	}
}

	.google {
		background-position: 0 -75px;

	&:hover {
		background-position: -26px -75px;
	}
}

	.rss {
		background-position: 0 -100px;

		&:hover {
			background-position: -26px -100px;
		}
	}
}

/* ---------- Phone --------- */
.phone-number {
	font-size: 24px;
	font-weight: normal;
}

/* ========== SECONDARY PAGE ========== */
.secondary-page {
	background: url(../img/bg-berimbau.jpg) no-repeat 72.5% 0;
}

/* ---------- Submenu --------- */
#submenu {
	padding: 10px 0;
	background: #47971c;
	.box-shadow (0, 6px, 8px, #00a302);

	nav {
		text-align: center;

		a {
			margin-right: 1em;
			color: #fff;
			font-size: 16px;
			line-height: 1em;
			.transition ();

			&:hover, &:active {
				color: #fbf000;
			}
		}
	}
}

/* ========== CONTENT ========== */
.content {
	background: rgba(238, 238, 238, .8);
}

.padding-reset-right {
	padding-right: 0 !important;
}

.padding-reset-left {
	padding-left: 0 !important;
}

.page-head {
	margin: .8em 0;
	font: 700 36px/1.3 @heading-font;
	color: #00a14b;
	.text-shadow (1px, 1px, 1px, rgba(255, 255, 255, 0.8));
}

/* ---------- Main --------- */
.main {
	padding: 20px 16px;
	background: rgba(255, 255, 255, .7);

	.main-item {
		margin-bottom: 24px;
	}

	h2, h3, h4 {
		margin: 1em 0 .8em;
		line-height: 1.2;
	}

	p {
		margin-bottom: .8em;
		font-size: 16px;
	}

	ul, ol  {
		margin: 0 0 .5em 1.35em;
		font-size: 16px;
	}

	ul li {
		position: relative;
		padding: 0 0 0 12px;

		&:before {
			content: "";
			display: block;
			position: absolute;
			top: 8px;
			left: 0;
			width: 6px;
			height: 6px;
			.border-radius (50%);
			background: @color-tabs;
		}
	}

	ol {
		counter-reset: li;

		li {
			position: relative;
			padding: 0 18px;

			&:before {
				content: counter(li)".";
				counter-increment: li;
				position: absolute;
				top: 1px;
				left: 0;
				color: @color-tabs;
				font-weight: bold;
			}
		}
	}

	.table {
		width: 100%;
		margin-top: 2em;

		thead {
			border-bottom: 1px solid #ddd;
			background: #eee;
		}

		tr {
			.transition ();

			&:nth-child(even) {
				background: #f4f4f4;
			}

			&:hover {
				background: #eee;
			}

			th {
				text-transform: uppercase;

				&:first-child {
					color: @color-tabs;
				}
			}

			th, td {
				padding: 3px 3px 0;
				text-align: center;

				&:first-child {
					text-align: left;
				}
			}
		}
	}
}

/* ========== SIDEBAR ========== */
.sidebar {
	padding: 20px 0 0 30px;
	background: rgba(238, 238, 238, .5) url(../img/gradient-aside.png) no-repeat 0 50%;

	.events, .news {
		margin-bottom: 32px;
	}

	h2 {
		margin: 0 15px 0 0;
		line-height: 24px;
	}

	.youtube {
		h2 {
			background: url(../img/sprite-ico-activity.png) no-repeat 4px -141px;
		}

		hr {
			margin-bottom: 16px;
		}
	}
}

/* ========== MEDIA responsive web-design ========== */
#rwd-header-nav-btn, #rwd-footer-nav-btn,
.rwd-header-nav, .rwd-footer-nav {
	display: none;
}

.rwd-btn-right, .rwd-btn-left {
	position: absolute;
	top: 10px;
	z-index: 2001;
}

.rwd-btn-right {
	right: 1em;
}

.rwd-btn-left {
	left: 1em;
	top: 0;
}

.rwd-header-nav, .rwd-footer-nav {
	position: absolute;
	top: 10px;
	z-index: 2000;
	padding: 1em;
	line-height: 1.2;
	background: #fff;
	.border-radius (10px);
	.gradient (#fff, #ddd);
	-moz-box-shadow: 0 0 10px rgba(150, 150, 150, .9), 0 -1px 0 #fff inset;
	-webkit-box-shadow: 0 0 10px rgba(150, 150, 150, .9), 0 -1px 0 #fff inset;
	box-shadow: 0 0 10px rgba(150, 150, 150, .9), 0 -1px 0 #fff inset;

	ul {
		margin-bottom: 6px;

		li a:hover {
			text-decoration: underline;
		}

		.nav-link {
			font-weight: bold;
		}

		li ul {
			margin-left: 1em;
		}
	}
}

.rwd-header-nav {
	right: 7em;
}

.rwd-footer-nav {
	left: 7em;
	width: 450px;
	height: 330px;

	ul ul li {
		display: inline-block;
		margin-left: 10px;
	}
}

/* ---------- Smaller than 1200 (devices and browsers) --------- */
@media only screen and (max-width: 1199px) {
	.header-navigation ul li .nav-link {
		padding: 3px 6px;
		font-size: 18px;
	}

	#schedule-tabs {
		li {
			&:first-child a {
				width: 60px;
			}

			a {
				width: 104px;
				padding: 0 14px;
			}
		}
	}

	#schedule-content {
		div {
			height: 170px;
			min-height: 170px;
			overflow: auto;

			p {
				margin: 0;
			}
		}
	}

	.training .news p {
		margin: 0 0 10px;
		line-height: 1.2;
	}

	.footer-navigation ul li .nav-link {
		padding: 3px 6px;
		font-size: 16px;
	}
}

/* ---------- Smaller than 1010 (devices and browsers) --------- */
@media only screen and (min-width: 980px) and (max-width: 995px) {
	.header-navigation,
	.footer-navigation {
		display: none;
	}

	#rwd-footer-nav-btn, #rwd-header-nav-btn {
		display: inline-block;
	}

	#schedule-tabs {
		li {
			&:first-child a {
				width: auto;
			}

			a {
				width: auto;
				padding: 0 6px;
			}
		}
	}
}

/* ---------- Tablet Portrait size to standard 960 (devices and browsers) --------- */
@media only screen and (min-width: 768px) and (max-width: 979px){
	.header-navigation,
	.footer-navigation {
		display: none;
	}

	#rwd-footer-nav-btn, #rwd-header-nav-btn {
		display: inline-block;
	}

	.schedule-header h2 {
		line-height: 1;
	}

	#schedule-tabs {
		li {
			&:first-child a {
				width: auto;
			}

			a {
				width: auto;
				padding: 0 6px;
			}
		}
	}

	.training .news p {
		margin: 0 0 5px;
		line-height: 1;
	}

	.page-head {
		margin: .6em .1em;
	}

	.image-box-left, .image-box-right {
		width: 220px;
	}
}

/* ---------- Mobile Sizes (devices and browsers) --------- */
@media only screen and (max-width: 767px) {
	.header-navigation,
	.footer-navigation,

	#submenu {
		display: none;
	}

	#rwd-footer-nav-btn, #rwd-header-nav-btn {
		display: inline-block;
	}
}

/* ---------- Mobile Landscape Size to Tablet Portrait (devices and browsers) --------- */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.header-navigation,
	.footer-navigation,
	#rwd-footer-nav-btn,
	#submenu {
		display: none;
	}

	#rwd-header-nav-btn {
		display: inline-block;
	}

	.banners,
	.training {
		padding: 5% 5% 0 5%;
	}

	.banner {
		padding-bottom: 5%;
	}

	#schedule-content div {
		height: 100%;
		min-height: 180px;
		overflow: auto;
	}

	.read-more-link {
		font-weight: bold;
	}

	.social-group,
	.tweets,
	.youtube {
		margin: 0 auto 1em;
	}

	.social-group {
		width: 65%;
	}

	.tweets {
		width: 75%;
	}

	.footer-menu {
		padding: 1em 25%;
	}

	.main-footer {
		padding: 5% 5% 0;
	}

	.phone {
		margin-top: 40px;
	}

	.page-head {
		margin: .5em .1em;
	}
}

/* ---------- Mobile Portrait Size to Mobile Landscape Size (devices and browsers) --------- */
@media only screen and (max-width: 479px) {
	.header-navigation,
	.footer-navigation,
	#rwd-footer-nav-btn,
	#submenu {
		display: none;
	}

	#rwd-header-nav-btn {
		display: inline-block;
	}

	.banners,
	.training,
	.social-group,
	.tweets,
	.youtube {
		padding: 5% 5% 0 5%;
	}

	.banner {
		padding-bottom: 5%;
	}

	#schedule-tabs {
		li {
			&:first-child a {
				width: 50px;
			}

			a {
				width: 100px;
				padding: 0 10px;
			}
		}
	}

	#schedule-content div {
		height: 100%;
		min-height: 180px;
		overflow: auto;
	}

	.read-more-link {
		font-weight: bold;
	}

	.footer-menu {
		padding: 1em 10%;
	}

	.main-footer {
		padding: 5% 5% 0;
	}

	.phone {
		margin-top: 40px;
	}

	.page-head {
		margin: .2em .1em;
	}

	.image-box-left, .image-box-right {
		width: 160px;
	}

	.table {
		font-size: 10px;

		th, td {
			padding: 0;
		}
	}

	.secondary-page {
		background: 0;
	}
}