/*
Theme Name: Yourhouseinitaly.it
Theme URI: http://wwww.yourhouseinitaly.it
Description: Custom CSS - Child Theme
Author: Luigi Ulissi
Version: 1.0.0
*/


/* ══════════════════════════════════════════
   1. PORTFOLIO
══════════════════════════════════════════ */

.portfolio_slider .portfolio_slides li.item img,
.projects_holder article .image_holder .image img {
	transform: scale(1.1);
	transition: transform 1s cubic-bezier(.33,.02,0,.93);
}

.portfolio_slider .portfolio_slides li.item:hover img,
.projects_holder article .image_holder:hover .image img {
	transform: scale(1.1) translateX(4%);
}

.projects_holder article span.text_holder {
	background-color: transparent;
}

.projects_holder.hover_text .portfolio_link_for_touch {
	position: relative;
	z-index: 201;
}

.portfolio_single h3 {
	font-size: 60px;
	line-height: 1em;
	letter-spacing: -.025em;
}

.portfolio_single.portfolio_template_5 .portfolio_images {
	margin: 0 0 51px;
}

.portfolio_single.portfolio_template_6 .portfolio_gallery {
	margin: 0 0 35px;
}

.portfolio_single.portfolio_template_3 .flexslider {
	margin: 0 0 70px;
}

.portfolio_navigation {
	padding-bottom: 150px;
}

.portfolio_navigation .portfolio_next a,
.portfolio_navigation .portfolio_prev a {
	border: none;
	background-color: transparent;
	width: auto;
	margin: 0;
	color: #000;
	border-radius: 0;
}

.portfolio_navigation .portfolio_next a:hover,
.portfolio_navigation .portfolio_prev a:hover {
	background-color: transparent;
	color: #000;
}

.portfolio_navigation .portfolio_button a {
	background: none !important;
	margin: 0;
}

.portfolio_navigation .portfolio_button a:before {
	content: "\f00a";
	font-family: FontAwesome !important;
	font-size: 22px;
}

.portfolio_detail {
	display: flex;
	flex-direction: column;
}

.portfolio_detail > * {
	order: 3;
}

.portfolio_detail > h6 {
	order: 1;
	font-family: "Space Grotesk", sans-serif; /* fix: era "ont-family" */
	font-weight: 400;
	color: #000;
	font-size: 60px;
	line-height: 1em;
	letter-spacing: -.025em;
	text-transform: none;
}

.portfolio_detail > .portfolio_content {
	order: 2;
	margin: 0 0 50px;
}

.single-portfolio_page footer {
	border-top: 1px solid #d4d4d4;
}

@media only screen and (max-width: 1024px) {
	.portfolio_single .two_columns_66_33 > .column1,
	.portfolio_single .two_columns_66_33 > .column2 {
		width: 100%;
	}

	.portfolio_single .two_columns_66_33 > .column1 > .column_inner,
	.portfolio_single .two_columns_66_33 > .column2 > .column_inner {
		padding: 0;
	}

	.portfolio_single .two_columns_66_33 > .column2 > .column_inner {
		margin: 42px 0 0;
	}
}


/* ══════════════════════════════════════════
   2. FLEXSLIDER
══════════════════════════════════════════ */

.flexslider .flex-prev,
.flexslider .flex-next,
.portfolio_slider .caroufredsel-prev,
.portfolio_slider .flex-prev {
	border: none;
}

.caroufredsel-direction-nav a i,
.flex-direction-nav a i {
	color: #000;
	font-size: 50px;
}

.flexslider:hover .flex-direction-nav a.flex-next:hover,
.flexslider:hover .flex-direction-nav a.flex-prev:hover {
	background-color: transparent;
}

.flexslider:hover .flex-direction-nav a.flex-next:hover i,
.flexslider:hover .flex-direction-nav a.flex-prev:hover i {
	color: #000;
}


/* ══════════════════════════════════════════
   3. ACCORDION
══════════════════════════════════════════ */

.q_accordion_holder.accordion .ui-accordion-header .accordion_mark.left_mark {
	display: none;
}

