/*
	Theme Name: Eruption
	Theme URI: http://thehappybit.com 
	Description: Eruption agency wordpress, a clean minimal template for a professional website.
	Author: The Happy Bit
	Author URI: http://thehappybit.com
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
	Version: 1.3.7
	
	Designed & Coded by The Happy Bit
	All files, unless otherwise stated, are released under the GNU General Public License
	version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html)
*/


/* import css */
@import "css/reset.css";
@import "fonts/stylesheet.css";
@import "css/framework.css";
@import "css/nivo-slider.css";
@import "css/fancybox/jquery.fancybox-1.3.4.css";

/* 
=======================
Main style
=======================
*/

body {
	font: 13px/1.5 Georgia, "Times New Roman", Times, serif;
}

/*
 * red version : #e81b1b
 * black version : #f60
 */

/* @group TYPOGRAPHY
========================================================================= */

hr {
	display: none;
}

.smallcaps {
	font-variant: small-caps;
	letter-spacing: 1px;
}

.uppercase {
	text-transform: uppercase;
}

h1 {
	text-transform: uppercase;
	font: 32px/32px "GnuolaneRegular", "Lucida Grande", Arial;
}

h2 {
	text-transform: uppercase;
	font: 26px/26px "GnuolaneRegular", "Lucida Grande", Arial;
}

h2.heading {
	font-size: 36px;
	border-bottom: 1px dashed #CCC;
	line-height: 36px;
	padding-bottom: 20px;
	margin-bottom: 30px;
	text-shadow: 0 1px 0 #fff;
}

h2.heading img {
	margin-right: 10px;
}

#intro h2, 
#services h2,
.custom-layout #sidebarhome #sidebar h3 {
	font-size: 36px;
	line-height: 36px;
	margin-bottom: 30px;
	text-shadow: 0 1px 0 #fff;
}

h2 a {
	text-decoration: none;
}

h3 {
	font: bold 16px/16px "Lucida Grande", Lucida, Verdana, sans-serif;
	text-transform: uppercase;
}

#sidebar h3 {
	font: 24px/24px "GnuolaneRegular", "Lucida Grande", Arial;
	border-bottom: 1px dashed #CCC;
	line-height: 24px;
	padding-bottom: 20px;
	margin-bottom: 20px;
	margin-top: 12px;
	text-shadow: 0 1px 0 #fff;
}
	.custom-layout #sidebarhome #sidebar h3 {
		border-bottom: none;
		padding-bottom: 0;
		margin-top: 0;
		padding-top: 0;
		line-height: 36px;
	}

#bottom h3 {
	font-size: 14px;
}

h4 {
	font-size: 16px;
	line-height: 16px;
}

.post-head h4 {
	font: bold 12px "Lucida Grande", Lucida, Verdana, sans-serif;
	text-transform: uppercase;
}

#sidebar h4 {
	color: #666;
	font: bold 14px "Lucida Grande", Lucida, Verdana, sans-serif;
	text-transform: uppercase;
	text-shadow: 0 1px 0 #fff;
}

h5 {
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 14px;
}

p {
	
}

.medium {
	font-size: 16px;
}

em {
	font-style: italic;
}

del {
	text-decoration: line-through;
}

acronym {
	border-bottom: 1px dotted black;
	cursor: help;
}

blockquote {
	border-left: 2px solid black;
	padding-left: 10px;
	margin: 20px 20px 35px;
}

q {
	font-style: italic;
}

cite {
	font-style: italic;
}

cite a {
	
}

pre, code {
	font-size: 13px;
	line-height: 20px;
	font-family: mono-space,monospace;
	white-space: pre;
	overflow: auto;
}

pre {
	padding: 10px 0;
}

code {
	background: #f6f6f6 url(img/code.png) repeat scroll 0 0;
	display: block;
	border: 1px solid #ddd;
	padding: 0 20px;
	border-bottom-style: none;
	margin: 10px 0;
	overflow: hidden;
}

ins {
	background-color: #fdfe7c;
	margin: 0 2px;
	padding: 2px 5px;
}

table {
	width: 100%;
}

caption {
	text-align: center;
	background-color: #eaeaea;
	padding: 10px 5px;
	text-transform: uppercase;
	font: 24px/24px "GnuolaneRegular", "Lucida Grande", Arial;
}

th {
	height: 1.5em;
	padding: 10px 0;
	text-align: center;
	background-color: #000;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
}

tr {
	border-bottom: 1px solid #d4d4d4;
	line-height: 13px;
	font-size: 13px;
}

tr:nth-child(2n) {
	background-color: #f6f6f6;
}

tr:hover {
	background-color: #eaeaea;
}

td {
	height: 1em;
	padding: 10px 0;
	text-align: center;
	width: 14.2857143%;
}

tfoot td {
	padding: 10px;
	text-align: inherit;
}

a {
	color: #101010;
	-webkit-transition: color .2s ease;
	-moz-transition: color .2s ease;
	-o-transition: color .2s ease;
	transition: color .2s ease;
}

a:hover {
}

strong {
	font-weight: bold;
}

ul li {
	list-style-position: inside;
}

#content ul li {
	list-style-type: disc;
}

#content ol li {
	list-style: decimal;
	list-style-position: inside;
}

li {
	margin-bottom: .4em;
}

/* @end */

/* @group SLIDERS
========================================================================= */


#slideshow {
	margin-bottom: 10px;
	position: relative;
	float: left;
	height: 380px;
	width: 1000px;
	overflow: hidden;
	background-color: #f3f3f3;
}
#slideshow.nivoSlider img {
	position: absolute;
	top: 0px;
	left: 0px;
	display: none;
}

#slideshow.nivoSlider a {
	border: 0;
	display: block;
}

#slideshow .nivo-caption {
	text-align: center;
}
#slideshow .nivo-caption a {
	color: #fff;
}
#slideshow .nivo-caption a:hover {
}

a.nivo-nextNav, #slide-controls a#slide-nextNav {
	float: left;
	top: 137px;
	right: 0;
	width: 86px;
	height: 106px;
	position: absolute;
	text-indent: -999em;
	display: block;
	background: url(img/arr-next.png) no-repeat;
	z-index: 999;
}

a.nivo-prevNav, #slide-controls a#slide-prevNav {
	float: left;
	top: 137px;
	left: 0;
	width: 86px;
	height: 106px;
	position: absolute;
	text-indent: -999em;
	display: block;
	background: url(img/arr-prev.png) no-repeat;
	z-index: 999;
}

