/* =Tiled Gallery Default Styles
-------------------------------------------------------------- */

.tiled-gallery {
	clear: both;
	margin: 0 0 20px;
	overflow: hidden;
}
.tiled-gallery img {
	margin: 2px !important; /* Ensure that this value isn't overridden by themes that give content images blanket margins */
}
.tiled-gallery .gallery-group {
	float: left;
	position: relative;
}
.tiled-gallery .tiled-gallery-item {
	float: left;
	margin: 0;
	position: relative;
	width: inherit; /* prevents ie8 bug with inline width styles */
}
.tiled-gallery .gallery-row {
	 overflow: hidden;
}
.tiled-gallery .tiled-gallery-item a { /* Needs to reset some properties for theme compatibility */
	background: transparent;
	border: none;
	color: inherit;
	margin: 0;
	padding: 0;
	text-decoration: none;
	width: auto;
}
.tiled-gallery .tiled-gallery-item img,
.tiled-gallery .tiled-gallery-item img:hover { /* Needs to reset some properties for theme compatibility */
	background: none;
	border: none;
	box-shadow: none;
	max-width: 100%;
	padding: 0;
	vertical-align: middle;
}
.tiled-gallery-caption { /* Captions */
	background: #eee;
	background: rgba( 255,255,255,0.8 );
	color: #333;
	font-size: 13px;
	font-weight: 400;
	overflow: hidden;
	padding: 10px 0;
	position: absolute;
		bottom: 0;
	text-indent: 10px;
	text-overflow: ellipsis;
	width: 100%;
	white-space: nowrap;
}
.tiled-gallery .tiled-gallery-item-small .tiled-gallery-caption { /* Smaller captions */
	font-size: 11px;
}

/* Hide galleries in widgets until they've been resized to fit.
   Gallery widgets are almost guaranteed to need resizing, and
   the jump is a little more obvious than galleries in content. */
.widget-gallery .tiled-gallery-unresized {
	visibility: hidden;
	height: 0px;
	overflow: hidden;
}

/* =Greyscale
-------------------------------------------------------------- */

.tiled-gallery .tiled-gallery-item img.grayscale {
	position: absolute;
		left: 0;
		top: 0;
}
.tiled-gallery .tiled-gallery-item img.grayscale:hover {
	opacity: 0;
}


/* =Circles Layout
-------------------------------------------------------------- */

.tiled-gallery.type-circle .tiled-gallery-item img {
	border-radius: 50% !important; /* Ensure that circles are displayed in themes that add border-radius to all images as a default */
}
.tiled-gallery.type-circle .tiled-gallery-caption {
	display: none;
	opacity: 0;
}

/*Share Bar*/
.social-bar,
.snap-gallery-popup .social-bar {
    float: left;
    margin-top: 26px;
    position: relative;
    top: 0;
}

.snap-gallery.mobile .social-bar {
    margin-top: 0;
    position: absolute;
}

.social-text,
.snap-gallery-popup .social-text {
    float: left;
    margin-top: 18px;
    font: italic bold 13px/13px "Shift-BoldItalic", "Times New Roman", "serif";
    color: #333333;
}

.social-bar ul {
    float: left;
}

.social-bar ul li,
.snap-gallery-popup .social-bar ul li {
    display: inline-block;
    float: left;
    width: 30px;
    height: 30px;
    margin: 0 12px 20px 0;
    position: relative;
    list-style: none;
}

.social-bar ul li:last-child,
.snap-gallery-popup .social-bar ul li:last-child {
	margin-right: 0px;
}

.social-bar ul li a,
.snap-gallery-popup .social-bar ul li a {
    display: block;
	width: 30px;
	height: 30px;
}

.social-bar .more-social-menu,
.snap-gallery-popup .social-bar .more-social-menu {
    display: none;
    width: 300px;
    padding: 13px 13px 20px;
    position: absolute;
    right: 0;
    left: -127px;
    z-index: 5999902;
    background-color: #fff;
	border: 2px solid #ddd;
}
.social-bar svg,
.snap-gallery-popup .social-bar svg {
	float: left;
	width: 30px;
	position: relative;
	top: 50%;
	-ms-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.snap-gallery-popup .social-bar .more-social-menu,
.snap-gallery.mobile .social-bar .more-social-menu {
    left: auto;
}

.social-bar .more-social-menu .menu-content,
.snap-gallery-popup .social-bar .more-social-menu .menu-content {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    background-color: transparent;
	position: relative;
}

.social-bar .more-social-menu .menu-content .close-button,
.snap-gallery-popup .social-bar .more-social-menu .menu-content .close-button {
	position: absolute;
	top: 0px;
	right: -5px;
	width: 15px;
	height: 15px;
	cursor: pointer;
}

.social-bar .more-social-menu .menu-content .close-button svg,
.snap-gallery-popup .social-bar .more-social-menu .menu-content .close-button svg {
	width: 15px;
	height: 15px;
}

.social-bar .more-social-menu .menu-content .close-button svg #icon-close polygon,
.snap-gallery-popup .social-bar .more-social-menu .menu-content .close-button svg #icon-close polygon {
	fill: #aaa;
}

