@import url(http://fonts.googleapis.com/css?family=Montserrat);
@import url(http://fonts.googleapis.com/css?family=Alegreya+Sans:300,100);
@import url(http://fonts.googleapis.com/css?family=Lato:100);
@import url(http://fonts.googleapis.com/css?family=Playfair+Display:400,400italic);

/*--Typography--*/
body {
  padding-top: 150px;
  background: #fff;
  font-family: 'Alegreya Sans:100', sans-serif;
  color: #595958;
  line-height: 26px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  color: #595958;
}
h1 { font-size: 60px; letter-spacing: 0.5px; text-align:center; }
a {
  color: #595958;
  -webkit-transition: color 400ms, background-color 400ms;
  -moz-transition: color 400ms, background-color 400ms;
  -o-transition: color 400ms, background-color 400ms;
  transition: color 400ms, background-color 400ms;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #999999;
}

a:focus { outline: 0; }
/* * Improves readability when focused and also mouse hovered in all browsers. */
a:active, a:hover { outline: 0; }

hr {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #fff;
}
.gradiant {
  background-image: -moz-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -webkit-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -ms-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
}
.gradiant-horizontal {
  background-image: -moz-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -webkit-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -ms-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
}
.section-header {
  margin-top:55px;
  margin-bottom: 50px;
}
.section-header .section-title {
  font-size: 60px;
  color: #595958;
  position: relative;
  padding-bottom: 20px;
  margin: 0 0 20px;
}
.section-header .section-title:before {
  content: "";
  position: absolute;
  width: 140px;
  bottom: 0;
  left: 50%;
  margin-left: -70px;
  height: 1px;
  background: #ebebeb;
}
.section-header .section-title:after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  bottom: -11px;
  left: 50%;
  margin-left: -12px;
  border: 5px solid #fff;
  border-radius: 20px;
  background: #45aed6;
}
.btn {
  border-width: 0;
  border-bottom-width: 3px;
  border-radius: 3px;
}
.btn.btn-primary {
  background: #45aed6;
  border-color: #2a95be;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: #2a95be;
}
.column-title {
  margin-top: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
  position: relative;
}
.column-title:after {
  content: " ";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40%;
  border-bottom: 1px solid #45aed6;
}
ul.nostyle {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
ul.nostyle i {
  color: #45aed6;
}
.scaleIn {
  -webkit-animation-name: scaleIn;
  animation-name: scaleIn;
}
@-webkit-keyframes scaleIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes scaleIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}
/*************************
*******Header******
**************************/
.navbar.navbar-default {
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
}
.navbar.navbar-default .navbar-toggle {
  margin-top: 32px;
  border-radius:0;
}
.navbar.navbar-default .navbar-brand {
  height: auto;
  padding: 22px 15px 21px;
  display:inline-block;
}

.navbar.navbar-default .navbar-brand-mobile {
  height: auto;
  padding: 22px 15px 21px;
  display:none;
}

.navbar.navbar-default .navbar-brand-retina {
  height: auto;
  padding: 22px 15px 21px;
  display:none;
}

.navbar.navbar-default .navbar-brand-page {
  height: auto;
  padding: 22px 15px 15px 0;
  display:inline-block;
}

@media only screen and (min-width: 768px) {
  #main-menu-mobile {
  display:none;
  }

  #main-menu.navbar-default {
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
  }
  #main-menu.navbar-default .navbar-nav > li > a {
    padding-top: 52px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color:#9a9a9a;
  }
  
  #main-menu.navbar-default .navbar-nav > li.active > a,
  #main-menu.navbar-default .navbar-nav > li.open > a,
  #main-menu.navbar-default .navbar-nav > li:hover > a {
    background: transparent;
    padding-top: 52px;
    color:#333333;
  }
  #main-menu.navbar-default .dropdown-menu {
  	margin-top: 9px;
    padding: 0 20px;
    min-width: 220px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    background-clip: inherit;
  }
  #main-menu.navbar-default .dropdown-menu > li {
    border-left: 2px solid transparent;
    margin-left: -20px;
    padding-left: 17px;
    -webit-transition: border-color 400ms;
    transition: border-color 400ms;
  }
  #main-menu.navbar-default .dropdown-menu > li > a {
    border-top: 1px solid #9a9a9a;
    padding: 15px 0;
    color: #9a9a9a;
    font-size: 0.8em;
    letter-spacing: 1px;
  }
  #main-menu.navbar-default .dropdown-menu > li:first-child > a {
    border-top: 0;
  }
  #main-menu.navbar-default .dropdown-menu > li.active,
  #main-menu.navbar-default .dropdown-menu > li.open,
  #main-menu.navbar-default .dropdown-menu > li:hover {
    border-left-color: #595958;
  }
  #main-menu.navbar-default .dropdown-menu > li.active > a,
  #main-menu.navbar-default .dropdown-menu > li.open > a,
  #main-menu.navbar-default .dropdown-menu > li:hover > a {
    color: #333333;
    background-color: transparent;
  }
}

/* -- SLIDER -- */

#headerimg-tablet { display:none; }
#tablet-parallax-montalcino { display:none; }
#tablet-parallax-glasses { display:none; }

#main-slider {
  overflow: hidden;
}

#main-slider .item {
  display-none;
}

#main-slider .owl-prev,
#main-slider .owl-next {
  display:none;
}
#bar {
  width: 0%;
  max-width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.4);
}
#progressBar {
  margin-top: -4px;
  position: relative;
  z-index: 999;
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
}

#features {
  padding: 100px 0;
}
#features .media.service-box:first-child {
  margin-top: 80px;
}
#services {
  padding: 100px 0 75px;
}