.q_accordion_holder.accordion .ui-accordion-header .accordion_mark.right_mark {
	display: block !important;
	right: -16px;
	top: 50%;
	transform: translateY(-50%);
	background-color: transparent;
	border: none;
}

.q_accordion_holder.accordion.without_icon .ui-accordion-header span.tab-title {
	padding-left: 0;
	padding-right: 45px;
}

.q_accordion_holder.accordion h3.ui-accordion-header {
	border-bottom: 1px solid rgba(0,0,0,.2);
	overflow: hidden;
	font-weight: 400;
	text-transform: none;
	letter-spacing: -.025em;
	color: #000;
	min-height: auto;
	height: auto;
	line-height: 1.143em;
	padding: 20px 0;
	margin: 0;
	counter-increment: count;
}

.q_accordion_holder.accordion div.accordion_content {
	padding: 26px 26px 26px 32px;
}

.q_accordion_holder.accordion.without_icon .ui-accordion-header span.tab-title:before {
	content: counter(count, decimal-leading-zero);
	font-size: 13px;
	line-height: 1;
	margin-right: 19px;
	position: relative;
	top: -9px;
}


/* ══════════════════════════════════════════
   4. BUTTONS
══════════════════════════════════════════ */

.qode-btn.qode-btn-icon.qode-btn-simple {
	overflow: visible;
}

.qode-btn.qode-btn-simple .qode-btn-text {
	position: relative;
}

.qode-btn.qode-btn-simple .qode-btn-text:before,
.qode-btn.qode-btn-simple .qode-btn-text:after {
	background-color: currentColor;
	bottom: 5px;
	content: '';
	height: 1px;
	left: 0;
	position: absolute;
	width: 100%;
}

.qode-btn.qode-btn-simple .qode-btn-text:before {
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s ease-in-out;
}

.qode-btn.qode-btn-simple:hover .qode-btn-text:before {
	transform: scaleX(1);
	transform-origin: left;
	transition: transform .4s ease-in-out .4s;
}

.qode-btn.qode-btn-simple .qode-btn-text:after {
	transform: scaleX(1);
	transform-origin: right;
	transition: transform .4s ease-in-out .4s;
}

.qode-btn.qode-btn-simple:hover .qode-btn-text:after {
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .4s ease-in-out;
}

.qode-btn.qode-btn-simple .qode-button-v2-icon-holder {
	transform: translateX(0);
	transition: .4s cubic-bezier(.33,.02,0,.93) .1s;
}

.qode-btn.qode-btn-simple:hover .qode-button-v2-icon-holder {
	transform: translateX(5px);
}

.qode-btn.qode-btn-icon.qode-btn-simple .qode-button-v2-icon-holder {
	padding-left: 4px;
}

.qode-btn.qode-btn-icon .qode-button-v2-icon-holder {
	border: none;
}


/* ══════════════════════════════════════════
   5. LATEST POSTS
══════════════════════════════════════════ */

.latest_post_holder.boxes > ul > li {
	background-color: transparent;
	margin-right: 20px;
	margin-bottom: 70px;
}

.latest_post_holder.boxes > ul > li,
.latest_post_holder.dividers > ul > li {
	margin-right: 20px;
	margin-bottom: 70px;
}

.latest_post_holder.boxes:not(.one_row) > ul > li {
	margin-bottom: 113px;
}

.latest_post_holder.boxes > ul > li .latest_post {
	padding: 25px 0 0;
}

.latest_post_inner {
	margin: 0 !important;
}

.latest_post_holder.boxes > ul > li .latest_post_text_inner {
	display: flex;
	flex-direction: column-reverse;
}

.latest_post_inner .post_infos,
.latest_post_inner .post_infos a {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 400;
	color: #000;
	font-size: 15px;
	line-height: 1.467em;
	letter-spacing: 0;
	text-transform: uppercase;
}

.latest_post_inner .post_infos {
	margin: 0 0 8px;
}

.latest_post_inner .post_infos a:hover {
	color: #000;
}

.latest_post_inner .post_infos a {
	margin-right: 1px;
}

.latest_post_inner .post_infos a:not(:last-child):after {
	content: ',';
}

