/*!
*
* File specifico per sito 
*
* Copyright 2014 SpoonDesign di Cattorini Davide
* Tutti i diritti riservati - All rights reserved
* http://www.spoondesign.it - info@spoondesign.it
*
*/

html {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 100%;
	background: #FFF;
}
body, td, li {
	font: 0.9rem/1.4rem Poppins, Tahoma, Verdana, Arial, Helvetica, sans-serif;
	color: #333333;
}
input, textarea, select, label, button {
	font: 0.9rem/1.4rem Poppins, Tahoma, Verdana, Arial, Helvetica, sans-serif;
}
h1, h2 {
	font-size: 1.3rem;
	line-height: 1.8rem;
	text-align: left;
}
h3, h4 {
	font-size: 1rem;
	line-height: 1.5rem;
}

a {
	color: #646464;
	font-weight: bold;
	background: none !important;
	text-decoration: underline;
}
a:hover, a:focus, a:active {
	color: #646464;
	text-decoration: none;
	background: none !important;
}

@font-face {
	font-family: Poppins;
	src: url("../fonts/poppins_regular.woff");
}
@font-face {
	font-family: Poppins;
	font-weight: bold;
	src: url("../fonts/poppins_bold.woff");
}
@font-face {
	font-family: Poppins;
	font-weight: 600;
	src: url("../fonts/poppins_semibold.woff");
}

/* CONTENITORI */

.sdgrid {
	width: 93%;
	margin: 0 auto;
	clear: both;
}
.sdfull {
	width: 100%;
	clear: both;
}

/* BUTTONS */

.button {
	padding: 1rem;
	border: 2px solid #FFF;
	text-transform: uppercase;
	color: #FFF;
	text-decoration: none;
	background: #FF652C !important;
}
.button:hover {
	background: #FF652C;
	color: #FFF;
}

/* TOP BAR */

