@charset "utf-8";
@import "bootstrap-1.css";
/* CSS Document */
@font-face {
    font-family: 'nexa_boldregular';
    src: url('../ff/nexa_bold-webfont.eot');
    src: url('../ff/nexa_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../ff/nexa_bold-webfont.woff') format('woff'),
         url('../ff/nexa_bold-webfont.ttf') format('truetype'),
         url('../ff/nexa_bold-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nexa_lightregular';
    src: url("../ff/nexa_light-webfont.eot");
    src: url('../ff/nexa_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../ff/nexa_light-webfont.woff') format('woff'),
         url('../ff/nexa_light-webfont.ttf') format('truetype'),
         url('../ff/nexa_light-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}
html{
	color: #FFFFFF;
	font-family: "Century Gothic";
	
	}
body{
	width:100%;
	}
 
@-webkit-keyframes animateleft {
  from {
    left: -300px;
    opacity: 0;
  }
  to {
    left: 0;
    opacity: 1;
  }
}

@keyframes animateleft {
  from {
    left: -300px;
    opacity: 0;
  }
  to {
    left: 0;
    opacity: 1;
  }
}
#err{
	padding:10px;
	background-color:red;
	color:white;
}

#main-wide {
	width: 100%;
	height: 188px;
	/*margin-top: -70px;*/
	
	background-color: #FFBE00;
	/*background-image: url(../img/coding.gif);*/
	background-size: cover;
	background-repeat: no-repeat;
	-webkit-box-shadow: 16px 19px 30px 25px #C4C4C4;
	box-shadow: 16px 19px 30px 25px #C4C4C4;
	background-image: -webkit-linear-gradient(270deg,rgba(255,190,0,1.00) 0%,rgba(255,190,0,1.00) 97.92%,rgba(146,146,146,1.00) 100%);
	background-image: -moz-linear-gradient(270deg,rgba(255,190,0,1.00) 0%,rgba(255,190,0,1.00) 97.92%,rgba(146,146,146,1.00) 100%);
	background-image: -o-linear-gradient(270deg,rgba(255,190,0,1.00) 0%,rgba(255,190,0,1.00) 97.92%,rgba(146,146,146,1.00) 100%);
	background-image: linear-gradient(180deg,rgba(255,190,0,1.00) 0%,rgba(255,190,0,1.00) 97.92%,rgba(146,146,146,1.00) 100%);
	z-index: -1000;
	position: relative;
} 
#main-wide-slider {
	width: 100%;
	height: 370px;
	margin-top: 0px;
	background-color: #FFBE00;
	/*background-image: url(../img/coding.gif);*/
	background-size: cover;
	background-repeat: no-repeat;
	-webkit-box-shadow: 16px 19px 30px 46px #C4C4C4;
	box-shadow: 16px 19px 30px 25px #C4C4C4;
	background-image: -webkit-linear-gradient(270deg,rgba(255,190,0,1.00) 0%,rgba(255,190,0,1.00) 97.92%,rgba(146,146,146,1.00) 100%);
	background-image: -moz-linear-gradient(270deg,rgba(255,190,0,1.00) 0%,rgba(255,190,0,1.00) 97.92%,rgba(146,146,146,1.00) 100%);
	background-image: -o-linear-gradient(270deg,rgba(255,190,0,1.00) 0%,rgba(255,190,0,1.00) 97.92%,rgba(146,146,146,1.00) 100%);
	background-image: linear-gradient(180deg,rgba(255,190,0,1.00) 0%,rgba(255,190,0,1.00) 97.92%,rgba(146,146,146,1.00) 100%);
	position: relative;
	z-index: 0;	
} 
#logo-index{
	width:960;
	margin: 0 auto;
	color: #4A4A4A;
	display:none;
	} 
#labelbutton{
	border: 1px solid #646464;
	border-radius: 3px;
	padding:2px;
	background-color: #e7e7e7;	
}
#labelbutton:hover {
	background-color: #D6D6D6;	
}


