  /*
   Theme Name: © 2016 La banca del tempo perso
   Theme URI: http://themeisle.com/themes/zerif-lite/
   Description: This is a custom child theme I have created.
   Author: Chuck Norris Author
   URI: http://themeisle.com
   Template: zerif-lite
   Version: 0.1 
   */
  
	
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,700);

/* BARRA DI NAVIGAZIONE */
.navbar-inverse .navbar-nav>li>a {
  color: #173f72;
  font-size: 20px;
}

.focus-box .service-icon {
  width: 220px;
  height: 220px;
  border-radius: 0;
}

.navbar-brand {
  height: 100px;
}

.header-content-wrap {
  background-color: rgba(0, 0, 0, 0.1);
}

#main-nav {
  background-color: rgba(255, 255, 255, 0);
  border-color: rgba(255, 255, 255, 0);
}

#main-nav.fixed {
  background-color: rgba(225, 225, 225, 0.7);
  overflow: scroll;
  position: fixed;
}

/*PULSANTI */
.red-btn {
  background-color: #173f72;
  margin-top: 250px;
}

.green-btn:hover {
  background-color: #173f72;
}

.green-btn {
  background-color: #c7810d;
  margin-top: 250px;
}

.red-btn:hover {
  background-color: #c7810d;
}

.so-widget-sow-image-sow-image-3f547a15eaaa .sow-image-container .so-widget-image {
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -90px;
  margin-top: 10;
  width: 100px;
}

h2 {
  font-size: 16px;
  font-weight: normal;
  text-align: center;
}

/* CHI SIAMO */
#aboutus.about-us {
  background-color: #173f72;
  opacity: 0.96;
}

/* CONTATTACI */
#contact.contact-us {
  background-color: rgba(199, 129, 13, 0.64);
}

.section-header h2 {
  color: #173f72;
}

.about-us .big-intro {
  background-image: url("http://studiolegalecretoni.it/wp-content/uploads/2016/04/test-4.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  font-weight: 100;
  font-size: 145px;
  margin-top: 8px;
}

/* FOOTER */
#footer {
  background-color: #173f72;
}

.col-md-3.copyright {
  background-color: #00224f;
}

font {
  font-size: 18px;
}

#chi font {
  font-size: 35px;
}

.about-us .col-md-12.zerif_about_us_center p {
  font-size: 18px;
  text-align: justify;
  color: #ffffff;
}

.focus-box:nth-child(4n+1) .service-icon:hover {
  border-color: #173f72;
}

.focus-box:nth-child(4n+2) .service-icon:hover {
  border-color: #173f72;
}

.focus-box:nth-child(4n+3) .service-icon:hover {
  border-color: #173f72;
}

.focus-box h3 {
  color: #173f72;
}

.focus-box:nth-child(4n+3) .red-border-bottom:before {
  background: #c7810d;
}

.focus-box:nth-child(4n+2) .red-border-bottom:before {
  background: #c7810d;
}

.focus-box:nth-child(4n+1) .red-border-bottom:before {
  background: #c7810d;
}

ul.social li a {
  font-size: 50px;
}

.contact-us .custom-button {
  margin-top: -2px;
}

.fa.fa-lg {
  color: #ff0000;
  font-size: 200px;
  text-align: justify;
  margin-right: -1px;
  margin-top: 10px;
}

.info-box .rdvib-center h2 {
  margin-bottom: -10px;
}

/* hover effect */
.view {
  width: 300px;
  height: 250px;
  margin: 10px;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  max-width: 100%;
  max-height: 100%;
}

.view .mask, .view .content {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
}

.view img {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}

.view h2 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 20px;
  padding: 10px;
  background: rgba(22, 63, 114, 0.8);
  margin: 20px 0 0 0;
}

.view p {
  font-family: Georgia, serif;
  font-style: normal;
  font-size: 18px;
  position: relative;
  color: #fff;
  padding: 10px 20px 20px;
  text-align: center;
}

.view a.info {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px;
  background: #173f72;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 0 1px #000;
}

.view a.info:hover {
  box-shadow: 0 0 5px #000;
}

.view-first img {
  transition: all 0.2s linear;
}

.view-first .mask {
  opacity: 0;
  background-color: rgba(199,129,13, 0.7);
  transition: all 0.4s ease-in-out;
}

.view-first h2 {
  transform: translateY(-100px);
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.view-first p {
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.2s linear;
}

.view-first a.info {
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.view-first:hover img {
  transform: scale(1.1);
}

.view-first:hover .mask {
  opacity: 1;
}

.view-first:hover h2,
.view-first:hover p,
.view-first:hover a.info {
  opacity: 1;
  transform: translateY(0px);
}

.view-first:hover p {
  transition-delay: 0.1s;
}

.view-first:hover a.info {
  transition-delay: 0.2s;
}

.company-details a {
  color: #ffffff;
}

.fa.fa-linkedin {
  color: #c7810d;
  margin-top: -10px;
}

.navbar-inverse .navbar-nav>li>a:hover {
  color: #c7810d;
}

.site-content a {
  color: #ff0000;
}

.company-details a:hover {
  color: #c7810d;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background-color: #173f72;
}

.wpcf7-form-control.wpcf7-text {
  display: inline;
  position: inherit;
  border-radius: 10px 10px 10px;
  max-width: 100%;
  max-height: 100%;
  text-align: center;
}

.contact-us textarea {
  border-radius: 10px 10px 10px;
  max-width: 100%;
  max-height: 100%;
}

p {
  color: #ffffff;
}

.wpcf7-form {
  position: inherit;
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
}

.navbar-toggle.collapsed {
  background-color: #173f72 !important;
}

.navbar-toggle.active {
  background-color: #c7810d !important;
}

/* attività */
.focus-box p {
  text-align: justify;
}

/* Scroll ToTop */
.scrollup:hover {
  -webkit-transform: scale(1.1,1.1);
  -moz-transform: scale(1.1,1.1);
  -o-transform: scale(1.1,1.1);
  -ms-transform: scale(1.1,1.1);
  transform: scale(1.1,1.1);
  opacity: 0.7;
}

.scrollup {
  display: none;
  width: 60px;
  height: 60px;
  text-indent: -9999px;
  position: fixed;
  z-index: 999;
  right: 20px;
  bottom: 20px;
  background: #173f72 url("http://studiolegalecretoni.it/wp-content/uploads/2016/04/up-arrow.png") no-repeat center 43%;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}

/*copy */
.zerif-copyright-box {
  display: none;
}

#zerif-copyright {
  margin-top: -30px;
}