/* v 1.08 */
/* RESET */

html, php, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin : 0;
	padding : 0;
	border : 0;
	outline : 0;
	background : transparent;
}
body {
line-height : 1;
}
ol, ul {
	list-style : none;
	text-align: left;
}
blockquote, q {
quotes : none;
}
blockquote:before, blockquote:after, q:before, q:after {
content : '';
content : none;
}
:focus {
outline : 0;
}
ins {
text-decoration : none;
}
del {
text-decoration : line-through;
}
table {
border-collapse : collapse;
border-spacing : 0;
}
a {
text-decoration: none;
}

body {
	font-family: 'Raleway', sans-serif;
	font-weight: 300;
	background: #FFF;
	color: #333;
	-webkit-text-size-adjust: none;
}
body.show-nav {
	height: 100%;
	overflow: hidden;
}

/* inlines */

h2 {
	font-size: 42px;
	text-transform: uppercase;
	font-family: Raleway, sans-serif;
	font-weight: 800;
	margin-bottom: 10px;
	color: #894139;
	text-align: center;
}
h2 b {
	font-size: 48px;
	font-weight: 800;
}
h3 {
	font-family: 'Raleway', sans-serif;
	text-transform: uppercase;
	font-size: 32px;
	font-weight: 300;
	margin-bottom: 20px;
	text-align: center;
}
h4 {
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 10px;
	color: #894139;
	margin-top: 10px;
	font-family: Raleway, sans-serif;
	text-align: center;
	line-height: 20px;
}
h5 {
	font-family: 'Raleway', sans-serif;
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 300;
	margin: 20px 0 10px;
	text-align: center;
}
p,
blockquote {
	line-height: 1.3em;
	font-size: 0.9em;
	margin-bottom: 10px;
	text-align: left;
}
h1 a, h2 a, h3 a, h4 a, h5 a {
	color: inherit;
}
p a,
li a {
	color: #FF9900;
}
.align-center {
	text-align: center;
}
.align-left {
	text-align: left;
}
.align-right {
	text-align: right;
}
.align-justify {
	text-align: justify;
}
.float-left {
	float: left;
	margin: 10px 20px 20px 0;
}
.float-right {
	float: right;
	margin: 10px 0 20px 20px
}
.no-margin {
	margin: 0;
}
img.icon-50 {
	width: 50px;
}
img.icon-25 {
	width: 25px;
}
img.icon-25.float-left {
	margin: 0 10px 10px 0;
}
img.rounded {
	margin-bottom: 20px;
	border-radius: 256px;
}
img.align-center {
	display: block;
	margin: 20px auto 20px;
}
img.full-width {
	width: 100%;
}
p img {
	display: block;
	box-shadow: none;
	margin: 10px 20px 20px;
	max-width: 95%;
}
p img.align-left {
	margin-left: 2px;
	float: left;
}
p img.align-right {
	margin-right: 2px;
	float: right;
}
p img.align-center {
	margin: 20px auto;
}
blockquote {
	font-family: 'Glegoo', serif;
	color: #333;
	background: rgba(0,0,0,.05);
	padding: 20px 20px 20px 50px;
	position: relative;
	border-radius: 4px;
}
.post blockquote {
	margin: 20px 0;
}
blockquote:before {
	content: "“";
	display: block;
	position: absolute;
	top: 42px;
	left: 15px;
	font-size: 5em;
	opacity: .15;
}

/* ULs */

ul li {
	line-height: 1.3em;
	margin-bottom: 10px;
}
ul li a {
	color: #333;
}
ul li a:hover {
	color: #3b5998;
}
ul.circles li,
ul.stars li,
ul.checklist li {
	padding: 2px 0 0 20px;
	background: url("../images/ul_circles.png") left center no-repeat;
	background-size: 14px;
}
ul.circles li {
	background-image: url("../images/ul_circles.png");
}
ul.stars li {
	background-image: url("../images/ul_stars.png");
}
ul.checklist li {
	background-image: url("../images/ul_check.png");
}

/* tabs */

ul.tabs {
	position: relative;
	width: 98%;
	margin-left: 2px;
}
ul.tabs li {
	background: #FFF;
	position: absolute;
	width: 100%;
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	opacity: 0;
	z-index: 0;
}
ul.tabs li.active {
	opacity: 1;
	z-index: 10;
}
ul.tabs li .tab-container {
	padding: 20px;
	opacity: 0;
	
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;
}
p.list-nav {
	margin-bottom: 0;
	z-index: 10;
	margin-left: 6px;
}
p.list-nav a {
	position: relative;
	display: inline-block;
	padding: 10px 20px;
	box-shadow: 0 1px 2px rgba(0,0,0,.3);
	background: #F9F9F9;
	color: inherit;
}
p.list-nav a.current {
	z-index: 15;
	top: -2px;
	background: white;
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
p.list-nav a.current:before {
	content: "";
	display: block;
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: 10px;
	background: white;
	z-index: 100;
}
ul.tabs li.active .tab-container {
	opacity: 1;
}

/* Accordion */

ul.accordion {
	position: relative;
}
ul.accordion .tab-header {
	background: #FFF;
	position: relative;
	width: auto;
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	display: block;
	margin: 0 2px;
	color: inherit;
	cursor: pointer;
}
ul.accordion .tab-header a {
	display: block;
	padding: 15px 20px;
}
ul.accordion .tab-header:hover {
	background: #FAFAFA;
}
ul.accordion .tab-header a:hover {
	color: inherit;
}
ul.accordion li {
	transition: all .5s;
	margin-bottom: 0;
}
ul.accordion li .tab-container {
	padding: 20px;
	background: #FAFAFA;
	box-shadow: inset 0 0 4px rgba(0,0,0,.1);
	overflow: hidden;
	margin: 0 2px;
	transition: all .5s;
}
ul.accordion li.hidden .tab-container {
	height: 0;
	padding: 0 20px;
}
ul.accordion li.active .tab-container {
	padding: 20px;
}

/* Alert boxes */

.alert-box {
	background: white;
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	padding: 20px;
	margin: 20px 2px;
}
.alert-box.green {
	background: #39cd94;
	color: white;
	box-shadow: 0 1px 2px rgba(0,0,0,.6);
}

/* buttons */

.button {
	border: none;
	background: #EEE;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
	padding: 8px 12px;
	box-shadow: 0 2px 0 rgba(0,0,0,0.2);
	color: #333;
	cursor: pointer;
	display: inline-block;
	margin: 0 4px;
}
.button.rounded {
	border-radius: 256px;
}
.button:hover,
.button.active {
	margin-top: -1px;
	margin-bottom: 1px;
	box-shadow: 0 3px 0 rgba(0,0,0,0.2);
}
.button.blue {
	background: #0c94b6;
	color: #FFF;
	box-shadow: 0 2px 0 #0a7691;
}
.button.green {
	color: #FFF;
	box-shadow: 0 2px 0 #5d92ff;
	background-color: #3b5998;
}
.button.light-grey {
	background: #E5E5E5;
	color: #333;
	box-shadow: #05460b;
}
.button.grey {
	background: #777;
	color: #FFF;
	box-shadow: 0 2px 0 #555;
}
.button.blue:hover,
.button.blue.active {
	box-shadow: 0 3px 0 #0a7691;
}
.button.green:hover,
.button.green.active {
	box-shadow: 0 3px 0 #5d92ff;
}
.button.light-grey:hover,
.button.light-grey.active {
	box-shadow: 0 3px 0 rgba(0,0,0,0.2);
}
.button.grey:hover,
.button.grey.active {
	box-shadow: 0 3px 0 #555;
}

#wrapper {
	width: 100%;
	-webkit-transition: margin .1s;
	-moz-transition: margin .1s;
	-ms-transition: margin .1s;
	transition: margin .1s;
}
.home #wrapper {
	background: #FFF;
	padding-top: 0;
}

