/* CSS Document for magicfoto.it */

@media only screen and (min-width: 640px) and (max-width: 767px) {

body {
	color: #FFF;
	margin: 0px;
	padding: 0px;
	background-color: #000;
	/* background-color: #B50101; */ /* Con questa regola evito uno spazio bianco sotto il footer provocato dalle statistiche e visibile con i dispositivi IOS. Il colore dev'essere lo stesso del piede di pagina */
  font-family: 'Baloo Chettan 2', cursive;
	font-size: 16px;
	line-height: 18px;
}
a:link {
	color: #FFF;
	text-decoration: underline;
}
a:visited {
	color: #FFF;
	text-decoration: none;
}
a:hover {
  color: #FFF;
	text-decoration: underline;
}
/* Over-Top */
#over-top-container {
  width: 100%;
  background-color: #333;
}
#over-top {
  width: 620px;
  height: 40px; 
  margin: 0px auto;
  padding: 0px;
	color: #FFF;
	font-size: 20px;
	line-height: 40px;
	font-weight: lighter;
	text-transform: uppercase;
	text-align: center;
}
#over-top h1 {
	font-family: 'Fjalla One', sans-serif;
  font-size: 20px;
	line-height: 40px;
	font-weight: lighter;
	text-transform: uppercase;
	margin: 0px;
	padding: 0px;
	color: #FFF;
}
/* Fine  - Over-Top */
/* Top Header */
#top-header-container {
  /*background-color: #7D0303;*/
	background:  url(../images/sfondo-header-container.jpg) 0px -50px no-repeat;
	background-size: cover;
	height: 162px;
	padding-top: 20px;
}
#top-header-container-inside {
  background-color: rgba(0,0,0,0.20);
	height: 162px;
}
#top-header-container #top-header {
	font-family: 'Noto Sans', sans-serif;
  width: 620px;
  height: 142px;
  margin: 0px auto;
  padding: 0px;
	/* background-color: aqua; */
}
    /* Top Header-Sx */
#top-header div.top-header-sx {
  width: 160px;
  height: 142px;
  float: left;
	/*background-color: aqua;*/
}
    /* Fine - Top Header-Sx */
    /* Top Header-Dx */
div.top-header-dx {
  width: 190px;
  height: 142px;
  float: right;
  font-size: 20px;
  line-height: 22px;
  text-align: right;
	color: #FFF;
	margin-right: 10px;
  /* background-color: #2FCD2D; */
}
#top-header div.top-header-dx a:link {
  text-decoration: none;
	color: #FFF;
}
#top-header div.top-header-dx a:visited {
  text-decoration: none;
	color: #FFF;
}
#top-header div.top-header-dx a:hover {
  text-decoration: none;
	color: #CCC;
}
#top-header div.top-header-dx div.dx-top {
  margin: 0px;
  padding: 20px 10px 0px 10px;
	font-size: 50px;
  line-height: 50px;
}
#top-header div.top-header-dx div.dx-top .fa-facebook {
	font-size: 46px;
  line-height: 48px;
}
    /* Fine - Top Header-Dx */
#top-header img {
  width: 178px;
  float: left;
  margin: 20px 5px 0px 5px;
}
/* Fine - Top Header */
/* Contenuti */
#contenuti-container-index, #contenuti-container {
	width: 100%;
	/* background-color: #EEE; */
	background: url(../images/home/sfondo-contenuti-container.jpg) 0px -94px no-repeat;
	background-size: cover;
	padding: 20px 0px 10px 0px;
}
#contenuti-container {
	width: 100%;
	background: none;
	background-color: #3F5901;
	padding: 20px 0px;
}
#contenuti {
	width: 620px;
	min-height: 100px;
	height: auto !important;
	height: 100px;
	margin: 0px auto;
	padding: 10px;
  font-size: 20px;
  line-height: 24px;
  /* background-color: #FFF; */
}
.sfumato {
  background-color: rgba(255,255,255,0.20);
}
	/* Content */
#content {
	min-height: 100px;
	height: auto !important;
	height: 100px;
	margin: 0px;
	padding: 0px;
  text-align: justify;
	/* background-color: #993300; */
}
#content h1 {
	font-weight: lighter;
	text-transform: uppercase;
	font-size: 24px;
	line-height: 24px;
	margin: 0px;
	padding: 0px;
	color: #333;
}
#content h2 {
	font-weight: lighter;
	font-size: 40px;
	line-height: 50px;
	margin: 0px;
	padding: 0px;
	color: #F1F089;
  text-transform: lowercase;
  /* background-color: #CCC; */
}
#content h3 {
	font-weight: lighter;
	text-transform: uppercase;
	font-size: 24px;
	line-height: 54px;
	margin: 0px;
	padding: 0px;
	color: #666;
	border-bottom: 2px solid #CCC;
}
#content h4 {
	font-weight: lighter;
	text-transform: uppercase;
	font-size: 20px;
	line-height: 34px;
	margin: 0px;
	padding: 0px;
	color: #166ABD;
	border-bottom: 2px dotted #166ABD;
}
#content p {
  margin: 10px 0px;
	padding: 0px;
}
#content p b {
	font-weight: lighter;
	color: #EEE;
  border-bottom: 2px dotted #EEE;
}
#content ul {
	margin: 10px 0px;
	padding: 0px;
	line-height: 24px;
	list-style: none;
}
#content ul li {
	margin: 10px 0px;
	padding: 0px 5px;
}
#content ul li.alternative {
	background-color: rgba(255,255,255,0.40);
	padding: 4px 5px 5px 5px;
	border: 1px solid #EEE;
	/* border: 1px solid #52EF5C;*/
	border-radius: 3px;
}
#content img {
	margin: 0px;
	padding: 0px;
	border: 0px none;
}
		/* Percorso Navigazione */
