

html[data-theme='light'] {
  --sidebar-background-color: #f8f9fa;
  --sidebar-background-color-mobile: #cfcfcf;
  --fill-color-darkmode-icon: #000;
  --menu-item-color: #000;
  --menu-item-color-hover: #fff;
  --submenu-item-color: #000;
  --navbar-background-color: #f8f9fa;
  --assistance-item-color: #000;
  --divider-color: rgba(0,0,0, 0.7);
  --primary-color: #4977a6;
  --error-color: #ff0000;
  --color-breadcumbs-text: white;
  --hover-filter-menu-icon: invert(0);
  --bg-color-icon-menu: invert(1);
}
:root, html[data-theme='dark'] {
  --sidebar-background-color: #353535;
  --sidebar-background-color-mobile: #1c1c1c;
  --fill-color-darkmode-icon: #fff;
  --menu-item-color: #fff;
  --menu-item-color-hover: #6f6f6f;
  --submenu-item-color: #fff;
  --navbar-background-color: #353535;
  --assistance-item-color: #fff;
  --divider-color: rgba(255,255,255, 0.7);
  --primary-color: #4977a6;
  --width-sidebar: 250px;
  --general-transition: all 0.2s ease-out;
  --focus-bg-button-color: #b4b4b4;
  --color-breadcumbs-text: white;
  --min-width-blocking-page: 1000px;
  --hover-filter-menu-icon: brightness(0.5);
  --bg-color-icon-menu: invert(0);
}




body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

  /* Hide scrollbar for Chrome, Safari and Opera */
  .container_sidebar::-webkit-scrollbar  {
    display: none !important;
    width: 0 !important;
  }

  .container_sidebar {
    scrollbar-width: none;
  }
  
  html {
    height: -webkit-fill-available;
  }
  
  main {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: rgba(0, 0, 0, .1);
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  }


  .body-page p, h1, h2, h3, h4, h5 {
    color: #000;
  }
  
  
  .body-page {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 175px);
    left: var(--width-sidebar);
    width: calc(98% - var(--width-sidebar));
    /*min-width: var(--min-width-blocking-page);*/
  }
  

  .body-page::after {
    position: absolute;
    content: '';
    top: 5vh;
    right: -15vw;
    width: 50vw;
    opacity: 0.1;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
  }

  /* CONTAINER */

  .container-small {
    max-width: 600px;
    
  }

  .container-medium {
    max-width: 900px;
    
  }

  .container-large {
    max-width: 1200px;
    
  }

  /* BUTONS */
  .btn-primary {
    background-color: var(--primary-color);
    outline-color: var(--primary-color);
  }

  /* SIDEBAR */

  .sidebar {
    background-color: var(--sidebar-background-color);
    transition: var(--general-transition);
    width: var(--width-sidebar);
  }

  #sidebar .container_sidebar {
    height: 100vh;
    overflow: scroll;
  }
  .sidebar:is(.collapsed) {
    text-align: center;
  }
  .sidebar:is(.collapsed) .img-avatar {
    margin-top: 40px;
  }
  .sidebar:is(.collapsed) #reduce-menu:before  {
    left: calc(100% - 55px);
  }
  .sidebar:is(.collapsed) .item-label{
    display: none;
  }
  .sidebar:is(.collapsed) .name-text{
    font-size: 1rem;
  }
  .sidebar:is(.collapsed) .bannerPubbImage{
    display: none;
  }
  .sidebar:is(.collapsed) #dark-mode{
    position: absolute;
    height: 40px !important;
    bottom: 180px;
    left: 30px;
  }
  .sidebar .button-exit {
    min-width: 100%;
  }

 
  /* .sidebar:is(.collapsed) .btn-submenu{
    pointer-events: none;
  } */
  