/* header */

#main-header {
	width: 100%;
	background-color: #894139;
	overflow: hidden;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 20px;
	padding-right: 0;
	padding-bottom: 20px;
	padding-left: 0;
	background-image: url(../images/header.jpg);
	background-position: center center;
	background-repeat: no-repeat;
}
.home #main-header {
	margin-top: 0;
}

/* sections general */

section {
	box-shadow: ;
	background-color: ;
	float: left;
	width: 100%;
}
.container {
	width: 960px;
	overflow: hidden;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 20px;
	padding-right: 0;
	padding-bottom: 0px;
	padding-left: 0;
}

/* sections backs */

.back-diagonals {
	background-image: url("../images/patt_diagonals.png");
	background-color: #FFF;
}
.back-hexagons {
	background-image: url("../images/patt_hexagons.png");
	background-color: #FFF;
}
.back-crosses {
	background-image: url("../images/patt_crosses.png");
	background-color: #FFF;
}
.back-ticksanddots {
	background-image: url("../images/patt_ticksanddots.png");
	background-color: #FFF;
}
.back-grey {
	background: #EEE;
}
.back-black {
	background: #444;
	color: #FFF;
	box-shadow: 0 -2px 0 rgba(0,0,0,.1);
	background-image: linear-gradient(-135deg,rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
	background-image: -webkit-linear-gradient(-135deg,rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
	background-attachment: fixed;
	background-size: cover;
}

/* columns */

.column-container{
	overflow: hidden;
	margin-top: 40px;
	margin-right: 0;
	margin-bottom: -40px;
	margin-left: 0;
}
.column-container:first-child {
	margin-top: 0;
}
.column-container:last-child {
	margin-bottom: 0;
	text-align: center;
	margin-top: 35px;
}
.column {
	float: left;
	margin-top: 0;
	margin-right: 40px;
	margin-bottom: 0px;
	margin-left: 0;
}
.column.last {
	margin-right: 0;
}
.column.one-half {
	width: 460px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}
.column.one-third {
	width: 290px;
}
.column.two-thirds {
	width: 630px;
}
.column.one-fourth {
	width: 210px;
}
.column.three-fourths {
	width: 710px;
}
.column.full-width {
	width: 100%;
	margin-right: 0;
}
.column h3 {
	margin-bottom: 20px;
}

/* section cover */

#cover {
	background: url("../images/cover_back.jpg") center bottom no-repeat;
	font-size: 1.3em;
}
#cover .container {
	padding-top: 130px;
	padding-right: 0;
	padding-bottom: 200px;
	padding-left: 0;
}
#cover p {
	padding-right: 560px;
}
#cover h2 {
	font-size: 78px;
	line-height: 60px;
	margin: 20px 0;
}
#cover h3 {
	margin: 0;
	vertical-align: top;
}

/* section features */

#features {
	background-position: center center;
	background-image: url("../images/features_back2.jpg");
	color: #FFF;
}
#features h4,
#features p {
	margin-left: 70px;
}

/* section team */

#team img {
	width: 100%;
}
.photo-container {
	position: relative;
}
#team .contacts,
#sidebar-author .contacts {
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(255,255,255,.4);
	width: 100%;
	height: 116px;
	border-radius: 256px;
	padding-top: 95px;
	opacity: 0;
	text-align: center;
	
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;
}
#team .contacts:hover,
#sidebar-author .contacts:hover {
	opacity: 1;
}
#team .contacts a,
#sidebar-author .contacts a {
	display: inline-block;
	text-indent: -9999px;
	color: #333;
	width: 28px;
	height: 28px;
	background-size: 32px;
	opacity: 1;
}
.icon-fb {
	background: url("../images/social_fb.png") no-repeat center center;
}
.icon-twi {
	background: url("../images/social_twi.png") no-repeat center center;
}
.icon-in {
	background: url("../images/social_in.png") no-repeat center center;
}

/* section testimonials */

#testimonials {
	background-image: linear-gradient(rgb(93,146,255) 0%, rgb(44,69,109) 100%), url("");
	background-image: -webkit-linear-gradient(rgb(93,146,255) 0%, rgb(44,69,109) 100%), url("../images/testimonials_back.jpg");
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
	color: #FFF;
	overflow: hidden;
}
html[data-useragent*='msie 9'] #testimonials {
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzM5Y2Q5NCIgc3RvcC1vcGFjaXR5PSIwLjYiLz4KICAgIDxzdG9wIG9mZnNldD0iOTklIiBzdG9wLWNvbG9yPSIjMzljZDk0IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzM5Y2Q5NCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=), url("../images/testimonials_back.jpg");
}
#testimonials-container {
	position: relative;
	margin: 60px 0 40px;
	overflow: hidden;
}
#testimonials-container li {
	left: 0;
	position: absolute;
	top: 0;
	left: 0;
}
#testimonials-container blockquote {
	font-family: 'Glegoo', serif;
	font-size: 16px;
	padding: 0 0 0 5%;
	margin: 0 0 30px;
	display: block;
	line-height: 1.4em;
	width: 95%;
	opacity: 0;
	color: #FFF;
	background: none;
}
#testimonials-container blockquote:before {
	content: "“";
	font-size: 100px;
	position: absolute;
	color: #FFF;
	opacity: .3;
	top: 35px;
	left: 0;
}
#testimonials-container p.author {
	font-size: 28px;
	display: inline-block;
	border-top: 1px solid rgba(255,255,255,0.3);
	padding: 20px 20px 0;
	opacity: 0;
}
#testimonials-container p.author:before {
	content: "— ";
	top: 35px;
	left: 0;
}
#testimonials-container blockquote,
#testimonials-container p.author {
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-ms-transition: opacity .5s;
	transition: opacity .5s;
}
#testimonials-container li.current {
	opacity: 1;
}
#testimonials-container li.current p.author {
	margin-top: 0;
	opacity: 1;
}
#testimonials-container li.current blockquote {
	margin-left: 0;
	opacity: 1;
}
#testimonials-nav {
	overflow: hidden;
}
#testimonials-nav ul li {
	float: left;
	margin-right: 10px;
}
#testimonials-nav ul li a {
	display: block;
	background: #FFF;
	font-size: 22px;
	border-radius: 256px;
	width: 50px;
	text-align: center;
	padding: 13px 0;
	color: #3b5998;
	opacity: 0.5;
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-ms-transition: opacity .5s;
	transition: opacity .5s;	
}
#testimonials-nav ul li.current a,
#testimonials-nav ul li a:hover {
	opacity: 1;
	color: #3b5998;
}

