.wp-polls .pollbar {
  background: none repeat scroll 0 0 #CE00DF;
  border: 1px solid #7E008F;
  box-shadow: 0 1px 1px #CCCCCC, 0 7px 5px -5px #FFFFFF inset;
  font-size: 6px;
  height: 8px;
  line-height: 8px;
  margin: 1px;
}

.wp-polls, .wp-polls-form {
  clear: both;
}

.wp-polls {
  margin: 10px;
  padding: 10px;
}

.wp-polls {
	margin:10px;
}

.wp-polls ul li:after, .wp-polls-ans ul li:after, #sidebar ul ul li:after {
  clear: both;
  content: ".";
  display: block;
  height:0;
  line-height:0;
  overflow:hidden;
  text-indent:-999em
}

.wp-polls p {
  margin: 0 0 1em;
}

.wp-polls ul, .wp-polls-ul, .wp-polls-ans ul {
  float: none;
  list-style: none outside none;
  margin: 0 0 10px;
  text-align: left;
}

.wp-polls ul li {
	position:relative;
}

.wp-polls .wp-polls-ul input {
  display: block;
  float: left;
  left: 3%;
  margin: 4px 8px 0 0;
  position: absolute;
  top: 0;
}

div#content .wp-polls label, .wp-polls label {
  cursor: pointer;
  display: block;
  margin: 0 0 3px;
  padding: 0 0 0 10%;
  transition: all 0.3s ease 0s;
}

div#content .wp-polls label:hover, .wp-polls label:hover {
	background: none repeat scroll 0 0 #CE00DF;
	color:#fff;
}

.wp-polls .Buttons {
  background-color: #CE00DF;
  border: 1px solid #8E009F;
  box-shadow: 0 1px 1px #CCCCCC;
  color: #FFFFFF;
  cursor: pointer;
  padding: 3px 5px;
  text-align: center;
  transition: all 0.3s ease 0s;
}

.wp-polls .Buttons:hover {
	border-radius:100px;
}

div#content .regular-content .wp-polls-form, div#content .wp-polls-form, .wp-polls-form {
  background: none repeat scroll 0 0 #FFFCFF;
  border: 1px solid #CCCCCC;
  margin: 0;
}

/* new attachments */

.attachments ul {
  margin: 0;
  padding: 0;
}

.attachments ul:after{
	content:'.';
	display:block;
	visibility:hidden;
	height:0;
	clear:both;
	line-height:0;
}

.attachments {
  border-bottom: 1px solid #CCCCCC;
  clear: both;
  margin: 0 0 10px;
  padding: 0 0 10px;
}

.data-design-thumbnail {
  float: left;
}

.the_body .attachment img {
	max-width:100%;
	width:100%;
	height:auto;
}

.attachment {
	position: relative;
}

.previous-image a, .next-image a{
  background: #FF00DF;
  background: rgba(255, 0, 200, 0.4);
  border-radius: 5px 0 0 5px;
  height: 50px;
  margin:-25px 0 0 0;
  line-height: 47px;
  padding: 2px 5px;
  position: absolute;
  right: 0;
  top: 50%;
  transition:all 0.3s;
  -webkit-transition:all 0.3s;
}

.previous-image a:hover , .next-image a:hover {
	background:rgba(255, 0, 200, 1);
}

.previous-image a{
	left:0;
	border-radius:0 5px 5px 0;
	right:auto;
}

.previous-image a, .next-image a {
  color: #FFFFFF;
  font-family: Trebuchet MS;
  font-size: 340%;
  font-weight: bold;
}

.set_shop_list {
  display: table;
  width: 100%;
}

.set_shop_list li {
  border-bottom: 1px dashed #EEEEEE;
  display: block;
  margin: 5px 0 0;
  padding: 0 0 7px;
}

.set_shop_list li:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  line-height: 0;
  visibility: hidden;
}

.set_shop_list li img {
  height: auto;
  width: 60px;
}

.set_shop_list .elem {
  border-bottom: 4px solid #BF03E0;
  display: block;
  float: left;
  font-size: 12px;
  height: 81px;
  line-height: 120%;
  margin: 0 3px 0 0;
  padding: 0;
  position: relative;
  text-align: center;
  width: 24%;
}

.set_shop_list .elem span {
  bottom: 2px;
  display: block;
  left: 0;
  position: absolute;
  width: 100%;
}

.set_shop_list .elem a {
	color:#BF03E0;
}

