/* ----------------------------- Esprimo Typo3 ---------------------------- */

/* Data ultima modifica: 3 novembre 2017 */


/*********** #font styles ***********/
@import url(../../../resources/fonts/font-awesome-4.7.0/css/font-awesome.min.css);
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i,900,900i');


/* Definizione delle classi principali */
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 100%;
  color: #666666;
  line-height: 1.166;
  margin: 0px;
  padding: 0px;
  background: #FFFFFF;
}
.frame p, p.text-center, p.text-right, p.text-left, p.text-justify {
  margin: 1em 0;
  font-size: 100%;
  font-weight: 400;
  color: #666666;
  line-height: 1.7;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.text-justify {
  text-align: justify;
}

a:link, a:visited, a:hover {
  text-decoration: none;
  font-weight: 600;
  color: #000000;
}
a:hover {
  opacity: 0.8;
}
a {
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0px;
  padding: 0px;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}
h1{
  padding: 0;
  margin: 0 0 40px 0;
  font-size: 250%;
  color: #000000;
}
h2{
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 220%;
  color: #000000;
}
h3{
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 180%;
  color: #000000;
}
h4{
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 180%;
  color: #FF0000;
}
h5{
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 150%;
  color: #000000;
}
h6{
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 150%;
  color: #FF0000;
}

ul, ol {
  margin: 1.12em 0;
  margin-left: 40px;
  font-size: 100%;
  line-height: 1.7;
}

hr {
  height: 0px;
  padding: 0px;
  margin: 35px 0px 35px 0px;
  border-top: 1px solid #E8E8E8;
  border-bottom: 0px;
  border-left: 0px;
  border-right: 0px;
  color: #E8E8E8;
}

img {
  border: 0px;
}



/***********************************************/
/* Layout dei Divs principali   (struttura)    */
/***********************************************/

#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  clear: both;
  width: 92%;
  height: 119px;
  padding: 0 4%;
  margin: 0;
  background: #FFFFFF;
  border-bottom: 1px solid #EEEEEE;
}
#logo {
  float: left;
  margin: 30px 0 0;
}
#logo img {
  width: 58px;
  height: auto;
}
#social {
  display: none;
  float: right;
  margin: 40px 40px 0;
}
#nav01 {
  position: relative;
  float: right;
  margin: 45px 0 0 0;
}


#top {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  margin: 0;
}
.flexslider {
  margin: 0 !important;
}


#main {
  clear: both;
  width: 100%;
  padding: 0;
  margin: 120px 0 0;
}
#titleWrap {
  width: 92%;
  padding: 35px 4%;
  margin: 0;
  border-bottom: 1px solid #EEEEEE;
}
#title {
  position: relative;
  padding: 0 0 0 30px;
  margin: 0;
  line-height: 50px;
  font-size: 250%;
  font-weight: 300;
  color: #FF0000;
}
#title:after {
  position: absolute;
  width: 3px;
  height: 50px;
  left: 0px;
  top: 0px;
  content: "";
  background: #FF0000;
}
#content {
  width: 100%;
  min-height: 100px;
  padding: 0;
  margin: 70px 0;
  overflow: hidden;
}
#callToAction01 {
  width: 92%;
  padding: 160px 4%;
  margin: 0 0 80px;
  background: url("../images/background/callToAction.jpg") no-repeat fixed center top / cover;
  overflow: hidden;
}
#callToAction02 {
  width: 92%;
  padding: 0 4%;
  margin: 0 0 80px;
  overflow: hidden;
}

#footer {
  clear: both;
  width: 92%;
  padding: 90px 4% 100px;
  margin: 0;
  background: url("../images/logo02.png") no-repeat scroll center top;
  background-size: 58px 58px;
}



/***********************************************/
/* Caratteristiche specifiche dei Divs         */
/***********************************************/

/*********** nav01 styles ***********/
#nav-aux {
  
}

