
/*** ELEMENTI PRINCIPALI ***/

body {
    background: #bfd53c;
    padding-bottom: 0;
}
    
.container {
    background: #fff;
    position: relative;
}

/*** STILI GENERALI ***/

.white-stripe {
    background: #fff;
}

.tabella {
    margin-top: 50px;
}

.tabella > tbody > tr > td {
    width: 195px;
}

.tabella table td:first-child {
    vertical-align: middle;
}

.tabella table td:first-child {
    padding-right: 15px;
    vertical-align: bottom;
    padding-bottom: 3px;
}

.back-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.green-band {
    background-color: rgba(152,187,0,0.7);
    display: block;
    position: absolute;
    left: -30px;
    bottom: 27px;
    width: 85px;
    height: 17px;
}

.tooltip {
	border: 1px solid #eaebe9;
	background-color: #FFFFFF;  
}

.tooltip * {
  color: #404545;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.57;
}

/*** HEADER ***/

#header {
    padding-top: 25px;
}

.logo-cont {
    overflow: hidden;
    margin-bottom: 90px;
}

.logo {
    margin-top: 20px;
  font-size: 27.5px;
  color: black;
    font-family: "Helvetica Neue LT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.logo strong {
    font-weight: 800;
}

.logo-img {
    float: right;
}

#cuore {
    position: absolute;
    bottom: -116px;
    left: -36px;
    z-index: 99999;
}

#header h1 {
    margin-left: 145px;
    margin-right: 200px;
    margin-bottom: 35px;
    z-index: 999999;
    position: relative;
    min-height: 130px;
}

/*** SLIDESHOW ***/

#slideshow-ext-cont {
    max-width: 100%;
    overflow: hidden;
}

#slideshow-cont {
    padding: 0;
}

.slick-arrow {
    position: absolute;
    top: 0;
    z-index: 2;
    color: transparent;
    font-size: 0;
    height: 100%;
    width: 9.8%;
    border: none;
    outline: none;
}

.slick-prev {
    left: 0px;
    background: url(../img/landing_page_freccia_sinistra.png) no-repeat center;
}
.slick-next {
    right: 0px;
    background: url(../img/landing_page_freccia_destra.png) no-repeat center;
}
.slick-list {
  overflow: visible;
}

.slick-slide {
    text-align: center;
}

.slick-slide img {
    display: inline-block;
    width: 100%;
}

/*  supersize attivo */ 

#slideshow-ext-cont.supersize #slideshow-cont {
    margin: 0 auto;
}

#slideshow-ext-cont.supersize .slick-slide {
    display: inline-block;
}

#slideshow-ext-cont.supersize .img-responsive {
    max-height: 100%; 
    width: auto;    
    display: inline-block;
}

#slideshow-ext-cont.supersize #slideshow-stripe {
    display: block;
    background: white;
    text-align: center;
    font-family: "Crimson Text",serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 7px;
}

#slideshow-stripe-top {
    padding-bottom: 9px;
}
 
#slideshow-stripe .title {  
    padding: 11px 0;
}
 
#slideshow-stripe-top a {
    outline: none;
}
 
/*** CONTENT ***/

.well .btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);  
}

.well h3 {
    margin-bottom: 45px;
}

/* CONTENT: blocco titolo */

.title-block h2 {
    margin-left: 145px;
}

/* CONTENT: blocchi 2 colonne */

.block-2col-row {
    display: flex;    
}

.block-2col-row .well {
    height: 100%;   
    padding-right: 80px; 
      padding-bottom: 0;
}


.img-col {
    background-size: cover;
}

/* CONTENT: blocchi 2 colonne img sx */

.left-img-block {
    margin-bottom: 160px;
}

.left-img-block .img-responsive {
    border: 1px solid #eaebe9;
}

/* CONTENT: blocchi 2 colonne img dx */

.right-img-block .back-img {
    height: 100%;
    border: 1px solid #eaebe9;
}

.right-img-block h3 img {
    margin-right: 20px;
    vertical-align: -4px;
}

/* CONTENT: bottone fondo pagina */

#bottom-button {    
    margin-top: 125px;
    margin-bottom: 50px;
    text-align: center;
}

#bottom-button .green-band {    
    bottom: 77px;
}

/*** FOOOTER ***/

#footer {
    border-top: 1px solid #b8bdba;
    padding-top: 30px;
    padding-bottom: 35px;
}

#footer ul {
    list-style: none;
}

#footer li {
    float: left;
    margin-left: 12px;
}

/*** RESPONSIVE ***/


