@import url("https://fonts.googleapis.com/css?family=Economica:400,700");
@import url("https://fonts.googleapis.com/css?family=Roboto+Condensed");
@import url("https://fonts.googleapis.com/css?family=Anton");
html,
body {
  width: 100%;
  overflow-x: hidden;
}

h1.whiteH1_mandatory {
  color: #fff !important;
}

h1.whiteH1_mandatory * {
  color: #fff !important;
}

p.largerFont {
  font-size: 16px;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  min-height: 100%;
  font-size: 14px;
  padding-top: 200px;
}

hr {
  border-color: #3c6fb5;
  border-width: 3px;
  max-width: 50px;
}

hr.light {
  border-color: white;
}

a {
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
  color: inherit;
}

a:hover,
a:focus {
  color: #3c6fb5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Anton", sans-serif;
}

.blog-section {
  padding: 50px 0;
}

.blog-section > .container-fluid {
  padding: 0 25px;
}

.blog-section .blog-menu-container {
  width: 20%;
  float: left;
}

.blog-section .blog-container {
  float: left;
  width: 80%;
}

.blog-section .internal-container {
  width: 100%;
}

.thread-searcher input {
  border: 0;
  border-bottom: 1px solid #999;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.5s;
  padding: 3px 5px;
}

.searcher-box {
  height: 34px;
}

.searcher-box input {
  float: left;
  width: calc(100% - 40px);
}

.searcher-box button {
  float: left;
  padding: 5px 10px;
}

.internal-blog-container h1,
.internal-blog-container h3,
.blog-container h1 {
  margin-top: 15px;
  margin-bottom: 5px;
}

.internal-blog-container .mainImage {
  margin: 0 auto;
}

.main-content {
  max-width: 900px;
  width: 100%;
  margin: 25px auto;
  text-align: justify;
}

.blog-comment-item > .comment-time {
  color: #e4003a;
  padding-bottom: 10px;
}

.blog-comment-item > .comment-user-name {
  text-align: justify;
  border-top: 1px solid #244374;
  padding-top: 15px;
  padding-bottom: 5px;
  font-size: 18px;
  color: #244374;
}

.blog-comment-item {
  padding-top: 15px;
}

.comment-area {
  border-radius: 0;
}

.badge-danger {
  background-color: #d9534f;
}

.blog-comment-item > * {
  text-align: justify;
}

.main-content h2.internal-h2 {
  margin: 15px 0;
  font-size: 30px;
  padding-bottom: 15px;
  text-align: center;
  border-bottom: 1px solid #394b54;
}

.internal-blog-container h2,
.blog-container h2 {
  margin-top: 5px;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: normal;
}

.blog-container > .well {
  border-radius: 0;
  padding: 0 19px;
}

.blog-thread-item img {
  border-radius: 0;
  transition: 0.5s all;
  opacity: 0.7;
}

.blog-thread-item img:hover {
  border-radius: 0;
  box-shadow: 10px 10px 10px #666;
  opacity: 1;
}

.blog-thread-item {
  margin-bottom: 20px;
  overflow: hidden;
}

.thread-searcher input:focus {
  box-shadow: none;
  border-color: #666;
  padding-left: 20px;
}

.date-calendar {
  position: absolute;
  width: 75px;
  height: 75px;
  top: 15px;
  left: 30px;
  pointer-events: none;
}

.date-calendar > .day {
  padding: 5px;
  background-color: #fff;
  z-index: 9999;
  text-align: center;
  font-size: 30px;
}

.date-calendar > .month {
  background-color: #d9534f;
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 18px;
}

.thread-info-container {
  position: absolute;
  bottom: 0;
  left: 15px;
  height: 40px;
  background-color: #233741aa;
  width: calc(100% - 30px);
  pointer-events: none;
  transition: all 0.5s;
}

.thread-info-container > .thread-short-description {
  opacity: 0;
  height: 0;
  color: #fff;
}

.thread-info-container > .thread-counters {
  opacity: 0;
  height: 0;
  color: #fff;
}

.thread-info-container > .thread-title {
  color: #fff;
  font-size: 25px;
  padding: 0 25px;
}

.blog-thread-item:hover .thread-info-container {
  height: 125px;
}

.blog-thread-item:hover .thread-title {
  text-decoration: udnerline;
}

.blog-thread-item:hover .thread-counters {
  opacity: 1;
  font-size: 25px;
  padding: 0 25px;
  height: 40px;
}

.blog-thread-item:hover .thread-short-description {
  opacity: 1;
  height: 40px;
  padding: 0 25px;
}

.blog-section .thread-list .list-group-item {
  border: 0;
  border-bottom: 2px solid #233741;
  border-radius: 0;
  border-left: 1px solid #233741;
}

.blog-section .thread-list .list-group-item.active {
  background-color: #233741;
  color: #fff;
  border: 0;
  border-bottom: 2px solid #233741;
  border-left: 1px solid #233741;
}

