/* Welcome and glad you are using Reverie.
 * This is the main stylesheet loaded by default.
 * Edit the file and have fun.
 * http://themefortress.com/reverie */
meta.foundation-version {
  font-family: "/5.2.3/";
}

meta.foundation-mq-small {
  font-family: "/only screen/";
  width: 0em;
}

meta.foundation-mq-medium {
  font-family: "/only screen and (min-width:40.063em)/";
  width: 40.063em;
}

meta.foundation-mq-large {
  font-family: "/only screen and (min-width:64.063em)/";
  width: 64.063em;
}

meta.foundation-mq-xlarge {
  font-family: "/only screen and (min-width:90.063em)/";
  width: 90.063em;
}

meta.foundation-mq-xxlarge {
  font-family: "/only screen and (min-width:120.063em)/";
  width: 120.063em;
}

meta.foundation-data-attribute-namespace {
  font-family: false;
}

html, body {
  height: 100%;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  font-size: 100%;
}

body {
  background: url(../img/bg.png) repeat-x #fff;
  color: #06368b;
  padding: 0;
  margin: 0;
  font-family: 'Trebuchet MS', 'Open Sans', Helvetica, sans-serif;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  position: relative;
  cursor: default;
}

a:hover {
  cursor: pointer;
}

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

img {
  -ms-interpolation-mode: bicubic;
}

#map_canvas img,
#map_canvas embed,
#map_canvas object,
.map_canvas img,
.map_canvas embed,
.map_canvas object {
  max-width: none !important;
}

.left {
  float: left !important;
}

.right {
  float: right !important;
}

.clearfix:before, .clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}

.hide {
  display: none;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: inline-block;
  vertical-align: middle;
}

textarea {
  height: auto;
  min-height: 50px;
}

select {
  width: 100%;
}

ul.pagination {
  display: block;
  min-height: 1.5rem;
  margin-left: -0.3125rem;
}
ul.pagination li {
  height: 1.5rem;
  color: #222222;
  font-size: 0.875rem;
  margin-left: 0.3125rem;
}
ul.pagination li a {
  display: block;
  padding: 0.0625rem 0.625rem 0.0625rem;
  color: #999999;
  border-radius: 3px;
}
ul.pagination li:hover a,
ul.pagination li a:focus {
  background: #e6e6e6;
}
ul.pagination li.unavailable a {
  cursor: default;
  color: #999999;
}
ul.pagination li.unavailable:hover a, ul.pagination li.unavailable a:focus {
  background: transparent;
}
ul.pagination li.current a {
  background: #008cba;
  color: white;
  font-weight: bold;
  cursor: default;
}
ul.pagination li.current a:hover, ul.pagination li.current a:focus {
  background: #008cba;
}
ul.pagination li {
  float: left;
  display: block;
}

/* Pagination centred wrapper */
.pagination-centered {
  text-align: center;
}
.pagination-centered ul.pagination li {
  float: none;
  display: inline-block;
}

/* Start to customize Reverie */
a, a:visited, a:hover, a:visited:hover {
  -moz-transition: all 100ms linear;
  -o-transition: all 100ms linear;
  -webkit-transition: all 100ms linear;
  transition: all 100ms linear;
}

figure {
  margin: 0 auto 1.25rem;
}

figure img {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

img.alignright {
  float: right;
  margin: 0 0 18px 18px;
}

img.alignleft {
  float: left;
  margin: 0 18px 18px 0;
}

img.aligncenter {
  display: block;
  margin: 18px auto;
}

.gallery dt, .gallery dl {
  display: inline-block;
}
.gallery dl {
  margin-left: 0.5625rem;
  margin-right: 0.5625rem;
}

figure.figure {
  margin: 0 auto;
  display: table;
}
figure.figure figcaption {
  font-size: 0.875rem;
  line-height: 1.4;
  font-style: italic;
  padding: 8px 10px;
  color: #999;
  margin-bottom: 1.25rem;
  display: table-caption;
  caption-side: bottom;
}

figure.alignright.figure {
  float: right;
  margin: 0 0 18px 18px;
}

figure.alignleft.figure {
  float: left;
  margin: 0 18px 18px 0;
}

.footer-widget {
  background-color: #fff;
}

body > header.contain-to-grid {
  margin-bottom: 0;
  max-width: 100%;
  padding-bottom: 0;
}

#content {
  background-color: #fff;
/*  border: 1px solid #ddd;*/
}

