    /*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */



@font-face {
  font-family: 'Raleway';
  src: url('fonts/raleway_thin-webfont.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway_thin-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway_thin-webfont.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway_thin-webfont.woff') format('woff'), /* Pretty Modern Browsers */
       url('fonts/raleway_thin-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway_thin-webfont.svg#raleway_thin-webfont') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'Tangerine';
    src: url('fonts/tangerine_regular-webfont.eot');
    src: url('fonts/tangerine_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/tangerine_regular-webfont.woff2') format('woff2'),
         url('fonts/tangerine_regular-webfont.woff') format('woff'),
         url('fonts/tangerine_regular-webfont.ttf') format('truetype'),
         url('fonts/tangerine_regular-webfont.svg#tangerineregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

.intro > div {
    position: relative;
}

.chisiamo > header p {
    font-size: 1.8em;
    font-weight: 100;
    color: #0968e2;
    margin-top: 0;

    /*font-style: italic;*/
}

onlymobile.alloshop {}

.slides #immaginislide img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    height: 100%;
    width: 100%;
}

.slides2 #immaginislide img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    height: 100%;
    width: 100%;
}
/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */





.tornasu{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: url(../img/icone/backtotop.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0;
    -webkit-transition:opacity 1000ms;
    -moz-transition:opacity 1000ms;
    transition:opacity 1000ms;
}


.tornasu.visibile{
    opacity: 1;
}

a{
    outline:none;
}


/*
    -------
    INTRO
    -------
*/


h2{
    color: #0079BF;
    font-weight: 600;
    font-size: 4.5vh;
    position: relative;
    /*font-family: 'Josefin Slab', serif;*/
    font-family: 'Raleway', serif;
    font-size: 4vh;
    font-style: italic;

}

h2::after{
    display: block;
    content: '';
    width: 80%;
    margin:0 auto;
    height: 1vh;
    background: url('../img/template/sep.png') no-repeat;
    position: relative;
    margin: 0;
    margin-top: 10px;
}
h1{
    font-size: 5vh;
    color: #0079BF;
    font-weight: 500;
    margin:0;
    text-align: center;
    font-family: "Raleway",sans-serif;
    font-weight: bold;
    font-style: italic;
}
body{
    font-size: 16px;
   font-family: 'Open Sans', sans-serif;
}

.onlymobile.alloshop > span {
    position: relative;
    float: none;  right: auto;  top: auto;  /* background: #fff; */  padding: 1.3vh;  margin-top: 1.3vh;  margin-left: -15px;  padding-left: 3vh;  padding-right: 4vh;  font-size: 2.2vh;  background: url(../img/icone/pulsanteshop.png);  background-size: 100% 100%;
    display: inline-block;

}

nav.main ul {}

.slides #immaginislide {
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    position: absolute;
    border-radius: 100%;
    -webkit-transform: translateZ(0);
     -moz-transform: translateZ(0);
    transform: translateZ(0);
}

.slides2 #immaginislide {
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    position: absolute;
    border-radius: 100%;
    -webkit-transform: translateZ(0);
     -moz-transform: translateZ(0);
    transform: translateZ(0);
}

nav.mainnav{
    margin-top: 3vh;
}

nav.mainnav ul {
    margin: 0;
    padding: 0;
    text-align: center;
}
nav.mainnav:after{content: '';clear: both;display: block;}
nav.mainnav ul li{
    float:left;

    margin:1em;
    padding:.5rem 1rem;
    background-color: #fff;
    float: none;
    display: inline-block;
}


.l{float: left}
.w50{width: 50%}

.l.w50.a2 {
    width: 42%;
    width: 48%;
}

.intro{
    background-color: #FFF44D;
   /* background: url('../img/intro.jpg') no-repeat;*/

    background-size: cover;
    min-height: 100vh;


 /*   background: url(../img/template/bgfiori2.png) 0% 100% no-repeat,url(../img/template/bgfiori.png) 100% 100% no-repeat;*/
    background-color: #f3fcff;
    /* background: #0079BF; */
}
.intro:after{
    content: '';
    display: block;
    clear: both;
}


.intro .a1{
        width: 41%;
        margin-left: 3%;
        margin-right: 5%;
}
.intro .logo{
    height: 9vw;
    width: 20vw;
    margin-top: 2vh;

   /* background: url('../img/logo-dottor-ciccarelli-igiene-corpo.png') 50% 50% no-repeat;
  */
  background: url('../img/image-logo.png') 50% 50% no-repeat;
    background-size:contain;
    margin: 0 auto;
    margin-top: 2vh;
}

