/*
* 3 Rivers Reaction
* Copyright 2012, Robin Easter Design
* Reaction
* Copyright 2011, Brandon R Jones
* Original Skeleton, Copyright 2011, Dave Gamache
*/

/* Table of Content
==================================================
	#Site Styles
	#Navigation Styles
	#Image Overlay Styles
	#Page Styles
	#Media Queries
	#Font-Face
	#Plugin Style Mods (placed here so we can keep originals pure)
*/
	



/* ======================================================= */
/* #SITE STYLES : Universal Theme Visual Styles */
/* ======================================================= */

/* Set BG */
body, 
h2.title span, 
ul.tabs li a.active{ 
	position: relative;
	z-index: 1;
} 
.hidden{display: none;}




/* Wrap .container sections with this to create a full width section (for full width BG color stripes) */
.full-width{width: 100%;}



/* HR Divider */
hr{	
	border: solid #ede9bc; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; 
	}
	
hr.partial-bottom{display:none}
hr.remove-top{margin-top: 0px;}


/* widgets */
#righty h1, #righty h2, #righty h3, #righty h4, #righty h5, #righty h6 {color:#a89a00}
#righty h3.widget-title{font-size:1.35em;letter-spacing:.03em;}
#righty h3.widget-title,#righty h3.widget-title a{font-weight:800;line-height:24px}
.widget h4, .widget h4 a{color:#a89a00;font-size:.8em;line-height:1.4em;}
.container h4, .container h4 a{color:#a89a00;font-size:.96em}
#righty,#righty .widget p{font-size:12px;color:#002b54}	
#lefty h3,#lefty h3 a{line-height:16px}


/* Responsive Images - Combined with Sencha.io on the frontend */
.columns img, .column img, p img{max-width: 100%; height: auto;}
.module-img img{height:123px;height:auto}
.content img{border: 6px solid #a89a00;margin-bottom:15px;background: url('../images/roosterloading.gif') 50% 50% no-repeat;}
.content .noborder img{border:none}


/* Basic alignment */
.alignleft{float: left; margin: 20px 20px 20px 0;}
.aligncenter{text-align: center; clear: both; margin: 15px auto; display: block;}
.alignright{float: right; margin: 20px 20px 20px 0;} 
.alignnone{margin: 20px 20px 20px 0px;} 
.featured-image{margin-top: 0px;}


/* #Global Transitions */
.column, .columns, a.sidebar-advert img, .widget, .widget input, .row, .module-img img, .sf-menu li, .sf-menu a, a.header-advert img, a.sidebar-advert img {
  	   -moz-transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	     -o-transition: all .2s ease-in-out;
	    -ms-transition: all .2s ease-in-out;	
	        transition: all .2s ease-in-out;
}

/* Custom Lists, Buttons, Tags, etc. */
ul.square {padding: 10px;}
a.button{text-align: center;}

/* Form Overrides */
input.sidebar-search{ width: 90%; min-width: 130px; } 

input#s {
    min-width: 130px;
    width: 90%;
}
.widget_search h3, #searchform label, #searchform #searchsubmit {
    display: none;
}

a.sidebar-advert img {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.04);
    padding: 6px;
}
a.sidebar-advert img:hover {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.1);
}

.flickr a img{width: 55px;}
.flickr a {padding: 0 5px;}

/* Tags / Categories Styling */
.tags a{
	background: none repeat scroll 0 0 #333333;
	-webkit-border-radius: 3px 3px 3px 3px;
	   -moz-border-radius: 3px 3px 3px 3px;
         -o-border-radius: 3px 3px 3px 3px;
	        border-radius: 3px 3px 3px 3px;
    display: block;
    float: left;
    margin: 2px 2px 0 0;
    padding: 3px 8px;
    text-decoration: none;
}



/* Miscelleneous Classes */
img.tag_icon{
	float: left; 
	border: 0 !important; 
	padding: 5px 13px 0 0;
	margin-bottom: 0;
	}


