/*
Theme Name: Gelit
Theme URI: http://gelit.it/
Author: Fabio Folgori
Author URI: http://fabiofolgori.it/
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css?family=Droid+Serif:300,300i,500,400,400i|Ubuntu:400,700|Yantramanav:300,400');

* {
	margin: 0;
	padding: 0;
}

body {
	background: #FEF5EA;
	color: #777;
	font-family: 'Ubuntu', sans-serif;
	font-size: 14px;
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

.placeholder {
	height: 125px;
}

body.submenu .placeholder {
	height: 155px;
}

a {
	color: #000;
	text-decoration: none;
}

a:hover,
a:active,
a:focus {
	color: #000;
	outline: none;
	text-decoration: none;
}

ul {
	list-style: none;
}

#main {
	flex: 1;
}

#text {
	letter-spacing: 1px;
	min-height: 125px;
}

.clearfix:after,
.wrapper:after {
	clear: both;
	content: '';
	display: block;
}

.wrapper {
	clear: both;
	margin: 0 auto;
	width: 1200px;
}

.img-responsive {
	display: block;
	height: auto;
	width: 100%;
}

.max-responsive {
	display: block;
	height: auto;
	max-width: 100%;
}

.space {
	height: 30px;
}

/* @end */

/* @group header */

#header {
	background: rgba(253, 244, 233, .85);
}

.topbar {
	background: #1E1E1E;
	color: #fff;
	text-align: right;
	padding: 5px 0;
	font-size: 0.9em;
	font-weight: bold;
}

.topbar a {
	color: #FEF5EA;
	margin-left: 10px;
}

#header .menu-principale-container .sub-menu {
	background: rgba(208,198,197,.8);
	display: none;
	position: absolute;
	padding-top: 40px;
	top: -0px;
	left: -10px;
	right: -10px;
	z-index: 200;
	min-width: 140px;
	width: auto;
}

body.lang-en #header .menu-principale-container .sub-menu {
	left: -35px;
}

#header .menu-principale-container .sub-menu ul {
	margin: 0;
}

#header .menu-principale-container .sub-menu li {
	margin: 0;
	display: block;
}

#header .menu-principale-container .sub-menu li a {
	letter-spacing: 1px;
	color: #555;
}

#header .menu-principale-container .sub-menu li a:hover {
	color: #FEF5EA;
}

#header .menu-principale-container .sub-menu ul {
	margin: 0;
}

#header .menu-principale-container ul > li {
	display: inline-block;
	margin-left: 20px;
	text-align: center;
	position: relative;
}

#header .menu-principale-container ul > li a {
	display: block;
	color: #555;
	letter-spacing: 1px;
	font-weight: 500;
	line-height: 40px;
}


#header .menu-principale-container ul  li .sub-menu a {
	line-height: 1.2em;
	display: block;
	padding: 10px 0;
}

#header .menu-principale-container .current_page_parent,
#header .menu-principale-container .current_page_item,
#header .menu-principale-container ul > li:hover {
	/*background: rgba(208,198,197,.8);*/
}

#header .menu-principale-container ul > li:hover a {
	text-decoration: none;
}

#header .menu-principale-container ul > li:hover ul {
	display: block;
}

#header .menu-principale-container ul > li.menu-item-has-children:hover > a {
	position: relative;
	z-index: 2000;
	color: #FEF5EA !important;
}

#lang_sel_list {
	float: right;
	margin-top: 5px;
	height: 22px;
}

#lang_sel_list ul a {
	background-color: #1E1E1E;
}

#breadcrumbs {
	padding-top: 10px;
}

.home .scrollmenu,
.page-id-171 .scrollmenu {
	display: none;
}

.scrollmenu li {
	margin: 10px 0 0;
	display: inline-block;
}

.scrollmenu ul > li:hover > a {
	background: rgba(208,198,197,.8) !important;
	color: #FEF5EA !important;
}