@media screen and (max-width: 2559px) and (min-width: 768px) {      
    /* nuove regole */
    body {
        font-size: 18px;
    }
    .container {
      width: 1140px;
      padding-left: 24px;
      padding-right: 24px;
    }     
    .row {
      margin-top: 37px;  
      margin-left: -12px;
      margin-right: -12px;
    }
    .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
      padding-left: 12px;
      padding-right: 12px;
    }
    #header {
      padding-top: 20px;
    }
    .logo-img {
      width: 9%;
      height: auto;
    }
    .logo {
      font-size: 22px;
      margin-top: 17px;
    }   
    .logo-cont {
      margin-bottom: 6.3%;
    }
    h1 {
      font-size: 44px;
    }   
    #header h1 {
        margin-bottom: 26px;
        min-height: 104px;
    }                      
    .block-1col {
        margin-top: 36px;
    }
    .well h3 {
        font-size: 28px;  
        margin-bottom: 36px;
    }   
    .well {
      padding-left: 8.4%;
      padding-right: 8.4%;
      padding-top: 46px;
      padding-bottom: 117px;
    }   
    .tabella {
      margin-top: 41px;
    }
    .tabella td {
      font-size: 16px;
    }         
    .tabella > tbody > tr > td {
      width: 156px;
    }
    .tabella img {
      max-width: 84%;
    }   
    .tabella table td:first-child {
      padding-right: 4px;
    }
    .btn {
      font-size: 24px;  
      padding: 10px 40px 5px;
    }    
    .block-2col-row .well {
      padding-left: 18%;
      padding-right: 10%;
      padding-top: 9%;
      font-size: 18px;
    }
    .block-2col-row h3 {
      margin-bottom: 9%;
      margin-top: 4%;
      font-size: 27px;
    }    
    h2 {
      font-size: 48px;
    }    
    .title-block h2,
    #header h1 {
      margin-left: 11%;
    }
    .green-band {
      height: 14px;
      left: -2.1%;
      width: 67px;
    }   
    .right-img-block h3 img {
      margin-right: 4%;
      max-width: 9%;
    }     
    #bottom-button {
      margin-top: 100px;
      margin-bottom: 40px;
    }
    #bottom-button .green-band {
      bottom: 61px;
    }
    #footer {
      padding-top: 24px;
    }      
    #footer li {
      margin-left: 8px;
    }
    #footer ul img {
      max-width: 80%;
    }
    /* vecchie regole */
    .block-2col-row .tabella {
      margin-top: 10%;
    }
    .left-img-block {
      margin-bottom: 11.5%;
    }
    #cuore {
        width: 25%;
        bottom: -34%;
        left: -2.5%;
    }
    #header h1 {
        margin-right: 18%;
    }   
    .slick-arrow {
        background-size: 15px;
    }
    .tooltip.bottom {
      margin-left: 69px;
      padding: 24px 31px;
    }
    .tooltip * {
      font-size: 13px;
    }
    .tooltip-inner {
      max-width: 176px;
    }
}

@media screen and (max-width: 1899px) and (min-width: 768px) {  
    /* nuove regole */
    body {
      font-size: 15px;
    }
    .container {
      padding-left: 20px;
      padding-right: 20px;
      width: 965px;
    }   
    .row {
      margin-left: -10px;
      margin-right: -10px;
      margin-top: 30px;
    }  
    .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
      padding-left: 10px;
      padding-right: 10px;
    }
    .logo {
      font-size: 18px;
      margin-top: 11px;
    }    
    #header h1 {
        min-height: 87px;
    }  
    h1 {
      font-size: 37px;
    }
    .title-block h2, #header h1 {
      margin-left: 10.5%;
    }
    .block-1col {
      margin-top: 30px;
    }
    .well {
      padding: 33px 4.2% 99px;
    }
    .well h3 {
      font-size: 23px;
      margin-bottom: 29px;
    }
    .tabella {
      margin-top: 37px;
    }
    .tabella img {
      max-width: 67%;
    }
    .tabella td {
      font-size: 13px;
    }
    .tabella > tbody > tr > td {
      width: 128px;
    }
    .tabella table td:first-child {
      padding-right: 0;
    }  
    .btn {
      font-size: 20px;
      padding: 8px 33px 5px;
    }
    .block-2col-row .well {
      font-size: 15px;
    }
    .block-2col-row .well {
      padding-left: 8.5%;
      padding-top: 9%; 
      padding-right: 5%;
    }
    .block-2col-row .tabella {
      margin-top: 9.9%;
    }
    h2 {
      font-size: 41px;
    }
    .left-img-block {
      margin-bottom: 10.7%;
    }
    .green-band {
      height: 11px;
      left: -2.1%;
      width: 6%;
    }
    #bottom-button {
      margin-bottom: 33px;
      margin-top: 82px;
    }
    #footer ul img {
      max-width: 67%;
    }
    #footer {
      padding-top: 22px; 
      padding-bottom: 20px;
    }
    #footer li {
      margin-left: 3px;
    } 
    .slick-arrow {
        background-size: 14px;
    }      
    .tooltip.bottom {
      margin-left: 63px;
      padding: 20px 26px;
    }
    .tooltip * {
      font-size: 11px;
    }
    .tooltip-inner {
      max-width: 147px;
    }
}


