/** ********************************************** **
	@Author			Dorin Grigoras
	@Website		www.stepofweb.com
	@Last Update	Sunday, March 16, 2014

	TABLE CONTENTS
	-------------------------------
		01. Globals


*************************************************** **/


/** 01. Globals
 **************************************************************** **/
html {
	overflow-x: hidden;
	overflow-y: auto;
}

html, body {
	margin:0; padding:0;
	min-height: 100%;
}

body {
	color:#333;
	font-family:'Open Sans', Arial, sans-serif;
	background:#B4B8BA url('../images/fon_19.png');
	letter-spacing:0px;

	font-size:15px; line-height:23px;
	position:inherit !important;
}


a {
  outline: 0;
  transition: color 0.1s linear 0s, background-color 0.1s linear 0s !important;
}

a, a:hover, a:active,
#header a:hover,
#footer a:hover,
#default .styleColor {
	color:#81BA10;
}

.btn-primary {
	border-color:#333;
	background-color:#333;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
	border-color:#444;
	background-color:#444;
}

#overlay {
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	background: url('../images/pattern/pattern5.png');
	/*
	background:#000;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	-moz-opacity: 0.2;
	-khtml-opacity: 0.2;
	opacity: 0.2;
	*/
	z-index: 98;
}


/** Top Nav
 **************************************************************** **/

.form-control,
.navbar-custom,
.navbar-custom .navbar-brand {
	-webkit-transition: all 0.4s ease-in-out 0s;
	-moz-transition: all 0.4s ease-in-out 0s;
	-ms-transition: all 0.4s ease-in-out 0s;
	-o-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}

a,
.btn,
.navbar a {
	-webkit-transition: all 0.125s ease-in-out 0s;
	-moz-transition: all 0.125s ease-in-out 0s;
	-ms-transition: all 0.125s ease-in-out 0s;
	-o-transition: all 0.125s ease-in-out 0s;
	transition: all 0.125s ease-in-out 0s;
}

/* Reset box-shadow */