h1 {
  color: #233a74;
  margin-bottom: 50px;
  margin-top: 50px;
  font-size: 3em;
  text-align: center;
}

h1 span {
  color: #e4013b;
}

p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.navbar {
  padding-bottom: 5px;
}

.lightbox {
  position: fixed !important;
  left: 0;
  width: 100%;
  z-index: 10000;
  font-weight: 400;
}

.bg-primary {
  background-color: #3c6fb5;
}

.bg-dark {
  background-color: #eee;
  color: #222;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

.myButton {
  transition: all ease 0.5s;
}

.myRotate {
  transform: rotate(-45deg);
}

section {
  padding: 0;
  margin: 0;
  clear: both;
}

aside {
  padding: 50px 0;
}

.pre-nav {
  font-size: 100%;
  width: 100%;
  height: 100%;
  color: #fff;
  display: table;
  text-align: right;
  padding: 0 30px;
}

.spostamento {
  right: -315px;
}

.vertical-text {
  position: absolute;
  bottom: 70px;
  left: -15px;
  z-index: 0;
  -ms-transform: rotate(-90deg);
  /* IE 9 */
  -webkit-transform: rotate(-90deg);
  /* Chrome, Safari, Opera */
  transform: rotate(-90deg);
}

.slider-int {
  height: 370px;
  overflow: hidden;
}

.no-padding {
  padding: 0;
}

.navbar-default {
  background-color: white;
  border-color: rgba(34, 34, 34, 0.05);
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
}

.navbar-default .navbar-header .navbar-brand {
  color: #3c6fb5;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px;
}

.navbar-default .navbar-header .navbar-brand:hover,
.navbar-default .navbar-header .navbar-brand:focus {
  color: #3c6fb5;
}

.navbar-default .navbar-header .navbar-toggle {
  font-weight: 700;
  font-size: 12px;
  color: #222222;
  text-transform: uppercase;
}

.navbar-default .nav > li > a,
.navbar-default .nav > li > a:focus,
#dropdownMenu2 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  color: #222222;
}

.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus:hover {
  color: #3c6fb5;
}

.navbar-default .nav > li.active > a,
.navbar-default .nav > li.active > a:focus,
#dropdownMenu2:focus {
  color: #3c6fb5 !important;
  background-color: transparent;
}

.navbar-default .nav > li.active > a:hover,
.navbar-default .nav > li.active > a:focus:hover,
#dropdownMenu2:hover {
  background-color: transparent;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -100%;
  margin: 2px 0 0;
  font-size: 14px;
  background-color: #233741;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: transparent;
  border: transparent;
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
  padding-bottom: 0;
  color: #fff;
}

.dropdown-menu > li > a {
  display: block;
  padding: 5px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #e5eaed;
  white-space: nowrap;
  border-bottom: dashed 1px;
}

.dropdown-menu > li:last-child > a {
  border-bottom: dashed 1px transparent;
}

.social-top {
  float: left;
}

.social-top > li {
  padding: 0;
}

.social-top li img {
  max-width: 35px;
  padding: 15px 5px;
  transition: all ease 0.5s;
}

.social-top li img:hover {
  padding: 0px;
}

.navbar-default .navbar-header .navbar-brand {
  height: 100px;
}

header {
  min-height: auto !important;
}

.navbar-default .nav > li > a,
.navbar-default .nav > li > a:focus {
  color: #000000;
}

.grid-header-1 {
  width: 66%;
  overflow: hidden;
  height: 78vh;
  float: left;
  position: relative;
}

.grid-header-1 img {
  height: 100vh;
}

.grid-header-2 img,
.grid-header-3 img,
.grid-header-3 .owl-stage-outer {
  height: 50vh;
}

.grid-header-2,
.grid-header-3 {
  width: 34%;
  overflow: hidden;
  height: 39vh;
  float: left;
  position: relative;
}

.grid-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.grid-header-1 img {
  height: 100vh;
}

.grid-header-2 img,
.grid-header-3 img {
  height: 50vh;
}

.header-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 4em;
  width: 100%;
  padding: 50px 50px 15px 15px;
  font-family: "Anton", sans-serif;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+98&0.65+0,0+61,0+61 */
  background: -moz-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0) 61%,
    rgba(0, 0, 0, 0) 98%
  );
  /* FF3.6-15 */
  background: -webkit-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0) 61%,
    rgba(0, 0, 0, 0) 98%
  );
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0) 61%,
    rgba(0, 0, 0, 0) 98%
  );
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */
}

.counter-row {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  margin: 0;
}

.before-blu {
  position: relative;
  overflow: hidden;
}

.before-blu::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(34, 51, 68, 0.7);
  left: 0;
  top: 0;
}

.banner-promo {
  background-image: url(../img/slider/F1-2013-Wallpaper.jpg);
  padding: 80px 0;
  background-position: center center;
}