#img-logo{
	margin-top: 20px; 
	padding-left: 10px;
	z-index:199;
}
#img-logo-home{
	display:none;
}
#main {
	width: 960px;
	margin: 0 auto;
	color: #4A4A4A;
	} 	
#main-annunci {
	width: 960px;
	margin: 0 auto;
	color: #4A4A4A;
	margin-top:-20px;
	} 	
#main-logo {
	width: 960px;
	margin: 0 auto;
	color: #4A4A4A;
	} 	

#main-one {
	width: 960px;
	margin: 0 auto;
	float: left;
	} 	
#main-two {
	width: 600px;	
	color: #4A4A4A;	
	float: left;
	} 	

#mysidebar{	
	width:260px;
	float: left;	
	}
#colonna1-annuncio{	
	width:45%;
	background-color:white;	
	color: #4A4A4A;	
	float: left;
	} 	

#colonna2-annuncio{	
	width:58%;
	margin-left: -40px;
	background-color:white;
	padding-top:10px;
	padding-right: 10px;
	float: left;	
	}

#btnproposte{
	width: 280px;
	height: 120px;
	background-color: #FFBE00;
	padding: 10px;
	margin-top: 10px;
	border: 2px double #DCDCDC;
	border-radius: 2px;
}
#btnproposte:hover{
	background-color: #CBCBCB;

}
	
#footer{
	width: 100%;
	height: auto;
	margin-right: auto;
	padding-top: 30px;
	margin-bottom: 0;
	margin-top: 5px;
	background-color: #7B7B7B;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 1;
	float: left;
	/*position: fixed;*/
	left: 0;
	bottom: 0;
	text-align: center;
}
#footer-content{
	width: 960px;
	height: 200px;
	margin:0 auto;
	color:black;
	margin-top: 1px;	
	}
#div-testo{
	margin: 0 auto;
	text-align: justify;
	text-indent: 0px;
	
	}
#div_wide{
	width: 1200px;
	margin: 0 auto;
	padding-top: 0px;
	text-align: justify;
	text-indent: 0px;
	padding-right: 38px;
	padding-bottom: 38px;
	padding-left: 38px;
	background-color:blue;
	
}
#band{
	width: 100%;
	height: 89px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0;
	opacity: 0.8;
	margin-top: -89px;
	background-color: #ACD0E7;
	color: #294EDF;
	font-size: 30px;
	padding-left: 295px;
	}
#div-centrato{
	width: 100%;
	margin: 0 auto;
	padding-top: 25px;
	background-color:grey;
	}
	
#spazio{
	height: 64px;
	background-color:purple;
}


#img-marchio{
	width: 181px;
	margin-right: 39px;
	-webkit-box-shadow: 2px 2px 3px;
	box-shadow: 2px 2px 3px;
	}
#img-ico{
	margin-bottom: 6px;
	
	}	
#unmenu{
	text-align: center;
	opacity: 1;
	font-weight: 400;
	font-size: small;
	border: thin ridge #676981;
	height: 70px;
	margin-top: -12px;
	background-color: #2C323F;
	color: #FFFFFF;
	line-height: 52px;
	width: 114px;
	display: block;
	padding: 8px 16px;
	text-decoration: none;
	} 


#div-maps{
	float: none;
	display: inline;
	margin-left: 88px;
	padding-top: 1px;
	margin-top: 1px;

	}
	
	/*FONTS*/
	/*testo generico piccolo*/
	/*h1
	{
	font-size: medium;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	font-family: open-sans;
	font-weight: normal;
	line-height: 30px;
	text-align: left;
	}*/