.post .tags{margin: -15px 0 -7px;}
.tags .button{margin-bottom: 2px;}

.chzn-container-single .chzn-search input{min-width: 20px;}
.excerpt{margin-bottom:20px}
.excerpt .meta{margin-bottom:10px;}

.my-avatar {display:none}

.hybrid-blog-2 .meta,
.hybrid-blog-3 .meta,
.hybrid-blog-4 .meta{display: none;}

div.date{ display: inline-block; width: 60px; height: 60px; margin-right: 10px; float: left;border:1px solid #ede9bc}
.date p{
	font-size: 10px;
    line-height: 14px;
    padding-top: 15px;
    text-align: center;
    text-transform: uppercase;
    }
    
.date p span{
	display: block;
    font-size: 18px;
    text-transform: lowercase;
}

ul.square, ul.circle, ul.disc {
    font-size: 13px;
}

pre, code, address{
	font-family: Courier, Arial;
}

pre{
	padding: 15px;
	line-height: 200%;
	background: url('../images/theme/backgrounds/pattern_diagonal_white.png') scroll center bottom rgba(144, 144, 144, 0.1);
}

p.social{margin-top: 20px;text-align: center;}

.feature {
    background: none repeat scroll 0 0 #f7f3cf;
    border: 1px solid #a89a00;
    display: block;
    padding: 24px;
}
 
#ui-lightbox-overlay{z-index: 9998 !important;}

 
/* Hybrid View Styles */
/* Clear Fixes - for the hybrid blog templates to make sure the layout doesn't look awful */
.hybrid-blog-4 .container .hybrid:nth-child(4n+5),
.hybrid-blog-3 .container .hybrid:nth-child(3n+4),
.hybrid-blog-2 .container .hybrid:nth-child(2n+3)
{clear: both; }

.floatleft{float:left;clear: none;}

/* .portfolio-4 .container .four.columns:nth-child(4n+5),
.portfolio-3 .container .one-third.column:nth-child(3n+4),
.portfolio-2 .container .eight.columns:nth-child(2n+3), */
.clearleft{clear: left !important;}


 
.post:first-child hr.partial-bottom{margin: 0; height: 0; padding: 0; border: 0;}
 
 


/* Table Styling - Box Style */
table {
    border-collapse: collapse;
    font-size: 12px;
    margin: 10px 0 20px;
    text-align: left;
    width: 98%;
}
table thead th.rounded-company {
    background: #ccc;
}
table thead th.rounded-q4 {
    background: #ccc;
}
table th {
    background: none repeat scroll 0 0 #a89a00;
    color: #f7f3cf;
    font-size: 10px;
    font-weight: bold;
    padding: 8px;
    text-transform: uppercase;
}
table td {
    background: none repeat scroll 0 0 #f7f3cf;
    border-top: 1px solid #fff;
    color: #333;
    padding: 8px;
}
table tfoot td.rounded-foot-left {
    background: #eee;
}
tabletfoot td.rounded-foot-right {
    background: #eee;
}
table tbody tr:hover td {
    background: none repeat scroll 0 0 #ccc366;
}
table p{margin:0}



/* WP Required Styles */
.wp-caption{
    border: none;
    max-width: 100%;
    padding: 0;
    text-align: center;
	clear: both;
	display: block;
 }
 
.gallery-caption{
	text-align: center;  
	padding: 0;
}

.wp-caption img{padding: 0; margin:0; max-width: 99.8%;}
  
.wp-caption-text{margin: -4px 0 20px 0 !important;width: 100%;font-size: 11px;font-weight: 800;color:#fff;background: #a89a00;padding:4px 5px 10px 6px}
.sticky{}

p img{margin-bottom: 0;}

#gallery-1 img {border: 0;}

.bypostauthor{background: rgba(100, 100, 100, 0.2);}

#adminbarsearch-wrap input{padding: 2px !important;}


/* ======================================================= */
/* #SECTIONS */
/* ======================================================= */

/* Section declarations for BG stripes */
#section-tophat, #section-footer, #section-sub-footer {	position: relative;  z-index: 1;  } /* Setup for :after double bgs below */

#section-tophat{}
#section-header{}
#section-slider{}
#section-portfolio{}
#section-projects{}
#section-sidebar-right{}
#section-project-single{}
#section-footer{}
#section-sub-footer{clear:both;margin-top:20px}

.grid-example .column, 
.grid-example .columns{
	background: #ccc; 
	color: #ccc;
	display: block; 
	height: 60px;
	margin-bottom: 20px;
	}
 
.grid-example .example{color: #222; background: transparent;}

/* Now we'll add some more granular styles to each specific section*/


/* #TOPHAT */ 
#section-tophat {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.85);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
		-webkit-box-shadow:0 0 2px rgba(0,0,0,0.1);
		   -moz-box-shadow:0 0 2px rgba(0,0,0,0.1);
			 -o-box-shadow:0 0 2px rgba(0,0,0,0.1);
			   box-shadow: 0 0 2px rgba(0,0,0,0.1);
    color: #777;
    padding: 5px 0;
}

#section-tophat{padding: 10px 0;}

#section-tophat span.subscribe{float: left;}
#section-tophat span.tagline{float: right;}

#section-tophat ul.social li {
					-moz-transition: all 0.3s ease-in-out 0s;
					display: inline-block;
					height: 16px;
					margin: 0;
					opacity: 0.8;
					padding: 4px 2px 0;
					width: 16px;
				}


/* #HEADER */
#section-header > div{
	padding-top: 30px; 
	padding-bottom: 20px;
}
h1#logo{margin-top:12px}


