:root {
    --cassiopeia-color-primary: #000;
    --cassiopeia-color-link: #9e905e;
    --link-color: #045091;
    --link-color-rgb: 4, 80, 145;
    --cassiopeia-color-hover: #000;
    --link-hover-color: #9e905e;
    --link-hover-color-rgb: 158, 144, 94;
}
a {font-weight: 700;}

/* Header styling */
.container-header {
    box-shadow: 0 0 32px rgb(0 0 0 / 6%), 0 4px 8px rgb(0 0 0 / 16%);
    background-image: none;
    background-color: #fff;
}
.container-header .container-nav {
    padding-bottom: .5em;
}
.container-header .container-nav nav {
    margin-top: 0px;
}
.container-header .navbar-toggler {
    color: #045091;
    border: 1px solid #045091;
}

@media (min-width: 992px) {
 .container-header .container-nav nav {
    margin-left: auto;
    margin-right: auto;
 }
}

.metismenu.mod-menu .metismenu-item>a {font-weight: 600; color: #000;}
.metismenu.mod-menu .metismenu-item>a:hover {text-decoration: none;}
.metismenu.mod-menu .metismenu-item:hover {
  border: 2px solid #045091;
  border-radius: 10px;
}

/* Offcanvas menu styling */
@media (max-width: 991.98px) {
    .offcanvas {
        max-width: 80%;
   }
}
/*.offcanvas {
    background-color: var(--cassiopeia-color-primary);
}
.offcanvas.showing, .offcanvas.hiding, .offcanvas.show {
    border: 1px solid #ffa62e;
}
.offcanvas-header .btn-close {
   background-color: #ffa62e;
}
*/

/* Homepage styling */
#mod-custom111 {
  min-height: 100vh; 
  background-position: left center;
  background-size: cover;
}
.frontcenter {
  position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    padding: 20px;
    background: rgba(0,0,0,0.6);
}
.frontcenter button {
  background-color: #045091;
  color: #fff;
  border-radius: 10px;
  padding: 8px 30px;
  font-weight: 700;
  font-size: 1.5em;
}
.frontcenter button:hover {
  background-color: #fff;
  color: #045091;
}
.fronttext {
  font-family: var(--cassiopeia-font-family-headings);
  font-weight: var(--cassiopeia-font-weight-headings,700);
  color: white;
  /*text-transform: uppercase;*/
  margin: 0;
  position: absolute;
  top: 30%;
  left: 50%;
  font-size: 3rem;
  transform: translate(-50%, -50%);
  text-align: center;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  border-radius: 10px;
  padding: 10px 20px;
  background: rgba(0,0,0,0.6);
}
/*.homecard {border-radius: 10px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); width: 100%; margin-left: auto; margin-right: auto; margin-bottom: 20px;}
.homecard img {border-radius: 10px 10px 0 0;}
.btn-home {display: inline-block; position: relative; z-index: 1; padding: .5rem 2rem; border: 1px solid #e18100; border-radius: 100px; background: #ffa62e; text-decoration: none; color: #000000; font-size: 1.3em; font-weight: bold; margin-top: 1em;}
span.home-no {
  background: #ffa62e;
  border-radius: 0.75em;
  color: #000000;
  display: inline-block;
  font-weight: bold;
  line-height: 1.5em;
  margin-right: 5px;
  /* margin-top: 10px;
  text-align: center;
  width: 1.5em; 
  box-shadow: 3px 3px 2px 0px rgba(50, 50, 50, 0.75);
}*/

/* Content styling */
h1 {
  background-color: #034074;
  color: #fff;
  padding: 15px;
  margin: 0 0 20px 0;
  border-radius: 5px;
}
.top-home {margin: 0}
h2 {
  background-color: #034882;
  color: #fff;
  padding: 15px;
  margin: 40px 0 20px 0;
  border-radius: 5px;
}
h3 {
  background-color: #045091;
  color: #fff;
  padding: 15px;
  margin: 40px 0 20px 0;
  border-radius: 5px;
}
h4 {
  background-color: #1d619c;
  color: #fff;
  padding: 15px;
  margin: 40px 0 20px 0;
  border-radius: 5px;
}

/*.photo-credit {
  margin-top: -10px;
  color: #333;
  font-size: 14px;
  font-style: italic;
  text-align: center;
}*/
.gygw {
  background-color: #000;
  padding: 8px;
  border-radius: 8px;
}

/*remove icons from article info*/
span.icon-calendar::before {content: "";}
span.icon-user::before {content: "";}

/*article info in one line*/
dl.article-info {
  display: inline-flex;
  font-size: 0.8em;
  border-bottom: 1px solid grey;
}
dl.article-info a {
  color: black;
}
.author-block {
  padding: 30px 10px;
  font-size: 0.9em;
}
.author-block a {
  color: black;
  text-decoration: none;
}
.author-photo {
  padding-bottom: 20px;
}

/* Right sidebar styling */
/* body.wrapper-fluid .site-grid {
  grid-template-columns: [full-start] minmax(0,1fr) [main-start] minmax(0,0%) minmax(0,30%) minmax(0,30%) minmax(0,40%) [main-end] minmax(0,1fr) [full-end]
}*/
div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 70px;
  z-index: 0;
  border: solid 1px #045091;
  border-radius: 5px;
  padding: 10px;
  background-color: #e5edf4;
}
h3.sticky {
  margin: 0 0 20px 0;
}

/* Bottom styling 
.back-to-top-link {
    background-color: #010f6d;
    border: 2px solid #010f6d;
}
.back-to-top-link:hover {
    color: #010f6d;
    border: 2px solid #010f6d;
}*/

/* Fare calculatore */
.iframe-wrapper {
    position: relative;
    display: inline-block;
}
.cover-element-srt {
    position: absolute;
    top: 0;
    left: 0;
    width: 340px;
    height: 220px;
    background-color: #9e905e;
    z-index: 2;
}
.cover-element-bts {
    position: absolute;
    top: 0;
    left: 0;
    width: 340px;
    height: 50px;
    background-color: #9e905e;
    z-index: 2;
}
.cover-element-mrt {
    position: absolute;
    top: 0;
    left: 0;
    width: 340px;
    height: 70px;
    background-color: #9e905e;
    z-index: 2;
}