.btn,
.well,
.panel,
.progress,
.progress-bar,
.form-control,
.form-control:hover,
.form-control:focus,
.navbar-custom .dropdown-menu {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.navbar-custom {
	background: #fff;
	border: 0;
	border-color: #f5f5f5 !important;
	border-bottom: 1px solid #f5f5f5 !important;
	border-radius: 0;
	font-family: "PT Sans", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 13px;
	z-index: 1000;
}

.navbar-custom .dropdown-menu {
	background: #fff;
	border: 1px solid #f5f5f5;
	border-radius: 0;
	padding: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.navbar-custom .dropdown-menu .dropdown-menu {
	top: 0;
	left: 100%;
	right: auto;
	margin-top: -1px;
}

.navbar-custom .navbar-brand {
	font-family: "Montserrat", sans-serif;
	letter-spacing: 0.1em;
	font-weight: 400;
	font-size: 20px;
	color: #000;
}

.navbar-custom .nav li > a {
	position: relative;
	color: #000;
}

.navbar-custom .nav > li > a:focus,
.navbar-custom .nav > li > a:hover,
.navbar-custom .nav .open > a,
.navbar-custom .nav .open > a:focus,
.navbar-custom .nav .open > a:hover,
.navbar-custom .dropdown-menu > li > a:focus,
.navbar-custom .dropdown-menu > li > a:hover {
	background: none;
	color: #999;
}

.navbar-custom .dropdown-menu > li > a:hover {
	background: #f5f5f5 !important;
}

.navbar-custom .dropdown-menu > li > a {
	border-bottom: 1px solid #f5f5f5 !important;
	padding: 11px 15px;
	letter-spacing: 0.15em;
	font-size: 11px;
	color: #666;
}

.navbar-custom .dropdown-menu > li:last-child > a {
	border: 0 !important;
}

.navbar-custom .dropdown-toggle:after {
	position: absolute;
	display: block;
	right: 0;
	top: 50%;
	margin-top: -5px;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: 9px;
	content: "\f107";
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.navbar-custom .navbar-nav > .dropdown > .dropdown-toggle {
	padding-right: 28px;
}

.navbar-custom .navbar-nav > .dropdown > .dropdown-toggle:after {
	position: absolute;
	display: block;
	right: 15px;
	top: 50%;
	margin-top: -5px;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: 9px;
	content: "\f107";
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.navbar-custom .navbar-toggle .icon-bar {
	background: #000;
}

.navbar-transparent .navbar-brand {
	background: url(../images/logo.png) no-repeat top left;
	width: 100px;
	height: 97px;
	padding-top: 25px;
	margin-top: 0px;
}

@media (max-width: 767px) {

	/* Navbar */

	.navbar-custom .navbar-nav {
		margin-top: 0;
		margin-bottom: 0;
	}

	.navbar-custom li a:hover {
		background: #f5f5f5 !important;
	}

	.navbar-custom .navbar-nav .open .dropdown-menu .dropdown-header,
	.navbar-custom .navbar-nav .open .dropdown-menu > li > a {
		padding: 10px 25px;
	}

	.navbar-custom .navbar-nav .open .dropdown-menu .dropdown-menu .dropdown-header,
	.navbar-custom .navbar-nav .open .dropdown-menu .dropdown-menu > li > a {
		padding: 10px 35px;
	}

	.navbar-custom li a,
	.navbar-custom .dropdown-menu > li:last-child > a {
		border-bottom: 1px solid #f5f5f5 !important;
	}

	.navbar-custom .navbar-nav > .dropdown > .dropdown-toggle:after,
	.navbar-custom .dropdown-toggle:after,
	.navbar-custom .dropdown-menu .dropdown-toggle:after {
		right: 7px;
		content: "\f107";
	}

	.navbar-custom .navbar-nav > .open > .dropdown-toggle:after,
	.navbar-custom .nav > .open >.dropdown-toggle:after,
	.navbar-custom .dropdown-menu .dropdown.open .dropdown-toggle:after {
		content: "\f106";
	}

	.navbar-custom .navbar-collapse {
		border-top: 1px solid #f5f5f5;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
}

@media (max-width: 765px) {
	.navbar-transparent .navbar-brand {
		background: url(../images/logo2.png) no-repeat top left;
		background-size: contain;
		width: 100px;
		height: 40px;
		margin-top: 6px;
		margin-left: 10px;
		padding-top: 0px;
	}
}

@media (min-width: 768px) {

	.navbar-transparent {
		background: transparent;
		border: 0 !important;
		border-color: #f5f5f5 !important;
		padding-bottom: 15px;
		padding-top: 15px;
	}

	.navbar-transparent .nav li > a,
	.navbar-transparent .navbar-brand {
		color: #fff;
	}

	.navbar-transparent .dropdown-menu > li > a {
		color: #666;
	}

	.nabar-dark .nav > li > a,
	.nabar-dark .navbar-brand {
		color: #000;
	}

	.navbar-custom .dropdown-menu .dropdown-toggle:after {
		position: absolute;
		display: block;
		right: 9px;
		top: 50%;
		margin-top: -6px;
		font: normal normal normal 14px/1 FontAwesome;
		font-size: 9px;
		content: "\f105";
		text-rendering: auto;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	.navbar-custom .dropdown-menu {
		position: absolute;
		display: block;
		visibility: hidden;
		opacity: 0;
	}

	.navbar-custom .open > .dropdown-menu {
		visibility: visible;
		opacity: 1;
	}

	.navbar-right .dropdown-menu {
		right: auto;
		left: 0;
	}
}

/** Slider
**************************************************************** **/
.mc-hide-scrolls{
	overflow:hidden;
}

.mc-cycle {
	height:100%;
	left:0;
	overflow:hidden;
	position:fixed;
	top:0;
	width:100%;
	z-index:-1;
}

div.mc-image {
	/*NOTE: Mozilla flickers when fading and using 'all', so we have to be specific with what property we want to transition:
	 	If you are using fading transitions, use 'opacity: */
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out;

	/*If you are using horizontal slide transitions, use the following CSS:
	-webkit-transition: left 1s ease-in-out;
	-moz-transition: left 1s ease-in-out;
	-o-transition: left 1s ease-in-out;
	transition: left 1s ease-in-out;*/

	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position:center center;
	background-repeat:no-repeat;
	height:100%;
	overflow:hidden;
	width:100%;
}

.mc-old-browser .mc-image {
	overflow:hidden;
}
#slider iframe {
	width:100%;
	height:100%;
}

#slider {
	list-style:none;
	display:none;
}
#slider .caption {
	position:absolute;
	z-index:3;
	color:#fff;
	bottom:60px;
	left: 30px;
}
#slider .caption {
	padding-bottom:40px;
}
#slider .caption h1,
#slider .caption h2 {
	color:#fff !important;
	font-size:60px; line-height:70px;
	padding:6px;
	background:rgba(0,0,0,0.3);
	margin:0; margin-bottom:2px;
	clear:both !important;
	display:inline-block;
}
#slider .caption h2 {
	font-size:30px; line-height:30px;
	padding:10px; font-weight:bold;
}
#slider .caption p {
	color:#fff;
	background:rgba(0,0,0,0.3);
	clear:both !important;
	padding:6px; margin:0 0 10px 0;
}
#slider .caption a.btn {
	color:#fff;
	position:absolute;
	margin-top:6px;
	cursor:pointer;
	z-index:101;
	bottom:0;
}
#slider .caption a.btn-default:hover {
	color:#333;
	background-color:#fff !important;
	border-color :#fff !important;
}
#cycle-loader {
	position:absolute;
	left:50%;
	top:50%;
	margin-top:-25px;
	margin-left:-25px;
}

	/* next , prev */
	div.maximage-controls {
		position:absolute;
		right:0; bottom: 40px;
		margin-right:20px;
		display: inline-block;
		z-index:0;
	}
	div.maximage-controls #slider_next,
	div.maximage-controls #slider_prev {
		width:50px; height:50px; display:inline-block;
		background:#fff url('../images/slider_arrows.png') no-repeat;
		cursor:pointer; margin-right:3px;
		z-index:100;
	}
	div.maximage-controls #slider_next {
		background-position:-53px -42px;
	}
	div.maximage-controls #slider_prev {
		background-position:0 -42px;
	}
	div.maximage-controls #slider_next:hover {
		background-position:-53px -98px;
		background-color:#81BA10;
	}
	div.maximage-controls #slider_prev:hover {
		background-position:0 -98px;
		background-color:#81BA10;
	}




