@font-face {
	font-family: 'BetterHeather';
	src: url('../fonts/BetterHeather.eot');
	src: local('☺'), url('../fonts/BetterHeather.woff') format('woff'), url('../fonts/BetterHeather.ttf') format('truetype'), url('../fonts/BetterHeather.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

body {
	font-family: "Century Gothic", Helvetica, sans-serif;
	font-size: 110%;
}
p {
	text-align: justify;
	line-height: 1.5em;
	padding: 0 1em 0 1em;
}

ul {
	text-align: justify;
}
li {
	list-style-position: inside;
	list-style-type: none;
	line-height: 1.5em;
}
h1, h2, h3, .paragraphTitle {
	font-family: "Century Gothic", Helvetica, sans-serif;
}
h1 {
	font-size: 1.5em;
	margin-bottom: 0.8em;
}
h2 {
	font-size: 1.3em;
	margin-bottom: 0.8em;
}
h3 {
	font-size: 1.2em;
	margin-bottom: 0.8em;
}
h4 {
	font-size: 1em;
	margin-bottom: 1.2em;
}

a{	
	font-size: 1.1em;
}
a:hover{	
	cursor: pointer;
}
.legal {
	font-style: italic;
	font-size: .75em;
	padding-right: 20%;
}
.red {
	color: red;
}

.title{
	font-family: 'BetterHeather', Arial, Helvetica, sans-serif;
}

.main{
	font-size: 3em;
}

.sub{
	font-size: 1.5em;
}

.center{
	text-align: center;
}
.highlight{
	font-size: 105%;
	font-weight: bolder;  
}
/*-----------STILE PER LE CLASSI SVINCOLATE DALLA STRUTTURA DELLA PAGINA ---------------------------*/

.menu li {
	font-size: 1em;
	line-height: 3em;
	vertical-align: middle;
	text-align: left;
	margin-left: .5em;
	margin-right: .5em;
	list-style-type: none;
}

.menu a{
	text-decoration: none;
}

	nav > div.mobile{
		font-size: 1.1em;
		background: transparent url(nav-icon.png) no-repeat left; 
	}

/*-------CONTAINER----------------------------------------------------------------------------------------*/
	#container .content{
		text-align: center;
	}

	#container .content ul{
		display: inline-block;
		
	}

	#container .content ul li{
		list-style-type: circle;
	}
	

 /*------STILE PER L'HEADER--------------------------------------------------------------------------*/
#header{
	border-bottom: solid;
}

}/*-----STILE PER IL CORPO CENTRALE------------------------------------------------------------------*/
#banner{
	overflow: visible;
}

#title{
	text-align: center;
}

#main{
}
		#main article{
		}
		#main article header, .header{
		}
			#main article header h1, .header h1{
				text-align: center;
			}

		#main article p{
		}
		
		#main article.contactForm{
			margin: 0;
		}
		
.main_center_text, #contact_form{
	border: solid;
	border-radius: 10px;
	font-size: 1em;
}	

/*------------STILE PER LO SLIDE---------------------------------*/
#slider div{
	background: #FFFFFF;
	opacity: 0.8; 
	text-align: center;
	font-size: 1.2em;
}

	#slider h1,h2,h3,h4{
		text-align: center;
	}
	
	#slider p{
		text-align: center;
		line-height: 1em;
		padding: 0 1em 0 1em; 
	}
	
	#slider ul{
		text-align: justify;
	}

/*--------STILE PER LA TIMELINE------------------------------------------------------------------*/
#cd-timeline {
  position: relative;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}
#cd-timeline::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 99%;
  width: 4px;
  background: #d7e4ed;
}
@media only screen and (min-width: 1170px) {
  #cd-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  #cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}

.cd-timeline-block {
  position: relative;
  margin: 2em 0;
}
.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-block {
    margin: 4em 0;
  }
  .cd-timeline-block:first-child {
    margin-top: 0;
  }
  .cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}

.cd-timeline-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}
.cd-timeline-img img {
  display: block;
  width: 100%;
  position: relative;
}
.cd-timeline-img.cd-picture {
  background: #75ce66;
}
.cd-timeline-img.cd-movie {
  background: #c03b44;
}
.cd-timeline-img.cd-location {
  background: #f0ca45;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-img {
    width: 60px;
    height: 60px;
    left: 50%;
    margin-left: -30px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
  .cssanimations .cd-timeline-img.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-img.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }
}

@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
  }
}
@-moz-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -moz-transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -moz-transform: scale(1.2);
  }

  100% {
    -moz-transform: scale(1);
  }
}
@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
.cd-timeline-content {
  position: relative;
  margin-left: 60px;
  border-radius: 0.25em;
  padding: 1em;
}
.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-content h2 {
  color: #303e49;
}
.cd-timeline-content p, .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  /*font-size: 13px;
  font-size: 0.8125rem; */
}
.cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  display: inline-block;
}
.cd-timeline-content p {
  margin: 1em 0;
  line-height: 1.6;
}
.cd-timeline-content .cd-read-more {
  float: right;
  padding: .8em 1em;
  background: #acb7c0;
  color: white;
  border-radius: 0.25em;
}
.no-touch .cd-timeline-content .cd-read-more:hover {
  background-color: #bac4cb;
}
.cd-timeline-content .cd-date {
  float: left;
  padding: .8em 2em;
  opacity: .7;
}
.cd-timeline-content::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid white;
}
@media only screen and (min-width: 768px) {
 /* .cd-timeline-content h2 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .cd-timeline-content p {
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
    font-size: 14px;
    font-size: 0.875rem;
  }*/
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-content {
    margin-left: -5em;
    margin-right: -5em;
    padding: 1.6em;
    width: 45%;
  }
  .cd-timeline-content::before {
    top: 24px;
    left: 100%;
  }
  .cd-timeline-content .cd-read-more {
    float: left;
  }
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
   /* font-size: 16px;
    font-size: 3em;*/
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
  .cssanimations .cd-timeline-content.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }
}

