:root {
  /* Colors */
  --color-primary: #066858;
  --color-background: rgb(255, 255, 255);
  --color-text: rgb(33, 37, 41);
  --contrast-foreground: #fff;
  /* Body */
  --body-background: #fff;
  --body-foreground: var(--color-text);
  --body-size: 18px;
  --body-weight: 400;
  --body-font: "Titillium Web";
  /* Header */
  --header-background: none;
  --header-menu-background: var(--color-primary);
  --header-menu-foreground: var(--contrast-foreground);
  --header-menu-hover-foreground: var(--contrast-foreground);
  --header-menu-hover-background: none;
  --header-menu-font-size: 1em;
  --header-menu-weight: 600;
  --header-top-background: var(--color-primary);
  /* Breadcrumbs */
  --breadcrumbs-separator: "/";
  --breadcrumbs-separator-color: var(--color-text);
  --breadcrumbs-active-foreground: #0a58ca;
  --breadcrumbs-link-foreground: var(--color-text);
  --breadcrumbs-others-foreground: var(--color-text);
  --breadcrumbs-hover-link-foreground: inherit;
  --breadcrumbs-link-hover-foreground: inherit;
  /* Sidebar */
  --sidebar-title-background:#F2F2F2;
  --sidebar-title-foreground: var(--color-text);
  --sidebar-list-foreground: #388ece;
  --sidebar-list-background: #F2F2F2;
  --sidebar-list-weight: 600;
  --sidebar-list-hover-foreground: #388ece;
  --sidebar-list-hover-background: #fff;
  --sidebar-border: none;

  /* Link */
  --link-foreground: #0a58ca;
  --link-hover-foreground: rgb(10, 88, 202);
  --link-size: inherit;
  /* Button */
  --button-font-size: 14px;
  --button-font-weight: 600;
  --button-text-transform: capitalize;
  --button-fill: #fff;
  --button-foreground: #0a58ca;
  --button-background: transparent;
  --button-border-style: 2px solid #0d6efd;
  --button-border-color: #0a58ca;
  --button-border-radius: 4px;
  --button-hover-background: none;
  /* Footer */
  --footer-foreground: #fff;
  --footer-background: #505359;
  --footer-weight: 400;
  --footer-link-foreground: #fff;
  --footer-link-hover-foreground: #fff;
  /* H2 */
  --h2-background: transparent;
  --h2-foreground: var(--color-text);
  --h2-weight: 700;
  --h2-size: 2rem;
  /* H3 */
  --h3-background: transparent;
  --h3-foreground: var(--color-text);
  --h3-weight: 600;
  --h3-size: 1.5rem;
  /* Hamburger */
  --hamburger-foreground: #fff;
  --hamburger-background: var(--color-primary);
  --logo-text: "";
  --logo-text-color: #fff;
  --logo-text-size: 1.8em;
  --logo-text-weight: 600;
}

body {
  font-family: var(--body-font) !important;
  font-size: var(--body-size);
  font-weight: var(--body-weight) !important;
  background: var(--body-background);
  color: var(--color-text);
}


/* typography */
h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight) !important;
  color: var(--h2-foreground);
  padding: 10px 0 10px 15px;
}

h3 {
  font-size: var(--h3-size);
  background-color: var(--h3-background);
  color: var(--h3-foreground);
  padding: 10px 0 10px 15px;
  font-weight: var(--h3-weight) !important;
}

/*
h4 {
    font-size: 1.75rem
}

h5 {
    font-size: 1.5rem
}

h6 {
    font-size: 1.25rem;
}
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0.5em 0;
}

p {
  line-height: 150%;
}

ul,
ol {
  margin: 0;
  padding: 0 0 0 1em;
}

dt {
  margin: 0;
  padding: 0;
  font-weight: bold;
}

dd {
  margin: 0;
  padding: 0;
}

pre {
  white-space: pre-wrap;
}

/* inputs */
select,
textarea,
input[type=text],
input[type=password],
textarea {
  border: 1px solid #999999;
  padding: 0.4em 1.2em;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: inherit;
  font-size: inherit;
  margin: 0;
  line-height: normal !important;
}

.button {
  font-size: var(--button-font-size) !important;
  font-weight: var(--button-font-weight);
  color: var(--button-foreground) !important;
  text-transform: var(--button-text-transform) !important;
  background-color: var(--button-background);
  border: var(--button-border-style);
  border-radius: var(--button-border-radius);
  padding: 0.5rem 1rem 0.5rem 1rem;
}

.button:active {
  background-image: none;
  outline: 0;
}

.button:hover {
  cursor: pointer;
  background-color: none;
}

.container {
  background: var(--body-background);
}

/* =LAYOUT */
#ext-container {
  max-width: none;
  width: 100%;
}

/* FOOTER */
#footer-main {
  font-weight: var(--footer-weight);
  font-size: 0.9em;
  background-color: var(--footer-background);
  color: var(--footer-foreground);
  text-align: center;
  padding: 30px;
}

#footer-main a {
  font-weight: var(--footer-weight);
  color: var(--footer-link-foreground);
  text-decoration: none;
}

#footer-main a:hover {
  color: var(--footer-link-hover-foreground);
  text-decoration: underline;
}

/* =LINKS */
a {
  color: var(--link-foreground);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-foreground);
  text-decoration: underline;
  transition: color .15s;
}

/* HEADER */
#ext-container header {
  margin-bottom: 1em;
}

#htmlprebanner {}

/* =HEADER-MENU */
#header {
  margin: 0px;
  border: 0px;
  height: auto !important;
  min-height: 79px;
  min-width: 1000px !important;
  position: relative;
  background-color: var(--header-background);
}