h1{
	font-family: 'Open Sans', sans-serif;
	font-family: "Century Gothic";
	font-size: 15px;
	line-height: 26px;
	font-weight: 400;
	width: 100%;
	float: left;
	clear: both;
	margin: 0 0 40px 0;
	font-style: normal;
	text-transform: none;
}


	/*testo medio per titoli capoversi*/
	h1italic
		{
	font-size: large;
	font-family: "Century Gothic";
	font-weight: lighter;
	line-height: 30px;
	text-align: left;
	font-style: italic;	
	}
	h2
		{
	font-size: large;
	font-family: "Century Gothic";
	font-weight: normal;
	line-height: 30px;
	text-align: left;
	}
	

	/*testo mediogrande per titoli sezioni*/
	h4
	{
	font-size: x-large;
	font-weight: normal;
	}
	h3
	{
	font-family: "Century Gothic";
	font-size: 26px;
	line-height: 41px;
	float: left;
	width: 100%;
	text-align: center;
	color: #5F5F5F;
	font-weight: 400;
	letter-spacing: 0.5px;	
	
		}
	h30
		{
	font-size: 25px;
	font-family: "Century Gothic";
	font-weight: 600;
	font-style: normal;
	/*font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;*/
	font-style: normal;
	font-weight: 600;
	text-align: center;
	line-height: 33px;
	}
	/*testo molto grande */
	h4
	{
	}

h50 {
	font-style: normal;
	font-family: allura;
	font-size: 58px;
	font-weight: 400;
	color: #FFFFFF;
	text-shadow: 0.5px 0.5px 1px #2B2B2B;
	font-variant: normal;
	text-indent: 19px;
	float: none;
	clear: none;
	width: 659px;
	line-height: 52px;
}
h60 {
	font-family: 'nexa_lightregular', Helvetica, Arial, sans-serif;
	text-shadow: -1px 0px 1px rgba(0,0,0,.33);
	font-size: 25px;
	color: #FFFFFF;
	/*text-shadow: 0.5px 0.5px 0.5px #737373;*/
	text-indent: 18px;
	top: 1423px;
	padding-top: 0px;
	margin-top: -114px;
	/*font-family: poiret-one;*/
	font-style: normal;
	/*font-weight: 400;*/
	text-align: left;
	text-decoration: none;
}
	

	
ul{
	 list-style-image: url('../img/ico/checkbox.png');	
	}
td{
	width: 312px;
	padding-top: 10px;
	padding-right: 69px;
	padding-bottom: 31px;
	padding-left: 69px;
	}
table{
	margin-left:20px;		
	}
th{
	text-align:center;
  }
#divtable{
	float: left;	
	width: 15vw;
	height: auto;
	margin-top: 21px;
	margin-left: 10px;
	/*-webkit-box-shadow: 0px 2px 4px #000000;
	box-shadow: 0px 2px 4px #000000;	*/
}	
#divtable img {
	width: 100%;
	height: auto;
	
}
#divspazio{
	height: 7vh;
}
#divspazione{
	margin-bottom: 30px;
}
#iframio{
	margin-top: 1px;

}
.fade-effect1,.fade-effect2{
    display:block;
    border:none;
    color:white;
    height:1px;
    background:#6A6A6A;
    background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 350, from(#6A6A6A), to(#fff));
}
.fade-effect2{
	margin-top: 280px;
	width: 100%; 
}

#parambox{
	width: 100%;
	height: 200px;
	margin-top: -20px;
	padding: 10px;
	background-color: white;
	border-left: 1px solid #d0d0d0;
	border-right: 1px solid #d0d0d0;
	border: 1px solid #d0d0d0;
	-webkit-box-shadow: 0px 2px 12px 14px #d0d0d0;
	box-shadow:  0px 2px 12px -4px #d0d0d0;
}
#colonna1{
	float:left;
	width:32%;
	padding:10px;
	margin-left:10px;
	height: 110px;
}
#colonna2{
	float:left;
	width:40%;
	padding:10px;
	margin-left:10px;
	height: 110px;
}
#colonna3{
	float:left;
	width:25%;
	padding:10px;
	margin-left:1px;
	height: 110px;
}

#prezzo,#mq{
	border: thin solid #FFBE00;
	width:30%;
	height:20px;	
	text-align:right;
}
#droppo{
	border: thin solid #FFBE00;
	float: right;
	width:50%;

}
#previewbox{
	width : 21%;
	height: 350px;	
	display: block;
	margin-top: 10px;
	margin-left: 19px;
	margin-right: 19px;
	float: left;
	border: 3px double #d0d0d0;
	border-radius: 8px;
	padding-left: 0px;
	overflow-y:auto;	
	overflow-x:hidden;		