@media screen and (max-width: 1599px) and (min-width: 1126px) {
  .container {
    margin-right: auto;
    margin-left: auto;
  }
}  

@media screen and (max-width: 1125px) and (min-width: 768px) {
    .container {
        width: auto;
    }   
    /* vecchie regole */  
    .block-2col-row .well {
      padding-top: 5%;
    }      
    .block-2col-row .tabella {
      margin-top: 4%;
    }
}  

@media screen and (max-width: 991px) and (min-width: 768px) {
    
    footer * {
        font-size: 15px;
    }
    .container {
        margin-right: 40px;
        margin-left: 40px;
    }
    .block-2col-row .well {
      font-size: 14px;
    }
    .btn {
        font-size: 22px;
    }
    #header h1 {
        margin-right: 11%;
    }
}

@media screen and (max-width: 869px) and (min-width: 768px) {
    .container {
        margin-right: 0px;
        margin-left: 0px;
    }
    h1 {
      font-size: 33px;
    }
    .block-2col-row .tabella {
      margin-top: 1%;
    }
}

        /* vecchie regole -> da cancellare alla fine */
                    /*
@media screen and (max-width: 1459px) and (min-width: 768px) {
    .block-2col-row .well {
      font-size: 18px;
      padding-left: 15%;
      padding-top: 6%;
    }
    .block-2col-row h3 {
      margin-bottom: 8%;
      font-size: 28px;
    }
    .block-2col-row .tabella {
      margin-top: 9%;
    }
    .btn {
        font-size: 28px;
    }
    footer * {
        font-size: 20px;
    }
    #header h1 {
        margin-right: 13%;
    }
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
    .block-2col-row .well {
      font-size: 16px;
      padding-left: 12%;
    }
    .block-2col-row h3 {
      margin-bottom: 6%;
      margin-top: 2%;
    }
    .block-2col-row .tabella {
      margin-top: 7%;
    }
    .btn {
        font-size: 26px;
    }
    footer * {
        font-size: 17px;
    }
    h1 {
      font-size: 43px;
    }
}

@media screen and (max-width: 1119px) and (min-width: 768px) {    
    .block-2col-row h3 {
      font-size: 25px;
      margin-bottom: 3%;
      margin-top: 0;
    }       
    .block-2col-row .tabella td {
      font-size: 16px;
    } 
    .btn {
        font-size: 24px;
    } 
    h1 {
      font-size: 36px;
    }
}

    */
/* RESPONSIVE:  */

@media screen and (max-width: 767px) {
    body {
        background: white;
    }             
    .container {
        margin-right: 0px;
        margin-left: 0px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .block-2col-row {
      display: block;
    }      
    .well {
      padding-left: 8.25%;
      padding-right: 8.25%;
    }
    .block-2col-row .well {
      padding-left: 8.25%;
      padding-right: 8.25%;
    }
    .left-img-block .img-responsive,
    .right-img-block .well {
        border-bottom: 0px solid #eaebe9;
    }      
    .left-img-block .well,
    .right-img-block .back-img {
        border-top: 0px solid #eaebe9;
    }
    .well .btn {
      bottom: auto;
      left: auto;
      position: relative;
      transform: none;
      margin: 0 auto;
    }
    .btn-cont {
        text-align: center;
        margin-top: 95px;
    }
    .left-img-block .well {
      padding-bottom: 40px;
    }
    #header h1 {
      margin-right: 22%;
      margin-bottom: 78px;
    }
    .block-1col .tabella {
        margin-left: 0%;
        margin-right: 0%;
        margin-top: 70px;
    }
    .block-1col .well {
        padding-bottom: 0;
    }
    .title-block h2 {
      margin-left: 18%;
      margin-right: 25%;
      font-size: 55px;
    }
    .title-block .green-band {
      top: 27px;
      bottom: auto;
    }
    #footer {
        margin-top: 85px;
    }
    #footer ul.visible-xs {
        margin-top: 35px;
    }
    .left-img-block .img-responsive {
        width: 100%;
        height: auto;
    }     
    #slideshow-stripe {
        display: none;
    }   
}

@media screen and (max-width: 752px) {
    #cuore {
        width: 48%;
        bottom: -22%;
        left: -2.5%;
    }
    .title-block h2,
    #header h1 {
      margin-left: 21%;
    }
    #header h1 {
      margin-right: 23%;
    }
    #header h1,
    .title-block h2 {
      font-size: 51px;
    }
    .logo-img {
      width: 18%;
      height: auto;
    }
}

@media screen and (max-width: 689px) {
    body {
      font-size: 20px;
    }
    #header h1, 
    .title-block h2 {
      font-size: 48px;
    }
    .left-img-block {
      margin-bottom: 105px;
    }
}