/* Social Icons Section */
ul.social{
	text-align: right; 
	border-left:2px solid #a89a00;
	}
		
ul.social li{
	display: inline-block; 
	width: 16px; 
	height: 16px; 
	margin: 0;
	   -moz-transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	     -o-transition: all .3s ease-in-out;
	    -ms-transition: all .3s ease-in-out;	
	        transition: all .3s ease-in-out;
	}
	        
ul.social li:hover{
			   -moz-opacity:1.0 !important;
     filter: alpha(opacity=100) !important;
     			    opacity:1.0 !important;
}



/* #SLIDER */
#section-slider{}



/* #FOOTER */
#section-footer{
	margin-top: 0px;
	padding: 0px 0;
}

#section-footer h5{
	position: relative;
	z-index: 1;	
	padding: 2px 0px;
	margin-bottom: 20px;
	}
 
#section-footer ul li{
	padding:10px 0;
	margin: 0;
-webkit-border-top: 1px solid rgba(255, 255, 255, 0.5); /* Top/Bottom border for the dropdown links */
   -moz-border-top: 1px solid rgba(255, 255, 255, 0.5);
     -o-border-top: 1px solid rgba(255, 255, 255, 0.5);
		border-top: 1px solid rgba(255, 255, 255, 0.5);
	-webkit-border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	   -moz-border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	     -o-border-bottom: 1px solid rgba(0, 0, 0, 0.1);
			border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#section-footer ul li:first-child { 
	border-top: none; 
	padding-top: 0;
	}  
  
#section-footer ul li:last-child { 
	border-bottom: none; 
	} 

#section-footer ul.children{margin: 0;}

#section-footer ul.children li { 
	padding:10px 0 10px 20px;
	margin: 0;
-webkit-border-top: 1px solid rgba(255, 255, 255, 0.05); /* Top/Bottom border for the dropdown links */
   -moz-border-top: 1px solid rgba(255, 255, 255, 0.05);
     -o-border-top: 1px solid rgba(255, 255, 255, 0.05);
		border-top: 1px solid rgba(255, 255, 255, 0.05);
	-webkit-border-bottom: 1px solid rgba(0, 0, 0, 0.4);
	   -moz-border-bottom: 1px solid rgba(0, 0, 0, 0.4);
	     -o-border-bottom: 1px solid rgba(0, 0, 0, 0.4);
			border-bottom: 1px solid rgba(0, 0, 0, 0.4);
	} 

