@font-face {
  font-family: 'Pacifico';
  src: url('../fonts/pacifico/Pacifico-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Dosis';
  src: url('../fonts/dosis/Dosis-VariableFont_wght.ttf') format('truetype'),
       url('../fonts/dosis/Dosis-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 200 800;
}

html, body, .ui-widget {
  font-family: Dosis, Arial;  
  letter-spacing: 1px;
  color: #080808;
}

.form-control:focus {
 border-color: #a43535; 
 box-shadow: 0 0 0 0.25rem rgb(164 53 53 / 90%);
}

.nota {
  font-style: italic;
  padding-top: 10px;
  display: block;
  font-size: 15px;
}

.node-form-form .form-text,
.user-form .form-text,
.user-form .form-email,
.user-form .form-tel {
  border: 1px solid #ced4da;
  padding: 15px;
  margin: 10px 0px;
}

.user-form .form-control {
  color: #000000;
  font-size: 18px;
}

.confirm-parent, .password-parent {
  overflow: visible;  
}

#block-b5loungearea-content a:not([class]), #block-b5loungearea-content a:active:not([class]), #block-b5loungearea-content a:visited:not([class]) {
  color: #a43535;
  font-weight: bold;
  background:
    linear-gradient(
      to right,
      rgba(164, 53, 53, 1),
      rgba(164, 53, 53, 1)
    ),
    linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 1)
  );
  background-size: 100% 3px, 0 3px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  text-decoration: none;
  transition: background-size 400ms;
}

#block-b5loungearea-content a:hover:not([class]) {
  background-size: 0 3px, 100% 3px;
  color: #a43535;
}

.alert-error a, .contextual_gear a {
  color: #080808;
}

.contextual_gear a {
  text-decoration: none;
  display: block;
}

.contextual_gear a:hover {
  transition: all .3s ease-in-out;
  color: #a43535;
}

footer .container {
  max-width: 100%;  
}

.form-submit, .form-submit:focus,.form-submit:focus-visible, .form-submit:active, .form-submit:disabled {
  background: #b23831;
  color: #d3d2d2;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 30px;  
  border: none;
}

.form-submit:disabled {
  opacity: 0.5;
}

.form-submit:hover {
  background: #b23831;
  color: #FFFFFF;
}

.form-control {
  border-radius: 10px;  
  border-color: transparent;
}

.hidden {
  display: none;
}

.header {
  font-size: 14px;
  text-transform: uppercase;
  color: #000;
  background: #FFF;
  border-radius: 10px;
  margin-bottom: 15px;
}

.tb > div {
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  font-size: 14px;
}

.at_text {
  border-bottom: 1px solid #999;
  padding-bottom: 5px;
  margin-bottom: 5px;
  font-size: 12px;
}

#block-sitebranding .navbar-brand {
  justify-content: center;
  padding: 65px 0px;
}

#block-passwordlost {
  margin: 0px auto;
  position: absolute;
  /* display: inline-block; */
  text-align: center;
  width: CALC( 100% - 30px);
  margin-top: -120px;
}

#block-passwordlost a, #block-passwordlost a:visited {
  color: #d3061d;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
}

body.path-user:not(.anon) #block-b5loungearea-content, #block-customermenu {
  margin: 50px 0px;  
}

body.path-user:not(.anon) #block-sitebranding {
  display: none!important;
}

body.path-user.anon #block-b5loungearea-content, #block-loginplaceholder {
  width: 812px;
  height: 592px;
  margin: 0px auto;
}

body.path-user.anon #block-b5loungearea-content {
  background: transparent url("../images/bck.png") no-repeat center center;
  margin-bottom: 50px;
}

#block-loginplaceholder {
  height: 1px;
  overflow: visible;
  position: relative;
}

#block-loginplaceholder > div {
  background: transparent url("../images/chair.png") no-repeat center center;
  width: 397px;
  height: 648px;
  margin-left: 732px;
}

body.path-user.anon #block-b5loungearea-content form .description,
body.path-user.anon #block-b5loungearea-local-tasks {
  display: none!important;
}

body.path-user.anon #block-b5loungearea-content form .form-item:first-child {
  margin-top: 200px;  
}

body.path-user.anon #block-b5loungearea-content form .form-submit {
  margin-top: 5px;  
}

.navbar-brand img {
  height: auto!important;  
}

