@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon/icomoon.eot?srf3rx");
  src: url("../fonts/icomoon/icomoon.eot?srf3rx#iefix") format("embedded-opentype"), url("../fonts/icomoon/icomoon.ttf?srf3rx") format("truetype"), url("../fonts/icomoon/icomoon.woff?srf3rx") format("woff"), url("../fonts/icomoon/icomoon.svg?srf3rx#icomoon") format("svg");
  font-weight: normal;
  font-display: auto;
  font-style: normal;
}

body {
  font-family: 'arial';
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: #000;
  background: #e0e0e0;
  padding-top: 100px;
}

@media (max-width: 768px) {
  body {
    padding-top: 120px !important;
  }

  .blocchi-container {
    margin-top: 25px !important;
  }
}

@media (max-width: 400px) {
  body {
    padding-top: 130px  !important;
  }
}

body.has-topbar {
  padding-top: 140px;
}

#page {
  position: relative;
  overflow-x: visible;
  width: 100%;
  height: 100%;
}

.offcanvas #page {
  overflow: hidden;
  position: absolute;
}

.offcanvas #page:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 101;
  background: rgba(0, 0, 0, 0.7);
  content: "";
}

a {
  color: #000;
}

a:hover,
a:active,
a:focus {
  color: #a80c0c;
  outline: none;
  text-decoration: none;
}

p {
  margin-bottom: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6,
figure {
  color: #000;
  font-family: 'arial';
  font-weight: 400;
  margin: 0 0 20px 0;
}

::-webkit-selection {
  color: #fff;
  background: #a80c0c;
}

::-moz-selection {
  color: #fff;
  background: #a80c0c;
}

::selection {
  color: #fff;
  background: #a80c0c;
}

#topbar {
  font-size: 12px;
  text-transform: uppercase;
  background: rgba(23, 77, 165, 0.8);
}

#topbar a {
  color: white;
  padding: 0 20px;
  cursor: pointer;
  border-right: 1px solid black;
}

#topbar a:last-child {
  border-right: none;
}

#topbar a:hover {
  color: #fcd705;
}

@media (max-width: 768px) {
  #topbar {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
  }
  #topbar a {
    padding: 0 7px;
  }
}

.colorlib-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.colorlib-nav .top-menu {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

#colorlib-logo {
  flex: 1;
  text-align: center;
  order: 2;
}

.hamburger-menu {
  order: 1;
  margin-right: auto;
  font-size: 24px;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-weight: bold;
  font-weight: 700;
  font-family: 'arial';
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background-color: #000000;
}

.colorlib-nav #colorlib-logo a {
  color: #a80c0c;
}

.colorlib-nav #colorlib-logo a span {
  color: #000;
}

.colorlib-nav a {
  padding: 5px 10px;
  color: #000;
}

@media screen and (max-width: 768px) {
  .colorlib-nav .menu-1 {
    display: none;
  }
}

#colorlib-counter,
.colorlib-bg {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
}

#colorlib-counter .overlay,
.colorlib-bg .overlay {
  z-index: 0;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
}

#colorlib-hero {
  min-height: 700px;
  background: transparent;
}

#colorlib-about,
.colorlib-practice,
.colorlib-testimonial,
#colorlib-started,
#colorlib-blog,
#colorlib-contact,
#colorlib-footer {
  padding: 7em 0;
  clear: both;
}

@media screen and (max-width: 768px) {
  #colorlib-about,
  .colorlib-practice,
  .colorlib-testimonial,
  #colorlib-started,
  #colorlib-blog,
  #colorlib-contact,
  #colorlib-footer {
    padding: 3em 0;
  }
}

#colorlib-counter {
  padding: 4em 0;
  clear: both;
}

.colorlib-counters {
  padding: 3em 0;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
}

.colorlib-counters .icon {
  width: 100px;
  height: 100px;
  display: table;
  margin: 0 auto;
  margin-bottom: 30px;
}