#section-footer ul.children li:last-child { 
	border-bottom: none; 
	padding: 10px 0 0px 20px;
	} 
#section-footer ul.children li:first-child { 
	border-top: none; 
	} 

#section-footer .simpleimage img{margin-top:10px;}

#section-footer select{width: 160px;}

/* #SUBFOOTER */
#section-sub-footer{
	background: repeat transparent;
}

	
#section-sub-footer > div{  
    font-size: 10px;
    padding: 5px 0 10px;
	}
	
	
#section-sub-footer span{
	padding: 15px 0;
	}

#section-sub-footer span.copyright{float: left;}
#section-sub-footer span.colophon{float: right;}






/* ======================================================= */
/* #NAVIGATION STYLES (Theme defaults, then SuperFish mods) */
/* ======================================================= */
header .navigation,footer .navigation{margin-top: 0;}
.widget_nav_menu li{line-height:1.1em}
.widget_nav_menu li.current-menu-item,.widget_nav_menu li.current-post-ancestor{line-height:1.8em}
.widget_nav_menu li.current-menu-item ul,.widget_nav_menu li li.current-menu-item,.widget_nav_menu li.current-post-ancestor ul,.widget_nav_menu  li li.current-post-ancestor{padding-top:5px;}
.widget_nav_menu li ul{margin:2px 0 2px 0;padding:0}
.widget_nav_menu li ul li:before{content:'- ';}
.widget_nav_menu li ul li{line-height:.95em}
.widget_nav_menu li ul li.current-menu-item,.widget_nav_menu li ul li.current-post-ancestor{line-height:1.8em}
.widget_nav_menu .sub-menu{}
/* Top Level Styles */
.sf-menu > li > a {
	padding:0;
	background: transparent;
	margin-bottom: 0; /* Adjust for padding below our list */
	}

.sf-menu > li:last-child{
	border-right: 0px solid #a89a00 !important;
	}
		
.sf-menu > li > a, .sf-menu > li {
	   -moz-transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	     -o-transition: all .3s ease-in-out;
	    -ms-transition: all .3s ease-in-out;	
	        transition: all .3s ease-in-out;
			}


/* DARK VERSION - Second Level Styles (the Dropdown) */
.sf-menu li li:hover, .sf-menu li li.sfHover, .sf-menu li li:focus, .sf-menu li li:hover, .sf-menu li li:active {
	background: rgb(0,43,84);
	background: rgba(0,43,84,1);
}

.sf-menu li li a, .sf-menu li li a:hover, .sf-menu li li a:focus {
	padding:8px 10px 8px 11px !important; 
	background: transparent; margin: 0;
}

/* MAIN SKIN FOR DROPDOWN */
.sf-menu li ul {
	background: url("../images/theme/uparrow.png") no-repeat scroll 0 0 transparent !important;
}

.sf-menu li li {
	margin:0;
	background: rgb(0,43,84);  /* BG Color for the dropdown */
	background: rgba(0,43,84,.95);
    line-height: 1em;
}

.sf-menu li li:first-child {border-top: none} 
.sf-menu li li:last-child {border-bottom: none} 

/* LIGHT VERSION of Dropdown (add the "light" class to .sf-menu to activate) */
.sf-menu.light li li:hover, .sf-menu.light li li.sfHover, .sf-menu.light li li:focus, .sf-menu.light li li:hover, .sf-menu.light li li:active {
	background: rgb(247,243,207);
	background: rgba(247,243,207,1);
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}

