body {
	color: #000000;
	font-family: Helvetica,arial,sans-serif;
	margin: 0;
	text-align: left;
	background-color: #FFF;
}

#pagewrap {
	width: 100%;
	background-color: #FFF;
	margin-top: 20px;
}

/*Time for the CSS*/
@media only screen and (min-width: 50px) and (max-width: 500px) { 
.slider{
	position: relative;
	/*Instead of height we will use padding*/
	padding-top: 350px;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
}
.slider label {
	width: 40px;
}
}

@media only screen and (min-width: 501px) and (max-width: 5000px) { 
.slider{
	position: relative;
	/*Instead of height we will use padding*/
	padding-top: 650px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
}
.slider label {
	width: 60px;
}
}

/*Last thing remaining is to add transitions*/
.slider>img{
position: absolute;
left: 0; top: 0;
transition: all 0.5s;
width: 600px;
}
.slider input[name='slide_switch'] {
display: none;
}
.slider label {

	float: left;
	cursor: pointer;
	transition: all 0.5s;
	/*Default style = low opacity*/
	opacity: 0.6;
	margin-top: 15px;
	margin-right: 5px;
	margin-bottom: 0;
	margin-left: 0px;
}
.slider label img{
display: block;
}
/*Time to add the click effects*/
.slider input[name='slide_switch']:checked+label {
border-color: #666;
opacity: 1;
}
/*Clicking any thumbnail now should change its opacity(style)*/
/*Time to work on the main images*/
.slider input[name='slide_switch'] ~ img {
opacity: 0;
transform: scale(1.1);
}
/*That hides all main images at a 110% size
On click the images will be displayed at normal size to complete the effect
*/
.slider input[name='slide_switch']:checked+label+img {
opacity: 1;
transform: scale(1);
}
/*Clicking on any thumbnail now should activate the image related to it*/
/*We are done :)*/








header {
  height: auto;
}
header h1{
	font-family: 'Roboto', sans-serif;
	font-size: 30px;
	color: #FFF;
	text-decoration: none;
	background-color: #000;
	padding: 10px;
}

#contenuto {
  padding: 15px;
}

#middle {
	clear: left;
	width: 100%;
	padding: 0px;
}




#sidebar {
  width: 100%;
  padding: 15px;
}

footer {
  clear: both;
  padding: 0 15px;
}


/************************************************************************************
MEDIA QUERIES
*************************************************************************************/


/* for 980px or less */

@media screen and (max-width: 980px) {
  #pagewrap {
	width: 100%;
  }
  #contenuto {
	padding: 1% 4%;
  }
  #middle {
	width: 100%;
	margin: 0px 0px 5px 5px;
	float: right;
  }
  #sidebar {
	clear: both;
	padding: 1% 4%;
	width: auto;
	float: none;
  }
  header,
  footer {
	padding: 1% 4%;
  }
}


/* for 700px or less */

@media screen and (max-width: 600px) {
  #contenuto {
	width: auto;
	float: none;
  }
  #middle {
	width: auto;
	float: none;
	margin-left: 0px;
  }
  #sidebar {
	width: auto;
	float: none;
  }
}


/* for 480px or less */

@media screen and (max-width: 480px) {
  header {
	height: auto;
  }
  h1 {
	font-size: 2em;
  }
  #sidebar {
	width: auto;
	float: none;
  }
}

#contenuto {
  background: #fff;
}

#sidebar {
  background: #ffffff;
}

header,
#contenuto,
#middle,
#sidebar {
  margin-bottom: 5px;
}



#middle,
#sidebar {
  border: solid 1px #ccc;
}


.gallery .control-operator:target ~ .controls .control-button {
  color: #ccc;
}


