.modal-float.left .modal-dialog, .modal-float.right .modal-dialog {
  position: fixed;
  margin: auto;
  width: 400px;
  height: 100%;
  max-width: 100vw;
  -webkit-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

@media (max-width: 576px) {
  .modal-float.left .modal-dialog, .modal-float.right .modal-dialog {
    width: 100vw !important;
  }
}

.modal-float.left .modal-content, .modal-float.right .modal-content {
  height: 100%;
  overflow-y: auto;
}

.modal-float.left .modal-body, .modal-float.right .modal-body {
  padding: 15px 15px 80px;
}

/* Left */

.modal-float.left.fade .modal-dialog {
  left: -320px;
  -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
  -o-transition: opacity 0.3s linear, left 0.3s ease-out;
  transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal-float.left.fade.in .modal-dialog {
  left: 0;
}

/* Right */

.modal-float.right.fade .modal-dialog {
  right: 0px;
  -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
  -o-transition: opacity 0.3s linear, right 0.3s ease-out;
  transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal-float.right.fade.in .modal-dialog {
  right: 0;
}

/* ----- MODAL STYLE ----- */

.modal-content {
  border-radius: 0;
  border: none;
}

.modal-header {
  border-bottom-color: #EEEEEE;
  background-color: #FAFAFA;
}

#haburger-icon {
  cursor: pointer;
}

#sir-hamburger-menu .card {
  border-bottom: 0;
}

#sir-hamburger-menu .card:last-child {
  border-bottom: 1px solid white;
}

#sir-hamburger-menu .card-headerfirst-child {
  border-top: 1px;
}

#sir-hamburger-menu .card-header {
  border-radius: 0 !important;
}

#sir-hamburger-menu .list-group-item {
  border-radius: 0 !important;
}

#sir-hamburger-menu .list-group-item:hover a {
  color: var(--primary);
}

#sir-hamburger-menu .list-group-item:hover {
  background-color: #b8caf1;
  color: var(--primary);
}

.cursor-pointer {
  cursor: pointer;
}

input[type="search"]::placeholder {
  /*color: rgba(255,255,255,0.5);*/
}

@media (min-width: 992px) {
  .dropdown-menu-center {
    right: auto !important;
    left: 50% !important;
    -webkit-transform: translate(-50%, 0) !important;
    -o-transform: translate(-50%, 0) !important;
    transform: translate(-50%);
    top: 100% !important;
  }
}

#desme-nav .dropdown-menu.is-multilevel > .row {
  width: 600px;
}

html {
  font-size: 14px;
}

.border-right {
  border-right-width: 1px;
  border-right-style: solid;
}

#desme-nav a:hover {
  color: black;
}

#desme-lang a:hover {
  color: black;
}

#desme-lang a {
  color: var(--700);
  font-weight: 500;
}

#desme-nav a {
  color: var(--700);
  font-weight: 500;
}

#desme-nav .dropdown-menu .tab-content a {
  font-weight: 400;
}

#desme-nav .dropdown-menu .tab-content .h4 a {
  font-weight: 500;
}

#desme-nav .dropdown-menu .tablist a.nav-link.active {
  font-weight: 800;
}

#desme-nav > .nav-item.show > a.nav-link span {
  background-color: var(--dark);
  border-radius: 2rem;
  color: var(--light);
  padding: 0.5em 1.5em;
}

#desme-nav > .nav-item.show > a.nav-link:hover span {
  background-color: black;
}

.newsletter {
  border-radius: 5px;
  width: 220px;
}

#main-content h1, #main-content h2, #main-content h3, #main-content .h1, #main-content .h2, #main-content .h3 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  /*letter-spacing: -0.2rem;*/
}

header .h6 {
  font-size: 1rem;
  letter-spacing: 0;
}

@media (min-width: 576px) {
  .product-image {
    max-height: 400px;
    object-fit: contain;
  }
}

@media (min-width: 992px) {
  .product-image {
    max-height: 700px;
    object-fit: contain;
  }
}

.product-details-navigation a:hover {
  border-bottom: 3px solid var(--primary-60);
  text-decoration: none;
  padding-bottom: 0px;
}

.product-details-navigation a {
  box-sizing: content-box;
  border-top: solid 3px transparent;
  border-bottom: solid 3px transparent;
}

.product-details-navigation {
  max-width: var(--breakpoint-lg);
}

#accordion-product-details .rounded-0 {
  border-radius: 0;
}

#accordion-product-details .card-header a:after, .round-icon-button {
  float: right;
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  content: "\f063";
  border: 2px solid var(--primary-60);
  padding: 6px;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  text-align: center;
  background-color: white;
  box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2);
  margin-top: -10px;
}

#accordion-product-details .card-header a[aria-expanded="false"]:after {
  content: "\f061";
}

#accordion-product-details .card-header {
  border-bottom: none;
}

#accordion-product-details {
  max-width: var(--breakpoint-md);
  margin: auto;
}

#accordion-product-details .card {
  border-bottom: 1px solid black !important;
}

.fas.fa-arrow-right *:hover {
  text-decoration: none !important;
}