.colorlib-counters .icon i {
  display: table-cell;
  vertical-align: middle;
  width: 100px;
  height: 100px;
  font-size: 50px;
  color: #fff;
  background: #a80c0c;
  border-radius: 50%;
}

.colorlib-counters .counter-wrap {
  border: 1px solid red !important;
}

.colorlib-counters .colorlib-counter {
  font-size: 40px;
  display: block;
  color: white;
  font-family: 'arial';
  width: 100%;
  font-weight: 700;
  margin-bottom: .3em;
}

.colorlib-counters .colorlib-counter-label {
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 5px;
  margin-bottom: 2em;
  display: block;
}

#colorlib-intro,
#colorlib-content,
#colorlib-consult {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 400px;
  float: left;
}

#colorlib-content .video,
#colorlib-content .choose,
#colorlib-consult .video,
#colorlib-consult .choose {
  display: inline-block;
}

@media screen and (max-width: 768px) {
  #colorlib-content .video,
  #colorlib-content .choose,
  #colorlib-consult .video,
  #colorlib-consult .choose {
    width: 100% !important;
  }
}

#colorlib-content .video,
#colorlib-consult .video {
  display: table;
  width: 62%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

#colorlib-content .choose,
#colorlib-consult .choose {
  width: 38%;
  padding: 40px 40px;
}

#colorlib-content .choose-form,
#colorlib-consult .choose-form {
  background: #fff;
}

#colorlib-content .choose-form .colorlib-heading,
#colorlib-consult .choose-form .colorlib-heading {
  margin-bottom: 40px;
}

#colorlib-content .choose-form .colorlib-heading h2,
#colorlib-consult .choose-form .colorlib-heading h2 {
  color: #000;
}

#colorlib-content .choose-form .form-control,
#colorlib-consult .choose-form .form-control {
  box-shadow: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.1);
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

#colorlib-content .choose-form .form-control:active,
#colorlib-content .choose-form .form-control:focus,
#colorlib-consult .choose-form .form-control:active,
#colorlib-consult .choose-form .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #a80c0c;
}

.progress-bar {
  background-color: #31486f !important;
  font-size: 16px;
}

#colorlib-intro {
  z-index: 0;
  padding-bottom: 7em;
}

.third-col {
  padding: 2em;
  margin-top: -40px;
  z-index: 1;
  width: 50%;
  background: #415f92;
  color: #fff;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .third-col {
    width: 100% !important;
  }
}

.third-col h2 {
  color: #fff;
  font-weight: 700;
}

.third-col.third-col-color {
  background: #31486f;
}

.third-col .icon {
  position: absolute;
  top: 0px;
  left: -10%;
}

.third-col .icon i {
  font-size: 200px;
  color: rgba(255, 255, 255, 0.05);
}

.services {
  position: relative;
  padding: 30px;
  margin-bottom: 60px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.services h3 {
  font-weight: 400;
}

.services h3 a {
  color: #31486f;
}

.services .icon {
  text-align: center;
  margin: 0 auto;
  margin-bottom: 20px;
  width: 70px;
  height: 70px;
  display: table;
}

.services .icon i {
  display: table-cell;
  vertical-align: middle;
  height: 70px;
  font-size: 60px;
  line-height: 40px;
  color: #31486f;
}

.services:hover,
.services:focus {
  background: #31486f;
  color: rgba(255, 255, 255, 0.7);
}

.services:hover h3 a,
.services:focus h3 a {
  color: #fff;
}

.services:hover .icon i,
.services:focus .icon i {
  color: #a80c0c;
}

.colorlib-social-icons {
  margin: 0;
  padding: 0;
}

.colorlib-social-icons li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-block;
}

.colorlib-social-icons li a {
  display: inline-block;
  color: #a80c0c;
  padding-left: 10px;
  padding-right: 10px;
}

.colorlib-social-icons li a i {
  font-size: 20px;
}

.colorlib-contact-info ul {
  padding: 0;
  margin: 0;
}

