/*
Theme Name: FarmaCHL
Author: net02
Description: FarmaCHL theme based on bootstrap. For Ale with <3
Version: 1.0
*/

html, body{
    height:100%;
}
body { 
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    color:#333;
    font-size: 14px;
    line-height: 24px;
    background-color: #fff;
}

/* Reset */
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
:focus {
    outline: 0 !important
}
a {
    color:#000;
    text-decoration: none;
}
a:hover{
    color:#376CAE;
    text-decoration:none;
}
strong{
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}
.entry-title {
    margin-bottom: 0;
}
.services strong{
    font-weight: 700;
}
.services h1{
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
}
h1,h2,h3,h4,h5,h6{
    margin-top: 0px;
    font-family: 'Montserrat', sans-serif;
}
label{
    font-weight: 400;
}
.section-padding{
    padding-top: 40px;
    padding-bottom: 50px;
}
.divided-50 {
    height: 50px;
    width:100%;
}
.margin-btm-30{
    margin-bottom: 30px;
}
::selection {
    background:#376CAE; /* Safari */
    color: #fff;
}
::-moz-selection {
    background:#376CAE; /* Firefox */
    color: #fff;
}

/* Bootstrap overrides */
.navbar-default { 
    border-bottom: 2px solid #f5f5f5 !important;
    width:100%;
    min-height: 50px;
    padding: 0;
}
.navbar {
    position: relative;
    margin-bottom: 0px;
    border: 1px solid transparent;
}
.navbar-default .navbar-nav>li>a {
    font-size: 12px;
    color:#000;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    color: #376CAE;
    background-color: transparent;
}
.navbar-default .navbar-nav>li>a:hover {
    color: #0b8d30;
    background-color: transparent;
}
.navbar-brand {
    float: left;
    height: 50px;
    line-height: 20px;
    color:#000 !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 0 5px 0 15px;
}
.navbar-brand span {
    padding: 15px 0;
    display: inline-block;
}
.navbar-brand img { 
    padding: 6px 0;
    display: inline-block;
}
.btn {
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    text-shadow: none !important;
    -webkit-text-shadow:none !important;
    border-radius: 0;
    -webkit-border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    display: inline-block;
    letter-spacing: 1px;
}
.btn:hover,.btn:focus{
    outline: none;
    color:#376CAE;
}
.btn-lg {
    padding: 14px 28px 13px 28px;
    font-size: 13px;
    text-transform: uppercase;
}
.btn-theme, .btn-theme:focus {
    background-color: #376CAE;
    color:#fff;
}
.btn-theme:hover, .btn-theme:active {
    color:#fff;
    background-color: #096f26;
}

/* Headings*/
.center-heading {
    margin-bottom: 30px
}
.center-heading h2 {
    font-weight: 700;
    font-size: 27px;
    color: #333;
}
@media(max-width:533px) {
    .center-heading h2{
        font-size: 30px;
        letter-spacing: 0.10em;
    }
}
.center-heading h2:first-letter{
    text-transform: uppercase;
}
.center-heading .icon {
    display: inline-block;
    font-size: 18px;
    line-height: 21px;
    width: 130px;
    margin: 0 auto;
    position: relative;
    color:  #376CAE;
}
.center-heading .icon:before {
    display: inline-block;
    content: "";
    border-bottom: 1px solid #376CAE;
    position: absolute;
    left: 0;
    top: 10px;
    width: 50px;
}
.center-heading .icon:after {
    display: inline-block;
    content: "";
    border-bottom: 1px solid #376CAE;
    position: absolute;
    right: 0;
    top: 10px;
    width: 50px;
}

/* Parallax */
.parallax {
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
}