.intro .imgp{
    height: 40vh;
    text-align: center;
}
.intro .imgp img{
    position: relative;
    margin:0 auto;
    height: 40vh;
    max-height: 250px;
    width: auto;
    display:inline-block;
    margin-top: 20px;
}
.intro .a1 p,.intro .a2 p{
    /*font-size: 1.8vh;*/
    font-size: 16px;
    margin-top:0;
    margin-bottom:.5vh;
}

.intro .a1 .cnt{
    height: 41vh;

}

.intro .a2 .cnt{
    height:21vh;

}

.intro .slide .slide_cont p{
    font-size: 1.8vh;
}



.cnt{
    overflow: hidden;
}


article{
    padding-left:15%;
}

.slide_cont article {
    /* display: block; */
    -webkit-transition: all 500ms;
     -moz-transition: all 500ms;
      transition: all 500ms;
    opacity: 0;
    display: none;
    -webkit-transform: translate(0,50%);
    -moz-transform: translate(0,50%);
    transform: translate(0,50%);
    margin-top: 0px;
}

.corrente {}

 {}

/*
    ----------
    SLIDES
    ----------
*/

.slides {
    height: 40vh;
    width: 40vh;
    margin:0 auto;
    margin-top: 6vh;
    background-color: #fff;
    border-radius: 25vh;
    position: relative;
}

.slides2 {
    height: 40vh;
    width: 40vh;
    margin:0 auto;
    margin-top: 6vh;
    background-color: #fff;
    border-radius: 25vh;
    position: relative;
}
.slide_cont article.corrente {
    /* display: block; */
    -webkit-transform: translate(0,0%);
    -moz-transform: translate(0,0%);
    transform: translate(0,0%);
    opacity: 1;
}
.slides > a > span{
    position: absolute;
    white-space: nowrap;
    right: 100%;
    top: 30%;
    font-size: 1.5vh;
}
.slides2 > a > span{
    position: absolute;
    white-space: nowrap;
    right: 100%;
    top: 30%;
    font-size: 1.5vh;
}


.slides > a:not(.alloshop) > span {
    display: none;
}
.slides2 > a:not(.alloshop) > span {
    display: none;
}

.slides > a.alloshop > span {
    position: relative;
    float: right;
    right: auto;
    top: auto;
    /* background: #fff; */
    padding: 1.3vh;
    padding:1vh;
    margin-top: 1.3vh;
    margin-left: -15px;
    padding-left: 3vh;
    padding-right: 4vh;
    font-size: 2.2vh;
    background: url(../img/icone/pulsanteshop.png);
    background-size: 100% 100%;
    font-family: "Tangerine",sans-serif;
    font-size: 2.8vh;
}
.slides2 > a.alloshop > span {
    position: relative;
    float: right;
    right: auto;
    top: auto;
    /* background: #fff; */
    padding: 1.3vh;
    padding:1vh;
    margin-top: 1.3vh;
    margin-left: -15px;
    padding-left: 3vh;
    padding-right: 4vh;
    font-size: 2.2vh;
    background: url(../img/icone/pulsanteshop.png);
    background-size: 100% 100%;
    font-family: "Tangerine",sans-serif;
    font-size: 2.8vh;
}




.slides > a{
    position: absolute;
    z-index: 2;
    outline: none;
}

.slides2 > a{
    position: absolute;
    z-index: 2;
    outline: none;
}
.slides a.alloshop {
    right: -25%;
    bottom: -3%;
}

.slides2 a.alloshop {
    right: -25%;
    bottom: -3%;
}

a:link{color:inherit}
a:active{color:inherit}
a:visited{color:inherit}
a:hover{color:inherit}


.slides > a:first-of-type{
    left: 18%;
    bottom: -3%;
    /*background: url('../img/icone2/no-acqua-2.png');*/
    background-size: 100% 100%;
    background-position: 50% 50%;
}
.slides > a:nth-of-type(2){
    left: -6%;
    bottom: 30%;
}
.slides > a:nth-of-type(3){
    left: 2%;
    bottom: 70%;
}