/* section subscribe */

#subscribe {
	background-image: linear-gradient(rgb(5,70,11) 0%, rgb(117,164,60) 100%), url("");
	background-image: -webkit-linear-gradient(rgb(5,70,11) 0%, rgb(117,164,60)) 100%), url("");
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
	color: #fff;
	padding: 40px 0;
}
html[data-useragent*='msie 9'] #subscribe {
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzBhMGEwYSIgc3RvcC1vcGFjaXR5PSIwLjYiLz4KICAgIDxzdG9wIG9mZnNldD0iOTklIiBzdG9wLWNvbG9yPSIjMGEwYTBhIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzBhMGEwYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=), url("../images/subscribe_back.jpg");
}




#subscribe-form {
	width: 600px;
	margin: 20px auto;	
	overflow: hidden;
}
#subscribe-form p {
	width: 430px;
	float: left;
	margin-bottom: 0;
}
#subscribe-form p.submit {
	width: auto;
	float: right;
}
#subscribe-form p.submit button {
	padding: 11px 12px;
}

/* section contacts */

section#contacts {
	background-color: #EEE;
}

form {
	position: relative;
}
form p {
	background: #FFF;
	margin: 0 0 10px;
	padding: 10px;
	
	position: relative;
}
form p.submit {
	padding: 0;
	background: none;
	box-shadow: none;
	margin-bottom: 20px;
	text-align: center;
}
input,
textarea {
	margin: 0;
	padding: 0;
	border: none;
	font-family: 'Raleway', sans-serif;
	font-size: 18px;
	width: 100%;
	color: #333;
	background-color: #FFF;
}
form textarea {
	height: 90px;
}
p.form-success-message {
	z-index: 0;
	opacity: 0;
	position: absolute;
	padding: 20px;
}
p.form-success-message strong {
	font-family: 'Raleway';
	font-size: 1.4em;
	margin-bottom: 10px;
	display: inline-block;
	text-transform: uppercase;
}
form .invalid {
	-webkit-animation: shake .25s;
	-moz-animation: shake .25s;
	-ms-animation: shake .25s;
	animation: shake .25s;
}
form.sent * {
	-webkit-animation: fadeOutIn 3s;
	-moz-animation: fadeOutIn 3s;
	-ms-animation: fadeOutIn 3s;
	animation: fadeOutIn 3s;
}
form.sent .form-success-message,
form.sent .form-success-message * {
	-webkit-animation: fadeInOut 3s;
	-moz-animation: fadeInOut 3s;
	-ms-animation: fadeInOut 3s;
	animation: fadeInOut 3s;
}

/* Blogs and portfolios */

article.post {
	border-bottom: 1px dotted #CCC;
	padding-bottom: 30px;
}
article.post:last-child {
	border: none;
}
article.post h3 {
	margin: 40px 0 30px;
}
.post-list article.post h3 {
	margin-top: 0;
}
article.post h4 {
	margin: 40px 0 20px;
}
article.post.column-container {
	margin: 0 0 40px 0;
}
body.post article.post.column-container {
	margin-bottom: 0;
	padding-bottom: 0;
}
article.post.last {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}
article .column {
	margin-bottom: 0;
}
article.portfolio-single .column {
	margin-bottom: 40px;
}
article aside.column {
	width: 100px;
}
article .post-content {
	width: 570px;
}
.post-meta {
	font-size: 1em;
	text-align: right;
}
body.post .post-meta {
	float: none;
	width: 100%;
	text-align: left;
	color: #AAA;
	margin-bottom: 20px;
}
.post-meta p {
	color: #AAA;
}
.post-meta a {
	color: inherit;
}
.post-meta a:hover {
	color: #333;
}
.post-meta h5 {
	font-size: 1em;
	margin: 20px 0 5px;
}
p.post-date {
	color: #666;
	background: #E5E5E5;
	padding: 20px 23px 15px;
	text-align: center;
	line-height: 1em;
	border-radius: 256px;
	display: inline-block;
	margin-bottom: 0;
}
.post-date span {
	display: block;
}
.post-date .day {
	font-size: 2.8em;
	margin-bottom: 10px;
}
.post-cover {
	margin-bottom: 30px;
}
.post-cover p,
.portfolio-item-cover p {
	border: 5px solid white;
	margin: 0 3px 0;
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.post-cover img,
.portfolio-item-cover img {
	width: 100%;
	display: block;
	margin: 0;
	padding: 0;
	border: none;
	max-width: 100%;
	box-shadow: none;
}
.post-tags li {
	display: inline-block;
	margin: 0;
	color: #AAA;
	font-size: .9em;
}
.post-tags li a {
	display: inline-block;
}
.post-tags li a:hover {
	color: #333;
}
article p.read-more {
	margin: 20px 0 0;
}
.read-more a {
	font-size: 1.2em;
	color: inherit;
}
.read-more a:hover {
	color: #3b5998;
}
.portfolio-single.column-container {
	margin-bottom: 0;
}
.portfolio-single .column-container {
	margin-bottom: 30px
}
.portfolio-single .post-meta {
	text-align: left;
	font-size: 1em;
	border-top: 1px dotted #AAA;
	padding-top: 10px;
	margin-top: 20px;
}
.portfolio-single .post-meta.column {
	margin-top: 0;
	padding-top: 0;
	border: none;
}
.portfolio-single .post-meta li {
	margin: 0;
	margin-bottom: 10px;
	border-bottom: 1px dotted #AAA;
	padding-bottom: 10px;
}
.portfolio-single .post-meta li:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}
.portfolio-single .post-meta h5,
.portfolio-single .post-meta p {
	margin: 0;
}
.portfolio-single .post-meta a {
	color: #79a6ff;
}
.portfolio-single .post-meta a:hover {
	text-decoration: underline;
}
.portfolio {
	margin: 10px 0 -20px;
	padding: 20px 0;
}

/* Slideshow */

.slideshow {
	position: relative;
}
.slideshow .slide {
	position: absolute;
	top:0;
	left: 0;
	opacity: 0;
	width: 100%;
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-ms-transition: opacity .5s;
	transition: opacity .5s;
}
.slideshow.column.full-width .slide {
	width: 80%;
	margin: 0 10%;
}
.slideshow .slide.active {
	opacity: 1;
}
.slideshow ul.slideshow-nav {
	position: absolute;
	width: 100%;
	z-index: 100;
	bottom: 10px;
	text-align: center;
}
.slideshow ul.slideshow-nav li {
	display: inline-block;
	margin: 0 2px;
}
.slideshow ul.slideshow-nav li:last-child {
	margin-right: 0;
}
.slideshow ul.slideshow-nav li a {
	display: block;
	width: 6px;
	height: 6px;
	text-indent: -9999px;
	background: none;
	border: 2px solid white;
	border-radius: 256px;
	box-shadow: 0 1px 2px rgba(0,0,0,.5);
	position: relative;
}
.slideshow ul.slideshow-nav li.active a {
	width: 8px;
	height: 8px;
	background: #FFF;
	margin: 0 -1px;
	top: -1px;
}