.latest_post_holder.boxes > ul > li .latest_post .post_infos > span.dots {
	display: none;
}

.latest_post_holder.boxes .boxes_image a img {
	transform: scale(1.1);
	transition: transform 1s cubic-bezier(.33,.02,0,.93);
}

.latest_post_holder.boxes .boxes_image a:hover {
	transform: none;
}

.latest_post_holder.boxes .boxes_image a:hover img {
	transform: scale(1.1) translateX(4%);
}

.latest_post_holder.boxes > ul > li .latest_post_title a {
	background-image: linear-gradient(to top, #6e6e6e 1px, transparent 0);
	background-position: 0 -2px;
	transition: background-size .8s cubic-bezier(.33,.02,0,.93);
	background-repeat: no-repeat;
	background-size: 0 100%;
	background-position-x: 100%;
}

.latest_post_holder.boxes > ul > li .latest_post_title a:hover {
	background-size: 100% 100%;
	background-position-x: 0;
}

@media only screen and (min-width: 769px) {
	.latest_post_holder.boxes.three_columns > ul > li,
	.latest_post_holder.dividers.three_columns > ul > li {
		width: calc(33.33333% - 13.66667px);
	}
}

@media only screen and (max-width: 768px) {
	.latest_post_holder.boxes > ul > li,
	.latest_post_holder.boxes > ul > li:nth-child(2n) {
		margin-bottom: 53px !important;
	}

	.latest_post_holder.boxes > ul > li {
		clear: none !important;
	}
}


/* ══════════════════════════════════════════
   6. ICONS
══════════════════════════════════════════ */

.q_icon_with_title.left_from_title.small.normal_icon .icon_holder,
.q_icon_with_title.left_from_title.tiny .icon_holder,
.q_icon_with_title.tiny .icon_holder img {
	width: auto;
}


/* ══════════════════════════════════════════
   7. TEAM
══════════════════════════════════════════ */

.q_team.info_on_hover .q_team_text {
	opacity: 1;
	padding: 34px;
	background: linear-gradient(0deg, rgba(0,0,0,.77) 0, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 100%);
}

.q_team.info_on_hover .q_team_text_holder_inner {
	vertical-align: bottom;
	position: relative;
}

.q_team .q_team_title_holder,
.q_team .q_team_social_holder {
	text-align: left;
}

.q_team .q_team_title_holder .q_team_name {
	margin: 0 0 2px;
}

.q_team.info_on_hover .q_team_social_holder {
	position: absolute;
	bottom: 0;
	transition: opacity .3s ease-out;
	opacity: 0;
}

.q_team.info_on_hover:hover .q_team_social_holder {
	opacity: 1;
}

.q_team.info_on_hover .q_team_text_inner {
	transition: transform .6s cubic-bezier(.33,.02,0,.93);
}

.q_team.info_on_hover:hover .q_team_text_inner {
	transform: translateY(-26px);
}

.q_team .q_team_social_holder .q_social_icon_holder i.simple_social,
.q_team .q_team_social_holder .q_social_icon_holder span.simple_social {
	font-size: 16px;
}

.q_team .q_team_social_holder .q_social_icon_holder:hover i.simple_social,
.q_team .q_team_social_holder .q_social_icon_holder:hover span.simple_social {
	color: #fff !important;
}

.q_social_icon_holder.normal_social:first-child {
	margin-left: 0;
}


/* ══════════════════════════════════════════
   8. CLIENTS
══════════════════════════════════════════ */

.qode_clients .qode_client_holder {
	margin: 0 0 140px;
}

.qode_clients .qode_client_holder.border-bottom-none {
	margin: 0;
}

.qode_clients .qode_client_holder a:hover {
	opacity: 1;
}

.qode_clients .qode_client_holder a img {
	transition: .6s cubic-bezier(.33,.02,0,.93);
}

.qode_clients .qode_client_holder a:hover img {
	transform: translateY(-8px);
}

@media only screen and (max-width: 1440px) {
	.qode_clients .qode_client_holder {
		margin: 0 0 100px;
	}

	.qode_clients .qode_client_holder.border-bottom-none {
		margin: 0;
	}
}


/* ══════════════════════════════════════════
   9. NAVIGAZIONE PRINCIPALE
══════════════════════════════════════════ */

.mobile_menu_button span:hover,
.side_menu_button > a:hover,
header:not(.with_hover_bg_color) nav.main_menu > ul > li:hover > a {
	opacity: 1;
}

nav.main_menu > ul > li > a > span:not(.plus) {
	background-image: linear-gradient(to top, currentColor 1px, transparent 1px);
	background-position: 0 0;
	transition: background-size .35s cubic-bezier(.16,.48,.36,1), color .3s ease-out;
	background-repeat: no-repeat;
	background-size: 0 100%;
	background-position-x: 100%;
}

nav.main_menu > ul > li > a:hover > span:not(.plus) {
	background-size: 100% 100%;
	background-position-x: 0;
}

nav.main_menu > ul > li.current-menu-item > a > span:not(.plus),
nav.main_menu > ul > li.current-menu-ancestor > a > span:not(.plus) {
	background-size: 100% 100%;
	background-position-x: 0;
}

nav.main_menu > ul > li.current-menu-item > a > span:not(.plus):hover,
nav.main_menu > ul > li.current-menu-ancestor > a > span:not(.plus):hover {
	animation: qode-background-size .7s cubic-bezier(.16,.48,.36,1);
}

@keyframes qode-background-size {
	0% {
		background-size: 100% 100%;
		background-position-x: 100%;
	}
	43% {
		background-size: 0 100%;
		background-position-x: 100%;
	}
	45% {
		background-size: 0 100%;
		background-position-x: 0;
	}
	100% {
		background-size: 100% 100%;
		background-position-x: 0;
	}
}

@media only screen and (max-width: 1000px) {
	rs-fullwidth-wrap {
		margin-top: -70px;
	}

	.mobile_menu_button,
	.logo_wrapper,
	.shopping_cart_inner,
	.side_menu_button {
		height: 70px !important;
	}
}

@media only screen and (max-width: 1000px) {
	.logo_wrapper,
	.q_logo a {
		left: 0;
	}

	.mobile_menu_button {
		float: right;
		margin: 0;
	}

	.mobile_menu_button span {
		width: 46px;
	}
}


/* ══════════════════════════════════════════
   10. MENU MOBILE
══════════════════════════════════════════ */

nav.mobile_menu {
	overflow: visible;
}

nav.mobile_menu ul li,
nav.mobile_menu ul li ul li {
	border: none;
}

nav.mobile_menu > ul {
	padding: 34px 0; /* fix: era "padding: 34px 0; 0;" */
}

nav.mobile_menu ul li a > span {
	background-image: linear-gradient(to top, currentColor 1px, transparent 1px);
	background-position: 0 0;
	transition: background-size .35s cubic-bezier(.16,.48,.36,1), color .3s ease-out;
	background-repeat: no-repeat;
	background-size: 0 100%;
	background-position-x: 100%;
}

nav.mobile_menu ul li a:hover > span {
	background-position-x: 0;
	background-size: 100% 100%;
}

nav.mobile_menu ul li.current-menu-item a > span,
nav.mobile_menu ul li.current-menu-ancestor a > span {
	background-position-x: 0;
	background-size: 100% 100%;
}

nav.mobile_menu ul li.current-menu-item a > span:hover,
nav.mobile_menu ul li.current-menu-ancestor a > span:hover {
	animation: qode-background-size .7s cubic-bezier(.16,.48,.36,1);
}


/* ══════════════════════════════════════════
   11. CONTENT SLIDER
══════════════════════════════════════════ */

.qode_content_slider_item > div {
	position: relative;
	left: -1px;
}

.qode_content_slider .flex-control-nav {
	text-align: left;
}

.qode_content_slider .flex-control-nav li:first-child {
	margin-left: 0;
}

.qode_content_slider .flex-control-nav li {
	width: 2px;
	height: 8px;
	margin: 0 10px;
}

.qode_content_slider .flex-control-nav li a {
	border-radius: 0;
	background-color: #000;
}

.qode_content_slider_item .projects_holder_outer:not(.masonry_with_space) .projects_holder.portfolio_one_by_one article {
	opacity: 1 !important;
	visibility: visible !important;
	display: inline-block !important;
}

.qode_content_slider_item .projects_holder.v3 {
	margin: 0 -30px;
}

.qode_content_slider_item .projects_holder.v3 .mix {
	padding: 0 30px;
	margin: 0 0 60px !important;
	width: 33% !important;
	box-sizing: border-box;
}

@media only screen and (max-width: 1440px) {
	.qode_content_slider_item > div {
		left: auto;
	}

	.qode_content_slider_item .projects_holder.v3 {
		margin: 0 -20px;
	}

	.qode_content_slider_item .projects_holder.v3 .mix {
		padding: 0 20px;
		margin: 0 0 40px !important;
		width: 33% !important;
	}
}

@media only screen and (max-width: 480px) {
	.qode_content_slider_item .projects_holder.v3 .mix {
		width: 49.9% !important;
	}
}


/* ══════════════════════════════════════════
   12. FOOTER
══════════════════════════════════════════ */

footer .column2 .two_columns_50_50 > .column1,
footer .column2 .two_columns_50_50 > .column2 {
	position: relative;
}

footer .column2 .two_columns_50_50 > .column1:before,
footer .column2 .two_columns_50_50 > .column2:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 100%;
	background-color: rgba(112,112,112,.3);
}