/** Middle
**************************************************************** **/
#middle {
	margin-bottom:40px !important;
}
#middle .white {
	display:block;
	position:relative;
	background-color:#fff;
	padding:15px;
}
#middle .page-header {
	padding: 0;
	margin: 0 0 15px 0;
}
	#middle  .page-header h1 {
		padding: 0;
		margin: 0 0 10px 0;
		font-size:36px;
		line-height: 43px;
	}

#middle .page-header.image {
	position:relative;
}
	#middle .page-header.image .absolute {
		position:absolute;
		color:#fff;
		top:20%;
		margin-left:30px;
	}
	#middle .page-header.image .absolute h1,
	#middle .page-header.image .absolute p {
		color:#fff;
		font-weight:300;
	}
	#middle .page-header.image .absolute h1 {
		text-shadow:#fff 0 0 20px;
		font-size:50px;
	}


div.e404 {
	font-size: 1500%;
	line-height: 200px;
	color: #ddd;
}




/** Modal
**************************************************************** **/
	.modal .modal-header {
		margin:0; padding:0;
		background:#fff;
	}

	h4.modal-title{
		color:#333 !important;
		padding: 10px;
		font-weight:300;
	}
		h4.modal-title i {
			color: #999 !important;
			font-size:23px;
			margin: 7px 13px 0 0;
		}

	.modal .modal-header button {
		font-size:40px;
		padding:8px;
		color:#999 !important;
		margin-right:8px;
		font-weight:300;
	}
	.modal .modal-header button:hover {
		color:#000;
	}

	.modal .modal-dialog {
		border:#333 10px solid;
	}
	.modal .modal-content {
		border:0; padding:0;

		-webkit-box-shadow:none;
		   -moz-box-shadow:none;
				box-shadow:none;

		-webkit-border-radius: 0;
		   -moz-border-radius: 0;
				border-radius: 0;
	}
	.modal .modal-body {
		padding:15px;
	}

	@media (min-width: 992px) {
		.modal-lg {
			width: 768px; /* bootstrap default:900 */
		}
	}
	@media (max-width: 479px) {
		.modal .modal-dialog {
			margin:0;
		}
	}