.sf-menu.light li li {
	background: rgb(247,243,207);  /* BG Color for the dropdown */
	background: rgba(247,243,207,0.95);
 -webkit-border-top: 1px solid rgba(255, 255, 255, 0.9); /* Top/Bottom border for the dropdown links */
    -moz-border-top: 1px solid rgba(255, 255, 255, 0.9);
      -o-border-top: 1px solid rgba(255, 255, 255, 0.9);
		 border-top: 1px solid rgba(255, 255, 255, 0.9);
	-webkit-border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	   -moz-border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	     -o-border-bottom: 1px solid rgba(0, 0, 0, 0.1);
			border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	  -webkit-border-left: 1px solid rgba(0, 0, 0, 0.1); /* Left/Right border for visibility */
	     -moz-border-left: 1px solid rgba(0, 0, 0, 0.1);
		   -o-border-left: 1px solid rgba(0, 0, 0, 0.1);
			  border-left: 1px solid rgba(0, 0, 0, 0.1);
	 -webkit-border-right: 1px solid rgba(0, 0, 0, 0.1);
	    -moz-border-right: 1px solid rgba(0, 0, 0, 0.1);
	      -o-border-right: 1px solid rgba(0, 0, 0, 0.1);
			 border-right: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.50);-moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.50);-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.50);
}





/* ======================================================= */
/* Responsive Nav Queries - Swaps normal Nav with a dropdown menu with the #responsive-nav ID */
/* ======================================================= */

#responsive-nav{display: none; float: right;}
#responsive-nav li{clear: both;} 

/* @media only screen 
and (max-width: 960) {
  .navigation ul.sf-menu  { display: none; }
  #responsive-nav, .chzn-container, .chzn-container div { display: inline-block !important; }
} */

@media only screen and (max-width: 820px) {
	
  ul.sf-menu { display: none;} 
  
  #section-tophat span.subscribe, #section-tophat span.tagline,
  #section-sub-footer span.copyright, #section-sub-footer span.colophon,
  {float: none; text-align: center;}
  
  header {margin-top: 10px;}
  
  .flex-direction-nav{display: none;}
  
  #responsive-nav { display: inline-block !important; width: 100% !important; margin-top: 5px;margin-bottom:20px}
  
  #responsive-nav .chzn-container{width: 100% !important;}
  
  #responsive-nav .chzn-container-single .chzn-single, #responsive-nav .chzn-container-single .chzn-single div {padding: 4px 9px;}
  
  #logo, #tagline p, ul.social, ul.social li{text-align: center; float: none;}
  
  #tagline p{font-size: 24px; line-height: 28px; padding: 0 10 22px 11px;}
  
  #section-sub-footer span.copyright, #section-sub-footer span.colophon{width: 100%; display: block; clear: both; text-align: center; float: none !important;}
  
  body #section-sub-footer ul.social{margin-bottom: 0px !important;}
   
  ul.social{margin-bottom: 18px !important;}
  
  a.button.pagination{width: 90% !important;}
  
  ul.social li{
  	float: none; display: inline; 
			   -moz-opacity:1.0 !important;	    		  
     filter: alpha(opacity=100) !important;
     			    opacity:1.0 !important;
	}	 
	
  .flex-control-nav { /* default opacity */
			  -moz-opacity:0;
     filter: alpha(opacity=0);
     			   opacity:0;     
     			  }
     			  
}






