/**
 * This file should get overwritten if Method 1 is used. If Method 2 is chosen,
 * remove this comment and start adding your styles to this file.
 */

/* CSS Document */
@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900');

/* SYSTEM */

.wide {
    margin: 0 -9999px;
    padding: 0px 9999px;
    position: relative;
}

.wide.odd { background-color: #e0e5e7;  }

.wide.even { background-color: #cdd7da; }

.wide.white { background-color: #f7f9f9;  }

.float { float: left; }

.padding-vertical { padding-bottom: 1em; padding-top: 1em; }
.padding-left { padding-left: 15px; }
.padding-right { padding-right: 15px; }
.padding-top { padding-top: 1em; }
.padding-bottom { padding-bottom: 1em; }
.nopadding-top { padding-top: 0;}
.nopadding-bottom { padding-bottom: 0;}

.table { margin: 0; padding: 1em 0; }

.grid-flex {
    width: 100%;
    float: left;
    position: relative;
/*    display: block;*/
}

.row-full {
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
}

#page { 
    overflow: hidden;
/*  background-color: #003c84;
	-webkit-appearance: none;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
  box-shadow: 5px 5px 20px #666666;
  margin: 50px 0 20px;*/
}

/* DEFAULT */

body {
    background: none no-repeat scroll 0 0 #f7f9f9;
    font: 8px/1.2 Helvetica,Arial,sans-serif;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #5f6d78;
    margin: 0px 0px;
}

h1, h2, h3, h4, h5, h6, p { 
    font-family: Helvetica,Arial,sans-serif;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #285978;
    line-height: 1.2;
}

h1, .h1 { font-weight: 300; font-size: 2.5em; line-height: 1; }

h1.title, .h1.title { font-weight: 300; font-size: 5em; line-height: 1; }

h2, .h2 { font-weight: 300; font-size: 2em; line-height: 1.1; }

h3, .h3 { font-weight: 300; font-size: 1.5em; line-height: 1.2; }

h4, .h4 { font-size: 1em; line-height: 1.2; }

h5, .h5 { font-size: 0.8em; line-height: 1.2; }

p, ul { 
    font-family: 'Roboto', sans-serif;
    font-size: 1.4em;
    color: #5f6d78;
    line-height: 1.3;
    font-weight: 300;
    margin-top: 0px;
}

ul.bullet-image {  list-style: outside url("../images/arrow.png") none; padding-left: 3em; }
ul.list-unstyled {  list-style: outside none none; padding-left: 2em; }
ul.list-bullet { padding-left: 1.5em; list-style: outside none none;  }
ul.list-bullet li { display: block; margin-bottom: 0.3em; }
ul.list-bullet li:before {
    /*Using a Bootstrap glyphicon as the bullet point*/
    content: "\e258";
    font-family: 'Glyphicons Halflings';
    font-size: 1em;
    float: left;
    margin-top: 4px;
    margin-left: -1.1em;
    color: #005573;
}

p.big { font-size: 1.3em; }

.thin { font-weight: 100!important; }
.extra-light { font-weight: 200!important; }
.light { font-weight: 300!important; }
.normal { font-weight: 400!important; }
.medium { font-weight: 500!important; }
.semi-bold { font-weight: 600!important; }
.bold { font-weight: 700!important; }
.extra-bold { font-weight: 800!important; }
.ultra-bold { font-weight: 900!important; }

.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

hr {
    background: transparent url("../images/hr.png") no-repeat scroll center -20px;
    border-top: 1px solid #000;
    margin: 0;
    padding: 20px 0 0;
}

.line {
/*    background: transparent url("../images/line.png") no-repeat scroll center -20px;*/
    margin: 0;
    padding: 0px;
    position: relative;
    top: 0.5em;
    z-index: 2;
}


/* STYLE */

a, img { border: 0 none; outline : none; }

a:link, a:visited, li a:link, li a:visited {  color: #285978; text-decoration: none; outline: none; }

a:hover, a:focus, li a:hover { color: #009db5; outline: none;  }

a:active, li a:active, a.active, li a.active { color: #009db5;  outline: none; }

.marker, .form-required, .request { color: #009db5; }

.evidenza { color: #009db5; }
.ciano  { color: #009db5; }
.blu { color: #285978; }
.verde { color: #537e8e; }
.white { color: #FFFFFF; }
.black { color: #000000; }
.grey { color: #5f6d78; }

.bblu { background-color: #2a4780; }
.bciano  { background-color: #54a3b1; }
.bverde { background-color: #537e8e; }
.brosso { background-color: #e04c3b; }


strong,b { font-weight: 700; }

span.sup { font-size: 70%; position: relative; top: -0.5em; }

sub { font-size: 70%; position: relative; top: 2px; }

.btn { border: none; padding: 0.6em 1em 0.8em; }

.gradient-hor { 
    background: #FFF; /* For browsers that do not support gradients */    
    background: -webkit-linear-gradient(left, #FFF, #000); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #FFF, #000); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #FFF, #000); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, #FFF , #000); /* Standard syntax (must be last) */
}

body { background: #F7F9F9 url('../images/motivo_top.png') no-repeat scroll right top; background-size: 50% auto; }

/* TOP */

.top { background: transparent url('../images/bg_top.png') repeat-x scroll 0 0; }

/* HEADER */

.header h1.titolo { line-height: 1.1; }

p.text { font-size: 1.3em; }

.animazione { padding: 4em 0 2em; }

.animazione .grid {  
    border: 0px solid red;
    position: relative;
    top: 3.5em; 
    width: 14%;
    z-index: 1;
}
/*.animazione .grid.uno { width: 14%; }*/
/*.animazione .grid.due { width: 11%; }*/
/*.animazione .grid.tre { width: 17%; }*/
/*.animazione .grid.quattro { width: 11%; }*/
/*.animazione .grid.cinque { width: 17%; }*/
/*.animazione .grid.sei { width: 11%; }*/

.animazione .grid.uno { width: 11%; }
.animazione .grid.due { width: 14.4%; }
.animazione .grid.tre { width: 14%; }
.animazione .grid.quattro { width: 14%; }
.animazione .grid.cinque { width: 14%; }
.animazione .grid.sei { width: 14%; }

.animazione .grid.offset {  
    margin-left: 8%;
}

.animazione .barretta { height: 5em; }

.animazione .barretta img.assoluto  {
    border: 0px solid black;
    left: 0;
    position: absolute;
    top: 0;
}

/*.animazione .pallino { display: none; position: absolute; top: 0; left: 0; }*/
.animazione .pallino { display: none; }

.animazione .box {  
    display: none;
    left: 0;
    position: absolute;
    top: -8em;
    width: 100%; 
    width: 126%; 
}
.animazione .box .anno h4 { margin: 0; }
.animazione .box .dialog h4 { margin: 3em 0 0.2em; }
.animazione .box .dialog p { font-size: 80%; font-weight: 500; }

.animazione .grid:hover { cursor: pointer; }

.animazione .grid:hover .pallino { display: block; }

.timeline .grid { color: #FFF; border-top: 4px solid #FFF; padding: 0 0 1em; }
.timeline .grid .pallino {  line-height: 1; margin: 0; position: relative; top: -1em; }
.timeline .grid h3 { color: #FFF; font-size: 3em; margin: 0; position: relative; top: -0.2em; }
.timeline .grid h4 { color: #FFF; font-size: 2.5em; margin: 0; }
.timeline .grid p { color: #FFF; font-size: 2em; margin: 0 0 0.5em; }


/* RICERCA */

.fascia { background: transparent url('../images/motivo_marmoreo.jpg') repeat-x scroll center top; }
.fascia .row-full { left: 49%;  width: 102vw; }
.ricerca .fasciatitle img { height: 5em; }
.fascia .title h3 { font-size: 2.4em; left: 29%; position: absolute; top: 0em; }
.fascia .title h3 .rientro { left: 3em; position: relative; }
.fascia .subtitle h2 { font-size: 3em; margin: 0.5em 0 1em; }

.fisiograft img { position: relative; top: -2em; }

.card { margin-bottom: 1em; }
.card .front { background-color: #f7f9f9; }
.card .front:hover { background-color: #5D77AA; }
.card .front:hover h3 { color: #f7f9f9; } 

.card .back { background: transparent url('../images/motivo_marmoreo2.jpg') repeat scroll center top; border-color: #5D77AA; }

.more h3 { padding: 1em 0 0; margin: 0; }
a.btn-more { color: #009db5; font-weight: 500; font-size: 1em; }
a.btn-more:hover { opacity: 0.5; }
/*a.btn-more:hover h3 { color: #537e8e; }*/
.more .hr { border-top: 1px solid #000; margin: 0; position: relative; top: 1em; }
.more .hr img { position: relative; top: -0.9em; }
.more .barretta { margin: 0; position: relative; top: -10px; }
.more .plus .img-circle {
    border: 1px solid #009db5;
    border-radius: 50%;
    display: inline-block;
    font-size: 4em;
    height: 1em;
    line-height: 0.95;
    position: relative;
    width: 1em;
    color: #009db5;
}
.more .plus.disactive { display: none; }

/* FOOTER FIRST */

.footer-first .vertical-bottom { bottom: 10px; position: absolute; right: 0; }

/*  WEBFORM  */

.webform-client-form p,
.webform-client-form label { }

.webform-component,
.webform-component input,
.webform-component select,
.webform-component textarea,
.webform-component label,
.webform-component .description
.webform-client-form .form-actions {
    font-family: 'Roboto',Helvetica,Arial, sans-serif;
    display: inline;
    float: left;
    margin: 0.5em 0px;
    position: relative;
}

.webform-component label,
.webform-component .description {
    font-family: 'Roboto',Helvetica,Arial, sans-serif;
    display: inline;
    float: left;
    margin: 0 0 5px;
    font-size: 1em;
    position: relative;
}

.webform-component .description { }

.webform-component input,
.webform-component select,
.webform-component textarea {
    border: 0px solid #5f6d78;
    border: none;
    border-bottom: 1px solid #5f6d78;
    background:  none no-repeat scroll 0 0 transparent;
    display: inline;
    float: left;
    font-size: 1em;
    font-weight: 300;
    margin: 0;
    position: relative;
    padding: 0.2em 0.5em;
    height: auto;
    color: #5f6d78;
    border-radius: 0;
    box-shadow: none;
}

.webform-component textarea { resize: none; }

.webform-component .form-type-checkbox,
.webform-component .form-type-radio {
    font-family: 'Roboto',Helvetica,Arial, sans-serif;
    margin-bottom: 0;
    margin-top: 5px;
    width: 50%;
    float: left;
}

.webform-component .form-type-checkbox label,
.webform-component .form-type-checkbox .description,
.webform-component .form-type-radio label,
.webform-component .form-type-radio .description {
    font-size: 1em;
    color: #5f6d78;
    font-weight: 300;
    line-height: 1.2;
    width: 100%;
    margin: 0.2em;
    padding-left: 1.5em;
}

.webform-component .form-type-checkbox input,
.webform-component .form-type-radio input {
    margin: 0.2em 0;
    margin-left: -20px;
}

.webform-component .form-type-checkbox,
.webform-component .form-type-radio {
    width: 100%;
}


.webform-component .form-control { color: #5f6d78; }
.webform-component .form-control::-webkit-input-placeholder { color: #5f6d78; } /* Chrome/Opera/Safari */
.webform-component .form-control::-moz-placeholder { color: #5f6d78; } /* Firefox 19+ */ 
.webform-component .form-control:-ms-input-placeholder { color: #5f6d78; } /* IE 10+ */ 
.webform-component :-ms-input-placeholder.form-control { color: #5f6d78; }
.webform-component .form-control:-moz-placeholder { color: #5f6d78; } /* Firefox 18- */

.webform-client-form fieldset { background: none; border: none; box-shadow: none; margin: 0; }
.webform-client-form .panel-body { padding: 0; }

.webform-component.privacy { margin: 0; }

.webform-component.privacy label { font-size: 0.8em; line-height: 1.5; }

.webform-client-form .form-actions { 
    bottom: -1em;
    float: right;
    position: absolute;
    right: 0;
    width: auto; 
}

.webform-client-form .form-actions .form-submit { 
    background: transparent none no-repeat scroll 0 0;
    border: 1px solid #009db5;
    border-radius: 0;
    color: #009db5;
    font-family: "Roboto",Helvetica,Arial,sans-serif;
    font-size: 1.4em;
    line-height: 1;
    margin: 0;
    padding: 0.5em 4em;
    text-shadow: none;
    text-transform: uppercase;
    font-weight: 300;
    width: auto;
    float: right;
}

.webform-client-form .form-actions .form-submit:hover { color: #285978; border-color: #285978;}




/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

.img-responsive { display: inline-block; }


    /*==========  Mobile First Method  ==========*/

    /* Custom, iPhone Retina */ 
    @media only screen and (min-width : 300px) {

        body { font-size: 8px; }

    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (min-width : 480px) {

        body { font-size: 12px; }
    }

    /* Small Devices, Tablets */
    @media only screen and (min-width : 768px) {

        body { font-size: 16px; }

    }

    /* Medium Devices, Desktops */
    @media only screen and (min-width : 992px) {

        body { font-size: 18px; }

    }

    /* Large Devices, Wide Screens */
    @media only screen and (min-width : 1200px) {

        body { font-size: 20px; }

        body { background-size: auto; }

        /* HEADER */
        .animazione .grid.uno { width: 11%; }
        .animazione .grid.due { width: 13.5%; }
        .animazione .grid.tre { width: 14%; }
        .animazione .grid.quattro { width: 14%; }
        .animazione .grid.cinque { width: 14%; }
        .animazione .grid.sei { width: 14%; }
        .animazione .grid.offset { margin-left: 8%; }


        .fascia .row-full {
            background: rgba(0, 0, 0, 0) url("../images/fasciatitle.png") repeat-x scroll 0 0;
            float: left;
            height: 180px;
            left: 50%;
            width: 100vw;
        }

        .ricerca .fasciatitle { display: none; }
        .fascia .title h3 { top: 0.5em; }

    }


    /*==========  Non-Mobile First Method  ==========*/


    /* Large Devices, Wide Screens LG */
    @media only screen and (max-width : 1200px) {

    }

    /* Medium Devices, Laptop MD*/
    @media (min-width: 992px) and (max-width: 1199px) { 

        /* RICERCA */
        .fascia .row-full { left: 48%; width: 104vw; }
        .fascia .title h3 {left: 22%;}
        .ricerca .fasciatitle img { height: 5em; } 
        #more h3 { font-size: 1.4em; }

    }

    /* Medium Devices, Desktops MD*/
    @media only screen and (max-width : 992px) {

    }

    /* Portrait tablets and small desktops */
    @media (min-width: 768px) and (max-width: 991px) {

        /* HEADER */
        .header .anni { max-width: 40%; margin-bottom: 1em; }

        /* RICERCA */
        .fascia .row-full { left: 48%;  width: 104vw; }
        .fascia .title h3 { font-size: 2.2em; left: 17%;}
        .ricerca .fasciatitle img { height: 5em; } 

        .card .back h3 { font-size: 1.2em; } 

        #more h3 { font-size: 1.2em; }

        /* CONTATTI */
        .contatti h3 { font-size: 1.4em; }

        /* WEBFORM */
        .webform-client-form .form-actions .form-submit { padding: 0.5em 2em; margin-right: 15px; }

    }

    /* Small Devices, Tablets SM*/
    @media only screen and (max-width : 767px) {

        body { background-image: none; }

        /* HEADER */
        .header .anni { max-width: 50%; margin-bottom: 1em; }
        .header p.text {  font-size: 2em; }

        /* RICERCA */
        .fascia { background: none; }
        .fascia .row-full {  left: 50%;  width: 100vw; }
        .fascia .fasciatitle img { display: none; }
        .fascia .title h3 { font-size: 2.4em; left: auto; position: relative; top: auto; }
        .fascia .title h3 .rientro { lefT: auto; }

        .fisiograft img { top: auto; }

        .card { height: 9em; margin-bottom: 2em; }

        .more .hr { top: 0; }
        .more .barretta { display: none; }
        .more .plus img { max-width: 15%; } 

        /* CONTATTI */
        .contatti h3 { font-size: 1.7em;  margin-left: 15px; }

        /* FOOTER-FIRST */
        .footer-first .vertical-bottom { bottom: 0; position: relative;  right: 0; }

        /* WEBFORM */
        .webform-client-form .form-actions {
            bottom: auto;
            float: left;
            position: relative;
            right: auto;
            width: 100%;
        }
        .webform-client-form .form-actions .form-submit { width: 100%; }

    }

    /* Mobile Large, Extra Small Devices, Phones XS*/ 
    @media only screen and (max-width : 480px) {

    }

    /* Mobile Medium, iPhone Retina */ 
    @media only screen and (max-width : 375px) {


    }

    /* Mobile Small, Custom iPhone Retina */ 
    @media only screen and (max-width : 320px) {

        /* HEADER */
        .header h1 { font-size: 2em; }

        /* CONTATTI */
        .contatti h3 { font-size: 1em; }

    }

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */
@media (min-width: @screen-sm-min) {  }

/* Medium devices (desktops, 992px and up) */
@media (min-width: @screen-md-min) {  }

/* Large devices (large desktops, 1200px and up) */
@media (min-width: @screen-lg-min) {  }


@media (max-width: @screen-xs-max) {  }
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {  }
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {  }
@media (min-width: @screen-lg-min) {  }