.nivo-controlNav, #nav {
	position: absolute;
	z-index: 100;
	left: 20px;
	top: 15px;
}

.nivo-controlNav a, #nav a {
	text-indent: -999em;
	background-color: #444;
	width: 6px;
	height: 6px;
	margin-right: 7px;
	float: left;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.nivo-controlNav a.active, #nav a.activeSlide {
}

/* custom slider */

#new-slider {
	position: relative;
	margin-bottom: 0;
}

#new-slider li {
	position: relative;
	float: left;
	height: 380px;
	width: 1000px;
	overflow: hidden;
}

.popup {
	position: absolute;
	z-index: 100;
	display: block;
	color: #fff;
	padding: 8px 20px;
	background-color: #666;
	background-color: rgba(0,0,0,.6);
	left: 0;
	bottom: 0;
	width: 960px;
	text-align: center;
}

.popup a {
	color: #fff;
}

.popup a:hover {
}

.html5-video-player {
	z-index: 99;
}

#slideshow .overlay {
	width: 100%;
	height: 100%;
	display: block;
	float: left;
	background: #fff;
	position: absolute;
	left: 0;
	top: 0;
}

/* Horizontal carousel */

.carousel-container { 
	margin: 20px 0;
	float: left;
	display: block;
}
.carousel-container-small { 
	margin: 20px 40px;
	float: left;
	display: block;
}

.horz-carousel {
	float: left;
	overflow: hidden;
	width: 544px;
	height: 116px;
	margin: 0;
}

.horz-carousel li {
	display: inline;
	margin-bottom: 0;
	width: 100%;
}

.horz-carousel a {
	float: left;
	width: 116px;
	height: 116px;
	overflow: hidden;
	margin-right: 10px;
	margin-left: 10px;
}

#arr-prev { 
	text-indent: -999em;
	width: 40px;
	height: 116px;
	display: block;
	background: url(img/gall-prev.png) no-repeat center center;
	overflow: hidden;
	float: left;
	margin: 0;
	opacity: .6;
	-webkit-transition: opacity .2s ease;
	-moz-transition: opacity .2s ease;
	-o-transition: opacity .2s ease;
	transition: opacity .2s ease;
}
	#arr-prev:hover {
		opacity: 1;
	}
	
#arr-next {
	text-indent: -999em;
	width: 40px;
	height: 116px;
	display: block;
	background: url(img/gall-next.png) no-repeat center center;
	overflow: hidden;
	float: left;
	margin: 0;
	opacity: .6;
	-webkit-transition: opacity .2s ease;
	-moz-transition: opacity .2s ease;
	-o-transition: opacity .2s ease;
	transition: opacity .2s ease;
}
	#arr-next:hover {
		opacity: 1;
	}

/* @end */

/* @group IMAGES
========================================================================= */

img.alignright { float:right; margin: 20px 0 20px 20px; }
img.alignleft {float:left; margin: 20px 20px 20px 0; }
img.aligncenter {display: block; margin: 20px auto; }

.big-img {
	margin-bottom: 30px;
	float: left;
}

.preloader, #new-slider li {
	background: url(img/loader.gif) no-repeat center center;
	display: block;
	min-height: 16px;
	min-width: 16px;
}
.preloader {
	width: 100%;
	height: 100%;
}

.preload {
	float: left;
}
.preload img {
}

.wp-caption.alignleft {
	float: left;
	margin-right: 20px;
}
.wp-caption.alignright {
	float: right;
	margin-left: 20px;
}
.wp-caption.aligncenter {
	float: none;
	margin: 0 auto;
}
/* @end */

/* @group PAGE COMMONS
========================================================================= */

body {
	background: url(img/background-red.png) no-repeat fixed center top;
}

.wrapper {
	padding: 30px 0 40px;
}

#content {
	background-color: #fff;
	margin-bottom: 10px;
	padding-top: 91px;
	padding-bottom: 20px;
	float: left;
	display: inline;
	clear: both;
	z-index: 1;
}

#content.w-sidebar {
	background: url(img/sidebar-bg.png) repeat-y;
	z-index: 1;
}
#content.w-sidebar-left {
	background: url(img/sidebar-bg-left.png) repeat-y;
	z-index: 1;
}
	#content.w-sidebar-left #sidebar {
		margin-right: 48px;
	}

	#content.w-sidebar-left #main-section {
		margin-right: 0;
	}

#search {
	width: 328px;
	height: 50px;
	float: left;
	position: relative;
	background-image: url(img/search-back.png);
}

.search_404 {
	background: url(img/row.png) repeat;
	margin-bottom: 20px;
}

.search_404 form#searchform {
	width: 50%;
	margin: 0 auto;
}

.search_404 form#searchform input#searchsubmit {
}
.search_404 form#searchform input#s {
	width: 89.5833333%;
} 

#search form#searchform {
	padding-right: 20px;
	padding-left: 60px;
}

form#searchform {
	clear: both;
	padding: 10px 0;
	text-align: right;
	display: block;
	height: 30px;
	position: relative;
	border: none;
}

form#searchform label.screen-reader-text {
	display: none;
}

form#searchform input#s {
	height: 30px;
	line-height: 30px;
	border: none;
	border-width: 0px;
	border-color: #fff;
	width: 82.6388889%;
	padding: 0 10px;
	position: absolute;
	right: 30px;
} 

#bottom form#searchform input#s {
	width: 75.4901961%;
}
#search form#searchform input#s {
	width: 180px;
	right: 50px;
}

form#searchform input#searchsubmit {
	height: 30px;
	width: 30px;
	display: block;
	border: none;
	font-size: 0px;
	line-height: 30px;
	text-indent: -999em;
	cursor: pointer;
	background: transparent url(img/big-btn-arr.png) no-repeat center center;
	position: absolute;
	right: 0;
}
#search form#searchform input#searchsubmit {
	right: 20px;
}		

form#searchform input#searchsubmit:hover {
	background-color: #000;
}

.divider {
	clear: both;
	height: 1px;
	display: block;
	width: 100%;
	border-bottom: 1px dashed #ccc;
	padding-top: 20px;
	margin-bottom: 30px;
}

/* NAV SECTION */