@media only screen and (min-width: 1170px) {
  /* inverse bounce effect on even content blocks */
  .cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
    -webkit-animation: cd-bounce-2-inverse 0.6s;
    -moz-animation: cd-bounce-2-inverse 0.6s;
    animation: cd-bounce-2-inverse 0.6s;
  }
}
@-webkit-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100px);
  }

  60% {
    opacity: 1;
    -moz-transform: translateX(20px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
    -moz-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    -o-transform: translateX(-100px);
    transform: translateX(-100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
    transform: translateX(20px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -moz-transform: translateX(100px);
  }

  60% {
    opacity: 1;
    -moz-transform: translateX(-20px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    -o-transform: translateX(-20px);
    transform: translateX(-20px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

/*--------STILE PER LA PAGINA ATTIVITA' ------------------------------------------------*/
.studioRightCol, .studioLeftCol{
	position: relative;
}

.studioLeftCol{
	width: 38%;
	float: left;
}

.studioRightCol{
	width: 62%;
	float: right;
}

 .studioRightCol p{
 	display: block;
 	border: solid;
 	border-radius: 0.5;
 }

/*-------STILE PER IL FOOTER -----------------------------------------------------------------------------*/
#footer {
	overflow: hidden;
	border-top: solid;	
}
#footer, #footer nav{
	font-size: .8em;
}

#footer_right p{
	text-align: right;
}

/*----------COLORI------------------------------------------------------------*/

#container > div:nth-child(odd), #container > #main.lightBack,.studioRightCol p{
	background: #ffff99;
}

.contactForm {
	background: rgba(255,255,153,0.8);
}

/*#container .content{
	background: rgba(255,255,255,0.3);
}*/

#header,#footer,#container > div:nth-child(even), #container > div:first-child, #container > div:last-child, .cd-timeline-content{
/*	background: rgba(255,204,102,0.8); */
	background: #ffcc66; 
}

#container > div:first-child, #container > div:last-child {
	background: #ffcc66;
}

#cd-timeline::before {
  /* this is the vertical line */
  background: #cc9933;
}

.studioRightCol p{
	border-color: #ffcc66;
	border-width: 2px;
}

.studioRightCol p:before{
	border-color: transparent;
	border-right-color: #ffcc66; 
}

 .cd-timeline-content::before{
    border-color: transparent;
    border-left-color: #ffff99;
 }
  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    border-color: transparent;
    border-right-color: #ffff99;
  }


#container, #header, #footer, .title, .horizontal{
	color: #333f5f;
	border-color: #cc9933;
	border-width: 2px;
}

#container > div {
	border-bottom: #cc9933 2px solid;
}


#slider ul.slides{
	border: #cc9933 2px solid;
}


h1, h2, h3, .paragraphTitle, header, .cd-date {
	color: #775f2f;
}

a{	
	color: #003366;	
}

a:hover{	
	color: #9999CC;	
}



.horizontal a{
	color: #ffff99;
}
.horizontal a:hover{
	color: #999900;
}
.horizontal a.activelink {
	color: #775f2f;
}

#container{
	/*background: transparent url(../img/texture.png);*/
}
/*
.main_center_text, #contact_form{
	background: transparent url(../img/bkg1.png);
}	*/

/* == Media queries (breakpoint) ===== */
 
@media only screen and (max-width: 1366px){
	body {
		font-size: 80%;
	}
	#title #logo{
		left: -150px;
		width: 150px;
	}
	.horizontal li {
		line-height: 2em;
	}
	#banner {
		padding: 14em 0 3em 0;
	}
	#banner #slider {
		height: 30em;
	}
	#banner > div{
		max-width: 1024px;
	}
	nav > ul.menu > li{
		font-size: 1.2em;
	}


}

@media only screen and (max-width: 1024px){
	nav > ul.menu > li{
		height: 2em;
		line-height: 2em;
		vertical-align: middle;
	}

	nav > ul.menu > li{
		border-top: #cc9933 2px solid;
	}

}
 
/* -----------------------------------
DESKTOP
------------------------------------ */
@media only screen and (max-width: 1366px){
	body {
		font-size: 80%;
	}
	#title #logo{
		left: -150px;
		width: 150px;
	}
	.horizontal li {
		line-height: 2em;
	}
	#banner {
		padding: 14em 0 3em 0;
	}
	#banner #slider {
		height: 30em;
	}
	#banner > div{
		max-width: 1024px;
	}

}


@media only screen and (max-device-width: 768px){
	#logo{
		display: none;
	}
	#banner {
		padding: 14em 0 3em 0;
	}
	#banner #slider {
		height: 20em;
	}
		#slider div {
			height: 100%;
			padding: 0;
		}
	.flexslider .slides img {
		height: 100%;
	}
	.main {
		font-size: 2em;
	}
	.lowResHidden{
		display:none;
	}
	#avvocato, #studio, #domiciliazioni{
		padding: 10em 0 3em 0;
	}
	#contatti {
		padding: 10em 0 3em 0;
	}
}
 