.js-form-type-textfield label, .js-form-type-password label {
  display: none!important;  
}

.user-form .js-form-type-textfield label,.user-form .js-form-type-password label {
  display: block!important;  
}

body.path-user.anon .form-item, body.path-user.anon form p {
  max-width: 600px;
  margin-bottom: 20px; 
  display: inline-block;
}

body.path-user.anon .form-control {
  text-transform: uppercase;  
  font-size: 20px;
  padding: 25px;
}

body.path-user.anon #edit-pass {
  text-transform: none!important;
}

#block-loginloghi > div div, #block-loginloghi > div a {
  display: inline-block;  
}

#block-loginloghi > div {
  margin: 0px 75px;
  position: relative;  
  min-height: 100px;
}

#block-loginloghi > div div, #block-loginloghi {
  padding: 0px 12.25px;  
}

#block-loginloghi > div div:last-child {
  position: absolute;
  right: 0;  
}

span.user-menu-avatar {
  width: 200px!important;
  height: 50px!important;
  background-size: contain!important;
}

#block-views-block-welcome-user-block-1 {
  font-weight: bold;
  margin-left: auto;
}

#block-views-block-welcome-user-block-1 .views-field-nothing {
  position: relative;
}

#block-views-block-welcome-user-block-1 .views-field-nothing:after {
  position: absolute;
  content: " ";
  display: block;
  background: transparent url("../images/betaversion.png") no-repeat center center;
  background-size: contain;
  width: 100px;
  height: 50px;
  right: -13px;
  top: 15px;
}

#block-views-block-welcome-user-block-1 span,#block-views-block-welcome-user-block-1  .views-field {
  display: inline-block;
}

.initials, .author {
  background: #868483;
  color: #FFF;
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  border-radius: 50px;
  margin-right: 15px;
  position: relative;
  top: 4px;
  width: 55px;
  height: 55px;
  text-align: center;
  line-height: 36px;
}  

.author.customer {
  background: #f2f0f0;
  color: #adabab;
}

.author {
  position: absolute;
  right: 0;
  top: 15px;
}

.gear {
  width: 44px;
  height: 44px;
  display: inline-block;
  background: transparent url(../images/gear.png) no-repeat center center; 
  position: relative;
  top: 15px;
  transition: transform .7s ease-in-out;
}

.gear:hover {
  transform: rotate(360deg);
  cursor: hand;
  cursor: pointer;
}

.separator {
 border-left: 1px solid #ececec;
 height: 50px;
 margin-left: 15px;
 margin-right: 15px;
 position: relative;
 top: 20px; 
}

#block-views-block-welcome-user-block-1 .contextual_gear {
  position: absolute;
  display: none;
  margin-top: 15px;
  margin-left: 53px;
}

.at_body {
  padding: 15px;  
}

.searchbar {
  border: 1px solid #9c9998;
  border-radius: 15px;    
  margin-bottom: 15px;
  padding: 30px;
  position: relative;
}

.form-select, .form-textarea-wrapper textarea, .form-textarea-wrapper textarea:focus {
  border: 1px solid #9c9998;
  outline: none;
  padding: 10px;
  font-size: 18px;
}

body.path-user:not(.anon) form {
  margin-top: 50px; 
}

span.lens {
  display: block;
  width: 80px;
  height: 50px;
  background: transparent url(../images/lens.png) no-repeat center center;
  position: absolute;
  right: 20px;
  top: 20px;
  border-left: 1px solid #aaaaaa;
  padding-left: 15px;
}

span.SearchClose {
  display: none;
  position: absolute;
  right: 119px;
  top: 32px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  cursor: hand;
}

.searchbar input, .searchbar input:focus {
  font-size: 20px;
  border: none;
  outline: none;
  width: 100%;
}

.at_container {
  border: 1px solid #9c9998;
  border-radius: 15px;    
  margin-bottom: 15px;
  transition: all .3s ease-in-out;
}

.at_title {
  background: #e8e7e7;  
  font-size: 32px;
  border-radius: 15px;
  margin: 10px;
  padding: 5px 15px;
  color: #54575a;
  text-transform: lowercase;
}

.at_description span {
  display: block;  
  color: #030303;
}

.at_description .subtitle {
  font-size: 24px;  
  font-weight: bold;
}

.at_description .desc, .at_description .state {
  font-size: 16px;  
}