footer .column2 .two_columns_50_50 > .column1:before {
	left: -9px;
}

@media only screen and (max-width: 768px) {
	footer .column2 .two_columns_50_50 > .column1:before,
	footer .column2 .two_columns_50_50 > .column2:before {
		display: none;
	}

	.footer_top .two_columns_50_50 .column2 .column_inner > div {
		margin-left: 0;
	}

	.footer_top,
	.footer_top.footer_top_full {
		padding-top: 100px;
		padding-left: 70px;
		padding-right: 2%;
		padding-bottom: 57px;
	}

	.footer_responsive_adv .footer_top .two_columns_50_50 .column1 {
		margin: 0 0 74px;
	}

	.footer_responsive_adv .footer_top .column2 .two_columns_50_50 .column1 {
		margin: 0 0 57px;
	}
}

@media only screen and (max-width: 767px) {
	.footer_top,
	.footer_top.footer_top_full {
		padding-left: 25px;
	}
}

@media only screen and (min-width: 1921px) {
	.title.has_background {
		background-size: cover !important;
	}
}


/* ══════════════════════════════════════════
   13. BLOG
══════════════════════════════════════════ */

.blog_holder article .post_text h2 .date {
	display: none;
}

.blog_single.blog_holder article .post_text .post_text_inner {
	display: flex;
	flex-direction: column;
	padding-top: 68px;
}