.sezione-1 {
  background-image: url(../img/bg/bg-sezione-1.jpg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 270px;
}

.sezione-2 {
}

.box-area {
  padding: 0;
  margin: 0;
  height: 30vh;
  min-height: 300px;
  position: relative;
  background-color: #233741;
}

.box-area img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.6;
  left: 0;
  top: 0;
}

.box-area span {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  font-family: "Economica";
  font-style: italic;
  font-size: 50px;
  color: #fff;
  text-align: center;
}

.sezione-3 {
  background-image: url(../img/sezione-3/formula-1-motion-blur-wallpaper-49938-51620-hd-wallpapers.jpg);
  background-attachment: fixed;
  background-position: center center;
  padding-top: 200px;
}

.red-bg {
  background-color: rgba(238, 0, 51, 0.8);
  color: #fff;
  padding-top: 25px;
  padding-bottom: 25px;
  position: relative;
  z-index: 10;
}

.red-bg h2 {
  font-size: 3em;
}

.sezione-4 {
  background-color: #e5eaed;
  padding-bottom: 50px;
}

.box-sezione-4 {
  background-color: #fff;
  padding: 15px;
}

.img-scritta {
  min-height: 250px;
  position: relative;
  background-color: #233741;
  height: 30vh;
  margin-bottom: 15px;
}

.img-scritta img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.6;
  left: 0;
  top: 0;
}

.img-scritta span {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  font-family: "Economica";
  font-style: italic;
  font-size: 32px;
  color: #fff;
  text-align: center;
}

.sezione-5 {
  background-image: url(../img/sezione-5/call.jpg);
  background-size: cover;
  background-position: center center;
  padding: 50px 0;
}

.sezione-5 h2 {
  color: #e4013b;
  font-size: 3.5em;
  margin: 0 auto 25px;
}

.sezione-5 h2 span {
  color: #fff;
}

.sezione-6 {
}

.panel-primary {
  border-color: transparent;
}

.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.panel-primary > .panel-heading {
  color: #233a74;
  background-color: transparent;
  border-color: transparent;
}

.panel-body {
  padding: 15px;
  border-top: solid 2px;
  margin-top: -1px;
}

.panel-tabs > li.active {
  float: left;
  margin-bottom: -9px;
  border: solid 2px;
  border-bottom: white;
  background-color: #fff;
}

/*Panel tabs*/

.panel-tabs {
  position: relative;
  bottom: -10px;
  clear: both;
  border-bottom: 1px solid transparent;
}

.panel-tabs > li {
  float: left;
  margin-bottom: -1px;
  width: calc(100% / 4);
  text-align: center;
}

.panel-tabs > li > a {
  margin-right: 2px;
  margin-top: 4px;
  line-height: 0.85;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  color: #233a74;
}

.panel-tabs > li > a:hover {
  border-color: transparent;
  color: #e4013b;
  background-color: transparent;
}

.panel-tabs > li.active > a,
.panel-tabs > li.active > a:hover,
.panel-tabs > li.active > a:focus {
  color: #233a74;
  cursor: default;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.23);
  border-bottom-color: transparent;
}

.sezione-7 {
  background-color: #e5eaed;
  padding: 50px 0;
}

.sezione-7 img {
  filter: grayscale(1);
  transition: all ease 0.5s;
}

.sezione-7 img:hover {
  filter: grayscale(0);
}

.interno-top {
  padding-top: 50px;
  /*  padding-bottom: 50px;*/
  position: relative;
  min-height: 580px;
}

.interno-top::after {
  background-image: url(../img/interna/bg-interno.jpg);
  background-position: center center;
  background-size: cover;
  overflow: hidden;
  background-repeat: no-repeat;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  z-index: -1;
}

.interno-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+99 */
  background: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 80%,
    rgba(255, 255, 255, 1) 100%
  );
  /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 80%,
    rgba(255, 255, 255, 1) 100%
  );
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 80%,
    rgba(255, 255, 255, 1) 100%
  );
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0);
  /* IE6-9 */
  background-position: bottom center;
  background-repeat: no-repeat;
}

.interno-top section:first-of-type {
  min-height: 450px;
}

.language {
  padding: 15px;
  position: absolute;
  top: 0;
  right: 0;
  color: #000;
  font-size: 12px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
  margin-top: 10px;
  font-size: 12px;
}

