/**
* Widget styles
*
* Order: generic, related links, image gallery, video, product list, Social feed
**/


/* ---- Related Links ---- */
.widget-RelatedLinks .widget-title {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}



/* Image gallery */
.widget-ImageGallery img {
	display: block;
}

.widget-ImageGallery div.image-wide {
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}

	.widget-ImageGallery div.image-wide p {
		text-align: center;
	}

.widget-ImageGallery div.image-tall {
	margin-bottom: 5px;
}

	.widget-ImageGallery div.image-tall img {
		display: inline;
		vertical-align: middle;
		margin-right: 5px;
	}

	.widget-ImageGallery div.image-tall span {
		vertical-align: middle;
	}

.widget-ImageGallery div.image-tall-compact {
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}

/* Articles */

.widget-ArticlesList {
	border: 0;
	background-color: transparent;
}

div.article {
	border-bottom:1px solid #CCCCCC;
	margin:10px 0;
	padding:10px 0;
}

@media screen and (max-width: 600px) {
	.widget-ArticlesPreviewList .article-image {
		margin-left: 0;
		width: 100%;
		display: block;
		float: none;
	}
}


/* Video */
.widget-Video div {
	margin: 0 auto;
	width: 400px;
}


/* Product list */
.widget-ProductList table {
	width: 100%;
}

.mainbar .widget-ChildrenPages ul {
	margin:	0.4em 0 0.5em 2em;
}

/* children page gallery */
.children-gallery-list {
	margin: 40px -1.5% 0;
	list-style: none;
	padding: 0;
}

.children-gallery-list-item {
	margin: 0 1.5% 30px;
	width: 30.333333%;
	float: left;
}

.children-gallery-list-item:nth-child(3n+1) {
	clear: left;
}



.children-gallery-list-item-link {
	display: block;
	position: relative;
	text-align: center;
	text-decoration: none;
	color: inherit;
}
.children-gallery-list-item-title {
	margin: 0 0 7px;
	font-size: 2.2rem;
	line-height: 1.2;

}

.children-gallery-list-item-link:hover {
	color: inherit;
}

.children-gallery-list-item-image {
	margin: 0 0 10px;
}

.children-gallery-list-item-link:hover .children-gallery-list-item-anchor {
	opacity: 1;
}

.children-gallery-list-item-anchor {
	margin: 5px 0 0;
}


@media screen and (max-width: 600px) {
	.children-gallery-list-item {
		width: 48.5%;
		float: left;
	}

	.children-gallery-list-item:nth-child(3n+1) {
		clear: none;
	}
	.children-gallery-list-item {
		width: 47%;
	}

	.children-gallery-list-item:nth-child(2n+1) {
		clear: left;
	}

	.children-gallery-list-item-title {
		font-size: 2rem;
	}

}



/* Social feed */

.widget-title strong {
	font-weight: normal;
}

.widget-SocialFeed {
	margin-top: 1em;
	margin-bottom: 2em;
	position: relative;
}

.widget-SocialFeed .widget-title {
	padding: 15px 130px 5px 10px;
	border: 1px solid #BDBDBD;
	border-bottom: 0;
	font-family: 'OakesGrotesk',Helvetica,Arial,sans-serif;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 20px;
	min-height: 25px;
	margin: 0;
	background: #f1eee4;
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YxZWVlNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlN2UyZDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background-image: -webkit-linear-gradient(top,  #f1eee4 0%,#e7e2d0 100%);
	background-image: -o-linear-gradient(top,  #f1eee4 0%,#e7e2d0 100%);
	background-image: -ms-linear-gradient(top,  #f1eee4 0%,#e7e2d0 100%);
	background-image: linear-gradient(to bottom,  #f1eee4 0%,#e7e2d0 100%);
}

.widget-SocialFeed #social-tabs {
	width: auto;
	margin-right: 15px;
	height: 33px;
	overflow: hidden;
}

.widget-SocialFeed #social-tabs a {
	margin-left: 4px;
}

.widget-SocialFeed .widget-title + .socialfeed_wide #social-tabs {
	float: none;
	position: absolute;
	top: 0;
	right: 0;
}

.social-tabs-content {
	padding: 1em;
	background: #ececec;
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VjZWNlYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkM2QzZDMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background-image: -webkit-linear-gradient(top,  #ececec 0%,#d3d3d3 100%);
	background-image: -o-linear-gradient(top,  #ececec 0%,#d3d3d3 100%);
	background-image: -ms-linear-gradient(top,  #ececec 0%,#d3d3d3 100%);
	background-image: linear-gradient(to bottom,  #ececec 0%,#d3d3d3 100%);
	height: auto;
	border: 1px solid #BDBDBD;
}

.social-feed__item {
	padding-top: 10px;
	border-top: 1px solid #BDBDBD;
	margin-top: 10px;
	text-shadow: 1px 1px 1px #fff;
}

.social-feed__item:first-child {
	padding-top: 0;
	border-top: 0;
	margin-top: 0;
}

.social-feed__item__text {
	overflow: hidden; _overflow: visible; zoom:1;
}

.social-feed__item__img {
	float: left;
	margin-right: 20px;
}

.social-feed__item__img img {
	display: block;
	margin: 0;
}


/** Sponsors **/

.sponsors-wrap {
	margin: 0 -15px;
}

.widget-Sponsors .sponsor {
	margin: 2rem 0;
	padding-left: 15px;
	padding-right: 15px;
	float: left;
	width: 25%;
	text-align: center;
	min-height: 180px;
}

.widget-Sponsors .sponsor:nth-child(4n+1) {
	clear: left;
}

.widget-Sponsors .sponsor a {
	text-decoration: none;
	display: block;
}

.sponsor__img-wrap {
	height: 180px;
	line-height: 155px;
	border: 1px solid #ebebeb;
	outline: 2px solid rgba(235,235,235,0);
	transition: all 200ms ease-in-out;
	padding: 10px;
	color: #b9babd;
	overflow: hidden;
}


.widget-Sponsors .sponsor:hover .sponsor__img-wrap {
	outline: 2px solid rgba(235,235,235,1);
}

.widget-Sponsors .sponsor img {
    width: 100%;
    max-width: 160px;
}

.sponsor__name-link {
	padding: 6px 12px;
	line-height: 1.3;
	background: #ffffff;
	outline: 2px solid rgba(235,235,235,0);
	transition: all 200ms ease-in-out;
}

.sponsor:hover .sponsor__name-link {
	background: #ebebeb;
	outline: 2px solid rgba(235,235,235,1);
}


@media screen and (max-width: 1200px) {
	.sponsor__img-wrap {
		height: 140px;
		line-height: 115px;
	}
}

@media screen and (max-width: 1000px) {
	.widget-Sponsors .sponsor {
		width: 50%;
		min-height: 145px;
	}

	.sponsor__img-wrap {
		height: 155px;
		line-height: 115px;
	}

	.widget-Sponsors .sponsor img {
	    max-width: 140px;
	}

	.widget-Sponsors .sponsor:nth-child(2n+1) {
		clear: left;
	}
}


@media screen and (max-width: 760px) {
	.sponsors-wrap {
		margin: 0 -2%;
	}

	.widget-Sponsors .sponsor {
		margin: 2% 0;
		padding-left: 2%;
		padding-right: 2%;
		min-height: 145px;
	}

	.sponsor__img-wrap {
		height: 160px;
		line-height: 130px;
	}
}