span .infoContrPending {
    color: orange;
  }
  
  #reduce-menu:before {
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
    content: '';
    background: var(--fill-color-darkmode-icon);
    background-repeat: no-repeat;
    background-size: contain;
    mask-image: url('../img/menuicon/reduce-menu.svg');
    -webkit-mask-image: url('../img/menuicon/reduce-menu.svg');
    width: 25px;
    height: 25px;
    fill: var(--assistance-item-color);
  }
  #hamburger {
    display: none;
  }
  #close-menu {
    display: none;
  }

  

  #dark-mode {
    cursor: pointer;
  }

  #dark-mode svg {
    stroke: var(--fill-color-darkmode-icon);
    
  }


  .navbar {
    background-color: var(--navbar-background-color);
    transition: var(--general-transition);
    left: var(--width-sidebar);
    width: calc(100% - var(--width-sidebar));
    
  }

  .navbar::before {
    content: '';
    width: 1px;
    background-color: var(--divider-color);
    opacity: 0.2;
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;

  }
  .assistance-info p {
    min-height: 20px;
  }
  .assistance-info .text-customer-assistance, .assistance-info .text-mail-assistance{
    display: inline-flex;
  }
  .assistance-info .icon-assistance-reduced, .assistance-info .icon-mail-reduced{
    display: none;
  }

.sidebar h3, .sidebar h2,.sidebar h4,.sidebar p {
  color: var(--assistance-item-color);
}

 h3, h2, h4, p {
  color: black;
}

  .navbar h2, .navbar h3, .navbar h4, .navbar p {
    color: var(--assistance-item-color);
  }


  hr {
    background-color: var(--divider-color);
  }

  .navbar .icon-assistance, .navbar .icon-mail, .navbar .icon-mail-reduced, .navbar .icon-assistance-reduced {
  	position: relative;
  	padding-right: 30px;
   	width: 20px;
    height: 20px;
  }

  .navbar .icon-assistance::before, .navbar .icon-assistance-reduced::before {
    position: absolute;
    top: 0;
    right: 0;
    content: '';
    background: var(--assistance-item-color);
    background-repeat: no-repeat;
    background-size: contain;
    mask-image: url('../img/menuicon/support.svg');
    -webkit-mask-image: url('../img/menuicon/support.svg');
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    width: 20px;
    height: 20px;
    fill: var(--assistance-item-color);
  }
  .navbar .icon-mail::before, .navbar .icon-mail-reduced::before {
    position: absolute;
    top: 0;
    right: 0;
    content: '';
    background: var(--assistance-item-color);
    background-repeat: no-repeat;
    background-size: contain;
    mask-image: url('../img/menuicon/mail.svg');
    -webkit-mask-image: url('../img/menuicon/mail.svg');
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    width: 20px;
    height: 20px;
    fill: var(--assistance-item-color);
  }
  
  .b-example-divider {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
    background-color: var(--menu-item-color);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  }
  
  .bi {
    vertical-align: -.125em;
    pointer-events: none;
    fill: currentColor;
  }
  
  
  .dropdown-toggle { outline: 0; }
  
  .nav-flush .nav-link {
    border-radius: 0;
  }
  .nav-link {
    color: var(--menu-item-color);
  }
  .nav-link:hover {
    color: var(--menu-item-color) !important;
  }

  .nav-link.active {
  	background-color: var(--focus-bg-button-color)!important;
  }

  .btn-toggle:hover {
  	color: white!important;
  }

  .nav-link .icon-menu {
    width: 16px;
    height: 16px;
    background-size: contain;
    background-position: center center;
  }
  
  .btn-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: .25rem .5rem;
    font-weight: 600;
    color: var(--menu-item-color);
    background-color: transparent;
    border: 0;
  }
  .btn-toggle:hover,
  .btn-toggle:focus {
    color: rgba(0, 0, 0, .85);
    background-color: var(--focus-bg-button-color);
  }
  
  .btn-toggle:not(.nav-link)::before {
    width: 1.25em;
    line-height: 0;
    content: '';
    margin-right: 0.25rem;
    background: var(--menu-item-color);
    background-repeat: no-repeat;
    mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    width: 16px;
    height: 16px;
    transition: transform .35s ease;
    transform-origin: .5em 50%;
  }
  
  .btn-toggle[aria-expanded="true"]{
    stroke: var(--menu-item-color) !important;
    color: var(--menu-item-color);
  }
  .btn-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
  }

  
  .btn-toggle-nav a {
    display: inline-flex;
    padding: .1875rem 1.5rem;
    /*margin-top: .125rem;*/
    margin-left: 1.25rem;
    text-decoration: none;
    color: var(--submenu-item-color);
  }
  .btn-toggle-nav a:hover,
  .btn-toggle-nav a:focus {
    background-color: var(--focus-bg-button-color) ;
  }
  
  .scrollarea {
    overflow-y: auto;
  }
  
  .fw-semibold { font-weight: 600; }
  .lh-tight { line-height: 1.25; }
  
  /* NAVBAR */

  .nav li {
    margin: 2px 0px;
  }

  .nav li > * {
    /*padding: 0.5rem 1rem;*/
  }

  .table tr {
    font-size: 12px;
  }
  .footer p {
    font-size: 10px;
  }
  .collapse ul li a{
    width: 100%;
  }
  .collapse ul li a.active {
    background-color: var(--focus-bg-button-color);
    
  }

  /* BREADCRUMBS */

  .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    list-style: none;
    border-radius: 0.25rem;
    width: calc(98% - var(--width-sidebar));
    left: var(--width-sidebar);
    position: relative;
    background-color: var(--primary-color);
    min-width: var(--min-width-blocking-page);
  }

  .breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .breadcrumbs ul li:not(:first-child) {
    margin-left: 20px;
  }
  .breadcrumbs ul li:not(:first-child)::before {
    content: '>';
    position: absolute;
    left: -15px;
    width: 10px;
    height: 10px;
    color: var(--color-breadcumbs-text);
  }

  .breadcrumbs ul li:first-child a:before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    margin-top: 5px;
    background: white;
    background-repeat: no-repeat;
    background-size: contain;
    mask-image: url('../img/menuicon/home-breadcrumbs.svg');
    -moz-mask-image: url('../img/menuicon/home-breadcrumbs.svg');
    -webkit-mask-image: url('../img/menuicon/home-breadcrumbs.svg');
  } 

  .breadcrumbs ul li:first-child a:hover:before {
    background: var(--color-breadcumbs-text);
  }

  .breadcrumbs ul li {
    position: relative;
    display: flex;
    font-size: 18px;
  }
  
  .breadcrumbs ul li {
    color: var(--color-breadcumbs-text);
  }  

  .breadcrumbs ul li a {
    text-decoration: none;
    color: var(--color-breadcumbs-text);
  }

  .breadcrumbs ul li a:hover {
    color: var(--color-breadcumbs-text);
  }
  
  /* DIALOGS */
  