.dropdown-content > li > a {
  font-size: 12px;
  line-height: 35px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.drop-nav-space {
  padding: 35px 5px 15px;
  cursor: pointer;
}

@media (min-width: 769px) and (max-width: 1366px) {
  .cbp-hrmenu > ul > li > a {
    padding: 2.5em 0.5em;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .language {
    top: 10px !important;
  }
  .boxlaterale {
    bottom: 5%;
  }
  .caption-box h2 {
    font-size: 15px;
  }
  .cbp-hrmenu > ul > li {
    width: calc(100% / 1);
  }
}

@media (min-width: 768px) {
  .navbar-default {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.3);
    border-bottom: solid 1px #233a74;
  }
  .navbar-default .navbar-header .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  .navbar-default .navbar-header .navbar-brand:hover,
  .navbar-default .navbar-header .navbar-brand:focus {
    color: white;
  }
  .navbar-nav > li > a {
    padding-top: 35px;
    padding-bottom: 15px;
  }
  .navbar-default .nav > li > a,
  .navbar-default .nav > li > a:focus {
    color: rgba(255, 255, 255, 0.7);
  }
  .navbar-default .nav > li > a:hover,
  .navbar-default .nav > li > a:focus:hover {
    color: white;
  }
  .navbar-default.affix {
    background-color: white;
    border-color: rgba(34, 34, 34, 0.05);
  }
  .navbar-default.affix .navbar-header .navbar-brand {
    color: #3c6fb5;
    font-size: 14px;
  }
  .navbar-default.affix .navbar-header .navbar-brand:hover,
  .navbar-default.affix .navbar-header .navbar-brand:focus {
    color: #03c6fb;
  }
  .navbar-default.affix .nav > li > a,
  .navbar-default.affix .nav > li > a:focus {
    color: #222222;
  }
  .navbar-default.affix .nav > li > a:hover,
  .navbar-default.affix .nav > li > a:focus:hover {
    color: #3c6fb5;
  }
}

header {
  position: relative;
  width: 100%;
  min-height: auto;
  color: white;
}

header .header-content {
  position: relative;
  text-align: center;
  padding: 100px 15px 100px;
  width: 100%;
}

header .header-content .header-content-inner h1 {
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 30px;
}

header .header-content .header-content-inner hr {
  margin: 30px auto;
}

header .header-content .header-content-inner p {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  header {
    min-height: 100%;
  }
  header .header-content {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 0 50px;
  }
  header .header-content .header-content-inner {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
  header .header-content .header-content-inner h1 {
    font-size: 50px;
  }
  header .header-content .header-content-inner p {
    font-size: 18px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

.section-heading {
  margin-top: 0;
}

.service-box {
  max-width: 400px;
  margin: 50px auto 0;
}

@media (min-width: 992px) {
  .service-box {
    margin: 20px auto 0;
  }
}

.service-box p {
  margin-bottom: 0;
}

.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0 auto;
}

.portfolio-box .portfolio-box-caption {
  color: white;
  opacity: 0;
  display: block;
  background: rgba(240, 95, 64, 0.9);
  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.portfolio-box
  .portfolio-box-caption
  .portfolio-box-caption-content
  .project-category,
.portfolio-box
  .portfolio-box-caption
  .portfolio-box-caption-content
  .project-name {
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  padding: 0 15px;
}

.portfolio-box
  .portfolio-box-caption
  .portfolio-box-caption-content
  .project-category {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
}

.portfolio-box
  .portfolio-box-caption
  .portfolio-box-caption-content
  .project-name {
  font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.portfolio-box:focus {
  outline: none;
}

@media (min-width: 768px) {
  .portfolio-box
    .portfolio-box-caption
    .portfolio-box-caption-content
    .project-category {
    font-size: 16px;
  }
  .portfolio-box
    .portfolio-box-caption
    .portfolio-box-caption-content
    .project-name {
    font-size: 22px;
  }
}

.call-to-action h2 {
  margin: 0 auto 20px;
}

.text-primary {
  color: #3c6fb5;
}

.no-gutter > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

/* Buttons */

.btn {
  letter-spacing: 1px;
  text-decoration: none;
  background: none;
  -moz-user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 0;
  vertical-align: middle;
  white-space: nowrap;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
  border: 3px solid;
  padding: 8px 20px;
}

.btn-outlined {
  border-radius: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.btn-outlined.btn-theme {
  background: none;
  color: #e4013b;
  border-color: #e4013b;
}

.btn-outlined.btn-theme:hover,
.btn-outlined.btn-theme:active {
  color: #fff;
  background: #e4013b;
  border-color: #e4013b;
}

.btn-outlined.btn-black {
  background: none;
  color: #000000;
  border-color: #000000;
}

.btn-outlined.btn-black:hover,
.btn-outlined.btn-black:active {
  color: #fff;
  background: #000000;
  border-color: #000000;
}

.btn-outlined.btn-white {
  background: none;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outlined.btn-white:hover,
.btn-outlined.btn-white:active {
  color: #e4013b;
  background: #ffffff;
  border-color: #ffffff;
}

.btn-outlined.btn-white-inv {
  background: #ffffff;
  color: #e4013b;
  border-color: #ffffff;
}

.btn-outlined.btn-white-inv:hover,
.btn-outlined.btn-white-inv:active {
  color: #fff;
  background: transparent;
  border-color: #ffffff;
}

.btn-xs {
  font-size: 11px;
  line-height: 14px;
  border: 1px solid;
  padding: 5px 10px;
}

.btn-sm {
  font-size: 12px;
  line-height: 16px;
  border: 2px solid;
  padding: 8px 15px;
}

.btn-lg {
  font-size: 18px;
  line-height: 22px;
  border: 4px solid;
  padding: 13px 40px;
}

img::selection {
  color: white;
  background: transparent;
}

img::-moz-selection {
  color: white;
  background: transparent;
}

body {
  webkit-tap-highlight-color: #222222;
}

.box-negozi-row {
  padding: 30px 0;
  overflow: hidden;
  position: relative;
  padding-top: 100px;
}

.box-aree-row {
  padding: 30px 0;
  overflow: hidden;
  position: relative;
  background-color: #eee;
}

.box-aree {
  margin: 0;
  /* overflow: hidden; */
  position: relative;
  background-color: #eee;
  transition: all 0.5s ease;
  cursor: pointer;
}

/*
.box-aree:hover {
opacity: 0.8;
} */

.box-aree img {
  width: 100%;
}

.caption-box {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 15px;
  color: #3c6fb5;
  background-color: #bababa;
  width: calc(100% - 30px);
  margin-left: 15px;
  transition: all 0.5s ease;
  z-index: 9;
}

.box-aree:hover .caption-box {
  background-color: #fff;
  padding: 40px;
}

.caption-box h2 {
  margin: 0;
  padding: 0;
  font-size: 23px;
}

.logo-slide-neg {
  position: absolute;
  right: 15px;
  top: -28px;
  /* opacity: 0.6; */
  width: 200px;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 10;
  padding: 8px;
  -webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
}

.logo-slide-neg img {
  width: 100%;
}

.map {
  padding: 0;
  margin-bottom: 50px;
}

.question-box {
  padding: 30px 0;
}

.question-text {
  background: #e8e8e8 none repeat scroll 0 0;
  border: medium none;
  color: #666;
  display: block;
  font-size: 14px;
  line-height: 20px;
  padding: 15px;
  position: relative;
}

/* Testimonials */

.testimonials blockquote {
  background: #e8e8e8 none repeat scroll 0 0;
  border: medium none;
  color: #666;
  display: block;
  font-size: 14px;
  line-height: 20px;
  padding: 15px;
  position: relative;
}

.testimonials blockquote::before {
  width: 0;
  height: 0;
  right: 0;
  bottom: 0;
  content: " ";
  display: block;
  position: absolute;
  border-bottom: 20px solid #fff;
  border-right: 0 solid transparent;
  border-left: 15px solid transparent;
  border-left-style: inset;
  /*FF fixes*/
  border-bottom-style: inset;
  /*FF fixes*/
}

.testimonials blockquote::after {
  width: 0;
  height: 0;
  right: 0;
  bottom: 0;
  content: " ";
  display: block;
  position: absolute;
  border-style: solid;
  border-width: 20px 20px 0 0;
  border-color: #3c6fb5 transparent transparent transparent;
}

.testimonials .carousel-info img {
  border: 1px solid #f5f5f5;
  border-radius: 150px !important;
  height: 75px;
  padding: 3px;
  width: 75px;
}

.testimonials .carousel-info {
  overflow: hidden;
}

.testimonials .carousel-info img {
  margin-right: 15px;
}

.testimonials .carousel-info span {
  display: block;
}

.testimonials span.testimonials-name {
  color: #3c6fb5;
  font-size: 16px;
  font-weight: 300;
  margin: 23px 0 7px;
}

.testimonials span.testimonials-post {
  color: #656565;
  font-size: 12px;
}

.box-caption {
  position: absolute;
  margin: 5%;
  left: 0;
  bottom: 0;
  color: #fff;
  z-index: 10;
  padding: 25px;
  width: 80%;
  transition: all 1s ease;
  border-top: solid 1px;
}

.slider-primary-tit {
  font-size: 36px;
}

.slider-secondary-tit {
  font-size: 20px;
  margin: 0;
}

.navbar-inverse .navbar-toggle .icon-bar {
  background-color: #333333;
}

.navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-toggle:hover {
  background-color: #b9b9b9;
}

footer {
  background-color: #233741;
  padding: 50px 0;
  color: #fff;
}

footer h4,
.second-footer h4 {
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 0.5em;
  margin-top: 1em;
  font-family: "economica", sans-serif;
}

.second-footer {
  background-color: #394b54;
  padding: 20px;
  color: #fff;
}

.third-footer {
  background-color: #fff;
  padding: 15px 0;
  position: relative;
}

.third-footer::before {
  position: absolute;
  content: "";
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(../img/logo/linguetta-w.png);
  width: 250px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
}

.progress {
  width: 150px;
  height: 150px;
  line-height: 150px;
  background: none;
  margin: 0 auto;
  box-shadow: none;
  position: relative;
}

.progress:after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #fff;
  position: absolute;
  top: 0;
  left: 0;
}

.progress > span {
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 1;
}

.progress .progress-left {
  left: 0;
}

.progress .progress-bar {
  width: 100%;
  height: 100%;
  background: none;
  border-width: 2px;
  border-style: solid;
  position: absolute;
  top: 0;
}

.progress .progress-left .progress-bar {
  left: 100%;
  border-top-right-radius: 80px;
  border-bottom-right-radius: 80px;
  border-left: 0;
  -webkit-transform-origin: center left;
  transform-origin: center left;
}

.progress .progress-right {
  right: 0;
}

.progress .progress-right .progress-bar {
  left: -100%;
  border-top-left-radius: 80px;
  border-bottom-left-radius: 80px;
  border-right: 0;
  -webkit-transform-origin: center right;
  transform-origin: center right;
  animation: loading-1 1.8s linear forwards;
}

.progress .progress-value {
  width: 85%;
  height: 85%;
  border-radius: 50%;
  border: 2px solid #ebebeb;
  font-size: 32px;
  line-height: 125px;
  text-align: center;
  position: absolute;
  top: 7.5%;
  left: 7.5%;
}

.progress.blue .progress-bar {
  border-color: #049dff;
}

.progress.blue .progress-value {
  color: #049dff;
}

.progress.blue .progress-left .progress-bar {
  animation: loading-2 1.5s linear forwards 1.8s;
}

.progress.yellow .progress-bar {
  border-color: #fdba04;
}

.progress.yellow .progress-value {
  color: #fdba04;
}

.progress.yellow .progress-left .progress-bar {
  animation: loading-3 1s linear forwards 1.8s;
}

.progress.pink .progress-bar {
  border-color: #ed687c;
}

.progress.pink .progress-value {
  color: #ed687c;
}

.progress.pink .progress-left .progress-bar {
  animation: loading-4 0.4s linear forwards 1.8s;
}

.progress.green .progress-bar {
  border-color: #1abc9c;
}

.progress.green .progress-value {
  color: #1abc9c;
}

.progress.green .progress-left .progress-bar {
  animation: loading-5 1.2s linear forwards 1.8s;
}

@keyframes loading-1 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}

@keyframes loading-2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(144deg);
    transform: rotate(144deg);
  }
}

@keyframes loading-3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}

@keyframes loading-4 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(36deg);
    transform: rotate(36deg);
  }
}