.topbar {
	background-color: #F3F4F9;
	border-bottom: 1px solid #F9F9F9;
}
.topbar .sdgrid {
	padding: 0.6rem 0;
}
.topbar .sdgrid .icons {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.topbar .sdgrid .icon {
	padding:  0 0.6rem;
}
.topbar p {
	margin: 0;
	line-height: 1.6rem;
}
.topbar i {
	color: #ff5406;
	padding: 0 0.5rem;
}
.expand_topbar {
	display: none;
	visibility: hidden;
}

/* LOGO */

.logo img {
	padding: 0.6rem 0;
	max-width: 470px;
}

/* MOTORE DI RICERCA */

.search {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin-left: auto;
}
.search .mod-finder {
	width: 300px;
	border: 1px solid #EDEDED;
	position: relative;
	margin: 0 2%;
	padding: 0;
}
.search .mod-finder input {
	width: 250px;
	height: 30px;
	margin: 0;
	padding-left: 8px;
	padding-right: 8px;
	border: 0;
	color: #555;
	-webkit-box-shadow: none;
	box-shadow: none;
	border-radius: 0;
}
.search .mod-finder:after {
	content: "\f002";
	font-family: FontAwesome;
	color: #ff5406;
	font-size: 18px;
	line-height: 35px;
	position: absolute;
	top: 3px;
	right: 11px;
	display: block;
}
.mod-finder button {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
} 
.mod-finder button:focus {
	position: static;
	width: auto;
	height: auto;
}

/* CONTENT */

.content {
	text-align: justify;
}
.content .tags_page h1, .content .page-header h1, .content h2, .finder h1 {
	text-align: center;
	font-weight: lighter;
}

/* NEWS */

.blog-items .blog-item {
	padding: 1% !important;
	border: 1px solid #dadada;
	border-bottom: 4px solid #dadada;
}
.blog-items .blog-item .item-title, .blog-items .blog-item .page-header {
	font-size: 1.2rem;
	line-height: 1.6rem;
	text-transform: uppercase;
	text-align: left;
}
.blog-items .blog-item .article-info {
	font-size: 0.9rem;
}

/* JOIN */

.join {
	margin-top: 2rem;
	padding: 4rem 0;
	background: #FF652C;
	color: #FFF;
	text-align: center;
}
.join h2 {
	text-align: center;
}
.join .link {
	margin-top: 2rem;
}
.join a {
	padding: 1rem;
	border: 2px solid #FFF;
	text-transform: uppercase;
	color: #FFF;
	text-decoration: none;
	background: rgba(255,255,255,.1);
}
.join a:hover {
	background: rgba(255, 255, 255, 0.25);
}

/* FOOTER */

.footer {
	border-top: 12px solid #d8d8d8;
	padding: 1rem 0;
}
.footer .sdgrid {
	display: flex;
}
.footer h2 {
	color: #ff5406;
	text-transform: uppercase;
}

.footer ul {
	margin: 0;
	padding: 0;
}
.footer li {
	list-style: none;
	position: relative;
	margin: 0;
	padding: 0 0 0 17px;
}
.footer li:before {
	content: "\f054";
	font-family: FontAwesome;
	font-size: 14px;
	position: absolute;
	top: 1px;
	left: 0;
}

/* COPYRIGHT */

.copyright {
	padding: 2rem 0 1rem 0;
	border-top: 1px solid #d8d8d8;
	text-align: center;
	font-size: 0.9rem;
}
.copyright .mod-menu {
	width: 100%;
	display: flex;
	justify-content: center;
}
.copyright a, .copyright a:hover {
	background: none !important;
}

/* DEVICES */

@media (min-width: 1100px) {
	.sdgrid {
		width: 95%;
		margin: 0 auto;
		max-width: 1150px;
	}

	.topbar .sdgrid .icons {
		-webkit-box-pack: end;
		-ms-flex-pack: end;
		justify-content: flex-end;
		text-align: right;
	}

	.logo_search {
		display: flex;
		flex-direction: row;
	}
	.logo {
		min-width: 490px;
	}

	.main_menu {
		padding: 0.3rem 0;
		background: #F3F4F9;
	}
	.main_menu .dj-up_a {
		font: bold 0.9rem Poppins, Tahoma, Verdana, Arial, Helvetica, sans-serif !important;
		border: 0 !important;
	}

	.content .tags_page h1, .content .page-header h1, .content h2, .finder h1 {
		padding: 2rem 0;
		font-size: 2.7rem;
		line-height: 3rem;
	}

	.join h2 {
		font-size: 2.5rem;
		line-height: 4rem;
	}

	.footer .sdgrid {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
	}
	.footer .sdgrid .inside {
		width: 28%;
	}

	.copyright .mod-menu li {
		padding: 0.3rem 1rem;
	}
}

@media (max-width: 1099px) {
	.topbar .sdgrid .icons {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		text-align: center;
		line-height: 1.7rem;
	}

	.logo {
		text-align: center;
	}

	.search {
		margin-bottom: 0.7rem;
	}

	.dj-mobile-open-btn:focus, .dj-mobile-open-btn, .dj-mobile-open-btn:hover,
	.dj-mobile-open-btn:focus, .dj-mobile-open-btn:hover, .dj-mobile-open-btn:focus {
		font-size: 2rem !important;
		margin: 3px 0 !important;
		outline: none !important;
		background: #FFF !important;
	}
	.dj-mobile-open-btn, .dj-mobile-open-icon:before, .dj-megamenu-wrapper * {
		margin: 0 !important;
		padding: 0 !important;
		height: auto !important;
		font-size: 1.6rem !important;
		background: none !important;
		outline: none !important;
		color: inherit !important;
	}

	.main_menu {
		display: none;
		visibility: hidden;
	}

	.content .tags_page h1, .content .page-header h1, .content h2, .finder h1 {
		padding: 1.5rem 0;
		font-size: 2rem;
		line-height: 2.3rem;
	}

	.join h2 {
		font-size: 2rem;
		line-height: 3rem;
	}

	.footer .sdgrid {
		display: flex;
		flex-direction: column;
	}
	.footer .sdgrid .inside {
		width: 100%;
	}

	.copyright .mod-menu li {
		padding: 0.3rem 0.5rem;
		text-align: center;
	}
}

@media (max-width: 767px) {
	.topbar {
		height: 40px;
		overflow: hidden;
		border: 0;
	}
	.topbar_is_expanded {
		height: auto;
	}
	.expand_topbar {
		display: block;
		visibility: visible;
		margin-top: -4px;
	}
	.expand_topbar a {
		width: 100%;
		height: 22px;
		display: block;
		padding-bottom: 3px;
		border-top: 0;
		border-bottom: 0;
		background: #F3F4F9 !important;
		font-family: FontAwesome;
		text-align: center;
		color: #333;
		text-decoration: none;
	}
	.expand_topbar a:before {
		content: "\f078";
	}
	.topbar_is_expanded a:before {
		content: "\f077";
	}
	.expand_topbar a span {
		display: none;
		visibility: hidden;
	}

	.logo img {
		padding: 0.6rem 0;
	}
}

@media (min-width: 501px) {
	.news_page .items-row {
		flex-direction: row;
		justify-content: space-between;
	}
}

@media (max-width: 500px) {
	.news_page .items-row {
		flex-direction: column;
		justify-content: space-between;
	}
	.news_page .items-row .span4 {
		width: 100%;
	}
	.news_page_blog .items-row .span4 {
		margin: 0;
		padding: 0;
	}
	.news_page .items-row .item {
		width: 100%;
		margin-bottom: 1rem;
	}
	.news_page_blog .items-row .item {
		width: 94%;
	}
}

@media (max-width: 350px) {
	.search .finder {
		min-width: 250px;
	}
}