.at_description .state {
  margin-top: 15px;
}

.at_left {
  flex: 2;  
}

.at_right img {
  border-radius: 15px;
  display: block;
  margin: 15px 0px;  
}

.at_actions a, .at_download a {
  text-decoration: none;
  cursor: hand;
  cursor: pointer;
  display: inline-block;
  transition: all .3s ease-in-out;
  font-weight: bold;
  color: #343434;
  text-transform: uppercase;
  border: 1px solid #9c9998;
  border-radius: 15px;    
  padding: 25px 45px;
  text-align: center;
  background: #FFF;
  margin-top: 15px;
}

.at_actions a:hover, .at_actions a.opened, .at_download a:hover, .at_actions a.paynow.disabled {
  color: #FFF!important;
  background: #a43535;
  border-color: #a43535;
}

.at_message {
  font-size: 20px;
  background: #FFF;
  border-radius: 15px;    
  padding: 20px 25px;
  margin-bottom: 25px;
  position: relative;
}

.at_message.warning,.at_message.yellow, .at_message.yellow-strong {
  background: #EAEAEA;
}

.at_message.success,.at_message.green, .at_message.green-strong {
  background: #DADADA;
}

.at_messages .at_message:last-child {
  margin-bottom: 0px;
}

.at_messages {
  background: #f2f0f0;
  border-radius: 15px;    
  padding: 25px;
}

.at_bottom {
  display: none;   
  margin-top: 15px; 
}

#block-customermenu {
  transition: all .3s ease-in-out;
}


#block-customermenu.fixed {
  //position: fixed;
  //top: 0;
}

#block-customermenu ul {
  padding-right: 40px;
}

#block-customermenu li {
  background: #a9a8a8;
  border-radius: 15px; 
  display: block;
  margin-bottom: 15px;   
  padding: 15px;
}

#block-customermenu li:hover {
  background: #a43535;
  transition: all .3s ease-in-out;
}

#block-customermenu li a {
  text-transform: uppercase;
  color: #FFF;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
  display: flex;
  align-items: center;
}

#block-customermenu li a:before {
  content: "";
  border-left: 1px solid #FFF;
  padding-right: 15px;
  margin-left: 15px;
  height: 50px;
  display: inline-block;
  position: relative;
}

.completata .at_icon {
  background: #FFFFFF url(../images/check.png) no-repeat center center;
}

.commento_non_inviato .at_icon {
  background: #FFFFFF url(../images/question_mark.png) no-repeat center center;
}

.commento_inviato .at_icon {
  background: #FFFFFF url(../images/sent.png) no-repeat center center;
}

.at_right {
  position: relative; 
}

.at_icon {
  width: 137px;
  height: 137px;
  background-size: 80%!important;
  position: absolute;
  border-radius: 100px;
  top: 50%;
  margin-top: -12.5%;
  margin-left: -12.5%;
}

.at_message .label {
  display: block;
  font-weight: 900;
  color: rgba(0,0,0,0.2);
  font-size: 25px;
  position: absolute;
  right: 80px;
  top: 24px;
}

.at_message.warning .label,
.at_message.yellow .label,
.at_message.yellow-strong .label {
  display: block; 
}

.at_message.warning .label:after,
.at_message.yellow .label:after,
.at_message.yellow-strong .label:after  {
  display:block;
  content: "PRESENTAZIONE";
}

.at_message.success .label:after,
.at_message.green .label:after,
.at_message.green-strong .label:after  {
  display:block;
  content: "CONSEGNA MATERIALI";
}

.at_message.neutral .label:after {
  display:block;
  content: "COMMENTO";
}

.at_message p {
  margin-right: 50px;
  margin-top: 15px;
  margin-bottom: 15px;
  word-wrap: break-word;
}

.at_message p:first-child {
  margin-top: 40px;
}

.at_message.error {
  color: #a43535;
  font-weight: bold;  
}

.comment_new .form-submit {
  font-size: 20px;  
}

.ui-autocomplete {
  border: none!important;
  opacity: 0.9; 
}

.ui-menu .ui-menu-item-wrapper:hover, .ui-menu .ui-menu-item-wrapper.ui-state-active {
  background: #a43535;
  border: none;
}

.views-field-field-denominazione {
  display: none;
  font-size: 40px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  top: 10px;
}

