/*@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);*/

html,
button,
input,
select,
textarea {
    font-family: 'Varela Round', sans-serif;
}


/* * Addresses margins handled incorrectly in IE 6/7. */

body {
    margin: 0;
    font-family: 'Varela Round', sans-serif;
    /*font-family: 'Montserrat', sans-serif;*/
    font-weight: 400;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*-webkit-font-smoothing: subpixel-antialiased;*/
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

strong {
    font-size: 1.2em;
}

h1,
h2 {
    text-transform: uppercase;
}

h1 {
    letter-spacing: 2px;
}

h2 {
    font-size: 1.3em;
}

h2.claim {
    text-transform: none;
    font-style: italic;
    letter-spacing: 2px;
    margin: 40px 50px;
}

@media(max-width:767px) {
    body {
        font-size: 14px;
    }
}

@media(min-width:768px) {
    body {
        font-size: 14px;
    }
}

@media(min-width:992px) {
    body {
        font-size: 15px;
    }
}

@media(min-width:1200px) {
    body {
        font-size: 15px;
    }
}

a {
    color: #242830;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

p {
    word-spacing: 1px;
    line-height: 1.5em;
    font-size: 1em;
}

a:hover {
    color: #3dc9b3;
}

.container {
    max-width: 1200px;
    width: calc(100% - 30px);
}

.row.no-padding div[class^=col] {
    padding-left: 0;
    padding-right: 0;
}

.section-padding {
    padding: 80px 0px;
}

.no-section-padding {
    padding: 0 !important;
}

.padding {
    padding: 80px;
}

.text-paragraph {
    margin: 0 auto;
    max-width: 550px;
    text-align: justify;
}

.bottom-detached-20 {
    padding-bottom: 20px;
}

.btn {
    border: none;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    text-transform: uppercase;
    border-radius: 0;
}

.btn-common {
    background: #242830;
    color: #fff;
}

.btn-common:hover {
    background: #3dc9b3;
    color: #fff;
}

.title {
    text-align: center;
    font-size: 3em;
}

@media(max-width:767px) {
    .title {
        font-size: 2em;
    }
}

.subtitle {
    text-align: center;
    font-weight: 100;
    padding-bottom: 30px;
    position: relative;
    color: #bdc3c7;
    font-size: 2em;
    letter-spacing: 1px;
}

@media(max-width:767px) {
    .subtitle {
        font-size: 1.3em;
    }
}

.navbar {
    margin-bottom: 0;
}

.navbar li {
    color: #d1d1d1;
    height: 50px;
}

.navbar-default {
    border: none;
    border-radius: 0;
    /*    background: rgba(36, 40, 48, 0.2);*/
    background: transparent;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background: none;
    color: #fff;
}

.navbar-default .navbar-nav li a,
.navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:focus {
    color: #fff;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-default .navbar-nav > .active,
.navbar-default .navbar-nav li:hover {
    background: #3dc9b3;
    color: #fff;
}

.navbar-default .navbar-brand {
    font-size: 1.4em;
    color: #fff;
    font-weight: 100;
}

.navbar-default .navbar-brand:hover {
    color: #eee;
}

.navbar-default .navbar-toggle .icon-bar {
    background: #fff;
}

.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    border-color: transparent;
    background-color: transparent;
    margin-right: 0;
}

.affix.navbar-default {
    background: rgba(0, 0, 0, 0.8);
}

#home {
    height: 90vh;
    position: relative;
    /*background: #34495e;*/
    color: #fff;
}

#home .image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: : 100%;
    z-index: 0;
    background-image: url(../img/hero/office_b.jpg);
    background-size: cover;
    filter: blur(10px);
    background-position: center center;
    background-repeat: no-repeat;
}

#home .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    opacity: 0.8;
    background-color: #242830;
}

#home .content {
    position: relative;
    z-index: 100;
    opacity: 1;
}

#home .content .title {
    margin-top: 30vh;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media(max-width:767px) {
    #home .content .title {
        margin-top: 20vh;
    }
}

#home .btn {
    margin-right: 20px;
}

#home img {
    max-width: 100%;
}

#home p {
    padding: 50px 0;
}

.down-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -o-border-radius: 50%;
    background: rgba(61, 201, 179, 0.5);
    display: block;
    margin: 0 auto;
    color: #fff;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 3;
}

.down-btn:hover,
.down-btn:focus {
    color: #fff;
    background: rgba(61, 201, 179, 1);
}

#cosa-facciamo h3 {
    margin-top: 0;
    font-size: 2em;
    color: #000;
}

#cosa-facciamo .service-item {
    margin: 0 10px;
}

#cosa-facciamo .service-item img {
    max-height: 150px;
    margin: 30px 0;
    max-width: 150px;
}


/*Portfolio*/

#partner {
    background: #242830;
    color: #fff;
}


/*Portfolio Overlay */

.partner-item {
    position: relative;
    margin: 15px 0;
}

.partner-item a:hover {
    text-decoration: none;
}

.partner-item img {
    display: block;
    width: 100%;
    height: 100%;
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
    /* Firefox 10+, Firefox on Android */
    filter: gray;
    /* IE6-9 */
    filter: grayscale(1);
    /* Firefox 35+ */
    -webkit-filter: grayscale(100%);
    /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
}

