/* @override http://devel.online/rm/wp-content/themes/rm-architecture/style.css?ver=4.7.3 */

/*
Theme Name: The Room of Beauty
Theme URI: http://theroomofbeauty.it/
Author: #FAB10 - Fabio Folgori
Author URI: http://fabiofolgori.it/
Version: 1.0
*/

/* @group fonts */

@font-face {
	font-family: 'Helvetica Neue LT Std 55 Roman';
	src: url('fonts/HelveticaNeueLTStd-Roman.eot');
	src: url('fonts/HelveticaNeueLTStd-Roman.eot?#iefix') format('embedded-opentype'),
	url('fonts/HelveticaNeueLTStd-Roman.woff2') format('woff2'),
	url('fonts/HelveticaNeueLTStd-Roman.woff') format('woff'),
	url('fonts/HelveticaNeueLTStd-Roman.svg#webfont') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Helvetica Neue LT Std 45 Light';
	src: url('fonts/HelveticaNeueLTStd-Lt.eot');
	src: url('fonts/HelveticaNeueLTStd-Lt.eot?#iefix') format('embedded-opentype'),
	url('fonts/HelveticaNeueLTStd-Lt.woff2') format('woff2'),
	url('fonts/HelveticaNeueLTStd-Lt.woff') format('woff'),
	url('fonts/HelveticaNeueLTStd-Lt.svg#webfont') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Helvetica Neue LT Std 75 Bold';
	src: url('fonts/HelveticaNeueLTStd-Bd.eot');
	src: url('fonts/HelveticaNeueLTStd-Bd.eot?#iefix') format('embedded-opentype'),
	url('fonts/HelveticaNeueLTStd-Bd.woff2') format('woff2'),
	url('fonts/HelveticaNeueLTStd-Bd.woff') format('woff'),
	url('fonts/HelveticaNeueLTStd-Bd.svg#webfont') format('svg');
	font-weight: normal;
	font-style: normal;
}




/* @end */

/* @group structure */

* {
	margin: 0;
	padding: 0;
}

body {
	color: #2D2D2D;
	font-family: 'Helvetica Neue LT Std 45 Light';
	font-size: 18px;
	line-height: 1.4em;
	padding-top: 100px;
	/* sticky footer */
	display: flex;
	height: 100%; /* for IE to behave */
	min-height: 100vh;
	flex-direction: column;
	/* end sticky footer */
}

/* sticky footer */

#header,
#footer {
	flex-shrink: 0;
}

#main {
	flex: 1 0 auto;
}

/* end sticky footer */

h1,
h2,
h3,
h4,
h5,
h6,
b,
strong {
	font-family: 'Helvetica Neue LT Std 75 Bold';	
	font-weight: normal;
}

a {
	color: #2D2D2D;
	text-decoration: none;
}

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

.btn-primary {
	border-radius: 0;
	background-color: #000;
	text-transform: uppercase;
	font-weight: bold;
}

ul {
	list-style: none;
}

hr.light {
	height: 1px;
}

hr {
	border: none;
	height: 2px;
	background: #2D2D2D;
	margin: 10px 0 15px;
}

hr.big {
	height: 3px;
	margin-top: 20px;
}

.mb-3 {
	margin-bottom: 1rem;
}

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

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

.space {
	height: 50px;
}

.mini-space {
	height: 10px;
}

.relative {
	position: relative;
}

/* @end */

/* @group header */

#header {
	background: #fff;
	padding: 20px 0;
	margin-bottom: 20px;
	position: fixed;
	z-index: 200;
	top: 0;
	left: 0;
	right: 0;
}

body.logged-in #header {
	top: 32px;
}

#logo {
	float: left;
}

#header .nav-menu {
	float: right;
	margin-top: 5px;
	margin-bottom: 0;
}

#header .nav-menu li {
	display: inline-block;
	position: relative;
} 

#header .nav-menu li + li {
	margin-left: 10px;
}

#header .nav-menu li a {
	font-size: 0.9em;
}

#header .nav-menu li.current-menu-item a,
#header .nav-menu li:hover a {
	border-bottom: solid 1px #2D2D2D;
}

#header .nav-menu li .sub-menu {
	position: absolute;
	left: -10px;
	background: #fff;
	z-index: 201;
	opacity: 0;
}

body.archive.category #header .nav-menu li:hover > .sub-menu {
	opacity: 1;
}

#header .nav-menu li .sub-menu li {
	white-space: nowrap;
	margin: 0 !important;
}

#header .nav-menu li .sub-menu li a {
	display: block;
	padding: 10px 10px 5px !important;
	border-bottom: none !important;
}

#header .nav-menu li .sub-menu li a:hover {
	background: #2D2D2D;
	color: #fff;
}

/* @end */

/* @group footer */

#footer {
	background: #2d2d2d;
	color: #fff;
	margin-top: 50px;
	padding: 20px 0;
	font-size: 0.8em;
}

#footer a {
	color: #fff;
}

#footer .share {
	display: inline-block;
	margin-left: 15px;
}

#footer .share a {
	border-color: #fff;
	top: 0px;
}

#footer .p-footer {
	line-height: 36px;
}

.credits {
	font-size: 0.8em;
}

.credits a {
	font-family: 'Helvetica Neue LT Std 75 Bold';
}