.index-card {
  border-bottom: 1px solid #ddd;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

span.author,
time {
  font-size: 0.9375rem;
  color: #999;
}
span.author a,
time a {
  color: #999;
  font-weight: bold;
}
span.author a:hover, span.author a:focus,
time a:hover,
time a:focus {
  color: #444444;
}

.entry-author {
  background-color: #fbfbfb;
  border: none;
  padding: 3.125rem 5rem;
  margin: 3.125rem -0.9375rem;
}
.entry-author .avatar {
  margin-right: 2.5rem;
  margin-bottom: 1.5rem;
}
.entry-author h4 a {
  color: #999;
}
.entry-author h4 a:hover, .entry-author h4 a:focus {
  color: #444444;
}
.entry-author p {
  color: #bbb;
}

.post header,
.page header {
  margin-bottom: 1.25rem;
}

.entry-tags {
  color: #999;
  font-size: 0.9375rem;
}
.entry-tags a {
  color: #999;
}
.entry-tags a:hover, .entry-tags a:focus {
  color: #444444;
}

.page-numbers {
  color: #999;
  display: block;
  min-height: 1.5rem;
  margin-left: -0.3125rem;
}
.page-numbers li {
  height: 1.5rem;
  color: #222222;
  font-size: 0.875rem;
  margin-left: 0.3125rem;
}
.page-numbers li a {
  display: block;
  padding: 0.0625rem 0.625rem 0.0625rem;
  color: #999999;
  border-radius: 3px;
}
.page-numbers li:hover a,
.page-numbers li a:focus {
  background: #e6e6e6;
}
.page-numbers li.unavailable a {
  cursor: default;
  color: #999999;
}
.page-numbers li.unavailable:hover a, .page-numbers li.unavailable a:focus {
  background: transparent;
}
.page-numbers li.current a {
  background: #008cba;
  color: white;
  font-weight: bold;
  cursor: default;
}
.page-numbers li.current a:hover, .page-numbers li.current a:focus {
  background: #008cba;
}
.page-numbers li {
  float: left;
  display: block;
}

.pagination-centered ul.page-numbers li {
  float: none;
  display: inline-block;
}

.page-numbers li span.current {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.page-numbers li {
  margin-left: 0.5rem;
}

.page-numbers li span:hover a,
.page-numbers li span a:focus {
  background: #e6e6e6;
}
.page-numbers li span.current {
  background: #008cba;
  padding: 0.0625rem 0.625rem 0.0625rem;
  color: white;
  font-weight: bold;
  cursor: default;
}

.avatar {
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  float: left;
}

ol.commentlist {
  margin-left: 0;
  margin-top: 2em;
}
ol.commentlist p {
  font-size: 0.9375rem;
  line-height: 1.5;
}
ol.commentlist ul.children {
  margin-left: 4rem;
}
ol.commentlist li {
  list-style: none;
  margin-bottom: 2em;
}
ol.commentlist li .comment-author img {
  float: left;
  margin: 0 1em 0 0;
}
ol.commentlist li .author-meta {
  display: inline-block;
}
ol.commentlist li .author-meta cite.fn {
  font-style: normal;
  font-weight: 600;
  margin-right: 0.5rem;
}
ol.commentlist li .author-meta time a {
  color: #ccc;
  font-size: 0.875rem;
  margin-right: 0.5rem;
}
ol.commentlist li .author-meta .comment-edit-link {
  color: #bbb;
  font-size: 0.875rem;
}
ol.commentlist li section.comment {
  margin-left: 4rem;
  margin-bottom: 2rem;
}
ol.commentlist li section.comment a.comment-reply-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #bbb;
}
ol.commentlist li section.comment a.comment-reply-link:hover, ol.commentlist li section.comment a.comment-reply-link:focus {
  color: #444444;
}

#sidebar {
  margin-top: 1.25rem;
}