/* ======================================================= */
/* #Image Overlay Styles */
/* ======================================================= */
.module, .module-img{position: relative; overflow: hidden;}
.module{margin-bottom: 7px;}
.module-meta {display: inline;} 
.module-img{text-align: center;border:solid 6px #a89a00;background-color:#fff;}
.module-img a img{margin-bottom:-6px}

body.home .module-img{border:none;}
body.home .module-img a img {
    margin-bottom:0;
    width: 100%;
}

/* The lightbox and full post link styles */
.module-img .thumbLink, .module-img .lightboxLink{
    background: url("../images/theme/post_link.png") no-repeat scroll 0 0 transparent;
    height: 20px !important;
    width: 20px !important;
    z-index: 9 !important;  
    margin-top: -26px; /* Nudge up a bit */
    position: absolute; 
    right: 6px;
}

.module-img .lightboxLink{
	background: url("../images/theme/pop_link.png") no-repeat scroll 0 0 transparent;
    right: 28px;
}

/* Our transitions for the thumbnails */
.module-img .thumbLink, .module-img .lightboxLink{ 
			  -moz-opacity:0.0;
      filter: alpha(opacity=0);
     			   opacity:0.0;
     			   text-indent: -9999px;
	   -moz-transition: opacity .3s ease-in-out;
	-webkit-transition: opacity .3s ease-in-out;
	     -o-transition: opacity .3s ease-in-out;
	    -ms-transition: opacity .3s ease-in-out;	
	        transition: opacity .3s ease-in-out;
}

.module:hover .thumbLink, .module:hover .lightboxLink{
			   -moz-opacity:1.0 !important;	    		  
     filter: alpha(opacity=100) !important;
     			    opacity:1.0 !important;
}

.thumbLink:hover , .lightboxLink:hover { 
			  -moz-opacity:0.8 !important;	    		  
     filter: alpha(opacity=80) !important;
     			   opacity:0.8 !important;
}

/* Make the entire space clickable */
.popLink{display: block; height: 20px;}


.page .hentry{padding-bottom: 15px;}

/* Styling for centered overlay */
.module-img img{
	border: medium none;
    margin: 0;
    outline: medium none;
    position: relative;
    text-decoration: none;
    background: white;
    z-index: 2;}
    
.module-img:hover img{opacity: 0.09;}

.module-img span{display:none}
.module-img:hover span{display:inherit}
.module-img span{
	background: url("../images/theme/img-bg-pat.png") repeat scroll center center;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0px; /* Removes auto height of the HTML5 span element */
    width: 100%;
    z-index: 1;
}
.module-meta h4{padding: 12px 0 0;font-size:.96em}
.module-meta h5{padding:0;margin-top:6px}
.module-meta h4,.module-meta h4 a,.module-meta h5,.module-meta h5 a{line-height:1.2em}




/* ======================================================= */
/* #PAGE STYLES SECTION */
/* ======================================================= */




	
	
/* ======================================================= */
/* #FONT-FACE TEMPLATE */
/* ======================================================= */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */


@font-face {
    font-family: 'KavalerKursive';
    src: url('../fonts/kavaler_kursive-webfont.eot');
    src: url('../fonts/kavaler_kursive-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/kavaler_kursive-webfont.woff') format('woff'),
         url('../fonts/kavaler_kursive-webfont.ttf') format('truetype'),
         url('../fonts/kavaler_kursive-webfont.svgz#KavalerKursive') format('svg'),
         url('../fonts/kavaler_kursive-webfont.svg#KavalerKursive') format('svg');
    font-weight: normal;
    font-style: normal;

}



/* ======================================================= */
/* #PLUGIN MODS SECTION (continues until end of document) */
/* ======================================================= */


/* ======================================================= */
/* #FILTERABLE */
/* ======================================================= */

#portfolio-list{
	   -moz-transition: all 1s ease-in-out;
	-webkit-transition: all 1s ease-in-out;
	     -o-transition: all 1s ease-in-out;
	    -ms-transition: all 1s ease-in-out;	
	        transition: all 1s ease-in-out;
}

#portfolio-list .module-meta{display: none;}

#portfolio-list .module-meta.visible{display: inline;}

span.list_btn:hover, span.grid_btn:hover, span.hybrid_btn:hover{cursor: pointer;}

#portfolio-filter{float: left;}

.portfolio-view{float: right;}

.portfolio-filters span, .portfolio-view span{margin-right: 10px;}

.portfolio-view span{float: left; margin-top: 6px;}

span.grid_btn, span.list_btn, span.hybrid_btn {margin-right: 3px; margin-top: 0px;}

.portfolio-nav{margin-bottom: 10px;}