#toggle-navigazione {
  display: block;
  width: 40px;
  height: 31px;
  padding: 0;
  margin: 0;
  background: url("../images/toggle02.png") no-repeat scroll center top;
  background-size: 40px 31px;
  cursor: pointer;
}

.nav01 {  
  position: absolute;
  top: 45px;
  right: 0px;
  z-index: 1000;
  display: none;
  min-width: 230px;
  padding: 20px 25px;
  margin: 0px 0px 0px 0px;
  background: #FFFFFF;
  -webkit-box-shadow: 0 0 7px rgba(204, 204, 204, 0.65);
  -moz-box-shadow: 0 0 7px rgba(204, 204, 204, 0.65);
  box-shadow: 0 0 7px rgba(204, 204, 204, 0.65);
  text-align: left;
  text-transform: uppercase;
}
.nav01-NO {
  font-size: 100%;
}
.nav01-NO a, .nav01-NO a:link, .nav01-NO a:visited, .nav01-NO a:active {
  display: block;
  line-height: 35px;
  color: #666666;
  font-weight: 400;
}
.nav01-ACT {
  font-size: 100%;
}
.nav01-ACT a, .nav01-ACT a:link, .nav01-ACT a:visited, .nav01-ACT a:active {
  display: block;
  line-height: 35px;
  color: #FF0000;
  font-weight: 400;
}



/************** social styles **************/
#social {
  font-size: 100%;
}
#social li {
  display: inline-block;
  list-style-type: none;
  font-size: 140%;
}
#social a, #social a:link, #social a:visited, #social a:active {
  display: inline-block;
  padding: 0px 10px;
  margin: 0px 0px 0px 0px;
  line-height: 30px;
  color: #FF0000;  
  text-decoration: none;
}
#social li:hover {
  opacity: 0.8;
}



/************** smaller styles **************/
.smaller {
  height: 79px !important;
  transition-delay: 0s;
  transition-duration: 0.1s;  
}
.smaller #logo {
  margin-top: 10px;
  transition-delay: 0s;
  transition-duration: 0.1s; 
}
.smaller #social {
  margin-top: 23px;
  transition-delay: 0s;
  transition-duration: 0.1s;
}
.smaller #nav01 {
  margin-top: 25px;
  transition-delay: 0s;
  transition-duration: 0.1s; 
}



/************** callToAction styles **************/
#callToAction01 h2 {
  position: relative;
  padding: 0;
  margin: 0 0 30px;
  font-size: 250%;
  font-weight: 300;
  color: #FFF;
}
#callToAction01 h2:after {
  position: absolute;
  width: 3px;
  height: 50px;
  left: -33px;
  top: 9px;
  content: "";
  background: #FFFFFF;
}

#callToAction02 h2 {
  position: relative;
  float: left;
  padding: 0;
  margin: 0 0 30px;
  font-size: 250%;
  font-weight: 300;
  color: #333333;
}
#callToAction02 h2:after {
  position: absolute;
  left: -33px;
  top: 50%;
  width: 3px;
  height: 50px;
  margin: -25px 0 0 0; 
  content: "";
  background: #FF0000;
}


/************** blockquote styles **************/
blockquote {
  position: relative;
  padding: 0 0 0 30px;
  margin: 0;
  line-height: 50px;
  font-size: 160%;
  font-weight: 300;
  color: #FF0000;
}
blockquote:after {
  position: absolute;
  width: 3px;
  height: 40px;
  left: 0px;
  top: 0px;
  content: "";
  background: #FF0000;
}



/************** box01 styles **************/
.box01 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}
.box01 li {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 33.333%;
  height: 270px;
  padding: 0 2%;
  border-right: 1px solid #EEEEEE;
  /*border-bottom: 1px solid #EEEEEE;*/
  text-align: center;
  font-size: 110%;
  font-weight: 400;
  color: #333333;
}
.box01 li:nth-child(3n) {
  border-right: none;
}
/*.box01 li:nth-child(n+3) {
  border-bottom: none;
}*/
.box01 i {
  margin: 0 0 40px;
  font-size: 300%;
  color: #FF0000;
}



