html, body {
   height: 100%;
}

body {
        margin-top : 0;
        margin-right : 0;
        margin-bottom : 0;
        margin-left : 0;
        padding: 0px;
        background-image: linear-gradient(grey, white);
        font-family: Arial, Helvetica, sans-serif;
        font-size: 15px;
        color: #000000;
        background-attachment: fixed;
}


h1, h2, h3 {
   margin-top: 0px;
}

h2, h3 {
   color: #990000;
}

h2 {
   font-size: 18px;
}

h3 {
   font-size: 16px;
}

p, ol, ul {
   margin-top: 0px;
}

p {
   line-height: 150%;
}

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

strong {
}

a {
   color: #990000;
}

a:hover {
   text-decoration: none;
}

a img {
   border: none;
}

img {
   padding-bottom: 10px;
}

img.border {
}

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

img.alignright {
   float: right;
}

img.aligncenter {
   margin: 0px auto;
}

hr {
   display: none;
}

/** WRAPPER */

#wrapper {
}

.container {
   width: 980px;
   margin: 0px auto;
}

.clearfix {
   clear: both;
}

/** HEADER */

#header {
   width: 960px;
   height: 350px;
   margin: 0px auto;
   background: url(/images/img02.jpg) no-repeat left top;
}

/** LOGO */

#logo {
   width: 960px;
   height: 40px;
   margin: 0px auto;
   background-color: black;
   color: white;
   vertical-align: middle;
}

#logo h1 a {
   display: block;
   margin: 0px;
   padding: 15px 5px 5px 0px;
   font-size: 25px;
   font-style: italic;
   font-style: oblique;
   color: white;
}

#logo p {
   margin: 0px;
   padding: 0px;
   font-size: 18px;
   color: white;
}

#logo a {
   text-decoration: none;
}

/** MENU */

#menu {
   width: 960px;
   height: 48px;
   margin: 0px auto;
   background: url(/images/img03.jpg) no-repeat left top;
}

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

#menu li {
   float: left;
}

#menu a {
   display: block;
   height: 32px;
   margin: 0px 0px 0px 0px;
   padding: 16px 25px 0px 25px;
   text-decoration: none;
   text-transform: uppercase;
   font-size: 11px;
   font-weight: bold;
   color: #FFFFFF;
}

#menu a:hover {
   background: #797979;
   text-decoration: none;
   color: #FFD600;
}

#menu .first a {
   background: #12B8D1 url(/images/img04.jpg) no-repeat left top;
   color: #FFFFFF;
}

/** PAGE */
#page {
   width: 960px;
   margin: 0px auto;
   padding: 10px 0px 5px 0px;
   background: #FFFFFF;
}

#page h3 {
   font-size: 16px;
}

/** CONTENT */
#content {
   float: left;
   width: 610px;
   padding-right: 30px;
   background: url(/images/img06.jpg) repeat-y right top;
}

/** SIDEBAR */
#sidebar {
   float: right;
   width: 300px;
   margin: 10px ;
   background: #b2b2b2;
}

#sidebar h2 {
   padding: 20px 30px 5px 15px;
   text-transform: uppercase;
   font-size: 18px;
   color: #585858;
}

#sidebar h3 {
        padding: 15px 30px 5px 15px;
        text-transform: uppercase;
        font-size: 16px;
   color: #585858;
}

#sidebar li a {
   display: block;
   color: #000;
   padding: 6px 14px;
   text-decoration: none;
}

#sidebar li a:hover {
   background-color: #555;
   color: white;
   font-weight: bold;
}

#sidebar p {
   margin: 5px 5px 5px 10px;
}

/** FOTODX */
#fotodx {
        float: right;
        width: 300px;
}

#fotodx h2 {
        padding: 20px 5px 5px 15px;
        text-transform: uppercase;
        font-size: 18px;
        color: #585858;
}

#fotodx li ul {
        margin: 5px 5px 5px 15px;
        padding: 5px 5px 5px 15px;
}

#fotodx li li {
        padding: 5px 5px 5px 15px;
}

#fotodx p {
        margin: 5px 5px 5px 10px;
}
#fotodx a {
        padding: 5px 5px 5px 15px;
}

/** POST */
.post {
   margin-bottom: 10px;
   background: url(/images/img05.jpg) repeat-x left bottom;
}

.post .title {
   margin: 0px;

   padding-bottom: 5px;
   padding-left: 15px;
   letter-spacing: -1px;
}

.post .title a {
   border: none;
   text-decoration: none;
   text-transform: uppercase;
   font-size: 22px;
   color: #09395F;
}

.post .meta {
   display: block;
   margin-top: -15px;
   padding: 5px 0px;
   text-align: left;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 11px;
   font-style: italic;
}

.post .meta a {
}

.post .entry {
   text-align: justify;
   padding: 10px 0px 15px 15px;
}

.commento {
   text-align: left;
   padding: 10px 0px 15px 15px;
   font-size: 16px;
   color: #1D5DFF;
}

/** FOOTER */

#footer {
   width: 960px;
   margin: 0px auto;
   background: url(/images/img05.jpg) repeat-x left top;
/*    background: #FFFFFF; */
}

#footer p {
   margin: 0px;
   padding: 20px 0px 20px 0px;
   text-align: center;
   font-size: 13px;
}

#footer a {
   color: #000000;
}

/* Tabella del sito */
table { background-color: white; border-collapse: collapse;}
table, th, td { border: 1px solid black; }
th { font-weight: bold; color: #990000; background-color: #B5DAE3; }
tr,th,td { font-family:"Arial"; font-size:small }

/* Tabella di avviso */
.avviso tr, .avviso th, .avviso td { font-family:"Arial"; font-size:medium }
.avviso td, .avviso th { padding: 4px; }
.avviso th { font-weight: bold; color: #FFFFFF; background-color: #990000; }
.avviso table { background-color: pink; border-collapse: collapse; }
.avviso table, .avviso th, .avviso td { border: 2px solid #990000; }


/* div contenitore filmati youtube */
.youtube {
   padding-bottom: 15px;
   font-size: 11px;
}

figure figcaption {
   font-size: 11px;
}

.classimg {
   display: block;
   margin-left: auto;
   margin-right: auto;
   border: 1px solid #B8B8B8;
   border-radius: 4px;
   padding: 3px;
   margin-top: 8px;
   margin-bottom: 8px;
}

.centraimg {
   display: block;
   margin-left: auto;
   margin-right: auto;
   margin-top: 8px;
   margin-bottom: 8px;
}

.fa-arrow:before {
   content:"\2196";
}
.fa {
   display: inline-block;
   font: serif;
   font-size: inherit;
   text-rendering: auto;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}
#scroll-btn{
   background-color: green;
   opacity: 0.5;
   border: medium none;
   border-radius: 8px;
   bottom: 20px;
   color: white;
   cursor: pointer;
   display: none;
   outline: medium none;
   padding: 10px 15px 7px;
   position: fixed;
   right: 30px;
   z-index: 99;
   font-size: 20px;
}
#scroll-btn:hover{
   background-color: red;
   opacity: 0.8;
}
/* PROGRESS BAR della PAGINA  */
.progress { position: fixed; top: 0; left: 0; height: 5px; background-color: red; transition: all linear 0.1s; min-width: 0.1%; }
.content { width: 100%; height: 100vh; margin-bottom: 5px; display: flex; flex-direction: row; justify-content: center; align-items: center; }