/* Intro */
#intro {
    background-color: #444;
    background-position: center center;
    background-size: auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-image: url(./images/bg_intro.jpg);
    display: table;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    vertical-align: middle;
    z-index: 1;
}
.parallax-overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(./images/pattern.png);
    background-repeat: repeat;
    background-color: rgba(0,218,255,0.3);
    z-index: 2;
}
.home-content {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    z-index: 3;
}
.home-top {
    text-align: center;
    font-weight: 700;
    font-size: 36px;
    letter-spacing: .05em;
    text-shadow: 0px 0px 6px black;
    color: #fff;
}
.home-top h1 { font-size: 32px;}
.logo {
    display: inline-block;
    margin: 0 auto;
    background: white;
    margin-bottom: 20px;
    padding: 5px 30px;
    border-radius: 30px;
}
.home-link-btn{
    margin-top: 50px;
}
@media(max-width:420px){
    .home-top {
        font-size: 24px;
        line-height: 30px;
    }
    .home-link-btn{
        margin-top: 30px;
    }
}
/* Servizi */
.servizi {
    padding: 40px 0;
    background: url(./images/head_servizi.jpg);
    background-position: center center;
    background-repeat: no-repeat;
}
.bg-heading h2{
    color: #000;
    text-shadow: 0px 0px 3px rgba(255,255,255,0.5);
}.promotions { margin-top: 30px; margin-bottom: 30px;} .promotions h3 { margin-top: 20px; color: #8E24AA;}
.service-box{
    text-align: center;
}
.service-box .fa.jumbo { margin: 48px 0; }
.service-box .fa.jumbo:before {
    font-size: 12em;
    color: #00868d;
}
.service-box h3{
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
}
.service-box p{
    font-size: 13px;
    line-height: 22px;
}
.service-box img { max-width: 250px; margin-bottom: 15px; }
p.why { font-size: 15px; line-height: 24px; }

/* Map */
#map_canvas {
    height: 420px;
}
#dove {
    background: #096f26;
}
.contrast .center-heading h2, .contrast { color: #f4f5f2; }

/* Gallery */
#galleria {
    background: #ffe0ed;
}
.tiles-content { border: 1px solid #BBB; }

/* Footer */
#footer {
    position: relative;
    background: #353739;
    color: #fff;
    padding: 15px 0 30px 0;
    border-top: 1px solid #464647;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}
.share i {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    background-color: #f5f4f2;
    font-size: 16px;
}
.share i:hover { color: #222; }
.share i.fa-instagram { background-color: #DD2A7B; }
.share i.fa-facebook { background-color: #3b5998; }

/* Misc */
.cta{
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #00868d;
    color:#fff;
    text-align: center;
    margin-bottom: 40px;
}
.cta a {color: #fff;}
@media(min-width:768px){
    .cta a.btn{
        float: left;
    }
    .cta .or{
        float: right;
    }
}
.cta h3{
    margin: 0px;
    font-weight: 400;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.padded-15 { padding-bottom:15px; }
.scrollToTop{
    width:40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    text-align:center; 
    background: whiteSmoke;
    font-weight: bold;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    position:fixed;
    bottom:0px;
    right:0px;
    z-index: 999999;
    display:none;
    background: #19304d;
    opacity:0.5;
    transition: all 0.3s;
}
.scrollToTop:hover{
    text-decoration:none;
    opacity: 1;
    color:#fff;
}
.carousel-caption { bottom: auto; top: 20px; }
.contrast.carousel-caption {
    color: #000;
    left: 5%;
    right: 50%;
    text-shadow: 0 1px 2px rgba(255,255,255,.6);
}
.carousel-caption h3 { text-transform: uppercase; font-size: 32px; }
.sconto {
    font-weight: bold;
    font-size: 30px;
    padding: 20px;
    border-radius: 20px;
    margin-top: 10px;
    display: inline-block;
    text-shadow: none;
    background-color: #ff1b14;
}
.ms-slide-info.ms-dir-h { min-height: 0px!important; }
.content-area { padding-top: 40px; padding-bottom: 30px; }
.entry-content .tiled-gallery { margin-top: 10px; }
.container-fluid > .container { padding-left: 0; padding-right: 0; }
@media screen and (min-width: 768px) {
    .carousel-caption { padding-top: 20px; }
    .carousel-control .fa-chevron-left, .carousel-control .fa-chevron-right, .carousel-control .icon-next, .carousel-control .icon-prev {
        width: 30px;
        height: 30px;
        margin-top: -15px;
        font-size: 30px;
    }
    .carousel-control .fa-chevron-right, .carousel-control .icon-next {
        margin-right: -15px;
    }
    .carousel-control .fa-chevron-left, .carousel-control .icon-prev {
        margin-left: -15px;
    }
}
@media screen and (min-width: 992px) {
    .container-sm { width: 750px; }
}
@media screen and (min-width: 1200px) {
    .container-sm { width: 750px; }
    .container-md { width: 970px; }
    .contrast.carousel-caption { left: 10%; }
}