.slides > a:nth-of-type(4){
    left: 40%;
    top: -6%;
}
.slides > a:nth-of-type(4) span{
    right: auto;left: 0%;
    bottom:100%;
    top:auto;
}
.slides > a:nth-of-type(5){
    right: 2%;
    bottom: 70%;
}
.slides > a:nth-of-type(5) span{
    right: auto;left: 100%;
}
.slides > a:nth-of-type(6){
    right: -6%;
    bottom: 30%;
}
.slides > a:nth-of-type(6) span{
    right: auto;left: 100%;
    /* display: none; */
}
.slides > a:after{
    content: '';
    display: block;
    height: 8vh;
    width: 8vh;
    border-radius:4vh;
    background-color: #fff;
    border: 2px solid #CCCCCC;

    /* background: url(../img/icone/senza_riciacquo.png); */
    /* background-size: 100% 100%; */
    /* background-position: 50% 50%; */
}
.slides2 > a:first-of-type{
    left: 18%;
    bottom: -3%;
    /*background: url(../img/icone/senza_riciacquo.png);*/
    background-size: 100% 100%;
    background-position: 50% 50%;
}
.slides2 > a:nth-of-type(2){
    left: -6%;
    bottom: 30%;
}
.slides2 > a:nth-of-type(3){
    left: 2%;
    bottom: 70%;
}

.slides2 > a:nth-of-type(4){
    left: 40%;
    top: -6%;
}
.slides2 > a:nth-of-type(4) span{
    right: auto;left: 0%;
    bottom:100%;
    top:auto;
}
.slides2 > a:nth-of-type(5){
    right: 2%;
    bottom: 70%;
}
.slides2 > a:nth-of-type(5) span{
    right: auto;left: 100%;
}
.slides2 > a:nth-of-type(6){
    right: -6%;
    bottom: 30%;
}
.slides2 > a:nth-of-type(6) span{
    right: auto;left: 100%;
    /* display: none; */
}
.slides2 > a:after{
    content: '';
    display: block;
    height: 8vh;
    width: 8vh;
    border-radius:4vh;
    background-color: #fff;
    border: 2px solid #CCCCCC;

    /* background: url(../img/icone/senza_riciacquo.png); */
    /* background-size: 100% 100%; */
    /* background-position: 50% 50%; */
}

a.alloshop:after {
    width: 8vh;
    height: 8vh;
    position: relative;
    border-radius: 100%;
    float: left;
    content: '';
    /* height: 6vh; */
    /* width: 6vh; */
}

.onlymobile {
    display: none;
}

.slides >a:nth-of-type(6):after {
    background: #fff url(../img/icone2/12pz-2.png);  background-size: 90% 90%;  background-position: 50% 50%;
}

.slides > a:nth-of-type(5)::after {
    background: #fff url(../img/icone2/microonde-1.png);  background-size: 90% 90%;  background-position: 50% 50%;
}

.slides >a:nth-of-type(3):after {
    background: #fff url(../img/icone2/aloe-1.png);  background-size: 90% 90%;  background-position: 50% 50%;
}

.slides >a:nth-of-type(2):after {
    background: #fff url(../img/icone2/delicato-1.png);  background-size: 90% 90%;  background-position: 50% 50%;
}

.slides >a:nth-of-type(4):after {
    background: #fff url(../img/icone/campeggio.png);  background-size: 90% 90%;  background-position: 50% 50%;
}

.slides > a:nth-of-type(1):after {
    background: #fff url(../img/icone2/no-acqua-2.png);
    background-size: 90% 90%;  background-position: 50% 50%;
}

.slides2 >a:nth-of-type(6):after {
    background: #fff url(../img/icone/comode_confezioni.png);  background-size: 90% 90%;  background-position: 50% 50%;
}

.slides2 > a:nth-of-type(5)::after {
    background: #fff url(../img/icone/ospedale.png);  background-size: 90% 90%;  background-position: 50% 50%;
}

.slides2 >a:nth-of-type(3):after {
    background: #fff url(../img/icone/camomilla.png);  background-size: 90% 90%;  background-position: 50% 50%;
}

.slides2 >a:nth-of-type(2):after {
    background: #fff url(../img/icone/ultradelicato.png);  background-size: 90% 90%;  background-position: 50% 50%;
}

.slides2 >a:nth-of-type(4):after {
    background: #fff url(../img/icone/campeggio.png);  background-size: 90% 90%;  background-position: 50% 50%;
}

.slides2 > a:nth-of-type(1):after {
    background: #fff url(../img/icone/senza_riciacquo.png);
    background-size: 90% 90%;  background-position: 50% 50%;
}