.scrollmenu ul.menu > li.current-menu-item > a {
	background: rgba(208,198,197,.8) !important;
	color: #FEF5EA !important;
}

.scrollmenu ul.menu > li:hover > a {
	background: rgba(208,198,197,.8) !important;
}

.scrollmenu .sub-menu li.current-menu-item a {
	background: transparent !important;
	color: #FEF5EA !important;
}

.scrollmenu ul.menu {
	margin: 0;
	max-width: 50%;
	display: flex;
	position: relative;
}

.scrollmenu ul li {
	flex: 1;
	text-align: center;
	position: relative;
}

.scrollmenu li a {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.9em;
	color: #555 !important;
	font-weight: 500;
	color: #55565A;
	padding: 5px 10px;
	display: block;
	white-space: nowrap;
}

.scrollmenu .sub-menu {
	background: rgba(208,198,197,.8);
	display: none;
	position: absolute;
	width: 100%;
}

.scrollmenu .sub-menu li {
	display: block;
}

.scrollmenu .menu li:hover ul {
	display: block;
}

.scrollmenu .sub-menu li a {
	white-space: normal;
	text-transform: lowercase;
	display: block;
}

.scrollmenu .sub-menu li:hover a {
	color: #FEF5EA;
}

/* @end */

/* @group home */

.splash {
	height: calc(100vh - 150px);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

.splash-title {
	color: #fff;
	font-size: 3em;
	font-family: 'Droid Serif', serif;
	display: none;
	font-weight: normal;
	text-align: right;
	position: absolute;
	bottom: 20%;
	right: 10%;
	text-shadow: 0 0 5px rgba(0,0,0,.5);
	letter-spacing: 4px;
}

.white {
	background: #fff;
	padding: 20px 0;
}

#stripe-mobile h3,
.switch h3 {
	cursor: pointer;
	color: #B7AA9B;
	margin: 20px 0 0;
	font-size: 1.2em;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
	font-family: 'Droid Serif', serif;
}

.switch h3 a {
	color: #B7AA9B;
}

#stripe-mobile h3 {
	margin-bottom: 20px;
}

.switch h3.active a {
	color: #000;
}

#stripe-mobile .link,
#link {
	display: inline-block;
	margin: 20px auto 0;
	background: #D2C9BE;
	padding: 5px 10px;
	border-radius: 3px;
}

#stripe-mobile {
	text-align: center;
}

/* @end */

/* @group page */


section {
}

.section-container section:last-child .more {
	display: none;
}

.section-container section:nth-child(even) .alt-left {
	float: right !important;
}

.section-container section:nth-child(even) .alt-right {
	float: left !important;
}

.more {
	background: #FEF5EA url('assets/images/more.png') no-repeat top center;
	margin-top: 30px;
	height: 100px;
}

.entry-content h1,
h1.entry-title {
	color: #B7AA9B;
	font-size: 2em;
	margin-bottom: 20px;
	font-family: 'Droid Serif', serif;
}

.entry-content h2 {
	clear: both;
	color: #B7AA9B;
	font-size: 1.6em;
	margin-bottom: 20px;
	font-family: 'Droid Serif', serif;
}

.entry-content .btn {
	background: #B7AA9B;
	color: #000;
	margin-top: 30px;
}

.entry-content h3 {
	clear: both;
	font-size: 1em;
	margin-bottom: 20px;
	color: #B7AA9B;
	font-family: 'Droid Serif', serif;
	font-style: italic;
}

.entry-content table {
	margin-bottom: 30px;
	width: 80%;
}

.entry-content table tr {
	border-top: solid 1px #ccc;
}

.entry-content table tr:first-child {
	border-top: 0;
}

.entry-content table td {
	border-left: solid 1px #ccc;
	text-align: center;
	padding: 5px 10px;
}

.entry-content table td:first-child {
	border-left: 0;
}

.entry-content p {
	font-family: 'Yantramanav', sans-serif;
	font-weight: lighter;
}

.entry-content .alignleft {
	float: left;
	margin-bottom: 50px;
}