.izimodal-custom-icon-close
{
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 1em;
 
 
    border: none;
    background: white;
    width: 30px;
    font-size: 14px;
    height: 30px;
}

  /* FORMS */

  .form__field input, .form__field select {
      background-color: #f2f2f2;
      border-radius: 4px;
      /*
      border: none;
      height: 50px;
      padding: 10px;
      line-height: 1;*/
      margin-top: 0;
      width: 100%;
      color: #6a656b;
      -webkit-transition: all 0.2s ease-in 0s;
      transition: all 0.2s ease-in 0s;
  }

  .form__field input:focus-visible , .form__field select:focus-visible {
    outline-color: var(--primary-color);
  }

  .form__field input[type=text], .form__field input[type=email], .form__field input[type=tel] {
    /*height: 50px;
    padding: 10px 20px;*/
  }

  .form__field label, .form-check label {
    font-size: 11px;
    text-transform: uppercase;
    padding-left: 3px;
    color: var(--primary-color);
    -webkit-transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .form__field textarea {
    background-color: #f2f2f2;
    border-radius: 4px;
    /*border: none;*/
    padding: 10px 20px;
    line-height: 1.3em;
    min-height: 80px;
    margin-top: 0;
    width: 100%;
    color: #6a656b;
    -webkit-transition: all 0.2s ease-in 0s;
    transition: all 0.2s ease-in 0s;
}
.form__field .error {
  font-size: 10px;
  display: block;
  color: var(--error-color);
}

.form__field.disabled label {
    color: grey;
    opacity: 0.5;
}

.form__field.disabled input {
    background-color: #f0f0f0;
    color: grey;
    border: 1px solid #ccc;
    pointer-events: none;
    opacity: 0.5;
}
  
@media only screen and (max-width: 1024px) {

  body {
    overflow-x: hidden;

  }

  p {
    font-size: 14px;
  }
  .sidebar {
    width: 100vw;
    position: relative;

  }
  main {
    flex-direction: column;
    overflow-x: hidden;
  }
  .body-page {
    height: calc(100vh - 245px);
  }

  #sidebar {
    transition: all 0.2s ease-out;
    position: fixed;
    top: 0;
    height: 40px;
    background-color: var(--sidebar-background-color);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #sidebar .container_sidebar {
    
    overflow: scroll;
    position: fixed;
    top: 0;
    left: -100vw;
    z-index: 2;
    transition: 0.5s all ease-in-out;
    width: 300px;
    background-color: var(--sidebar-background-color);
  }

  #sidebar.active .container_sidebar {
    left: 0;
  }

  .navbar, .body-page, .breadcrumbs {
    left: 0;
    width: auto;
  }
  .navbar {
    min-width: auto;
    position: fixed;
    top: 25px;
    width: 100vw !important;
    /*height: 145px;*/
    overflow-y: hidden;
  }
  .main {
    position: fixed;
    top: 110px
  }
  
  .main.custom-margin-top-1 {
    top: 125px
  }
  
  .main.custom-margin-top-2 {
    top: 145px
  }  
    
  .main.custom-margin-top-3 {
    top: 165px
  }  

  .main.custom-margin-top-4 {
    top: 185px
  }  

  .main.custom-margin-top-5 {
    top: 190px
  }  

  .body-page {
    min-width: auto;
  }
  
  .breadcrumbs {
    min-width: auto;
  }

  #reduce-menu {
    display: none;
  }

  #hamburger {
    display: flex;
    align-items: center;
  }
  #close-menu {
    display: none;
  }

  #hamburger.active ~ #close-menu {
    display: flex;
    align-items: center;
  }
  #hamburger.active {
    display: none;
  }
  .overlay-blur {
    width: 100vw;
    height: 100vh;
    z-index: -1;
    backdrop-filter: blur(0px);
    position: fixed;
    pointer-events: none;
    top: 0;
    left: 0;
    transition: all 0.3s ease-out;
  }
  
  #hamburger.active ~ .overlay-blur {
    z-index: 1;
    backdrop-filter: blur(3px);
    transition: all 0.2s ease-out;
  }
  #hamburger:before {
    transition: all 0.2s ease-out;
    cursor: pointer;
    position: absolute;
    transition: all 0.5s ease-out;
    left: 5px;
    content: '';
    background: var(--fill-color-darkmode-icon);
    background-repeat: no-repeat;
    background-size: contain;
    mask-image: url('../img/menuicon/hamburger.svg');
    -webkit-mask-image: url('../img/menuicon/hamburger.svg');
    width: 30px;
    height: 30px;
    fill: var(--assistance-item-color);
  }
  #close-menu:before {
    transition: all 0.2s ease-out;
    cursor: pointer;
    position: absolute;
    top: 5px;
    left: 5px;
    content: '';
    background: var(--fill-color-darkmode-icon);
    background-repeat: no-repeat;
    background-size: contain;
    mask-image: url('../img/menuicon/close.svg');
    -webkit-mask-image: url('../img/menuicon/close.svg');
    width: 30px;
    height: 30px;
    z-index: 99;
    fill: var(--assistance-item-color);
  }
  
}

@media screen and (min-width: 1024px) and (max-width: 1224px) {
  
  .assistance-info .text-customer-assistance, .assistance-info .text-mail-assistance {
    display: none !important;
  }
  .assistance-info .icon-assistance-reduced, .assistance-info .icon-mail-reduced{
    display: flex;
  }
}

@media screen and (min-width: 868px) and (max-width: 1024px) {
  .assistance-info .text-customer-assistance, .assistance-info .text-mail-assistance {
    display: inline-flex !important;
  }
  .assistance-info .icon-assistance-reduced, .assistance-info .icon-mail-reduced{
    display: none;
  }
}
@media screen and (max-width: 867px) {
  .assistance-info .text-customer-assistance, .assistance-info .text-mail-assistance {
    display: none !important;
  }
  .assistance-info .icon-assistance-reduced, .assistance-info .icon-mail-reduced{
    display: flex;
  }
}