/** Follow Us
**************************************************************** **/
	a.socialbtn {
		display:inline-block;
		padding:20px 10px 10px 10px;
		background:#eee;
		color:#999;
		text-align:center;
		width:125px; height:90px;
		margin:10px 3px;

		-webkit-border-radius: 5px;
		   -moz-border-radius: 5px;
				border-radius: 5px;

		-webkit-transition: all 0.2s;
		   -moz-transition: all 0.2s;
			 -o-transition: all 0.2s;
				transition: all 0.2s;

	}
	@media (max-width: 479px) {
		a.socialbtn {
			margin:10px 0;
		}
	}

	a.socialbtn i {
		font-size:30px;
		color:#666;
		display:block;
	}
	a.socialbtn:hover,
	a.socialbtn:hover,
	a.socialbtn:hover i {
		color:#fff !important;
		text-decoration:none;
	}
	/**
		Twitter: 	#41b7d8
		Facebook: 	#3b5997
		Google: 	#d64937
		LinkedIn: 	#0073b2
		Youtube:	#CC181E
		Vimeo: 		#388fc5
		Flickr: 	#ff0084
		Pinterest: 	#cb2027
		Skype: 		#00aff0
		RSS: 		#e0812a
	**/
	a.socialbtn.facebook:hover {
		background-color:#3b5997;
	}
	a.socialbtn.twitter:hover {
		background-color:#41b7d8;
	}
	a.socialbtn.google:hover {
		background-color:#d64937;
	}
	a.socialbtn.linkedin:hover {
		background-color:#0073b2;
	}
	a.socialbtn.youtube:hover {
		background-color:#CC181E;
	}
	a.socialbtn.vimeo:hover {
		background-color:#388fc5;
	}
	a.socialbtn.flickr:hover {
		background-color:#ff0084;
	}
	a.socialbtn.pinterest:hover {
		background-color:#cb2027;
	}
	a.socialbtn.skype:hover {
		background-color:#00aff0;
	}
	a.socialbtn.rss:hover {
		background-color:#e0812a;
	}




/** Team
**************************************************************** **/
.team .thumbnail {
	position:relative;
	max-width:255px;
	display:inline-block;
	margin-bottom:60px;
	border:0;
	background:#f6f6f6;
}
.team .thumbnail:hover {
	background:#e6e6e6;
}
.team .item-image {
	position:relative;
	display:inline-block;
}
.team .item-image img {
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
}
.team  h3 {
	position:absolute;
	bottom:10px; left:0;
	text-align:left;
	font-size:18px;
	line-height:18px;
	color:#fff;
}
.team  h3 span {
	display:inline-block;
	background-color:rgba(0,0,0,0.8);
	padding:10px 10px 20px 10px;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
}
.team  h3 small {
	display:inline-block; color:#333;
	background:rgba(255,255,255,0.9);
	padding:3px; margin-top:-10px;
	position:absolute; bottom:-10px; left:10px;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
}
.team p {
	font-size:12px;
	line-height:16px;
	text-align:left;
	height:80px;
	overflow:hidden;
	text-overflow:ellipsis;
	border-bottom:#eee 1px solid;
	padding-bottom:10px;
	margin-bottom:6px;
}





/** Item Box
 **************************************************************** **/
.item-box {
	background:#f6f6f6;
	overflow:hidden;
	margin:16px 0;
	width:100%;
	position:relative;

	-webkit-border-radius:6px;
	   -moz-border-radius:6px;
			border-radius:6px;
}
	.item-box.fullwidth {
		max-width:100%;
	}

.item-box figure {
	width:100%;
	display:block;
	margin-bottom:0;
	overflow:hidden;
	position:relative;
	text-align:center;
}
	.item-box.fixed-box figure img {
		width:100%;
		height:auto;
	}
.item-box-desc {
	padding:10px 20px;
	overflow:hidden;
}
.item-box-desc p {
	margin-top:20px;
	display:block;
	overflow:hidden;
	text-overflow:ellipsis;
	/*white-space: nowrap;*/
}
	.item-box.fixed-box .item-box-desc p {
		height:98px;
	}
.item-box-desc h4 {
	padding:0; margin:0;
}
.item-box .item-box-desc small {
	display:block;
}

.item-box.fixed-box .item-box-desc {
	height:256px;
}

.item-box.fixed-box figure {
	max-height:263px;
}
.item-box .socials {
	border-top:#eee 1px solid;
	text-align:center;
	display:block;
}