#sidebar .panel, .footer-widget .panel {
  border: none;
  background-color: #eee;
  padding: 1.5rem 1.875rem;
}
#sidebar .panel a, .footer-widget .panel a {
  color: #999;
  font-size: 0.9375rem;
}
#sidebar .panel a:hover, #sidebar .panel a:focus, .footer-widget .panel a:hover, .footer-widget .panel a:focus {
  color: #444444;
}
#sidebar ul, .footer-widget ul {
  list-style-type: none;
  margin-left: 0;
}
#sidebar .widget h4, .footer-widget .widget h4 {
  text-transform: uppercase;
  font-size: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #999;
  color: #888;
  font-weight: 600;
}

footer.full-width {
  background-color: #fff;
  border-top: 0px solid #ccc;
  padding-top: 1rem;
}
footer.full-width p {
  font-size: 0.875rem;
}
footer.full-width a {
  color: #666;
  font-size: 0.9375rem;
}
footer.full-width a:hover, footer.full-width a:focus {
  color: #444444;
}
footer.full-width .love-reverie {
  border-top: 1px solid #ccc;
  padding-top: 1.5rem;
}

.admin-bar > .fixed {
  margin-top: 2rem;
}

.f-topbar-fixed > .container {
  margin-top: 2rem;
}

@media only screen {
  .entry-author .avatar {
    margin-bottom: 1.25rem;
  }
}
@media only screen and (min-width: 40.063em) {
  #content {
    padding: 0 2.125rem;
  }

  .entry-author {
    margin: 2.125rem -2.125rem;
  }
}
@media only screen and (min-width: 64.063em) {
  #sidebar {
    padding-left: 1.875rem;
    padding-right: 0;
    margin-top: 0;
  }

  .footer-widget {
/*    margin-top: 3rem;
    padding-top: 2rem;*/
  }
}

/* 
 == MODIFICHE STANDARD A REVERIE ==
*/