.blog_single.blog_holder article .post_text .post_text_inner > * {
	order: 3;
}

.blog_single.blog_holder article .post_text .post_text_inner > .entry_title {
	order: 2;
}

.blog_single.blog_holder article .post_text .post_text_inner > .post_info {
	order: 1;
	margin: 0 0 30px;
}

.blog_single.blog_holder article .post_text .post_text_inner h5 {
	line-height: 28px;
}

blockquote {
	position: relative;
	padding: 0 15% 0 3.5%;
	border: none;
	margin: 20px 0;
}

blockquote > p {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 400;
	color: #000;
	font-size: 28px;
	line-height: 1.143em;
	letter-spacing: -.025em;
	padding-left: 20px;
	border-left: 1px solid #707070;
}

.author_description {
	padding-top: 0;
}

.author_description_inner {
	padding: 55px 0 68px;
	border-top: 1px solid #b7b7b7;
	border-bottom: 1px solid #b7b7b7;
}

.author_text_holder .author_name {
	font-size: 28px;
	line-height: 1.143em;
	letter-spacing: -.025em;
}

.author_description_inner .image {
	border-radius: 0;
}

.author_text_holder .author_email {
	display: none;
}

.single-post footer {
	border-top: 1px solid #d4d4d4;
}

@media only screen and (min-width: 1025px) {
	.blog_single.blog_holder > *:not(article),
	.blog_single.blog_holder article .post_content_holder > *:not(.post_image),
	.blog_single.blog_holder article > *:not(.post_content_holder) {
		padding-left: 8.125%;
		padding-right: 8.125%;
	}
}