a.alloshop::after {
    background: #fff url(../img/icone/shop.png);
    background-size: 90% 90%;  background-position: 50% 50%;
}

a.alloshop.onlymobile::after {
    content: '';
    display: none;
}

a.onlymobile.alloshop {
    position: relative;
    text-align: center;
    width: 100%;
}

#immaginislide img{opacity: 0;
-webkit-transition:opacity 1000ms;
-moz-transition:opacity 1000ms;
transition:opacity 1000ms;
z-index: 100;

}


#immaginislide.slide1 img:nth-of-type(1){opacity: 1;}
#immaginislide.slide2 img:nth-of-type(2){opacity: 1;}
#immaginislide.slide3 img:nth-of-type(3){opacity: 1;}
#immaginislide.slide4 img:nth-of-type(4){opacity: 1;}
#immaginislide.slide5 img:nth-of-type(5){opacity: 1;}
#immaginislide.slide6 img:nth-of-type(6){opacity: 1;}





path{
    stroke-width: 10;
    stroke-dashoffset: 1000;
    stroke-dasharray: 1000;


}


.s1 .c1 path{
    stroke-dashoffset:0 !important;
    -webkit-transition: all 6000ms;
    -moz-transition: all 6000ms;
    transition: all 6000ms;
}
.s2 .c2 path,.s2 .c1 path{
    stroke-dashoffset:0 !important;
    -webkit-transition: all 6000ms;
     -moz-transition: all 6000ms;
      transition: all 6000ms;
}

.s3 .c3 path,.s3 .c2 path,.s3 .c1 path{
    stroke-dashoffset:0 !important;
    -webkit-transition: all 6000ms;
    -moz-transition: all 6000ms;
    transition: all 6000ms;
}
.c1{


   width: 35%;
height: auto;
position: absolute;
left: -4%;
bottom: 4%;
-webkit-transform: rotate(-4deg);
-moz-transform: rotate(-4deg);
transform: rotate(-4deg);
height: 40%;
}


.c2{

width: 35%;
height: auto;
position: absolute;
left: -11%;
bottom: 38%;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg);
height: 40%;
}


.c3{

width: 35%;
height: auto;
position: absolute;
left: 7%;
bottom: 66%;
-webkit-transform: rotate(86deg);
-moz-transform: rotate(86deg);
transform: rotate(86deg);
height: 40%;
}

.c4{

width: 35%;
height: auto;
position: absolute;
left: 56%;
bottom: 67%;
-webkit-transform: rotate(156deg);
-moz-transform: rotate(156deg);
transform: rotate(156deg);
height: 40%;
}



.c5{

width: 35%;
height: auto;
position: absolute;
left: 76%;
bottom: 40%;
-webkit-transform: rotate(198deg);
-moz-transform: rotate(198deg);
transform: rotate(198deg);
height: 40%;
}

svg{
    z-index: 1;
}

.c6 {
    width: 35%;  height: auto;  position: absolute;
    left: 62%;
    bottom: -4%;
    -webkit-transform: rotate(262deg);  height: 40%;
    -moz-transform: rotate(262deg);  height: 40%;
    transform: rotate(262deg);  height: 40%;
}
path {
    stroke-width:10;
}




/*
    ---------
    CHI SIAMO
    ---------
*/

.chisiamo{
    background: url('../img/bg-dottore-e-famiglia.jpg') 0% 0%;
    background-size: cover;

    /* background-position: 100% 100%; */
}
.chisiamo > footer{
    margin-top:80px;
    background-color: #fff;
    display: block;
}
.chisiamo:after{
    content: '';
    display: block;
    clear: both;
}
.chisiamo > header{
    background-color: #fff;
    padding: 10px;
    text-align: center;
}
.chisiamo > header > div{
    display: inline-block;
    text-align: left;
    position: relative;
}

.chisiamo > header > div:before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    background: url(../img/template/logociccarelli.png);
    /* float: left; */
    position: absolute;
    right: 100%;
    top: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 2.2em;
    display: none;
}

.logociccarelli {
    background: url(../img/template/logociccarelli.png);
    width: 100px;
    height: 100px;
    background-size: contain;
    margin: 1em;
    float: left;
    background-repeat: no-repeat;
    display: inline-block;
}
.chisiamo header h1{
    font-size: 3em;
    margin:1rem;
    color:#333;

    padding-left: 0;
    margin-left: 0;
    font-weight: 100;
    margin-bottom: 0;
    /* font-family: 'Tangerine', serif; */
    /* font-size: 4em; */
}
.chisiamo header h2{
    font-size: 2rem;
    margin:1rem;
    color: #0968E2;
}

