@charset "UTF-8";
/* CSS Document */

body {
  background: whitesmoke;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
  padding-bottom: 3%;
}

a {
  color: #e2000f;
}

a:hover {
  color: #20216e;
  text-decoration: none;
}

/*
|--------------------------------------------------------------------------
| Custom News Detail
|--------------------------------------------------------------------------
|
*/

.news-descrizione {
  font-size: 18px;
  font-family: "Fjalla One", sans-serif;
}

.data {
  font-size: 26px;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  text-decoration: underline #e2000f;
}

/*
|--------------------------------------------------------------------------
| Box News
|--------------------------------------------------------------------------
|
*/

.box-categoria {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.box-servizi {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: 0px 0% 0px 6%;
}

.box-servizi-black {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 3px 8px;
  position: absolute;
  text-align: right;
  top: 85%;
  width: 94.5%;
}
.box-servizi-black h2 {
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 20px;

  position: relative;
  display: inline-block;
  line-height: 1.8em;
  z-index: 5;
}

.box-servizi-black h2::after {
  content: "";
  position: absolute;
  bottom: 0.4em;
  right: -6px;
  height: 0.1em;
  width: 110%;
  background-color: #e2000f;
  z-index: -1;
}

.box-categoria-black {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 3px 8px;
  position: absolute;
  text-align: right;
  top: 85%;
  width: 100%;
}

.box-categoria-black h2 {
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 20px;

  position: relative;
  display: inline-block;
  line-height: 1.8em;
  z-index: 5;
}

.box-categoria-black h2::after {
  content: "";
  position: absolute;
  bottom: 0.4em;
  right: -6px;
  height: 0.1em;
  width: 110%;
  background-color: #e2000f;
  z-index: -1;
}

.box-servizi-black a {
  color: white;
}

.box-servizi-black a:hover {
  text-decoration: none;
}

.box-servizi-abstract {
  font-size: 20px;
  font-family: "Fjalla One", sans-serif;
}

.box-data {
  position: absolute;
  color: white;
  width: 80px;
  height: 70px;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  font-size: 18px;
  border: 8px solid #20216e;
  background-color: #20216e;
  text-align: center;
  margin: 3% 0% 0% -4%;
}

/*
|--------------------------------------------------------------------------
| Custom Owl Carousel
|--------------------------------------------------------------------------
|
*/

.owl-theme .owl-dots .owl-dot span {
  width: 3.125em;
  height: 10px;
  margin: 5px 7px;
  background: white;
  display: block;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  transition: width 0.4s ease;
  -webkit-box-shadow: 10px 0px 62px 0px rgba(0, 0, 0, 0.45);
  -moz-box-shadow: 10px 0px 62px 0px rgba(0, 0, 0, 0.45);
  box-shadow: 10px 0px 62px 0px rgba(0, 0, 0, 0.45);
}

.owl-theme .owl-dots {
  position: absolute;
  margin: -53% 0% 0% -0.8%;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #20216e;
  width: 4.6875em;
  height: 0.625em;
}

/*
|--------------------------------------------------------------------------
| Custom breadcrumb (Briciole di pane)
|--------------------------------------------------------------------------
|
*/

.breadcrumb {
  background-color: transparent;
  padding: 15px 10px;
  font-family: "Fjalla One", sans-serif;
  font-size: 18px;
}

/*
|--------------------------------------------------------------------------
| Mediaqueries 1600 < x < 2100px 
|--------------------------------------------------------------------------
|
*/

@media screen and (max-width: 2100px) and (min-width: 1700px) {
  .box-servizi-abstract {
    font-size: 16px;
  }

  .box-servizi-black h2 {
    font-size: 19px;
  }

  .box-categoria-black h2 {
    font-size: 19px;
  }
}

/*
|--------------------------------------------------------------------------
| Mediaqueries  1200< x < 1700px 
|--------------------------------------------------------------------------
|
*/

@media screen and (max-width: 1700px) and (min-width: 1200px) {
  .box-servizi-abstract {
    font-size: 13px;
  }

  .box-servizi-black {
    padding: 0px 10px;
  }

  .box-servizi-black h2 {
    font-size: 15px;
  }

  .box-categoria-black {
    padding: 0px 10px;
  }

  .box-categoria-black h2 {
    font-size: 15px;
  }

  .box-data {
    width: 65px;
    height: 55px;
    font-size: 14px;
  }
}

/*
|--------------------------------------------------------------------------
| Mediaqueries  992< x < 1200px 
|--------------------------------------------------------------------------
|
*/

@media screen and (max-width: 1200px) and (min-width: 992px) {
  .box-servizi-abstract {
    font-size: 14px;
    padding-left: 6%;
    margin-top: 10px;
    text-align: right;
  }

  .box-servizi-black {
    padding: 0px 10px;
    top: 80%;
  }

  .box-servizi-black h2 {
    font-size: 12px;
  }

  .box-categoria-black {
    padding: 0px 10px;
    top: 80%;
  }

  .box-categoria-black h2 {
    font-size: 12px;
  }

  .box-data {
    width: 55px;
    height: 45px;
    font-size: 10px;
  }

  .arrow {
    max-width: 18px;
  }
}

/*
|--------------------------------------------------------------------------
| Mediaqueries 768 < x < 992px --> Tablet / Mobile 
|--------------------------------------------------------------------------
|
*/

@media screen and (max-width: 992px) and (min-width: 768px) {
  .box-servizi-black {
    padding: 10px 10px;
  }

  .box-servizi-black h2 {
    font-size: 28px;
  }

  .box-servizi-abstract {
    padding-left: 6%;
    text-align: right;
    margin-top: 10px;
  }

  .owl-theme .owl-dots {
    margin: -63% 0% 0% -3%;
  }

  .owl-theme .owl-dots .owl-dot.active span,
  .owl-theme .owl-dots .owl-dot:hover span {
    width: 2.6875em;
  }

  .owl-theme .owl-dots .owl-dot span {
    width: 2em;
  }

  .box-categoria-black {
    padding: 10px 10px;
  }

  .box-categoria-black h2 {
    font-size: 28px;
  }

  .img-fluid {
    width: 100%;
  }
}

/*
|--------------------------------------------------------------------------
| Mediaqueries 450 < x < 767px --> Tablet / Mobile 
|--------------------------------------------------------------------------
|
*/

@media screen and (max-width: 767px) and (min-width: 450px) {
  .box-servizi-black {
    padding: 3px 7px;
  }

  .box-servizi-abstract {
    padding-left: 6%;
    text-align: right;
    margin-top: 10px;
  }

  .arrow {
    max-width: 5%;
  }

  .mx-auto {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .owl-theme .owl-dots {
    margin: -62% 0% 0% -1.5%;
  }

  .title {
    margin-top: 15px;
    position: unset;
    font-size: 25px;
    line-height: unset;
  }

  .box-categoria-black {
    padding: 3px 7px;
  }

  .img-fluid {
    width: 100%;
  }
}

/*
|--------------------------------------------------------------------------
| Mediaqueries 0 < x < 450px --> Tablet / Mobile 
|--------------------------------------------------------------------------
|
*/

@media screen and (max-width: 450px) and (min-width: 0px) {
  .box-categoria-black {
    padding: 1px 5px;
  }

  .box-categoria-black h2 {
    font-size: 13px;
  }

  .box-servizi-black {
    padding: 1px 5px;
  }

  .box-servizi-black h2 {
    font-size: 13px;
  }

  .box-servizi-abstract {
    font-size: 14px;
    padding-left: 6%;
    text-align: right;
    margin-top: 10px;
  }

  .box-data {
    width: 55px;
    height: 45px;
    font-size: 10px;
  }

  .arrow {
    max-width: 5%;
  }

  .mx-auto {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .owl-theme .owl-dots {
    margin: -62% 0% 0% -2%;
  }

  .title {
    margin-top: 15px;
    position: unset;
    font-size: 25px;
    line-height: unset;
  }
}

/*
|--------------------------------------------------------------------------
| Mediaqueries x < 320px --> Tablet / Mobile 
|--------------------------------------------------------------------------
|
*/

@media screen and (max-width: 320px) {
  .box-categoria-black {
    top: 80%;
  }

  .box-servizi-black {
    top: 80%;
  }

  .owl-theme .owl-dots {
    margin: -62% 0% 0% -3%;
  }
}
