html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
  background-image: url("../img/pattern.png");
}

tr.clickable:hover {
  cursor: pointer;
}

.back-green-aeffe {
  background-color: #00963A;
  color: #ffffff;
}

.popover {
  width: 100%;
  z-index: 1;
}

.img-specs {
  border-style: solid;
  border-color: #58595b;
  border-width: 3px;
  border-radius: 15px;
}

.pagination > li.active > a {
  background: #00963A;
  border-color: #00963A;
}
.pagination > li.active > a:hover {
  background: #00963A;
  border-color: #00963A;
}

.img-float-left {
  float: left;
}

.img-float-right {
  float: right;
}

.justify-text {
  text-align: justify;
}

.text-logo-left {
  color: #58595b;
  font-weight: bold;
  font-size: 1.5em;
  text-decoration: none;
  position: absolute;
  bottom: 10%;
  left: -150%;
  background-color: white;
  padding-left: 20px;
  padding-right: 20px;
  border-bottom-left-radius: 40px;
  z-index: -9999;
}

.text-logo-right {
  color: #00963A;
  font-weight: bold;
  font-size: 1.5em;
  text-decoration: none;
  position: absolute;
  bottom: 10%;
  right: -160%;
  background-color: white;
  padding-left: 30px;
  padding-right: 20px;
  border-bottom-right-radius: 40px;
}

.logo_start {
  color: #58595b;
  font-weight: bold;
  font-size: 1.5em;
}

.floating {
  float: right;
  margin: 3px;
}

.logo_end {
  color: #00963A;
  font-size: 1.5em;
}

.panel-services {
  min-height: 400px;
}

.panel-contacts {
  min-height: 530px;
}

.panel-index {
  color: #58595b;
}

.panel-body-index img {
  padding-bottom: 10px;
  padding-top: 10px;
}

.panel-index:hover {
  border-style: solid;
  border-color: #00963A;
}

.panel-index a {
  color: #000000;
  text-decoration: none !important;
}

.panel-index a:hover {
  color: #00963A;
}

.pagination {
  /*Riduco i margini per allineamento con altri elementi su catalogo --> pager*/
  margin: 0;
}

/*Under construction*/
.print_head {
  background-color: #009999;
  padding-top: 8em;
  padding-bottom: 8em;
  width: 100%;
  display: table;
}

.print_body {
  background-color: #009999;
  padding-top: 4em;
  padding-bottom: 4em;
  width: 100%;
  color: #ffffff;
  font-size: 1.3em;
}

.print_footer {
  margin-top: 2em;
  margin-bottom: 2em;
  background-color: #ffffff;
  padding-top: 4em;
  padding-bottom: 4em;
  width: 100%;
  color: #58595b;
  font-size: 1.3em;
}

.print_body h2 {
  text-decoration: overline;
  position: relative;
}

.head_text_print {
  display: table-cell;
  vertical-align: middle;
}

.print_icons {
  margin-top: 2em;
  margin-bottom: 2em;
}

.img-print {
  float: left;
  margin-right: 1.5em;
  -webkit-shape-outside: circle();
  shape-outside: circle();
}

@font-face {
  font-family: "gothamnight";
  src: url("../fonts/GothamNightsBold.otf");
}

print_title {
  font-size: 80px;
  color: #ffffff;
  font-family: "gothamnight";
}
print_subtitle {
  font-size: 60px;
  color: #ffffff;
  font-family: "gothamnight";
}

#scrollup {
  background-color: rgba(140, 197, 64, 0.7);
  width: 50px;
  height: 50px;
  border-color: #ffffff;
  border-style: double;
  border-width: 3px;
  color: #fff;
  display: none;
  font-size: 30px;
  position: fixed;
  bottom: 2em;
  right: 1em;
  text-decoration: none;
  z-index: 200;
}

.valign {
  vertical-align: middle;
}

.vertical-align {
  /* Usato su specifiche prodotto*/
  display: flex;
  flex-direction: row;
  align-items: center;
}

.table > tbody > tr > td {
  vertical-align: middle;
}

.new_back {
  background-image: url("../img/new2.png");
  background-size: 70px 31px;
  background-position: top right;
  background-repeat: no-repeat;
}