/* Post comments */

#post-comments {
	margin: 10px 0 0;
	box-shadow: none;
	background: none;
	float: left;
}
ul.comments-list {
	margin-bottom: 20px;
	float: left;
}
.comment {
	margin-bottom: 5px;
	padding: 2px;
}
.comment blockquote {
	margin: 0 0 2px;
}
.comment-author {
	width: 105px;
}
.comment.author .comment-author {
	float: right;
	margin-right: 0;
	margin-left: 40px;
}
.comment-author img {
	margin-bottom: 5px;
	text-align: left;
}
.comment-author a,
.comment-author span {
	display: block;
}
.comment-date {
	color: #AAA;
}
.comment-content {
	width: 760px;
	text-align:left;
	padding: 10px;
	background: white;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	border-radius: 4px 4px 4px 0;
	min-height: 60px;
	margin: 0 2px;
}
.comment.author .comment-content {
	background: #fffdec;
}
.comment-actions {
	margin-bottom: 0;
}
.comment-actions a {
	color: #0c94b6;
	display: inline-block;
}
.comment-actions a:after {
	display: block;
	float: right;
	margin: 0 0 0 5px;
	font-size: 1.6em;	
}
.comment-actions a:last-child:after {
	display: none;
}
.comment-actions a:hover {
	text-decoration: underline;
}

/* Paginator */

#paginator {
	border-top: 1px dotted #CCC;
	overflow: hidden;
	height: 50px;
	float: left;
	width: 100%;
	margin: 40px 0 0;
	padding: 20px 0 0;
}
#paginator ul li {
	display: inline-block;
	text-transform: uppercase;
}
#paginator ul li.prev {
	float: left;
}
#paginator ul li.next {
	float: right;
}
#paginator ul li a {
	display: block;
	background: url("../images/icon_arrowleft_b.png") no-repeat left center;
	background-size: 50px;
	padding: 15px 0px 15px 60px;
	
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-ms-transition: opacity .5s;
	transition: opacity .5s;
}
#paginator ul li.passive a {
	opacity: .2;
}
#paginator ul li a:hover {
	color: inherit;
}
#paginator ul li.passive a:hover {
	opacity: .2;
}
#paginator ul li.next a {
	background-image: url("../images/icon_arrowright_b.png");
	background-position: right center;
	padding: 15px 60px 15px 0;
}

/* Blog sidebar */

.sidebar-widget {
	margin-bottom: 40px;
	position: relative;
}
.sidebar-widget:last-child {
	margin-bottom: 0;
}
.sidebar h4 {
	font-size: 1em;
	margin: 0;
}
.sidebar .post-meta {
	text-align: left;
	color: #AAA;
	margin-bottom: 5px;
}
.sidebar .post-list li {
	padding-bottom: 10px;
	border-bottom: 1px dotted #CCC;
}
.sidebar .post-list li:last-child {
	border-bottom: 0;
}
#sidebar-author img {
	width: 100%;
}

/* Sidebar comments */

.sidebar ul.comments-list {
	float: none;
}
.sidebar .comment {
	margin-bottom: 10px;
}
.sidebar .comment:last-child {
	margin-bottom: 0;
}
.sidebar .comment-content {
	width: 163px;
	min-height: 0;
}
.sidebar .comment-author {
	float: none;
	width: auto;
	text-align: left;
	margin-bottom: 0;
	border-top: 1px dotted #CCC;
	padding-top: 10px;
}
.sidebar .comment.author {
	float: none;
}
.sidebar .comment.author .comment-author {
	float: none;
	margin-left: 0;
}

/* portfolio items */

.portfolio-item {
	position: relative;
	
	-webkit-perspective: 900px;
	-moz-perspective: 900px;
	-ms-perspective: 900px;
	perspective: 900px;
	
	-webkit-transition: opacity .25s, -webkit-transform .5s;
	-moz-transition: opacity .25s, -moz-transform .5s;
	-ms-transition: opacity .25s, -ms-transform .5s;
	transition: opacity .25s, transform .5s;
}
.portfolio .column:nth-child(3n+3) {
	margin-right: 0;
}
.portfolio-item.hidden {
	opacity: .1;
	-webkit-transform: scale(.8);
	-moz-transform: scale(.8);
	-ms-transform: scale(.8);
	transform: scale(.8);
}
.portfolio-item .portfolio-container {	
	-webkit-transition: opacity .25s, -webkit-transform .5s;
	-moz-transition: opacity .25s, -moz-transform .5s;
	-ms-transition: opacity .25s, -ms-transform .5s;
	transition: opacity .25s, transform .5s;
	
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
}
.portfolio-item:hover .portfolio-container {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
	
	-webkit-transition-delay: .25s;
	-moz-transition-delay: .25s;
	-ms-transition-delay: .25s;
	transition-delay: .25s;
}
.portfolio-filter {
	margin-bottom: 20px;
}
.portfolio-filter li {
	float: left;
}
.portfolio-filter .button:hover,
.portfolio-filter .button.active {
	color: #FFF;
	box-shadow: #05460b;
	background-color: #3b5998;
}
.portfolio .portfolio-item-cover,
.portfolio .portfolio-item-description {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.portfolio .portfolio-item-description {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	margin: 0 2px;
	border: none;
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
	
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
	
}

/* IE10 and 11 portfolio flip fix */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {       
	.portfolio .portfolio-item-description {
		opacity: 0;
		-ms-transition: opacity .25s;
		transition: opacity .25s;
		-ms-transition-delay: 0;
		transition-delay: 0;
		-ms-backface-visibility: visible;
		backface-visibility: visible;
	}
	.portfolio .portfolio-item-description:hover {
		-ms-transition-delay: .5s;
		transition-delay: .5s;
	}
}

.portfolio .portfolio-item-description:hover {
	opacity: 1;
}

.portfolio .portfolio-item-description-bg {
	content: " ";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-image: -webkit-linear-gradient(rgba(255,255,255,.95) 0%, rgba(255,255,255,.95) 100%);
	background-image: linear-gradient(rgba(255,255,255,.95) 0%, rgba(255,255,255,.95) 100%);
	background-size: contain;
	z-index: 0;

	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.portfolio .portfolio-item-description h4,
.portfolio .portfolio-item-description p {
	position: relative;
}
.portfolio .portfolio-item-description h4 {
	padding: 20px 20px 0;
}
.portfolio .portfolio-item-description p {
	padding: 0 20px ;
}
.portfolio .portfolio-item-description .actions {
}
.portfolio .portfolio-item-description .actions li {
	position: absolute;
	left: 20px;
	bottom: 10px;
}
.portfolio-item-description .actions li a {
	display: block;
	width: 16px;
	height: 16px;
	/* text-indent: -9999px; */
	background: url("../images/icon_readmore.png") center center no-repeat;
	background-size: 16px;
	opacity: .5;
	font-size: 0px;
}
.portfolio-item-description .actions li a:hover {
	opacity: 1;
}
.portfolio-item-description .actions li.zoom-in {
	left: 46px;
}
.portfolio-item-description .actions li.zoom-in a {
	background-image: url("../images/icon_zoom_in.png");
}
.portfolio.black .actions li.zoom-in a {
	background-image: url("../images/icon_zoom_in_w.png");
}
.portfolio.black .actions li.read-more a {
	background-image: url("../images/icon_readmore_w.png");
}
.portfolio-item.hidden .portfolio-container {
	-webkit-transform: none;
	-moz-transform: none;
	-ms-transform: none;
	transform: none;
}

.content-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,.95);
	top:0;
	left: 0;
	display: table;
	z-index: 100;
	
	-webkit-animation: fadeIn .5s forwards;
	-moz-animation: fadeIn .5s forwards;
	-ms-animation: fadeIn .5s forwards;
	animation: fadeIn .5s forwards;
}
.content-overlay.fade-out {
	-webkit-animation: fadeOut .5s forwards;
	-moz-animation: fadeOut .5s forwards;
	-ms-animation: fadeOut .5s forwards;
	animation: fadeOut .5s forwards;
}
.content-overlay .container {
	display: table-cell;
	text-align: center;
	width: 100%;
	height: 100%;
	vertical-align: middle;
}
.content-overlay .container #portfolio-fs-img {
	display: inline-block;
	border: 5px #FFF;
	box-shadow: 0 18px 64px rgba(0,0,0,0.8);
	height: 70%;
}

