/* ========== GENERAL ========== */
body {
	margin: 0;
	font: 14px/21px "PT Sans", Arial, "Helvetica Neue", Helvetica, Ubuntu, sans-serif;
	color: #333;
	background: #fff;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	padding: 0;
	margin-bottom: 1em;
	color: #333;
}

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;
}

iframe {
	display: block;
	width: 100%;
	height: 1012px;
}

/* ---------- Links --------- */
a:link {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
}

a:visited {
	color: rgba(230, 230, 230, 0.6);
}

a:hover {
	color: #fff;
	outline: 0;
}

a:active {
	outline: 0;
}

a:focus {
	outline: thin dotted;
}

/* ========== HEADER ========== */
.main-header,
.main-footer,
.nav-view {
	color: #c8cacb;
	text-shadow: 0 1px 0 #000;
}

.main-header {
	padding: 1em 0;
	border-top: 1px solid #2d3235;
	background: #485053; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQ4NTA1MyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzYjQ0NDciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #485053 0%, #3b4447 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#485053), color-stop(100%,#3b4447)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #485053 0%,#3b4447 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #485053 0%,#3b4447 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #485053 0%,#3b4447 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #485053 0%,#3b4447 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#485053', endColorstr='#3b4447',GradientType=0 ); /* IE6-8 */
	-webkit-box-shadow: 0 5px 10px #000000;
	-moz-box-shadow: 0 5px 10px #000000;
	box-shadow: 0 5px 10px #000000;
}

.logo {
	opacity: .5;
	-webkit-transition: all 0.6s ease-in-out;
	-moz-transition: all 0.6s ease-in-out;
	-o-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
}

.logo:hover {
	opacity: 1;
}

.contacts {
	margin: 0;
	font-size: 1.4em;
	text-align: right;
	color: rgba(255, 255, 255, 0.8);
}

.contacts .freelance,
.contacts .skype,
.contacts .mailto {
	display: inline-block;
	height: 30px;
	margin: 0 1em;
	padding-left: 36px;
	background: url(../img/ico-sprite-contacts.png) no-repeat;
	opacity: .7;
	-webkit-transition: opacity 0.8s ease-out;
	-moz-transition: opacity 0.8s ease-out;
	-o-transition: opacity 0.8s ease-out;
	transition: opacity 0.8s ease-out;
}

.contacts .freelance:hover,
.contacts .skype:hover,
.contacts .mailto:hover {
	opacity: 1;
	color: #fff;
}

.contacts .freelance {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	background-position: 0 0;
}

.contacts .freelance:hover {
	text-decoration: underline;
	background-position: 0 -30px;
}

.contacts .skype {
	background-position: 0 -60px;
}

.contacts .skype:hover {
	background-position: 0 -90px;
}

.contacts .mailto {
	background-position: 0 -120px;
}

.contacts .mailto:hover {
	background-position: 0 -150px;
}

/* ========== SLOGAN ========== */
.slogan {
	background: rgba(255, 255, 255, 0.8);
}

.slogan h1 {
	font-family: "PT Sans", Arial, "Helvetica Neue", Helvetica, Ubuntu, sans-serif;
	text-align: center;
	letter-spacing: 1px;
	text-shadow: -1px -1px #666, 1px 1px #fff;
	color: rgba(255, 255, 255, 0.6);
}

.slogan h1 span {
	display: block;
}

/* ========== EXAMPLES ========== */
.examples {
	position: relative;
	padding-bottom: 1em;
	background: #ededeb;
}

.examples:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.03)), color-stop(100%, rgba(0, 0, 0, 0)));
	background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
	background: -o-linear-gradient(top, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
	background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
	z-index: 10;
}

.examples h2 {
	color: rgba(51, 51, 51, 0.8);
	font-weight: bold;
	text-shadow: 0 2px 0 #fff;
}