.chisiamo > header{
    margin-bottom: 80px;
}
.storia{
    float: left;
    width: 350px;
    background-color: rgba(255,255,255,0.8);
    box-sizing:border-box;
    padding:25px;
    margin-left: 50px;
    border-radius: 15px;
    border: 1px solid #ccc;
}

#timeline {
    left:0px;


    -webkit-transition:left 500ms cubic-bezier(.19,0,.4,1.3);
     -moz-transition:left 500ms cubic-bezier(.19,0,.4,1.3);
      transition:left 500ms cubic-bezier(.19,0,.4,1.3);

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

   cursor:url('../img/openhand.cur') 7 5, default;
}

#timeline.mon{
     cursor:url('../img/closedhand.cur') 7 5, default;
}

.timeline{
   margin-left: 400px;
   position: relative;
   height: 600px;
   background: url('../img/dottore-e-famiglia.png') 0% 100%;
   background-size: contain;
   background-repeat: no-repeat;
}
.timeline .prev{
    position: absolute;
    left:10px;
    top:50%;
    position: absolute;
    right: 10px;  width: 40px;
    top: 50%;
    background: url(../img/icone/frecciasin.png);  height: 79px;  background-size: contain;  margin-top: -60px;
}

.timeline .next{
    position: absolute;
    right:10px;
    width: 40px;
    top:50%;
    background: url(../img/icone/frecciades.png);
    height: 79px;
    background-size: contain;
    margin-top: -60px;
}

.timeline > .content{
    margin:80px;
    border-left:2px dashed #9E9E9E;
    border-right:2px dashed #9E9E9E;

    height: 550px;

    overflow: hidden;
}

.storia p{
    font-size: 14px;
    line-height: 22px;

    text-align: center;
}
.storia h2{
   font-family: 'Tangerine', cursive;
   /*font-family: 'Josefin Slab', serif;*/
   /*font-family: 'Raleway', sans-serif;*/
    font-size: 30px;
    text-align: center;
    font-style: normal;
    font-weight: 300;
}

.storia h2:after{
   margin:0 auto;
   margin-top: 10px;
}


 .timeline .content .container{
    position: relative;

    height: 100%;
 }
.timeline article{
    padding:0;
    width: 400px;
    position: absolute;
    bottom:50%;
    left:50px;
    z-index: 2;
    font-size: 0.8em;
    box-sizing: border-box;
}

.timeline article.g{
    bottom:auto;
    top:50%;
}
.timeline article >div:not(.linea){
    border-radius: 10px;
    padding:20px;
    font-size: 0.9em;
    color:#555;
    background-color: rgba(255,255,255,0.8);
    position: relative;
    margin:0 25px;
    margin-bottom: 50px;
}

.timeline article.g >div:not(.linea){
    margin-top:60px;
}

.timeline article >div:not(.linea):after{
    content: '';
    display: block;
    height: 0;
    width: 0;
    border: 10px solid transparent;
    border-top:12px solid rgba(255,255,255,0.8);
    position: absolute;
    top: 100%;
}
.timeline article.g >div:not(.linea):after{
    top:auto;
    bottom:100%;
    border: 10px solid transparent;
    border-bottom:12px solid rgba(255,255,255,0.8);
}



.timeline article > div.linea{
    margin-top: 20px;
    padding-left: 40px;
    margin-bottom:15px;
    position: absolute;
    bottom:0;
}
.timeline article.g > div.linea{
    top:0;
    bottom:auto;
}



.timeline article:before{
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-color: #0968E2;
    border:1px solid #fff;
    position: absolute;
    bottom: -6px;
    border-radius: 8px;
    left: 50px;
}
.timeline article.g:before{
    top:-11px;
    bottom:auto;
    }



.timeline article:nth-of-type(2){left:350px;}
.timeline article:nth-of-type(3){left:700px;}
.timeline article:nth-of-type(4){left:1050px;}
.timeline article:nth-of-type(5){left:1400px;}
.timeline article:nth-of-type(6){left:1750px;}
.timeline article:nth-of-type(7){left:2100px;}
.timeline article:nth-of-type(8){left:2450px;}