/* Animations */

@keyframes shake {
	0%		{ margin-left: 0; }
	12% 	{ margin-left: -5px; }
	25%		{ margin-left: 0; }
	37% 	{ margin-left: 5px; }
	50% 	{ margin-left: 0; }
	62% 	{ margin-left: -5px; }
	74%		{ margin-left: 0; }
	86% 	{ margin-left: 5px; }
	100% 	{ margin-left: 0; }
}
@-webkit-keyframes shake {
	0%		{ margin-left: 0; }
	12% 	{ margin-left: -5px; }
	25%		{ margin-left: 0; }
	37% 	{ margin-left: 5px; }
	50% 	{ margin-left: 0; }
	62% 	{ margin-left: -5px; }
	74%		{ margin-left: 0; }
	86% 	{ margin-left: 5px; }
	100% 	{ margin-left: 0; }
}
@keyframes fadeOutIn {
	0%		{ opacity: 1; }
	5% 	{ opacity: 0; }
	95%		{ opacity: 0; }
	100% 	{ opacity: 1; }
}
@-webkit-keyframes fadeOutIn {
	0%		{ opacity: 1; }
	5% 	{ opacity: 0; }
	95%		{ opacity: 0; }
	100% 	{ opacity: 1; }
}
@keyframes fadeInOut {
	0%		{ opacity: 0; }
	15% 	{ opacity: 1; }
	85%		{ opacity: 1; }
	100% 	{ opacity: 0; }
}
@-webkit-keyframes fadeInOut {
	0%		{ opacity: 0; }
	15% 	{ opacity: 1; }
	85%		{ opacity: 1; }
	100% 	{ opacity: 0; }
}
@keyframes subnavFadeInL {
	0%		{
		left: -50%;
		opacity: 0;
	}
	100% 	{
		left: 0;
		opacity: 1;
	}
}
@-webkit-keyframes subnavFadeInL {
	0%		{
		left: -50%;
		opacity: 0;
	}
	100% 	{
		left: 0;
		opacity: 1;
	}
}
@keyframes subnavFadeInR {
	0%		{
		left: 50%;
		opacity: 0;
	}
	100% 	{
		left: 0;
		opacity: 1;
	}
}
@-webkit-keyframes subnavFadeInR {
	0%		{
		left: -170%;
		right: auto;
		opacity: 0;
	}
	100% 	{
		left: -120%;
		opacity: 1;
	}
}
@keyframes fadeIn {
	0%		{
		opacity: 0;
	}
	100% 	{
		opacity: 1;
	}
}
@-webkit-keyframes fadeIn {
	0%		{
		opacity: 0;
	}
	100% 	{
		opacity: 1;
	}
}
@keyframes fadeOut {
	0%		{
		opacity: 1;
	}
	100% 	{
		opacity: 0;
	}
}
@-webkit-keyframes fadeOut {
	0%		{
		opacity: 1;
	}
	100% 	{
		opacity: 0;
	}
}


a.logo {
	font-size: 48px;
	color: #333;
	display: block;
	padding: 45px 10px;
}

/* contacts */

#map-canvas {
	height: 320px;
	border: 5px solid white;
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
	margin: 3px; 
}

/* footer */

footer {
	color: #FFF;
	float: left;
	width: 100%;
	background-color: #894139;
}
footer .container {
	padding: 20px 0 10px;
	overflow: hidden;
}
footer nav {
	overflow: hidden;
	margin-bottom: 5px;
}
footer nav ul li {
	float:left;
	font-size: .9em;
	border-right: 1px solid #444;
	padding-right: 10px;
	margin-right: 10px;
	margin-bottom: 0;
}
footer nav ul li:last-child {
	border-right: 0;
	padding-right: 0;
	margin-right: 0;
}
footer nav ul li a {
	color: #FFF;
}
footer nav ul li a:hover {
	color: #FFF;
}
p#footer-copyright {
	width: auto;
}
ul#footer-socials {
	float: right;
	margin: -5px 0 0;
	overflow: hidden;
}
ul#footer-socials li {
	float: left;
	margin: 0;
}
ul#footer-socials a {
	display: block;
	text-indent: -9999px;
	color: #333;
	width: 28px;
	height: 28px;
	background-size: 32px;
	opacity: 0.5;
}
ul#footer-socials a:hover {
	opacity: 1;
}
a#icon-fb {
	background: url("../images/social_fb.png") no-repeat center center;
}
a#icon-twi {
	background: url("../images/social_twi.png") no-repeat center center;
}
a#icon-in {
	background: url("../images/social_in.png") no-repeat center center;
}

/* magic media queries */

@media all and (max-height: 1024px) and (max-width: 1024px) {
	
	section .container,
	#header-nav,
	footer .container {
		width: 900px;
	}
	#cover p {
		padding-right: 480px;
	}
	.column.one-third {
		width: 273px
	}
	.column.two-thirds {
		width: 587px
	}
	.column.one-half {
		width: 430px
	}
	.column.one-fourth {
		width: 195px
	}
	.column.three-fourths {
		width: 665px;
		margin-right: 0;
	}
	.column.three-fourths.post-list {
		margin-right: 40px;
	}
	article .post-content {
		width: 500px;
	}
	article.post.column-container:last-child {		
		padding-bottom: 40px;
		border-bottom: 1px dotted #CCC;
	}
	.sidebar {
		margin-bottom: 0;
	}
	#paginator {
		padding: 20px 0;
		border-bottom: 1px dotted #CCC;
	}
	.portfolio .portfolio-container {
		-webkit-transform: none;
		-moz-transform: none;
		-ms-transform: none;
		transform: none;	
	}
	.portfolio .portfolio-item,
	.portfolio .portfolio-item:hover .portfolio-container,
	.portfolio .portfolio-item .portfolio-item-cover,
	.portfolio .portfolio-item .portfolio-item-description,
	.portfolio .portfolio-item:hover .portfolio-item-cover,
	.portfolio .portfolio-item:hover .portfolio-item-description {
		-webkit-transform: none;
		-moz-transform: none;
		-ms-transform: none;
		transform: none;
	}
	.portfolio .portfolio-item-description-bg {
		display: none;
	}
	.portfolio .portfolio-item-description {
		position: relative;
		height: auto;
		background: none;
		margin: 20px 0 0;
		box-shadow: none;
		-webkit-transform: none;
		-moz-transform: none;
		-ms-transform: none;
		transform: none;
	}
	.portfolio .portfolio-item-description h4,
	.portfolio .portfolio-item-description p {
		padding: 0;
	}
	.portfolio.small .column.one-third h4 {
		font-size: 1em;
	}
	.portfolio ul.actions li.read-more {
		display: none;
	}
	.portfolio ul.actions li.zoom-in {
		left: 16px;
		right: auto;
		margin-top: -165px;
		bottom: auto;
		background-color: rgba(255,255,255,.9);
		border-radius: 4px;
	}
	.portfolio.small ul.actions li.zoom-in {
		margin-top: 136px;
	}
	.portfolio ul.actions li.zoom-in a {
		padding: 5px;
	}
	.portfolio .portfolio-item-description {
		visibility: visible;
	}

}