.gallery .control-button:first-of-type,
.gallery .control-operator:nth-of-type(1):target ~ .controls .control-button:nth-of-type(1),
.gallery .control-operator:nth-of-type(2):target ~ .controls .control-button:nth-of-type(2),
.gallery .control-operator:nth-of-type(3):target ~ .controls .control-button:nth-of-type(3),
.gallery .control-operator:nth-of-type(4):target ~ .controls .control-button:nth-of-type(4),
.gallery .control-operator:nth-of-type(5):target ~ .controls .control-button:nth-of-type(5),
.gallery .control-operator:nth-of-type(5):target ~ .controls .control-button:nth-of-type(6),
.gallery .control-operator:nth-of-type(5):target ~ .controls .control-button:nth-of-type(6),
.gallery .control-operator:nth-of-type(5):target ~ .controls .control-button:nth-of-type(7),
.gallery .control-operator:nth-of-type(5):target ~ .controls .control-button:nth-of-type(8),
.gallery .control-operator:nth-of-type(5):target ~ .controls .control-button:nth-of-type(9),
.gallery .control-operator:nth-of-type(5):target ~ .controls .control-button:nth-of-type(10),
.gallery .control-operator:nth-of-type(5):target ~ .controls .control-button:nth-of-type(11),
.gallery .control-operator:nth-of-type(5):target ~ .controls .control-button:nth-of-type(12),
.gallery .control-operator:nth-of-type(5):target ~ .controls .control-button:nth-of-type(13) {
	color: #5C5C5C;
}

.gallery .item:first-of-type {
  position: static;
  pointer-events: auto;
  opacity: 1;
}

.gallery .img-responsive {
	border: 1px double #8E8E8E;
    display: block;
    max-width: 100%;
    height: auto;
}



.gallery .item {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s;
}

.gallery .control-operator {
  display: none;
}

.gallery .control-operator:target ~ .item {
  pointer-events: none;
  opacity: 0;
  -webkit-animation: none;
  -o-animation: none;
  animation: none;
}

.gallery .control-operator:target ~ .controls .control-button {
  -webkit-animation: none;
  -o-animation: none;
  animation: none;
}

