/*-----general-----*/
* {
	-webkit-font-smoothing:antialiased;
}

html {
	margin:0;
	padding:0;
	height:100%;
}

body {
	font-family:'Raleway', Helvetica Neue, Helvetica, arial, sans-serif;
	font-size:16px;
	line-height:1.5em;
	font-weight:300;
	color:#575757;
	margin:0;
	padding:0;
}

::selection {
	background:#402b79;
	color:#fff;
}

::-moz-selection {
	background:#402b79;
	color:#fff;
}

a {
	color:#212121; 
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	text-decoration:none;
	outline: 0!important;
}

a:hover {
	color: #402B79;
	text-decoration: none;
}

p {
	margin-bottom:25px;
}

h2.service-heading {
	color: #fff;
}

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

.nav>li>a:hover, .nav>li>a:focus {
	background-color: inherit;
}

/*----- tooltip yo -----*/
.tooltip-new 	{display:inline; position:relative;border-bottom:1px dotted;}
.tooltip-new:hover {text-decoration:none }

.tooltip-new:hover:after {
	color:#FFF;
	font-size: 14px;
	background:#000;
	background:rgba(0,0,0,.8);
	content:attr(data-title);
	padding:3px 8px;
	white-space:nowrap;
	display:block;
	position:absolute;
	left:30%;
	bottom:18px;
	z-index:8
	cursor:help;
}

.tooltip-new:hover:before {
	border:solid;
	border-color:rgba(0,0,0,.8) transparent;
	border-width:6px 6px 0 6px;
	content:"";
	display:block;
	position:absolute;
	left:50%;
	bottom:12px;
	z-index: 9;
	cursor:help;
}

/* buttons */
a.button, .cat-item a, button {
	display: inline-block;
	background: #402b79;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 10px 30px;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	text-shadow: 0 1px 0px rgba(0,0,0,0.2);
	text-align: center;
	margin:0px auto 7px;
	border:0;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

a.button:hover, .cat-item a:hover, button:hover {
	background: #402b79;
}

h1,h2,h3,h4 {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	font-family: 'Raleway', Helvetica Neue, Helvetica, arial, sans-serif;
	font-weight: 200;
}

h1 {
	font-size: 4em;
	line-height: 1.5em;
	color: #212121;
	text-align: center;
}

h2 {
	font-size: 2.5em;
	color: #212121;
	text-transform: uppercase;
	margin: 10px 0 10px 0;
	line-height: 1em;
}

h2 span {
	font-weight:200;
}

h3 {
	font-size: 2em;
	line-height: 1.25em;
	margin-bottom: 30px;
	color: #212121;
}

h3 span {
	font-size: 1.5em;
}

h4 {
	font-size: 1.5em;
	line-height: 1.25em;
	color: #212121;
	margin-bottom: 10px;
}

h4 span {
	font-size: 0.65em;
	color: #727272;
	text-transform: uppercase;
	display: block;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {position: inherit;}

#shadow {
	margin: auto;
	-webkit-box-shadow: 0 10px 0 0 rgba(0,0,0,.1);
	-moz-box-shadow: 0 10px 0 0 rgba(0,0,0,.1);
	box-shadow: 0 10px 0 0 rgba(0,0,0,.1);
}

#header {
	width: 80%;
	height: 70px;
	max-width: 1000px;
	margin: auto;
}

a.logo {
	width: 50px;
	height: 50px;
	float: left;
	display: block;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 18px;
	position: relative;
	top: 25px;
}

/* section styling */
.bg-container {
	width: 100%;
	overflow: auto;
}

.container {
	margin: 4% auto;
}

#header-container {
	float: left;
	position: fixed;
	background: #151515;
	width: 100%;
	z-index: 9999;
}

.white-bg {
	background-color: #fff;
}
.orange-bg {
	background: url('../img/pattern.png') #402b79;
	color: #fff;
	overflow: auto;
}
.frame-bg {
	background: url('../img/bg.png') center center #402b79;
	color: #fff;
	overflow: hidden;
	display: block;
	clear: both;
}
.slide-bg {
	background: url('../img/pattern-grey.png') #eee;
	position: relative;
}

.inner-container {
	width: 80%;
	max-width: 1000px;
	min-width: 755px;
	margin: 4% auto;
}

