/*** Custom Styles ****/

body {
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    background-color: #222222;
}

.navbar {
    margin-bottom: 0px;
}

.logo-brand{
	height: auto;
}

.about {
    background-color: #ffffff;
    padding: 30px;
}

.about p {
    margin: 10px 20px;
}

.xspace {
    margin-top: 30px;
}

.portfolio {
    background-color: #ffffff;
    padding: 20px 20px 0px 20px;
}

.portfolio p {
    margin: 10px 0px;
}

p.visit {
	padding-left: 50px;
}

.portfolio-content{
    background-color: #ffffff;
    padding: 20px 10px 10px 10px;
}

h1,h2,h3,h4 {
	font-family: "Lucida Sans", Arial, Helvetica, san-serif;
	letter-spacing: -1px;
	color: #000000;
}

.main-content{
    background-color: #ffffff;
    padding: 60px 10px 10px 10px;
}


section {
	margin-bottom: 10px;
}

section h2 {
	margin-bottom: 10px;
}

section p {
	font-size: 16px;
}

/* Button base */
.button {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-decoration: none;
	font: 14px/100% Arial, Helvetica, sans-serif;
	padding: .5em 1em .55em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover {
	text-decoration: none;
}
.button:active {
	position: relative;
	top: 1px;
}

/* Green button */
.green {
	color: #e8f0de;
	border: solid 1px #538312;
	background: #64991e;
	background: -webkit-gradient(linear, left top, left bottom, from(#7db72f), to(#4e7d0e));
	background: -moz-linear-gradient(top,  #7db72f,  #4e7d0e);
}
.green:hover {
	background: #538018;
	background: -webkit-gradient(linear, left top, left bottom, from(#6b9d28), to(#436b0c));
	background: -moz-linear-gradient(top,  #6b9d28,  #436b0c);
}
.green:active {
	color: #a9c08c;
	background: -webkit-gradient(linear, left top, left bottom, from(#4e7d0e), to(#7db72f));
	background: -moz-linear-gradient(top,  #4e7d0e,  #7db72f);
}

/* Footer */

footer {
	clear: both;
	float: left;
	background: #222222;
	color: #eaeeea;
	font-family: Arial, sans-serif;
	font-size: 13px;
	padding: 20px 0 60px 0px;
	text-align: center;
	margin-top: 20px;
	width: 100%;
}

footer span {
	color: #9dca5d;
}

footer a {
	color: #eaeeea;
	text-decoration: none;
	padding: 0 5px 0 5px;
}

footer a:hover {
	color: #9dca5d;
}

.copy-right {float:none; clear: both; text-align: center; margin-top: 15px;}

.social-icons { background:transparent; height: 32px; margin-left: 50px;}
.social-icons li {display: inline; height: 32px; width: 32px;}
.social-icons a { display:block; height:32px; width:32px; float: left; padding: 0; margin-right: 10px; }
.social-icons a.social-twitter { background: url('../images/social32.png') -22px -56px no-repeat; }
.social-icons a.social-rss { background: url('../images/social32.png') 0 0 no-repeat; }
.social-icons a.social-linkedin { background: url('../images/social32.png') -84px -12px no-repeat; }
.social-icons a.social-facebook { background: url('../images/social32.png') -22px -12px no-repeat; }

#banner-top {
    float: left;
    width: 100%;
    height: 50px;
    color: #EAEEEA;
    background: #ffffff;
}

/************************************************
Slider
************************************************/

#slider {
	width: 100%;
	margin-bottom: 0px;
    background: #ffffff;
}


.slideback {
	background: #fff;
	padding: 20px 0;
}

/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  { outline: none; }

.slides,
.flex-control-nav,
.flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

.flexslider a img { outline: none; border: none; }

.flexslider {
	margin: 0;
	padding: 0;
}

/* Hide the slides before the JS is loaded. Avoids image jumping
.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
}
*/

.flexslider .slides > li:not(:first-child) {
	display: none;
	-webkit-backface-visibility: hidden;
}

.flexslider .slides img {
	width: 50%;
	display: block;
	min-width: 200px;
	margin: auto;
	

	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

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

html[xmlns] .slides { display: block; }
* html .slides { height: 1%; }



/* Theme Styles */
.flexslider {
	position: relative;
	zoom: 1;
	padding: 10px;
}

/* Edit it if you want */
.flex-container {
	min-width: 150px;
	max-width: 800px;
	margin: auto;
	width: 96%;
}

.flexslider .slides { zoom: 1; }



/* Direction Nav */
.flex-direction-nav a {
	display: block;
	position: absolute;
	margin: -17px 0 0 0;
	width: 35px;
	height: 35px;
	top: 50%;
	cursor: pointer;
	text-indent: -9999px;
	z-index: 9999;

	background-color: #82d344;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#82d344), to(#51af34));
	background-image: -webkit-linear-gradient(top, #82d344, #51af34);
	background-image: -moz-linear-gradient(top, #82d344, #51af34);
	background-image: -o-linear-gradient(top, #82d344, #51af34);
	background-image: linear-gradient(to bottom, #82d344, #51af34);
}

.flex-direction-nav a:before {
	display: block;
	position: absolute;
	content: '';
	width: 9px;
	height: 13px;
	top: 11px;
	left: 11px;
	background: url(../images/arrows.png) no-repeat;
}

.flex-direction-nav a:after {
	display: block;
	position: absolute;
	content: '';
	width: 0;
	height: 0;
	top: 35px;
}

.flex-direction-nav .flex-next {
	right: -5px;

	-webkit-border-radius: 3px 0 0 3px;
	-moz-border-radius: 3px 0 0 3px;
	border-radius: 3px 0 0 3px;
}

.flex-direction-nav .flex-prev {
	left: -5px;

	-webkit-border-radius: 0 3px 3px 0;
	-moz-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
}

.flex-direction-nav .flex-next:before { background-position: -9px 0; left: 15px; }
.flex-direction-nav .flex-prev:before { background-position: 0 0; }

.flex-direction-nav .flex-next:after {
	right: 0;
	border-bottom: 5px solid transparent;
	border-left: 5px solid #31611e;
}

.flex-direction-nav .flex-prev:after {
	left: 0;
	border-bottom: 5px solid transparent;
	border-right: 5px solid #31611e;
}



/* Control Nav */
.flexslider .flex-control-nav {
	position: absolute;
	width: 100%;
	bottom: -40px;
	text-align: center;
	margin: 0 0 0 -10px;
}

.flex-control-nav li {
	display: inline-block;
	zoom: 1;
}

.flex-control-paging li a {
	display: block;
	cursor: pointer;
	text-indent: -9999px;
	width: 12px;
	height: 12px;
	margin: 0 3px;
	background-color: #b6b6b6 \9;

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

	-webkit-box-shadow: inset 0 0 0 2px #b6b6b6;
	-moz-box-shadow: inset 0 0 0 2px #b6b6b6;
	box-shadow: inset 0 0 0 2px #b6b6b6;
}

.flex-control-paging li a.flex-active {
	background-color: #82d344;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#82d344), to(#51af34));
	background-image: -webkit-linear-gradient(top, #82d344, #51af34);
	background-image: -moz-linear-gradient(top, #82d344, #51af34);
	background-image: -o-linear-gradient(top, #82d344, #51af34);
	background-image: linear-gradient(to bottom, #82d344, #51af34);

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



/* Captions */
.flexslider .slides p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
	display: block;
	position: absolute;
	left: 0;
	bottom: -5px;
	padding: 0 5px;
	margin: 0;
	width: 100%;
	text-align: center;
}

form {
    margin: 0 0 0 0;
    padding: 0;
}

#contact_form {
    padding: 0 20px;
}

#contact_form fieldset {
    margin-bottom:20px;
    border: none;
}

input[type=text], input[type=email], textarea {
    border-color: #BBBBBB #D3D3D3 #EEEEEE;
    border-style: solid;
    border-width: 1px;
    background: #f8f8f8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    padding: 5px;
}

input[type=text], input[type=email] {
    width: 40%;
    max-width: 400px;
    min-width: 200px;
}

textarea {
    width: 60%;
    max-width: 600px;
    min-width: 240px;
}

label {
    display: block;
    margin: 20px 0 0;
}

label.error {
    margin-top: 5px;
}

.error {
    color: red;
    font-size: 12px;
    margin-left: 5px;
}

.warning {
    color: red;
    font-size: 16px;
    margin: 5px 0 0;
}



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

	h1 {
		font-size: 22px;
	}
	
	h2 {
		font-size: 20px;
	}
	.slideback {
		text-align: center;
	}
	
	.flexslider .slides p {
		margin: 0;
	}

}