.elem.name-image {
  border: 0 none;
  bottom: -6px;
  height: 85px;
  margin: 0;
  text-transform: capitalize;
}

.imagesized img{
	height:auto
}

a.fiximage {
  display: block;
  height: auto;
  overflow: hidden;
  width: 100%;
}

#content .gallery.small .elastislide-wrapper {
	display:none;
}

#content .gallery.small .image-preview .img_big {
	display:block;
	opacity:1;
}

#content .gallery.small .image-preview {
  height: auto;
}

#content .gallery.small .image-preview .slider_title .image-link {
	position:relative;
	overflow:hidden;
}

#content .gallery.small .image-preview .image-link .slide-vignette {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.8) inset;
  left: 0;
  top: 0;
  transition:all 0.2s;
}

#content .gallery.small .image-preview .image-link:hover .slide-vignette {
	
  box-shadow: 0 0 80px 60px rgba(0, 0, 0, 0.8) inset;

}
#content .gallery.small .image-preview .image-link:hover .slide-vignette:after {
  background: url("images/control.png") no-repeat scroll -1px -148px rgba(0, 0, 0, 0);
  content: ".";
  display: block;
  height: 25px;
  left: 50%;
  margin: -12.5px 0 0 -12.5px;
  position: absolute;
  text-indent: -999em;
  top: 50%;
  width: 25px;
}


#content .gallery.small .image-preview .slider_title {
	position:relative;
	background: #FFFFFF;
	color: #2D2D2D;
	font-size: 18px;
	font-weight: bold;
	padding: 0;
	transition: all 0.2s ease-out 0s;
	text-shadow:none;
}

#content .gallery.small .image-preview .slider_title a {
	text-shadow:none;
	margin:9px 0;
	display:block;
}


#content .gallery.small  {
	background:none;
}

#content .gallery.small .image-preview .slider_title a:link {
	color: #2D2D2D;
}
#content .gallery.small .image-preview .slider_title .slider_desc a {
	color: #393939;
	font-size: 13px;
	margin: 9px 0 19px;
	font-weight:normal;
	font:13px/20.8px 'Open Sans','sans-serif';
}


/** pupupgallery **/

#popupoverlay {
    background: #000;
   background: rgba(0,0,0,0.9);
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999999;
}

#popupGallery .sliderContainer {
  margin: 0 auto;
  padding: 35px 0 0;
  width: 60%;
}

#popupGallery ul#popslider {
  margin: 0;
  overflow: hidden;
  padding: 0;

}

#popupGallery .bx-wrapper img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}

html.overlayed, .overlayed body {
	overflow:hidden;
	position:absolute;
	width:100%;
}

.popupClose {
  background: none repeat scroll 0 0 #BF03E0;
  border-radius: 30px;
  top: 20px;
  color: #FFFFFF;
  cursor: pointer;
  font-family: Verdana;
  font-size: 28px;
  font-weight: bold;
  height: 35px;
  line-height: 32px;
  position: absolute;
  right: 20px;
  text-align: center;
  width: 35px;
}

#popupGallery {
  height: 100%;
  overflow: auto;
}

#popupGallery .topBanner {
	width:720px;
	height:90px;
	margin:0 auto;
}

#popupGallery .midsection{
  border-top: 3px solid #BF03E0;
}

#popupGallery .rightBanner {
  height: 1200px;
  margin: 0 auto;
  padding: 0;
  width: 300px;
  overflow:hidden;
}
#popupGallery .rightBanner .ajax{
	height:100%;
}
#popupGallery .left {
  border-right: 3px solid #bf03e0;
  box-sizing: border-box;
  display: inline-block;
  float: left;
  margin: 0;
  position: relative;
  width: 70%;
}

#popupGallery .right {
  display: inline-block;
  float: right;
  min-width: 300px;
  width: 30%;
}

#popupGallery .bx-wrapper .bx-viewport {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  border: 0 none;
  box-shadow: 0 0 0;
  left: -5px;
  transform: translateZ(0px);
}

#popupGallery .bx-wrapper .bx-controls-direction a {
  height: 32px;
  margin-top: -16px;
  outline: 0 none;
  position: absolute;
  text-indent: -9999px;
  top: 50%;
  width: 32px;
  z-index: 9999;
}

#popupGallery .bx-wrapper .bx-controls-direction  .bx-next {
  left: auto;
  right:-50px;
}
#popupGallery .bx-wrapper .bx-controls-direction  .bx-prev {
  left: -50px;
  right:auto;
}

