.clearfix {
}
@media screen and (max-width: 700px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}
@media only screen and (max-width: 700px) {
 font-size: 32em;
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    background-color: #333;
  }
  #logo a { 
    color: #fff;
    text-decoration: none;
    float: left;
    font-size: 10px;
    margin-top: 20px;
    font-family:"Ubuntu";
    font-weight: bold;
  }
}

body{
    margin: 0;
    padding: 0;
    width: 100%;
}

h1 {
    font-family:"Arvo";
    font-weight:normal;
    font-size: 2em;
    text-align: center;
    color: #fff;
    margin: 0;
    padding: 0;
    position: relative;

}
h2 {
    font-family:"Arvo";
    font-weight: normal;
    font-size: 1.5em;
    text-align: center;
    color: #fff;
    margin: 0;
    padding: 0;
    position: relative;
}
h3 {
    font-family: Oswald;
    font-weight: normal;
    font-size: 1em;
    text-align: center;
    margin: 5px 0;
    padding: 0;
    z-index: 1;
    position: relative;
}

.center { margin: 0 auto; }

.content{ margin: 0 auto; width: 100%; }

.clear { clear: both; }

#header {
    width: 100%;
    background: url('../img/header-bg-darker.png');
    height: 80px;
    position: fixed;
    margin-top: 30px;
    /*border-radius:25px; */
}

.topnav {
  overflow: hidden;
  float: right;
  margin-top: 15px;
  /*background-color: #333;*/
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}


/* Vecchio nav  menu*/
#nav { 
    width: 410px;
    float: right;
    margin-top: 20px;
}

#logo a { 
    color: #fff;
    text-decoration: none;
    float: left;
    font-size: 2vw;
    margin-top: 20px;
    font-family:"Ubuntu";
    font-weight: bold;
}

#nav ul{
    list-style: none;
    display: block;
    margin: 0 auto;
    list-style: none;
}

#nav li{
    margin-top: 9px;
    float: left;
    padding-left: 21px;
}

#nav li a { 
    color: #fff;
    opacity:0.6;
    font-size: 16px;
    text-decoration: none;
    font-family: 'Ubuntu'; 
}

#nav li a.active {
    color: #fff;
    opacity:1;
    border-bottom: 2px solid #fff; 
}
#nav li a:hover { color: #fff; opacity:1; }
/* Fine vecchio nav menu*/

/* Notizie importate dal blog. quotes e' lo sfondo fume' in index.php prima dell'import*/
.quotes {
    padding-top: 50px;
    padding-bottom: 50px;
    font-family: "Ubuntu";
    font-weight: normal;
    font-size: 30px;
    text-align: left;
    margin: 20px auto;
    background: url('../img/header-bg.png');
    border-radius: 25px;
}

.titnew {
    padding: 8px 8px 8px 8px;
    background: url('../img/header-bg.png');
    font-family: "Ubuntu";
    font-weight: normal;
    font-size: 30px;
    text-align: left;
    #margin: 50px auto;
    #display: table-row;
    width: 100%;
    border-radius: 25px 25px 0 0;

}

.notizia {
    padding: 11px 8px 8px 8px;
    font-family: "Ubuntu";
    font-weight: normal;
    color: black;
    background: url('../img/newswhite-bg.png');
    font-size: 16px;
    text-align: left;
    #margin: 50px auto;
    #padding-left: 50px;
    #padding-right: 20px;
    #padding-top: 5px;
    #padding-bottom: 10px;
    #display: table-row;
    width: 100%;
    border-radius: 0 0 25px 25px;
}

.datarticolo {
    font-size: 0.75em;
    font-style: italic;
}

/* Notizie pinnate in pinned.php*/
.titpinned{
    background: url('../img/header-bg.png');
    background-color: rgba(0, 0, 0, 0.4);
    font-family: "Ubuntu";
    font-weight: normal;
    font-size: 30px;
    text-align: center;
    padding-top:1px;
    padding-bottom:1px;
    display: block;
    width: 100%;
    border-radius: 25px 25px 0 0;
}

.notiziapinned {
    font-family: "Ubuntu";
    font-weight: normal;
    color: black;
    background: url('../img/newswhite-bg.png');
    background-color: #eeeeee;
    font-size: 16px;
    text-align: left;
    display: block;
    width: 100%;
    border-radius: 0 0 25px 25px;
}