@-webkit-keyframes controlAnimation-2 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  14.3%, 50% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  64.3%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-2 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  14.3%, 50% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  64.3%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-2 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  14.3%, 50% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  64.3%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-2 {
  0% {
    opacity: 0;
  }

  14.3%, 50% {
    opacity: 1;
  }

  64.3%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-2 {
  0% {
    opacity: 0;
  }

  14.3%, 50% {
    opacity: 1;
  }

  64.3%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-2 {
  0% {
    opacity: 0;
  }

  14.3%, 50% {
    opacity: 1;
  }

  64.3%, 100% {
    opacity: 0;
  }
}

.gallery .control-operator:nth-of-type(1):target ~ .item:nth-of-type(1) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(2):target ~ .item:nth-of-type(2) {
  pointer-events: auto;
  opacity: 1;
}

.items-2.autoplay .control-button {
  -webkit-animation: controlAnimation-2 14s infinite;
  -o-animation: controlAnimation-2 14s infinite;
  animation: controlAnimation-2 14s infinite;
}

.items-2.autoplay .item {
  -webkit-animation: galleryAnimation-2 14s infinite;
  -o-animation: galleryAnimation-2 14s infinite;
  animation: galleryAnimation-2 14s infinite;
}

.items-2 .control-button:nth-of-type(1),
.items-2 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-2 .control-button:nth-of-type(2),
.items-2 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

@-webkit-keyframes controlAnimation-3 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  9.5%, 33.3% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  42.9%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-3 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  9.5%, 33.3% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  42.9%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-3 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  9.5%, 33.3% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  42.9%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-3 {
  0% {
    opacity: 0;
  }

  9.5%, 33.3% {
    opacity: 1;
  }

  42.9%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-3 {
  0% {
    opacity: 0;
  }

  9.5%, 33.3% {
    opacity: 1;
  }

  42.9%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-3 {
  0% {
    opacity: 0;
  }

  9.5%, 33.3% {
    opacity: 1;
  }

  42.9%, 100% {
    opacity: 0;
  }
}

.gallery .control-operator:nth-of-type(1):target ~ .item:nth-of-type(1) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(2):target ~ .item:nth-of-type(2) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(3):target ~ .item:nth-of-type(3) {
  pointer-events: auto;
  opacity: 1;
}

.items-3.autoplay .control-button {
  -webkit-animation: controlAnimation-3 21s infinite;
  -o-animation: controlAnimation-3 21s infinite;
  animation: controlAnimation-3 21s infinite;
}

.items-3.autoplay .item {
  -webkit-animation: galleryAnimation-3 21s infinite;
  -o-animation: galleryAnimation-3 21s infinite;
  animation: galleryAnimation-3 21s infinite;
}

.items-3 .control-button:nth-of-type(1),
.items-3 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-3 .control-button:nth-of-type(2),
.items-3 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-3 .control-button:nth-of-type(3),
.items-3 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

@-webkit-keyframes controlAnimation-4 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  7.1%, 25% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  32.1%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-4 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  7.1%, 25% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  32.1%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-4 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  7.1%, 25% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  32.1%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-4 {
  0% {
    opacity: 0;
  }

  7.1%, 25% {
    opacity: 1;
  }

  32.1%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-4 {
  0% {
    opacity: 0;
  }

  7.1%, 25% {
    opacity: 1;
  }

  32.1%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-4 {
  0% {
    opacity: 0;
  }

  7.1%, 25% {
    opacity: 1;
  }

  32.1%, 100% {
    opacity: 0;
  }
}

.gallery .control-operator:nth-of-type(1):target ~ .item:nth-of-type(1) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(2):target ~ .item:nth-of-type(2) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(3):target ~ .item:nth-of-type(3) {
  pointer-events: auto;
  opacity: 1;
}
.gallery .control-operator:nth-of-type(4):target ~ .item:nth-of-type(4) {
  pointer-events: auto;
  opacity: 1;
}

.gallery .control-operator:nth-of-type(5):target ~ .item:nth-of-type(5) {
  pointer-events: auto;
  opacity: 1;
}
.gallery .control-operator:nth-of-type(6):target ~ .item:nth-of-type(6) {
  pointer-events: auto;
  opacity: 1;
}
.gallery .control-operator:nth-of-type(7):target ~ .item:nth-of-type(7) {
  pointer-events: auto;
  opacity: 1;
}

.items-4.autoplay .control-button {
  -webkit-animation: controlAnimation-4 28s infinite;
  -o-animation: controlAnimation-4 28s infinite;
  animation: controlAnimation-4 28s infinite;
}

.items-4.autoplay .item {
  -webkit-animation: galleryAnimation-4 28s infinite;
  -o-animation: galleryAnimation-4 28s infinite;
  animation: galleryAnimation-4 28s infinite;
}

.items-4 .control-button:nth-of-type(1),
.items-4 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-4 .control-button:nth-of-type(2),
.items-4 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-4 .control-button:nth-of-type(3),
.items-4 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

.items-4 .control-button:nth-of-type(4),
.items-4 .item:nth-of-type(4) {
  -webkit-animation-delay: 19s;
  -o-animation-delay: 19s;
  animation-delay: 19s;
}

@-webkit-keyframes controlAnimation-5 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-o-keyframes controlAnimation-5 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes controlAnimation-5 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%, 20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%, 100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@-webkit-keyframes galleryAnimation-5 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@-o-keyframes galleryAnimation-5 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

@keyframes galleryAnimation-5 {
  0% {
    opacity: 0;
  }

  5.7%, 20% {
    opacity: 1;
  }

  25.7%, 100% {
    opacity: 0;
  }
}

.gallery .control-operator:nth-of-type(1):target ~ .item:nth-of-type(1) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}

.gallery .control-operator:nth-of-type(2):target ~ .item:nth-of-type(2) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}

.gallery .control-operator:nth-of-type(3):target ~ .item:nth-of-type(3) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}

.gallery .control-operator:nth-of-type(4):target ~ .item:nth-of-type(4) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}

.gallery .control-operator:nth-of-type(5):target ~ .item:nth-of-type(5) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}
.gallery .control-operator:nth-of-type(5):target ~ .item:nth-of-type(6) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}
.gallery .control-operator:nth-of-type(5):target ~ .item:nth-of-type(7) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}
.gallery .control-operator:nth-of-type(5):target ~ .item:nth-of-type(8) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}
.gallery .control-operator:nth-of-type(5):target ~ .item:nth-of-type(9) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}
.gallery .control-operator:nth-of-type(5):target ~ .item:nth-of-type(10) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}
.gallery .control-operator:nth-of-type(5):target ~ .item:nth-of-type(11) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}
.gallery .control-operator:nth-of-type(5):target ~ .item:nth-of-type(12) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}
.gallery .control-operator:nth-of-type(5):target ~ .item:nth-of-type(13) {
  pointer-events: auto;
  opacity: 1;
  float: left;
  width: 100%;
}