#header-top {
  background-color: var(--header-top-background) !important;
  height: 1.88em;
  width: 100%;
}

#menu {
  background: var(--header-menu-background);
  font-weight: var(--header-menu-weight) !important;
  position: relative;
  text-align: left;
  padding: 0em;
  overflow: hidden;
  line-height: normal !important;
  border-top: none;
}

.submenu * {
  position: relative;
}

/* .submenu *:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background-color: red;
} */

.sub-menu li {
  position: relative;
}

.sub-menu li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 5px;
  width: 0;
  background-color: #ace945;
  transition: width 0.3s ease-in-out;
}

.sub-menu li:hover::after {
  width: 100%;
}

.sub-menu li:hover {
  transition: width 0.3s ease-in-out;
}

.submenu *:hover {
  transition: color .2s;
  color: var(--header-menu-hover-foreground);
  background-color: var(--header-menu-hover-background);
  box-sizing: border-box;
}

.sub-menu {
  padding: 4px !important;
}

.submenu a {
  color: var(--header-menu-foreground);
  padding-right: .9em;
  padding-left: .9em;
  text-transform: capitalize;
  font-weight: 400;
}


#style-sub-menu {
  z-index: 10;
  position: relative;
}

#style-sub-menu input {
  z-index: 10;
  position: relative;
}

#style-sub-menu li a {
  text-decoration: none;
  display: inline-block;
  font-size: var(--header-menu-font-size);
  height: 100%;
}

#style-sub-menu li a.font-very-big {
  font-size: 1.3em;
}

#style-sub-menu li a.font-big {
  font-size: 1.1em;
}

#style-sub-menu li a.font-normal {
  font-size: .9em;
}

.submenu .font-very-big {
  padding-left: .1em !important;
  padding-right: 0em !important;
}

.submenu .font-big,
.submenu .font-normal {
  padding-left: .1em !important;
  padding-right: .1em !important;
}

#date-time {
  text-decoration: none;
}

#menu input,
#menu div#date-time,
#menu ul {
  line-height: 30px !important;
  padding: 0 10px !important;
}

/* =BREADCRUMBS */
#breadcrumbs-wrapper {
}

#breadcrumbs {
  text-align: left;
  /* background: linear-gradient(135deg, #003F73 0%, #003F73 50%, #005CA7 63%, #005CA7 100%); */
  color: transparent;
  font-size: 0.8rem;
  font-weight: 400;
}

/* #breadcrumbs-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  right: -20px;
  height: 171px;
  background-color: #005CA7;
  transform: skew(-17deg);
  z-index: 1;
} */

#breadcrumbs a {
  color: var(--breadcrumbs-link-foreground) !important;

}

#breadcrumbs a:hover {
  color: var(--breadcrumbs-link-hover-foreground);
}

#breadcrumbs span {
  z-index: 10;
  text-align: left;
  color: var(--breadcrumbs-others-foreground);
}

#breadcrumbs .active {
  color: var(--breadcrumbs-active-foreground);
}

#breadcrumbs span:after {
  content: var(--breadcrumbs-separator);
  color: var(--breadcrumbs-separator-color);
  padding-left: 1em;
}

#breadcrumbs .active:after {
  display: none;
}

#breadcrumbs .youarehere {
  display: none;
}

.list-summary {
  color: var(--color-text) !important;
}

/* =LATERAL-MENU */

.navigation-box {
  background-color: var(--sidebar-list-background);
}

.navigation-box,
.menu-box {
  display: block;
  background-color: var(--sidebar-list-background);
}

.menu-box h2 {
  background-color: var(--sidebar-title-background);
  color: var(--sidebar-title-foreground) !important;
  text-align: initial;
  text-transform: capitalize !important;
  font-size: 1em !important;
}


.navigation-box ul,
.login-box {
  background-color: var(--sidebar-list-background);
  color: var(--color-text);
}

/* thead th {
  background-color: #c5d9e3;
} */

.navigation-box li {
  display: block;
  text-align: left;
}

.navigation-box li a {
  padding: 0.6em;
  line-height: normal;
  text-decoration: none !important;
}

.navigation-box a:hover {
  text-decoration: underline !important;
}
.navigation-box li:hover {
}

.navigation-box li a,
.login-box a {
  color: var(--sidebar-list-foreground);
  font-weight: var(--sidebar-list-weight);
  display: block;
  text-align: left;
}

.navigation-box li:hover {
  transition: all .2s;
}

/* =OTHERS= */
.hamburger-menu {
  color: var(--hamburger-foreground);
  background: var(--hamburger-background);
}

#header-main {
  display: flex;
}

#logo-main {
  display: flex;
  max-width: 100%;
  height: auto;
}

#breadcrumbs {
  display: flex;
  /* flex-direction: column; */
  flex-wrap: wrap;
  padding-left: 4em;
}

/* #breadcrumbs:before {
  content: 'Piattaforma Acquisti';
  font-weight: normal;
  font-size: 3em;
  color: var(--button-foreground);
  padding-bottom: 1em;
  z-index: 2;
  width: 100%;
} */

#logo-main img {
  cursor: pointer;
  max-height: 150px;
  margin: 5% 5%;
  margin-left: 15%;
}

#logo-main ::after {
  content: var(--logo-text);
  position: absolute;
  color:  var(--logo-text-color);
  font-size:  var(--logo-text-size);
  font-weight:  var(--logo-text-weight);
  top: 50%;
  left: 10%;
}

.login-box .links * {
  display: inline;
}

@media only screen and (max-width: 534px) {

  #breadcrumbs-wrapper:before {
    right: -35px;
    height: 232px;
  }

}