.timeline .base{
    background-color: #0968E2;
    height: 5px;
    position: absolute;
    left: 100px;
     width: calc(85% - 315px);
   top:50%;
   margin-top: -5px;
   z-index:1;
}
.timeline .base:before{
    content: '';
    display: block;
    position: absolute;
    width: 10px;
    height: 100%;
    right: 100%;
    margin-right: 10px;
    background-color: #0968E2;
}




.timeline .base:after{
    content: '';
    display: block;
    position: absolute;
    width: 5px;
    height: 100%;
    right: 100%;
    margin-right: 30px;
    background-color: #0968E2;
}




.map .indirizzo{
    padding:10px;
    background-color: #fff;
    text-align: center;
}

.contatti{
    /*background: url('../img/intro.jpg') no-repeat;*/
    background-size: cover;

     background: url(../img/template/bgfiori2.png) 0% 100% no-repeat,url(../img/template/bgfiori.png) 100% 100% no-repeat;
    background-color: #f3fcff;
}

.contatti .inputbox input,.contatti .inputbox textarea,nav.mainnav ul li{
    background: transparent;
    border:none;
    margin:0;
    background:url("../img/template/input_m.png");
    background-size: contain;
    box-sizing:border-box;

    position: relative;
}

nav.mainnav ul li {
    margin: 1em;
    font-family: "Tangerine";
    font-size: 1.5em;
    padding-bottom: 0px;
}

nav.mainnav a{
    color: #000;
}

.contatti .inputbox input,.contatti .inputbox textarea{
   font-style: italic;
   color:#777;
   border:none;
   outline:none;
   width:100%;
    box-sizing:border-box;
    padding-left:10px;

}


.contatti .inputbox:after,nav.mainnav ul li:after{
    content: '';
    display: block;
    background: transparent;
    border:none;
    margin:0;
    background:url("../img/template/input_d.png");
    height:40px;
    background-size: contain;
    background-repeat: no-repeat;

}

nav.mainnav ul li:after{

    background:url("../img/template/menu_d.png");
    height:40px;
    background-size: contain;
    background-repeat: no-repeat;

}

nav.mainnav ul li:after {
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;
}

.contatti .inputbox:before,nav.mainnav ul li:before{
    content: '';
    display: block;
    background: transparent;
    border:none;
    margin:0;
    background:url("../img/template/input_t.png");
    height:10px;
    background-position: bottom center;
    background-size: contain;
    background-repeat: no-repeat;

}

nav.mainnav ul li:before {
    position: absolute;
    width: 100%;
    bottom: 100%;
    left: 0;
}


.contatti .inputbox input:focus,.contatti .inputbox textarea:focus{
   font-style: normal;
   color:#333;
   border:none;
   outline:none;

}


.contatti .inputbox{
    display: inline-block;
    background: transparent;
    width: 100%;
    max-width: 350px;
}

.contatti:after{
    content: '';
    clear: both;
}
.contatti h1{
    margin:0;
    padding: 0;
    margin: 30px;
    font-weight: 300;
}

.contatti h1:before{
    content: '';
    width: 200px;
    display: block;
    height: 60px;
    margin: 0 auto;
    position: relative;
    background: url('../img/template/o1.png') 50% 50% no-repeat;
}

.chisiamo h1:before {
    content: '';  width: 200px;  display: block;  height: 60px;  margin: 0 auto;  position: relative;  background: url('../img/template/o1.png') 50% 50% no-repeat;
}





.formcontatti input[type=submit]{
    font-family: "Tangerine";
     /*font-family: 'Josefin Slab', serif;*/
     /*font-family: 'Raleway', sans-serif;*/
     font-style: normal;
    font-size: 30px;
    padding: 10px 15px;

}


.contatti .forms,.ctr{
    /*width:1000px;*/
    width:1098px;
    position: relative;
    margin:0 auto;
    padding:50px 0px;

}

.contatti .forms:after{
    clear: both;
    content: '';
    display: block;
}

.contatti h2{
    font-weight:600;
    margin:0;
    font-style: italic;
    margin-top:20px;
    font-size:30px;
}

.contatti h2:after{
    content: '';
    display: none;
}

.contatti header p{
    font-style: italic;
}

.contatti .w50 > div{
    width: 500px;
}

.contatti > header{
    background-color: #fff;
    padding:10px;
}

.contatti form input{
    display: block;
    margin: 20px;
    width: auto;
    padding:5px;
    margin-right: 10px;
    margin-left: 0;
}