.highlight {
  border: 3px solid #000;
}

.fading {
  transition: all .3s ease-in-out;
}

.faded {
  opacity: 0.2;  
}

.faded:hover {
  opacity: 1;  
}

#block-customermenu ul li:nth-child(1) a {
  background-image: url(../images/menu_elaborati.png);
  padding-left: 47px;
  background-repeat: no-repeat;
  background-position: left center;
}

#block-customermenu ul li:nth-child(2) a {
  background-image: url(../images/menu_attivita.png);
  padding-left: 47px;
  background-repeat: no-repeat;
  background-position: left center;
}

#block-customermenu ul li:nth-child(3) a {
  background-image: url(../images/menu_assistenza_hosting.png);
  padding-left: 47px;
  background-repeat: no-repeat;
  background-position: left center;
}

#block-customermenu ul li:nth-child(4) a {
  background-image: url(../images/menu_pagamenti.png);
  padding-left: 47px;
  background-repeat: no-repeat;
  background-position: left center;
}

.hours_tot {
  background: #f2f0f0;
  border-radius: 15px;
  padding: 20px 25px;
  margin-top: 25px;
  font-weight: bold;
}

.user-form label {
 font-weight: bold;
 text-transform: uppercase;
 padding: 10px 0px; 
}

.user-form .ok {
  color: darkgreen;
  font-weight: bold;  
}

.user-form .error {
  color: red;
  font-weight: bold;  
}

.alert-dismissible {
  margin-top: 30px;
}

#edit-group-formazione-del-consenso-su .consenso {
  height: 300px;
  overflow: scroll;
}

#edit-field-non-accett-wrapper legend {
  display: none!important;  
}

#edit-group-formazione-del-consenso-su {
  display: block!important;  
}

.form-type-radio .description, .form-type-checkbox .description {
  margin-left: 0;  
}

#edit-field-approvazione-consenso-wrapper {
  margin-top: 50px;  
}

.shwpd {
  float: right;
  margin-left: -40px;
  margin-top: 25px;
  position: relative;
  z-index: 2;
  margin-top: -46px;
  margin-right: 10px;
}

body.path-user.anon .shwpd {
  display: none!important;
}

.form-item label.error {
  position: absolute;
  margin-top: -30px;
  margin-left: -15px;
}

.nocontent {
  display:block;
  text-indent: -999999px;
  font-size:0px;
  color: #FFF;
  background: transparent url("../images/nocontent.png") no-repeat center center;
  background-size: contain;
  width: 100%;
  min-height: 430px;
}

.subtitle {
  font-size: 50%;
}

.subtitle a {
  color: inherit!important;
  text-decoration: none!important;
}

.subtitle a:hover {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.at_title.uppercase {
  font-size: 25px;
}

.hbar {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
}

#block-headerblock {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  flex: 1;
  padding: 10px;
  background: #EEE;
}

#block-headerblock .blockContent {
  
}

#block-headerblock .blockContent {
  font-weight: bold;
  color: #555555;
  flex-grow: 1;
  overflow: hidden;
  margin-top: -2px;
}

#block-headerblock .blockContent a:active,#block-headerblock .blockContent a,#block-headerblock .blockContent a:link,#block-headerblock .blockContent a:visited {
  color: #000000;
  text-decoration: none;
}

#block-headerblock .blockContent a:hover {
  text-decoration: underline;
}

.hbar > span {
}

.hbar .img {
  width: 40px;
  height: 40px;
  display: inline-block;
  background: transparent url("../images/emblema.jpg") center center no-repeat;
  background-size: contain;
}

#twitter {
  border-left: 1px solid #e2e2e2;
  display: inline-block;
  margin-left: 10px;
  padding-left: 10px;
  flex-grow: 1;
}

#twitter h2 {
  font-family: "Dosis", sans-serif;
  font-style: normal;
  color: #b1b1b1;
  display: inline-block;
  vertical-align: middle;
  text-wrap: nowrap;
  font-size: 25px;
}

.eocjs-newsticker-container {
  margin-left: 10px;
}

footer {
  background: #1D1D1D;
}

body.anon footer {
  background: #FFF;  
}

body.anon.page-node-type-page footer {
  display: none!important;
}

#access-error {
  display: block;
  background: transparent url(../images/404.png) no-repeat center center!important;
  width: 100%;
  min-height: 450px;
  background-size: contain!important;
  color: #625d5d;
  text-align: center;
  font-size: 25px;
}