#popupGallery .bx-wrapper .bx-pager.bx-default-pager a {
  background: none repeat scroll 0 0 #8F00B0;
  border-radius: 5px;
  display: block;
  height: 10px;
  margin: 0 5px;
  outline: 0 none;
  text-indent: -9999px;
  width: 10px;
}

#popupGallery .bx-wrapper .bx-pager.bx-default-pager a:hover, #popupGallery .bx-wrapper .bx-pager.bx-default-pager a.active {
  background: none repeat scroll 0 0 #BF03E0;
}

#popupGallery li {
	text-align:center;
}

.adbanner.large {
  height: 100%;
  overflow: hidden;
}

#popupGallery h2 {
  color: #fff;
  margin: 0;
  padding: 15px 60px;
  text-align: center;
}

#popPager {
  margin: 10px 0 0;
  text-align: center;
}

#popPager li{
	display:inline-block;
}

#popPager li img {
  float: left;
  height: auto;
  margin: 0;
  width: 100%;
  transition:all 0.3s;
}
#popPager .page {
  border: 3px solid #fff;
  display: block;
  height: 110px;
  margin: 0 5px;
  overflow: hidden;
  position:relative;
  width: 110px;
  -webkit-transition:all 0.3s;
  transition:all 0.3s;
  cursor:pointer;
}

#popPager li:hover .page  {
  border: 3px solid #7F00A0;
}

#popPager .page.active  {
  border: 3px solid #BF03E0;
}

#popPager .page .gettyblock {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	cursor:pointer;
}

#popPager .getty.embed.image {
  height: 100%;
  text-indent: -999em;
}
/* very hackish!! */
#popPager .getty.embed.image > div:first-child {
  height: 150% !important;
  left: -50%;
  margin: 0 !important;
  padding: 63% !important;
  position: absolute !important;
  text-indent: -999em;
  top: -50%;
  width: 150% !important;
}

#popupGallery .bx-wrapper .bx-pager, #popupGallery .bx-wrapper .bx-controls-auto {
  background: none repeat scroll 0 0 #BF03E0;
  border: 1px solid #EF33FF;
  border-radius: 4px;
  bottom: auto;
  display: table-cell;
  height: 20px;
  left: 50%;
  line-height: 120%;
  margin-left: -65px;
  padding: 4px;
  position: absolute;
  text-align: left;
  top: -35px;
  transition: all 0.3s ease 0s;
  width: 130px;
}

#popupGallery .bx-wrapper .bx-controls-auto .bx-start {
  border-bottom: 10px solid transparent;
  border-left: 20px solid #FFFFFF;
  border-top: 10px solid transparent;
  background:transparent;
  display: block;
  height: 0;
  margin: 0 3px;
  outline: 0 none;
  position: relative;
  text-indent: -9999px;
  width: 0;
}

#popupGallery .bx-wrapper .bx-controls-auto .bx-start:after {
  color: #ffffff;
  content: "Start Slideshow";
  left: 0;
  padding: 0 5px;
  position: absolute;
  text-align: left;
  text-indent: 0;
  top: -9px;
  white-space: nowrap;
}

#popupGallery .bx-wrapper .bx-controls-auto .bx-stop {
background:transparent;
  border-left: 20px solid #FFFFFF;
  display: block;
  height: 20px;
  margin: 0 3px;
  outline: 0 none;
  text-indent: -9999px;
  width: 0;
  position: relative;
}

#popupGallery .bx-wrapper .bx-controls-auto .bx-stop:after {
  color: #FFFFFF;
  content: "Stop Slideshow";
  left: 0;
  padding: 0 5px;
  position: absolute;
  text-align: left;
  text-indent: 0;
  top: 1px;
  width: 300px;
}
#popupGallery .bx-wrapper .bx-pager, #popupGallery .bx-wrapper .bx-controls-auto:hover {
  background: none repeat scroll 0 0 #DF23FF;
}

#popupGallery .Gallery_texts {
	padding:0 10%;
  text-align: center;
  margin:5px 0 0;
}

#popupGallery .slideDesc {
  color: #fff;
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  width:100%;
  font-size: 120%;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
  text-align:center;
}

#popupGallery .slideDesc.active {
  display: block;
  max-height: 100px;
  opacity: 1;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}


a.image-link {
  display: inline-block;
  position: relative;
}

@media all and (max-width:1000px){
	#popupGallery .left {
		width:100%;
		float:none;
		border-right:0 none;
	}

	#popupGallery .right {
		float:none;
		width:100%;
	}
}