.newsletter_w{
    width:100%;
    height:345px;
    background-color: #fff;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
    padding: 80px;
    padding-top: 30px;
    box-sizing:border-box;
    position: relative;
    box-shadow:0px 0px 20px rgba(0,0,0,0.3);
}
.newsletter_w:before{
    content: '';
    background:url('../img/template/news_s.png') 50% 50% no-repeat;
    width:100%;
    height:100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: 100% 100%;
    z-index:2;
}

.newsletter_w:after{
    content: '';
    background:url('../img/template/news_g.png') 50% 50% no-repeat;
    width:100%;
    height:100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index:1;
    background-size: 100% 100%;
}
.newsletter_w form{
    z-index:3;
    position: relative;
}


.newsletter_w form p{
    font-family: "Tangerine";
     /*font-family: 'Josefin Slab', serif;*/
      /*font-family: 'Raleway', sans-serif;*/
     font-style: normal;
    font-size:30px;
    margin:0;
    padding:0;
    line-height: 30px;
    margin:0 auto;
    position: relative;
    text-align: center;
}

.newsletter_w form input[type=text]{

    margin:0 auto;
    position: relative;

}

.newsletter_w form input[type=submit]{
    background:url('../img/template/submit.png') 50% 50% no-repeat;
    height:100px;
    width:100px;
    position: relative;
    margin:0 auto;
    border:none;
    outline:none;
    margin-top: 50px;
    }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


.oggi {
position: absolute;
left: 100%;
top: 50%;
margin-top: -12px;
margin-left: 11px;
}

./*oggi:before {
content: '';
display: block;
float: left;
width: 20px;
height: 20px;
position: absolute;
right: 100%;
background-color: #00f;
content: '';
margin-right: 10px;
display: block;
/* width: 16px; */
/* height: 16px; *//*
background-color: #0968E2;
border: 1px solid #fff;
position: absolute;
/* bottom: -6px; *//*
border-radius: 10px;
/* left: 50px; *//*
}*/
.oggi:before{
    content: '';
    display: block;
    position: absolute;
    width: 10px;
    height: 100%;
    right: 100%;
    margin-right: 10px;
    background-color: #0968E2;
}

.oggi:after{
    content: '';
    display: block;
    position: absolute;
    width: 5px;
    height: 5px;
    left: 116%;
    margin-right: 30px;
    background-color: #0968E2;
    top: 9px;
    width: 17px;
}



.aziendabanner{
    background-color: #84b7e6;
}
.aziendabanner > div {
    padding: 40px;
    font-size: 22px;
    line-height: 60px;
    box-sizing: border-box;
}

.aziendabanner > div > div{
    width: 200px;
margin-right: 20px;
}

.aziendabanner img{
    max-width: 100%;
    position: relative;
    margin:0 auto;
    display: block;
}

.aziendabanner > div > div:nth-of-type(2){
    font-size: 38px;
clear: both;
text-align: center;
margin: 30px;
float: left;
width: 100%;
font-weight: 100;
font-family: "Raleway",sans-serif;
}


.farmaceutici{
    width: 477px;
margin-left: -128px;
}
.chisiamo > header p.farm-qualita{
    text-align: center;
    margin-top: -30px;
}




footer {
    padding:10px;
    font-size: 0.8em;
}

a{
    text-decoration: none;
}








/* SIDEBAR */



.link-container{
  position: fixed;
  top: 0;
  z-index: 10000;
  transition: all .1s;
  right: -300px;
}

.link-container:hover{
  right: 0;
}