/* hover */
.item-box .item-hover,
.item-box .item-hover .overlay {
	-webkit-border-top-right-radius: 6px;
	 -webkit-border-top-left-radius: 6px;
		 -moz-border-radius-topleft: 6px;
		-moz-border-radius-topright: 6px;
			 border-top-left-radius: 6px;
			border-top-right-radius: 6px;
}
.item-box .item-hover {
	opacity: 0;
	filter: alpha(opacity=0);
	position:absolute;
	left:0; right:0; top:0; bottom:0;
	text-align:center;
	color:#fff;

	-webkit-transition: all 0.2s;
	   -moz-transition: all 0.2s;
		 -o-transition: all 0.2s;
			transition: all 0.2s;
}
.item-box .item-hover,
.item-box .item-hover button,
.item-box .item-hover a {
	color:#fff;
}
.item-box .item-hover .inner {
	position:absolute;
	display:block;
	left:0; right:0; top:50%;
	margin-top:-10px;
	z-index:100;
}
.item-box:hover .item-hover {
	opacity: 1;
	filter: alpha(opacity=100);
}
.nav-pills>li.active>a,
.nav-pills>li.active>a:hover,
.nav-pills>li.active>a:focus {
	color:#333;
	background-color:#EEEEEE;
}
.item-box .item-hover .overlay {
	background-color:rgba(142,205,17,0.6);
}


/** Portfolio
**************************************************************** **/
/* item list */
#portfolio .item-box-desc h4 {
	font-size:17px;
	max-height:32px;
	overflow:hidden;
}
	#portfolio .item-box figure img {
		width:100%;
		margin:auto;
	}

#portfolio .item-box-desc small {
	font-size:12px;
	margin-bottom:0;
}

#portfolio .item-box a {
	text-decoration:none;
}

/* Full Center */
#portfolio ul.fullcenter {
	margin-left:15px;
	margin-right:15px;
}
#portfolio ul.fullcenter .isotope-item,
#portfolio ul.fullcenter .item-box {
	margin:0;
}
#portfolio ul.fullcenter .item-box .overlay,
#portfolio ul.fullcenter .item-box {
	-webkit-border-radius: 0;
	   -moz-border-radius: 0;
			border-radius: 0;
}
#portfolio ul.fullcenter .isotope-item {
	width:25%; /* 4 items / row - also, see responsive*/
	float:left;
}




/** Contact
 **************************************************************** **/
#gmap {
	width:100%;
	height:400px;
	display:block;


	-webkit-filter: grayscale(100%);
	   -moz-filter: grayscale(100%);
		-ms-filter: grayscale(100%);
		-o-filter: grayscale(100%);
		   filter: grayscale(100%);
		   filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
		   filter: gray;

	z-index:1;
}
#gmap_default {
	width:100%;
	height:400px;
	display:block;
}





/** Footer
**************************************************************** **/
#footer {
	background:#333333;
	color:#fff;
	font-size:10px;
	position:fixed;
	bottom:0; left:0; right:0; padding:0 20px;
	height:30px;
	line-height:30px;
	border-top:rgba(255,255,255,0.3) 1px solid;
	overflow:hidden;
	z-index:100; /* keep it over #overlay */
}

	#footer ul {
		float:right;
	}
	#footer ul,
	#footer ul li {
		margin:0; padding:0;
		list-style:none;
	}
	#footer ul li,
	#footer ul li a {
		float:left;
		color:#fff;
		text-decoration:none;
	}
	#footer ul li.sepy {
		padding-left:16px;
		color:#666;
		font-size:18px;
	}
	#footer ul li a {
		display:block;
		margin:0 0 0 16px;
	}



/** Responsive
**************************************************************** **/
	/* special */
	@media (max-width: 920px) {
		#header ul.nav li a {
			font-size:11px;
		}
	}
	@media (max-width: 1006px) {
		.container {
			width:100% !important;
		}

	}