.colorlib-contact-info ul li {
  padding: 0 0 0 40px;
  margin: 0 0 30px 0;
  list-style: none;
  position: relative;
}

.colorlib-contact-info ul li:before {
  color: #a80c0c;
  position: absolute;
  left: 0;
  top: .05em;
  font-family: 'icomoon';
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.colorlib-contact-info ul li.address:before {
  font-size: 30px;
  content: "\e9d1";
}

.colorlib-contact-info ul li.phone:before {
  font-size: 23px;
  content: "\e9f4";
}

.colorlib-contact-info ul li.email:before {
  font-size: 23px;
  content: "\e9da";
}

.colorlib-contact-info ul li.url:before {
  font-size: 23px;
  content: "\e9af";
}

.features {
  margin-bottom: 3em;
  width: 100%;
  float: left;
}

.colorlib-heading {
  margin-bottom: 5em;
}

.colorlib-heading.colorlib-heading-sm {
  margin-bottom: 2em;
}

.colorlib-heading h2 {
  font-size: 40px;
  margin-bottom: 20px;
  line-height: 1.5;
  color: #000;
  font-weight: 400;
}

.colorlib-heading p {
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}

.colorlib-heading span {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}

.colorlib-heading.colorlib-heading2 h2 {
  font-size: 60px;
  font-weight: 700;
}

.colorlib-heading.colorlib-heading2 p {
  font-size: 24px;
  margin-bottom: 40px;
}

.colorlib-testimonial .testimony-slide {
  text-align: center;
}

.colorlib-testimonial .testimony-slide span {
  font-size: 18px;
  font-weight: 700;
  display: block;
  color: #000;
}

.colorlib-testimonial .testimony-slide figure {
  margin-bottom: 10px;
  display: inline-block;
}

.colorlib-testimonial .testimony-slide figure img {
  width: 140px;
  border-radius: 50%;
}

.colorlib-testimonial .testimony-slide blockquote {
  border: none;
  margin: 30px auto;
  width: 70%;
  position: relative;
  padding: 0;
}

@media screen and (max-width: 992px) {
  .colorlib-testimonial .testimony-slide blockquote {
    width: 100%;
  }
}

.colorlib-testimonial .arrow-thumb {
  position: absolute;
  top: 40%;
  display: block;
  width: 100%;
}

.colorlib-testimonial .arrow-thumb a {
  font-size: 32px;
  color: #dadada;
}

.colorlib-testimonial .arrow-thumb a:hover,
.colorlib-testimonial .arrow-thumb a:focus,
.colorlib-testimonial .arrow-thumb a:active {
  text-decoration: none;
}

.colorlib-testimonial .owl-theme .owl-dots .owl-dot.active span,
.colorlib-testimonial .owl-theme .owl-dots .owl-dot:hover span {
  background: #a80c0c;
}

.colorlib-testimonial .owl-theme .owl-dots .owl-dot span {
  background: #31486f;
}

.colorlib-staff {
  text-align: center;
  margin-bottom: 30px;
}

.colorlib-staff img {
  width: 100%;
  margin-bottom: 20px;
}

.colorlib-staff h3 {
  font-size: 24px;
  margin-bottom: 5px;
}

.colorlib-staff p {
  margin-bottom: 30px;
}

.colorlib-staff .role {
  color: gray;
  margin-bottom: 30px;
  font-weight: normal;
  display: block;
}

#colorlib-started {
  padding: 3em 0 0 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
  float: left;
  width: 100%;
}

#colorlib-started .overlay {
  z-index: 0;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
}

#colorlib-started .colorlib-heading h2 {
  line-height: 80px;
  color: #fff;
  margin-bottom: 30px !important;
}

#colorlib-started .colorlib-heading p {
  color: rgba(255, 255, 255, 0.5);
}

#colorlib-started .btn {
  height: 54px;
  border: none !important;
  background: #a80c0c;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
  padding-left: 50px;
  padding-right: 50px;
}