.logo-container{
  height: 40px;
  width: 40px;
  padding: 10px;
  background-image: url('../img/sidebar_famiglia_ciccarelli/minilogo-ciccarelli.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #ededed;
  position: absolute;
  left: -40px;
  border: none;
  cursor: pointer;
}

.break-row{
  width: 100% !important;
  display: block;
  clear: both;
}

.other-logos-container{
  width: 300px;
  padding: 10px;
  background: #ededed;
  float: left;
  box-sizing: border-box;
}

.other-logos-container li{
  width: 50%;
  box-sizing: border-box;
  padding: 5px 5%;
  float: left;
  list-style: none;
}

.other-logos-container ul{
  margin: 0;
  padding: 0;
  clear: both;
}

.other-logos-container li img{
  width: 100%;
}

@media screen and (max-width: 800px) {
 .link-container{
   display: none;
 }
}


/* roba marchino*/
.containerintro {
    width:100%;
    background: url(../img/template/bgfiori2.png) 0% 100% no-repeat,url(../img/template/bgfiori.png) 100% 100% no-repeat;

     clear:both;
}
.intro1 {
width: 50%;
    margin: 0 auto;
    text-align: center;
    font-style: normal;
    font-weight: normal;
    /*font-size: 22px;*/
    line-height: 31px;
    clear:both;
  
}    


.intro1 h2::after{
  
    width: 44%;
    margin:0 auto;
    
}

.imgintro {
    width: 64%;
    position: relative;
    margin: 0 auto;
   
}
.imgintro .img1 {
    width:60%;
    float:left;
}
.imgintro .img2 {
    width:34%;
    bottom: -289px;
    position: absolute;
}

.newslett {
    widows: 100%;
    background-color:#CAEBF6;
    text-align:center;
    margin-top: -50px;
}
.newslett p {
    font-family: 'Raleway', serif;
font-style: italic;
color: #0079BF;
font-size: 24px;
}
.formnewsletter p {
    color: #0079BF;
}
.formnewsletter p:first-child {
font-weight: bold;
}
.newslett p:first-child
{
    font-size: 50px;
    top: 20px;
    position: relative;
    color: #0079BF;
    font-weight: bold;
    padding-top: 20px;
}
.invia {
    font-family: "Tangerine";
    font-style: normal;
    font-size: 30px;
    padding: 10px 15px;
    user-select: none;
    white-space: pre;
    align-items: flex-start;
    text-align: center;
    cursor: default;
    color: buttontext;
    background-color: buttonface;
    box-sizing: border-box;
    padding: 1px 7px 2px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(216, 216, 216) rgb(209, 209, 209) rgb(186, 186, 186);
    border-image: initial;
    margin-bottom:20px;
    height: 67px;
    width: 423px;
}
/*test */
.s1 .d1 path{
    stroke-dashoffset:0 !important;
    -webkit-transition: all 6000ms;
    -moz-transition: all 6000ms;
    transition: all 6000ms;
}
.s2 .d2 path,.s2 .d1 path{
    stroke-dashoffset:0 !important;
    -webkit-transition: all 6000ms;
     -moz-transition: all 6000ms;
      transition: all 6000ms;
}

.s3 .d3 path,.s3 .d2 path,.s3 .d1 path{
    stroke-dashoffset:0 !important;
    -webkit-transition: all 6000ms;
    -moz-transition: all 6000ms;
    transition: all 6000ms;
}
.d1{


   width: 35%;
height: auto;
position: absolute;
left: -4%;
bottom: 4%;
-webkit-transform: rotate(-4deg);
-moz-transform: rotate(-4deg);
transform: rotate(-4deg);
height: 40%;
}


.d2{

width: 35%;
height: auto;
position: absolute;
left: -11%;
bottom: 38%;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg);
height: 40%;
}


.d3{

width: 35%;
height: auto;
position: absolute;
left: 7%;
bottom: 66%;
-webkit-transform: rotate(86deg);
-moz-transform: rotate(86deg);
transform: rotate(86deg);
height: 40%;
}

.d4{

width: 35%;
height: auto;
position: absolute;
left: 56%;
bottom: 67%;
-webkit-transform: rotate(156deg);
-moz-transform: rotate(156deg);
transform: rotate(156deg);
height: 40%;
}



.d5{

width: 35%;
height: auto;
position: absolute;
left: 76%;
bottom: 40%;
-webkit-transform: rotate(198deg);
-moz-transform: rotate(198deg);
transform: rotate(198deg);
height: 40%;
}

svg{
    z-index: 1;
}

.d6 {
    width: 35%;  height: auto;  position: absolute;
    left: 62%;
    bottom: -4%;
    -webkit-transform: rotate(262deg);  height: 40%;
    -moz-transform: rotate(262deg);  height: 40%;
    transform: rotate(262deg);  height: 40%;
}
path {
    stroke-width:10;
}





.blocco50 {
width:50%; float:left;
background-color:red;
}


p
{
    line-height: 31px;
}

.intro1 h2 {
    font-weight: bold;
    font-size: 50px;
    line-height: 59px;
    font-family: 'Raleway';
     
}
.slide_cont.spariscisumobile {
    margin-left: 27px;
}

div#newsletter {
    position: relative;
    left: 29px;
}

.cnt.particolare2 {
    height: auto !important;
    margin-bottom: 35px;
}