/*	background-color:white;
-webkit-box-shadow: 5px 5px 15px 5px #838383; 
box-shadow: 5px 5px 15px 5px #838383;*/
	
}
#previewtesto{
	width: 90%;
	margin-left: 7%;
	float: left;
	clear: left;
	overflow-y: hidden;	
}

#invendita {
 	position: absolute;
}


/*/----------------------------------------------VISUALIZZATORE FOTO------------------------------------------------------------------------------------------------------------*/
#fotobig{
/*	display: block;
	margin-left: auto;
	margin-right: auto;*/
	max-height: 70vh;
	width: auto;
	float: none;
	clear: none;
	opacity: 1;
	padding: 1vh;
	border: 0.5px solid #BCBCBC;
	background-color: white;
	border-radius: 5px;
	
}
.fotorow{	
	padding: 5px;
	/*width:120px;
	height:120px;*/
	width:15vh;
	height:15vh;
	
	
	object-fit: cover;
	float:left;		
	overflow: hidden;	
	
}


.imgrow {
  overflow: auto;
  white-space:nowrap;
  width: 80%;  
  margin-left:10%;
  position: fixed;
  bottom: 0;
	
}
.imgitem {
  padding: 2vh;
  border: 0.5px solid #BCBCBC;
  display: inline-block;
  vertical-align:top;
  margin-right: 10px;
  white-space:normal;
}

#freccia{
position :fixed;
}



.centro-pagine-fotobig {
	position: absolute;
	top: 30%;
	left: 50%;
	-moz-transform: translateX(-50%) translateY(-35%);
	-webkit-transform: translateX(-50%) translateY(-35%);
	transform: translateX(-50%) translateY(-35%);
}

.centro-pagine {
	position: absolute;
	top: 50%;
	left: 50%;
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
/*/----------------------------------------------------------------------------------------------------------------------------------------------------------*/

#fotoannunciobig{
	width:90%;
	float:left;
	padding: 10px;
	max-height:400px;
	object-fit: cover;
}
#fotoannuncio{	
	padding: 5px;
	width:22%;
	height:75px;
	object-fit: cover;
	float:left;		
	overflow: hidden;	
	
	
}
#fotovetrina{	
	padding: 5px;
	width:30%;
	height:auto;	
	overflow: hidden;	
}

#fotovetrinabig{
	width:100%;
	float:left;
	padding: 10px;
	max-height:400px;
}
#rigaoff,#rigaon{
	width: 33%;
	height: 30px;
	text-align: left;
	float: left;
	display: block;
	padding:5px;
}
#rigaon{	
	background-color:#E5E5E5; 		
}
prezzo	{
	/*font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	
	text-align: left;
	font-size: xx-small;*/
	font-style: italic;	
	font-family: 'nexa_lightregular';	
	font-size: x-small;
	text-transform:uppercase;
	font-weight:bold;
	text-align:right;	
	color: #6B6B6B;	
	}

h01	{
	/*font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	
	text-align: left;
	font-size: xx-small;*/
	font-style: italic;
	font-family: 'nexa_lightregular';
	font-family: "Century Gothic";
	font-size: x-small;
	text-transform: uppercase;
	font-weight: normal;
	text-align: right;
	color: #6B6B6B;
	}
h02	{
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	font-family: "Century Gothic";
	text-align: left;
	font-size: small;
	color: #6B6B6B;
	overflow-y: hidden;
	font-weight: bold;
	text-decoration: none;
	}
h020	{
	font-family: comfortaa;/*Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;*/
	font-family: "Century Gothic";
	text-align: left;
	font-size: 12px;
	color: #6B6B6B;
	overflow-y: hidden;
	font-weight: 300;
	text-decoration: none;
	font-style: normal;
	}
h03	{
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	font-family: "Century Gothic";
	text-align: left;
	font-size:12px;

	color: #6B6B6B;
	overflow-y: hidden;
	}