@media only screen and (max-width: 960px) {
	#portfolio ul.fullwidth .isotope-item,
	#portfolio ul.fullcenter .isotope-item {
		width:33.333333333%;  /* 3 items / row */
	}

	#header .navbar-collapse {
		display:none !important;
	}


	ul.nav-pills>li {
		margin-top:3px;
		background-color:#f6f6f6;
	}
	ul.nav-pills>li,
	ul.nav-pills>li>a {
		width:100%;
		float:none;
	}
	ul.nav-pills {
		float:none;
		width:100%;
	}

	#header ul.nav-pills>li {
		color:#81BA10;
		background:#393939;
	}

	#header .navbar-collapse {
		width:100%;
		margin:0;
	}
	#header .container {
		padding:0;
	}
	#header a.logo {
		padding-left:15px;
	}
	#topBar .container {
		padding-right:0;
	}


	#header ul.nav-pills>li {
		border-bottom:rgba(0,0,0,0.1) 1px solid;
	}

	#header nav.nav-main li.resp-active > ul.dropdown-menu,
	#header nav.nav-main li.resp-active > ul.dropdown-menu > ul {
		display: block !important;
		position:relative !important;
		top:0 !important;
		width:100% !important;
		max-width:100% !important;
		left:0 !important;

		-webkit-transition: all 0.2s;
		   -moz-transition: all 0.2s;
			 -o-transition: all 0.2s;
				transition: all 0.2s;
	}

	#header ul.nav {
		margin:0;
	}
	#topSearch {
		margin-right:-42px;
	}


	#header .navbar-collapse.collapsing,
	#header .navbar-collapse.in {
		display:block !important;
	}

	#header nav.nav-main li.resp-active > ul.dropdown-menu,
	#header nav.nav-main li.resp-active > ul.dropdown-menu > ul {
		box-shadow:none;
		padding-left:8px;
	}

	/* Navigation */
	#header .nav-main-collapse.collapsing,
	#header .nav-main-collapse.in {
		width: 100% !important;
		display: block !important;

		background: #2D343E;
		margin: 0 - !important;
	}

	#header ul.nav li > a { /* Firefox Fix */
		background-color:#393939 !important;
	}

	button.btn-mobile {
		display:block !important;
	}
}

@media only screen and (max-width: 768px) {


}

@media only screen and (max-width: 479px) {
	.maximage-controls {
		bottom:42px;
		margin-right:6px;
	}
	#slider .caption h1 {
		font-size:30px !important;
		line-height:30px !important;
	}
	#slider .caption h2 {
		font-size:20px !important;
		line-height:20px !important;
	}
	#slider .caption p {
		font-size:13px !important;
		line-height:16px !important;
	}

	#middle .page-header.image .absolute h1 {
		font-size:20px;
		line-height:20px;
		margin:0; padding:0;
	}
	#middle .page-header.image .absolute p {
		font-size:12px;
		line-height:15px;
		margin:0; padding:0;
	}

	#slider .caption {
		left:8px;
		right:8px;
	}
	#slider .caption h1 {
		font-size:50px;
	}
	#slider .caption h1,
	#slider .caption h2 {
		display:block;
	}

	div.maximage-controls {
		margin-right:5px;
		bottom:43px;
	}

	#portfolio ul.fullwidth .isotope-item,
	#portfolio ul.fullcenter .isotope-item {
		width:100%;  /* 1 item / row */
	}

	.responsive-top-space {
		margin-top:80px;
	}
	.responsive-bottom-space {
		margin-bottom:80px;
	}
}

/* Mobile Tuning - Cutom Height */
@media only screen and (max-height: 400px) {
	#slider .caption h1 {
		font-size:25px !important;
		line-height:25px !important;
	}
	#slider .caption h2 {
		font-size:13px !important;
		line-height:13px !important;
	}

}

@media only screen and (max-height: 340px) {
	#slider .caption h1 {
		font-size:20px !important;
		line-height:20px !important;
	}
	#slider .caption p {
		font-size:11px !important;
		line-height:11px !important;
	}
	#topBar {
		display:none;
	}
	#slider .caption {
		bottom:36px !important;
	}

	#slider_next,
	#slider_prev {
		width:40px !important;
		height:40px !important;
	}
	div.maximage-controls #slider_prev {
		background-position: -4px -46px;
	}
	div.maximage-controls #slider_next {
		background-position: -57px -46px;
	}
	div.maximage-controls {
		bottom:29px;
	}
}

@media only screen and (max-height: 325px) {
	#slider_next,
	#slider_prev {
		display:none !important;
	}

	#slider .caption .btn {
		font-size:10px !important;
		padding:1px 3px !important;
		position:absolute !important;
		right:0 !important;
	}
	#slider .caption {
		bottom:33px !important;
		margin:0; padding:0;
	}
	#slider .caption p br {
		display:none !important;
	}
}



/** DEMO ONLY
 **************************************************************** **/
/** feature-icons.html - icon text color - can be removed on production **/
.fa-hover a {
	text-decoration:none;
}
.fa-hover i {
	width:20px;
	margin-right:10px;
}
.fa-hover a span {
	color:#666;
}
.grid-color span {
	display:block;
	padding:10px 0;
	text-align:center;
	background-color:#ddd;
}
/** *** **/

.date-cell {
    background-color: #f5f5f5;
}

.selected-date {
    background-color: #81ba10;
}