/* ---------- example-item --------- */
.examples-item {
	position: relative;
	overflow: hidden;
	width: 320px;
	height: 320px;
	margin-bottom: 2em;
	border: 10px solid #fff;
	text-align: center;
	-webkit-box-shadow: 1px 1px 20px #e6e6e6;
	-moz-box-shadow: 1px 1px 2px #e6e6e6;
	box-shadow: 1px 1px 20px #e6e6e6;
	cursor: default;
}

.examples-item .info-box {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	width: 300px;
	height: 300px;
	background-color: rgba(0, 0, 0, 0.5);
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	-webkit-transition: all 0.3s ease-in 0.4s;
	-moz-transition: all 0.3s ease-in 0.4s;
	-o-transition: all 0.3s ease-in 0.4s;
	-ms-transition: all 0.3s ease-in 0.4s;
	transition: all 0.3s ease-in 0.4s;
}

.examples-item img {
	display: block;
	position: relative;
	height: auto;
	-webkit-transition: all 0.4s ease-in-out 0.5s;
	-moz-transition: all 0.4s ease-in-out 0.5s;
	-o-transition: all 0.4s ease-in-out 0.5s;
	-ms-transition: all 0.4s ease-in-out 0.5s;
	transition: all 0.4s ease-in-out 0.5s;
}

.examples-item h3 {
	position: relative;
	margin: 20px 0 0 0;
	padding: 10px;
	border-bottom: 1px solid #e7e7e7;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.3;
	font-size: 17px;
	color: #fff;
	background: rgba(0, 0, 0, 0.3);
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	-webkit-transform: scale(10);
	-moz-transform: scale(10);
	-o-transform: scale(10);
	-ms-transform: scale(10);
	transform: scale(10);
	-webkit-transition: all 0.3s ease-in-out 0.1s;
	-moz-transition: all 0.3s ease-in-out 0.1s;
	-o-transition: all 0.3s ease-in-out 0.1s;
	-ms-transition: all 0.3s ease-in-out 0.1s;
	transition: all 0.3s ease-in-out 0.1s;
}

.examples-item h3 a {
	display: block;
	color: #fff;
	text-decoration: underline;
}

.examples-item h3 a:hover {
	text-decoration: none;
}

.examples-item h3 span {
	display: block;
	font-size: 12px;
	text-transform: none;
}

.examples-item p {
	position: relative;
	padding: 10px 20px 20px;
	font-size: 14px;
	text-align: center;
	color: #ffec40;
	background: rgba(0, 0, 0, 0.6);
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	-webkit-transform: scale(10);
	-moz-transform: scale(10);
	-o-transform: scale(10);
	-ms-transform: scale(10);
	transform: scale(10);
	-webkit-transition: all 0.3s ease-in-out 0.2s;
	-moz-transition: all 0.3s ease-in-out 0.2s;
	-o-transition: all 0.3s ease-in-out 0.2s;
	-ms-transition: all 0.3s ease-in-out 0.2s;
	transition: all 0.3s ease-in-out 0.2s;
}

.examples-item a.info {
	display: inline-block;
	padding: 7px 14px;
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
	background: #000;
	-webkit-box-shadow: 0 0 1px #000;
	-moz-box-shadow: 0 0 1px #000;
	box-shadow: 0 0 1px #000;
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	-webkit-transform: translateY(100px);
	-moz-transform: translateY(100px);
	-o-transform: translateY(100px);
	-ms-transform: translateY(100px);
	transform: translateY(100px);
	-webkit-transition: all 0.3s ease-in-out 0.1s;
	-moz-transition: all 0.3s ease-in-out 0.1s;
	-o-transition: all 0.3s ease-in-out 0.1s;
	-ms-transition: all 0.3s ease-in-out 0.1s;
	transition: all 0.3s ease-in-out 0.1s;
}

.examples-item a.info:hover {
	-webkit-box-shadow: 0 0 5px #000;
	-moz-box-shadow: 0 0 5px #000;
	box-shadow: 0 0 5px #000;
}