#main-nav {
	width: 1000px;
	background-color: #000;
	height: 50px;
	float: left;
	display: inline;
	position: absolute;
	z-index: 100;
}

#main-nav.fixed, #main-nav.home.fixed {
	position: fixed;
	top: 0;
}

#main-nav ul {
	width: 652px;
	margin: 0;
	padding-left: 10px;
	padding-right: 10px;
	float: left;
	position: relative;
	display: inline;
	list-style: none;
	z-index: 100;
}

#main-nav ul li {
	font: 16px "GnuolaneRegular", "Lucida Grande", Arial;
	margin-bottom: 0;
	position: relative;
	float: left;
	display: block;
	z-index: 100;
	background-color: #000;
	float: left;
}

#main-nav ul li a {
	display: block;
	white-space: nowrap;
	line-height: 50px;
	padding-right: 10px;
	padding-left: 10px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	float: left;
	-webkit-transition: background .2s ease;
	-moz-transition: background .2s ease;
	-o-transition: background .2s ease;
	transition: background .2s ease;
}

#main-nav ul a:hover, #main-nav ul li.current-menu-item a,
#main-nav ul li.current-menu-item li a:hover,
#main-nav ul li.current-menu-ancestor a,
#main-nav ul li ul.sub-menu .current-menu-item a,
#main-nav ul li ul.sub-menu a:hover,
#main-nav ul li ul.sub-menu ul.sub-menu .current-menu-item a,
#main-nav ul li ul.sub-menu ul.sub-menu a:hover {
}

#main-nav ul li.current-menu-item li a,
#main-nav ul li ul.sub-menu a,
#main-nav ul li ul.sub-menu ul.sub-menu a {
	background-color: #000;
}
#main-nav ul li:hover ul, #main-nav ul li ul li:hover ul {
	display: block;
}

#main-nav ul li:hover ul ul {
	display: none;
}

#main-nav ul ul {
	background-color: #000;
	position: absolute;
	margin-top: 50px;
	padding: 0;
	width: auto;
	margin-left: 10px;
	z-index: 100;
	top: 0;
	left: 0;
	display: none;
}

#main-nav ul li li {
	font: 14px "GnuolaneRegular", "Lucida Grande", Arial;
	width: 100%;
}

#main-nav ul li li a {
	margin: 0;
	float: none;
	background-color: #000;
	line-height: 40px;
	position: relative;
	display: block;
}

#main-nav ul ul ul {
	width: auto;
	padding: 0;
	margin-left: 100%;
	margin-top: 0px;
	top: 0;
	left: 0;
	z-index: 100;
	display: none;
}

#main-nav ul li li li {
	margin: 0;
}

#bottom .widget.footer ul.menu {
	
}

#sidebar .widget ul.menu li,
#bottom .widget ul.menu li {
	background: none;
	padding-left: 10px;
	border-bottom: none;
	border-left: 1px solid #ccc;
	position: relative;
}
	.widget ul.menu li a {
		font: bold 12px "Lucida Grande", Lucida, Verdana, sans-serif;
		text-transform: uppercase;
	}
		.widget ul.menu li:before {
			content: "-";
			position: absolute;
			left: 0;		
			color: #bfbfbf;
		}
		
		.widget ul.menu li a:hover {
			text-decoration: none;
		}

.widget ul.menu ul,
.widget ul.menu ul ul,
.widget ul.menu ul ul ul,
.widget ul.menu ul ul ul ul,
.widget ul.menu ul ul ul ul ul {
	padding-left: 10px;
}

.widget ul.menu ul li,
.widget ul.menu ul ul li,
.widget ul.menu ul ul ul li,
.widget ul.menu ul ul ul ul li {
	border-left: 1px dashed #bfbfbf;
}

.widget ul.menu ul li a,
.widget ul.menu ul ul li a,
.widget ul.menu ul ul ul li a,
.widget ul.menu ul ul ul ul li a {
	font: inherit;
	text-transform: none;
}
	.widget ul.menu ul li a:hover,
	.widget ul.menu ul ul li a:hover,
	.widget ul.menu ul ul ul li a:hover,
	.widget ul.menu ul ul ul ul li a:hover {
		text-decoration: underline;
		color: #000;
	}

/*=======*/

#sidebar {
	background-color: #FBFAFA;
	min-height: 1px;
}
	.custom-layout #sidebar {
		background: none;
	}
	
	.custom-layout #sidebar li {
		font-size: 16px;
	}
		.custom-layout #sidebar li:first-child {
			direction: ltr;
		}

#sidebar .widget:first-of-type h3 {
	padding-top: 0;
}

#sidebar h3 {
	padding-top: 20px;
}

.widget {
	clear: both;
	margin-bottom: 20px;
}

	.custom-layout #sidebarhome .widget {
		margin-bottom: 36px;
	}

.widget h3 a {
	text-decoration: none;
}

#bottom {
	background-color: #E8E8E8;
	border-top: 1px solid #CCC;
	padding-top: 20px;
	padding-bottom: 20px;
	margin-bottom: 10px;
	font-size: 12px;
}

#bottom .one-fourth {
	margin-right: 24px;
	padding-right: 23px;
	border-right: 1px dashed #bfbfbf;
}

#bottom .one-fourth.last {
	margin-right: 0px;
	padding-right: 0px;
	border: none;
}

#bottom ul li, #sidebar ul li {
	list-style-type: none;
	list-style-position: inside;
	background-image: url(img/li.png);
	background-repeat: no-repeat;
	background-position: center left;
	border-bottom: 1px dashed #bfbfbf;
	padding: 8px 0 8px 20px;
	margin: 0;
}

#bottom ul li a, #sidebar ul li a {
	text-decoration: none;
	color: #333;
}

#bottom ul li a:hover, #sidebar ul li a:hover {
	text-decoration: underline;
}

#contact {
	clear: both;
	width: 100%;
	float: left;
}

#contact dl {
	float: left;
	width: 100%;
}

#contact dl dt {
	letter-spacing: 1px;
	margin-right: 8px;
	font-weight: bold;
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
	font-variant: small-caps;
	color: #666;
	float: left;
}

#contact dl dd {
	margin-bottom: 4px;
}

/* sidebar posts */

.side-post {
	margin-bottom: 30px;
	font: 12px/1.5em "Lucida Grande", Lucida, Verdana, sans-serif;
	color: #666;
}

