/* == Stili di base - Mobile first ===== */

html { font-size:100%; }
 
body {
/*background-color:#989558;*/
background-image:url('img/bg.jpg');
}
hr { 
  border: 0; 
  height: 1px; 
  background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0); 
}

@media (max-width: 640px) { 
body {font-size:0.8rem;} 
} 

@media (min-width: 641px) { 
body {font-size:0.9rem;}
} 
 
@media (min-width:960px) { 
body {font-size:1.0rem;} 
} 

@media (min-width:1100px) { 
body {font-size:1.1rem;}
} 
/*////////////////////////////////pagine in italiano/////////////////////////////////////////////////////*/
#containerita {
font-family:'century gothic',tahoma,verdana,'sans serif' ;
color:#695448;
}
#logoita{
max-height:60px;
margin-top:0px;
/*background-color:green;*/
 }
#tiglioita { 
text-align:right;
margin-top:0px;
}
/*////////////////////////////////fine logo - inizio menu nav/////////////////////////////////////////////////////*/

/* Add a black background color to the top navigation */
.topnav {
    background-color: #695448;
    overflow: hidden;
    margin-top:5%;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 700px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
/*//////////////////////////////////////////fine menu nav/////////////////////////////////////////////////////*/
#foto{
margin-top:3px;
margin-left:0px;
width:100%;
max-width:100%;
 }
#descrizione {
width:100%;
max-width:100%;
 }
#descrizione, h3{
letter-spacing:2%;
color:#695448;
margin-left:3px;
margin-top:5px;
 }
#descrizione, p{
color:#695448;
margin-left:3px;
margin-top:0px;
letter-spacing:2px;
word-spacing:3px;
text-align: justify;
}
#descrizione table{
width:100%;
max-width:100%;
 }
ul{
/*background-color:pink;*/
padding-left:7%;
text-align:left;
 }
@media (max-width: 640px) { 
#descrizione ul {font-size:0.7rem;}
#descrizione ul {padding-left:10% }
} 
ul li{
margin-right:10px;
 }
#icons{
max-width:100%;
text-align:center;
 }
#icons img: {
max-width:2%;
 }
@media (max-width: 640px) { 
#icons {display:none;} 
#social img {max-width:25% }
.googlemap_wrap {padding-bottom:none; }
.googlemap_wrap { }
} 

#social{
text-align:center;
 }

#map {
/*background-color:yellow;*/
max-width:100%;
width:100%;
 }
/* Wrap responsive */
.googlemap_wrap  {
    position: relative;
    padding-bottom: 65.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
/* iframe posizionato in maniera assoluta */
.googlemap_wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
 

 
 /*//////////////////////////////////////////fine slide/////////////////////////////////////////////////////*/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
 /* padding: 15px 10%;*/
}
form header {
  margin: 0 0 20px 0; 
}
form header div {
  font-size: 90%;
}
form header h2 {
  margin: 0 0 5px 0;
}
form > div {
  clear: both;
  overflow: hidden;
  padding: 1px;
  margin: 0 0 10px 0;
}
form > div > fieldset > div > div {
  margin: 0 0 5px 0;
}
form > div > label,
legend {
	width: 25%;
  float: left;
  padding-right: 10px;
}
form > div > div,
form > div > fieldset > div {
  width: 75%;
  float: right;
}
form > div > fieldset label {
	font-size: 90%;
}
fieldset {
	border: 0;
  padding: 0;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
	width: 100%;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
input[type=text],
input[type=email],
input[type=url],
input[type=password] {
  width: 50%;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 0;
  border-color: #4697e4;
}

@media (max-width: 600px) {
  form > div {
    margin: 0 0 15px 0; 
  }
  form > div > label,
  legend {
	  width: 100%;
    float: none;
    margin: 0 0 5px 0;
  }
  form > div > div,
  form > div > fieldset > div {
    width: 100%;
    float: none;
  }
  input[type=text],
  input[type=email],
  input[type=url],
  input[type=password],
  textarea,
  select {
    width: 100%; 
  }
}
@media (min-width: 1200px) {
  form > div > label,
	legend {
  	text-align: right;
  }
}
/*******************************************************************************************************************************************/


 /*******************************************  Fine FORM  **********************************************************************************/
#distanze{
max-width:100%;
color:#695448;
 }
#distanze table{
width:100%;
max-width:100%;
margin-left:0px;

/*border:dotted;*/
 }
#distanze ul{
/*background-color:pink;*/
list-style-type:none;
 }
#distanze tr td{
/*background-color:pink;*/
/*border-bottom:1px solid;*/
 }

#dintorni p{
text-align:right;

 }
#dintorni img {
width:100%;
max-width:100%

 }
@media (max-width: 640px) { 
#dintorni img {display:none;} 
} 
@media (min-width: 641px) and (max-width: 1200px) { 
#dintorni img {display:block;} 
} 

/*//////////////////////////////////////////Fine dintorni/////////////////////////////////////////////////////*/ 

#contatti {
font-family:'century gothic',tahoma,verdana,'sans serif';
font-size:10px;
text-align:right;
word-spacing:5px;
max-width:100%;
color:#695448;
/*background-color:blue;*/
 }
#lingueita {
margin-right:25px;
position:relative;
/*background-color:red;*/
 }

 /*************************************************************************************************************************************************/
#fotogallery {
 max-width:100%;
 width:100%;
 text-align:center;
  }
#fotogallery, img{
max-width:100%;
alignment-adjust:central;
margin-top:3px;

 }
#fotogallery h4{
color:#FEFDFF;
text-align:center;
letter-spacing:5px;
word-spacing:5px;
 }

.up a:hover {
    background-color: #ddd;
    color: black;
    text-decoration: none;
}

/* Style the links inside the navigation bar */
.up a {
    display: block;
    text-align: center;
    text-decoration: none;
    background-color:#695448;
}
 /******************************************smartphone********************************************/
 
  #credits p{
 font-size:9px;
 text-align:center;
  }
 #web {
 color:#695448;
 font-size:11px;
  }
#mail {
text-align:right;
 }