.items-5.autoplay .control-button {
  -webkit-animation: controlAnimation-5 35s infinite;
  -o-animation: controlAnimation-5 35s infinite;
  animation: controlAnimation-5 35s infinite;
}

.items-5.autoplay .item {
  -webkit-animation: galleryAnimation-5 35s infinite;
  -o-animation: galleryAnimation-5 35s infinite;
  animation: galleryAnimation-5 35s infinite;
}

.items-5 .control-button:nth-of-type(1),
.items-5 .item:nth-of-type(1) {
  -webkit-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.items-5 .control-button:nth-of-type(2),
.items-5 .item:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  -o-animation-delay: 5s;
  animation-delay: 5s;
}

.items-5 .control-button:nth-of-type(3),
.items-5 .item:nth-of-type(3) {
  -webkit-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

.items-5 .control-button:nth-of-type(4),
.items-5 .item:nth-of-type(4) {
  -webkit-animation-delay: 19s;
  -o-animation-delay: 19s;
  animation-delay: 19s;
}

.items-5 .control-button:nth-of-type(5),
.items-5 .item:nth-of-type(5) {
  -webkit-animation-delay: 26s;
  -o-animation-delay: 26s;
  animation-delay: 26s;
}

.gallery .control-button {
  color: #ccc;
  color: rgba(255, 255, 255, 0.4);
}

.gallery .control-button:hover {
  color: white;
  color: rgba(255, 255, 255, 0.8);
}

/*
	Theme controls how everything looks in Gallery CSS.
*/

.gallery {
  position: relative;
}

.gallery .item {
  height: auto;
  float:left;
  width: 100%;
}

.gallery .controls {
}

.gallery .control-button {
	display: inline-block;
	margin: 0 .02em;
	font-size: 15px;
	text-align: center;
	text-decoration: none;
	-webkit-transition: color .1s;
	-o-transition: color .1s;
	transition: color .1s;
	color: #6F6F6F;
}
@media only screen and (min-width: 500px) and (max-width: 4000px) { 
#middle h1{
	font-family: 'Roboto', sans-serif;
	font-size: 30px;
	color: #FFF;
	text-decoration: none;
	background-color: #000;
	padding: 10px;
	margin-top: 0px;
}

#middle h2{
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	color: #000;
	text-decoration: none;
	line-height: 16px;
	font-weight: normal;
	padding: 10px;
}

main {
	min-width: auto;
	max-width: 100%;
	background: #fff;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}

tabs {
	display: none;
	padding: 20px 0 0;
	border-top: 1px solid #ddd;
	font-family: 'Roboto', sans-serif;
}
#sidebar input {
  display: none;
}

label {
	display: inline-block;
	margin: 0 0 -1px;
	padding: 10px 15px;
	font-weight: 600;
	text-align: center;
	color: #ccc;
	border: 1px solid transparent;
	font-family: 'Roboto', sans-serif;
	text-decoration: none;
}

label:hover {
  color: #ccc;
  cursor: pointer;
}

input:checked + label {
	color: #000;
	border-top-width: 2px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #000;
	border-right-color: #ddd;
	border-bottom-color: #fff;
	border-left-color: #ddd;
}