@keyframes loading-5 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(126deg);
    transform: rotate(126deg);
  }
}

@media only screen and (max-width: 990px) {
  .progress {
    margin-bottom: 20px;
  }
}

@media (max-width: 1024px) {
  .navbar-header {
    float: none;
  }
  .navbar-left,
  .navbar-right {
    float: none !important;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
    border-bottom: solid 1px;
  }
  .navbar-collapse.collapse {
    display: none !important;
  }
  .navbar-nav {
    float: none !important;
    margin-top: 0px !important;
    overflow: auto;
    position: relative;
    max-height: 300px;
  }
  .navbar-nav > li {
    float: none;
  }
  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .collapse.in {
    display: block !important;
  }
  .dropdown-content {
    display: block;
    position: relative;
    background-color: #fff;
    min-width: 160px;
    box-shadow: none;
    padding: 12px 16px;
    z-index: 1;
    margin-top: 10px;
    font-size: 12px;
  }
  .language {
    top: 50px !important;
  }
  .hidden-sl {
    display: none !important;
  }
  .visible-sl {
    display: block !important;
  }
  body {
    padding-top: 155px;
  }
  .navbar-default .navbar-header .navbar-brand {
    height: 100px;
    margin-left: 50%;
    margin-top: -40px;
    transform: translate(-50%);
  }
  .navbar-fixed-bottom .navbar-collapse,
  .navbar-fixed-top .navbar-collapse {
    max-height: 440px;
  }
  .navbar-nav {
    max-height: 400px;
  }
  .navbar-brand img {
    height: 90%;
  }
  .container-sx,
  .cbp-hrmenu .container-dx {
    float: left;
    display: inline-block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  .cbp-hrmenu > ul > li {
    border-bottom: 2px solid #233a74;
    width: 100%;
  }
  .social-sx,
  .container-dx {
    width: 50%;
    padding: 0;
    text-align: left;
  }
  /* .social-sx{
    margin-top: 5px;
    }*/
  .pre-nav {
    padding: 0;
    text-align: right;
  }
  .pre-nav > div > * {
    margin: 0 5px !important;
  }
  .social-sx .social-top {
    float: none;
    display: inline-block;
  }
  .social-top li img {
    max-width: 35px;
  }
  .grid-header-1,
  .grid-header-2,
  .grid-header-3 {
    width: 100%;
  }
  .counter-row {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 25px 15px;
  }
 
  .grid-header-3 img {
    position: absolute;
    z-index: -1;
  }
  .header-caption {
    font-size: 2em;
  }
  .logo-sp img {
    display: none;
  }
  .cbp-hrmenu > ul > li {
    border-bottom: 2px solid #233a74;
  }
  .cbp-hrmenu > ul > li > a {
    padding: 1em;
  }
  #navbar-collapse-1 {
    max-height: 300px;
    overflow: auto;
  }
  .box-aree {
    margin-bottom: 15px;
  }
  .btn {
    font-size: 14px;
  }
  .slider-int {
    height: auto;
  }
  .section-heading {
    margin-top: 20px;
  }
  .dropdown-content {
    display: block;
    position: relative;
    background-color: #fff;
    min-width: 160px;
    box-shadow: none;
    padding: 12px 16px;
    z-index: 1;
    margin-top: 10px;
    font-size: 12px;
  }
  .box-sede-fixed {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0.8;
  }
  .language {
    top: 50px !important;
  }
  .sezione-1 {
    background-size: contain;
    padding-bottom: 100px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 155px;
  }
  .navbar-default .navbar-header .navbar-brand {
    height: 100px;
    margin-left: 50%;
    margin-top: -40px;
    transform: translate(-50%);
  }
  .navbar-fixed-bottom .navbar-collapse,
  .navbar-fixed-top .navbar-collapse {
    max-height: 440px;
  }
  .navbar-nav {
    max-height: 400px;
  }
  .navbar-brand img {
    height: 90%;
  }
  .social-sx,
  .container-dx {
    width: 50%;
    padding: 0;
    text-align: left;
  }
  /*.social-sx{
    margin-top: 5px;
    }*/
  .grid-header-1 {
    height: auto;
  }
  .grid-header-1 img {
    height: auto;
  }
  .hamburger {
    top: 180px !important;
  }
  .pre-nav {
    padding: 0;
    text-align: right;
  }
  .pre-nav > div > * {
    margin: 0 5px !important;
  }
  .social-sx .social-top {
    float: none;
    display: inline-block;
  }
  .social-top li img {
    max-width: 35px;
  }
  .grid-header-1,
  .grid-header-2,
  .grid-header-3 {
    width: 100%;
  }
  .counter-row {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 25px 15px;
  }
  
  .grid-header-3 img {
    position: absolute;
    z-index: -1;
  }
  .header-caption {
    font-size: 2em;
  }
  .logo-sp img {
    display: none;
  }
  .cbp-hrmenu > ul > li {
    border-bottom: 2px solid #233a74;
  }
  .cbp-hrmenu > ul > li > a {
    padding: 1em;
  }
  #navbar-collapse-1 {
    max-height: 300px;
    overflow: auto;
  }
  .box-aree {
    margin-bottom: 15px;
  }
  .btn {
    font-size: 16px;
  }
  .slider-int {
    height: auto;
  }
  .section-heading {
    margin-top: 20px;
  }
  .dropdown-content {
    display: block;
    position: relative;
    background-color: #fff;
    min-width: 160px;
    box-shadow: none;
    padding: 12px 16px;
    z-index: 1;
    margin-top: 10px;
    font-size: 12px;
  }
  .box-sede-fixed {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0.8;
  }
  .language {
    top: 50px !important;
  }
  .sezione-1 {
    background-size: contain;
    padding-bottom: 100px;
  }
}