.container {
	position: relative;
	width: 100%;
	max-width: 400px;	
	margin-top:10px;
}
.image {
	display: block;
	width: 100%;	
	max-height:120px;
	object-fit: cover;
}
.overlay {
	position: absolute;
		
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 86%;
	margin-left:7%;
	opacity: 0;
	transition: .3s ease;
	padding-top :10px;
	background-color: gray;
}
.container:hover .overlay {
 	opacity: 0.75;
}
.icon {
	color: white;
	font-size: 50px;
	position: absolute;  
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
}
.img-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.img-modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 50%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}
#datagriglia{
	margin-top:20px;
	margin-bottom:20px;
	
}
#datagriglia th{
	height:20px;
	background-color: #CBCBCB;
	border: thin solid #E7E7E7;
}

#datagriglia tr{
	height:20px;
}
#datagriglia td{
	width:auto;
	height: 20px;
	padding: 10px;
	margin: 5px;
	border: thin solid #E7E7E7;
}

#imgtabella{
	width:75px;
	height:auto;
}
.imgtabella{
	width:75px;
	height:auto;
}
#vetrina{
	float:left;
	display:block;
	width:610px;	
}

#btncerca{
	width: 80px;
	height: 25px;
	margin: auto;
	display: block;
	border: medium solid #FFBE00;
	background-color: #FFFFFF;
	margin-top:5px;
}
#btncerca:hover {
	background-color: #FFBE00;
	color:white;
}
#fb{
	color : white;
	background-color: #3b5998;
	font-family: Tahoma;
	height: 30px;
	border-radius: 20px;
	}

#quotato{
	float:left;
	width:50%;
	height:160px;
	border-left:1px solid #a3a3a3;
	padding-left:10px;
	text-align: left;
}
#futerino{
	float:right;
	width:50%;
}

@media screen and (max-width: 480px) {
	.modal {
  		padding-top: 0px; 
	}	
	.modal-content {
		width: 100%;
	}	
	#previewbox{
		width:48%;	
	}
}