.notification_back {
  background-image: url("../img/notification_icon.png");
  background-size: 25px 25px;
  background-position: top right;
  background-repeat: no-repeat;
}

.panel-catalog {
  color: #58595b;
  height: 180px;
}

.panel-catalog:hover {
  color: #00963A;
  border-style: solid;
  border-color: #00963A;
  text-decoration: none !important;
}
.panel-catalog a {
  color: #000000;
  text-decoration: none !important;
}

.panel-catalog a:hover {
  color: #00963A;
}

/*Per allineamento verticale all'interno delle colonne*/
row-xs-flex-center {
  display: flex;
  align-items: center;
}
@media (min-width: 800px) {
  .row-sm-flex-center {
    display: flex;
    align-items: center;
  }
}
@media (min-width: 992px) {
  .row-md-flex-center {
    display: flex;
    align-items: center;
  }
}
@media (min-width: 1200px) {
  .row-lg-flex-center {
    display: flex;
    align-items: center;
  }
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 95%;
  height: auto;
  /* Negative indent footer by its height */
  margin: 0 auto -60px;
  /* Pad bottom by footer height */
  padding: 0 0 60px;
}

/* Set the fixed height of the footer here */
#footer {
  margin-top: 3em;
  color: #ffffff;
  background-color: #58595b;
  border-color: #58595b;
}

#footer_row {
  padding-top: 1.5%;
}

.top-space {
  padding-top: 2em;
}

.lateral-space {
  padding-right: 1em;
  padding-left: 1em;
}

.white {
  background-color: #ffffff;
}

a:link.white-link {
  color: #ffffff;
  text-decoration: underline;
}
a:hover.white-link {
  color: #ffffff;
  text-decoration: underline;
}
a:visited.white-link {
  color: #ffffff;
  text-decoration: underline;
}

.copyrights {
  position: relative;
  margin-left: 10%;
}

/*
  ==============
  [3. NAVBAR]
  ==============
*/

.breadcrumb {
  margin-top: 130px;
}

.navbar {
  border-bottom: 5px solid #00963A;
  margin-bottom: 0;
  min-height: 65px;
}

.navbar.navbar-default {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  background-color: #ffffff;
}

.navbar-default .navbar-link:hover,
.navbar-default .navbar-link:focus {
  color: #e74c3c;
}

