/*
	Theme Name: fUnique Child
	Theme URI: http://www.velhum.com
	Description: Responsible fUnique.
	Version: 1.0
	Author: Paulo Ellery
	Author URI: http://www.velhum.com
    Template: fUnique2
*/

.search-results .entry {
	margin-bottom: 30px;
}

/* TABLETS e SMARTPHONES */
@media screen and (max-width: 768px) {
	body {
		background-image: none;
	}

	#header {
		background: #000;
		height: auto;
		position: fixed;
		top: 0;
		z-index: 1;
		width: 100%;
	}

	#logo {
		height: auto;
		width: 100%;
	}

	#footer {
		width: 100%;
	}

	#footer a img {
		width: 100%;
		height: auto;
	}	

}

/* SMARTPHONES */
@media screen and (max-width: 414px) {

	#blogname {
		font-size: 1rem;
		height: auto;
		padding: 12px 10px;
	}

	h1#blogname a {
		display: block;
		font-size: 1.5rem;
	}
	
	h1#blogname a img {
		width: 100%;
		height: auto;
	}

	.description {
		display: none;
	}

	div#pages {
		display: none;
	}

	#wrap {
		width: 90%;
		margin-top: 110px;
		padding: 0;
		background-image: none;
	}

	.entry {
		background: #FFF;
		box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.39);
		padding: 10px;
		margin-bottom: 10px;
		width: 93%;
	}

	.entrybody a img,
	.search-results a img {
		width: 100%;
		height: auto;
	}

	#content {
		width: 100%;
		float: none;
		display: block;
		margin-left: 0;
		margin-top: 0;
	}

	#sidebar2 {
		width: 100%;
		float: none;
		line-height: 2.5em;
	}

	#sidebar {
		position: fixed;
		top: 105px;
		left: 2px;
		float: none;
		background-color: #FFF;
		padding: 10px;
		box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.39);
		width: calc(100% - 24px);
		margin: 0;
		display: none;
		line-height: 2.5em;
		height: 350px;
		overflow: auto;
	}

	#sidebar2 > ul {
		margin: 10px 0 10px;
		padding: 10px;
		background: #FFF;
		box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.39);
		width: 93%
	}

	#sidebar2 ul ul a img {
		width: 100%;
		height: auto;
	}

	.ico-menu {
		position: absolute;
		z-index: 1;
		background: url(images/mobile_ico-menu.png) no-repeat;
		background-size: 21px 14px;
		color: #FFF;
		padding: 0;
		display: block;
		cursor: pointer;
		top: 17px;
		right: 10px;
		width: 21px;
		height: 14px;
	}

	.hide-xs {
		display: none;
	}

	.show-xs {
		display: block;
	}
}

/* TABLETS */
@media screen and (max-width: 768px) and (min-width: 415px) {

	h1#blogname {
		height: auto;
		padding-bottom: 10px;
	}

	h1#blogname a {
		font-size: 4.5vw;
	}

	h1#blogname a img {
		height: auto;
		width: 45%;
	}

	.description {
		text-align: center;
		padding-right: 0;
	}

	div#pages {
		height: auto;
		width: 100%;
		background-color: #c8e182;
	}

	div#pages ul {
		white-space: normal;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}

	div#pages ul li {
		float: none;
		width: auto;
	}

	#wrap {
		display: grid;
		grid-template-columns: 520px auto;
		grid-template-rows: auto auto auto;
		grid-column-gap: 20px;
  		grid-row-gap: 10px;

		width: 97%;
		margin-top: 120px;
		padding: 0;
		background-image: none;
		background-color: #FFF;
		box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.39);
	}

	#content {
		grid-column-start: 1;
		grid-column-end: 1;
		grid-row-start: 1;
		grid-row-end: span 2;
	}

	#footer {
		grid-column-start: 1;
		grid-column-end: span 2;
		grid-row-start: 3;
		grid-row-end: 3;
	}

	#sidebar, #sidebar2 {
		margin: 0;
		width: 180px;
	}

	#sidebar {
		grid-column-start: 2;
		grid-row: 1 / 1; 
	}

	#sidebar2 {
		grid-column-start: 2;
		grid-row: 2 / 2; 
	}

}

@media screen and (min-width: 415px) {
	.ico-menu {
		display: none;
	}

	.show-xs {
		display: none !important;
	}

}