/** MENU TGCOM 24 FORZATURA RESPONSIVE **/

@media all and (max-width:959px){
	#header #tgcom24Menu {
		width:auto;
		height:auto;
	}
	#header #tgcom24Menu .logoTg {
		margin:0;
		background-size:100% auto;
		background-position:50% 50%;
	}

	#header #tgcom24Menu ul {
		font-size:11px;
	}
	
	#header #tgcom24Menu ul li {
		z-index:inherit;
	}
	
	#header #tgcom24Menu ul li a {
		padding:0 9px;
	}
	
	#tgcom24Menu ul li ul {
	  background: #001a42 none repeat scroll 0 0;
	  display: none;
	  left: 50%;
	  margin: 0 0 0 -66px;
	  position: absolute;
	  text-align: center;
	  width: 132px;
	  z-index:2;
	  top:100%;
	}
	
	#header #tgcom24Menu ul li:last-child {
		clear:right;
	}
	
	#tgcom24Menu ul::after {
	  clear: both;
	  content: "";
	  display: block;
	}
}

@media all and (max-width:767px){
	#header .headerTop.donne .logoDonne {
	  background-size: 100% auto;
	  width: 50%;
	}
	
	#header #tgcom24Menu ul {
		margin:0;
		background: #001a42;
		text-align:center;
	}
	
	#header #tgcom24Menu ul  li{
		display:inline-block;
	}
	
	#header #tgcom24Menu ul  li li {
		display:block;
	}
	
	#content .gallery.small {
	  width: auto;
	}
}
@media all and (max-width:620px){
	.textwidget > div {
	  height: auto !important;
	  max-width: 100% !important;
	}
}
@media all and (max-width:480px){
	#header #tgcom24Menu ul {
	  font-size: 1rem;
	  line-height: 1.6rem;
	  text-align: center;
	}
	
	#header #tgcom24Menu ul li{
		float:none;
	}
	
	#header #tgcom24Menu .logoTg {
	  float: none;
	}
	
	#header #tgcom24Menu ul li ul{
		display:none;
	}
}

/** FINE MENU TGCOM 24 FORZATURA RESPONSIVE **/

@media all and (max-width:720px){
	#popupGallery .topBanner {
		display:none;
		height:0;
	}
}

@media all and (max-width:640px){
	#popupGallery .left {
	  float: none;
	}
	#popupGallery .bx-wrapper .bx-viewport {
		left:0;
	}
	#popupGallery .sliderContainer {
	  margin: 0 auto;
	  padding: 35px 0 0;
	  width: 90%;
	}
	
	#popupGallery .bx-wrapper .bx-controls-direction .bx-prev {
	  left: 5px;
	  right: auto;
	}
	#popupGallery .bx-wrapper .bx-controls-direction .bx-next {
	  left: auto;
	  right: 5px;
	}
	
	#popPager li img {
		width:70px;
	}
	#popupGallery h2 {
	  color: #fff;
	  font-size: 170%;
	  margin: 0;
	  padding: 60px 5px 10px;
	  text-align: center;
	}
	
	
	/** altri fix **/ 
	#content {
		margin:0;
		overflow-x:hidden;
	}
	div#content .regular-content .related-box .related-content, div#content .regular-content .related-box .related-content img {
	  display: block;
	  float: none;
	  height: auto;
	  margin: 0 auto 20px;
	  text-align: center;
	  width: auto;
	}
	#footerHF2011, .f_Mset {
		min-height:300px;
		height:auto;
	}
	
	body .wrap_container {
	  width: 100%;
	  padding: 0 10px;
	  box-sizing: border-box;
	}
	
	#blog-container > .container {
		width:auto;
	}
	
	.wrap_container div#content .content-preview, .wrap_container div#content .archive-preview {
	  float: none;
	  margin: 0 0 30px;
	  padding:0 0 10px;
	  border-bottom:1px solid #eee;
	  width: auto;
	}
	
	.fb-comments.fb_iframe_widget,
	.fb-comments.fb_iframe_widget > span,
	.fb-comments.fb_iframe_widget iframe{
		width:100% !important;
		max-width:100% !important;
	}
	
	.addthis_counter_style.addthissync.singlestandard {
	  padding: 5px;
	  width: 100%;
	  box-sizing: border-box;
	}
}

.elastislide-horizontal ul li {
  border-bottom: 1px solid #e4e4e4;
  display: inline-block;
  height: 100%;
  vertical-align: top;
}

