/*!
 *
 * File specifico per sito 
 *
 * Copyright 2014 SpoonDesign di Cattorini Davide
 * Tutti i diritti riservati - All rights reserved
 * http://www.spoondesign.it - info@spoondesign.it
 *
 */

* {
	box-sizing: border-box;
}
body, td, li  {
	font: 1rem/1.5rem Poppins, Verdana, Arial, Helvetica, sans-serif;
}
input, textarea, select, label, button {
	font: 1rem/1.5rem Poppins, Verdana, Arial, Helvetica, sans-serif !important;
}
body, html {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

a {
	color: #040447;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}

/* FONT */

@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");
}

/* CONTENITORI */

.cols {
	display: flex;
	flex: 1;
	height: 100vh;
}

.col {
	display: flex;
	align-items: center;
	justify-content: center;
}

.col1 {
	background-color: #7090b0;
	width: 25%;
	padding: 2rem;
}

.col2 {
	width: 25%;
}

.col3 {
	width: 50%;
	height: 100vh;
}

.colwide {
	width: 75%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	box-sizing: border-box;
	overflow-y: auto;
	padding-bottom: 60px;
}

.footer {
	background-color: #d9d9d9;
	color: #333;
	text-align: center;
	padding: 15px;
	position: fixed;
	bottom: 0;
	width: 100%;
	min-height: 60px;
	display: flex;
	align-items: center;
}

/* FORM + BUTTONS */

.btn-primary, .btn-secondary {
	padding: 16px 18px;
	border: 0;
	border-radius: 5px;
	background: #7090B0;
	text-decoration: none !important;
	text-shadow: none !important;
	text-transform: uppercase;
	color: #FFF !important;
	font-weight: bold !important;
}
.btn-primary a, .btn-secondary a {
	text-decoration: none !important;
	color: #FFF !important;
}
.btn-primary a:hover, .btn-secondary a:hover,
a.btn-primary:hover, a.btn-secondary:hover {
	background: #1D449B !important;
	color: #FFF !important;
}

/* TITLE */

.col1 h1 {
	font-size: 5rem;
	line-height: 5rem;
	margin: -4rem 0 0 0;
	padding: 0;
	font-weight: normal;
	text-transform: uppercase;
}
.col1 h1 span {
	font-size: 3.5rem;
}
.col1 a {
	color: #FFF;
	text-decoration: none;
}

/* MENU HOME */

.col2 img {
	width: 220px;
	margin: -5rem 0 6rem 0;
}
.col2 ul {
	margin-left: 0;
}
.col2 li {
	list-style: none;
	line-height: 2rem;
}
.col2 a {
	color: #7090B0;
	font-weight: bold;
	font-size: 1.2rem;
	background: none;
}
.col2 a:hover {
	background: none !important;
}

/* MENU INSIDE */

.colwide .main_menu {
	background-color: #d9d9d9;
	width: 99%;
	margin-top: 20px;
	margin-left: 1%;
	margin-right: 0;
	padding: 0.5rem 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.colwide .main_menu .dj-up_a {
	border: 0 !important;
	font: bold 1rem Poppins, sans-serif !important;
	text-transform: none !important;
}

#dj-megamenu115mobile {
	padding: 0.5rem;
}
.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 {
	outline: none !important;
	background: none !important;
	color: #1E1D24 !important;
}
.dj-megamenu-offcanvas .dj-mobile-open-btn {
	font-size: 2rem;
	text-transform: none;
}
.dj-mobile-open-btn, .dj-mobile-open-icon:before {
	margin: 0 !important;
	padding: 0 !important;
	height: auto !important;
	font-size: 2rem !important;
	background: none !important;
	outline: none !important;
	color: #1E1D24 !important;
}

/* BG HOME */

.col3 img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom;
}

/* CONTENT */

.colwide .main_content {
	width: 100%;
	margin-top: 20px;
	padding: 20px;
}
.colwide .main_content h1, .colwide .main_content h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
}
.colwide .main_content h3, .colwide .main_content h4, .colwide .main_content h5 {
	font-size: 1.3rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

/* STAFF */

.staff_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 20px;
}
.staff_member {
	min-height: 200px;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	margin: 10px;
	padding: 20px;
	text-align: center;
	width: calc(33.33% - 40px); 
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.staff_photo {
	border-radius: 50%;
	width: 100px;
	height: 100px;
	object-fit: cover;
}
.staff_member h3 {
	margin: 5px 0 !important;
}
.staff_member p {
	margin: 0;
	color: #666;
}

/* FOOTER */

.footer {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin: 0;
	padding: 10px 0;
}
.footer div {
	list-style: none;
	padding: 0 20px;
}
.footer i {
	padding: 0 10px;
}
.footer a, .footer a:hover {
	background: none !important;
}
.footer .automarginleft {
	margin-left: auto;
}

.footer .infos ul {
	list-style: none;
	display: flex;
	flex-direction: row;
	margin: 0;
	padding: 0;
}
.footer .links ul {
	list-style: none;
	display: flex;
	flex-direction: row;
	margin: 0;
	padding: 0;
}
.footer .links li {
	padding: 0 10px;
}

/* DEVICES */

@media (max-width: 1200px) {
	.cols {
		flex-direction: column;
		height: auto;
	}
	
	.col {
		width: 100%;
		height: auto;
	}

	.col1 {
		padding-left: 0.3rem;
		padding-right: 0.3rem;
	}
	.col1 h1, .col1 h1 span {
		margin-top: 0;
		font-size: 2rem;
		line-height: 3rem;
	}
	.col1 h1 br {
		display: none;
	}

	.col2 img {
		margin: 1.5rem 0;
	}

	.col3 {
		height: auto;
		padding-bottom: 70px;
	}

	.colwide .main_content {
		padding: 20px 20px 50px 20px;
	}

	.footer {
		flex-direction: column;
		flex-wrap: wrap;
	}
	.footer div {
		padding: 0.1rem 0 0 0;
	}
	.footer .automarginleft {
		margin-left: 0;
	}
	.footer * {
		font-size: 0.95rem;
	}
}

@media (max-width: 768px) {
	.staff_member {
		width: calc(50% - 40px);
	}
}

@media (max-width: 480px) {
	.staff_member {
		width: calc(100% - 40px);
	}
}