/************** btn styles **************/
.btn01 a:link, .btn01 a:visited, .btn01 a:hover {
  display: inline-block;
  padding: 10px 50px;
  margin: 0;
  border: 1px solid #FFFFFF;
  text-decoration: none;
  font-size: 110%;
  color: #FFF;
  font-weight: 400;
}
.btn01 a:hover {
  opacity: 0.8;
}

.btn02 a:link, .btn02 a:visited, .btn02 a:hover {
  display: inline-block;
  padding: 10px 50px;
  margin: 0;
  border: 1px solid #333333;
  text-decoration: none;
  font-size: 110%;
  color: #333333;
  font-weight: 400;
}
.btn02 a:hover {
  opacity: 0.8;
}



/************** frame-layout styles **************/
.frame-layout-0 {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.frame-layout-1 {
  background: #FF0000;
}
.frame-layout-2 {
  background: #FFFFFF;
}
.frame-layout-1 .ce-textpic,
.frame-layout-2 .ce-textpic {
  display: flex;
  align-items: center;
  justify-content: center;
}
.frame-layout-1 .ce-intext.ce-left .ce-gallery,
.frame-layout-1 .ce-intext.ce-right .ce-gallery,
.frame-layout-1 .ce-left .ce-gallery,
.frame-layout-1 .ce-right .ce-gallery,
.frame-layout-2 .ce-intext.ce-left .ce-gallery,
.frame-layout-2 .ce-intext.ce-right .ce-gallery,
.frame-layout-2 .ce-left .ce-gallery,
.frame-layout-2 .ce-right .ce-gallery {
  width: 50%;
  margin: 0;
}
.frame-layout-1 .ce-gallery img,
.frame-layout-2 .ce-gallery img,
.frame-layout-3 .ce-gallery img {
  width: 100%;
  height: auto;
}
.frame-layout-1 .ce-bodytext,
.frame-layout-2 .ce-bodytext {
  box-sizing: border-box;
  width: 50%;
  padding: 10px 6%;
}
.frame-layout-1 p,
.frame-layout-2 p {
  position: relative;
  margin: 0;
  font-size: 1.4vw;
  font-weight: 300;
  line-height: 1.8;
}
.frame-layout-1 p {
  color: #FFFFFF;
}
.frame-layout-1 p a:link, .frame-layout-1 p a:visited, .frame-layout-1 p a:hover {
  color: #FFFFFF;
}
.frame-layout-1 p:after,
.frame-layout-2 p:after {
  position: absolute;
  width: 3px;
  height: 50px;
  left: -33px;
  top: 10px;
  content: "";
  background: #FFFFFF;
}
.frame-layout-2 p:after {
  background: #FF0000;
}
.frame-layout-1 h2 {
  font-size: 1.8vw;
  color: #FFFFFF;
}
.frame-layout-2 h2 {
  font-size: 1.8vw;
  color: #FF0000;
}

.frame-layout-3 .ce-center .ce-outer,
.frame-layout-3 .ce-center .ce-inner {
  position: static;
  float: none;
}
.frame-layout-3 .ce-column {
  float: none;
}
.ce-gallery figure {
  display: block;
}
.frame-layout-3 .ce-bodytext {
  width: 92%;
  padding: 0 4%;
}



/************** footer styles **************/
#footer {
  font-size: 90%;
  line-height: 1.6;
  color: #666666;
  text-align: center;
}
#footer a, #footer a:link, #footer a:visited, #footer a:active {
  color: #000000;
  font-weight: 400;
  text-decoration: none;
}
#footer a:hover {
  opacity: 0.8;
}

.footer-img {
  margin: 40px 0 0 0;
}
.footer-img img {
    height: 50px;
    margin: 5px 25px;
}