@media (max-width: 480px) {
  .blog-section .blog-menu-container {
    width: 100%;
  }
  .blog-section .thread-list .list-group-item {
    border-right: 1px solid #233741;
  }
  .blog-section .blog-container {
    width: 100%;
  }
  body {
	padding-top: 155px;
    overflow-y: scroll; /* has to be scroll, not auto */
    -webkit-overflow-scrolling: touch;
  }
  .cbp-hrsub-inner ul {
    padding: 0;
  }
  .cbp-hrmenu .cbp-hrsub-inner {
    padding: 0;
  }
  .cbp-hropen .cbp-hrsub {
    display: block;
    padding: 0.5em 1em;
  }
  .main.collapse.in {
    border-bottom: solid 1px #ececec;
  }
  .navbar-default .navbar-header .navbar-brand {
    height: 100px;
    margin-left: 50%;
    margin-top: -40px;
    transform: translate(-50%);
  }
  .navbar-fixed-bottom .navbar-collapse,
  .navbar-fixed-top .navbar-collapse {
    max-height: 440px;
  }
  .navbar-nav {
    max-height: 400px;
  }
  .navbar-brand img {
    max-width: 250px;
  }
  .social-sx {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  .social-sx .social-top {
    float: none;
    display: inline-block;
  }
  .social-top li img {
    max-width: 30px;
  }
  .grid-header-1,
  .grid-header-2,
  .grid-header-3 {
    width: 100%;
  }
  .counter-row {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
  }
  
  .grid-header-3 img {
    position: absolute;
    z-index: -1;
  }
  .header-caption {
    font-size: 2em;
  }
  .banner-promo {
    padding: 20px 0;
  }
  .logo-sp img {
    display: none;
  }
  .cbp-hrmenu > ul > li {
    border-bottom: 2px solid #233a74;
  }
  .cbp-hrmenu > ul > li > a {
    padding: 1em;
  }
  #navbar-collapse-1 {
    max-height: 300px;
    overflow: auto;
    position: relative;
  }
  /*
     .shadow-slide{
      position: relative;
    }

   .shadow-slide::after{
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height:100px;
      width: 100%;
      opacity: .6;
      background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0.65) 99%, rgba(0,0,0,0.65) 100%);
      background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0.65) 99%,rgba(0,0,0,0.65) 100%);
      background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0.65) 99%,rgba(0,0,0,0.65) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
    }
    */
  .panel-tabs > li {
    width: calc(100% / 1);
  }
  .box-aree {
    margin-bottom: 15px;
  }
  .btn {
    font-size: 16px;
  }
  .slider-int {
    height: auto;
  }
  .section-heading {
    margin-top: 20px;
  }
  .dropdown-content {
    display: block;
    position: relative;
    background-color: #fff;
    min-width: 160px;
    box-shadow: none;
    padding: 12px 16px;
    z-index: 1;
    margin-top: 10px;
    font-size: 12px;
  }
  .box-sede-fixed {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0.8;
  }
  .language {
    top: 50px !important;
  }
  .sezione-1 {
    background-size: contain;
    padding-bottom: 100px;
    border-bottom: solid 5px #e4013b;
  }
  #page-content-wrapper section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .panel-tabs > li.active {
    margin-bottom: -3px;
  }
}