#colorlib-started .form-inline .form-group {
  width: 100% !important;
  margin-bottom: 10px;
}

#colorlib-started .form-inline .form-group .form-control {
  width: 100%;
}

.blog-featured a img {
  margin-bottom: 30px;
}

.blog-featured h2 a {
  color: #31486f;
}

.blog-featured h2 a:hover {
  color: #a80c0c;
}

.blog-entry {
  width: 100%;
  float: left;
  position: relative;
  margin-bottom: 2em;
}

.blog-entry .thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  float: left;
}

.blog-entry .desc {
  padding-left: 170px;
}

.blog-entry .desc h3 a {
  color: #31486f;
}

.blog-entry .desc h3 a:hover {
  color: #a80c0c;
}

.blog-entry .desc .meta {
  color: #999999;
  font-size: 16px;
  margin-bottom: 10px;
}

.colorlib-blog {
  margin-bottom: 40px;
  width: 100%;
  float: left;
}

.colorlib-blog > a {
  display: block;
  position: relative;
}

.colorlib-blog > a img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .colorlib-blog {
    width: 100%;
  }
}

.colorlib-blog .blog-text {
  margin-bottom: 30px;
  position: relative;
  width: 100%;
  padding: 30px;
  float: left;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: #fff;
}

.colorlib-blog .blog-text span {
  display: inline-block;
  margin-bottom: 20px;
}

.colorlib-blog .blog-text span.comment {
  float: right;
}

.colorlib-blog .blog-text span.comment a {
  color: rgba(0, 0, 0, 0.3);
}

.colorlib-blog .blog-text span.comment a i {
  color: #a80c0c;
  padding-left: 7px;
}

.colorlib-blog .blog-text .meta {
  color: #b3b3b3;
  font-size: 16px;
  margin-bottom: 10px;
}

.colorlib-blog .blog-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.colorlib-blog .blog-text h3 a {
  color: black;
}

#colorlib-footer {
  background: black;
  color: black;
  padding: 7em 0 4em 0;
}

#colorlib-footer .colorlib-footer-links {
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 768px) {
  #colorlib-footer .colorlib-footer-links {
    margin-bottom: 30px;
  }
}

#colorlib-footer .colorlib-footer-links li {
  padding: 0;
  margin: 0;
  list-style: none;
}

#colorlib-footer .colorlib-footer-links li a,
.via {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

#colorlib-footer .colorlib-footer-links li a:hover {
  text-decoration: underline;
}

#colorlib-footer h4 {
  color: #fff;
  font-size: 20px;
  border-bottom: 2px solid #a80c0c;
  padding-bottom: 15px;
}

#colorlib-footer .colorlib-widget {
  margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
  #colorlib-footer .colorlib-widget {
    text-align: left;
  }
}

#colorlib-footer .copyright .block {
  display: block;
  color: rgba(255, 255, 255, 0.8);
}

#map {
  width: 100%;
  height: 500px;
  position: relative;
}

@media screen and (max-width: 768px) {
  #map {
    height: 200px;
  }
}

#colorlib-offcanvas {
  position: absolute;
  z-index: 1901;
  width: 270px;
  background: black;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 75px 40px 40px 40px;
  overflow-y: auto;
  display: none;
  transform: translateX(270px);
}

@media screen and (max-width: 768px) {
  #colorlib-offcanvas {
    display: block;
  }
}

.offcanvas #colorlib-offcanvas {
  transform: translateX(0px);
}

#colorlib-offcanvas a {
  color: #fff;
}

#colorlib-offcanvas a:hover {
  color: #a80c0c;
}

#colorlib-offcanvas ul {
  padding: 0;
  margin: 0;
}

#colorlib-offcanvas ul li {
  padding: 0;
  margin: 0;
  list-style: none;
}

#colorlib-offcanvas ul li > ul {
  padding-left: 20px;
  display: none;
}