/************** tabelle nei contenuti styles **************/
.contenttable p.bodytext {
  margin: 0px;
}
.contenttable, .contenttable td, .contenttable th {
  border: 1px solid #E8E8E8;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
}
.contenttable {
  width: 100%;
  margin: 10px 0px;
}
.contenttable td, .contenttable th {
  padding: 5px;
}
.contenttable th {
  background-color: #FF0000;
}
.contenttable th {
  color: #FFFFFF;
}



/************** didascalia img styles **************/
.image-caption {
  padding-top: 5px;
  color: #000000;
  font-size: 80%;
  text-align: center;
}



/************** bordo img/iframe contenuti styles **************/
.ce-border img, .ce-border iframe {
  padding: 0px;
  border: 2px solid #E8E8E8;
}



/* ---------------------- Classi proprietarie delle Extension ------------------- */

/**************************************/
/* Default styles for news extension */
/**************************************/

/* Visualizzazione List (lista news) */
.news-list-view {
}
.news-list-view .article {
  padding: 0;
  margin: 0 0 40px 0;
  overflow: hidden;
}
.news-list-view .news-img-wrap {
  float: right;
  padding: 0;
  margin: 0 0 0 20px;
}
.news-list-view h3 {
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 220%;
}
.news-list-view h3 a, .news-list-view h3 a:link, .news-list-view h3 a:visited, .news-list-view h3 a:active {
  color: #000000;
  font-weight: 400;
  text-decoration: none;
}
.news-list-view h3 a:hover {
  opacity: 0.8;
}

.news-list-view p {
  margin: 0;
  font-size: 100%;
}
.news-list-view .more, .news-list-view .more:link, .news-list-view .more:visited, .news-list-view .more:active {
  display: inline-block;
  padding: 10px 50px;
  margin: 10px 0 0 0;
  border: 1px solid #333333;
  text-decoration: none;
  font-size: 110%;
  color: #333333;
  font-weight: 400;
}

.news-list-view .footer {
  /*display: none;*/
}
.news .footer p {
  margin: 0;
}
.news-list-date {
  display: none;
  margin: 0 0 10px 0;
  color: #000000;
  font-size: 80%;
  font-weight: 400;
  text-transform: capitalize;
}
.news-list-date:before {   
  content:"\f073";
  font-family: FontAwesome;
  font-size: 150%;
  color: #FF0000;
}
.news-list-category {
  display: block;
  margin: 0 0 20px 0;
  color: #FF0000;
  font-size: 70%;
  font-weight: 400;
  text-transform: uppercase;
}

.news-list-view .page-navigation {
  clear: both;
  margin: 0 0 20px 0;
  overflow: hidden;
  font-size: 100%;
}
.news-list-view .page-navigation p {
  float: left;
}
.news-list-view .page-navigation ul {
  float: right;
  margin: 0;
  font-size: 100%;
}
.news-list-view .page-navigation ul li {
  float: left;
  display: block;
  padding: 0 2px;
  list-style-type: none;
}
.news-list-view .page-navigation ul li a, .news-list-view .page-navigation ul li a:link, .news-list-view .page-navigation ul li a:visited, .news-list-view .page-navigation ul li a:active {
  color: #000000;
  font-weight: 400;
  text-decoration: none;
}
.news-list-view .page-navigation ul li a:hover {
  opacity: 0.8;
}
.news-list-view .page-navigation ul li.current {
  color: #FF0000;
  font-weight: 700;
}