.portfolio-nav a.button{margin-bottom: 4px; background: white; color: #a89a00; text-transform: capitalize;min-width:30px}

.portfolio-nav a.button:hover{background: #fafafa;}

#portfolio-filter a.current{background: #a89a00;color:#fff;} 

.portfolio-nav p{margin-bottom: 0;} 



/* ======================================================= */
/* Tipsy */
/* ======================================================= */
.tipsy { position: absolute; padding: 5px; z-index: 900000; }
  .tipsy-inner { background-color: #f7f3cf; color: #a89a00; max-width: 250px; padding: 5px 8px 4px 8px; text-align: left; }

  /* NO! Rounded corners */
  .tipsy-inner { border-radius: 0px; -moz-border-radius: 0px; -webkit-border-radius: 0px; }
  
  /* Uncomment for shadow */
  .tipsy-inner { box-shadow: 0 0 2px #a89a00; -webkit-box-shadow: 0 0 2px #a89a00; -moz-box-shadow: 0 0 2px #a89a00; }
  
  .tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #f7f3cf; }
  
  /* Rules to colour arrows */
  .tipsy-arrow-n { border-bottom-color: #f7f3cf; }
  .tipsy-arrow-s { border-top-color: #f7f3cf; }
  .tipsy-arrow-e { border-left-color: #f7f3cf; }
  .tipsy-arrow-w { border-right-color: #f7f3cf; }
  
	.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }
    .tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
    .tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none;  border-left-color: transparent; border-right-color: transparent;}
  .tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none;  border-left-color: transparent; border-right-color: transparent; }
    .tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none;  border-left-color: transparent; border-right-color: transparent; }
    .tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
  .tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }
  .tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }




/* ======================================================= */
/* #FLEX SLIDER MODS */
/* ======================================================= */
.flexslider{margin-bottom: 20px}
.flexslider-container {overflow: hidden}

.slider-box:after {
	content:"\00a0";
	-webkit-background-size: contain;
	-moz-background-size: contain;
	-o-background-size: contain;
	background-size: contain;
	overflow: visible;
	display: block; 
	position: absolute;
	margin-top: -32px;
    height: 265px;  /* Same as your image height */
    width:auto;  
}
.flexslider img{padding:12px;background:#f57b20;width:95%}

/* Caption style 
*********************************/ 
.flex-caption {width: 95%; z-index: 1; padding:0 12px 18px; position: absolute; left: 0; bottom: -35px; background: #f57b20; color: #f7f3cf;font: 13px/35px 'Maven Pro',sans-serif;font-weight:900;text-transform:uppercase;letter-spacing:.1em;margin:0}

/* Next/Previous Buttons 
*********************************/ 
.flex-direction-nav{overflow: hidden; margin: 0;width:95%}
.flex-direction-nav li{margin-bottom: 0;}
.flex-direction-nav li a {width: 45px; height: 250px; margin: -13px 0 0; display: block; background: url("../images/theme/flexslider_direction_nav.png") no-repeat; position: absolute; top:26px; cursor: pointer;z-index:80} /* set negative margin-top equal to half the height on the directional-nav for perfect vertical centering */

.flex-direction-nav li a.next {background-position: -38px 46%; right: -2px;} /* default position */
.flex-direction-nav li a.prev {background-position: 0 46%; left: -2px;} /* default position */
.flex-direction-nav li a span{display:none}

.flex-direction-nav li a.next, .flex-direction-nav li a.prev, .flex-control-nav { /* default opacity */
			  -moz-opacity:0.0; 
     filter: alpha(opacity=00);
     			   opacity:0.0;     	  
	   -moz-transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	     -o-transition: all .3s ease-in-out;
	    -ms-transition: all .3s ease-in-out;	
	        transition: all .3s ease-in-out;
}
.flexslider-container:hover li a.next,.flexslider-container:hover li a.prev{  /* hover opacity */
			   -moz-opacity:0.7 !important;	    		  
      filter: alpha(opacity=70) !important;
     			    opacity:0.7 !important;
}
.flex-direction-nav li a.next:hover,.flex-direction-nav li a.prev:hover{  /* hover opacity */
			   -moz-opacity:1.0 !important;	    		  
     filter: alpha(opacity=100) !important;
     			    opacity:1.0 !important;
}
.flexslider-container:hover li a.next {right: 36px;} /* hover position */
.flexslider-container:hover li a.prev {left: 36px;} /* hover position */

/* Control Nav 
*********************************/ 
.flex-control-nav {
	position: relative; 
	bottom: 61px;	
	width: 100%;
	text-align:center;	
	-moz-opacity:0.0;
    filter: alpha(opacity=00);
    opacity:0.0;
    z-index:99;
}
.flexslider-container:hover .flex-control-nav{
	-moz-opacity:1;
    filter: alpha(opacity=100);
    opacity:1;
}
/* Control Nav */
.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline; }
.flex-control-nav li:first-child {margin:0}
.flex-control-nav li a {width: 13px; height: 13px; display: block; background: url("../images/theme/flexslider_control_nav.png") no-repeat 0 0; cursor: pointer}
.flex-control-nav li a span{display:none}
.flex-control-nav li a:hover {background-position: 0 -13px;}
.flex-control-nav li a.active {background-position: 0 -26px; cursor: default;}

.googlemap iframe{border: 12px solid #f57b20;}


/* ======================================================= */
/* #MEDIA QUERIES SECTION */
/* ======================================================= */


	
	
	/* Responsive Gallery */
	
	.gallery-columns-4 .gallery-item {
		width:23% !important;
		padding-right:2% !important;
	}
	.gallery-columns-5 .gallery-item {
		width:18% !important;
		padding-right:2% !important;
	}
	.gallery-columns-6 .gallery-item {
		width:14% !important;
		padding-right:2% !important;
	}
	.gallery-columns-7 .gallery-item {
		width:12% !important;
		padding-right:2% !important;
	}
	.gallery-columns-8 .gallery-item {
		width:10% !important;
		padding-right:2% !important;
	}
	.gallery-columns-9 .gallery-item {
		width:9% !important;
		padding-right:2% !important;
	}
	.gallery-columns-4 .gallery-item img,
	.gallery-columns-5 .gallery-item img,
	.gallery-columns-6 .gallery-item img,
	.gallery-columns-7 .gallery-item img,
	.gallery-columns-8 .gallery-item img,
	.gallery-columns-9 .gallery-item img {
		width:100% !important;
		height:auto !important;
	}
	
	.gallery-columns-3 .gallery-item {
		width:31% !important;
		padding-right:2% !important;
	}
	.gallery-columns-3 .gallery-item img {
		width:100% !important;
		height:auto !important;
	}
	
	
	
	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
		
		a.sidebar-advert img { width: 43%; }
		.slider-shadow:after {background: none transparent;}
		
		.sf-menu > li > a {
			padding: 8px;
		}
	}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
		
		  a.header-advert{margin-top: 0; text-align: center;}
  
  		  a.header-advert img{width: 410px;}
  		  
  		  .commentlist .comment-body {padding: 30px !important;}
  		  
  		  h2.title span:after{  
			content: "";
			background: transparent;
			}
		
		  #section-tophat{text-align: center;}
		  .subscribe, .tagline{float: none !important;} 
		  .subscribe:after{  
			content: " | ";
			}
			
		  .aside{ 
		  	padding: 0;
		  	border-right: 0px solid rgba(155, 155, 155, 0.2); 
		  	}
			
		  .slider-shadow:after {background: none transparent;}
			  
		  
	}
	

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480) and (max-width: 767px) {
		.flex-control-nav {bottom: 29px;}
		.slider-shadow:after {background: none transparent;}
	}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
		
		 a.header-advert img{width: 290px !important;}
		#gallery-1 .gallery-item{width: 90%;}		
		.flex-control-nav {bottom: 29px;}
		.slider-shadow:after {background: none transparent;} 
		.gallery-columns-2 .gallery-item {
			width:45% !important;
			padding-right:4% !important;
		}
		.gallery-columns-2 .gallery-item img {
			width:100% !important;
			height:auto !important;
		}
		
		.slider-shadow:after {background: none transparent;}
		
	}