.examples-item:hover .info-box {
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	-webkit-transition-delay: 0s;
	-moz-transition-delay: 0s;
	-o-transition-delay: 0s;
	-ms-transition-delay: 0s;
	transition-delay: 0s;
}

.examples-item:hover img {
	-webkit-transition-delay: 0s;
	-moz-transition-delay: 0s;
	-o-transition-delay: 0s;
	-ms-transition-delay: 0s;
	transition-delay: 0s;
}

.examples-item:hover h3 {
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	-webkit-transition-delay: 0.1s;
	-moz-transition-delay: 0.1s;
	-o-transition-delay: 0.1s;
	-ms-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

.examples-item:hover p {
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	-webkit-transition-delay: 0.2s;
	-moz-transition-delay: 0.2s;
	-o-transition-delay: 0.2s;
	-ms-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

.examples-item:hover a.info {
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-o-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition-delay: 0.3s;
	-moz-transition-delay: 0.3s;
	-o-transition-delay: 0.3s;
	-ms-transition-delay: 0.3s;
	transition-delay: 0.3s;
}

.main-footer {
	padding: 1em 0;
	background-color: #3b4447;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#3b4447), to(#485053));
	background-image: -webkit-linear-gradient(top, #3b4447, #485053);
	background-image: -moz-linear-gradient(top, #3b4447, #485053);
	background-image: -o-linear-gradient(top, #3b4447, #485053);
	background-image: linear-gradient(to bottom, #3b4447, #485053);
	-webkit-box-shadow: 0 -2px 30px #000000;
	-moz-box-shadow: 0 -2px 30px #000000;
	box-shadow: 0 -2px 30px #000000;
}

.nav-view {
	padding: 8px 0;
	text-align: center;
	background: rgba(206, 206, 206, 0.4) url(../examples/capoeira/img/bg-training.jpg) repeat;
}

.nav-view a,
.nav-view span {
	padding: 0 6px;
	font-size: 16px;
	color: rgba(51, 51, 51, 0.8);
	text-shadow: 0 2px 0 #fff;
}

.nav-view span {
	text-decoration: underline;
}

/* ---------- Effect Brackets --------- */
.brackets a:before,
.brackets a:after {
	display: inline-block;
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
	-moz-transition: -moz-transform 0.3s, opacity 0.2s;
	transition: transform 0.3s, opacity 0.2s;
}

.brackets a:before {
	margin-right: 10px;
	content: '[';
	-webkit-transform: translateX(20px);
	-moz-transform: translateX(20px);
	transform: translateX(20px);
}

.brackets a:after {
	margin-left: 10px;
	content: ']';
	-webkit-transform: translateX(-20px);
	-moz-transform: translateX(-20px);
	transform: translateX(-20px);
}

.brackets a:hover:before,
.brackets a:hover:after,
.brackets a:focus:before,
.brackets a:focus:after {
	opacity: 1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	transform: translateX(0px);
}

/* ---------- Button --------- */
#rwd-btn {
	display: block;
	overflow: hidden;
	padding: 8px 10px;
	color: #949494;
	font: bold 20px/16px "Myriad Pro", "Trebuchet MS", "PT Sans", sans-serif;
	text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-moz-background-clip: padding-box;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	background: #fff;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(#ffffff, 0), color-stop(#f6f6f6, 0.74), color-stop(#ededed, 1));
	background: -webkit-linear-gradient(top, #ffffff 0%, #f6f6f6 74%, #ededed 100%);
	background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 74%, #ededed 100%);
	background: -o-linear-gradient(top, #ffffff 0%, #f6f6f6 74%, #ededed 100%);
	background: linear-gradient(top, #ffffff 0%, #f6f6f6 74%, #ededed 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed', GradientType=0);
	-webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2), 0px 0px 0px 1px rgba(188, 188, 188, 0.1);
	-moz-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2), 0px 0px 0px 1px rgba(188, 188, 188, 0.1);
	box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2), 0px 0px 0px 1px rgba(188, 188, 188, 0.1);
	-webkit-transition: box-shadow 0.3s ease-in-out;
	-moz-transition: box-shadow 0.3s ease-in-out;
	-o-transition: box-shadow 0.3s ease-in-out;
	transition: box-shadow 0.3s ease-in-out;
}

#rwd-btn:hover {
	background: #fff;
	color: #41494c;
	-webkit-box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.4), 0px 0px 0px 1px rgba(188, 188, 188, 0.1);
	-moz-box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.4), 0px 0px 0px 1px rgba(188, 188, 188, 0.1);
	box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.4), 0px 0px 0px 1px rgba(188, 188, 188, 0.1);
}

#rwd-btn:active {
	background: #949494;
	-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.6) inset, 0px 0px 0px 1px rgba(188, 188, 188, 0.1);
	-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.6) inset, 0px 0px 0px 1px rgba(188, 188, 188, 0.1);
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.6) inset, 0px 0px 0px 1px rgba(188, 188, 188, 0.1);
	color: #fff;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
}

