/*
VALERA's  - Responsiv VCard - CSS
Copyrights - orange-idea.com
Creator: OrangeIdea
DECEMBER - 2012
Portfolio - http://themeforest.net/user/OrangeIdea/portfolio

/* Body and structure
-------------------------------------------------- */
body {
  position: relative;
  background-color: #f1f1f1;
  background-image:url(../img/bg/4w.png);
  background-repeat: repeat;
  line-height:1.6em !important;
  color:#666;
}
.gray_bg { background-color:#f8f8f8; border-top:1px solid #efefef; border-bottom:1px solid #efefef;}
.header_social {float:right; margin-right:20px; margin-top:5px; font-size:11px;}
::selection {
	background:#004d9d;
	color:#fff;
}
::-moz-selection {
	background:#000;
	color:#fff;
}
img::selection {
	background: transparent;
}
img::-moz-selection {
	background: transparent;
}
img {  max-width:100%;}
h1, h2, h3, h4, h5, h6 { text-transform:uppercase; color:#444;}
p{ margin-bottom:20px; font-size:12px;}
a { color:#004d9d;}
a:hover { color:#004d9d; text-decoration:underline;}
a:focus { outline:none !important;}
.header_social .badge, .comment .badge{
	background-color:#f5f5f5;
	font-size:inherit;
	font:inherit;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-transition:all 0.1s ease-in-out;
	-moz-transition:all 0.1s ease-in-out;
	-o-transition:all 0.1s ease-in-out;
	transition:all 0.1s ease-in-out;
	color:inherit;

}
.badge a { 
	color:#004d9d;
	text-shadow:1px 1px #fff;
	-webkit-transition:all 0.1s ease-in-out;
	-moz-transition:all 0.1s ease-in-out;
	-o-transition:all 0.1s ease-in-out;
	transition:all 0.1s ease-in-out;
}
.badge:hover a {
	color:#fff;
	text-decoration:none;
	text-shadow:none;
	-webkit-transition:all 0.1s ease-in-out;
	-moz-transition:all 0.1s ease-in-out;
	-o-transition:all 0.1s ease-in-out;
	transition:all 0.1s ease-in-out;
}
.center {text-align:center;}
.block .description {padding:10px; padding-top:0px;}

/* Space out sub-sections more
-------------------------------------------------- */
section {
  padding-top: 50px;
}









.container {
	background:#fff;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.27), 0 0 20px rgba(0, 0, 0, 0) inset;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.27), 0 0 20px rgba(0, 0, 0, 0) inset;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.27), 0 0 20px rgba(0, 0, 0, 0) inset;
}
.bordered {border:20px solid #fff;}
.welcome {
}


/* -------------------------------------------------- */
/*	Main Navigation
/* -------------------------------------------------- */

.nav-tabs > li > a {
	color: #777;
	background:#f9f9f9;
	text-transform:uppercase;
	font-size: 12px;
	font-weight:bold;
	display: block;
	position: relative;
	text-align: center;
	z-index: 98;
	padding: 10px 20px 10px 20px !important;
	border-radius:3px 3px 0 0;
	margin-left:5px;
	border:none;
	-webkit-transition:all 0.2s ease-in-out;
	-moz-transition:all 0.2s ease-in-out;
	-o-transition:all 0.2s ease-in-out;
	transition:all 0.2s ease-in-out;

	}

.nav-tabs > li > a:hover {
	background:#fff;
	-webkit-transition:all 0.2s ease-in-out;
	-moz-transition:all 0.2s ease-in-out;
	-o-transition:all 0.2s ease-in-out;
	transition:all 0.2s ease-in-out;

}
.nav-tabs > .active > a, .nav-tabs > .active > a:hover{
	color:#004d9d; 
	border:none;
	border-bottom:none;
	}
	/*Landscape phones and down*/
	@media (max-width: 400px) {
		body { padding:20px; padding-top:0px; }
		.tab-content { padding-left:0px !important; }
		.bordered { border-left:0px;}
		.container { width:260px;}
		.flexslider, .tab-pane {width:240px;}
		.flex-caption { display:none; }
		.flex-control-nav  { display:none}
		h1.welcome { font-size:18px; text-align:center; line-height:24px;}
		h4.welcome { text-align:center; margin-bottom:20px; font-size:12px !important;}
		.soc_icons {margin-bottom:40px !important;}
		.soc_icons a:first-child{ margin-right:30px; }
		.nav-tabs { margin-top:40px;}
		.nav-tabs li:last-child { margin-right:10px;}
		.shadow { margin-top:-12px !important;}
		.nav-tabs > li > a {padding: 4px 7px 4px 7px !important; font-size:11px; text-transform:none;}
		.span4 { margin-bottom:35px !important;}
		.block { margin-bottom:35px !important; max-width:230px;}
		.map { width:240px !important; height:230px !important;}
		.mainslider { height:80px !important;}
		.copy { text-align:center !important;}
	}
	@media (min-width: 400px)  and (max-width: 480px) {
		body { padding:20px; padding-top:0px; }
		.tab-content { padding-left:0px !important; }
		.bordered { border-left:0px;}
		.container { width:260px;}
		.flexslider, .tab-pane {width:240px;}
		.flex-caption { display:none; }
		.flex-control-nav  { display:none}
		h1.welcome { font-size:18px; text-align:center; line-height:24px;}
		h4.welcome { text-align:center; margin-bottom:20px; font-size:12px !important;}
		.soc_icons {margin-bottom:40px !important;}
		.soc_icons a:first-child{ margin-right:30px; }
		.nav-tabs { margin-top:40px;}
		.nav-tabs li:last-child { margin-right:10px;}
		.shadow { margin-top:-12px !important;}
		.nav-tabs > li > a {padding: 4px 7px 4px 7px !important; font-size:11px; text-transform:none;}
		.span4 { margin-bottom:35px !important;}
		.block { margin-bottom:35px !important; max-width:230px;}
		.map { width:240px !important; height:230px !important;}
		.mainslider { height:80px !important;}
		.copy { text-align:center !important;}
	}
	/* Landscape phone to portrait tablet*/
	@media (min-width: 480px) and (max-width: 768px) {
		body { padding:20px; padding-top:0px; }
		.bordered { border-left:0px;}
		.container { max-width:420px;}
		.flexslider, .tab-pane {max-width:400px;}
		.flex-caption { display:none;}
		.flex-control-nav  { display:none}
		h1.welcome { font-size:18px; text-align:center; line-height:20px;}
		h4.welcome { text-align:center; margin-bottom:20px;}
		.soc_icons {margin-bottom:40px !important;}
		.soc_icons a:first-child{ margin-right:100px; }
		.nav-tabs { margin-top:40px;}
		.nav-tabs li:last-child { margin-right:10px;}
		.shadow { margin-top:-5px !important;}
		.span4 { margin-bottom:35px !important;}
		.aboutslider img { width:420px;}
		.block { margin-bottom:35px !important; max-width:410px;}
		.map { width:400px !important; height:410px !important;}
		.mainslider { height:135px !important;}
		.copy { text-align:center !important;}
		
	}
	@media (min-width: 768px) and (max-width: 980px) {
		.flex-caption  p{ display:none;}
		.flexslider h3  { font-size:14px !important; line-height:16px;}
		h1.welcome { font-size:24px;}
		.map { width:230px !important; height:410px !important;}
		.mainslider { height:245px !important;}
	}
	/* Portrait tablet to landscape and desktop*/
	@media (min-width: 980px) and (max-width: 1200px) {
		.flexslider h3  { font-size:14px !important;}
		.map { width:300px !important;}
		.mainslider { height:320px !important;}
		
	}
.mainslider { height:400px;}
.copy { text-align:right;}
.map { width:370px;}
.top_line { height:5px; background-color:#eee;}
/*
 * jQuery FlexSlider v1.8
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* 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; background:#f5f5f5;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides > li:first-child { background:url('../img/spinner.gif') center center no-repeat #f5f5f5;}
.flexslider .slides img {max-width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* 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%;}

/* 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 {background: #f5f5f5; position: relative; zoom: 1;}
.flexslider .slides {zoom: 1;}
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {max-width: 30%; margin: 0; position: absolute; left: 0; bottom: 20%;}
.flex-caption h3 {background:#FFF; margin-bottom:15px; padding:15px; padding-left:20px; float:left;}
.flex-caption p {background:#FFF; margin-bottom:15px; padding:15px; padding-left:20px; float:left;}

.flex-caption h3, .flex-caption p {
	-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.27), 0 0 20px rgba(0, 0, 0, 0) inset;
	-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.27), 0 0 20px rgba(0, 0, 0, 0) inset;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.27), 0 0 20px rgba(0, 0, 0, 0) inset;
}

/* Direction Nav */
.flex-direction-nav { height: 0; }
.flex-direction-nav li a {width: 52px; height: 52px; margin: -13px 0 0; display: block; background: url(theme/bg_direction_nav.png) no-repeat; position: absolute; top: 50%; cursor: pointer; text-indent: -999em;}
.flex-direction-nav li .next {background-position: -52px 0; right: -21px;}
.flex-direction-nav li .prev {left: -20px;}
.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: 15px; left:20px;}
.flex-control-nav li {margin: 0 0 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {width: 27px; height: 13px; display: block; background: url('../img/bullet.png') no-repeat 0 0; cursor: pointer; text-indent: -9999px;}
.flex-control-nav li a:hover {width: 27px; height: 13px; display: block; background: url('../img/bullet-hover.png')}
.flex-control-nav li a.active {width: 27px; height: 13px; display: block; background: url('../img/bullet-hover.png')}




header {margin-top:50px;}
img { margin:0px !important; padding:0px !important}
.block  { margin-bottom:30px; background-color:#f5f5f5; border-bottom:1px solid #dfdfdf;  text-align:center;}
.block p { margin-bottom:0px; margin-top:3px;}
.block h5 { padding-top:10px; padding-left:10px;}
.block:hover {}
.block a { 
	text-shadow:1px 1px #fff;
	color:#444;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.block a:hover { 
	text-shadow:1px 1px #fff;
	color:#004d9d;
	text-decoration:none;
	-webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;	
	}
.left .span3 { text-align:left;}
.nbm { margin-bottom:0px !important;}
.nbm .span3 { margin-bottom:0px;}
.undercolored { border-bottom:1px solid #004d9d;}
.undercolored a { color:inherit;}
.undercolored a:hover { color:#004d9d; text-decoration:none;}
.colored {color:#004d9d;}

.view {
   overflow: hidden;
   position: relative;
   text-align: center;
   cursor: default;
}
.view .mask,.view .content {
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}
.view img {
   display: block;
   position: relative;
}
.view h2 {
   text-transform: uppercase;
   color: #fff;
   text-align: center;
   position: relative;
   font-size: 17px;
   padding: 10px;
   background: rgba(0, 0, 0, 0.1);
   margin: 20px 0 0 0;
}
.view p {
   font-family: Georgia, serif;
   font-style: italic;
   font-size: 12px;
   position: relative;
   color: #fff;
   padding: 10px 20px 20px;
   text-align: center;
}
.view a.info {
   display: inline-block;
   text-decoration: none;
   color: #fff;
   text-transform: uppercase;
}
.view a.link {
   display: inline-block;
   text-decoration: none;
   color: #fff;
   text-transform: uppercase;
}
.view a.info: hover {
   -webkit-box-shadow: 0 0 5px #000;
   -moz-box-shadow: 0 0 5px #000;
   box-shadow: 0 0 5px #000;
}

.view-first img {
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.view-first .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   background-color: rgba(0,0,0, 0.1);
   -webkit-transition: all 0.4s ease-in-out;
   -moz-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;
   -ms-transition: all 0.4s ease-in-out;
   transition: all 0.4s ease-in-out;
   width:100%;
   height:100%;
}
.view-first h2 {
   -webkit-transform: translateY(-100px);
   -moz-transform: translateY(-100px);
   -o-transform: translateY(-100px);
   -ms-transform: translateY(-100px);
   transform: translateY(-100px);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.view-first p {
   -webkit-transform: translateY(100px);
   -moz-transform: translateY(100px);
   -o-transform: translateY(100px);
   -ms-transform: translateY(100px);
   transform: translateY(100px);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.view-first:hover img {

}
.view-first a.info {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   position:absolute;
   left:50%;
   top:50%;
   margin-top:-25px;
   margin-left:-64px;

}
.view-first a.link {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   position:absolute;
   left:50%;
   top:50%;
   margin-top:-25px;
   margin-left:11px;

}

.view-first:hover .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.view-first:hover h2,
.view-first:hover p,
.view-first:hover a.info,
.view-first:hover a.link {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=70)";
   filter: alpha(opacity=70);
   opacity: 0.7;
   -webkit-transform: translateY(0px);
   -moz-transform: translateY(0px);
   -o-transform: translateY(0px);
   -ms-transform: translateY(0px);
   transform: translateY(0px);
}
.view-first:hover a.info:hover,
.view-first:hover a.link:hover {
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;

	}
.view-first:hover p {
   -webkit-transition-delay: 0.1s;
   -moz-transition-delay: 0.1s;
   -o-transition-delay: 0.1s;
   -ms-transition-delay: 0.1s;
   transition-delay: 0.1s;
}

				


h1 .label, h3 .label { font-size:inherit; border-radius: 0px !important; background-color: #004d9d;}
.dash { border-style:dashed !important; margin-top:10px; margin-bottom:10px;}

.soc_icons a{ float:right; margin-right:10px; margin-top:5px;}
.icon_t { width:24px; height:24px; background:url('../img/icons_twitter.png')}
.icon_t:hover {background:url('../img/icons_twitter_hover.png')}
.icon_facebook { width:24px; height:24px; background:url('../img/icons_facebook.png')}
.icon_facebook:hover {background:url('../img/icons_facebook_hover.png')}
.icon_dribbble { width:24px; height:24px; background:url('../img/icons_dribbble.png')}
.icon_dribbble:hover {background:url('../img/icons_dribbble_hover.png')}
.icon_google { width:24px; height:24px; background:url('../img/icons_google.png')}
.icon_google:hover {background:url('../img/icons_google_hover.png')}
.icon_in { width:24px; height:24px; background:url('../img/icons_in.png')}
.icon_in:hover {background:url('../img/icons_in_hover.png')}
.icon_flickr { width:24px; height:24px; background:url('../img/icons_flickr.png')}
.icon_flickr:hover {background:url('../img/icons_flickr_hover.png')}

.preloader { background:url('../img/spinner.gif') center center no-repeat #ffffff;  }
.view {background:url('../img/spinner.gif') center center no-repeat #f5f5f5;}

input:focus,
textarea:focus {
  border-color: rgba(101, 154, 34, 0.8);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(101, 154, 34, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(101, 154, 34, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(101, 154, 34, 0.6);
  outline: 0;
  /* IE6-9 */
  
}
.nav-tabs { margin-bottom:0px !important;}
ul#filters { list-style:none; margin:0px !important;}
ul#filters li { float:left; padding-left:0px; margin-right:20px;}

.isotope-item { z-index: 2; }
.isotope-hidden.isotope-item { pointer-events: none; z-index: 1; }

/* Isotope CSS3 transitions */
.isotope, .isotope .isotope-item { -webkit-transition-duration: 0.8s; -moz-transition-duration: 0.8s; -ms-transition-duration: 0.8s; -o-transition-duration: 0.8s; transition-duration: 0.8s; display:block; }
.isotope { -webkit-transition-property: height, width; -moz-transition-property: height, width; -ms-transition-property: height, width; -o-transition-property: height, width; transition-property: height, width; }
.isotope .isotope-item { -webkit-transition-property: -webkit-transform, opacity; -moz-transition-property: -moz-transform, opacity; -ms-transition-property: -moz-transform, opacity; -o-transition-property: top, left, opacity; transition-property: transform, opacity; }

/* disabling Isotope CSS3 transitions */
.isotope.no-transition, .isotope.no-transition .isotope-item, .isotope .isotope-item.no-transition { -webkit-transition-duration: 0s; -moz-transition-duration: 0s; -ms-transition-duration: 0s; -o-transition-duration: 0s; transition-duration: 0s; }

.portfolio-description  section{ padding-top:20px;}
#note { color:#ff0000; font-size:11px; line-height:14px; margin-bottom:15px;}