#access-error a:not([class]), #access-error a:active:not([class]), #access-error a:visited:not([class]) {
  color: #625d5d!important;
  font-weight: bold;
  background:
    linear-gradient(
      to right,
      rgba(38, 36, 36, 1),
      rgba(38, 36, 36, 1)
    ),
    linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 1)
  );
  background-size: 100% 3px, 0 3px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  text-decoration: none;
  transition: background-size 400ms;
}

#access-error a:hover {
}

body.user-logged-in .region-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-evenly;
  align-items: flex-start;  
  padding: 75px 50px;
  gap: 50px;
}


#block-testofooter {
  color: #FFF;
  font-size: 28px;
  width: 100%;
  margin-bottom: 75px;
}

#block-indirizzi, #block-recapiti, #block-strumenti, #block-testofooter {
  min-width: 50px;
  color: #FFF;
  font-size: 16px;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  width: 0px;
}

#block-indirizzi h2, #block-recapiti h2, #block-strumenti h2, #block-testofooter h2,
#block-indirizzi h5, #block-recapiti h5, #block-strumenti h5, #block-testofooter h5  {  
  font-size: 20px;
  font-weight: bold;
  font-family: 'Dosis';
  margin-bottom: 30px;
}

#block-testofooter a:active, #block-testofooter a, #block-testofooter a:link, #block-testofooter a:visited {
  color: #FFFFFF;
  text-decoration: none;
  transition: all .3s ease-in-out;
}

#block-testofooter {
  margin-left: 50px;
}

#block-strumenti a {
  transition: all .3s ease-in-out;
}

#block-testofooter a:hover, #block-strumenti a:hover {
  color: #DDDDDD;
}

#block-strumenti a:hover {
  color: #DDDDDD;
}

#block-strumenti ul, #block-strumenti ul li {
  margin-bottom: 20px;
}

#block-strumenti ul li a {
  margin: 0;
  padding: 0;  
}

#block-strumenti ul li:first-child:before {
  content: "";
  width:20px;
  height: 20px;
  background: transparent url("../images/user.svg") no-repeat center center;
  display: block;
  position: absolute;
  background-size: contain;
  left: auto;
  margin-left: -35px;
  margin-top: 3px;
}

#block-strumenti ul li:nth-child(2):before {
  content: "";
  width:20px;
  height: 20px;
  background: transparent url("../images/logout.svg") no-repeat center center;
  display: block;
  position: absolute;
  background-size: contain;
  left: auto;
  margin-left: -35px;
  margin-top: 3px;
}

#block-strumenti ul li:last-child {
  width: 149px;
  height: 47px;
  flex-shrink: 0;
  border-radius: 5px;
  border: 1px solid #FFF;
  background: #FFF;
  transition: all .3s ease-in-out;
}

#block-strumenti ul li:last-child:hover {
  background: #DDD;
  border: 1px solid #DDD;
}


#block-strumenti ul li:last-child a {
  display: block;
  color: #000;
  line-height: 47px;
}

#block-strumenti ul li:last-child a:before {
  content: "";
  width:20px;
  height: 20px;
  background: transparent url("../images/addnew.svg") no-repeat center center;
  display: block;
  position: absolute;
  background-size: contain;
  left: auto;
  margin-top: 14px;
  margin-left: -25px;
}

#block-recapiti p:before {
  content: "";
  width:20px;
  height: 20px;
  background: transparent url("../images/phone.svg") no-repeat center center;
  display: block;
  position: absolute;
  background-size: contain;
  left: auto;
  margin-left: -35px;
  margin-top: 3px;
}

#block-recapiti p:first-child:before {
  background: transparent url("../images/mail.svg") no-repeat center center;
}

#block-indirizzi p, #block-indirizzi h2,
#block-recapiti p, #block-recapiti h2,
#block-strumenti li, #block-strumenti h5 {
  padding-left: 30px;
  margin-bottom: 25px;
  width: fit-content;
}

#block-indirizzi p:before {
  content: "";
  width:20px;
  height: 20px;
  background: transparent url("../images/location.svg") no-repeat center center;
  display: block;
  position: absolute;
  background-size: contain;
  left: auto;
  margin-left: -35px;
  margin-top: 3px;
}