.partner-item .overlay {
    position: absolute;
    top: 0;
    padding-top: 25%;
    font-size: 2em;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
}

.partner-item .overlay-small {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1.5em;
    line-height: 1.5em;
    font-size: 1.2em;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
}

.partner-item:hover img {
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
    filter: grayscale(0);
    /* Firefox 35+ */
    -webkit-filter: grayscale(0%);
}

@media (max-width: 768px) {
    .partner-item img {
        filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
        filter: grayscale(0);
        /* Firefox 35+ */
        -webkit-filter: grayscale(0%);
    }
    .partner-item .overlay-small {
        display: block !important;
    }
}

.partner-item:hover .overlay {
    display: block;
}

.partner-item:hover .overlay-small {
    display: block;
}

.partner-item .icons .preview {
    position: absolute;
    /*left: 40%;
    top: 40%;*/
    width: 100%;
    color: #fff;
    text-align: center;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.partner-item .icons .preview i {
    color: #3dc9b3;
}

#clienti {
    background: #f1f1f1;
}

#clienti .padding {
    padding: 10px 20px 20px 20px;
}

#chi-siamo {
    /*    background: #242830;*/
    /*    color: #fff;*/
    text-align: center;
}

#chi-siamo .team img {
    margin-bottom: 40px;
}

#chi-siamo .team .team-item {
    padding: 15px 0;
}

#chi-siamo ul.social-buttons {
    list-style: none;
    margin: 0;
    padding: 0;
}

#chi-siamo ul.social-buttons li {
    display: inline-block;
    margin-right: 10px;
}

#chi-siamo ul.social-buttons li:last-child {
    margin-right: 0;
}

#chi-siamo .social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -o-border-radius: 50%;
    background: #242830;
    display: inline-block;
    color: #fff;
    font-size: 17px;
    line-height: 40px;
    text-align: center;
}

#chi-siamo .social-btn:hover,
.social-btn:focus {
    background: #3dc9b3;
    color: #fff;
}

#chi-siamo .social {
    margin-top: 25px
}

#chi-siamo .team p {
    color: #8c9398;
    word-spacing: 2px;
    line-height: 1.5em;
    font-size: 1.1em;
    max-width: 450px;
    margin: 0 auto;
    padding: 0 20px;
}

#chi-siamo .team h2 {
    font-size: 17px;
    color: #353535;
    text-transform: uppercase;
    font-weight: bold;
}

#chi-siamo .team h3 {
    font-size: 15px;
    color: #353535;
    font-weight: bold;
}

#chi-siamo .team h3::after {
    content: " ";
    border: solid 2px #3dc9b3;
    display: block;
    width: 35px;
    margin: 25px auto;
}

#storia .storia {
    background: #f1f1f1;
    /*color: #fff;*/
    text-align: left;
}

#storia .storia .padding {
    padding: 20px;
}

#contatti {
    padding-bottom: 0;
    background: #f1f1f1;
}

#contatti .title {
    margin-bottom: 40px;
}

#contatti::-webkit-input-placeholder {
    color: #ecf0f1;
}

#contatti:-moz-placeholder {
    color: #ecf0f1;
}

#contatti::-moz-placeholder {
    color: #ecf0f1;
}

#contatti:-ms-input-placeholder {
    color: #ecf0f1;
}

#contatti .social i {
    color: #fff;
    padding: 10px;
    margin-right: 5px;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    background: #242830;
}

#contatti .social .social-links a:hover {
    color: #fff;
}

#contatti .social .fa-facebook:hover {
    background: #3b5998;
    color: #fff;
}

#contatti .social .fa-twitter:hover {
    background: #00CAFB;
    color: #fff;
}

#contatti .social .fa-google-plus:hover {
    background: #D23A1D;
    color: #fff;
}

#contatti .social .fa-linkedin:hover {
    background: #007bb6;
    color: #fff;
}

#contatti .social .fa-dribbble:hover {
    background: #ea4c89;
    color: #fff;
}

#contatti .social .fa-github:hover {
    background: #171515;
    color: #fff;
}

#contatti .contact-info {}

#contatti .contact-info p {
    font-size: 20px;
}

#contatti .contact-form .form-control {
    box-shadow: none;
    font-size: 17px;
    margin-bottom: 20px;
    border-radius: 0;
    border: none;
}

#contatti #map {
    height: 500px;
}

@media(max-width:767px) {
    #contatti #map {
        height: 300px;
        margin: 0 30px 0 30px;
    }
}


/*Scroll Top*/

.to-top i {
    padding: 10px 15px;
    margin: 10px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.to-top i:hover {
    border-color: #3dc9b3;
    color: #3dc9b3;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

#copyright {
    background: #242830;
    color: #fff;
    padding: 15px;
}

#copyright p {
    margin: 2px 0px;
    line-height: 16px;
}

#copyright a {
    color: #fff;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    right: 0;
    left: 0;
    bottom: 0;
    padding: 20px 20px 35px 20px;
    text-shadow: none;
}

.carousel-indicators {
    bottom: 0;
}