/* ══════════════════════════════════════════
   14. COMMENTI
══════════════════════════════════════════ */

.comment_holder .comment_number .comment_number_inner > h5,
.comment-respond > h5 {
	font-size: 28px;
	line-height: 1.143em;
	letter-spacing: -.025em;
}

.comment_holder {
	padding-top: 86px;
	padding-bottom: 96px;
}

.comment_holder .comment {
	padding: 0;
}

.comment_holder .comment .image {
	border-radius: 0;
}

.comment_holder .comment .text .name {
	display: inline-block;
	color: #000;
	font-size: 23px;
	line-height: 1.305em;
	letter-spacing: -.025em;
	vertical-align: baseline;
}

.comment_holder .comment .text .comment_date {
	display: inline-block;
	margin-left: 14px;
	vertical-align: baseline;
}

.comment_holder .comment .text .comment-reply-link,
.comment_holder .comment .text .replay {
	font-family: "Space Grotesk", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 25.005px;
	text-transform: none;
	float: right;
	background-image: linear-gradient(to top, #6e6e6e 1px, transparent 0);
	background-position: 0 -2px;
	transition: background-size .8s cubic-bezier(.33,.02,0,.93);
	background-repeat: no-repeat;
	background-size: 0 100%;
	background-position-x: 100%;
	margin: 0;
	padding: 0;
}

.comment_holder .comment .text .comment-reply-link:hover,
.comment_holder .comment .text .replay:hover {
	background-size: 100% 100%;
	background-position-x: 0;
}

.comment_holder .comment-list li ul.children {
	margin: 34px 0 0;
	padding: 0 0 0 96px;
}

.comment_holder .comment .text {
	padding: 0 0 0 95px;
}

.comment_form {
	margin: 0 0 100px;
}

div.comment_form {
	margin: 0 0 100px;
}

#respond input[type=text],
#respond input[type=email],
#respond textarea,
.contact_form input[type=text],
.contact_form textarea {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-radius: 0;
	box-sizing: border-box;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: inherit;
	line-height: 25px;
	margin: 0 0 29px;
	outline: 0;
	padding: 8px 0;
	transition: color .3s ease-out, background-color .3s ease-out, border-color .3s ease-out;
	color: #000;
	border-color: rgba(0,0,0,.2);
}

#respond input[type=text]:focus,
#respond input[type=email]:focus,
#respond textarea:focus,
.contact_form input[type=text]:focus,
.contact_form textarea:focus {
	background-color: transparent;
	border-color: #000;
	color: #000;
}

#respond input[type=text]::placeholder,
#respond input[type=email]::placeholder,
#respond textarea::placeholder,
.contact_form input[type=text]::placeholder,
.contact_form textarea::placeholder {
	color: #000;
}

div.comment_form form p.form-submit,
div.comment_holder .comment p.form-submit {
	text-align: left;
}

.comment_form .three_columns {
	overflow: hidden;
}

div.comment_form .comment-form-cookies-consent {
	margin: -9px 0 20px;
}

@media only screen and (max-width: 1024px) {
	div.comment_form {
		margin: 0 0 130px;
	}
}

@media only screen and (max-width: 480px) {
	.comment_holder .comment .image {
		float: none;
	}

	.comment_holder .comment .text {
		padding: 10px 0 0;
	}

	.comment_holder .comment .text .comment_date {
		margin-left: 0;
	}

	.comment_holder .comment-list li ul.children {
		padding-left: 3%;
	}

	.comment_holder .comment .text .name {
		margin-top: 12px;
	}

	.comment_holder .comment .text .text_holder {
		margin: 20px 0 0;
	}
}


/* ══════════════════════════════════════════
   15. CUSTOM FONT HOLDER
══════════════════════════════════════════ */

@media only screen and (max-width: 480px) {
	.custom_font_holder {
		word-wrap: break-word;
	}
}