@media all and (max-width: 1023px) {

	section .container,
	#header-nav,
	footer .container {
		width: 640px;
	}
	#nav-trigger {
		display: block;
	}
	.column.one-third,
	.column.two-thirds,
	.column.one-half,
	.column.one-fourth,
	.column.three-fourths {
	width: 100%;
	padding-right: 18px;
	text-align: center;
	padding-bottom: 40px;
	}
	#cover p {
		padding-right: 220px;
	}
	#features .column.one-third {
		width: 280px;
	}
	#features .column.one-third:nth-child(odd) {
		margin-right: 40px;
	}
	#team .column.one-fourth {
		width: 130px;
		margin-right: 40px;
	}
	#team .column.one-fourth.last {
		margin-right: 0;
	}
	#testimonials-container blockquote {
		padding-left: 10%;
		width: 90%;
	}
	#header-nav {
		position: relative;
		padding: 0;
		margin: 0 auto;
		height: auto;
		overflow: visible;
		width: 100%;
	}
	#header-nav .logo {
		left: 20px;
	}
	#nav-trigger {
		right: 20px;
	}
	#header-nav-container {
		background: #333;
		position: fixed;
		right: -240px;
		top:0;
		height: 100%;
		width: 200px;
		padding: 20px;
		box-shadow: inset 2px 0 1px rgba(0,0,0,1);
		overflow: scroll;
		
		-webkit-transition: margin .1s;
		-moz-transition: margin .1s;
		-ms-transition: margin .1s;
		transition: margin .1s;
	}
	#header-nav ul {
		height: auto;
		width: 100%;
		padding-bottom: 50px;
	}
	#header-nav ul li {
		display: block;
		float: none;
	}
	#header-nav ul li a {
		color: #AAA;
		padding: 15px 5px;
		box-shadow: 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.2);
	}
	#main-header.compact #header-nav ul li a {
		padding: 15px 5px;
	}
	#header-nav ul li:last-child a {
		border: none;
	}
	#header-nav ul li.current a,
	#header-nav ul li a:hover {
		background: none;
		box-shadow: 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.2);
		font-weight: bold;
		color: #FFF;
	}
	
	#header-nav ul li.current ul.sub-nav li a:hover {
		font-weight: bold;
		color: #FFF;
	}
	#header-nav ul li.current ul.sub-nav li a  {
		box-shadow: none;
		font-weight: normal;
		color: #AAA;
		box-shadow: 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.2);
	}
	#header-nav .more {
		position: absolute;
		top: 0;
		left: -60px;
		background-image: url("../images/nav_more_m.png");
		background-size: 16px;
		height: 32px;
		width: 32px;
	}
	.comment-content {
		width: 448px;
	}
	body.post article.post.column-container {
		padding-bottom: 40px;
	}
	#main-header #header-nav ul.sub-nav {
		display: block;
		position: relative;
		top: 0;
		left: 0;
		background: none;
		box-shadow: none;
		margin: 5px 0;
		padding: 0;
		float: none;
	}
	#main-header #header-nav ul.sub-nav li a {
		padding: 15px 5px 15px 20px;
		margin: 0;
		width: auto;
		display: block;
		font-size: .9em;
	}
	#main-header #header-nav ul.sub-nav li a:hover {
		box-shadow: 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.2);
	}
	#main-header.compact #header-nav ul.sub-nav {
		top: 0;
		box-shadow: none;
		border-radius: 0;
	}
	#main-header.compact #header-nav .sub-nav li a {
		padding: 15px 5px 15px 20px;
	}
	.sidebar .comments-list {
		overflow: hidden;
		margin-bottom: 0;
	}
	.sidebar .comment,
	.sidebar .comment.author {
		float: left;
		margin-right: 10px;
	}
	.sidebar .comment-content {
		width: 158px;	
	}
	.sidebar .comment:last-child {
		margin-right: 0;
	}
	.portfolio .column.one-third {
		width: 300px;
		margin: 0 0 20px 0;
	}
	.portfolio .column.one-third:nth-child(odd) {
		margin-right: 20px;
	}
	.portfolio.small .column.one-third {
		margin-right: 10px;
		width: 206px;
	}
	.portfolio.small .column.one-third:last-child {
		margin-right: 0;
	}
	.portfolio-single.column-container {
		margin-bottom: 20px;
	}
	article.portfolio-single .column-container {
		margin: 0 0 20px;
	}
	article.portfolio-single .column.last {
		margin-bottom: 20px;
	}
	article.portfolio-single .portfolio-item-description .column {
		margin-bottom: 20px;
	}
	#team .contacts, #sidebar-author .contacts {
		padding-top: 55px;
	}
	.slideshow.column.full-width p.slide {
		width: 92%;
		margin: 0 4%;
	}
}

@media all and (max-width: 680px)  {
	
	section .container,
	footer .container {
		width: 580px;
	}
	article .post-content {
		width: 440px;
	}
	.comment-content {
		width: 388px;
	}
	.sidebar .comment-content {
		width: 138px;	
	}
	.portfolio .column.one-third {
		width: 270px;
	}
	#features .column.one-third:nth-child(odd) {
		margin-right: 20px;
	}
	#features .column.one-third {
		width: 260px;
	}
	.portfolio.small .column.one-third {
		width: 186px;
		margin-right: 10px;
	}
	#team .column.one-fourth {
		width: 130px;
		margin-right: 20px;
	}
	
}