#colorlib-offcanvas ul li.offcanvas-has-dropdown > a {
  display: block;
  position: relative;
}

#colorlib-offcanvas ul li.offcanvas-has-dropdown > a:after {
  position: absolute;
  right: 0px;
  font-family: 'icomoon';
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e921";
  font-size: 20px;
  color: rgba(255, 255, 255);
}

#colorlib-offcanvas ul li.offcanvas-has-dropdown.active a:after {
  transform: rotate(-180deg);
}

.uppercase {
  font-size: 14px;
  color: #000;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.gototop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.gototop.active {
  opacity: 1;
  visibility: visible;
}
.gototop a {
  width: 50px;
  height: 50px;
  display: table;
  background: #a80c0c;
  color: #fff;
  text-align: center;
  border-radius: 50%;  
}

.gototop a i {
  height: 50px;
  display: table-cell;
  vertical-align: middle;
}

.gototop a:hover,
.gototop a:active,
.gototop a:focus {
  text-decoration: none;
  outline: none;
}

.colorlib-nav-toggle {
  width: 25px;
  height: 25px;
  cursor: pointer;
  text-decoration: none;
  top: 25px !important;
  position: absolute;
  right: 0px;
  top: 65px;
  z-index: 21;
  padding: 6px 0 0 0;
  display: block;
  margin: 0 auto;
  display: none;
  height: 44px;
  width: 44px;
  z-index: 2001;
  border-bottom: none !important;
}

.colorlib-nav-toggle.active i::before,
.colorlib-nav-toggle.active i::after {
  background: #444;
}

.colorlib-nav-toggle:hover,
.colorlib-nav-toggle:focus,
.colorlib-nav-toggle:active {
  outline: none;
  border-bottom: none !important;
}

.colorlib-nav-toggle i {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 2px;
  color: #252525;
  font: bold 14px/.4 Helvetica;
  text-transform: uppercase;
  text-indent: -55px;
  background: #252525;
}

.colorlib-nav-toggle i::before,
.colorlib-nav-toggle i::after {
  content: '';
  width: 25px;
  height: 2px;
  background: #252525;
  position: absolute;
  left: 0;
}

.colorlib-nav-toggle.colorlib-nav-white > i {
  color: #fff;
  background: #000;
}

.colorlib-nav-toggle.colorlib-nav-white > i::before,
.colorlib-nav-toggle.colorlib-nav-white > i::after {
  background: #000;
}

.colorlib-nav-toggle i::before {
  top: -7px;
}

.colorlib-nav-toggle i::after {
  bottom: -7px;
}

.colorlib-nav-toggle:hover i::before {
  top: -10px;
}

.colorlib-nav-toggle:hover i::after {
  bottom: -10px;
}

.colorlib-nav-toggle.active i {
  background: transparent;
}

.colorlib-nav-toggle.active i::before {
  top: 0;
  transform: rotateZ(45deg);
  background: #fff;
}

.colorlib-nav-toggle.active i::after {
  bottom: 0;
  transform: rotateZ(-45deg);
  background: #fff;
}

@media screen and (max-width: 768px) {
  .colorlib-nav-toggle {
    display: block;
  }
}


.form-control {
  box-shadow: none;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.1);
  height: 54px;
  font-size: 18px;
  font-weight: 300;
}

.form-control:active,
.form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #a80c0c;
}

.row-pb-md {
  padding-bottom: 4em !important;
}

.row-pb-sm {
  padding-bottom: 2em !important;
}

.colorlib-loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url(../images/loader.gif) center no-repeat #fff;
}

#logo-menu-trigger {
  position: relative;
  z-index: 1010;
}