.percorso-nav {
	padding: 9px 10px 14px 0px;
	margin: 0px 0px 10px 0px;
	font-size: 16px;
	line-height: 18px;
	color: #CCC;
	border-bottom: 2px dotted #CCC;
  /* background-color: #09F318;*/
}
.percorso-nav b {
	color: #FC0;
  font-weight: lighter;
  font-style: oblique;
}
		/* Fine Percorso Navigazione */
		/* Home Page */
      /* Preview-Top */
#preview-top {
  /* Background-color: #F00; */
	padding-top: 0px;
	text-align: center;
}
#content #preview-top h2 {
	font-size: 30px;
	line-height: 40px;
  text-align: right;
	color: #FFF;
	text-transform: uppercase;
}
#content #preview-top img {
	width: 288px;
}
#content #preview-top img:hover {
  opacity: 0.7;
}
        /* Top SX */
div.pr-top-sx {
  width: 288px;
  height: 271px;
	padding: 10px;
  float: none;
	margin-right: 0px;
	margin-bottom: 10px;
  background-color: #000;
	display: inline-block;
}
div.pr-top-sx-spazio {
	margin-right: 0px;
}
        /* Fine - Top SX */
        /* Top DX */
div.pr-top-dx {
  width: 288px;
  height: 271px;
	padding: 10px;
  float: none;
	margin-left: 0px;
	margin-bottom: 10px;
  background-color: #000;
	display: inline-block;
}
        /* Fine - Top DX */
      /* Fine - Preview-Top */
			/* Tags */
#content .tags {
	background-color: rgba(0,0,0,0.40);
	margin-top: 10px;
	padding: 5px 10px;
	border: 1px solid #000;
	text-transform: uppercase;
	text-align: center;
}	
			/* Fine Tags */
    /* Fine - Home Page */
    /* Gallery */
div.gallery {
  margin-top: 30px;
	margin-left: 2px;
}
div.p-box {
  display: inline-block;
}   
#content div.p-box img {
  width: 144px;
  padding: 2px;
  border: 1px solid #CCC;
  border-radius: 5px;
}
#content div.p-box img:hover {
  border: 1px solid #426933;
}
    /* Fine - Gallery */
	  /* Contatti */
#map-container {
	margin: 0px;
	padding: 4px 4px 0px 4px;
	border: 1px solid #FFF;
	background-color: #FFF;
	border-radius: 3px;
}
#map-container .c-frame {
	width: 100%;
	height: 400px;
	margin: 0px;
	padding: 0px;
  border: 0px none;
}
    /* Fine Contatti */
	/* Fine - Content */
/* Fine - Contenuti */
/* Footer */
#footer-container {
	width: 100%;
	padding: 20px 0px;
  background-color: #000;
}
#footer {
	width: 640px;
	margin: 0px auto;
	padding: 0px;
	color: #FFF;
  text-transform: uppercase;
  /* background-color: #0313EC; */
  text-align: center;
}
#footer a:link {
	color: #FFF;
	text-decoration: none;
}
#footer a:visited {
	color: #FFF;
	text-decoration: none;
}
#footer a:hover {
	color: #CCC;
	text-decoration: none;
}
#top-footer {
  padding-bottom: 10px;
  border-bottom: 1px solid #FFF;
}
#footer i {
	min-width: 30px;
	font-size: 30px;
	padding: 4px 6px;
	border: 2px solid #FFF;
	border-radius: 5px;
  margin: 0px 5px;
}
#footer i:hover {
	color: #CCC;
  border: 2px solid #CCC;
}
#social {
  font-size: 24px;
  line-height: 24px;
	text-align: center;
}
	/* Terms */
#terms {
	margin-top: 10px;
  padding-top: 20px;
	text-align: left;
}	
#terms a {
  display: block;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 10px;
  border-bottom: 1px solid #CCC;
}	
	/* Fine - Terms */
  /* Dati Aziendali */
#dati-aziendali {
  padding: 20px;
  background-color: #333;
  border-radius: 5px;
	margin: 0px 5px;
}
.p-iva-azienda {
  margin-top: 10px;
}
  /* Fine - Dati Aziendali */
/* Fine - Footer */
}