#portfolio {
  padding: 100px 0;
}
#about {
  padding: 100px 0;
}
.divider {
  margin-top: 50px;
  margin-bottom: 50px;
  background-image: -moz-linear-gradient(180deg, #ffffff 0%, #e3e3e3 49%, #ffffff 100%);
  background-image: -webkit-linear-gradient(180deg, #ffffff 0%, #e3e3e3 49%, #ffffff 100%);
  background-image: -ms-linear-gradient(180deg, #ffffff 0%, #e3e3e3 49%, #ffffff 100%);
  width: 95%;
  height: 1px;
}
.progress {
  -webkit-box-shadow: none;
  box-shadow: none;
  background: #eeeeee;
}
.progress .progress-bar.progress-bar-primary {
  background-image: -moz-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -webkit-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -ms-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
  -webkit-box-shadow: none;
  box-shadow: none;
}

/***********************
********* Footer ******
************************/

footer {
  padding: 40px 0 30px;
  background: #f5f5f5;
}
#footer a {
  color: #fff;
}
#footer a:hover {
  color: #45aed6;
}
#footer ul {
  list-style: none;
  padding: 0;
  margin: 0 -7.5px;
}
#footer ul > li {
  display: inline-block;
  margin: 0 7.5px;
}
@media only screen and (min-width: 768px) {
  #footer .social-icons {
    float: right;
  }
}
.form-control {
  box-shadow: none;
  -webkit-box-shadow: none;
}

/* ===========================================================================
Custom Styles
========================================================================== */

/* -- EB PADDING -- */
.nopadding { padding: 0; }
.section-padding { padding: 90px 0 100px; margin-top:-20px;}
.section-padding-page { padding: 50px; margin-top:50px; }
.section-padding-page-lg { padding: 50px; }
.eb-section-padding { padding: 100px 100px 100px 0;}
.eb-section-padding-mob { padding: 50px 15px;}
.eb-section-padding-left { padding: 200px 100px 100px 100px;}

/* -- NAVBAR -- */

.eb-header-padding {
padding: 0 35px;
}

.page-margin {
margin-top: -75px;
}

.lang-en a {
color:#333333;
}

.lang-it a {
color:#333333;
}

/* -- HEADER SOCIAL -- */
.eb-header-social ul {
text-align:right;
list-style-type: none;
padding-top: 20px;
}
.eb-header-social ul li {
display:inline-block;
}

.eb-header-social ul li a{
text-decoration: none;
padding: 0 0.75em;
color: #9a9a9a;
}

.eb-header-social ul li a:hover{
color: #333333;
}

.dropdown-menu {
background: rgba(255, 255, 255, 0.9);
border-radius:0px;
}

.dropdown-menu li a {
text-transform: uppercase;
font-family: 'Montserrat', sans-serif;
}

.dropdown-menu li a:hover {
color:#9a9a9a;
}

.dropdowntxt {
text-indent: 20px;
}

/* -- Intro -- */
.intro { background: #f5f5f5; }
.intro p { 
text-align:justify;
margin: 50px 0 0; 
}
 
/* -- SERVICES -- */

.services { 
padding: 20px 20px;
text-align:justify;
}

.service-image { 
   position: relative; 
   width: 100%; /* for IE 6 */
}
h3 { 
   position: absolute; 
   top: 65%; 
   text-align:center; 
   width: 100%; 
   color: #fff;
   padding-right: 30px;
}


/* PORTOFOLIO */
#portfolio .portfolio-item {
    right: 0;
    margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 400px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(255,255,255,.2);
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
    opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 20px;
    color: #fff;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
    margin: 0;
}

#portfolio * {
	z-index: 2;
}

@media(min-width:767px) {
    #portfolio .portfolio-item {
        margin: 0 0 30px;
    }
}

/* -- FOOTER SOCIAL -- */
.eb-contact {
margin-left: -30px;
text-align:center;
list-style-type: none;
}
.eb-contact ul li {
display:inline-block;
}
.eb-contact ul li a{
text-decoration: none;
padding: 0 1.5em;
color: #595958;
}

.eb-contact ul li a:hover{
color: #9a9a9a;
}

.img-responsive {
padding:15px;
}

/*-- CONTENT --*/


.eb-image-padding { padding-bottom: 50px;}
.eb-image-padding-tb { padding-top:50px; padding-bottom: 50px; }
.eb-image-padding-lg { padding-top:100px; }
.portrait-padding { padding-bottom:50px; }

.eb-content {
text-align:justify;
}

.eb-content h2 {
text-align:center;
margin-bottom:50px;
}

.eb-content h4 {
text-align:left;
font-style:italic;
color:#9a9a9a;
}

.eb-content span {
font-family: 'Montserrat', sans-serif;
text-transform: uppercase;
color:#333333;
}

.eb-content span02 {
color:#9a9a9a;
}

/** Go to top **/
#gototop {
  position: fixed;
  bottom: 140px;
  right: 35px;
  display: block;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  text-align: center;
  z-index: 10000;
  visibility: hidden;
  -moz-opacity: 0;
  -khtml-opacity: 0;
  -webkit-opacity: 0;
  opacity: 0;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
  filter: alpha(opacity=0);
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
}
#gototop:hover {
  background: rgba(0, 0, 0, 0.5);
}
#gototop.line-visible {
  visibility: visible;
  -moz-opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
  filter: alpha(opacity=100);
}
#gototop i {
  line-height: 32px;
}

.navbar-page {
width:100%;
display:inline-block;
}

.pagenav {
float: right;
padding-top:30px;
padding-bottom:30px;
}
