/* --- Election Gallery --*/

#election-gallery h1{width:100%;float:left;border-bottom:1px solid #ccc;clear:both;}

#election-gallery .wp-caption { background: #fff; max-width: 175px; border: 0px solid #e2e2e2; margin-bottom: 14px; padding: 1% 0 0 0; text-align:center; float:left;}
#election-gallery .wp-caption a { border-bottom: none; }
#election-gallery .wp-caption img { margin: 0; max-width: 100%; height: auto; }
#election-gallery .wp-caption.alignleft { margin-right: 0px; }
#election-gallery .wp-caption.alignright { margin-left: 0px; }
#election-gallery .wp-caption.alignnone { width: 100%!important; overflow: hidden; }
#election-gallery .wp-caption.alignnone img { margin: 0 auto; max-width: 100%!important; }
#election-gallery .wp-caption-text { color: #333; font-size: 14px; margin: 0 0 8px 0; text-align:center;}	

/* ---- Load other fonts ---- */



@font-face {
    font-family: 'proxima_novabold';
    src: url('font/proximanova-bold-webfont-webfont.eot');
    src: url('font/proximanova-bold-webfont-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/proximanova-bold-webfont-webfont.woff2') format('woff2'),
         url('font/proximanova-bold-webfont-webfont.woff') format('woff'),
         url('font/proximanova-bold-webfont-webfont.ttf') format('truetype'),
         url('font/proximanova-bold-webfont-webfont.svg#proxima_novabold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'proxima_novabold_italic';
    src: url('font/proximanova-boldit-webfont-webfont.eot');
    src: url('font/proximanova-boldit-webfont-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/proximanova-boldit-webfont-webfont.woff2') format('woff2'),
         url('font/proximanova-boldit-webfont-webfont.woff') format('woff'),
         url('font/proximanova-boldit-webfont-webfont.ttf') format('truetype'),
         url('font/proximanova-boldit-webfont-webfont.svg#proxima_novabold_italic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'proxima_novalight';
    src: url('font/proximanova-light-webfont-webfont.eot');
    src: url('font/proximanova-light-webfont-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/proximanova-light-webfont-webfont.woff2') format('woff2'),
         url('font/proximanova-light-webfont-webfont.woff') format('woff'),
         url('font/proximanova-light-webfont-webfont.ttf') format('truetype'),
         url('font/proximanova-light-webfont-webfont.svg#proxima_novalight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'proxima_novaregular';
    src: url('font/proximanova-regular-webfont-webfont.eot');
    src: url('font/proximanova-regular-webfont-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/proximanova-regular-webfont-webfont.woff2') format('woff2'),
         url('font/proximanova-regular-webfont-webfont.woff') format('woff'),
         url('font/proximanova-regular-webfont-webfont.ttf') format('truetype'),
         url('font/proximanova-regular-webfont-webfont.svg#proxima_novaregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* ---- Place your custom styles below ---- */

body { background-color: #e5e5e5 ; font-family: proxima_novaregular,Helvetica,Arial;} /* #f4f4f4 */

.text {font-size:110%; line-height:1.65; color:#333;}

.text .wp-caption-text {font-size:90%; color:#444; line-height:1.3; text-align:left;}



.grid_topstories { margin-right: 2.1%; float: left; display: inline; position: relative; width: 48.9%; }

.googlead, .googleadtop, .googlead_widget {width:100%; text-align:center; padding:28px 0 10px 0;}

/* .entry-thumbnail, .wpb-thumb{
-webkit-box-shadow: 0px 2px 10px 0px rgba(179,179,179,1);
-moz-box-shadow: 0px 2px 10px 0px rgba(179,179,179,1);
box-shadow: 0px 2px 10px 0px rgba(179,179,179,1);
} */


/* Share your news box */

.shareyournews {
	padding: 0px;
	width: 100%;
	text-align:center;
	border:solid 1px #ddd;
	background-color:#f4f4f4;
}

.shareyournews a.filldiv {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.5em;
	color: #8e001c;
	font-weight: bold;
	text-decoration: none;
	letter-spacing: -1px;
    	display: block;
    	height: 100%;
    	width: 100%;
	padding:10px 0;
	text-decoration: none;
}
.shareyournews a.filldiv:hover {
    background-color: #eee;

}



/* ---- TOP NAV BAR ---- */
#nav-topbar li a {  font-family: 'proxima_novaregular', Helvetica, Arial, sans-serif; font-size: 13px; font-weight:bold; text-transform:uppercase; color: #ccc; display: block; line-height: 16px; padding: 8px 10px 5px 10px; letter-spacing:-1px;}
#nav-topbar li.current-menu-item a{color:#fff;}


/* ---- BREAKING NEWS ---- */

	.news-tickerb {
	background: #000;
	width:100%;
	margin:0px auto 10px;
	overflow:hidden;
	position:relative;	
	}
	.news-tickerb #title {
		color: #000000;
		background-color: #f9f119;
		display:block;
		float:left;
		padding:12px 20px 10px;
		font-family: Helvetica, Arial, sans-serif; 
		font-size: 20px; 
		font-weight:bold;
		text-transform:uppercase;
		margin-right: 10px;
	}
	.news-tickerb #content {
		background-color: #000;
		float:left;
		padding:10px 20px 10px;
		margin-right: 10px;
	}

	.news-tickerb #content a {
		color: #fff;
		text-decoration: none!important;
		font-family: Arial, sans-serif; 
		font-weight: bold;
		font-size: 14px;

	}
	.news-tickerb #content a:hover {
		color: #ccc;
		text-decoration: none!important;
	}

@media only screen and (max-width: 639px) {
.news-tickerb #title { width:100% }
}

/* ---- GLOBAL PAGE Changes ---- */

#page-inner {  background-color:#fff; margin-top: 0px; }
#header-inner{background:url('img/headerbackground201415.png') no-repeat left top; padding-left:0px;}
#header-outer-thepioneer #header-inner{background:url('img/headerbackground4_black.png') no-repeat right top;}
#header-inner #logo {margin-left:0px;}

#header-outer{
background: #8f0c14;
}

#header-outer #logo a img {max-height:90px; padding: 0px;}

#header-outer-electionproject{ 
width:100%; max-width: 100%;
background: #8f0c14; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JhMDAyMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4NDAwMWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #ba0022 0%, #84001e 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ba0022), color-stop(100%,#84001e)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ba0022 0%,#84001e 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ba0022 0%,#84001e 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ba0022 0%,#84001e 100%); /* IE10+ */
background: linear-gradient(to bottom, #ba0022 0%,#84001e 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ba0022', endColorstr='#84001e',GradientType=0 ); /* IE6-8 */
}


#header-outer-interactive{
width:100%; max-width: 100%;
background: rgb(193,214,121); /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2MxZDY3OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4Y2I1MzQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(193,214,121,1) 0%, rgba(140,181,52,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(193,214,121,1)), color-stop(100%,rgba(140,181,52,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(193,214,121,1) 0%,rgba(140,181,52,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(193,214,121,1) 0%,rgba(140,181,52,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(193,214,121,1) 0%,rgba(140,181,52,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(193,214,121,1) 0%,rgba(140,181,52,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c1d679', endColorstr='#8cb534',GradientType=0 ); /* IE6-8 */
}
#header-outer-interactive #logo a img {max-height:80px; padding: 0px;}

#header-outer-electionproject #header-inner{background:url('') no-repeat right top; padding-left:0px;}

#header-outer-electionproject #logoelection a img {width:100%; padding: 0px;}




/* ---- Change default font globally  ---- */


.text h1.alt,.text h2.alt,.text h3.alt,.text h4.alt,.text h5.alt,.text h6.alt,
.heading,
.miniheading,
#logo,
#nav,
#nav-sub,
.newsflash .first h3,
.newsflash .first p,
#page-image-text span.caption,
.entry-category,
.entry-date,
.entry-comments,
.entry-browse li a strong,
.widget-title,
.widget_calendar caption,
.widget_calendar thead,
#nav-alt,
#child-menu,
a.more-link { font-family:proxima_novalight, Helvetica, Arial, sans-serif;} 

#nav, .widget-title {font-family:proxima_novaregular, Helvetica, Arial, sans-serif; letter-spacing:0px;}

.entry-date {font-size:12px;font-weight:normal;font-style:normal;}

.widget_wpb_tabs .wpb-text i.meta {font-family:proxima_novalight, Helvetica, Arial, sans-serif; font-size:12px;font-weight:normal;}

.wpb-text i.title {font-family:proxima_novaregular, Helvetica, Arial, sans-serif; font-size:16px;font-weight:normal;}

.text h1.alt,.text h2.alt,.text h3.alt,.text h4.alt,.text h5.alt,.text h6.alt { font-weight: ; text-transform: none; line-height: 1.1em; }
.text h1.alt { font-size: 32px; }
.text h2.alt { font-size: 26px; }
.text h3.alt { font-size: 22px; }
.text h4.alt { font-size: 18px; }
.text h5.alt { font-size: 16px; }
.text h6.alt { font-size: 14px; }
.heading { font-size: 18px; font-weight: ; text-transform: none;  }
.miniheading { font-size: 14px; font-weight: ; text-transform: none; }
#logo { font-size: 32px; font-weight: ; text-transform: none; letter-spacing: 0px; }
#nav { font-weight:bold; font-size: 14px; }
#nav li a { text-transform:none; }
#nav ul li a, #nav li:hover ul li a { font-size: 13px; text-transform: none; }
#nav-sub li a { font-size: 13px; text-transform: none; font-weight: ; }
#nav-sub ul li a, #nav-sub li:hover ul li a { font-size: 13px; }
.newsflash .first h3 { font-size: 18px; font-weight: ; text-transform: none; }
.newsflash .first p { font-size: 15px; font-weight: ; text-transform: none; margin-top: -3px; margin-bottom: 3px; }
#page-image-text span.caption { font-size: 32px; font-weight: ; text-transform: none; letter-spacing: 0px; }
.entry-category { font-size: 13px; font-weight: ; text-transform: none; letter-spacing: 0; }
.single .entry-category { font-size: 15px; }
.entry-comments a { font-size: 12px; font-weight: ; letter-spacing: 0; }
.entry-comments a span { padding: 2px 5px; }
.entry-browse li a strong { font-weight: ; text-transform: none; letter-spacing: 0; }
.widget-title { font-size: 14px; font-weight: ; text-transform: none; letter-spacing: 0; }
.widget_calendar caption { font-size: 14px; font-weight: ; text-transform: none; letter-spacing: 0; }
.widget_calendar thead { font-size: 13px; font-weight: !important; }
#nav-alt li a { font-size: 13px; font-weight: ; text-transform: none; }
#nav-alt ul li a, #nav-alt li:hover ul li a { font-size: 13px; text-transform: none; }
#child-menu li a { font-size: 14px; font-weight: ; text-transform: none; letter-spacing: 0; }
#child-menu li ul li a  { font-size: 15px; font-weight: ; text-transform: none; letter-spacing: 0; }


/* ---- Headline fonts ---- */

.entry-title, .entry-title a, .content .entry-title { font-family:proxima_novaregular, Helvetica, Arial, sans-serif; letter-spacing:-1px; font-size:110%;}
.megaspot .entry-title a, .bigspot .entry-title a, .megaspot .text { font-size:120%; }
.megaspot .text {font-size:110%;}
.widget-title {font-weight:bold;}

.single .entry-title{font-size:34px;}

/* ------ Audio player custom settings ------- */
.jp-current-time { color: #ccc; font-size: 10px; position: absolute; left: 46px; top: 24px;  }
.jp-duration { color: #ccc; font-size: 10px; position: absolute; right: 92px; top: 24px; }

/*  entry format : audio
/* ------------------------------------ */
.entry-format.audio {  }
.entry-format.audio img { display: block; width: 100%; max-width: 100%; height: auto; }

/* jplayer */
div.jp-play-bar, div.jp-volume-bar-value { background-color: #83ad02; }
div.jp-audio,
div.jp-interface,
div.jp-progress,
div.jp-seek-bar { width: 100%; min-width: 100%; }
div.jp-progress-container,
div.jp-volume-bar-container { border-left: 1px solid #333; }
div.jp-interface { background: #111; position: relative; overflow: hidden; }
div.jp-interface a { -webkit-transition-property:none; -moz-transition-property:none; -o-transition-property:none; transition-property:none; }
div.jp-interface ul.jp-controls { list-style-type: none; padding: 0; margin: 0; }
div.jp-interface ul.jp-controls li { display: inline; }
div.jp-interface ul.jp-controls a { position: absolute; overflow: hidden; text-indent: -9999px; }
a.jp-play, a.jp-pause { width: 33px; height: 30px; z-index: 1; outline: none; margin-top: 8px; }
a.jp-play, a.jp-pause { top: 0; left: 0; }
a.jp-play { background: url(img/jplayer.png) 0 0 no-repeat; }
a.jp-play:hover { background: url(img/jplayer.png) -33px 0 no-repeat; }
a.jp-pause { background: url(img/jplayer.png) 0 -30px no-repeat; display: none; }
a.jp-pause:hover { background: url(img/jplayer.png) -33px -30px no-repeat; }
div.jp-progress-container { margin-left: 34px; margin-right: 84px; height: 6px; padding: 20px 10px; }
div.jp-progress { overflow: hidden; }
div.jp-progress { height: 5px; padding: 1px; }
div.jp-seek-bar { background-image: url(img/jplayer.png); background-position: 0 -163px; background-repeat: repeat-x; width: 0px; height: 5px; cursor: pointer; -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; }
div.jp-play-bar { background-image: url(img/jplayer.png); background-position: 0 -133px; background-repeat: repeat-x; width: 0px; height: 5px; -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; }
div.jp-volume-bar-container { width: 40px; height: 6px; padding: 20px 10px 20px 33px; position: absolute; top: 0; right: 0; }
div.jp-volume-bar { background: #3a3b3c; position: relative; overflow: hidden; width: 40px; height: 5px; margin-top: 1px; cursor: pointer; -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; }
div.jp-volume-bar { top: 0; left: 0; }
div.jp-volume-bar-value { background-image: url(img/jplayer.png); background-position: 0 -133px; background-repeat: repeat-x; width: 0px; height: 5px; -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; }
a.jp-mute, a.jp-unmute { width: 17px; height: 13px; z-index: 1; outline: none; margin-top: 15px; }
a.jp-mute, a.jp-unmute { top: 2px; right: 58px; }
a.jp-mute { background: url(img/jplayer.png) -10px -68px no-repeat; }
a.jp-mute:hover { background: url(img/jplayer.png) -43px -68px no-repeat; }
a.jp-unmute { background: url(img/jplayer.png) -10px -98px no-repeat; display: none; }
a.jp-unmute:hover { background: url(img/jplayer.png) -43px -98px no-repeat; }
div.jp-jplayer { width:0px; height:0px; }


/*  widget
/* ------------------------------------ */
.widget { color: #777; font-size: 14px; }
.widget a { color: #111; }
.widget a:hover { color: #444; text-decoration: underline; }
.widget-title { font-family: proxima_novaregular, Helvetica, Arial, sans-serif; font-weight: bold; font-size: 16px; letter-spacing: 0px;  margin-bottom: 8px; }
.widget-title span { display: block; float: left; line-height: 21px; padding: 4px 8px 2px 26px; }
.widget-title span span { background: none; padding: 0; margin: 0; }
.widget-title a,
.widget-title a:hover { color: #fff; }
.widget-title a img { display: none; float: left; margin: 3px 7px 0 0; }

.sidebar .widget { padding: 20px; }
.sidebar .widget-title { border-bottom: 1px solid #ccc; padding: 0 20px; margin-left: -20px; margin-right: -20px; }
.sidebar .widget-title span { background-color: #fff; color: #111; display: block; float: left; }

/*  widget : title icons
/* ------------------------------------ */
.widget-title span { background: url(img/icons-14-lightgray.png) no-repeat 7px 7px; }
.widget_archive .widget-title span { background-position: 7px -33px; }
.widget_categories .widget-title span { background-position: 7px -73px; }
.widget_links .widget-title span { background-position: 7px -113px; }
.widget_meta .widget-title span { background-position: 7px -153px; }
.widget_recent_comments .widget-title span { background-position: 7px -193px; }
.widget_recent_entries .widget-title span { background-position: 7px -233px; }
.widget_pages .widget-title span { background-position: 7px -273px; }
.widget_nav_menu .widget-title span { background-position: 7px -313px; }
.widget_rss .widget-title span { background-position: 7px -353px; }
.widget_search .widget-title span { background-position: 7px -393px; }
.widget_tag_cloud .widget-title span { background-position: 7px -433px; }
.widget_text .widget-title span { background-position: 7px 7px; }
.widget_calendar .widget-title span { background-position: 7px -513px; }

.wpb_widget_recent_entries .widget-title span { background-position: 7px -233px; }



.gallery {
	margin-bottom: 20px;
	margin-left: -4px;
}

.gallery-item {
	float:;
	margin: 0 0px 4px 0;
	overflow: hidden;
	position: relative;
	
}

.gallery-columns-2 .gallery-item{
height:170px;
}

.gallery-columns-3 .gallery-item{
height:118px;
}

.gallery-columns-1.gallery-size-medium,
.gallery-columns-1.gallery-size-thumbnail,
.gallery-columns-2.gallery-size-thumbnail,
.gallery-columns-3.gallery-size-thumbnail {
	display: table;
	margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
	text-align: center;
}

.gallery-columns-4 .gallery-item {
	max-width: 23%;
	max-width: -webkit-calc(25% - 4px);
	max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 2px 8px;
	position: absolute;
	bottom: 0;
	left: 2px;
	text-align: left;
	-webkit-transition: opacity 400ms ease;
	transition:         opacity 400ms ease;
	width: 100%;
}

.gallery-caption:before {
	box-shadow: 0 -10px 15px #000 inset;
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.gallery:after {
	clear: both;}
	