#block-testofooter hr {
  opacity: 1;
}

#block-testofooter {
  border-right: 1px solid #FFF;
  text-align: right;
}
#block-testofooter a {
  margin: 0px 5px;
}

#block-testofooter strong {
  font-weight: 700;
}

#block-testofooter .logo-bn , #block-testofooter .follow, #block-testofooter .intro {
  margin-right: 20px;
}

#block-testofooter .intro {
  padding-top: 50px;  
}

#block-testofooter .follow {
  padding-bottom: 200px;  
}

#block-testofooter.follow {
  margin-top: 5px;
}

#block-testofooter .logo-bn {
  background: transparent url("../images/logobn.png") no-repeat center center;
  background-size: contain;
  width: 180px;
  height: 50px;
  display: inline-block;
}

#closing {
  background: #1D1D1D;
  padding: 10px;
  color: #FFF;
  font-size: 14px;
  text-align: center;
}

#closing a, #closing a:link, #closing a:visited {
  color: #999;
  text-decoration: none;
  transition: all .3s ease-in-out;

}

#closing a:hover {
  color: #DDD;
}

body.anon #closing {
  display: none;
}

s {
  text-decoration: inherit;
}

.paynow.disabled {
  pointer-events: none;  
}

.blockContent a {
  display: inline-block;
  text-overflow: ellipsis;
  width: 200px;
  white-space: nowrap;
  overflow: hidden; 
  height: 18px;
}

.views-field-user-picture-1 {
  display: none!important;
}

.at_container .at_right img {
  width: 530px;
  height: 250px;
  text-indent: -9999px;
  background-size: contain!important;
}

.ball_red, .ball_green {
  width: 20px;
  height: 20px;
  display: inline-block;
  background: green;
  margin-right: 5px;
  border-radius: 15px;
}

.ball_red {
  background: red;
}

.at_description .inv_subtitle {
  display: inline-block;
}

.inv_subtitle a {
  color: inherit !important;
  text-decoration: none !important;
}

.inv_total {
  margin-top: 10px;
  padding-top: 10px;
  display: block;
  border-top: 1px dashed;
}

/* Stili per l'estratto conto */
#in_summary .invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

#in_summary .invoice-table th {
  font-weight: bold;
  text-align: left;
  padding: 12px 15px;
  border-bottom: 2px solid #ddd;
  font-weight: 600;
  color: #333;
}

#in_summary .invoice-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
}

#in_summary .invoice-table tr:hover {
  background-color: #f5f5f5;
}

#in_summary .invoice-table tr:last-child td {
  border-bottom: none;
}

#in_summary .invoice-table tr td:last-child {
  text-align: right;
}


#in_summary .invoice-number {
  font-weight: 600;
  color: #2c3e50;
}

#in_summary .invoice-amount {
  text-align: right;
  font-weight: 600;
}

#in_summary .invoice-action {
  text-align: center;
}

#in_summary .invoice-link {
  display: inline-block;
  padding: 4px 10px;
  color: white !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.2s;
}

#in_summary .invoice-link:hover {
  background-color: #2980b9;
}

#in_summary .divider {
  height: 2px;
  background-color: #34495e;
  margin: 15px 0;
}

#in_summary .total-row {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-radius: 5px;
  margin-top: 10px;
  font-weight: bold;
}

#in_summary .total-label {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
}

#in_summary .total-amount {
  font-size: 18px;
  font-weight: 700;
  color: #e74c3c;
}

@media (min-width: 576px) {
  body.path-user.anon .container-sm,body.path-user.anon .container {
    max-width: 100%;
  }
}

@media screen and (max-width: 1466px) {
  #block-loginplaceholder > div {
    display: none; 
  }  
}

@media screen and (max-width: 1289px) {
  body.user-logged-in .region-footer {
    gap: 30px;
    padding: 75px 25px;  
  }
  #block-testofooter {
    margin-left: 20px;
  }
}

@media screen and (max-width: 1149px) {
  body.user-logged-in .region-footer {
    gap: 20px;
    padding: 75px 0px;  
  }
  #block-testofooter {
    margin-left: 10px;
  }
}