/* Visualizzazione Single (dettaglio news) */
.news-single {
}
.news-single .news-img-wrap {
  float: right;
  padding: 0;
  margin: 0 0 0 20px;
}
p.news-img-caption {
  padding: 0 0 0 10px;
  margin: 5px 0 10px 0;
  border-left: 2px solid #FF0000;
  font-size: 80%;
}
.news-single h3 {
  padding: 0;
  margin: 0 0 30px 0;
  border: 0px;
  font-size: 220%;
  color: #000000;
  font-weight: 400;
}
.news-single .teaser-text p {
  font-size: 130%;
  font-style: italic;
  color: #000000;
}
.news-single .news-gallery-wrap {
  padding: 0;
  margin: 0 0 20px;
  overflow: hidden;
}
.news-single .news-gallery-wrap .outer {
  float: left;
  padding: 0;
  margin: 0 10px 10px 0;
}
.news-related-files-size {
  display: none;
}
.socialShareButtons {
  min-height: 30px;
}
.news-backlink-wrap {
  margin: 0;
  font-size: 100%;
}
.news-backlink-wrap a, .news-backlink-wrap a:link, .news-backlink-wrap a:visited, .news-backlink-wrap a:active {
  display: inline-block;
  padding: 10px 50px;
  margin: 0;
  border: 1px solid #333333;
  text-decoration: none;
  font-size: 110%;
  color: #333333;
  font-weight: 400;
}
.news-backlink-wrap a:hover {
  opacity: 0.8;
}




@media only screen and (max-width: 1366px) {

  

}


@media only screen and (max-width: 1280px) {

  

}


@media only screen and (max-width: 1152px) {

  #title {
    font-size: 200%;
  }

  /************** frame-layout styles **************/
  .frame-layout-0 {
    width: 92%;
    margin-left: 4%;
    margin-right: 4%;
  }

}


@media only screen and (max-width: 980px) {
  
  /************** frame-layout styles **************/
  .frame-layout-1 {
    margin-bottom: 80px;
  }

  .frame-layout-1 .ce-textpic,
  .frame-layout-2 .ce-textpic {
    display: block;
  }
  .frame-layout-1 .ce-intext.ce-left .ce-gallery,
  .frame-layout-1 .ce-intext.ce-right .ce-gallery,
  .frame-layout-1 .ce-left .ce-gallery,
  .frame-layout-1 .ce-right .ce-gallery,
  .frame-layout-2 .ce-intext.ce-left .ce-gallery,
  .frame-layout-2 .ce-intext.ce-right .ce-gallery,
  .frame-layout-2 .ce-left .ce-gallery,
  .frame-layout-2 .ce-right .ce-gallery {
    width: 100%;
  }
  .frame-layout-1 .ce-bodytext,
  .frame-layout-2 .ce-bodytext {
    width: 100%;
    padding: 50px 10%;
  }
  .frame-layout-1 p:after,
  .frame-layout-2 p:after {
    left: -15px;
  }

  .frame-layout-1 p,
  .frame-layout-2 p {
    font-size: 120%;
  }
  .frame-layout-1 h2,
  .frame-layout-2 h2 {
    font-size: 150%;
  }

}


@media only screen and (max-width: 768px) {
  
  #social {
    margin-left: 20px;
    margin-right: 20px;
  }

  #top {
    padding: 0;
  }

  /************** callToAction styles **************/
  #callToAction01 {
    padding: 100px 4%;
  }
  #callToAction01 h2,
  #callToAction02 h2 {
    font-size: 200%;
  }
  #callToAction01 h2:after,
  #callToAction02 h2:after {
    left: -15px;
  }

  /************** box01 styles **************/
  .box01 li {
    width: 100%;
    height: 180px;
  }
  .box01 li {
    border-right: none !important;
    border-bottom: 1px solid #EEEEEE;
  }
  .box01 li:nth-child(3n) {
    border-bottom: none;
  }
  .box01 i {
    margin: 0 0 20px;
  }

  /* Visualizzazione List (lista news) */
  .news-list-view .news-img-wrap {
    width: 100px;
  }
  .news-list-view .news-img-wrap img {
    width: 100%;
    height: auto;
  }

  /* Visualizzazione Single (dettaglio news) */
  .news-single .news-img-wrap {
    float: none;
    margin: 0 0 20px 0;
  }

}


@media only screen and (max-width: 480px) {

  #social {
    margin-left: 10px;
    margin-right: 10px;
  }

}


@media only screen and (max-width: 360px) {

  /* Visualizzazione Single (dettaglio news) */
  .news-single .news-img-wrap img {
    width: 100%;
    height: auto;
  }

}