#tab1:checked ~ #contenuto1,
#tab2:checked ~ #contenuto2,
#tab3:checked ~ #contenuto3,
#tab4:checked ~ #contenuto4,
#tab5:checked ~ #contenuto5,
#tab6:checked ~ #contenuto6
{
  display: block;
}


}

@media only screen and (min-width: 50px) and (max-width: 500px) { 
#middle h1{
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	color: #FFF;
	text-decoration: none;
	background-color: #000;
	padding: 10px;
	margin-top: 0px;
}

#middle h2{
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	color: #000;
	text-decoration: none;
	line-height: 18px;
	font-weight: normal;
	padding: 10px;
}

main {
	min-width: auto;
	max-width: 100%;
	background: #fff;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}

tabs {
	display: none;
	padding: 20px 0 0;
	border-top: 1px solid #ddd;
	font-family: 'Roboto', sans-serif;
}
input {
  display: none;
}

label {
	display: inline-block;
	margin: 0 0 -1px;
	padding: 5px 5px;
	font-weight: normal;
	text-align: center;
	color: #bbb;
	border: 1px solid transparent;
	font-family: 'Roboto', sans-serif;
	text-decoration: none;
	font-size: 14px;
}

label:hover {
  color: #888;
  cursor: pointer;
}

input:checked + label {
	color: #555;
	border-top-width: 2px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #040404;
	border-right-color: #ddd;
	border-bottom-color: #fff;
	border-left-color: #ddd;
}

#tab1:checked ~ #contenuto1,
#tab2:checked ~ #contenuto2,
#tab3:checked ~ #contenuto3,
#tab4:checked ~ #contenuto4,
#tab5:checked ~ #contenuto5,
#tab6:checked ~ #contenuto6
{
  display: block;
}


}

@media only screen and (min-width: 50px) and (max-width: 500px) { 
.menuinalto{
	font-family: 'Roboto', sans-serif;
	display: block;
	background-color: #000;
	padding: 2px;
	color: #FFF;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-left: 0px;
	border-right-style: none;
	border-top-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

.gallery .controls .control-button
{
	
	margin: 2px;
	padding: 3px;
}
}
@media only screen and (min-width: 501px) and (max-width: 4000px) { 
.menuinalto{
	font-family: 'Roboto', sans-serif;
	display: block;
	background-color: #000;
	padding: 2px;
	color: #FFF;
	margin-top: 0px;
	margin-bottom: 2px;
	margin-left: 0px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #FFF;
}

.gallery .controls .control-button
{
	
	padding: 3px;
	margin-top: 10px;
	margin-right: 2px;
	margin-bottom: 4px;
	margin-left: 0px;
	width:10%;
}
}
@media only screen and (min-width: 1000px) and (max-width: 4000px) { 
.colonnasinistra
{

}
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #fff;
    background-color: #000;
}
.nav > li > a {
	color: #040404;
}
.divsinistra
{
	border: 1px double #C0C0C0;
	padding: 5px;
	margin-bottom: 10px;
	background-color: #FFF;
	margin-top: 20px;
}

.intestazionesin {
    color: #fff;
    background-color: #000;
    border-radius: 4px;
    position: relative;
    display: block;
    padding: 10px 15px;
}
.language_flag{
	display:none;}

.intestazionedesc{
	display:none;}

.descappebay{
	display:none;}
}
@media only screen and (min-width: 50px) and (max-width: 999px) { 
.colonnasinistra
{
	display: none;
}
.language_flag{
	display:none;}

.intestazionedesc{
	display:none;}

.descappebay{
	display:none;}
	
	.gallery .controls .control-button
{
	
	padding: 3px;
	margin-top: 10px;
	margin-right: 2px;
	margin-bottom: 4px;
	margin-left: 0px;
	width:20%;
}
}



.testosin{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #000;
	text-decoration: none;
	line-height: 16px;
	padding: 5px;
}
.tablinguette{
	font-family: 'Roboto', sans-serif;
	color: #1E1E1E;
}
.linguetteleft{
	float:left;
}