@media all and (max-width: 640px) {
	
	h2 {
		font-size: 2.8em
	}
	.column {
		margin-bottom: 40px;
	}
	.column-container {
		margin: 0;
	}
	section .container {
		width: 400px;
		padding: 50px 0;
		margin: 0 auto;
	}
	#main-header,
	#main-header nav a,
	#main-header .logo  {
		-webkit-transition: none;
		-moz-transition: none;
		-ms-transition: none;
		transition: none;
	}	
	#wrapper {
		position: relative;
	}
	#wrapper.hidden {
		left: -240px;
	}
	#main-header .logo {
		color: #333;
		text-align: left;
		margin: 0;
	}	
	footer .container {
		width: 400px;
		margin: 0 auto;
	}
	#cover {
		background-position: left bottom;
	}
	#cover .container {
		width: 400px;
		padding: 80px 0 40px;
		text-align: left;
		overflow: visible;
	}
	#cover h2,
	#cover h3,
	#cover p {
		text-align: center;
		padding-right: 0;
	}
	#cover h2 {
		font-size: 54px;
		line-height: 44px;
	}
	#cover h3 {
		font-size: 23px;
	}
	#cover p {
		font-size: 16px;
	}
	.column.one-third,
	.column.two-thirds,
	.column.one-half,
	.column.one-fourth,
	.column.three-fourths {
		width: 100%;
		padding-right: 0;
		margin-right: 0;
	}
	#features .column.one-third {
		width: 100%;
	}
	#team .column.one-fourth {
		width: 180px;
		margin-right: 40px;
	}
	#team .column.one-fourth:nth-child(even){
		margin-right: 0;
	}
	#subscribe-form {
		width: auto;
	}
	#subscribe-form p {
		width: 100%;
		float: none;
	}
	#subscribe-form p.submit {
		width: auto;
		float: none;
		margin-top: 10px;
	}
	#subscribe-form p.submit button {
		padding: 11px 12px;
	}
	#testimonials-container {
		margin: 30px 0 20px;
	}
	#testimonials-container blockquote {
		width: auto;
		max-height: 114px;
		overflow: hidden;
		padding: 0;
		margin: 0 0 15px;
		color: #FFF;
	}
	#testimonials-container blockquote:before {
		display: none;
	}
	#testimonials-container p.author {
		font-size: 1.1em;
		padding: 15px 0 0;
	}
	#testimonials-container p.author strong {
		display: block;
	}
	#testimonials-container p.author:before {
		display: none;
	}
	#testimonials-nav ul li {
		display: inline-block;
		float: none;
	}
	.sidebar.column {
		margin-bottom: 0;
	}
	article .post-meta {
		display: none;
	}
	article.portfolio-single .post-meta {
		display: block;
	}
	article .post-content {
		width: 100%;
	}
	.comment-author {
		width: 75px;
		margin-right: 20px;
	}
	.comment.author .comment-author {
		margin-left: 20px;
	}
	.comment-content {
		width: 258px;
	}
	.comment.column-container {
		margin-bottom: 20px;
	}
	
	footer .container {
		text-align: center;
	}
	p#footer-copyright {
		float: none;
		margin: 0;
	}
	footer nav ul {
		text-align: center;
		margin-bottom: 5px;
	}
	footer nav ul li {
		float: none;
		display: inline-block;
	}
	ul#footer-socials {
		float: none;
		text-align: center;
		margin-bottom: 10px;
	}
	ul#footer-socials li {
		display: inline-block;
		float: none;
	}
	.sidebar .comments-list {
		overflow: visible;
	}
	.sidebar .comment,
	.sidebar .comment.author {
		float: none;
		margin-right: 0;
	}
	.sidebar .comment-content {
		width: 352px;	
	}
	.sidebar .comment-author .comment-date,
	.sidebar .comment-author a {
		display: inline;
	}
	
	.portfolio {
		margin-top: 40px;
	}
	.portfolio .column-container {
		margin: 0;
	}
	.portfolio .portfolio-filter.column {
		margin: 0 0 20px;
	}
	.portfolio .portfolio-item.column.one-third {
		width: 100%;
		margin-right: 0;
	}
	.portfolio .portfolio-item.hidden {
		display: none;
	}
	.portfolio-single.column-container {
		margin-bottom: 40px;
	}
	.portfolio.small {
		margin-top: 30px;
	}
	.portfolio.small .column.one-third {
		width: 100%;
		margin-right: 0;
	}
	#team .contacts, #sidebar-author .contacts {
		padding-top: 80px;
	}
	.portfolio ul.actions li {
		display: none;
	}
	article.portfolio-single .column.slideshow {
		margin-bottom: 75px;
	}
	.slideshow ul.slideshow-nav {
		bottom: -50px;
	}
	.slideshow ul.slideshow-nav li {
		margin: 0 4px;
	}
	.slideshow ul.slideshow-nav li a {
		border: 3px solid #333;
		box-shadow: none;
		width: 8px;
		height: 8px;
		opacity: .3;
	}
	.slideshow ul.slideshow-nav li.active a {
		width: 10px;
		height: 10px;
		background: none;
		opacity: .9;
		border: 4px solid #333;
		margin: 0 -2px;
	}
	.slideshow.column.full-width p.slide {
		width: 90%;
		margin: 0 5%;
	}
}

@media all and (max-width: 480px) {

	section .container,
	footer .container,
	#cover .container {
		width: 260px;
	}
	.column.one-third,
	.column.two-thirds,
	.column.one-half,
	.column.one-fourth,
	.column.three-fourths {
		width: 260px;
	}
	h2,
	h3 {
		/* text-align: center; */
	}
	#cover .container {
		padding: 150px 0 100px;
	}
	#team .column.one-fourth {
		width: 125px;
		margin-right: 10px;
	}
	#testimonials h2 {
		text-align: center;
	}
	#testimonials-container {
		text-align: center;
	}
	#testimonials-nav .slide-nav {
		text-align: center;
	}
	
	ul.accordion {
		width: auto;
	}
	ul.accordion .tab-header {
		font-size: 1em;
	}
	ul.accordion .tab-header a:hover {
		color: inherit;
	}
	
	.nrg-tabs-container {
		position: relative;
		width: 257px;
	}
	.nrg-tabs-container li {
		padding-bottom: 20px;
	}
	.nrg-tabs-container p.list-nav {
		position: absolute;
		z-index: 20;
		width: 100%;
		text-align: left;
		padding: 0 20px;
		margin: 0;
		bottom: -5px;
	}
	.nrg-tabs-container p.list-nav a {
		width: 20px;
		height: 20px;
		overflow: hidden;
		text-indent: -999px;
		padding: 0;
		display: inline-block;
		margin: 0;
		background: url("../images/ul_circles.png") no-repeat center center;
		background-size: 18px;
		box-shadow: none;
		opacity: .2
	}
	.nrg-tabs-container p.list-nav a.current {
		margin-top: 0;
		top: 0;
		opacity: 1;
	}
	
	.post h3 {
		font-size: 1.5em;
	}
	.sidebar.column {
		margin-bottom: 0;
	}
	.comment {
		position: relative;
	}
	.comment-author {
		position: relative;
		width: 100%;
		margin: 0;
		padding-bottom: 0px;
		text-align: left;
		border-bottom: 1px dotted #CCC;
	}
	.comment.author .comment-author {
		margin: 0 2px;
	}
	.comment-author img {
		width: 75px;
		padding: 0 0 0 0;
		text-align: left;
		border-bottom: 10;
	}
	.comment-content {
		padding-top: 90px;
		width: 212px;
	}
	.sidebar .comment-content {
		width: 213px;
		padding-top: 20px;	
	}
	.sidebar .comment-author {
		position: relative;
		border-bottom: 0;
		padding: 10px 0 0;
		text-align: left;
	} 
	#team .contacts, #sidebar-author .contacts {
		padding-top: 50px;
	}

}
#sharethiscontainer {
	width: 100%;
	margin-top: 15px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}