.table .label {
	color: #A09F9F;
	font-weight: lighter;
}

.table .line {
	padding: 10px 0;
}

.table .line + .line {
	border-top: solid 1px #B7AA9B;
}

label {
	font-weight: normal !important;
}

/* @end */

/* @group footer */

#colophon {
	background: #1E1E1E;
	color: #B2B2B2;
	font-family: 'Yantramanav', sans-serif;
	font-size: 0.8em;
	padding: 40px 0;
	margin-top: 100px;
}

#colophon img {
	display: block;
	margin-bottom: 10px;
}

#colophon ul {
	margin: 0;
	float: none;
}

#colophon ul li {
	display: block;
	text-align: left;
}

#colophon .text-center {
	color: #B2B2B2;
	margin: 20px;
}

#colophon a {
	color: #B2B2B2;
}

#colophon a:hover {
	color: #fff;
}

#colophon .text-center a {
	color: #fff;
	text-decoration: underline;
}

/* @end */

/* @group archive */

body.archive h2 {
	font-family: 'Droid Serif', serif;
	color: #000;
	font-weight: lighter;
}

.item {
	margin-bottom: 30px;
}

.item h2 {
	margin: 0;
	font-size: 1em;
	background: #0062a7;
	color: #fff;
	padding: 10px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.item img {
	opacity: 1;
	transition: all linear 0.15s;
	-webkit-transition: all linear 0.15s;
	-moz-transition: all linear 0.15s;
	-ms-transition: all linear 0.15s;
	-o-transition: all linear 0.15s;
}

.item:hover img {
	opacity: 5;
}

.image-fit {
	object-fit: cover;
}

/* @end */

@media (max-width: 800px) {


	.menu-principale-container ul {
		display: block;
	}

	.menu-principale-container .sub-menu {
		display: none !important;
	}

	#header .menu-principale-container .sub-menu {
		right: inherit;
	}

	#menu-principale {
		margin: 0 !important;
		float: none;
		text-align: center;
		width: 100%;
	}

	#menu-principale li {
		display: block !important;
	}

	#menu-principale li,
	#menu-principale li:hover a {
		color: #555 !important;
	}

	#menu-principale li a,
	#menu-principale li a:hover {
		line-height: 1.5em !important;
		padding: 5px !important;
		color: #555 !important;
		text-transform: uppercase;
	}

	#menu-principale li .sub-menu li a {
		text-transform: none;
	}

	#menu-principale li .sub-menu {
		margin-top: 0 !important;
		margin-bottom: 5px !important;
		padding-top: 0 !important;
		display: block !important;
		position: relative !important;
		top: inherit !important;
		left: inherit !important;
		width: 100% !important;
	}

	.scrollmenu {
		margin-top: 20px;
	}

	.scrollmenu ul li {
		display: block;
		padding: 5px 0;
		margin: 0;
	}

	.scrollmenu ul li a {
		line-height: 1.5em;
		padding: 0;
	}

	#menu-principale li {
		margin: 0 !important;
	}

	.placeholder {
		display: none;
	}

	.splash {
		height: 300px;
	}

	.splash-title {
		font-size: 1.6em;
	}

	#colophon {
		text-align: center;
	}

	#colophon li {
		display: block;
		text-align: center !important;
	}

	#colophon .max-responsive {
		margin: 0 auto;
	}

	#colophon .row > div {
		margin-bottom: 20px;
	}

	#colophon .row img {
		display: block;
		margin: 10px auto;
	}

	.scrollmenu ul.menu {
		display: block;
		max-width: 100%;
	}

	.scroll-menu li {
		display: block;
		float: left;
		width: 100%;
	}
	.scrollmenu .sub-menu {
		background: rgba(208,198,197,1);
		z-index: 200;
	}

	table {
		overflow: auto;
		max-width: 100% !important;
	}

	#header .menu-principale-container ul > li.menu-item-has-children:hover > a {
		color: #555 !important;
	}

}