.post-head h4 a {
	text-decoration: none;
	color: #333;
}

#sidebar .post-head h4 a:hover,
#bottom .post-head h4 a:hover {
	border-bottom: none;
}

.side-post-bottom {
	background-color: #e8e8e8;
	text-align: right;
	float: left;
}

.side-post-bottom p {
	margin-bottom: 0;
	float: left;
	width: 288px;
}

.side-post-posted {
	float: left;
	line-height: 12px;
	font-size: 11px;
	text-shadow: 0 1px 0 #fff;
	padding-top: 4px;
	padding-bottom: 5px;
	padding-left: 10px;
}
.widget.footer .side-post {
	font-family: inherit;
}
.widget.footer .side-post .side-post-posted {
	padding-left: 0;
	padding-right: 10px;
	float: right;
}

.widget .side-post img {
	margin: 0 20px 10px 0;
}

.widget.footer .side-post img {
	width: 62px;
	height: 62px;
}


.widget.footer .side-post .side-post-bottom p {
	width: 204px;
	background: #efefef;
}

.side-post .small-btn {
	float: right;
	clear: none;
	margin-bottom: 0;
}

.widget.footer .side-post .small-btn {
	display: none
}

/* sidebar latest works */
#sidebar .widget .latest-works li.w-thumb,
#bottom .widget .latest-works li.w-thumb {
	background: none;
	padding: 0;
	border-bottom: none;
	margin-bottom: 20px;
}
#sidebar .widget .latest-works li.w-thumb a img,
#bottom .widget .latest-works li.w-thumb a img {
	float: left;
}
	#bottom .widget .latest-works li.w-thumb a img {
		max-width: 204px;
	}
#sidebar .widget .latest-works li.w-thumb h4,
#bottom .widget .latest-works li.w-thumb h4 {
	float: left;
	margin-bottom: 0;
}

#sidebar .widget .latest-works li.w-thumb h4 a,
#bottom .widget .latest-works li.w-thumb h4 a {
	float: left;
	font: 14px/14px "GnuolaneRegular", "Lucida Grande", Arial;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	width: 253px;
	letter-spacing: 1px;
	padding: 10px 25px 10px 10px;
	margin-right: 0;
	background: #000 220px center;
	-webkit-transition: background .2s ease;
	-moz-transition: background .2s ease;
	-o-transition: background .2s ease;
	transition: background .2s ease;
	text-shadow: none;
}
	#bottom .widget .latest-works li.w-thumb h4 a {
		width: 169px;			
		background: #000 140px center;
	}
	
	#sidebar .widget .latest-works li.w-thumb h4 a:hover {
		background: url(img/big-btn-arr.png) no-repeat 262px center;
	}

	#bottom .widget .latest-works li.w-thumb h4 a:hover {
		background: url(img/big-btn-arr.png) no-repeat 178px center;
	}

/* testimonials bar */

.side-testimonials-box {
	margin-bottom: 20px;
	background: url(img/testimonial-back.png) no-repeat left top;
	color: #666;
	padding-top: 10px;
	padding-left: 20px;
}
.widget.footer .side-testimonials-box {
	background: url(img/testimonial-back-footer.png) no-repeat left top;
}

.testimonial-msg {
	font-style: italic;
	font-size: 12px;
}

.testimonial-sign {
	text-align: right;
	font: 12px "Lucida Grande", Lucida, Verdana, sans-serif;
	text-shadow: 0 1px 0 #fff;
}

/* social */

#social {
	float: left;
}

#sidebar #social li,
#bottom #social li {
	display: inline;
	float: left;
	margin: 0;
	padding: 0;
	border-bottom: none;
	padding: 0;
	background: none;
}

#sidebar #social li a,
#bottom #social li a {
	margin-right: 8px;
	padding: 0px;
	float: left;
	-webkit-transition: all .1s ease;
	-moz-transition: all .1s ease;
	-o-transition: all .1s ease;
	transition: all .1s ease;
}

#sidebar #social a:hover,
#bottom #social li a:hover {
	opacity: .6;
	position: relative;
	top: -2px;
}

/* twitter */

.twitted p.preLoader {
	background: transparent url(img/loader.gif) no-repeat right center;
	margin-left: 20px;
	margin-right: 20px;
}

#twitter_update_list {
	overflow: hidden;
	color: #666;
}

#sidebar #twitter_update_list li {
	display: block;
	background: url(img/twitter.png) no-repeat left 10px;
	margin-bottom: 14px;
	padding-left: 20px;
	border-bottom: none;
	line-height: inherit;
}

.widget.footer #twitter_update_list li {
	background: none;
	border-bottom: none;
	padding-left: 0;
	margin-bottom:  10px;
}
	.widget.footer #twitter_update_list li:last-child {
		margin-bottom: 0;
	}

.widget.footer #twitter_update_list li span {
	background-color: #f5f5f5;
	padding: 10px;
	line-height: 1.5em;
}
.widget.footer #twitter_update_list li span a {
	text-align: left;
	padding-right: 0; 
}

.widget.footer #twitter_update_list li a {
	text-align: right;
	padding-right: 10px; 
}

.widget.footer li#twitter-load,
.widget.footer #twitter_update_list li:last-child {
	border-bottom: 0;
}


#sidebar li#twitter-load {
	background: none;
}

#twitter_update_list li span {
	display: block;
	padding: 10px 10px 4px;
	margin: 0;
	background-color: #e8e8e8;
}

#twitter_update_list li a {
	text-decoration: none;
	padding-left: 10px;
	padding-bottom: 10px;
	display: block;
	margin: 0;
	background-color: #e8e8e8;
}

#twitter_update_list li span a {
	display: inline;
	padding-left: 0px;
	padding-bottom: 0px;
	margin: 0;
	background-color: transparent;
}

/* Flickr */
#flickr_wrapper {
	float: left;
}
#flickr_wrapper .flickr_badge_image {
	margin: 0 10px 20px 9px;
	float: left;
}
#flickr_wrapper .flickr_badge_image a {
	float: left;
	-webkit-transition: opacity .2s ease;
	-moz-transition: opacity .2s ease;
	-o-transition: opacity .2s ease;
	transition: opacity .2s ease;
}
	#flickr_wrapper .flickr_badge_image a:hover {
		opacity: .8; 
	}

#flickr_wrapper .flickr_badge_image img {
	float: left;
}

