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

body {
  background-image: url("../img/frontoffice/background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
}

.container-fluid {
  padding-right: 0;
  padding-left: 0;
}

.custom-margin-bottom {
  margin-bottom: 6rem;
}

.custom-margin-top {
  margin-top: 7rem !important;
}

/*
|--------------------------------------------------------------------------
| Banner HomePage
|--------------------------------------------------------------------------

*/

.banner {
  position: relative;
  padding: 15% 13%;
}

.titolo-banner {
  position: absolute;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  color: white;
  text-align: right;
  right: 0;
  top: 8%;
}
.titolo-banner p {
  font-family: "Orbitron", sans-serif !important;
}

.titolo-banner .subtitle {
  font-size: 3.8em;
  text-transform: uppercase;
}

.titolo-banner h1 {
  font-size: 2.8em;
  text-transform: uppercase;
}

.titolo-banner a {
  position: relative;
  border-top: 0px dotted #e2000f;
  background: #e2000f;
  padding: 0.625em 1.125em;
  margin-right: 1px;
  color: #ffffff;
  font-size: 26px;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
}

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

.img-resize {
  max-width: 68%;
  margin-left: -15%;
}

.news-resize {
  max-width: 60%;
}
/*
|--------------------------------------------------------------------------
| Box News
|--------------------------------------------------------------------------
|
*/

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

.box-servizi-black {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  position: absolute;
  text-align: right;
  top: 81%;
  height: 100%;
  -webkit-transition: all ease 0.6s;
  -moz-transition: all ease 0.6s;
  -ms-transition: all ease 0.6s;
  -o-transition: all ease 0.6s;
  transition: all ease 0.6s;
  width: 56.4%;
  left: 6%;
}

.box-servizi-black h2 {
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 5px;

  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-servizi-black a {
  color: white;
}

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

.box-servizi-black .box-servizi-abstract {
  opacity: 0;
  font-size: 17px;
  font-family: "Fjalla One", sans-serif;
  -webkit-transition: all ease 0.8s;
  -moz-transition: all ease 0.8s;
  -ms-transition: all ease 0.8s;
  -o-transition: all ease 0.8s;
  transition: all ease 0.8s;
  -webkit-transition-delay: 0.6s;
  -moz-transition-delay: 0.6s;
  -ms-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  transition-delay: 0.6s;
}

.box-servizi:hover .box-servizi-black {
  top: 50%;
}

.box-servizi:hover .box-servizi-black .box-servizi-abstract {
  opacity: 1;
}

.box-data {
  position: absolute;
  color: white;
  height: 95px;
  width: 100px;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  font-size: 24px;
  border: 10px solid #20216e;
  background-color: #20216e;
  text-align: center;
  margin: 3% 0% 0% -2%;
}

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

.owl-carousel .owl-item img {
  display: inline;
}

.owl-theme .owl-dots .owl-dot span {
  width: 3.125em;
  height: 10px;
  margin: 5px 7px;
  background: white;
  display: block;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  transition: width 0.4s ease;
}

.owl-theme .owl-dots,
.owl-theme .owl-nav {
  position: absolute;
  margin: -63% 0% 0% -1%;
  -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;
}

#box-news .owl-stage-outer {
  overflow: visible;
}

/*
|--------------------------------------------------------------------------
| Mediaqueries  1850px < x < 2000px
|--------------------------------------------------------------------------
|
*/

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

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

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

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

@media screen and (max-width: 1850px) and (min-width: 1700px) {
  .box-servizi-black {
    top: 77%;
    padding: 0px 5px;
  }

  .box-servizi:hover .box-servizi-black {
    top: 44%;
  }

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

  .box-servizi-black .box-servizi-abstract {
    font-size: 14px;
  }
}

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

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

  .box-servizi-black h2 {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .box-servizi-black .box-servizi-abstract {
    font-size: 80%;
  }

  .box-data {
    font-size: 21px;
    height: 80px;
    width: 85px;
  }
}

/*
|--------------------------------------------------------------------------
| Mediaqueries 1550 < x < 1620px
|--------------------------------------------------------------------------
|
*/

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

  .box-servizi-black h2 {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .box-servizi-black .box-servizi-abstract {
    font-size: 80%;
  }

  .box-data {
    font-size: 21px;
    height: 80px;
    width: 85px;
  }
}

/*
|--------------------------------------------------------------------------
| Mediaqueries 1450px < x < 1550px
|--------------------------------------------------------------------------
|
*/

@media screen and (max-width: 1550px) and (min-width: 1450px) {
  .titolo-banner h1 {
    font-size: 2em;
  }

  .titolo-banner .subtitle {
    font-size: 3em;
  }

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

  .box-servizi:hover .box-servizi-black {
    top: 53%;
  }

  .box-servizi-black h2 {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .box-servizi-black .box-servizi-abstract {
    font-size: 11px;
  }

  .box-data {
    font-size: 21px;
    height: 80px;
    width: 85px;
  }
}

/*
|--------------------------------------------------------------------------
| Mediaqueries 1300px < x < 1450px
|--------------------------------------------------------------------------
|
*/

@media screen and (max-width: 1450px) and (min-width: 1300px) {
  .titolo-banner h1 {
    font-size: 2em;
  }

  .titolo-banner .subtitle {
    font-size: 3em;
  }

  .titolo-banner a {
    font-size: 23px;
  }

  .box-servizi-black {
    padding: 2px 6px;
  }

  .box-servizi:hover .box-servizi-black {
    top: 47%;
  }

  .box-servizi-black h2 {
    font-size: 18px;
    margin-bottom: 0;
  }

  .box-servizi-black .box-servizi-abstract {
    font-size: 11px;
  }

  .box-data {
    font-size: 21px;
    height: 80px;
    width: 85px;
  }
}

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

@media screen and (max-width: 1300px) and (min-width: 1200px) {
  .box-servizi-black {
    padding: 2px 6px;
  }

  .box-servizi:hover .box-servizi-black {
    top: 47%;
  }

  .box-servizi-black h2 {
    font-size: 16px;
    margin-bottom: 0;
  }

  .box-servizi-black .box-servizi-abstract {
    font-size: 11px;
  }

  .box-data {
    font-size: 13px;
    width: 11.5%;
    height: 30%;
  }

  .titolo-banner h1 {
    font-size: 1.5em;
  }

  .titolo-banner .subtitle {
    font-size: 2.5em;
  }

  .titolo-banner a {
    font-size: 20px;
  }
}

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

@media screen and (max-width: 1200px) and (min-width: 1100px) {
  .box-servizi-black {
    padding: 2px 6px;
    width: 56.6%;
  }

  .box-servizi:hover .box-servizi-black {
    top: 47%;
  }

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

  .box-servizi-black p {
    margin-bottom: 0;
  }

  .box-servizi-black .box-servizi-abstract {
    font-size: 10px;
  }

  .box-data {
    font-size: 10px;
    width: 10%;
    height: 28%;
  }

  .titolo-banner h1 {
    font-size: 1.5em;
  }

  .titolo-banner .subtitle {
    font-size: 2.5em;
  }

  .titolo-banner a {
    font-size: 20px;
  }

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

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

@media screen and (max-width: 1100px) and (min-width: 992px) {
  .box-servizi {
    max-width: 150%;
    width: 650px;
  }

  .box-servizi-black {
    padding: 2px 6px;
    width: 57.8%;
    left: 4%;
  }

  .box-servizi:hover .box-servizi-black {
    top: 64%;
  }

  .box-servizi-black h2 {
    font-size: 20px;
    margin-bottom: 0;
  }

  .box-servizi-black p {
    margin-bottom: 0;
  }

  .box-servizi-black .box-servizi-abstract {
    font-size: 10px;
  }

  .box-data {
    font-size: 12px;
    width: 9%;
    height: 25%;
  }

  .titolo-banner h1 {
    font-size: 1em;
  }

  .titolo-banner .subtitle {
    font-size: 2em;
  }

  .titolo-banner a {
    font-size: 16px;
  }

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

/*
|--------------------------------------------------------------------------
| Mediaqueries 750px < x < 992px || TABLET
|--------------------------------------------------------------------------
|
*/

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

  .box-servizi {
    padding: 0 6%;
  }

  .box-servizi:hover .box-servizi-black {
    top: 60%;
  }

  .box-servizi-black h2 {
    font-size: 40px;
    margin-bottom: 0;
  }

  .box-servizi-black p {
    margin-bottom: 0;
  }

  .box-servizi-black .box-servizi-abstract {
    font-size: 23px;
  }

  .box-data {
    font-size: 28px;
    width: 110px;
    height: 105px;
  }

  .titolo-banner {
    position: relative;
    font-size: 85%;
  }

  .titolo-banner h1 {
    margin-bottom: 0;
  }

  .titolo-banner a {
    font-size: 22px;
  }

  .owl-theme .owl-dots {
    margin-top: -100%;
  }
}

/*
|--------------------------------------------------------------------------
| Mediaqueries 576px < x < 750px || Phone / Tablet
|--------------------------------------------------------------------------
|
*/

@media screen and (max-width: 750px) and (min-width: 576px) {
  .box-servizi-black {
    padding: 10px;
    width: 88%;
  }

  .box-servizi {
    padding: 0 6%;
  }

  .box-servizi:hover .box-servizi-black {
    top: 60%;
  }

  .box-servizi-black h2 {
    font-size: 30px;
    margin-bottom: 0;
  }

  .box-servizi-black p {
    margin-bottom: 0;
  }

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

  .box-data {
    font-size: 20px;
    width: 90px;
    height: 80px;
  }

  .titolo-banner {
    position: relative;
    font-size: 85%;
  }

  .titolo-banner h1 {
    margin-bottom: 0;
  }

  .titolo-banner a {
    font-size: 22px;
  }

  .owl-theme .owl-dots {
    margin-top: -110%;
    margin-left: -3%;
  }
}

/*
|--------------------------------------------------------------------------
| Mediaqueries 400px < x < 576px || Phone
|--------------------------------------------------------------------------
|
*/

@media screen and (min-width: 400px) and (max-width: 576px) {
  .box-servizi-black {
    padding: 0px 4px;
    width: 88%;
  }

  .box-servizi {
    padding: 0 6%;
  }

  .box-servizi:hover .box-servizi-black {
    top: 55%;
  }

  .box-servizi-black h2 {
    font-size: 22px;
    margin-bottom: 0;
  }

  .box-servizi-black p {
    margin-bottom: 0;
  }

  .box-servizi-black .box-servizi-abstract {
    font-size: 10px;
  }

  .box-data {
    font-size: 15px;
    width: 65px;
    height: 60px;
  }

  .titolo-banner {
    position: relative;
    font-size: 42%;
  }

  .titolo-banner h1 {
    margin-bottom: 10px;
  }

  .titolo-banner a {
    font-size: 16px;
  }

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

  .owl-theme .owl-dots,
  .owl-theme .owl-nav {
    margin: -33% 0% 0% -1%;
  }

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

  .arrow {
    max-width: 15px;
  }

  .owl-theme .owl-dots {
    margin-top: -50%;
  }
}

/*
|--------------------------------------------------------------------------
| Mediaqueries 400px < x || Phone
|--------------------------------------------------------------------------
|
*/

@media screen and (max-width: 400px) {
  .box-servizi-black {
    padding: 0px 4px;
    width: 88%;
  }

  .box-servizi {
    padding: 0 6%;
  }

  .box-servizi:hover .box-servizi-black {
    top: 55%;
  }

  .box-servizi-black h2 {
    font-size: 20px;
    margin-bottom: 0;
  }

  .box-servizi-black p {
    margin-bottom: 0;
  }

  .box-servizi-black .box-servizi-abstract {
    font-size: 10px;
  }

  .box-data {
    font-size: 15px;
    width: 65px;
    height: 60px;
  }

  .titolo-banner {
    position: relative;
    font-size: 42%;
  }

  .titolo-banner h1 {
    margin-bottom: 10px;
  }

  .titolo-banner a {
    font-size: 16px;
  }

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

  .owl-theme .owl-dots,
  .owl-theme .owl-nav {
    margin-top: -55%;
    margin-left: -3%;
  }

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

  .arrow {
    max-width: 15px;
  }

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

/*
|--------------------------------------------------------------------------
| Mediaqueries < 350px
|--------------------------------------------------------------------------
|
*/

@media screen and (max-width: 350px) {
  .row {
    margin-right: 0;
    margin-left: 0;
  }

  .img-resize {
    max-width: 100%;
    margin-left: 0;
  }
}

@media screen and (max-height: 1000px) {
  .custom-margin-top {
    margin-top: 0 !important;
  }
}
