section.galleryEmbed {
	position: relative;
}
section.galleryEmbed:hover > .imagesCount,
section.galleryEmbed .image:hover > a{
    opacity: .95;
}
section.galleryEmbed ul {
	padding-left: 0px;
}
section.galleryEmbed h2 {
	color: #5d90b4;
	font-family: "Open Sans";
	font-size: 20px;
	margin-bottom: 5px;
}
section.galleryEmbed .footer {
	display: none;
}
section.galleryEmbed > div.footer > p > a {
	color: #242428;
	font-size: 14px;
	font-weight: bold;
}
section.galleryEmbed > div.footer > p > a > span {
	color: #2a5987;
	font-size: 16px;
}
section.galleryEmbed .nofooter {
	margin-top: 10px;
}
section.galleryEmbed .image{
	font-size: 0;
	position: relative;
	width: 100%;
	background-image: url('/images/patronGallery.png');
	background-repeat: repeat;
}
section.galleryEmbed .image ul {
	height: 410px;
	margin: 0 auto;
	overflow: hidden;
	width: 100%;
	position: relative;
}
section.galleryEmbed .image ul li {
	overflow: hidden;
	list-style: none !important;
	position: absolute;
	width: 100%;
	top: 0;
	text-align: center;
}
section.galleryEmbed .image ul li.active {
	visibility: visible;
}
section.galleryEmbed .image ul li.inactive {
	visibility: hidden;
}
section.galleryEmbed .image ul li img{
	max-height: 410px;
}
section.galleryEmbed .image > a{
	transition: all 2s;
	-moz-transition: all 2s; /* Firefox 4 */
	-webkit-transition: all 2s; /* Safari and Chrome */
	-o-transition: all 2s; /* Opera */
	height: 100px;
	width: 45px;
	background: #FFFFFF;
	position: absolute;
	top: 150px;
	-webkit-transition: opacity .3s;
	transition: opacity .3s;
	-moz-transition: opacity .3s;
	-webkit-transition: opacity .3s;
	-o-transition: opacity .3s; 
	opacity: 0;
	top: 50%;
	margin-top: -50px;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7FFFFFFF,endColorstr=#7FFFFFFF);/* For IE6-9 */
}
section.galleryEmbed .image .gallNext {
	right: 0;
}
section.galleryEmbed .image > a:before{
	width: 20px;
	height: 36px;
	content: "";
	display: block;
	position: absolute;
	top: 33px;
	left: 12px;
}
section.galleryEmbed .image .gallNext:before{
	background: url('/images/galeria_next.svg');
	background-size: cover;
}
section.galleryEmbed .image .gallPrev:before{
	background: url('/images/galeria_prev.svg');
	background-size: cover;
}
section.galleryEmbed .image .gallPrev {
	left: 0;
}
section.galleryEmbed .navigation {
	padding: 15px 0;
	position: relative;
}
section.galleryEmbed > .imagesCount{
	text-align: center;
	font-family: 'open Sans';
	font-size: 0.85rem;
	color: #80858C;
	font-weight: 700;
	position: absolute;
    z-index: 2;
    right: 10px;
    top: 5px;
    background: #FFFFFF;
    width: 51px;
    border-radius: 3px;
    opacity: 0;
    padding: 4px;
}
section.galleryEmbed .navigation > a{
	top: 41.5px;
    width: 35px;
	position: absolute;
	height: 45px;
	background: #f1f1f1;
}
section.galleryEmbed .navigation > a:after{
	width: 14px;
	content: "";
	height: 24px;
	display: block;
	top: 10px;
	position: absolute;
}
section.galleryEmbed .navigation > a.next:after{
	background: url('/images/galeria_next.svg');
	left: 12px;
}
section.galleryEmbed .navigation > a.previous:after{
	background: url('/images/galeria_prev.svg');
	left: 9px;
}
section.galleryEmbed .navigation > a.next {
    right: 0;
    opacity: 0 !important;
}
section.galleryEmbed .navigation > a.previous {
    z-index: 2;
    opacity: 0 !important;
}
section.galleryEmbed .navigation .thumbs_container{
	width: 100%;
	overflow: hidden;
	position: relative;
	white-space: nowrap;
	border-top: 1px solid #DCDADA;
    padding-top: 15px;
    height: 90px;
    margin-bottom: 15px;
}
section.galleryEmbed .navigation.cf:hover > a{
	opacity: 0.95 !important;
}
section.galleryEmbed .navigation .thumbs_container ul{
	position: absolute;
	width: auto;
	font-size: 0;
	padding-left: 0px;
}
section.galleryEmbed .navigation .thumbs_container ul li{
	height: 67px;				
	display: inline-block;
}
section.galleryEmbed .navigation .thumbs_container ul li {
	margin-right: 8px;
    padding: 1px;
    width: 99px;
}
section.galleryEmbed .navigation .thumbs_container ul li img:hover {
	outline: 1px solid #cc0000;				
}
section.galleryEmbed .navigation .thumbs_container ul li img {
	transition: outline .2s;
	-moz-transition: outline .2s;
	-webkit-transition: outline .2s;
	-o-transition: outline .2s;
}
section.galleryEmbed .navigation .thumbs_container ul li.active img {
	-moz-box-sizing: border-box;
	-moz-box-shadow: inset 0 0 0 2px #cc0000;
	-webkit-box-shadow: inset 0 0 0 2px #cc0000;
	box-shadow: inset 0 0 0 2px #cc0000;
	outline: 1px solid #cc0000;
	padding: 1px;
}
section.galleryEmbed .navigation ul img{
	height: 100%;
	outline: 1px solid #C9CBD1;
}
@media screen and (max-width: 639px){
	section.galleryEmbed > .imagesCount{
		display: none;
	}
	section.galleryEmbed .navigation .thumbs_container ul{
		text-align: center;
	    width: 100%;
	    overflow-x: auto;
	}
	div.content  .navigation.cf ul > li{
		text-align: center;
		width: initial;
	}
	div.content ul li.thumb > a > img{
		display: none;
	}
	div.content  ul li > a > .circle{
		border-radius: 50%;
		width: 14px;
		height: 14px;
		border: 2px solid #80858C;
	}
	a.previous, a.next, a.gallNext, a.gallPrev{
		display: none;
	}
	section.galleryEmbed .navigation .thumbs_container{
		height: 50px;
		border-top: none;
    	padding-top: 0;
	}
	div.content  ul li.active .circle{
		background-color: #cc0000;
		border: none;
	}
	ul.imagesEmbed > li{
		width: 100%;
	}
	section.galleryEmbed .image ul {
		height: auto;
	}
	img.resizeControl{
		position: relative;
	    width: 100%;
		height: 100%;
		display: block !important;
		max-height: 410px;
		opacity: 0;
	}
	section.galleryEmbed .image ul li:not(.portrait) img {
    	width: 100%;
	}
	section.galleryEmbed .image ul li.portrait {
		height: 100%;
	}
	section.galleryEmbed .image ul li.portrait > a{
	    height: 100%;
	    width: 100%;
	    background-size: contain !important;
	    background-position: center !important;
	    display: block;
	}
	section.galleryEmbed .image ul li.portrait img{
		opacity: 0;
	}
	section.galleryEmbed .navigation{
		height: 40px;
	}
}