@media screen and (max-width: 649px) {
    #header h1,
    .title-block h2 {
      font-size: 44px;
    }
    .logo {
        font-size: 24px;
    }
    .well h3 {
      font-size: 30px;
    }
    .tabella,
    .block-1col .tabella {
        width: 60%;
        table-layout: fixed;
        margin-left: auto;
        margin-right: auto;
        margin-top: 40px;
    }
    .tabella table {
        margin-bottom: 35px;
    }
    .tabella > tbody > tr > td {
        display: block;
    }
    .block-1col .tabella > tbody > tr > td:last-child table {
        margin-bottom: 0;
    } 
    .btn-cont {
      margin-top: 60px;
    }
    .btn {
      font-size: 26px;
      line-height: 1.2;
      padding: 12px 36px 6px;
    }     
    .slick-arrow {
        background-size: 15px;
    }
}

@media screen and (max-width: 609px) {
    body {
      font-size: 18px;
    }
    #header h1,
    .title-block h2 {
      font-size: 41px;
    }
}
@media screen and (max-width: 569px) {
    #header h1,
    .title-block h2 {
      font-size: 38px;
    }
    .logo {
        font-size: 20px;
    }
    .logo-cont {
      margin-bottom: 60px;
    }
    #header h1 {
      margin-bottom: 50px;
    }
}

@media screen and (max-width: 529px) {
    #header h1,
    .title-block h2 {
      font-size: 35px;
    }
    .well h3 {
      font-size: 25px;
    }
    .left-img-block {
      margin-bottom: 80px;
    }
    .title-block h2 {
      margin-bottom: 0px;
    }      
    #bottom-button {
        margin-bottom: 0; 
        margin-top: 105px;
        position: relative;
    }   
    .green-band {
      bottom: auto;
      top: 27px;
    }   
    #bottom-button .green-band {
        left: -45px;
    }   
    
}

@media screen and (max-width: 489px) {
    #header h1,
    .title-block h2 {
      font-size: 32px;
    }
    .logo {
        font-size: 17px;
    }
    .tabella td {
        font-size: 19px;
    }
    .well {
        padding-top: 40px;
    }
    .slick-slide img {
        height: 340px;
        width: auto;
        max-width: none;
    }
}

@media screen and (max-width: 459px) {
    body {
      font-size: 16px;
    }
    #header h1,
    .title-block h2 {
      font-size: 30px;
    }
    .well h3 {
      font-size: 22px;
    }
    .tabella td {
        font-size: 18px;
    }
    .left-img-block .well {
      padding-bottom: 30px;
    }
    .btn {
      font-size: 22px;
    }
}

@media screen and (max-width: 429px) {
    #header h1,
    .title-block h2 {
      font-size: 28px;
    }
    .logo {
        font-size: 15px;
    }
    .well h3 {
      font-size: 19px;
    }
    .logo-cont {
      margin-bottom: 47px;
    }
    #header h1 {
      margin-bottom: 40px;
    }
    .left-img-block {
      margin-bottom: 60px;
    }
    .left-img-block .well {
      padding-bottom: 15px;
    }  
    .tooltip.bottom {
      margin-left: 0px;
      padding: 24px 31px;
    }
    .tooltip * {
      font-size: 13px;
    }
    .tooltip-inner {
      max-width: 176px;
    }   
    .slick-arrow {
        background-size: 14px;
    }     
}

@media screen and (max-width: 399px) {
    #header h1,
    .title-block h2 {
      font-size: 25px;
    }
    .btn {
      font-size: 20px;
    }
    .right-img-block h3 img {
      max-width: 15%;
    }
    .btn-cont {
      margin-top: 45px;
    }
    .well {
      padding-top: 30px;
    }
    .well h3 {
      margin-bottom: 40px;
    }
    .well,
    .block-2col-row .well {
      padding-left: 14%;
      padding-right: 14%;
    }
}

@media screen and (max-width: 379px) {
    body {
      font-size: 15px;
    }
    #header h1,
    .title-block h2 {
      font-size: 24px;
    }
    .logo {
        font-size: 14px;
    }
    .well h3 {
      font-size: 18px;
    }
}

@media screen and (max-width: 359px) {
    #header h1,
    .title-block h2 {
      font-size: 23px;
    }
    .well h3 {
      font-size: 17px;
    }
    .logo {
        font-size: 12px;
    }
    body {
      font-size: 14px;
    }
    .tabella td {
      font-size: 16px;
    }
    .tabella img {
      max-width: 90%;
    }
    .tabella table {
      margin-bottom: 20px;
    }
}

@media screen and (max-width: 339px) {
    #header h1,
    .title-block h2 {
      font-size: 21px;
    }
    .well h3 {
      font-size: 16px;
    }
}