.credits a:hover {
	text-decoration: underline;
}

/* @end */

/* @group archive */

.loop {
	position: relative;
	margin-bottom: 30px;
}

.loop-bg {
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.loop .fake-bg img {
	opacity: 0 !important;
}

.loop .flex {
	background: rgba(0,0,0,.6) url('images/line.png') no-repeat center;
	/*background-size: contain;*/
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	opacity: 0;
	justify-content: center;
	align-items: center;
	text-align: center;
	transition: all ease-in-out 0.3s;
	-webkit-transition: all ease-in-out 0.3s;
	-moz-transition: all ease-in-out 0.3s;
	-ms-transition: all ease-in-out 0.3s;
	-o-transition: all ease-in-out 0.3s;
}

.loop.loop-main .flex {
	background-size: auto;
	background-image: url('images/line-big.png');
}

.loop.loop-main h1 {
	color: #fff;
}

.loop:hover .flex {
	opacity: 1;	
}

.loop .flex h2 {
	margin: 0;
	color: #fff;
	font-size: 1.4em;
}

/* @end */

/* @group single */

.owl-carousel {
	opacity: 0;
	transition: all ease-in-out 0.3s;
}

.owl-carousel.owl-loaded {
	opacity: 1;
}

.owl-carousel .owl-stage-outer {
	max-height: 550px;
}

.owl-carousel .owl-item img {
	width: auto;
	margin: 0 auto;
}

.owl-single .owl-item {
	opacity: .5;
	transition: all ease-in-out 0.3s;
	-webkit-transition: all ease-in-out 0.3s;
	-moz-transition: all ease-in-out 0.3s;
	-ms-transition: all ease-in-out 0.3s;
	-o-transition: all ease-in-out 0.3s;
}

.owl-single .owl-prev,
.owl-single .owl-next {
	position: absolute;
	bottom: -50px;
	font-size: 1.4em;
}

.owl-single .owl-prev {
	left: 0;
}

.owl-single .owl-next {
	right: 0;
}

.owl-single .owl-item.center {
	opacity: 1;
}

.single h1 {
	margin: 0;
	font-size: 1.5em;
}

.share a {
	display: inline-block;
	width: 30px;
	height: 30px;
	border: solid 2px #2D2D2D;
	border-radius: 50%;
	text-align: center;
	line-height: 33px;
	margin-right: 10px;
	position: relative;
	top: -3px;
}

.share a:last-child {
	margin-right: 0;
}

.fancy-360 {
	position: relative;
	display: block;
}

.fancy-360 img {
	filter: brightness(100%);
	transition: all ease-in-out 0.3s;
	-webkit-transition: all ease-in-out 0.3s;
	-moz-transition: all ease-in-out 0.3s;
	-ms-transition: all ease-in-out 0.3s;
	-o-transition: all ease-in-out 0.3s;
}

.fancy-360:hover img {
	filter: brightness(50%);
}

.fancy-360:hover::before {
	transform: scale(1.2);
	opacity: 1;
}

.fancy-360::before {
	width: 60px;
	height: 60px;
	background: url('images/360.png') no-repeat center;
	background-size: contain;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -30px;
	margin-top: -30px;
	content: '';
	opacity: 0;
	display: block;
	z-index: 200;
	transition: all ease-in-out 0.3s;
	-webkit-transition: all ease-in-out 0.3s;
	-moz-transition: all ease-in-out 0.3s;
	-ms-transition: all ease-in-out 0.3s;
	-o-transition: all ease-in-out 0.3s;
}

/* @end */

/* @group page */

.page .wp-post-image {
	display: block;
	margin: 15px 0;
}

.row-icon .fa {
	font-size: 5em;
}

h1.site-title,
h2.site-title {
	border-top: solid 2px #2D2D2D;
	border-bottom: solid 1px #2D2D2D;
	margin: 0 0 10px;
	font-size: 1.4em;
	padding: 10px 0 10px;
}

.team img,
.collaboratori img {
	margin-bottom: 10px;
	display: block;
}

.team p,
.collaboratori p {
	font-size: 0.8em;
	line-height: 1.2em;
	margin-bottom: 0;
}

/* @end */

/* @group home */

.loop .desc h2 {
	font-size: 0.9em;
}

.loop .desc .exc {
	font-size: 0.8em;
	line-height: 1.4em;
}

/* @end */

@media (max-width: 1024px) {

	body {
		padding-top: 0;
	}

	#header {
		text-align: center;
		position: sticky;
		position: -webkit-sticky;
		top: 0;
	}

	#header img {
		display: block;
		margin: 0 auto 1rem;
	}

	#logo {
		float: none;
	}

	.space {
		height: 25px;
	}

	.share a {
		margin-right: 5px;
	}
	
	.loop.loop-main .flex {
		background-size: auto;
		background-image: url('images/line.png');
	}

	.loop.loop-main h1 {
		font-size: 1.4em;
	}

	.owl-single .owl-item {
		opacity: 1;
	}

	.owl-single .owl-stage,
	.owl-single .owl-stage-outer {
		max-height: 230px;
	}

	.owl-single .owl-item img {
		max-height: 230px;
		height: auto;
		margin: 0 auto;
		width: auto;
		max-width: 100%;
	}

	footer .p-footer {
		text-align: left !important;
	}

}