.social-bar .more-social-menu .menu-content .close-button:hover svg #icon-close polygon,
.snap-gallery-popup .social-bar .more-social-menu .menu-content .close-button:hover svg #icon-close polygon {
	fill: #666;
}

.social-bar .more-social-menu .social-menu-title,
.snap-gallery-popup .social-bar .more-social-menu .social-menu-title {
    color: #666;
    font-family: 'MillerDisplayItalic', serif;
	font-size: 16px;
	line-height: 26px;
}

.social-bar .more-social-menu .social-icons-lists,
.snap-gallery-popup .social-bar .more-social-menu .social-icons-lists {
    float: left;
    width: 100%;
}

.social-bar .more-social-menu .social-icons-lists li,
.snap-gallery-popup .social-bar .more-social-menu .social-icons-lists li {
    float: left;
    margin: 0;
    width: 125px;
	display: block;
	padding-top: 10px;
	border-top: 2px dotted #ddd;
	margin-top: 10px;
	height: 40px;
}
.social-bar .more-social-menu .social-icons-lists li a,
.snap-gallery-popup .social-bar .more-social-menu .social-icons-lists li a {
    float: left;
}
.social-bar .more-social-menu:before,
.social-bar .more-social-menu:after,
.snap-gallery-popup .social-bar .more-social-menu:before,
.snap-gallery-popup .social-bar .more-social-menu:after {
    content: '';
    position: absolute;
    top: -10px;
	left: 135px;
    display: block;
    width: 15px;
    height: 15px;
    background-color: #ddd;
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.social-bar .more-social-menu:after,
.snap-gallery-popup .social-bar .more-social-menu:after {
	content: '';
	background-color: #fff;
	top: -7px;
}
.snap-gallery .social-bar .more-social-menu:before,
.snap-gallery .social-bar .more-social-menu:after {
	left: auto;
	right: 10px;
}
.social-bar .more-social-menu .social-icons-lists li span,
.snap-gallery-popup .social-bar .more-social-menu .social-icons-lists li span {
    display: block;
	padding-left: 40px;
	width: 120px;
	font-size: 13px;
	line-height: 30px;
	font-family: Helvetica, Arial, sans-serif;
	color: #404040;
}

.social-bar .more-social-menu .article-title,
.snap-gallery-popup .social-bar .more-social-menu .article-title {
    color: #000;
    font: 16px/20px CabinCondensedSemiBold, sans-serif;
    letter-spacing: normal;
    text-transform: none;
}

.social-bar .more-social-menu .social-icons-lists li:first-child,
.social-bar .more-social-menu .social-icons-lists li:nth-child(2) {
    border: none;
	margin-top: 0px;
}
.social-bar .more-social-menu .social-icons-lists li:nth-child(2n) {
	float: right;
}

.author-info .social-bar {
    margin: 5px 0px;
}

.author-info .social-bar li:first-child {
    margin-left: 0;
}
.social-bar .more-social > a,
.snap-gallery-popup .social-bar .more-social > a {
	padding-bottom: 15px;
	box-sizing: content-box;
}
.social-bar .shares a,
.snap-gallery-popup .social-bar .shares a {
    width: auto;
    height: auto;
    color: #333;
    line-height: 30px;
}
.social-bar .shares a:after,
.snap-gallery-popup .social-bar .shares a:after {
    background: none;
    border: none;
}
.snap-gallery .social-bar svg,
.snap-gallery-popup .social-bar svg {	
	height: 16px;
	width: 25px;
}
.snap-gallery .social-bar .more-social-menu svg,
.snap-gallery-popup .social-bar .more-social-menu svg {
	width: 30px;
	height: 30px;
}

/* hover states */
.social-bar .facebook a:hover svg .share_solo {
	fill: #1b64bb;
}
.social-bar .twitter a:hover svg .twitter_solo {
	fill: #4eb8f4;
}
.social-bar .more-social:hover svg .share_solo {
	fill: #999;
}
.social-bar a:hover svg.icon-googleplus .bg {
  fill: #c43b31;
}
.social-bar a:hover svg.icon-facebook .bg {
  fill: #1b64bb;
}
.social-bar a:hover svg.icon-twitter .bg {
  fill: #4eb8f4;
}
.social-bar .more-social:hover svg.icon .share_circle {
  fill: #999;
}
.social-bar a:hover svg.icon-youtube .bg {
  fill: #c42626;
}
.social-bar a:hover svg.icon-tumblr .bg {
  fill: #19232d;
}
.social-bar a:hover svg.icon-pinterest .bg {
  fill: #c02627;
}
.social-bar a:hover svg.icon-linkedin .bg {
  fill: #0067bb;
}
.social-bar a:hover svg.icon-reddit .bg {
  fill: #f36823;
}
.social-bar a:hover svg.icon-rss .bg {
  fill: #f6a41c;
}
.social-bar a:hover svg.icon-email .bg {
  fill: #61933b;
}

/* snap gallery styles */
.snap-gallery .social-bar, .l-article .snap-gallery .social-bar {
    float: none;
    margin: 0;
    position: absolute;
    right: -5px;
}
.snap-gallery .social-bar .more-social-menu,
.l-article .snap-gallery .social-bar .more-social-menu {
    left: auto;
	right: 0px;
    margin-top: 0px;
	width: 300px;
	top: 35px;
}
.snap-gallery .social-bar  ul li{
	margin-right: 0px;
	width: 25px;
}
.snap-gallery .social-bar  ul li a {
	width: 25px;
}

/* snap gallery popup and mobile share menu*/
.snap-gallery-popup .social-bar {
	margin: 0 10px 0 0;
	float: right;
}
.snap-gallery-popup .snap-gallery .snap-caption-text {
	padding: 4px 10px 0px 10px;
}
.snap-gallery.mobile .social-bar  ul,
.snap-gallery-popup .social-bar ul {
	display: -webkit-flex;
	display: flex;
}
.snap-gallery.mobile .social-bar .more-social-menu,
.snap-gallery-popup .social-bar .more-social-menu {
	width: auto;
}
.snap-gallery.mobile .social-bar .more-social-menu .social-icons-lists li,
.snap-gallery-popup .social-bar .more-social-menu .social-icons-lists li {
	margin: 0 0 0 12px;
	border: none;
	width: auto;
}
.snap-gallery.mobile .social-bar .more-social-menu .social-icons-lists li:first-child,
.snap-gallery-popup .social-bar .more-social-menu .social-icons-lists li:first-child {
	margin: 0;
}
.snap-gallery.mobile .social-bar .more-social-menu .social-icons-lists li:nth-child(2n),
.snap-gallery-popup .social-bar .more-social-menu .social-icons-lists li:nth-child(2n) {
	float: left;
}
.snap-gallery.mobile .social-bar .more-social-menu .social-icons-lists li span,
.snap-gallery-popup .social-bar .more-social-menu .social-icons-lists li span {
	display: none;
}
.snap-gallery.mobile .social-bar .more-social-menu:before,
.snap-gallery.mobile .social-bar .more-social-menu:after,
.snap-gallery-popup .social-bar .more-social-menu:before,
.snap-gallery-popup .social-bar .more-social-menu:after {
	left: auto;
	right: 10px;
}/*
	Photo Gallery and Widget CSS
*/

/* Browser Resets
*********************************/
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {
	outline: none;
}
.slides,
.flex-control-nav,
.flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Hide elements until gallery loads */
.snap-gallery .flex-direction-nav,
/*.snap-gallery .snap-gallery-sharing,*/
.snap-gallery .slides {
	display: none;
}

.snap-gallery h3, .snap-gallery p, .snap-gallery ul, .snap-gallery li,
.single-feature_template .full-width-feature-page.l-constrained .snap-gallery h3,
.single-feature_template .full-width-feature-page.l-constrained .snap-gallery p,
.single-feature .full-width-feature-page.l-constrained .snap-gallery h3,
.single-feature .full-width-feature-page.l-constrained .snap-gallery p,
.l-article .entry-content .snap-gallery ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.snap-gallery a,
.l-article .entry-content .snap-gallery a:hover {
	text-decoration: none;
}

/* Wrappers
*********************************/
.snap-gallery {
	background: #fff;
	color: #000;
	margin-bottom: 5px;
	position: relative;
	clear: both;
	text-align: left;
}

.snap-gallery .flexslider { 
	margin: 0;
	position: relative;
}
.single-feature .full-width-feature-page.l-constrained .full_page {
    width:100%;
}

/* Gallery Description
*********************************/
.snap-gallery .gallery_desc {
	padding-bottom: 0px;
}

.snap-gallery .gallery_desc p {
	font-family: "BentonSans-Medium",Arial,Helvetica,sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

.snap-gallery .gallery_desc.widget_gallery_desc {
	padding: 10px 50px 10px 15px;
	min-height: 50px;
}

.snap-gallery .snap-gallery-identifier {
	font: 12px/20px "BentonSans-Medium",Arial,Helvetica,sans-serif;
	text-transform: uppercase;
}

.snap-gallery .gallery_desc h3 {
	color: #000;
	font: 18px CabinCondensedSemiBold, sans-serif;
}

.snap-gallery .gallery_desc p,
.single-feature .full-width-feature-page.l-constrained .entry-content.l-constrained.shift-section-up .snap-gallery .gallery_desc p {
	font: 14px/20px "BentonSans-Regular",Arial,Helvetica,sans-serif;
	color: #fff;
}

/* Caption
*********************************/
.snap-gallery .snap-caption-text {
	padding: 10px 120px 5px 0px;
	min-height: 30px;
}

.snap-gallery .snap-caption-text p,
.single-post article.l-article .entry-content .snap-gallery .snap-caption-text p {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 21px;
}

.snap-gallery .img-caption {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 21px;
    color: #000;
    letter-spacing: normal;
}

.full-width .snap-gallery .img-caption {
	letter-spacing:normal;
}

.snap-gallery .img-author {
	font: 13px/21px Georgia, Times, 'Times New Roman', serif;
	font-size: 12px;
    line-height: 21px;
	color: #666;
	letter-spacing:normal;
	text-transform: none;
	font-style: italic;
}

@media screen and (max-width: 767px) {
	.snap-gallery .snap-caption-text {
		padding-left: 0px;
	}
}

/* Slides
*********************************/
.snap-gallery .flex-viewport {
	width: 100%;
	max-height: 2000px; 
	-webkit-transition: all 1s ease; 
	-moz-transition: all 1s ease; 
	-o-transition: all 1s ease; 
	transition: all 1s ease; 
}

.snap-gallery-image {
	display: flex;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.snap-gallery figure img {
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Navigation
*********************************/
.snap-gallery .flex-direction-nav {
    position: absolute;
    right: 0;
    z-index: 9999;
}

.snap-gallery .flex-direction-nav li {
	border-color: #fff;
	border-style: solid;
}

.snap-gallery .snap-nav-position-indicator {
	color: #000;
    text-align: center;
    text-decoration: none;
    font-family: MillerDisplayItalic, serif;
    font-size: 16px;
    line-height: 50px;
    vertical-align: bottom;
    text-align: center;
}

.snap-gallery.gallery-np .snap-nav-position-indicator {
	background-color: #fee899;
	color: #000;
}

.snap-gallery.gallery-fp .snap-nav-position-indicator {
	background-color: #8899cf;
	color: #000;
}

.snap-gallery .flex-direction-nav a { 
	text-decoration: none;
	background-color: rgba(0, 0, 0, 0.8);
	display: block; 
	width: 50px; 
	height: 50px; 
	overflow: hidden;  
	cursor: pointer;
}

.snap-gallery .flex-nav-prev { 
	border-width: 0;
}

.snap-gallery.gallery-np .flex-nav-prev .flex-prev { 
	background-color: #fed232;
	background-image: url(/wp-content/themes/vip/postmedia-theme-npfp/templates/snapgalleries/css/../../../images/icon-arrow-previous_black.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 18px 18px;
}
.snap-gallery.gallery-np .flex-nav-prev .flex-prev:hover {
	background-color: #fcca30;
}
.snap-gallery.gallery-np .flex-nav-prev .flex-prev.flex-disabled { 
	background-color: #fed232;
}

.snap-gallery.gallery-fp .flex-nav-prev .flex-prev { 
	background-color: #2e4ebf;
	background-image: url(/wp-content/themes/vip/postmedia-theme-npfp/templates/snapgalleries/css/../../../images/icon-arrow-previous_white.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 18px 18px;
}
.snap-gallery.gallery-fp .flex-nav-prev .flex-prev:hover {
	background-color: #1542af;
}
.snap-gallery.gallery-fp .flex-nav-prev .flex-prev.flex-disabled { 
	background-color: #2e4ebf;
}

.snap-gallery .flex-nav-next { 
	border-width: 0;
}
.snap-gallery.gallery-np .flex-nav-next .flex-next {
	background-image: url(/wp-content/themes/vip/postmedia-theme-npfp/templates/snapgalleries/css/../../../images/icon-arrow-next_black.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 18px 18px;
	background-color: #fed232;
}
.snap-gallery.gallery-np .flex-nav-next .flex-next:hover {
	background-color: #fcca30;
}
.snap-gallery.gallery-np .flex-nav-next .flex-next.flex-disabled {
	background-color: #fed232;
}

.snap-gallery.gallery-fp .flex-nav-next .flex-next {
	background-image: url(/wp-content/themes/vip/postmedia-theme-npfp/templates/snapgalleries/css/../../../images/icon-arrow-next_white.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 18px 18px;
	background-color: #2e4ebf;
}
.snap-gallery.gallery-fp .flex-nav-next .flex-next:hover {
	background-color: #1542af;
}
.snap-gallery.gallery-fp .flex-nav-next .flex-next.flex-disabled {
	background-color: #2e4ebf;
}

.snap-gallery .social-share-bar{
	position: absolute;
    margin: 0px auto;
    right: 0px;
    bottom: 0;
}
.social-share-bar ul.social-share-icons.xlarge a svg.close-button {
    width: 12px;
    height: 12px;
}

/* Popup Info Toggle
*********************************/
.snap-gallery-popup.hide-snap-gallery-info .snap-caption-text,
.snap-gallery-popup.hide-snap-gallery-info .social-bar {
	display: none;
}

/* Inline Ad
*********************************/
.snap-gallery .snap-gallery-ad {
	width: 300px;
	height: 250px;
	margin: 50px auto;
	color: #fff;
	font-weight: bold;
	text-align: center;
	background-color: #666;
}

/* End Screen
*********************************/
.snap-gallery .snap-end {
	background-color: #fff;
	overflow: hidden;
}
.mobile .snap-gallery .snap-end {
	overflow: scroll;
}

.snap-gallery .snap-gallery-end {
	width: 90%;
	max-width: 700px;
	margin: 30px auto 0;
	position: relative;
	top: -100%;
}
.mobile .snap-gallery .snap-gallery-end {
	width: auto;
	margin: 0 auto;
	position: static;
	top: 0;
}
.full_page .snap-gallery .snap-gallery-end,
.full_width .snap-gallery .snap-gallery-end {
	max-width: 820px;
}

.snap-gallery .snap-end li {
	float: left;
	width: 22%;
	margin-right: 4%;
}
.snap-gallery .snap-end li:last-child {
	margin-right: 0;
}
.mobile .snap-gallery .snap-end li {
	width: 80%;
	margin: 10px 5% 10px;
}

.snap-gallery .snap-end label {
	font-size: 20px;
    line-height: 20px;
    font-family: PostSerifRegular, serif;
    text-transform: uppercase;
    margin: 10px;
    display: block;
	color: #000;
}
.mobile .snap-gallery .snap-end label {
	margin: 10px 5% 10px;
}
.snap-gallery .snap-end img {
	float: left;
	width: 100%;
	margin-bottom: 15px;
}
.mobile .snap-gallery .snap-end img {
	float: left;
	width: 107px;
	margin-right: 10px;
	margin-bottom: 0;
}

.snap-gallery .snap-end p {
	font-family: CabinCondensedSemiBold, sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #000;
}

/* MAGNIFIC POPUP OVERRIDES
*********************************/
.mfp-bg {
	background: #000;
}

.mfp-bg.mobile {
	opacity: 1;
}

.mfp-container {
	padding: 20px 0 0 0;
}

.mfp-content {
	max-width: 100vh;
	height: 100%;
}

button.mfp-close {
	width: 50px;
	height: 50px;
	position: fixed;
	left: 0;
	top: 0;
	opacity: 1;
	background-color: #000;
}

@media screen and (max-width: 479px) {
	.mfp-container {
		padding: 10px 0 0 0;
	}
}

/* Popup
*********************************/
.snap-gallery.popup .snap-caption-text {
	padding: 20px;
}
.snap-gallery.popup .img-caption {
	color: #fff;
}
.snap-gallery.popup {
	color: #fff;
	background-color: #000;
}
.snap-gallery-popup .snap-gallery {
	padding: 0;
}
.mfp-wrap.mobile .snap-gallery-popup > button.mfp-close {
    display: none;
}

@media screen and (max-width: 767px) {
	.snap-gallery.mobile.popup.sharing .snap-caption-text{
		position: relative;
		background: #000;
		opacity: .6;
		padding-top: 4px;
		padding-right: 10px;
	}
}