.author_name_white {
    font-family:"Ubuntu";
    margin: 0 0 0 0;
    color: #fff;
    font-size: 1.2em;
    padding-top:7px;
}
.author_name_gray {
    font-family:"Ubuntu";
    margin: 0 0 0 0;
    color: #94a4a4;
    font-size: 1.2em;
    padding-top:7px;
}
.author_name_black {
    font-family:"Ubuntu";
    margin: 0 0 0 0;
    color: #000;
    font-size: 1.2em;
    padding-top:7px;

}
.title_black {
    font-family:"Ubuntu";
    margin: 70px 0 0 75px;
    color: #000;
    font-size: 20px;
}
.title_white {
    font-family:"Ubuntu";
    /* margin: 0 0 0 75px;*/
    padding-left: 70px;
    color: #fff;
    font-size: 20px;
}
.mrlumaca {
    font-family:"Ubuntu";
    /* margin: 0 0 0 75px;*/
    padding-left: 70px;
    color: #fff;
    font-size: 20px;
}
.mrlumaca_black {
    font-family:"Ubuntu";
    /*margin: 0 0 0 0;*/
    color: #000;
    font-size: 1.2em;
    padding-left: 70px;

}
/*
 .quotes_container { width: 900px; margin: 0 auto; }
 .centre_container {width: 90%; display: block; margin: 0 auto; padding-top: 5px;}
 .pinned_container {width: 900px; display: block; margin: 0 auto; padding-top: 5px;}
*/
.blog_container {
    width: 85%; 
    margin-left: auto;
    margin-right: auto;
    display: table; 
    border-collapse: separate;
    border-spacing: 1px;
    border-radius: 25px;
 }

#divider {
    background: url('../img/divider.png')no-repeat;
    width: 300px;
    height: 35px;
    margin: 0px auto 27px auto;
}

.centre {
    margin-left: auto;
    margin-right: auto;
    display: block
}

.vid-border{
    margin-left: auto;
    margin-right: auto
    position: relative;
    height: 500px;
    width: 820px;
    /* border: 15px ridge #fff ; */
    border: 15px ridge rgba(255, 0, 0, .5);
    -webkit-background-clip: padding-box; /* for Safari */
    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
    overflow: hidden;
}

/* Impostazioni base per le varie pagine principali del sito*/
#home, #webchat, #AOA, #contatti{ width: 100%; }

/* Pagina HOME */
#home{
    background:url('../img/sfondo1.jpg') 100% 0 no-repeat fixed;
    color: #fff;
    /* height: 600px;*/
    margin: 0 auto;
    padding: 140px 0 260px 0;
    /* background-size: cover;*/
    background-size: 100% 100%;
}

#homeCine{
    background:url('../img/bkg_cine.jpg') 100% 0 no-repeat fixed;
    color: #fff;
    height: 600px;
    margin: 0;
    padding: 200px 0 260px 0;
    background-size: cover;
}

/* Pagina WIKI */
#wiki{
    background-color: #fff;
    color: #333333;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    padding: 200px 0;
}

/* Pagina WEBCHAT */
#webchat{
    background: url(../img/bkg_irc.jpg) 100% 0 no-repeat fixed;
    color: #fff;
    height: 100%;
    margin: 0;
    padding: 120px 0 0 0;
    background-size: cover;
}

/* Pagina LIVE*/
#live{
    background-color: #fff;
    background: url(../img/pellicola.jpg) 100% 0 no-repeat;
    background-size: 100% 100%;
    color: #333333;
    padding: 120px 0 260px 0;
    /*height: 600px;*/
    height: 100%;
    width: 100%;
}

/* Pagina LIVE contenitori video*/
#containervideo {
    margin-left: auto;
    padding: 0px 260px;
    display: block
    width: 80%;
    height:80%
    background-color: #ffcc33;
}
.video-container{position: absolute;  border:5px solid orange;}
#containervideo1 {
    margin-left: auto;
    width: 80%;
    height:80%
    background-color: #ffcc33;
}

#videosin {
    width: 250px;
    float: left;
}

#videobtn {
    width: 150px;
    float: left;
}

.videobtn:hover{    
	background-color: #0099cc;
}

#clear {
    clear: both;
}

/* Pagina CONTATTI*/
#contatti{
    color: #fff;
    background: url(../img/bkg_contatti.jpg) 100% 0 no-repeat fixed;
    /*height: 100%;*/
    margin: 0 auto;
    padding: 140px 0 260px 0;
    /*background-size: cover;*/
    background-size: 100% 100%;
    height: 100%;
    width: 100%;

}

#AOA{
    color: #fff;
    /* height: 600px; */
    margin: 0 auto;
    margin-top: 150;
    padding-top: 140px;
    padding: 140px 0 260px 0;
    background-size: cover;
}

#copyleft { color: #fff; font-family:"Ubuntu"; font-size: 14px; margin-top: 100px; text-align: center; }
#copyleft a { text-decoration: none; color: #fff;

#myimg{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */}

#mya:hover img{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: none ; /* IE6-9 */
    zoom:1; /* needed to trigger "hasLayout" in IE if no width or height is set */
    -webkit-filter: grayscale(0%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    }

#myImage {
    opacity: 0.4;
    filter: alpha(opacity=40); /* msie */
}