.sidebar-menu {
  position: fixed;
  left: -280px;
  top: 0;
  width: 280px;
  height: 100vh;
  background-color: #ffffff;
  padding: 40px 0;
  z-index: 1005;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu li a {
  display: block;
  padding: 15px 25px;
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-left: 3px solid transparent;
  letter-spacing: 1px;
}

.sidebar-menu li a:hover {
  background-color: #f5f5f5;
  border-left-color: #cccccc;
  padding-left: 35px;
  color: #000000;
}

.sidebar-menu li.active a {
  background-color: #f5f5f5;
  border-left-color: #000000;
  color: #000000;
}

.sidebar-menu.active {
  left: 0;
}

.colorlib-bg-section {
    background: transparent !important;
}

#colorlib-hero .flexslider .slides li:after {
    display: none;
}

.service-horizontal {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.service-horizontal:hover {
  border-color: #a80c0c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 12, 12, 0.1);
}

.service-horizontal-icon {
  flex-shrink: 0;
  width: 45px;
  text-align: center;
}

.service-horizontal-icon i {
  font-size: 32px;
  color: #31486f;
}

.service-horizontal-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.service-horizontal-text {
  flex-grow: 1;
  padding-left: 12px;
}

.service-horizontal-text h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.service-horizontal-text h3 a {
  color: #333;
  text-decoration: none;
}

.service-horizontal-text h3 a:hover {
  color: #a80c0c;
}

@media (max-width: 768px) {
  .service-horizontal {
    padding: 10px 12px;
    margin-bottom: 12px;
  }
  .service-horizontal-icon {
    width: 35px;
  }
  .service-horizontal-icon i {
    font-size: 24px;
  }
  .service-horizontal-icon img {
    width: 28px;
    height: 28px;
  }
  .service-horizontal-text h3 {
    font-size: 13px;
  }
}

.area-riservata-box {
  padding: 4px 12px;
  border: 1px solid transparent;
  border-radius: 20px;
  display: inline-block;
  background: #fff;
}

.area-riservata-box i {
  color: #a80c0c;
  margin-right: 5px;
  font-size: 12px;
}

.area-riservata-box a {
  color: #333;
  text-decoration: none;
  font-size: 12px;
}

.area-riservata-box:hover {
  border-color: #a80c0c !important;
  background: #fff;
}

.area-riservata-box:hover a {
  color: #a80c0c !important;
}

.hero-box {
  background: rgba(255, 255, 255, 0.95);
  display: inline-block;
  padding: 30px 50px;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.about-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 24px;
  padding: 40px;
  margin: 20px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .hero-box {
    padding: 20px 30px;
  }
  .hero-box h2 {
    font-size: 28px !important;
  }
  .hero-box p {
    font-size: 18px !important;
  }
  .about-box {
    padding: 25px;
  }
  .about-box p:first-child {
    font-size: 16px !important;
  }
  .about-box p {
    font-size: 14px !important;
  }
}

.colorlib-heading {
    margin-bottom: 2em !important;
}

.colorlib-heading h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #a80c0c !important;
    margin-bottom: 15px !important;
}

.colorlib-heading p {
    font-size: 16px !important;
    color: #555 !important;
    line-height: 1.6 !important;
}

.colorlib-practice .colorlib-heading {
    margin-bottom: 1.5em !important;
}

.colorlib-testimonial .colorlib-heading h2 {
    color: #a80c0c !important;
}

.colorlib-heading,
.colorlib-heading h2,
.colorlib-heading p {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1004;
  display: none;
}

.menu-backdrop.active {
  display: block;
}

.colorlib-nav .col-md-8.text-right.menu-1 {
  display: none !important;
}

.flex-direction-nav {
    display: block !important;
}

.flex-direction-nav a {
    width: 50px !important;
    height: 50px !important;
    background: #a80c0c !important;
    border-radius: 50% !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    margin-top: -25px !important;
    opacity: 1 !important;
    z-index: 10 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    font-size: 0 !important;
}

.flex-direction-nav a:before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    color: #fff !important;
    text-indent: 0 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    height: auto !important;
}

.flex-direction-nav .flex-prev {
    left: 20px !important;
}

.flex-direction-nav .flex-next {
    right: 20px !important;
}

