/*
Theme Name: NichePlus+.V301 Child
Description: This is a child theme for Nicheplus
Template: nicheplus
Version: 1.0
*/

#wrapper-homepage {
	width: 1020px;
}
#page, .container {
	 max-width: 980px;
	 min-width: 240px;
	 overflow: visible;
}
#page {
    width: 100%;
}
#header {
    max-width: 980px;
}
#header h1 {
	margin:20px auto;
}
.second-nav {
	max-width: 980px;
}
.main-c {
	width: 980px;
	max-width: 100%;
}
.title, .title a {
	font-size:2rem;
	line-height:2.5rem;
}
.content-post {
	margin:1em 0 1.5em 0;
}
.post-info {
	font-size:13px;
	margin:10px 0;
}
.single-galery {
	max-width:617px;
	margin-bottom:2em;
}
/*.single-galery img {
	height: 100px;
	margin-left:0;
	margin-right: 5px;
	width: 24%;
}
.single-galery-post {
	width:100%;
}
.single-galery-post img {
	height: 100px;
	margin-left:0;
	margin-right: 5px;
	width: 24%;
}*/
.imageattach-content {
	text-align: left;
  margin-top: 20px;
}
.imagetitleattach-box {
	text-align: center;
    padding: 20px 20px 10px 20px;
    background: #eeeeee;
    border: 1px solid #ff0000;
    margin-bottom: 20px;
}
.image-size-link {
	color: #ff0000;
}
.sep {
	font-weight:bold;
}
.share2-title {
	margin:10px 0;
}
.copyright {
	padding:2px 0 8px 0;
}
.firststep {
	margin-bottom: 10px;
}
.firststep br {
    display: none;
}

/*-----------------------------------------------
/* Responsive
/*---------------------------------------------*/