.contain-to-grid { background: transparent;}
@media only screen and (min-width: 40.063em){
.top-bar-section .dropdown li:not(.has-form) a:not(.button) {color: #666; background: #fff; border-bottom: 1px solid #06368b; opacity: .9;}
.top-bar-section .dropdown li:not(.has-form):hover > a:not(.button) {color: #666;background: #f4f6f8;}
.top-bar-section ul li:hover:not(.has-form) > a {background: #06368b;color: #fff;}
}

/* menu */
@media only screen and (min-width: 40.063em) {
  .contain-to-grid .top-bar {position: relative; top: -35px;}
	.top-bar-section { /*margin: 0 auto; display:table;*/ white-space:nowrap;left: 206px !important}
	.top-bar-section ul { list-style:none; margin:0; padding:0; display:table-row; white-space:nowrap;}
	.top-bar-section li { display:table-cell; }
	.top-bar-section li:not(.has-form) a:not(.button):hover { color: #fff; background: #06368b;}
	.main-menu { background: #fff; border-top: 1px solid #aabac2; border-bottom: 1px solid #aabac2; border-style: double; border-width: 4px 0  1px 0; border-color: #aabac2;}
	.top-bar-section > ul > .divider, .top-bar-section > ul > [role="separator"] {border-right: solid 0px #aabac2;}
	.top-bar { background: transparent;}
	.top-bar-section ul li > a {/* text-transform: uppercase;*/ color: #06368b; font-size: 16px; font-family: ‘Trebuchet MS’, Helvetica, sans-serif; font-weight: bold;}
	.top-bar-section li.active:not(.has-form) a:not(.button) { color: #fff; background: #06368b;}
	.top-bar-section li:not(.has-form) a:not(.button), .top-bar-section ul li { background: transparent;}
  .top-bar-section li:not(.has-form) .dropdown a:not(.button){ color: #fff; background: #06368b;}
  .top-bar-section li:not(.has-form) .dropdown a:not(.button):hover, .top-bar-section li:not(.has-form).active.has-dropdown a:not(.button):hover{ color: #fff; background: #030092;}
  
	.top-bar-section li:not(.has-form) a:not(.button) {padding: 0 25px;} 
	.top-bar-section .divider:first-child { display: none;}
	.top-bar-section li.active:not(.has-form) a:not(.button):hover { color: #fff; background: #06368b;}

  .anagrafica, .credits, .anagrafica p {padding: 0 1.125rem; font-weight: bold;}
  .anagrafica a {text-decoration: underline;}
  .credits {text-align: right;}

   .top-bar-section .has-dropdown > a:after {   border-color: #06368b transparent transparent transparent;}
   .top-bar-section .has-dropdown:hover > a:after, .top-bar-section .has-dropdown.active > a:after  {   border-color: #fff transparent transparent transparent;}
}

html {overflow-x: hidden; }

@media only screen and (min-width: 1025px) {    .home .entry-content .large-5:first-child  {margin-left: 8.33333% !important;} }

  .name a {display: none;}

@media only screen and (max-width: 1050px) and (min-width: 642px){ .top-bar-section li:not(.has-form) a:not(.button) {padding: 0 18px;}}
@media only screen and (max-width: 980px) and (min-width: 642px){ .top-bar-section li:not(.has-form) a:not(.button) {padding: 0 8px;}}
@media only screen and (max-width: 800px) and (min-width: 642px){ .top-bar-section ul li > a { font-size: 14px; }}
@media only screen and (max-width: 800px) and (min-width: 642px){ .top-bar-section li:not(.has-form) a:not(.button) { padding: 0 6px;}}
@media only screen and (max-width: 720px) and (min-width: 642px) { .top-bar-section li:not(.has-form) a:not(.button) {padding: 0 4px;}
.top-bar-section ul li > a { font-size: 12px; }}

/* 
 == MODIFICHE AL TEMPLATE ==
*/

h1, h2, h3, h4, h5, h6, .panel h1, .panel h2, .panel h3, .panel h4, .panel h5, .panel h6, .panel p, .panel li, #sidebar .panel a, .footer-widget .panel a, #sidebar .widget h4, .footer-widget .widget h4 {color: #06368b;  font-family: 'Trebuchet MS', 'Open Sans', Helvetica, sans-serif;}

.home .entry-title {display: none;}
.opening {padding-bottom: 2rem;}
.widget_text, #sidebar .panel.widget_nav_menu, .footer-widget .panel {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#9fb2c5+0,ffffff+100 */
background: #9fb2c5; /* Old browsers */
background: -moz-linear-gradient(top,  #9fb2c5 0%, #ffffff 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #9fb2c5 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #9fb2c5 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9fb2c5', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
border: 0; border-radius: 1em;
}
#sidebar .panel.widget_nav_menu {padding-bottom: 100px;}

#sidebar .panel {background: #fff;}
.widget_text h4 {font-weight: bold;}
.textwidget {font-size: 14px; line-height: 1.4em;}

  .top-bar-section .left li .dropdown {
    border: 1px solid #06368b; border-bottom: 0;
  }

@media screen and (max-width: 641px) {
  header .columns {padding: 0!important;}
  .contain-to-grid .top-bar {top: -30px; background: transparent;}
  .testata {position: relative; /*z-index: 10000;*/}
  .top-bar .toggle-topbar.menu-icon a {color: #06368b;}
  .top-bar .title-area {height: 45px;}
  .top-bar.expanded .title-area {background: transparent;}
  .top-bar-section ul li.active > a {color: #fff;background: #06368b;}
  .top-bar-section ul li {background: #fff; color:#06368b;}
  .top-bar-section ul li > a {color:#06368b; font-weight: bold;}
  .top-bar-section .has-dropdown > a:after {   border-color: transparent transparent transparent #06368b;}
  .top-bar-section .divider, .top-bar-section [role="separator"] { border-top: solid 1px #06368b;}

  .top-bar-section .dropdown li.title h5 a {color:#06368b;}
  .top-bar-section ul li:hover:not(.has-form) > a {background: #06368b;}
  .top-bar-section .has-dropdown:hover > a:after { border-color: transparent transparent transparent #fff;}
  .top-bar-section .left li .dropdown {border-left: 0; border-right: 0; border-top: 1px solid #06368b; border-bottom: 1px solid #06368b;}
}

.page time {display: none}
.page header {margin-bottom: 0;}
.entry-content p, ul, ol, dl {font-size: 14px; line-height: 20px;}
.page .entry-content h2 , .page .entry-content h3 {font-size: 18px; font-weight: bold; margin-bottom: 30px;}

.entry-content input[type="submit"] {
  background: rgb(255,197,120);
  background: -moz-linear-gradient(top,  rgba(255,197,120,1) 0%, rgba(237,141,33,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,197,120,1)), color-stop(100%,rgba(237,141,33,1)));
  background: -webkit-linear-gradient(top,  rgba(255,197,120,1) 0%,rgba(237,141,33,1) 100%);
  background: -o-linear-gradient(top,  rgba(255,197,120,1) 0%,rgba(237,141,33,1) 100%);
  background: -ms-linear-gradient(top,  rgba(255,197,120,1) 0%,rgba(237,141,33,1) 100%);
  background: linear-gradient(to bottom,  rgba(255,197,120,1) 0%,rgba(237,141,33,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffc578', endColorstr='#ed8d21',GradientType=0 );
  font-weight: bold;
    border: 1px solid #ec962f;
    padding-top: .5rem;
    padding-right: 1rem;
    padding-bottom: .5625rem;
    padding-left: 1rem;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
    text-shadow: 0 1px 0 #bc6500; color: #fff;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    top: 20px;
}

.entry-content input[type="submit"]:hover {
  opacity: .8;
}

.entry-content input[type="submit"]:disabled {
  background: rgb(255,197,120);
  background: -moz-linear-gradient(top,  rgba(255,197,120,1) 0%, rgba(237,141,33,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,197,120,1)), color-stop(100%,rgba(237,141,33,1)));
  background: -webkit-linear-gradient(top,  rgba(255,197,120,1) 0%,rgba(237,141,33,1) 100%);
  background: -o-linear-gradient(top,  rgba(255,197,120,1) 0%,rgba(237,141,33,1) 100%);
  background: -ms-linear-gradient(top,  rgba(255,197,120,1) 0%,rgba(237,141,33,1) 100%);
  background: linear-gradient(to bottom,  rgba(255,197,120,1) 0%,rgba(237,141,33,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffc578', endColorstr='#ed8d21',GradientType=0 );
  font-weight: bold;
    border: 1px solid #ec962f;
    padding-top: .5rem;
    padding-right: 1rem;
    padding-bottom: .5625rem;
    padding-left: 1rem;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
    text-shadow: 0 1px 0 #bc6500; color: #fff;
  opacity: .5;

}
.eucookielaw-banner {font-family: inherit; border: 0;}
.eucookielaw-banner.light {
    font-size: 14px;
    background-color: rgba(0,0,0,.8);
    color: #fff;
}

.eucookielaw-banner.light .well {
    background-color: transparent;
    color: #fff;
}

.eucookielaw-banner.light a {
    color: #22aac6; font-weight: bold;
}

.eucookielaw-banner.light .well p.banner-agreement-buttons a.btn {
    border: 0;
    text-decoration: none;
    background-color: #22aac6;
    color: #fff; font-weight: bold;
    padding: 10px 20px;
    margin: 0 0.3em;
}

@media screen and (max-width: 560px) {
    body {background: transparent;}
}

.eucookielaw-banner.light .well p.banner-agreement-buttons a.btn:hover {background: #15c2e0;}
.well {margin-bottom: 0;}
.eucookielaw-banner .well p.banner-message {width: 80%; float: left;}


.entry-content a, .entry-content a:visited, .entry-content a:hover, .entry-content a:visited:hover {color: #06368b; font-weight: bold;text-decoration: underline;}
.entry-content a:hover, .entry-content a:visited:hover {color: #007095;}
footer.full-width a {color: #06368b; font-weight: bold;text-decoration: underline;}

button, .button, a.button, .entry-content a.button {background-color: #06368b; color: #fff; text-decoration: none;}
 .entry-content a.button:hover {color: #fff; background-color: #007095; cursor: pointer;}

.wpcf7-text, .wpcf7-textarea {margin-bottom: 0!important;}
span.wpcf7-not-valid-tip {
    padding: 10px;
    background: #eee;
    border: 1px solid #ccc;
    border-top: 0;
}

.search-results h2 {font-size: 24px; font-weight: bold;}

.search-results .index.card h2 a {font-size: 18px; font-weight: bold; color: #06368b;}

div.wpcf7-validation-errors {
    border: 2px solid #f7e700;
    padding: 10px;
    background: rgba(247, 231, 0, 0.13);
}