.btn:active, .btn:focus, .btn.active, .btn:active:focus {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.bg-primary-10-to-white {
  background: linear-gradient(0deg, white 0%,var(--primary-10) 100%);
}

.card-header.rounded-0, .card-footer.rounded-0 {
  border-radius: 0 !important;
}

.card-header.rounded-0 {
  border-radius: 0 !important;
}

.asset-display-element {
  border: none;
  border-top: 10px solid;
}

.asset-display-element .btn-asset-link i {
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  content: "\f063";
  border: 2px solid var(--primary-60);
  padding: 6px;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  text-align: center;
  box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2);
  margin-left:1rem;
  /*color: white;*/
}

.asset-display-element .card-body img {
  height: 250px;

}

.asset-display-element {
  box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.2);
}

body.modal-open .sticky-top {
  position: static;
}

#accordion-product-details h5 {
  /*display: block;*/
  /*vertical-align: middle;*/
  /*height: 23px;*/
  padding-top: 10px;
}

.bg-sir {
  background: url("../images/bg.svg") center top / cover repeat-y local;
}

.round-icon-button {
  width: 80px;
  height: 80px;
  font-size: 50px;
  padding: 15px;
  float: none;
}

.round-icon-button.m-top-50 {
}

.bg-triangle-primary-60 {
  background: linear-gradient(30deg, var(--primary-60) 37%, transparent 37%), linear-gradient(-30deg, var(--primary-60) 37%, transparent 37%);
}

.header-news-img-overlay {
  background-color: #000f3f7e;
  height: 100%;
}

.header-news-img {
  height: 200px;
}

.single-news-title {
  border-bottom: 0.6rem solid var(--primary-70);
  font-weight: 900;
}

.single-news-body {
  font-size: large;
}

.shadow-none {
}

.description {
  background: #f3f3f3;
  margin-top: 43px;
}

/* gestione video background */

.video-background-holder {
  position: relative;
  background-color: black;
  height: calc(100vh - 128px);
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

.video-background-holder video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.video-background-holder img {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}


.video-background-content {
  position: relative;
  z-index: 2;
}

.video-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}


.video-background-overlay {
opacity:0;
}

.sir-gal-img {
  width: auto;
  height: 100vh;
  margin: auto;
  position: relative;
  display: block;
}

.sir-gal-video {
  width: 80vw;
  height: 100vh;
  margin: auto;
  position: relative;
  display: block;
}






/** CLASSI AGGIUNTIVE **/





.portlet-decorate .portlet-content {
    background: #fff0;
    border-color: transparent;
    border-style: inherit;
    border-width: 1px 1px 1px 1px;
    padding: 0rem;
    word-wrap: break-word;
}

.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}

.portlet{
margin-bottom: 0px;
}

[type='checkbox'] {
    margin-right: 5px;
}

div#desme-lang {
    height: 35px;
}

#desme-lang>.dropdown-menu.rounded-bottom {
 min-width: 6rem;
 min-height: 28rem;
}

input.form-control.input-group-inset.input-group-inset-after.search-bar-keywords-input {
	background-color: #ffffff00 !important;
    border-color: #ffffff00 !important;
}

.input-group .input-group-inset-item-after {
    color: #ffffff;
    background-color: #ffffff00 !important;
    border-color: #ffffff00 !important;
}

.input-group .input-group-inset-item {
	    border-color: #ced4da00;
	    background-color: #fff0;
}

.input-group{
	min-width: 100%;
}

 .portlet-layout .news-right-widget .portlet-header {
    margin-bottom: 0rem !important;
}

.contact-form-people input{
    border-radius: 0.5rem
        !important;
}

.bg-card {
	background: var(--200);

    outline-style: solid;
    outline-width: 0.5px;
    outline-color: var(--600);


}

.img-account {
	max-width: 40% !important;
}

.button-contatti{
	position: fixed;
    bottom: 1rem;
    right: 1rem;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    margin: auto;
    padding: 10px;
    z-index: 1;
}

.icon-lavorazioni {
   width: 3rem;
    filter: invert(17%) sepia(99%) saturate(1%) hue-rotate(348deg) brightness(100%) contrast(102%);
}

.icon-lavorazioni-list {
width: 3rem;
filter: invert(62%) sepia(35%) saturate(1002%) hue-rotate(190deg) brightness(99%) contrast(104%);

}


.header-news-img img {
  object-fit: cover;
  z-index: -1;
}

.header-news-img-overlay {
  background-color: #0008227e;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
}

.header-news-img {
  height: 200px;
  position: relative;
}


.fas.fa-arrow-right {
    margin-left: 5px;
}


.about-us-home-img-overlay {
    background-color: #061858de;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
}

.about-us-home-img-overlay {
   background-color: transparent;
}

.about-us-home-img {
    height: 400px;
    position: relative;
}

.about-us-home-img img{
  object-fit:cover;


}



.btn-home-arrow {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f063";
    border: 2px solid var(--primary-60);
    padding: 6px;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    text-align: center;
    box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2);

}

.card-services {
    border: none;
    border-top: 0.5rem solid;
}


.logo-icon-services{
	    filter: invert(62%) sepia(35%) saturate(1002%) hue-rotate(190deg) brightness(99%) contrast(104%);
    max-width: 5%;
}

.portlet-search-results .card-body img {
    height: 250px;
    object-fit: contain;
}

/*  
.dropdown-menu[class*='_com_liferay_portal_search_web_search_bar_portlet_SearchBarPortlet']{
	position:absolute; 
	display:block;
	z-index:999999
}*/