#bottom #flickr_wrapper .flickr_badge_image img {
	width: 83px;
	height: 83px;
	float: left;
}

/* tag cloud */
.tagcloud {
	margin-bottom: 20px;
}

.tagcloud a {
	margin-right: 8px;
	background-color: #EFEFEF;
	padding: 4px;
	text-decoration: none;
}

/* featured box */

#feature-box {
	float: left;
	position: relative;
	display: inline;
	margin-top: 10px;
	margin-bottom: 20px;
	padding: 20px;
	background-color: #333;
	color: #fff;
	font: 12px/1.5em "Lucida Grande", Lucida, Verdana, sans-serif;
}

#feature-box h3 {
	text-transform: uppercase;
	font: 28px/28px "GnuolaneRegular", "Lucida Grande", Arial;
	letter-spacing: 1px;
	margin-bottom: 20px;
}

/* featured post box */

#feature-post-box {
	float: left;
	display: inline;
	position: relative;
	padding: 20px;
	margin-top: 10px;
	margin-bottom: 20px;
	background: #fff url(img/featured-red.png) no-repeat right top;
}

#feature-post-box img {
	display: block;
	float: left;
}

#feature-post-box figure {
	display: block;
	float: left;
	margin: 0;
	padding: 0;	
}
#feature-post-box figure span {
	margin: 0;
}

.featured-post-content {
	display: block;
	width: 100%;
}

.featured-post-content.img {
	width: 72.7564103%;
	margin-left: 27.2435897%;
}

#feature-post-box h3 {
	font: 28px/28px "GnuolaneRegular", "Lucida Grande", Arial;
	padding-bottom: 10px;
	margin-bottom: 10px;
	text-shadow: 0 1px 0 #fff;
	border-bottom: 1px dashed #CCC;
}
#feature-post-box h3 a { 
	text-decoration: none;
}

#feature-post-box p {
	font-size: 12px;
	line-height: 1.5em;
	display: block;
	float: left;
}

#feature-post-box .more-btn {
	clear: both;
}

.now {}

/* @end */

/* @group BUTTONS
========================================================================= */
.big-btn,
.medium-btn,
.small-btn {
	margin-bottom: 10px;
	clear: both;
	display: block;
	float: left;
}

.big-btn.red,
.medium-btn.red,
.small-btn.red {
	color: #fff;
}
	.big-btn.red:hover,
	.medium-btn.red:hover,
	.small-btn.red:hover {
		background-color: #000;
	}

.big-btn.black,
.medium-btn.black,
.small-btn.black {
	background-color: #000;
	color: #fff;
}
	.big-btn.black:hover,
	.medium-btn.black:hover,
	.small-btn.black:hover {
	}


.big-btn {
	width: 288px;
	text-align: center;
	padding-top: 7px;
	padding-bottom: 7px;
	letter-spacing: 1px;
	font: 20px "GnuolaneRegular", "Lucida Grande", Arial;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
}

.big-btn span {
	background: url(img/big-btn-arr.png) no-repeat right center;
	padding-right: 20px;
}

a.big-btn:hover, input.big-submit:hover {
	background-color: #000;
	color: #fff;
}

.medium-btn {
	font: 14px/14px "GnuolaneRegular", "Lucida Grande", Arial;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	color: #fff;
	padding: 5px 8px 6px 10px;
}

.small-btn {
	font: 12px/12px "GnuolaneRegular", "Lucida Grande", Arial;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	color: #fff;
	padding: 4px 8px 5px 10px;
	background-color: #000;
}

.small-btn span, .medium-btn span {
	background: url(img/small-btn-arr.png) no-repeat right center;
	padding-right: 12px;
}

a.small-btn:hover {
	color: #fff;
}

a.medium-btn:hover {
	background-color: #000;
	color: #fff;
}

.single-post #main-section .big-btn,
.single-post #main-section .medium-btn,
.single-post #main-section .small-btn {
	margin-bottom: 0;
	float: none;
	display: inline-block;
}

.more-btn {
	display: block;
	font-style: italic;
	font-size: 14px;
	text-decoration: none;
	color: #666;
	float: right;
	border-bottom: 1px solid #fff;
	background: url(img/read-more.png) no-repeat right top;
	padding-right: 29px;
}

a.more-btn:hover {
	text-decoration: underline;
	color: #000;
	background-position: right bottom;
}

input.big-submit {
	display: block;
	width: 180px;
	text-align: center;
	padding-top: 7px;
	padding-bottom: 7px;
	letter-spacing: 1px;
	font: 20px "GnuolaneRegular", "Lucida Grande", Arial;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
}

/* top */

a.gotop {
	float: right;
	clear: both;
	font: 12px/12px "GnuolaneRegular", "Lucida Grande", Arial;
	text-transform: uppercase;
	text-decoration: none;
	color: #000;
	background-color: #e8e8e8;
	padding: 5px 8px;
	letter-spacing: 1px;
}

a.gotop:hover {
	background-color: #ccc;
	color: #000;
}

.single-post-content a.gotop {
	margin-top: 10px;
}

.social_post {
	float: left;
	margin-top: 10px;
}

.social_post .addthis_counter,
.social_post .addthis_button_tweet,
.social_post .addthis_button_facebook_like {
	float: left;
}
.social_post .addthis_counter {
	margin-right: 15px; 
}

/* button transitions*/

.big-btn, .medium-btn, .small-btn, input.big-submit, a.gotop, input#search-icn {
	-webkit-transition: background .2s ease;
	-moz-transition: background .2s ease;
	-o-transition: background .2s ease;
	transition: background .2s ease;
}

/* @end */

/* @group HOME PAGE
========================================================================= */

/* HEADER */

#header h1 a {
	background: url(img/logo.png) no-repeat;
	width: 128px;
	height: 29px;
	display: block;
	text-indent: -999em;
	-webkit-transition: opacity .2s ease;
	-moz-transition: opacity .2s ease;
	-o-transition: opacity .2s ease;
	transition: opacity .2s ease;
}

#header h1 a:hover {
	opacity: .6;
}

#main-section {
	background-color: #fff;
	font-size: 14px;
}


#services li {
	font-size: 16px;
	list-style-image: url(img/li.png);
	border-bottom: 1px dashed #CCC;
	padding: 8px 10px;
	font-style: italic;
	margin: 0;
}

#services li span {
	padding-left: 10px;
}

