@charset "utf-8";

html,
body {
  margin: 0px;
  border: 0px;
}

body {
  background-color: #dddddd;
  font-family: 'Poppins', sans-serif;
  color: #424542;
}

a img {
  display: block;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  color: #FF0000;
  text-decoration: underline;
}

a[href^="mailto:"] {
  color: gray;
}

/* top header */

.outer-header {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 5;
  width: 100%;
}

.inner-header {
  display: flex;
  flex-flow: column;
}

.top-header {
  background-color: #dddddd;
  width: 100%;
  overflow: hidden;
  color: white;
  z-index: 10;
}

.top-header a.sandwich {
  color: white;
  padding: 30px 25px 15px 15px;
  position: absolute;
  right: 0;
  top: 0;
}

.top-header a:hover {
  /*background-color: #080808;*/
  color: white;
}

.top-header #toplinks ul {
  line-height: 50%;
  padding-left: 5px;
  list-style-type: none;
}

.top-header #toplinks ul li {
  line-height: 50%;
}

.top-header #toplinks ul ul {
  line-height: 50%;
  padding-left: 20px;
  list-style-type: none;
}

.top-header #toplinks a {
  color: #424542;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.fa {
  font-size: 28px;
}

.subheader {
  color: #ccc;
  background-color: #222;
  display: table-cell;
  height: 30px;
  vertical-align: bottom;
  width: 100%;
  padding: 5px 0 0 15px;
  font-size: 22px;
  font-weight: normal;
  opacity: 0.7;
}

.subheader a:link {
  color: #ccc;
  text-decoration: none;
}

.subheader a:visited {
  color: #ccc;
  text-decoration: none;
}

.subheader a:hover {
  color: #ccc;
  text-decoration: none;
}

/* page container, content */

.container {
  width: 100%;
  display: flex;
  flex-flow: column;
}

.content {
  text-align: justify;
  position: relative;
  border-width: 1px;
  border-color: 999;
  padding: 5px 5px 10px 5px;
  border-spacing: 0;
}

.footer {
  margin: 10px 0 10px 0;
  font-family: Trebuchet Ms, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-style: normal;
  color: #666;
  text-align: center;
}

.titolo {
  color: #dddddd;
  font-size: 15px;
  padding-top: 10px;
  padding-bottom: 20px;
}

#flashContent {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1099px) {
  .top-header {
    height: auto;
  }

  .top-header .logotop {
    opacity: 1.0;
  }

  .top-header .logotop img {
    width: 300px;
  }


  .top-header a.sandwich {
    display: block;
    -webkit-tap-highlight-color: transparent;
  }

  .top-header #toplinks {
    display: none;
    position: normal;
    font-size: 24px;
  }

  .top-header #toplinks ul ul {
    display: block;
  }

  .container {
    margin-top: 120px;
  }
}

@media screen and (min-width: 1100px) {
  .top-header {
    height: 160px;
  }

  .top-header .logotop img {
    width: 400px;
  }

  .top-header a.sandwich {
    display: none;
  }

  .top-header #toplinks {
    font-size: 14px;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }

  .top-header #toplinks ul ul {
    display: none;
  }

  .container {
    margin-top: 195px;
  }
}

/* Language Switcher Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
  margin-right: 20px;
  margin-top: 15px;
}

.lang-dropbtn {
  background-color: transparent;
  color: #424542;
  padding: 8px 12px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.lang-dropbtn:hover {
  background-color: #e0e0e0;
}

.lang-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 120px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 100;
  border-radius: 4px;
  overflow: hidden;
}

.lang-dropdown-content a {
  color: #424542;
  padding: 12px 16px;
  text-decoration: none !important;
  display: block !important;
  font-size: 14px;
  transition: background-color 0.3s;
}

.lang-dropdown-content a:hover {
  background-color: #f1f1f1;
  color: #FF0000 !important;
}

.lang-dropdown-content a.active {
  font-weight: bold;
  background-color: #eee;
}

.show {
  display: block;
}