/*
Theme Name: Twenty Sixteen child
Theme URI: https://wordpress.org/themes/twentysixteen/
Author: the WordPress team
Author URI: https://wordpress.org/
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentysixteen
*/
body:not(.custom-background-image).admin-bar::before,
body:not(.custom-background-image)::after {
	top: 0px;
	height:0;
}
body:not(.custom-background-image)::before, body:not(.custom-background-image)::after {
       height: 0px!important;	
}
.page-template-wide #secondary{
	display:none;
}
.brd, #brd{border:1px solid black}
.more{
	text-align:center;
	color:white;
	background:black;
	max-width:150px;
	margin-top:7px
}
.swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
	bottom: -20px;}
.fixed-top {
    position: fixed;
    top: 0;
    z-index: 1030;
}
.site-branding{
  margin-top:20px;
  width: 110px;
  float: left;
}
.site-header {
    padding: 0.2em 4.5455%;
}
.custom-logo{width:90px;}
.modal {
        display: none;
        position: relative;
        width: 600px;
        min-height: 300px;
        padding: 20px 15px;
        background: #EEEEEE;
        color: #000000;
      text-align: center;
  }
.modal-link {
  width: 150px;
  height: 40px;
  margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  border: none;
  border-radius: 5px;
  background: #00bfff;
  color: white;
  text-transform: uppercase;
  
}
.flex{ display:flex}
.nuovipost{flex-basis:20%}
@media only screen and (min-width: 768px) {
  .hide {
    display: none;
  }
  .show {
    display: block!important;
  }
  .modal-wrapper {
    z-index: 999;
    position: absolute;
    left: calc((100vw - 600px)/2); 
  }
  .close-modal {
    position: absolute;
    top: 20px;
    right: 15px;
    cursor: pointer;
  }
  h1 {
    font-size: 56px;
    margin: 35px 0;
  }
  .entry-content  p {    font-size: 16px;    }
}

@media only screen and (min-width: 1030px) {}
@media screen and (max-width: 768px) {
.entry-content {    margin-right: 7.6923%!important;}
}
.ngg-album-compact h4 {/* spostato in opzioni galleria ngg*/
    font-size: 13px;
    font-weight: 500;}
.entry-content a{box-shadow:none}
.home ul {list-style:none}
.entry-content h1, .entry-content h2, 
.entry-content h3, .entry-content h4, .entry-content h5, 
.entry-content h6, .entry-summary h1, .entry-summary h2, 
.entry-summary h3, .entry-summary h4, .entry-summary h5, 
.entry-summary h6, .comment-content h1, .comment-content h2, 
.comment-content h3, .comment-content h4, .comment-content h5, .comment-content h6, 
.textwidget h1, .textwidget h2, .textwidget h3, .textwidget h4, .textwidget h5, 
.textwidget h6 {font-weight: normal; font-family:tahoma }
ul.display-posts-listing {list-style:none;}
.home li.listing-item {display:block;width:100%;padding-bottom:0px;float:none}
li.listing-item {max-width:48%;margin-left:1%;float:left;padding-bottom:20px;}
h1.entry-title {display:none!important}
@media screen and (max-width: 767px) 
{
 .box50x {clear:both;width:98%;padding-right:1%;padding-left:1%;}
}
@media screen and (min-width: 768px) {
.box50x {float:left;width:48%;padding-right:1%;}
.site {margin:0px}

 body { font-size: .8rem;font-family:tahoma, sans serif}

}

@media screen and (min-width: 48.9375em) {
.body:not(.custom-background-image).admin-bar:before
 {   top: 0px;}
}
@media screen and (min-width:767px) {
  .boxhome {
    float:left;width:22%;height:400px;margin-right:3%;text-align:justify;}
    .boxhomelast {
      float:left;width:24%;height:400px;margin-right:0;text-align:justify;}
    }



#sidebar-2 {
    float: left;
    padding: 5% 0 3%;
    margin-right: 30px;
    width: 138px;
}
.sidebar-none #sidebar-2 {
    display: none;
}
@media screen and (max-width: 980px) {
    #sidebar-2 {
        margin-right: 3%;
        max-width: 14%;
    }
    .sidebar1 #content {
        max-width: 54% !important;
    }
}



@media screen and (max-width: 760px) {

    #sidebar-2 {
        margin: 0;
        width: 100%;
        max-width: 100%;
        float: none;
        clear: both;

    }

    .sidebar1 #content {

        max-width: 100% !important;

    }

}

.huge-it-share-buttons h3 {display:none!important}

.home .content-area {width: 100%;}
mark, ins { background: #ffffff!important;} /* sfondo adsense */
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }

