body {
  margin: 0;
  padding: 0;
  background: #002236 url(images/img01.gif) repeat-x;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #181B20;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  font-weight: normal;
  color: #2483A6;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 2.4em;
}

h3 {
  font-size: 1.6em;
}

p, ul, ol {
  margin-top: 0;
  line-height: 180%;
}

ul, ol {
  padding-left: 20px;
}

a {
  color: #2483A6;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

img.border {
  border: 6px solid #EEE7DF;
}

img.alignleft {
  float: left;
  margin-right: 25px;
}

img.alignright {
  float: right;
  margin-left: 25px;
}

img.aligncenter {
  margin: 0px auto;
}

#wrapper {
  margin: 0 auto;
  padding: 0;
  background: url(images/img03.gif) no-repeat center top;
}

/* Header */

#header-wrapper {
  height: 167px;
  background: url(images/img02.gif) no-repeat center top;
}

#header {
  width: 960px;
  height: 167px;
  margin: 0 auto;
  background-image: url('images/back_top.gif');
}

/* Logo */

#logo {
  width: 980px;
  margin: 0px auto;
  padding: 40px 0px 0px 0px;
  color: #FFFFFF;
}

#logo h1, #logo p {
  display: block;
  margin: 0;
  padding: 0;
}

#logo h1 {
  margin: 0px;
  letter-spacing: -1px;
  text-align: center;
  text-transform: uppercase;
  font-size: 54px;
  font-weight: bold;
  color: #FFFFFF;
}

#logo h1 a {
  color: #FFFFFF;
}

#logo p {
  margin-top: -10px;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Arvo', serif;
  font-size: 20px;
}

#logo a {
  border: none;
  background: none;
  text-decoration: none;
  color: #FFFFFF;
}

/* Search */

#search {
  float: right;
  width: 280px;
  height: 100px;
  padding: 0;
}

#search form {
  height: 41px;
  margin: 0;
  padding: 60px 0 0 30px;
}

#search fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

#search-text {
  width: 195px;
  padding: 6px 10px;
  border: none;
  background: #FFFFFF;
  text-transform: lowercase;
  font: normal 11px Arial, Helvetica, sans-serif;
  color: #7F7F81;
}

#search-submit {
  display: none;
}

/* Menu */

#menu-wrapper {
  background: url(images/img03.gif) no-repeat center top;
  height: 75px;
}

#menu {
  width: 940px;
  height: 40px;
  margin: 0px auto;
  padding: 0px 20px 0px 20px;
}

#menu ul {
  margin: 0;
  padding: 0px 0px 0px 0px;
  list-style: none;
  line-height: normal;
}

#menu li {
  float: left;
}

#menu a {
  display: block;
  float: left;
  height: 38px;
  margin: 0px;
  padding: 0px 30px 0px 30px;
  line-height: 38px;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: #B5B5B5;
  border: none;
}

#menu .current_page_item a {
  color: #ffff00;
}

#menu a:hover {
  text-decoration: none;
  color: #ffff00;
}

/* Page */

#page {
  background: url(images/img05.gif) repeat-y center top;
}

#page-bgtop {
  background: url(images/img04.gif) no-repeat center top;
}

#page-bgbtm {
  overflow: hidden;
  padding: 40px 30px 0px 30px;
  background: url(images/img06.gif) no-repeat center bottom;
}

#page-content {
	width: 920px;
	margin: 0px auto;
}

/* Content */

#content {
  float: left;
  width: 610px;
  padding: 0px 0px 0px 0px;
}

.post {
  clear: both;
  padding-bottom: 10px;
}

.post .title {
  padding-top: 10px;
  letter-spacing: -2px;
}

.post .title a {
  color: #2483A6;
  border: none;
}

.post .meta {
  padding-bottom: 10px;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-style: italic;
}

.post .meta a {
}

.post .entry {
  text-align: justify;
  margin-bottom: 25px;
  padding: 10px 0px 0px 0px;
}

.links {
  display: block;
  width: 96px;
  padding: 2px 0px 2px 0px;
  background: #A53602;
  text-align: center;
  text-transform: uppercase;
  font-size: 10px;
  color: #FFFFFF;
}

/* Sidebar */

#sidebar {
  float: right;
  width: 230px;
  padding: 0px 0px 0px 0px;
}

#sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sidebar li {
  margin: 0;
  padding: 0;
}

#sidebar li ul {
  margin: 0px 15px;
  padding-bottom: 30px;
}

#sidebar li li {
  line-height: 35px;
}

#sidebar li li span {
  display: block;
  margin-top: -20px;
  padding: 0;
  font-size: 11px;
  font-style: italic;
}

#sidebar li li a {
  color: #181B20;
}

#sidebar h2 {
  height: 38px;
  margin-bottom: 20px;
  padding: 12px 0 0 15px;
  border-bottom: 1px dashed #B3B0B0;
  letter-spacing: -1px;
  font-size: 24px;
  color: #2483A6;
}

#sidebar p {
  margin: 0 0px;
  padding: 0px 20px 20px 20px;
  text-align: justify;
}

#sidebar a {
  border: none;
}

#sidebar a:hover {
  text-decoration: underline;
}

/* Calendar */

#calendar {
}

#calendar_wrap {
  padding: 20px;
}

#calendar table {
  width: 100%;
}

#calendar tbody td {
  text-align: center;
}

#calendar #next {
  text-align: right;
}

/* Footer */

#footer {
  width: 960px;
  height: 55px;
  margin: 0px auto 40px auto;
  background: url(images/img07.gif) no-repeat center top;
  font-family: Arial, Helvetica, sans-serif;
}

#footer p {
  margin: 0;
  padding-top: 18px;
  line-height: normal;
  text-align: center;
  color: #576475;
}

#footer a {
  color: #576475;
}


/* Stili per schermi più piccoli */
@media screen and (max-width: 767px) {
  /* Header */
  #header {
    width: 100%;
    background-image: none;
  }

  /* Logo */
  #logo {
    width: 100%;
    padding: 20px 0;
    text-align: center;
  }

  #logo h1 {
    font-size: 32px;
  }

  /* Menu */
#menu {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 100px;
}

#menu ul {
    flex-direction: column;
    background: none;
  }

#menu li {
  flex: 0 0 auto;
  margin-right: 10px;
  margin-bottom: 10px;
}

#menu a {
  padding: 0px 5px 0px 5px;
  height: 32px;
  line-height: 32px;
  font-size: 13px;
}

	h1 {
  margin-top: 10px;
}

	h2 {
  margin-top: 10px;
}

  /* Page Content */
  #page-content {
    width: 100%;
    padding: 0;
  }
  
  #page-content p {
    margin-right: 30px;
  }
  
  .overlapping-paragraph {
    height: auto !important;
    margin-bottom: 120px;
  }

  /* Content */
  #content {
    width: 100%;
    padding: 20px;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .entry {
    overflow: hidden;
  }

  /* Sidebar */
  #sidebar {
    width: 100%;
    padding: 20px;
    clear: both;
    order: 2;
  }
  
  /* Footer */
  #footer {
    width: 100%;
  }
}

@media screen and (max-width: 767px), (max-device-width: 767px) {
  #page-bgtop {
    background: none;
  }
}