#services ul {
	margin-bottom: 20px;
}

#services li:first-child {
	padding-top: 0;
	direction: ltr;
}

#intro.two-third {
	margin-right: 0;
}

.custom-layout #sidebarhome {
	margin-left: 24px;
	padding-left: 23px;
	border-left: 1px dashed #bfbfbf;
}

/* @end */

/* @group SERVICES
========================================================================= */

dl#services {
	margin-top: 20px;
}

#services dt {
	font: 24px/32px "GnuolaneRegular", "Lucida Grande", Arial;
	text-transform: uppercase;
	margin-bottom: 20px;
}

#services dt.noimg {
	margin-left: 0;
}
#services dt a {
	text-decoration: none;
}

#services dt img {
	margin-right: 20px;
	float: left;
}

#services dd.noimg {
	margin-left: 0;
}

#services dd {
	margin-left: 52px;
	margin-bottom: 30px;
	font-size: 14px;
}

/* @end */

/* @group PORTFOLIO
========================================================================= */

.folio h2.heading {
	margin-bottom: 8px;
}

#filter {
	display: inline;
	float: left;
	width: 100%;
}

#filter ul {
	display: block;
	border-bottom: 1px dashed #CCC;
	clear: both;
	float: left;
	width: 100%;
	padding-bottom: 8px;
	margin-bottom: 0px;
}

#filter li {
	display: inline;
	float: left;
	margin: 0;
}

#filter li a {
	color: #666;
	text-decoration: none;
	text-transform: capitalize;
	padding: 3px 10px;
	float: left;
	margin-right: 5px;
	-webkit-transition: background .2s ease;
	-moz-transition: background .2s ease;
	-o-transition: background .2s ease;
	transition: background .2s ease;
}

#filter li.current a, #filter li.current a:hover {
	color: #fff;
}

#filter li a:hover {
	background-color: #e8e8e8;
}

#worklist, #postlist {
	float: left;
	display: inline;
	position: relative;
	margin-top: 20px;
	margin-bottom: 10px;
}

#worklist ul, #postlist ul {
	float: left;
}

#worklist li, #postlist li {
	float: left;
	width: 202px;
	background: #000;
	min-height: 236px;
	position: relative;
	list-style-type: none;
	display: inline;
	margin: 0 24px 20px;
}

	#worklist li a img, #postlist li a img {
		float: left;
	}

#worklist ul li h4, #postlist ul li h4 {
	position: absolute;
	bottom: 0;
	float: left;
	margin: 0;
}

#worklist ul li h4 a, #postlist ul li h4 a {
	font: 14px/14px "GnuolaneRegular", "Lucida Grande", Arial;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	width: 167px;
	letter-spacing: 1px;
	padding: 10px 25px 10px 10px;
	float: left;
	margin-right: 0;
	background: #000 137px center;
	-webkit-transition: background .2s ease;
	-moz-transition: background .2s ease;
	-o-transition: background .2s ease;
	transition: background .2s ease;
}

#worklist ul li h4 a:hover, #postlist ul li h4 a:hover {
	background: url(img/big-btn-arr.png) no-repeat 184px center;
}

/* PRJ PAGE */

#prj-desc {
	float: right;
	margin-left: 48px;
	margin-bottom: 48px;
}

#prj-desc h5 {
	font: bold 14px "Lucida Grande", Arial, sans-serif;
}

#prj-desc ul li {
	list-style-type: square;
}

/* @end */

/* @group BLOG
========================================================================= */

.post {
	position: relative;
	margin-bottom: 30px;
}

.post.fullwidth .big-img {
	margin-right: 20px;
}

.post-date {
	float: left;
	width: 35px;
	font-family: "GnuolaneRegular", "Lucida Grande", Arial;
	text-align: center;
	color: #fff;
	left: -55px;
	position: absolute;
	letter-spacing: 1px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.post-date.inner {
	display: block;
	position: relative;
	top: -10px;
	text-align: right;
	width: auto;
	float: right;
	left: 0;
	background-color: #d9d9d9;
	background-image: none;
	margin-top: -21px;
	margin-bottom: 0;
	padding-right: 10px;
	padding-left: 5px;
}

.post-date.inner p span {
	display: inline;
	padding-left: 5px;
	font: 10px/10px "Lucida Grande", Arial;
	color: #666;
	text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

.post-date.inner br {
	display: none;
}

.post-date p {
	margin: 0;
}

.day {
	font-size: 24px;
	line-height: 24px;
}

.month {
	font-size: 16px;
	line-height: 16px;
	text-transform: uppercase;
}

.year {
	font-size: 12px;
	line-height: 12px;
}

.post-head h3 {
	font: 24px/24px "GnuolaneRegular", "Lucida Grande", Arial;
	margin-top: 15px;
}

.post-head h3 a {
	text-decoration: none;
	font-weight: normal;
	font-style: normal;
	color: #333;
}

.post-head h3 a:hover {
}

.post-excerpt {
	
}

.post-meta {
	border-top: 1px dashed #CCC;
	border-bottom: 1px dashed #CCC;
	line-height: 30px;
	font-size: 12px;
	color: #666;
	margin-top: 15px;
}

.post-meta p {
	margin: 0;
}

.post-meta em {
	color: #000;
	font-weight: normal;
	font-style: normal;
}

.post-meta a {
	color: #000;
	text-decoration: none;
}

.post-meta a:hover {
	text-decoration: underline;
}

.wp-pagenavi span.pages,
.wp-commentnavi span.pages {
	color: #999;
}

.wp-pagenavi,
.wp-commentnavi {
	text-align: left;
	margin-bottom: 0;
	font: 12px "Lucida Grande", Lucida, Verdana, sans-serif;
	padding: 5px 0;
}

.wp-pagenavi .current,
.wp-commentnavi .current {
	background-color: #000;
	color: #fff;
}

.wp-pagenavi a,
.wp-pagenavi span,
.wp-commentnavi a,
.wp-commentnavi span {
	color: #333;
	text-decoration: none;
	padding: 5px 10px;
	margin-right: 5px;
	-webkit-transition: background .2s ease;
	-moz-transition: background .2s ease;
	-o-transition: background .2s ease;
	transition: background .2s ease;
}

.wp-pagenavi a:hover,
.wp-commentnavi a:hover {
	background-color: #e8e8e8;
}

.post h5 {
	font: 20px/20px "GnuolaneRegular", "Lucida Grande", Arial;
}

.single-post-content {
}

/* comments */

#comments {
	clear: both;
	padding-top: 24px;
}

#comment-list {
	float: left;
}