/*========== MEDIA responsive web-design ==========*/
.rwd-btn,
.rwd-contacts {
	display: none;
}

.rwd-contacts {
	margin-top: 1em;
}

.rwd-contacts .freelance,
.rwd-contacts .skype,
.rwd-contacts .icq {
	display: block;
	height: 30px;
	margin: 0 1em 1em 0;
	padding: 6px 0 0 36px;
	background: url(../img/ico-sprite-contacts.png) no-repeat;
	opacity: .7;
	-webkit-transition: opacity 0.8s ease-out;
	-moz-transition: opacity 0.8s ease-out;
	-o-transition: opacity 0.8s ease-out;
	transition: opacity 0.8s ease-out;
}

.rwd-contacts .freelance:hover,
.rwd-contacts .skype:hover,
.rwd-contacts .icq:hover {
	opacity: 1;
	color: #fff;
}

.rwd-contacts .freelance {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	background-position: 0 0;
}

.rwd-contacts .freelance:hover {
	text-decoration: underline;
	background-position: 0 -30px;
}

.rwd-contacts .skype {
	background-position: 0 -60px;
}

.rwd-contacts .skype:hover {
	background-position: 0 -90px;
}

.rwd-contacts .icq {
	background-position: 0 -120px;
}

.rwd-contacts .icq:hover {
	background-position: 0 -150px;
}

/*---------- Smaller than 1200 (devices and browsers) ---------*/
@media only screen and (max-width: 1199px) {

}

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

	.rwd-btn {
		display: block;
		text-align: right;
    }

	.rwd-btn #rwd-btn {
		display: inline-block;
	}
}

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

	.rwd-btn {
		display: block;
		text-align: right;
	}

	.rwd-btn #rwd-btn {
		display: inline-block;
	}

	.examples-item {
        margin: auto;
        width: 110%;
    }
}

/* ---------- Mobile Sizes (devices and browsers) ---------*/
@media only screen and (max-width: 767px) {
	.contacts {
        display: none;
    }

	.rwd-btn {
		display: block;
		text-align: right;
	}

	.rwd-btn #rwd-btn {
		display: inline-block;
	}
}

/*---------- Mobile Landscape Size to Tablet Portrait (devices and browsers) ---------*/
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.contacts {
		display: none;
	}

	.rwd-btn {
		display: block;
		text-align: right;
	}

	.rwd-btn #rwd-btn {
		display: inline-block;
	}

	.examples-item {
		margin: auto;
	}
}

/* ---------- Mobile Portrait Size to Mobile Landscape Size (devices and browsers) ---------*/
@media only screen and (max-width: 479px) {
	.contacts {
		display: none;
	}

	.rwd-btn {
		display: block;
		text-align: right;
	}

	.rwd-btn #rwd-btn {
		display: inline-block;
		padding: 6px 8px;
		font-size: 16px;
		font-weight: normal;
	}

	.examples-item {
		margin: auto;
	}
}