.flex-direction-nav .flex-prev:before {
    content: "\f053" !important;
}

.flex-direction-nav .flex-next:before {
    content: "\f054" !important;
}

.flex-direction-nav a:hover {
    background: #fff !important;
}

.flex-direction-nav a:hover:before {
    color: #a80c0c !important;
}

.flex-control-nav {
    display: none !important;
}

#chi-siamo-section,
#cosa-offriamo-section,
#competenze-section,
#mercati-section,
#formazione-section,
#clienti-section,
#oracle-partner-section,
#conclaient-231-section {
    scroll-margin-top: 120px;
}

.service-horizontal {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.service-horizontal:hover {
  border-color: #a80c0c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168,12,12,0.1);
}

.service-horizontal-icon {
  flex-shrink: 0;
  width: 45px;
  text-align: center;
}

.service-horizontal-icon i {
  font-size: 32px;
  color: #31486f;
}

.service-horizontal-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.service-horizontal-text {
  flex-grow: 1;
  padding-left: 12px;
}

.service-horizontal-text h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.mercati-card {
    background: #fff;
    border: 2px solid #a80c0c;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.mercati-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(168,12,12,0.15);
}

.mercati-card h3 {
    color: #a80c0c;
    margin-bottom: 10px;
    font-size: 18px;
}

.mercati-card h3 a {
    color: #a80c0c;
    text-decoration: none;
}

.mercati-card p {
    color: #333;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.btn-mercati-card {
    background: #a80c0c;
    color: #fff;
    border: 2px solid #a80c0c;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-mercati-card:hover {
    background: #fff;
    color: #a80c0c;
    border: 2px solid #a80c0c;
    transform: scale(1.03);
}


.mercati-carousel-slide {
    flex: 0 0 50%;
    padding: 8px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .mercati-card {
        padding: 15px;
    }
    
    .mercati-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .mercati-card p {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .btn-mercati-card {
        padding: 5px 14px;
        font-size: 11px;
    }
}

.mercati-carousel-container {
    overflow: hidden;
    margin: 0 20px;
}

.mercati-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.mercati-carousel-slide {
    flex: 0 0 50%;
    padding: 10px;
    box-sizing: border-box;
}

.mercati-prev,
.mercati-next {
    transition: all 0.3s ease;
}

.mercati-prev:hover,
.mercati-next:hover {
    background: #fff !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.mercati-prev:hover i,
.mercati-next:hover i {
    color: #a80c0c !important;
}

@media (max-width: 768px) {
    .mercati-carousel-slide {
        flex: 0 0 100%;
    }
    
    .mercati-prev {
        left: -10px !important;
    }
    
    .mercati-next {
        right: -10px !important;
    }
    
    .mercati-card {
        min-height: 240px;
        padding: 20px;
    }
    
    .mercati-card h3 {
        font-size: 18px;
    }
}

.btn-primary.btn-lg:hover {
    background: #fff !important;
    color: #a80c0c !important;
    border: 1px solid #a80c0c !important;
}

.btn-primary.btn-lg:hover i {
    color: #a80c0c !important;
}

.mercati-card:hover {
    border-color: #a80c0c !important;
    box-shadow: 0 10px 20px rgba(168,12,12,0.2) !important;
    transform: translateY(-3px);
}



@media (max-width: 768px) {
  #colorlib-hero h1 {
    font-size: 28px !important;
    line-height: 1.3;
  }
  
  #colorlib-hero .container {
    padding: 0 15px;
  }
  
  #colorlib-hero .text-center div {
    gap: 20px !important;
  }
  
  #colorlib-hero img {
    width: 140px !important;
  }
  
  .blocchi-container {
    margin-top: 40px !important;
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  #colorlib-hero h1 {
    font-size: 22px !important;
  }
  
  #colorlib-hero img {
    width: 100px !important;
  }
  
  .blocchi-container {
    margin-top: 15px !important;
  }
}