@media (max-width: 320px) {
  .navbar-brand img {
    max-width: 190px;
  }
}

/*
		Altro
   */

.text-justify img {
  clear: both;
  padding-right: 15px;
  padding-bottom: 15px;
}

/*
		Fine Altro
	*/

#search {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1100;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translate(0px, -100%) scale(0, 0);
  -moz-transform: translate(0px, -100%) scale(0, 0);
  -o-transform: translate(0px, -100%) scale(0, 0);
  -ms-transform: translate(0px, -100%) scale(0, 0);
  transform: translate(0px, -100%) scale(0, 0);
  opacity: 0;
}

#search.open {
  -webkit-transform: translate(0px, 0px) scale(1, 1);
  -moz-transform: translate(0px, 0px) scale(1, 1);
  -o-transform: translate(0px, 0px) scale(1, 1);
  -ms-transform: translate(0px, 0px) scale(1, 1);
  transform: translate(0px, 0px) scale(1, 1);
  opacity: 1;
}

#search input[type="search"] {
  position: absolute;
  top: 50%;
  width: 100%;
  color: rgb(255, 255, 255);
  background: rgba(0, 0, 0, 0);
  font-size: 60px;
  font-weight: 300;
  text-align: center;
  border: 0px;
  margin: 0px auto;
  margin-top: -51px;
  padding-left: 30px;
  padding-right: 30px;
  outline: none;
}

