/*!
 * Bacciflex srl
 * Made by Helter snc
 */

html,body { overflow-x: hidden;}

header .intro-text .intro-heading {margin-bottom: 50px;font-family: 'Source Sans Pro', sans-serif;font-size: 50px;font-weight: 300;line-height: 75px;}

body {webkit-tap-highlight-color: #fed136;}

.text-primary {color: #4e7aab;}

p {font-family: Georgia, "Times New Roman", Times, serif;font-style: italic;font-size: 14px;line-height: 1.75;padding: 0 20px;}

p.large {font-size: 16px;}

hr {width: 20%; border-top: 1px solid #4e7aab; padding: 10px 0;}

a,
a:hover,
a:focus,
a:active,
a.active {outline: 0;}

a {-o-transition:.5s;-ms-transition:.5s;-moz-transition:.5s;-webkit-transition:.5s;transition:.5s;color: #4e7aab;}

a:hover,
a:focus,
a:active,
a.active {color: #35618d;}

h1,
h2,
h3,
h4,
h5,
h6 {text-transform: uppercase;font-family: 'Source Sans Pro', sans-serif;font-weight: 700;}

h1 {font-size: 70px;text-align: center; color: #fff;}
h4 {font-size: 18px;text-align: center; letter-spacing: 1px; color: #fff;}

img.displayed {display: block; margin-left: auto; margin-right: auto;}
img {height: auto;max-width: 80%;}

.img-centered {margin: 0 auto;}

.navbar-default {border-color: transparent;background-color: #fff;}

.navbar-default .navbar-collapse {border-color: rgba(255,255,255,.02);}

.navbar-default .navbar-toggle {border-color: #4e7aab;background-color: #4e7aab;}

.navbar-default .navbar-toggle .icon-bar {background-color: #fff;}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {background-color: #4e7aab;}
.navbar-nav>li>a {
    padding-top: 20px;
    padding-bottom: 10px;
}
.navbar-default .nav li a {
    text-transform: uppercase;
font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    color: #4f7bac;
font-size: 15px;-o-transition:.5s;-ms-transition:.5s;-moz-transition:.5s;-webkit-transition:.5s;transition:.5s;
}

.navbar-default .nav li a:hover,
.navbar-default .nav li a:focus {
    outline: 0;
    color: #35618d;
}

.navbar-default .navbar-nav>.active>a {
    border-radius: 0;
    color: #35618d;
}

.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #35618d;
}



@media only screen
and (min-width:768px) {
	
    .navbar-default {
        padding: 25px 0;
        border: 0;
        background-color: #fff;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
    }

    .navbar-default .navbar-brand {
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

    .navbar-default .navbar-nav>.active>a {
        border-radius: 3px;
    }

    .navbar-default.navbar-shrink {
        padding: 10px 0;
        background-color: #fff;
        border-bottom: 1px solid #f2f2f2;
    }


}

header {
    background: rgba(0, 0, 0, 0) url("../img/bacciflex-header-azienda.jpg") repeat fixed 50% 0;
    height: auto;
    margin: 0 auto;
    padding: 150px 0;
    position: relative;
    width: 100%;
    text-align: center;
    color: #fff;

}

#stellar-piscina {
    background: rgba(0, 0, 0, 0) url("../img/bacciflex-header-azienda.jpg") repeat fixed 50% 0;
    height: auto;
    margin: 0 auto;
    padding: 80px 0;
    position: relative;
    width: 100%;
}



header .intro-text {
    padding-top: 100px;
    padding-bottom: 70px;
}


header .intro-text .intro-heading {
    margin-bottom: 25px;
font-family: 'Source Sans Pro', sans-serif;
font-size:40px;
    font-weight: 300;
    line-height: 45px;
    margin-top: ;
}


.mattress {height: 600px; 
    text-align: center;
    color: #fff;
    background-attachment: scroll;
    background-image: url("../img/bacciflex_chiardiluna_materasso_lux_800.jpg");
    background-position: center bottom;
    background-repeat: none;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

#stellar-piscina {
    background: rgba(0, 0, 0, 0) url("../img/stellar-desire.jpg") repeat fixed 50% 0;
    height: auto;
    margin: 0 auto;
    padding: 80px 0;
    position: relative;
    width: 100%;
}


a.button-big {
display: block;text-align: center; text-transform: uppercase;font-family: 'Source Sans Pro', sans-serif;
font-weight: 600; color: #6D6E70; letter-spacing: 1px;-o-transition:.5s;-ms-transition:.5s;-moz-transition:.5s;-webkit-transition:.5s;transition:.5s;
padding: 15px 5px; border: 2px solid #6D6E70;	margin-top: 20px;
	
}

a.button-big:hover {text-decoration: none; background-color: #6D6E70; 
display: block;text-align: center; text-transform: uppercase;font-family: 'Source Sans Pro', sans-serif;
font-weight: 600; color: #fff; letter-spacing: 1px;
padding: 15px 5px; border: 2px solid #6D6E70;	margin-top: 20px;
	
}

@media only screen
and(min-width:768px) {

    header .intro-text {
        padding-top: 300px;
        padding-bottom: 200px;
    }
}

section {
    padding: 40px 0;
}

section h2.section-heading {
	font-family: 'Source Sans Pro', sans-serif;
color: #4e7aab;
    margin-top: 0;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-size:35px;
}

section h3.section-subheading {
    text-transform: none;
	font-family: 'Source Sans Pro', sans-serif;
    font-size: 26px;
    font-weight: 200;
    line-height: 36px;
    margin-bottom: 40px;
}

@media(min-width:768px) {
    section {
        padding: 80px 0;
    }
}
@media(max-width:768px) {

    a.button-loghi{margin-top:20px;}


.navbar-nav>li>a {
    padding-top: 10px !important;
    padding-bottom: 10px;
    line-height: 20px;
    text-align: center;
    border-top: 1px solid #f2f2f2;
}

header .intro-text .intro-heading {margin-bottom: 50px;font-family: 'Source Sans Pro', sans-serif;font-size: 20px;font-weight: 300;line-height: 30px;}

}

.service-heading {
    margin: 15px 0;
    text-transform: none;
}



footer {background-color: #363635;
    padding: 25px 0;
    text-align: center;
}

footer span.copyright {
    text-transform: uppercase;
    text-transform: none;
    font-family: "Source Sans Pro",sans-serif;
    line-height: 10px;
    color: #6e6e6d;
}

a.footer-link { color: #6e6e6d;
	
}
a.footer-link:hover { color: #aaaaaa; text-decoration: none;
	
}
footer ul.quicklinks {
    margin-bottom: 0;
    text-transform: uppercase;
    text-transform: none;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 40px;
}

ul.social-buttons {
    margin-bottom: 0;
    margin-top:25px;
}

ul.social-buttons li a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 40px;
    outline: 0;
    color: #fff;
    background-color: #464646;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
    background-color: #4f7bac;
}

::-moz-selection {
    text-shadow: none;
    background: #4f7bac;
}

::selection {
    text-shadow: none;
    background: #4f7bac;
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}