.blocchi-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
  #colorlib-hero {
    margin-top: 20px !important;
  }
}

@media (max-width: 768px) {
  .blocchi-container {
    gap: 12px;
    padding: 0 10px;
  }
  
  .blocchi-container > a {
    flex: 1 1 calc(33.33% - 12px);
    min-width: 0;
    max-width: none;
    text-decoration: none;
  }
  
  .blocchi-container > a > div {
    padding: 10px 5px;
  }
  
  .blocchi-container i {
    font-size: 22px;
    margin-bottom: 4px;
  }
  
  .blocchi-container h3 {
    font-size: 11px;
    margin: 4px 0 0 0;
    line-height: 1.2;
  }
  
  .blocchi-container img {
    width: 24px;
    margin-bottom: 4px;
  }
}

@media (max-width: 550px) {
  .blocchi-container > a {
    flex: 0 0 calc(50% - 12px);
  }
  
  .blocchi-container i {
    font-size: 20px;
  }
  
  .blocchi-container h3 {
    font-size: 10px;
  }
  
  .blocchi-container img {
    width: 22px;
  }
}

.sidebar-menu {
  position: fixed;
  left: -280px;
  top: 0;
  width: 280px;
  height: 100vh;
  background-color: #ffffff;
  padding: 40px 0;
  z-index: 1005;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;  
  overflow-x: hidden; 
}

@media (max-width: 768px) {
  body {
    padding-top: 0px !important;
  }
  
  .blocchi-container {
    margin-top: 25px !important;
    padding-top: 10px !important;
  }
  
  #colorlib-hero {
    margin-top: 15px !important;
  }
}

@media (max-width: 770px) {
  .spazio-mobile {
    height: 80px !important;
  }
}

@media (max-width: 600px) {
  .spazio-mobile {
    height: 100px !important;
  }
}


.pdf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(168,12,12,0.15);
}


.cliente-item {
  min-height: 80px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.cliente-item:hover {
  border-color: #a80c0c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168,12,12,0.1);
}

.cliente-icon {
  flex-shrink: 0;
  width: 55px;
  text-align: center;
}

.cliente-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.cliente-item .service-horizontal-text {
  flex-grow: 1;
  padding-left: 15px;
}

.cliente-item .service-horizontal-text h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

@media (max-width: 768px) {
  .chi-siamo-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 550px) {
  .chi-siamo-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 380px) {
  .chi-siamo-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 768px) {
  .competenze-hero-box-static {
    margin-top: 50px !important;
  }
}

@media (max-width: 550px) {
  .competenze-hero-box-static {
    margin-top: 50px !important;
  }
}

@media (max-width: 380px) {
  .competenze-hero-box-static {
    margin-top: 50px !important;
  }
}

@media (max-width: 768px) {
  .cosa-offriamo-hero-box-static {
    margin-top: 50px !important;
  }
}

@media (max-width: 550px) {
  .cosa-offriamo-hero-box-static {
    margin-top: 50px !important;
  }
}

@media (max-width: 380px) {
  .cosa-offriamo-hero-box-static {
    margin-top: 50px !important;
  }
}


@media (max-width: 768px) {
  .energy-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 550px) {
  .energy-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 380px) {
  .energy-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 768px) {
  .manufacturing-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 550px) {
  .manufacturing-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 380px) {
  .manufacturing-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 768px) {
  .pa-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 550px) {
  .pa-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 380px) {
  .pa-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 768px) {
  .finance-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 550px) {
  .finance-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 380px) {
  .finance-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 768px) {
  .formazione-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 550px) {
  .formazione-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 380px) {
  .formazione-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 768px) {
  .lavora-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 550px) {
  .lavora-hero-box {
    margin-top: 50px !important;
  }
}

@media (max-width: 380px) {
  .lavora-hero-box {
    margin-top: 50px !important;
  }
}

.contatti-main-box {
  scroll-margin-top: 120px;
}