.navbar-default .navbar-brand {
  padding: 22px 15px;
  -o-transition: color 0.3s ease-in-out;
  -moz-transition: color 0.3s ease-in-out;
  -webkit-transition: color 0.3s ease-in-out;
  -ms-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:active {
  color: #00963A;
  -o-transition: color 0.3s ease-in-out;
  -moz-transition: color 0.3s ease-in-out;
  -webkit-transition: color 0.3s ease-in-out;
  -ms-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

.navbar #brand,
.navbar-default #brand {
  position: absolute;
  left: 50%;
  margin: -60px auto 0 -90px;
  width: 180px;
  height: 190px;
  border-bottom: 5px solid #00963A;
  border-radius: 100%;
  background: url("../img/minimal_logo.png") no-repeat;
  background-position: 50% 80%;
  background-size: 105px 105px;
  background-color: #ffffff;
  /*******************************************************************************************************/
}

.navbar .logo,
.navbar-default .logo {
  position: fixed;
  left: 50%;
  min-width: 100px;
  max-width: 100px;
  min-height: 100px;
  max-height: 100px;
  margin: 5px auto 0 -55px;
  background: transparent;
  -o-border-radius: 0%;
  -moz-border-radius: 0%;
  -webkit-border-radius: 0%;
  border-radius: 0%;
}

.navbar .logo img,
.navbar-default .logo img {
  min-width: 105px;
  max-width: 105px;
  min-height: 105px;
  max-height: 105px;
  -o-border-radius: 0%;
  -moz-border-radius: 0%;
  -webkit-border-radius: 0%;
  border-radius: 0%;
}

.navbar-default .nav-left > li:nth-child(5n + 0) {
  display: none;
}

.navbar-default .nav-left {
  float: left;
}

.navbar-default .nav-right {
  margin-left: 170px;
  float: right;
}

.navbar-default .navbar-nav > li > a {
  float: none;
  padding: 10px 17px;
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: 600;
  color: #666666;
  text-decoration: none;
  text-shadow: none;
  transition: color 0.1s ease-in-out;
  -o-transition: color 0.1s ease-in-out;
  -moz-transition: color 0.1s ease-in-out;
  -webkit-transition: color 0.1s ease-in-out;
  font-size: 14px;
  position: relative;
}

.navbar-default .navbar-nav {
  padding-left: 0;
}

.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
  color: #00963A;
  text-decoration: none;
  background-color: transparent;
  transition: color 0.1s ease-in-out;
  -o-transition: color 0.1s ease-in-out;
  -moz-transition: color 0.1s ease-in-out;
  -webkit-transition: color 0.1s ease-in-out;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #00963A;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.navbar-default .navbar-nav li.dropdown.open > .dropdown-toggle,
.navbar-default .navbar-nav li.dropdown.active > .dropdown-toggle,
.navbar-default .navbar-nav li.dropdown.open.active > .dropdown-toggle {
  color: #ffffff;
  background-color: #00963A;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.navbar-default .navbar-nav li.dropdown.open > .dropdown-toggle .caret,
.navbar-default .navbar-nav li.dropdown.active > .dropdown-toggle .caret,
.navbar-default .navbar-nav li.dropdown.open.active > .dropdown-toggle .caret {
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}

.navbar-default .navbar-nav > li > .dropdown-menu {
  margin-top: 9px;
}

.dropdown-menu {
  background-color: #ffffff;
  border: 1px solid #666666;
  border: 1px solid rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-animation-name: fadeInUp;
  -moz-animation-name: fadeInUp;
  -o-animation-name: fadeInUp;
  animation-name: fadeInUp;
  -webkit-animation-duration: 0.3s;
  -moz-animation-duration: 0.3s;
  -o-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
}

.dropdown-menu > li > a {
  font-weight: 600;
  color: #666666;
  text-transform: uppercase;
  font-size: 12px;
  position: relative;
}

.dropdown-menu > li.nav-header {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  color: #ffffff;
  text-decoration: none;
  background: #00963A;
  font-weight: 600;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
  background: #00963A;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu .sub-menu {
  left: 100%;
  margin-left: -1px;
  position: absolute;
  top: 0;
  visibility: hidden;
  margin-top: -6px;
  -webkit-animation-name: fadeInUp;
  -moz-animation-name: fadeInUp;
  -o-animation-name: fadeInUp;
  animation-name: fadeInUp;
  -webkit-animation-duration: 0.3s;
  -moz-animation-duration: 0.3s;
  -o-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
}

.dropdown-menu li:hover .sub-menu {
  visibility: visible;
  display: block;
}

.navbar .sub-menu:before {
  border-bottom: 7px solid transparent;
  border-left: none;
  border-right: 7px solid rgba(0, 0, 0, 0.2);
  border-top: 7px solid transparent;
  left: -7px;
  top: 10px;
}

.navbar .sub-menu:after {
  border-top: 6px solid transparent;
  border-left: none;
  border-right: 6px solid #fff;
  border-bottom: 6px solid transparent;
  left: 10px;
  top: 11px;
  left: -6px;
}

.icon-dropdown {
  position: absolute;
  right: 18px;
  margin-top: 2px;
}

/* Titolo con linee laterali */
.nice_title {
  color: #58595b;
  font-size: 30pt;
  line-height: 1;
  text-align: center;
  margin-bottom: 1em;
  margin-top: 0.5em;
}
.nice_title span {
  display: inline-block;
  position: relative;
  max-width: 500px;
}

/* Mostro e righe orizzontali solo su schermi grandi in modo da non rompere il layout mobile */
@media screen and (min-width: 480px) {
  .nice_title span:before,
  .nice_title span:after {
    content: "";
    position: absolute;
    height: 5px;
    border-bottom: 1px solid #58595b;
    border-top: 1px solid #58595b;
    top: 50%;
    min-width: 300px;
    overflow: hidden;
  }
}

.nice_title span:before {
  right: 100%;
  margin-right: 15px;
}
.nice_title span:after {
  left: 100%;
  margin-left: 15px;
}

.modal-dialog {
  min-width: 40vw; /*Sets the height to 70/100ths of the viewport.*/
}

.mod-thumb {
  width: 140px;
}