#search .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: 61px;
  margin-left: -33px;
}

#search .close {
  position: fixed;
  top: 15px;
  right: 15px;
  color: #fff;
  background-color: #c9302c;
  border-color: #c9302c;
  opacity: 1;
  padding: 10px 17px;
  font-size: 27px;
}

#search input[type="text"] {
  position: absolute;
  top: 50%;
  width: 100%;
  color: rgb(255, 255, 255);
  background: rgba(0, 0, 0, 0);
  font-size: 60px;
  font-weight: 300;
  text-align: center;
  border: 0px;
  margin: 0px auto;
  margin-top: -51px;
  padding-left: 30px;
  padding-right: 30px;
  outline: none;
}

.blockquote-box {
  border-right: 5px solid #e6e6e6;
  margin-bottom: 25px;
}

.blockquote-box .square {
  width: 80px;
  min-height: 50px;
  margin-right: 22px;
  text-align: center !important;
  background-color: #e6e6e6;
  padding: 20px 0;
}

.blockquote-box.blockquote-primary {
  border-color: #064070;
}

.blockquote-box.blockquote-primary .square {
  background-color: #286090;
  color: #fff;
}

.blockquote-box.blockquote-success {
  border-color: #4cae4c;
}

.blockquote-box.blockquote-success .square {
  background-color: #5cb85c;
  color: #fff;
}

.blockquote-box.blockquote-info {
  border-color: #46b8da;
}

.blockquote-box.blockquote-info .square {
  background-color: #5bc0de;
  color: #fff;
}

.blockquote-box.blockquote-warning {
  border-color: #eea236;
}

.blockquote-box.blockquote-warning .square {
  background-color: #f0ad4e;
  color: #fff;
}

.blockquote-box.blockquote-danger {
  border-color: #a7100b;
}

.blockquote-box.blockquote-danger .square {
  background-color: #c9302c;
  color: #fff;
}