/*----------- WM Forms --------------*/

  form .row,
  form .row > [class*="col-"]{
    margin-top: 0px !important;
  }

  form{
	text-align: center;
}

  form.with-icon input{
    padding: 10px 60px 10px 20px;
  }

  form.with-icon input+button{
    position: absolute;
    right: 15px;
    top: 0;
    line-height: 40px;
    font-size: 20px;
    color: #d10a11;
    background: transparent;
  }

  form.with-icon input+button:hover{
    color: #4e4e4e;
  }

    /* Inputs & Textarea */

    input:not([type="submit"]),
    textarea,
    .custom-select .select-title{
      width: 100%;
      color: #838383;
      border-radius: 3px;
      height: ;
      padding: 10px 20px;
      border: 2px solid #f2f3f6;
      background-color: #fff;
      text-align: left;

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

      -webkit-transition: box-shadow .35s ease, border-color .35s ease;
              transition: box-shadow .35s ease, border-color .35s ease;
    }

    textarea{
      height: initial;
      resize: none;
    }

    input:not([type="submit"]):focus,
    textarea:focus{
      border-color: rgba(209, 10, 17, .5);
      
      -moz-appearance:none;
      outline:0px none transparent;
    }

    /* Label & Legend */

    label,
    legend{
      font-size: 14px;
      color: #838383;
      margin-bottom: 2px;
      display: block;   
    }

    legend{
      color: inherit;
      padding: 0 7px;
      margin-bottom: 0px;
    }

    label[for]{
      cursor: pointer;

      -webkit-user-select: none;
         -moz-user-select: none;
           -o-user-select: none;
              user-select: none;
    }

    .required:after{
      content: "*";
      color: #eb0b0b;
      display: inline-block;
      margin-left: 2px;
      font-size: 14px;
    }

    /* Checkbox & Radio */

    input[type="radio"],
    input[type="checkbox"]{
      display: none;
    }

    input[type="radio"] + label,
    input[type="checkbox"] + label{
      font-size: inherit;
      font-weight: inherit;
      font-family: inherit;
      text-transform: none;
      width: initial;
      padding-top: 5px;
      padding-bottom: 5px;
      float: none;
      margin-bottom: 0px;
      display: inline-block;

      position: relative;
      padding-left: 35px;

      -webkit-user-select: none;
         -moz-user-select: none;
           -o-user-select: none;
              user-select: none;
    }

    input[type="checkbox"] + label{
      padding-left: 32px;
    }

    input[type="radio"] + label:not(:last-child),
    input[type="checkbox"] + label:not(:last-child){
      margin-right: 25px;
    }

    input[type="radio"] + label::before,
    input[type="checkbox"] + label::before,
    input[type="radio"] + label::after,
    input[type="checkbox"] + label::after{
      content: "";
      display: block;
      position: absolute;
    }

    input[type="radio"] + label::before,
    input[type="checkbox"] + label::before{
      background: transparent;
      border: 2px solid #f2f3f6;
      left: 0;
      top: 3px;
    }

    input[type="radio"] + label::before{
      border-radius: 50%;
      width: 26px;
      height: 26px;
    }

    input[type="checkbox"] + label::before{
      top: 5px;
      border-radius: 3px;
      width: 22px;
      height: 22px;
    }

    input[type="radio"] + label::after,
    input[type="checkbox"] + label::after{
      opacity: 0;
      visibility: hidden;
    }

    input[type="radio"] + label::after{
      left: 7px;
      top: 10px;
      border-radius: 50%;
      background-color: #838383;
      width: 12px;
      height: 12px;
    }

    input[type="checkbox"] + label::after{
      border: 2px solid #838383;
      width: 25px;
      height: 15px;
      left: -1px;
      top: 2px;

      clip: rect(6px, 18px, 15px, 0px);

      -webkit-transform: skew(10deg) rotate(-45deg);
          -ms-transform: skew(10deg) rotate(-45deg);
              transform: skew(10deg) rotate(-45deg);
    }

    input[type="radio"]:checked + label::after,
    input[type="checkbox"]:checked + label::after{
      opacity: 1;
      visibility: visible;
    }

    .form-style1 input:not(:last-child){
	margin-bottom: 6px;
    }

    /*----------- Custom Select --------------*/

    .custom-select{
      position: relative;
      display: inline-block;
      vertical-align: middle;
      width: 100%;
    }

      .custom-select .select-title{
        cursor: pointer;
        position: relative;
        padding: 8px 20px;
        overflow: hidden;
      }

      .custom-select .select-title.active{
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
      }

      .custom-select .select-list{
        position: absolute;
        left: 0;
        top: 100%;
        cursor: pointer;
        background: #fff;
        z-index: 1;
        border: 2px solid #f2f3f6;
        display: none;
        width: 100%;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
        border-top: none;
      }

        .custom-select .select-list li{
          padding: 10px 20px;
          color: #838383;

          -webkit-transition: all .3s ease;
          -o-transition: all .3s ease;
          transition: all .3s ease;
        }

        .custom-select .select-list li:hover{
          background: #d10a11;
          color: #fff;
        }

      .custom-select .select-title:before{
        content: '\e8dc';
        font-family: 'fontello';
        position: absolute;
        top: 0;
        right: 20px;
        line-height: 38px;
        color: #838383;
      }

      .custom-select .select-title.active:before{content: '\e8dd';}

    /* Fieldset */

    fieldset{
      border-radius: 8px;
      padding: 20px;
      border-color: #f1f1f1;
    }

    fieldset:not(:last-child){
      margin-bottom: 15px;
    }
	
	/*WM Form variations */

    .lineform > .btn{
      margin-top: 20px;
    }

    .lineform > div .btn{margin-left: 10px;}

    [class*="form-style"]{
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flex;
      display: -o-flex;
      display: flex;
      margin: -10px;
      -webkit-flex-flow: row wrap;
      flex-flow: row wrap;
    }

    [class*="form-style"] > [class*='form-column']{
      padding: 10px;
    }

    [class*="form-style"] > .form-column-full{
      width: 100%;
      -webkit-flex-basis: 100%;
      flex-basis: 100%;
    }

    .form-style2 input:not([type="submit"]), 
    .form-style2 textarea, 
    .form-style2 .custom-select .select-title{
     
    }

    .total-btn{
      padding-right: 105px;
    }

    input.total-btn{
      display: inline-block;
      width: 287px;
      background: #d10a11!important;
      border: none;
      color: #fff!important;
    }
.videocontainer {
	width: 100%;
	text-align: center;
	position: relative;
	height: 500px;
}

.video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.centrebuttons {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0px;
	height: 0;
	overflow: hidden;
	margin-bottom: 20px;
}
.h2-white {
	color: #FFFFFF;
}
.h4-white {
	color: #FFFFFF;
}
.thumbnail {
	float: left;
	width: 146px;
	margin-right: 14px;
	margin-bottom: 14px;
}
