/*========================
GENERAL
========================*/

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}
section {
  margin-top: 30px;
  margin-bottom: 50px;
}
h1,
h2,
h3,
h4,
h5,
h6,
.display-6,
.lead {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
}
h4 {
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 600;
}
h6 {
  text-transform: uppercase;
  font-weight: 600;
}
.lead {
  font-size: 1.5rem;
  font-weight: 600;
}
.bold {
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
}

a:link,
a:active,
a:focus,
a:visited {
  color: #4d4d4d !important;
}

a:hover {
  color: #ff5050 !important;
}

.image-news{width:100!important}

footer a:link,
footer a:active,
footer a:focus,
footer a:visited {
  color: #ffffff !important;
}

footer a:hover {
  color: #ff5050 !important;
}

.btn {
  border-radius: 0px !important;
  -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.btn.active,
.btn.active:focus,
.btn.focus,
.btn:active,
.btn:active:focus,
.btn:focus,
.btn:hover {
  color: #000000;
}

.btn-border {
  background-color: transparent !important;
  border-left: solid 12px #ff5050;
  color: #000000;
  font-weight: 700;
  text-transform: uppercase;

  padding-left: 5px !important;
}
.btn-border:hover {
  color: #ff5050;
}

a.nav-link.active-link {
  color: #ff5050 !important;
}

.ew-resize {
  cursor: ew-resize;
}

.applicazioni ul.list-unstyled,
.lavorazioni ul.list-unstyled,
.trattamenti ul.list-unstyled {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
}

.text-shadow {
  text-shadow: 1px 1px 2px rgba(60, 60, 60, 1);
}
/*========================
SECTION
========================*/
#page {
  margin-top: 12rem !important;
}

/*========================
DROPDOWN
========================*/
.navbar-nav .dropdown-menu {
  position: relative;
}

.dropdown-menu,
.dropdown-menu.show {
  background: transparent !important;
  border-radius: 0% !important;
}

.dropdown-menu > li .dropdown-item.azienda-dropdown-item {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 0% !important;
  color: #ffffff !important;
  border-left: 4px solid #ffffff;
}
.dropdown-menu > li .dropdown-item.azienda-dropdown-item:hover {
  color: #ff5050 !important;
  background: #dee1db;
}
.dropdown-menu > li {
  margin-bottom: 6px;
}

.dropdown-menu > li a.dropdown-item.azienda-dropdown-item.active-link {
  background-color: #ff5050 !important;
}
.dropdown-menu > li a.dropdown-item.azienda-dropdown-item.active-link:hover {
  color: #ffffff !important;
}
/*========================
LINK
========================*/
.link {
  position: relative;
  text-decoration: none;
}

.link::before {
  content: " ";
  top: 90%;
  left: 0;
  height: 4px;
  position: absolute;
  width: 100%;
  background: #ff5050;
  transform-origin: 0% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.3s cubic-bezier(0.4, 1, 0.8, 1);
}

.link:hover::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
}

/*========================
SHADOW
========================*/
.shadow-red {
  -webkit-box-shadow: -25px 25px 0px 0px #ff5050;
  box-shadow: -25px 25px 0px 0px #ff5050;
}

.shadow-custom {
  text-shadow: 2px 4px 5px rgba(0, 0, 0, 0.35);
}
/*========================
COUNTER
========================*/
.timer {
  font-size: 4.5rem;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
}

.timer-caption {
  font-size: 0.9rem;
  width: 80%;
  margin: auto;
}
.timer-caption:after {
  display: block;
  position: relative;
  margin: 20px auto 25px auto;
  content: "";
  width: 50px;
  border-top: 4px solid #ff5050;
  opacity: 0.9;
}

.plus-sign {
  font-size: 2.5rem;
  color: #ff5050;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
}
/*========================
COLORS
========================*/
.bg-red {
  background-color: #ff5050 !important;
}
.bg-light-grey {
  background-color: #dee1db;
}

.bg-bianco {
  background: rgba(254, 254, 254, 0.5);
}
.bg-grey {
  background-color: #4d4d4d;
}
.bg-green {
  background-color: #4cc646;
}

.text-red {
  color: #ff5050;
}
.text-green {
  color: #4cc646;
}
.text-grey {
  color: #4d4d4d;
}

/*========================
NAVBAR
========================*/
.navbar.fixed-top.scrolled {
  background-color: rgba(0, 0, 0, 0.7) !important;
  transition: background-color 200ms linear;
}

.navbar li.nav-item {
  font-weight: 600;
  text-transform: uppercase;
}
.navbar .nav-link:hover {
  color: #ff5050 !important;
}

/*========================
LAVORAZIONI
========================*/
.lavorazioni-item > span {
  position: relative;
  text-decoration: none;
  transition: border-bottom 0.5s ease-in;
}

.lavorazioni-item > span::before {
  content: " ";
  top: 90%;
  left: 0;
  height: 4px;
  position: absolute;
  width: 100%;
  background: #ff5050;
  transform-origin: 0% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.3s cubic-bezier(0.4, 1, 0.8, 1);
}

.lavorazioni-item > span:hover::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
}

/*========================
PANNELLI
========================*/
#nav-tabs-products {
  background-color: rgba(0, 0, 0, 0.7);
}

#nav-tabs-products .nav-item {
  border-bottom: solid 1px rgba(0, 0, 0, 0.7);
}
#nav-tabs-schema .nav-item {
  border-bottom: solid 1px #ffffff;
}

#nav-tabs-products .nav-link:hover,
#nav-tabs-schema .nav-link:hover {
  border-bottom: solid 6px #ff5050;
}

#nav-tabs-products .nav-link.active,
#nav-tabs-schema .nav-link.active {
  border-bottom: solid 6px #ff5050;
}

#nav-tabs-schema .nav-link.active {
  color: #ff5050;
}

#nav-tabs-products a.nav-link {
  border-bottom: solid 6px transparent;
  color: #ffffff !important;
  font-weight: bold;
}

#nav-tabs-schema .nav-link {
  border-bottom: solid 6px transparent;
  color: #4d4d4d;
  font-weight: bold;
}

#nav-tabs-products .nav-link:hover,
#nav-tabs-products .nav-link.active,
#nav-tabs-products .nav-link:focus,
#nav-tabs-schema .nav-link:hover,
#nav-tabs-schema .nav-link.active,
#nav-tabs-schema .nav-link:focus {
  background-color: transparent;
}
#nav-tabs-schema {
  background-color: none;
}
#nav-tabs-schema .nav-link:hover {
  border-bottom: solid 6px #ff5050;
}
/*========================
LAVORAZIONI
========================*/
.divider {
  background-color: #ff5050;
  width: 30%;
  height: 4px !important;
  opacity: 1 !important;
}
.box-outline {
  border: solid 2px #ffffff;
  color: #ffffff;
  margin-top: 5%;
  margin-bottom: 10%;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
}

/*========================
MASONRY
========================*/

* {
  box-sizing: border-box;
}

.grid:after {
  content: "";
  display: block;
  clear: both;
}

.grid-sizer,
.grid-item {
  width: 32%;
  margin-bottom: 20px;
}

@media screen {
  .gutter-sizer {
    width: 2%;
  }
}
@media (max-width: 575px) {
  .grid-sizer,
  .grid-item {
    width: 100%;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .grid-sizer,
  .grid-item {
    width: 50%;
  }
}

/* To change the amount of columns on larger devices, uncomment the code below */

/* @media (min-width: 768px) and (max-width: 991px) {
  .grid-sizer,
  .grid-item {
    width: 33.333%;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .grid-sizer,
  .grid-item {
    width: 25%;
  }
}
@media (min-width: 1200px) {
  .grid-sizer,
  .grid-item {
    width: 20%;
  }
} */

.grid-item {
  float: left;
}

.grid-item img {
  display: block;
  max-width: 100%;
}

.grid-item:hover .img-description {
  opacity: 0.8;
}

.img-description {
  position: absolute;
  bottom: 0%;
  padding: 4%;
  height: auto;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  border-bottom: 12px solid #ff5050;
}
.img-description ul span {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
}

.img-description ul {
padding-left: 0;
list-style: none;
}

.btn-primary,
.btn-primary.active,
.btn-primary.active:focus,
.btn-primary.focus,
.btn-primary:focus,
.btn-primary:active {
  background-color: #dee1db;
  color: #4d4d4d;
}
.is-checked,
.btn-primary:hover {
  background-color: #ff5050;
  color: #ffffff;
}

/*========================
TIMELINE
========================*/

.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: #eeeeee;
  left: 50%;
  margin-left: -1.5px;
}

.timeline > li {
  margin-bottom: 20px;
  position: relative;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li > .timeline-panel {
  width: 46%;
  float: left;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  padding: 20px;
  position: relative;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline > li > .timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}

.timeline > li > .timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}

.timeline > li > .timeline-badge {
  color: #fff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 16px;
  left: 50%;
  margin-left: -25px;
  background-color: #999999;
  z-index: 100;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}

.timeline-badge.success {
  background-color: #4cc646 !important;
}

.timeline-badge.danger {
  background-color: #ff5050 !important;
}

.timeline-badge.primary {
  background-color: #dee1db !important;
}

.timeline-title {
  margin-top: 0;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
}

.timeline-body > p,
.timeline-body > ul {
  margin-bottom: 0;
}

.timeline-body > p + p {
  margin-top: 5px;
}

@media (max-width: 767px) {
  ul.timeline:before {
    left: 40px;
  }

  ul.timeline > li > .timeline-panel {
    width: calc(100% - 90px);
    width: -moz-calc(100% - 90px);
    width: -webkit-calc(100% - 90px);
  }

  ul.timeline > li > .timeline-badge {
    left: 15px;
    margin-left: 0;
    top: 16px;
  }

  ul.timeline > li > .timeline-panel {
    float: right;
  }

  ul.timeline > li > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
  }

  ul.timeline > li > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
  }
}

.box-line-sx {
  border-left: solid 6px #ff5050;
  margin-top: 5%;
  margin-bottom: 10%;
}