@media screen and (max-width: 1058px) {
  body.user-logged-in .region-footer {
    display: block;
    padding: 0px 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5%;
  }
  
  #block-indirizzi, #block-recapiti, #block-strumenti, #block-testofooter {
    width: 100%;
    margin-left: 0px;
    margin-right:0px;
    flex-basis: 47%;
    flex-grow: 1;
  }
  
  #block-testofooter .follow {
    padding-bottom: 50px;
  }
  
  #block-recapiti {
    text-align: right;
  }
  
  #block-recapiti p, #block-recapiti h2 {
    display: inline-block;
    float: right;
    clear: right;
  }
   
  #block-recapiti p:before {
    left: auto;
    margin-left: -35px;
  }
  
  #block-indirizzi h2, #block-recapiti h2, #block-strumenti h5 {
    padding-left: 0;
    
  }
 
} 


@media screen and (max-width: 992px) {
  #block-headerblock {
    flex-direction: column;
  }
  .blockContent {
    width: 100%;
    text-align: center;
  }
  body.path-user.anon #block-b5loungearea-content form .form-item:first-child {
      margin-top: 240px;
  }
  
  body.path-user.anon #block-b5loungearea-content form .form-submit {
    margin-top: 5px;
    margin-bottom: 20px;
  }
  
  #block-passwordlost {
    margin: 0px auto;
    position: absolute;
    /* display: inline-block; */
    text-align: center;
    width: CALC( 100% - 30px);
    margin-top: -130px;
  }

  
  .views-field-user-picture {
    text-align: center;
  }
  
  .view-welcome-user .views-row {
    text-align: center;  
  }
  
  #block-customermenu ul {
    padding-right: 0;
  }
  
  .at_actions a, .at_download a {
    width: 100%;  
  }
  body.path-user.anon #block-b5loungearea-content, #block-loginplaceholder {
    width: 100%; 
    height: inherit; 
  }
  body.path-user.anon #block-b5loungearea-content,
  body.path-user.anon .region-footer {
    background-size: contain;
    position: relative;
    top: -3vw;
  }
  body.path-user.anon #block-b5loungearea-content form .form-item,
  body.path-user.anon #block-b5loungearea-content form #edit-submit {
    position: relative;
    top: -6vw;  
  }
  
  .col {
    flex: none;
  }
  
  .at_right img {
    width: 100%;
  }
  
  .at_icon {
      width: 137px;
      height: 137px;
      background-size: 80%!important;
      position: absolute;
      /* border-radius: 0; */
      top: 20%;
      margin-top: 44px;
      margin-left: 0;
      border-radius: 0px 25px 25px 0px;
      display: none;
  }
} 

@media (max-width: 740px) {

  
  .view-ultime {
    display: block;
  }
  
  .view-ultime .view-header {
      width: auto;
      margin: 0px auto;
  }
  
  #twitter {
    flex-shrink: 1;
    flex-grow: 0;
  }
  
  .hbar {
    justify-content: center;
  }

  body.path-user.anon #block-b5loungearea-content form .form-item:first-child {
    margin-top: 31vw;  
  }
  body.path-user.anon .form-control {
    padding: 15px;
  }
  .form-submit, .form-submit:focus, .form-submit:focus-visible, .form-submit:active, .form-submit:disabled {
    font-size: 25px;  
  }
  body.path-user.anon #block-b5loungearea-content,
  body.path-user.anon .region-footer {
    top: -4vw;
  }
}

@media (max-width: 640px) {
  #block-passwordlost {
    margin-top: -155px;
  }
  body.path-user.anon #block-b5loungearea-content form .form-item:first-child {
    margin-top: 35vw;  
  }
  .form-submit, .form-submit:focus, .form-submit:focus-visible, .form-submit:active, .form-submit:disabled {
    font-size: 20px;  
  }
  body.path-user.anon .form-control {
    padding: 10px;
    font-size: 15px;
  }
  body.path-user.anon #block-b5loungearea-content form .form-item,
  body.path-user.anon #block-b5loungearea-content form #edit-submit {
    position: relative;
    top: -9vw;  
  }
  body.path-user.anon #block-b5loungearea-content,
  body.path-user.anon .region-footer {
    top: -6vw;
  }
}