@media screen and (max-width: 930px) {
  #wrapper-homepage, #main { width: 95%;border-top:0;margin:0 auto; }
  #header h1, #header h2 { margin-left: 1%; }
  #header h1, #header h2 { width: 100%; }
  #header #modricerca { margin-right: 2%; }
  .main-header .container { width: 100%; }
  .foo-widget { width: 48%; }
  #copyright-destra span { display: inline-block; float: left; margin-left: 2%; }
  #copyright-destra .top { margin-right: 2%; }
  #page, .container { float: none; margin: 0px auto; max-width: 100%; overflow: hidden; }
  .article {  }
  .sidebar.destra {  }
  .related-posts li { margin-right: 10px; }
  img, embed { height: auto; max-width: 100%; }
  .adsheader { max-width: 100%; }
  .ad-300 img { max-width: 100%; }
  .ad-468 img { max-width: 100%; }
  .ad-125 li { max-width: 40%; }
  .adsbottommenu {width: 100%; height: 100%; }
  .ad-125 img { background: none repeat scroll 0px 0px #FAFAFA; border: 0px none; padding: 0px; }
  .adsensia-subscribe input[type="text"] { width: 70%; }
  .data_div { display: none; }
  #featured-slider { display: none; }
  .post-info2 { margin-left: 0px; }
  .title2 { margin-left: 0px; }
  .img, video, object, embed {height: auto;}
  .adsheader { max-width: 100%; background-position: center center ! important; margin: 0px auto ! important; text-align: center; }
  #logo { width: 100%; }
  #logo a { background-position: center center ! important; margin: 0px auto ! important; text-align: center; }
  .single-galery{margin-bottom: 20px; text-align: center;}
}

@media screen and (max-width: 860px) {
  .sidebar.destra {  }
  #page, .container { max-width: 100%; }
  .data_div { display: none; }
  #featured-slider { display: none; } 
  .adsfooter { max-width: 100%; background-position: center center ! important; margin: 0px auto ! important; text-align: center; }
  .post-info2 { margin-left: 0px; }
  .title2 { margin-left: 0px; }
  .js #navigation > ul { display: none; }
  .second-nav {  }
  .js #navigation select { background:#EFEFEF; margin:5px; border: 1px solid #dddddd; color: #FFFFFF; display: inline-block ! important; float: none; font-size: 13px; height: 27px; width:350px;max-height: 100%; max-width: 100%; } 
  #navigation { margin: 0px ! important; }
  #nav-icon { display: none; }
  .main-navigation #navigation { border: medium none; text-align: center; }
  #navigation ul { display: inline-block; float: none; }

}

@media screen and (max-width: 820px) {
  .article { padding-left: 0px ! important; }
  .home article header, .archive article header { width: 28.7%; }
  .article { width: 100%; }
  #content_box { padding-left: 0px ! important; padding-right: 0px; }
  #comments { margin-right: 0px; }
  .picnav img { width: 100px; }
  .home_container_post { width: 98%; }
  .sidebar.destra { float: left; width: 100%; }
  .foo-widget { float: left; width: 100%; }
  .adsheader { max-width: 100%; background-position: center center ! important; margin: 0px auto ! important; text-align: center; }
   #logo { width: 100%; }
   #logo a { background-position: center center ! important; margin: 0px auto ! important; text-align: center; }
}

@media screen and (max-width: 720px) {
  .article { padding-left: 0px ! important; }
  .home article header, .archive article header { width: 28.7%; }
  .article { width: 100%; }
  #content_box { padding-left: 0px ! important; padding-right: 0px; }
  #comments { margin-right: 0px; }
  .picnav img { width: 100px; }
  .home_container_post { width: 98%; } 
}

@media screen and (max-width: 600px) {
  #logo { width: 100%; }
  #logo a { background-position: center center ! important; margin: 0px auto ! important; text-align: center; }
  #header #modricerca { clear: both; display: block; float: none; margin: 0px auto; overflow: hidden; }
  .second-nav { width: 100%; }
  .picnav img { width: 90px; }
  .home_container_post { width: 100%; }  
}

@media screen and (max-width: 550px) {	
  .main-navigation { width: 100%; }
  .main-header #s { width: 85%; }
  .sbutton { float: right; }
  read-more { font-size: 16px; }
  .foo-widget { width: 100%; }
  .picnav img { width: 80px; }
  .home_container_post { width: 100%; }
  .ss-no-sidebar {padding: 0px 5px 20px;}
  .single-galery img {
    border-bottom: 4px solid;
    height: auto;
    margin-right: 5px;
    width: 22%;
	}
  .single-galery-post img {      
    border-bottom: 4px solid;
    height: auto;
    margin-right: 5px;
    width: 22%;
	}
  .single-galery-attachment img {      
    border-bottom: 4px solid;
    height: auto;
    margin-right: 5px;
    width: 22%;
	}
}

@media screen and (max-width: 460px) {
  #page { padding-top: 0px; }
  .related-posts { padding-top: 0px; }
  .related-posts li { width: 100%; }
  .picnav img { width: 80px; }
  .home_container_post { width: 100%; }
  .breadcrumbs {font-size: 10px;text-align: center;margin-bottom: 10px;}
  .title, .title a {font-size: 24px;line-height: 26px;}
}

@media screen and (max-width: 415px) {
  #navigation { margin-bottom: 0px; margin-top: 0px; }
  .second-nav { height: 35px; width: 100%; }
  .second-nav-2 { height: 35px; width: 100%; }
  .js #navigation select { margin-right: 0px; width: 90%; background-color:#3F2E21; }
  .picnav img { width: 70px; }
  .home_container_post { width: 100%; }
}

@media screen and (max-width: 400px) {
  #logo { width: 90%; }
  article header { overflow: hidden; }
  .main-header #s { width: 78%; }
  #tabber ul.tabs li a { width: 100%; }
  #commentform textarea { width: 90%; }
  .home_container_post { float: left; }
  .home article header, .archive article header { width: 100%; }
  .picnav img { width: 50px; }
  #header h1 a, #header h2 { width: 100%; }
  .home_container_post { width: 96%; }

}

@media screen and (max-width: 240px) {
  nav fieldset, .js #navigation select { float: left; width: 100%; }
  .main-header #s { width: 70%; }
  .picnav img { width: 40px; }
  @media screen and (max-width: 200px) {
  nav fieldset, .js #navigation select { float: left; width: 100%; }
  #wrapper-homepage, #main { width: 120%; }
  .main-header #s { width: 70%; }
  .picnav img { width: 40px; }
}