#comment-list li {
	list-style: none;
	float: left;
	display: inline;
	margin-bottom: 10px;
}

.comment {
	padding: 10px 0;
}

.comment.admin {
	background-color: #f2f2f2;
	display: block;
	float: left;
	margin-bottom: 10px;
}

.comment-leftcol {
	text-align: center;
	width: 90px;
	float: left;
	display: inline;
}

.avatar {
	background: #fff;
	border: 1px solid #cccccc;
	margin: 0 auto 15px;
	padding: 5px;
	clear: both;
}

a.comment-reply-link {
	color: #494949;
	padding: 2px 6px 3px;
	font-size: 13px;
	text-decoration: none;
	font-variant: small-caps;
	letter-spacing: 1px;
	display: inline;
}

a.comment-reply-link:hover {
	color: #fff;
	background-color: #000;
}

.comment-rightcol {
	border-left: 1px solid #d3d3d3;
	padding-left: 19px;
	display: inline;
	width: 494px;
	float: left;
	padding-right: 20px;
}

.comment-head p {
	margin-bottom: 10px;
	font-size: 12px;
	color: #8f8f8f;
}

.user {
	font-size: 14px;
	color: #484848;
}

ul li .comment {
	margin-left: 40px;
}

ul li .comment-rightcol {
	width: 454px;
}

ul li ul li .comment {
	margin-left: 70px;
}

ul li ul li .comment-rightcol {
	width: 424px;
}

ul li ul li ul li {
	margin-left: 100px;
}

ul li ul li ul li .comment-rightcol {
	width: 394px;
}

ul li ul li ul li ul li {
	margin-left: 130px;
}

ul li ul li ul li ul li .comment-rightcol {
	width: 364px;
}


/* comments form */
#respond {
	clear: both;
	margin-top: 24px;
	margin-bottom: 24px;
	float: left;
}

#respond form label {
	font: 14px/14px "Lucida Grande", Lucida, Verdana, sans-serif;
	color: #999;
	display: block;
	clear: both;
	padding-bottom: 10px;
	margin-top: 10px;
	text-transform: capitalize;
}
#respond form textarea {
	width: 604px;
	max-width: 604px;
	padding: 10px;
}
#respond form input {
	padding: 10px;
	border: 1px solid #999;
	width: 292px;
}
#respond .required {
	font-size: 16px;
	position: absolute;
	right: -16px;
}
	#respond .comment-notes .required {
		position: relative;
		right: 0px;
		margin-left: 8px;
	}


#respond form p {
	position: relative;
	margin: 0;
	float: left;	
	clear: both;
	display: inline;
	margin: 10px 0 0 0;	
}
#respond form p.form-allowed-tags {
	display: block;
	float: none;
}
#respond form code {
	white-space: normal;
}

#respond .form-submit input {
	clear: both;
	font: 14px/14px "GnuolaneRegular", "Lucida Grande", Arial;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	color: #fff;
	padding: 5px 8px 6px;
	display: block;
	float: left;
	border: none;
	width: auto;
	cursor: pointer;
}
	#respond .form-submit input:hover,
	a#cancel-comment-reply-link {
		background: #000;
	}
	
a#cancel-comment-reply-link {
	font: 12px/12px "GnuolaneRegular", "Lucida Grande", Arial;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	color: #fff;
	padding: 5px 8px;
	margin-left: 7px;
}
#comments h5 em {
	font-style: normal;
}

/* Post nav */
#nav-above {
	float: left;
	width: 100%;
	margin-bottom: 24px;
}	
#nav-above a {
	text-decoration: none;
	font: 12px/12px "GnuolaneRegular", "Lucida Grande", Arial;
	text-transform: uppercase;
	text-decoration: none;
	color: #000;
	background-color: #e8e8e8;
	padding: 5px 8px;
	letter-spacing: 1px;
}
#nav-above a:hover {
	background-color: #ccc;
	color: #000;
}
	
#nav-above .nav-previous {
	float: left;
}
#nav-above .nav-next {
	float: right;
}
	
/* @end */

/* @group CONTACT
========================================================================= */

form.contact-form {
	padding-top: 10px;
}

#name {
	margin-right: 44px;
	display: inline;
	float: left;
}

form.contact-form label {
	display: block;
	font: 14px/14px "Lucida Grande", Lucida, Verdana, sans-serif;
	color: #999;
	padding-bottom: 10px;
	text-transform: capitalize;
	position: relative;
}

form.contact-form span input {
	border: 1px solid #999;
	float: left;
	width: 268px;
	padding: 13px 10px;
}

#email {
	float: left;
}

#message {
	clear: both;
	float: left;
	margin-top: 20px;
	margin-bottom: 10px;
}

form.contact-form span textarea {
	border: 1px solid #999;
	width: 602px;
	max-width: 602px;
	height: 120px;
	padding: 13px 10px;
}
	
#map { 
	width:288px;
	height: 288px;
	display: block;
	float: right;
	margin-bottom: 20px;
}
	
#map h1 {
	font: 14px/1.5em Helvetica,	Arial, sans-serif;
	font-weight: normal;
	text-transform: none;
}

form.contact-form label.error {
	color: #CD0507;
	font-size: 10px;
	clear: both;
	display: block;
	padding-top: 5px;
}
.required.error {
	opacity: .5;
}

#result {
	padding: 10px 0;
}

#result p {
	padding: 10px;
	text-align: center;
	color: #fff;
}

#result .error {
	background-color: #CD0507;
	margin-bottom: 0;
}
#result .success {
	background-color: #55e055;
	margin-bottom: 0;
}

form.contact-form span input.error, form.contact-form span textarea.error { 
	border: 1px solid #CD0507;
}

/* @end */

/* @group FOOTER
========================================================================= */

#footer {
	color: #fff;
	display: block;
	position: relative;
	width: 1000px;
	background-color: #000;
	min-height: 50px;
}

#footer #credits {
	float: left;
	margin-left: 20px;
}

#credits p {
	margin-bottom: 0;
	line-height: 50px;
}

#credits a {
	color: #fff;
	text-decoration: none;	
}

#credits a:hover {
}

#footer-nav ul {
	float: right;
	font: 12px "GnuolaneRegular", "Lucida Grande", Arial;
	margin: 0;
	padding-left: 10px;
	padding-right: 10px;
	background-color: #000;
}

#footer-nav ul li {
	display: inline;
}

#footer-nav ul li a {
	float: left;
	line-height: 50px;
	padding-right: 10px;
	padding-left: 10px;
	margin-right: 10px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	-webkit-transition: background .2s ease;
	-moz-transition: background .2s ease;
	-o-transition: background .2s ease;
	transition: background .2s ease;
}

#footer-nav ul li a:hover {
}

/* @end */

/* @group SHORTCODES */

/* slidedown */ 
h4.slide_trigger {
	clear: both;
	display: block;	
}
h4.slide_trigger a {
	text-decoration: none;
	line-height: 20px;
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
}

.toggle {
	display: block;
	float: left;
	width: 20px;
	height: 20px;
	background: url(img/slide-toggle.png) no-repeat top left;
	margin-right: 10px;
}
	.active .toggle {
		background-position: bottom left;
	}
.slide_container {
	display: block;
}
.slide_inside {
	padding: 10px;
	background: #f2f2f2;
	margin-bottom: 20px;

}
	.slide_container p:last-of-type {
		margin-bottom: 0;
	}

/* tabs */

.horz-tabs { 
	float: left;
	display: block;
	position: relative;
	margin-top: 10px;
	width: 100%;
}

ul.t-nav {
	margin-bottom: 0;
}

#content ul.t-nav li,
#sidebar ul.t-nav li {
	margin: 0 10px 0 0;
	float: left;
	list-style-type: none;
	border-bottom: none;
	padding: 0;
}
	#sidebar ul.t-nav li.active {
		background-image: none;
	}

#content ul.t-nav li:first-child,
#sidebar ul.t-nav li:first-child {
	margin-left: 10px;
}

ul.t-nav li a,
#sidebar ul.t-nav li a {
	text-decoration: none;
	color: #fff;
	display: block;
	float: left;
	padding: 10px;
	-webkit-transition: background .2s ease;
	-moz-transition: background .2s ease;
	-o-transition: background .2s ease;
	transition: background .2s ease;
}
ul.t-nav li.active {
}
ul.t-nav li a:hover { 
}
.t-container {
	clear: both;
	background: #f2f2f2;
	margin-bottom: 20px;
	width: 100%;
}
	.t-container div {
		padding: 10px;	
	}
.t-nav {
	background-color: #000;
	float: left;
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;	
	width: 100%;
}
.tab-content p:last-of-type {
	margin-bottom: 0;
}

/* accordion */ 

.acc_trigger .toggle,
.acc_trigger_sub .toggle {
	background: url(img/acc-toggle.png) no-repeat top left;
}
.open .toggle,
.sub_open .toggle {
		background-position: bottom left;
	}

h2.acc_trigger {
	clear: both;
	line-height: 20px;
	margin-bottom: 10px;
	font-size: 16px;
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
}
	#intro h2.acc_trigger {
		font-size: 16px;
		line-height: 20px;
		margin-bottom: 10px;
	}

h2.acc_trigger a {
	text-decoration: none;
}
h3.acc_trigger_sub {
	clear: both;
	margin-bottom: 10px;
}
h3.acc_trigger_sub a {
	text-decoration: none;
	font-size: 14px;
	font-weight: normal;
	line-height: 20px;
}
	.custom-layout #sidebarhome #sidebar .acc_container h3.acc_trigger_sub {
		font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
		font-size: 14px;
		line-height: 20px;
		margin-bottom: 10px;
	}

	
.acc_container {
	padding-bottom: 10px;
	margin-left: 30px;
}

.acc_container ul {
	margin-bottom: 0;
}

.acc_trigger_sub {

}
.acc_container_sub {
	margin-left: 30px;
	padding-bottom: 10px
}

/* @end */

/*	Gallery WordPress
------------------------------- */
.gallery {
  zoom: 1;
  clear: both;
  width: 100%;
  margin-bottom: 20px;
}
.gallery:before, .gallery:after {
  display: table;
  content: "";
}
.gallery:after {
  clear: both;
}
.gallery p {
  margin-bottom: 2%;
}
.gallery a {
  display: block;
  margin: 0 auto;
}
.gallery a img {
  float: left;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.gallery .gallery-item {
  float: left;
  text-align: center;
  position: relative;
  display: inline;
  width: 25%;
  margin: 0 1%;
}
.gallery.gallery-columns-2 .gallery-item {
  width: 48%;
}
.gallery.gallery-columns-2 .gallery-item a {
  float: none;
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto;
}
.gallery.gallery-columns-2 .gallery-item a img {
  float: none;
  width: auto;
  max-width: auto;
  height: auto;
}
.gallery.gallery-columns-2 .gallery-item .gallery-caption {
  max-width: 142px;
}
.gallery.gallery-columns-3 .gallery-item {
  width: 31.333333333%;
}
.gallery.gallery-columns-3 .gallery-item a {
  float: none;
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto;
}
.gallery.gallery-columns-3 .gallery-item a img {
  float: none;
  width: auto;
  max-width: auto;
  height: auto;
}
.gallery.gallery-columns-3 .gallery-item .gallery-caption {
  max-width: 142px;
}
.gallery.gallery-columns-4 .gallery-item {
  width: 23%;
}
.gallery.gallery-columns-4 .gallery-item a {
  float: none;
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto;
}
.gallery.gallery-columns-4 .gallery-item a img {
  float: none;
  width: auto;
  max-width: auto;
  height: auto;
}
.gallery.gallery-columns-4 .gallery-item .gallery-caption {
  max-width: 142px;
}
.gallery.gallery-columns-5 .gallery-item {
  width: 18%;
}
.gallery.gallery-columns-6 .gallery-item {
  width: 14.666666667%;
}
.gallery.gallery-columns-7 .gallery-item {
  width: 12.285714286%;
}
.gallery.gallery-columns-8 .gallery-item {
  width: 10.5%;
}
.gallery.gallery-columns-9 .gallery-item {
  width: 9.111111111%;
}
.gallery .gallery-caption {
  font-size: 11px;
  padding: 4px;
  max-width: auto;
  margin: 0 auto;
}
.gallery br + br {
  display: none;
}