@media screen and (max-width: 960px) {
	html{
	width:100%;
	
	}
	body{
	width:100%;
	}
	#menu{
		position: fixed;
		z-index: 2;
	}
	#main-wide{
		height:70px; 		
		padding-left:40%;
		position: fixed;
		z-index: 1;
		-webkit-box-shadow: 0px 0px 0px 0px #D4D4D4;
		box-shadow: 0px 0px 0px 0px #D4D4D4;	
		top:0;
	}
	#main-wide-slider {
		height:70px; 	
		padding-left:40%;		
		position: fixed;
		z-index: 1;
		-webkit-box-shadow: 0px 0px 0px 0px #D4D4D4;
		box-shadow: 0px 0px 0px 0px #D4D4D4;	
		top:0;
		
	}	
	#main-wide img ,#main-wide-slider img{
		width :100px;
		height: auto;
		z-index: 3;
	}
	.imgitem {
	  border: 0.5px solid #BCBCBC;
	  display: inline-block;
	  vertical-align:top;
	  margin-right:5px;
	  white-space:normal;
	}	
	#main {
		width: 100%;
		margin: 10px;
		color: #4A4A4A;
		margin-top: 100px;
		} 	
	#main-one {
		width: 96%;	
		color: #4A4A4A;	
		float: left;		
		margin-top: -15px;
		}	
	#main-two {
		width: 96%;	
		color: #4A4A4A;	
		float: left;
		margin-top:-20px;
		}
	#mysidebar{	
		width:96%;
		}
		
	#footer{
		width:105%;
		height: auto;
		margin-right: auto;
		padding-top: 30px;
		margin-bottom: 0;
		margin-top: 5px;
		background-color: #7B7B7B;
		background-size: cover;
		background-repeat: no-repeat;
		opacity: 1;
		float: left;
		/*position: fixed;*/
		left: 0;
		bottom: 0;
		text-align: center;
	}
	#footer-content{
		width: 96%;
		height: auto;
		margin:0 auto;
		color:black;
		margin-top: 1px;			
	}	
	#img-logo,#img-logo-home{
		margin-top: 5px;
		padding-left: 10px;
		z-index:99;
		margin-left: -2%;
		display:inline;
	}
	h3{
		font-size: 20px;		
	}	
	#logo-index{
		display:inline;
	} 
	#previewbox{
    width: 49%;
    margin-top: 5px;
    margin-left: 1px;
    margin-right: 2px;
    float: left;
    border: 1px solid #d0d0d0;
    padding-left: 0px;
	}
	#main-annunci {
		width:100%;	
	} 	
	#colonna1-annuncio{	
		width:90%;
		margin-left:7%;
		padding-top:50px;
	} 	
	
	.fade-effect1,.fade-effect2{
	display:none;
}

	#colonna2-annuncio{	
		width:90%;
		margin-left:7%;
	}
	
	#fotoannunciobig{
		height:auto;
		max-height:1400px;
	
	}
	#fotoannuncio{	
		height:auto;	
		object-fit: cover;
	}
	#fotoannunciolista{	
		max-height:100px;		
		object-fit: cover;
	}
	#colonna1{
		float:left;
		width:100%;
		height:auto;
		padding:0px;
		margin-left:1px
	}

	#colonna2{
		float:left;
		width:100%;
		height:auto;
		padding:0px;
		padding-top:0px;
		margin-left:1px;
		line-height: 2px;	
		margin-bottom: 5px;
	}
	
	
	
	#colonna3{
		float:left;
		width:100%;
		height:auto;
		padding:0px;
		margin-left:1px;
	}
	#btncerca{
		width: 80px;
		height: 25px;
		margin: auto;
		display: inline-block;
		border: medium solid #FFBE00;
		background-color: #FFFFFF;
		margin-top:5px;
		margin-left:5px;
		float:left;
		
	}
	#labella{
		float:left;
		width:30%;		
	}
	#labellada{
		float:left;
		width:5%;		
	}
	#labellaa{
		float:left;
		width:11%;
		text-align:right;
		
	}
	
	#prezzo,#mq{
		border: thin solid #FFBE00;
		width:27%;
		height:20px;	
		text-align:right;
		margin:0;
		float:left;
		margin-left:0px;
	}
	#droppo{
		border: thin solid #FFBE00;
		
		width:65%;

	}
	#parambox{
		
		height: 280px;
		
	}
	#vetrina{
		float:left;
		display:block;
		width:95%;	
	}	
	
	#quotato{
		height:220px;	
		width:100%;
		text-align: center;
		border-left:0px;
	}
	#futerino{
		    margin-left: 12%;
		float:left;
		width:300px;
	}
	#freccia{
		width: 20px;
		height: auto
	}
	.fotorow{	
	padding:2px;
	/*width:60px;
	height:60px;*/
	
	
}
/*Portrait*/	
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
	
#fotobig{
	max-width: 100vh;
	height:  auto;
	float: none;
	clear: none;
	opacity: 1;
	padding: 1vh;
	border: 0.5px solid #BCBCBC;
	background-color: white;
	border-radius: 5px;
	
	}	
}

	/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
.images img{
    border-radius: 0px;	
    cursor: pointer;
    transition: 0.3s;	
	}
}
	
}

/* Style the Image Used to Trigger the Modal */
.images img{
    border-radius: 5px;	
    cursor: pointer;
    transition: 0.3s;	
}
/* The Modal (background) */
#image-viewer {
    display: none;
    left: 0;
    top: 0;
  	width:100%;	
    height: 100%;
   	overflow: auto;
	position: fixed;
    z-index: 1000;
	background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}
#full-image{
	display: block;
	margin-left: auto;
	margin-right: auto;	
	}		
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}
#image-viewer .close {
	/*position: absolute;
	top: 15px;
	right: 115px;
	padding-right: 130px;*/
	margin:20px;
	color: white;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
	opacity: 1;
}
#image-viewer .close:hover,
#image-viewer .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
		}
	
@media screen and (max-width: 960px) {	
.images img{
    border-radius: 0px;	
    cursor: pointer;
    transition: 0.3s;	
}
	}

	