@media (max-width: 580px) {
  body.path-user.anon .form-item, body.path-user.anon form p {
    margin-bottom: 5px;
  }
  #block-passwordlost {
    margin-top: -181px;
  }
  #block-passwordlost a, #block-passwordlost a:visited {
    font-size: 15px;
  }
  body.path-user.anon #block-b5loungearea-content form .form-item:first-child {
    margin-top: 45vw;  
  }
  body.path-user.anon #block-b5loungearea-content form .form-item,
  body.path-user.anon #block-b5loungearea-content form #edit-submit {
    position: relative;
    top: -12vw;  
  }
  body.path-user.anon #block-b5loungearea-content,
  body.path-user.anon .region-footer {
    top: -10vw;
  }
  #block-indirizzi, #block-recapiti, #block-strumenti, #block-testofooter {
    flex-basis: 100%;
    text-align: center;
  }
  
  #block-testofooter {
    border-right: none;
  }
  
  #block-indirizzi h2, #block-recapiti h2, #block-strumenti h5 {
    margin-left: auto;
    margin-right: auto;
  }
  
  #block-recapiti p, #block-recapiti h2 {
    float: none;
    clear: none;
  }
  
  #block-indirizzi p, #block-indirizzi h2, #block-recapiti p, #block-recapiti h2, #block-strumenti li, #block-strumenti h5 {
    text-align: center;
    display: inline-block;  
  }
  
  #block-strumenti ul, #block-strumenti ul li {
    margin-left: auto;
    margin-right: auto;
  }
  
  #block-testofooter .logo-bn, #block-testofooter .follow, #block-testofooter .intro {
    margin-right: auto;
  }
  
  #block-strumenti ul li:last-child a:before {
    margin-left: -15px;
  }

}

@media (max-width: 576px) {
  .container-sm, .container {
      max-width: 100%;
  }
}

@media (max-width: 520px) {
  body.path-user.anon #block-b5loungearea-content form .form-item:first-child {
    margin-top: 45vw;  
  }
  body.path-user.anon #block-b5loungearea-content form .form-item,
  body.path-user.anon #block-b5loungearea-content form #edit-submit {
    position: relative;
    top: -10vw;  
  }
  body.path-user.anon #block-b5loungearea-content form .form-item-pass {
    top: -14vw;  
  }
  body.path-user.anon #block-b5loungearea-content form #edit-submit {
    top: -18vw;  
  }
  body.path-user.anon #block-b5loungearea-content,
  body.path-user.anon .region-footer {
    top: -14vw;
  }
  
  .at_message .label {
    font-size: 16px;
    right: 65px;
    top: 31px;
  }
  
  .initials, .author {
    font-size: 20px;
    width: 45px;
    height: 45px;
    line-height: 25px;
  }
  
  .at_message {
    font-size: 16px;
  } 
  
  #block-passwordlost {
      margin-top: -220px;
  }

} 

@media (max-width: 470px) {
  body.path-user.anon .form-item, body.path-user.anon form p {
    max-width: 90%;  
  }
  body.path-user.anon #block-b5loungearea-content,
  body.path-user.anon .region-footer {
    top: -18vw;
  }
  #block-passwordlost {
      margin-top: -220px;
  }
}

@media (max-width: 992px) {
  body.user-password form p {
    position: relative;
    top: -60px;
    width: 80%;
  }
}

@media (max-width: 768px) {
  .at_container .at_right img {
    max-width: 100%;
    width: 100%;
    height: auto;  
  }
}

@media (max-width: 520px) {
  body.user-password form #edit-submit {
    top: -11vw!important;
  }
  body.user-password form p {
    top: -40px;
  }
}

@media (max-width: 425px) {
  body.user-password form p {
    width: 95%;
  }
  body.user-password form #edit-submit {
    top: -14vw!important;
  }
}

@media (max-width: 576px) {
  #block-views-block-welcome-user-block-1 span {
    font-size: 14px;
    top: 34px;
    letter-spacing: 0px !important;
  }
  
  #block-views-block-welcome-user-block-1 .contextual_gear {
    margin-top: 53px;
    margin-left: 5px;
    text-align: right !important;
    background: rgba(255, 255, 255, 0.3);
    z-index: 20;
    border: 1px solid #ccc;
    padding: 20px;
    margin-right: 0;
    padding-right: 10px;
  }
}

.old.center {
  text-align: center; 
}

#block-b5loungearea-content .old.center a {
  background: transparent url(../images/oldbutton.png) no-repeat center center!important;
  text-indent: -9999px;
  display: inline-block;
  margin: 10px auto;
  width: 248px;
  height: 137px;
}