#bootstrap-example {
	text-align: left;
}

#bootstrap-example h3 {
	text-align: center;
}

/* clients */

.client p {
	padding: 0 20px;
}

.client h4 {
	margin-top: 10px;
}

/* services */
.services {
	padding-top: 15px;
}

.services span {
	display: inline-block;
	padding-bottom: 20px;
}

/* menu */
ul.menu {
	float: right;
	position: relative;
	top: 16px;
}

ul.menu li {
	display: inline-block;
}

ul.menu a {
	float: left;
	margin: 0 10px;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(0,0,0,0.8);
	color: #fff;
}

ul.menu a:hover {
	color: #ee6557;
}

ul.menu a,
ul.menu a:hover {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

/* header area */
.frame-bg .caption {
	padding: 10% 0;
	text-align: center;
}

.frame-bg .inner-container {
	width: 65%;
}

.caption h1 {
	color: #FFF;
	text-transform: uppercase;
}

.caption span {
	font-size: 0.4em;
	line-height: 1.25em;
	display:block;
	margin-top: 8px;
	text-transform: none;
}

.push {
	padding-top: 70px;
}

/* form */
form.container {
	margin-top: 0;
}

form .form-group {
	text-align: left;
}

form #success,
form #error {
	display: none;
}

#success, 
#error {
	color:#FFF;
	padding: 10px 25px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-align:left;
	margin-bottom: 25px;
}

#error {
	background:#ff7461;
}

#success{
	background:#7cda70;
}

/* footer */
footer {
	background: url('../img/pattern.png') #402b79;
	padding: 20px 0;
	text-align: center;
	color: #fff;
}

footer h2 {
	font-weight: bold;
	font-size: 3.2em;
	line-height: 1.8em;
	color: #333;
}

footer a:link, footer a:visited {
	color: #fff;
}

footer a:hover {
	color: #151515;
}

.social-snippet {
	margin-top: 20px;
}

.social-snippet img {
	opacity: 0.5;
}

.social-snippet img:hover {
	opacity: 1;
}

/* 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 Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flexslider { position: relative; zoom: 1; }
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav {width: 100%; *height: 0;}
.flex-direction-nav a  { display: block; width: 75px; height: 75px; position: absolute; top: 45%; z-index: 10; cursor: pointer; color: rgba(0,0,0,0.8); text-shadow: 1px 1px 0 rgba(255,255,255,0.3); -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
.flex-direction-nav .flex-prev { left: -50px; }
.flex-direction-nav .flex-next { right: -50px; text-align: right; }
.flexslider:hover .flex-prev { opacity: 0.7; left: 10px; }
.flexslider:hover .flex-next { opacity: 0.7; right: 10px; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }
.flex-direction-nav a:before  { font-family: "flexslider-icon"; font-size: 40px; display: inline-block; content: '\f001'; }
.flex-direction-nav a.flex-next:before  { content: '\f002'; }

.flex-direction-nav li a,
.flex-direction-nav .flex-next {
	text-indent: -9999px;
	text-align: inherit;
}

.flex-direction-nav li a.flex-prev {
	background: url('../img/spriteA.png');
	background-position: 95px 155px;
	left: 0;
}

.flex-direction-nav li a.flex-next {
	background: url('../img/spriteA.png');
	background-position: 0 155px ;
	right: 0;
}

/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

.slide-row {
	width: 100%;
	text-align: center;
	padding: 40px 0;
}

.slide-title {
	font-size: 1.5em;
	line-height: 1.3em;
}

.slide-row p,
.slide-row .slide-title {
	display: block;
	width: 100%;
}

.slide-row img {
	width: auto;
	height: auto;
}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); }
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
  .flex-direction-nav .flex-next { opacity: 1; right: 10px;}
}

@media only screen and (max-width: 480px) {
	h1 {
		font-size: 2.5em;
	}
	#header-container {
		position: relative;
	}
	#header {
		height: inherit;
	}
	#header ul.menu {
		float: left;
		top: inherit;
		margin: 10px 0;
	}
	#header ul.menu li {
		width: 100%;
	}
	.frame-bg .caption {
		padding: 4% 0;
	}
	#shadow {
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
}
