/*
	Theme Name:   Savoy Child
	Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
	Description:  Savoy child theme
	Author:       NordicMade
	Author URI:   http://www.nordicmade.com
	Template:     savoy
	Version:      1.0
*/

/* Child theme CSS

--------------------------------------------------------------- */


.animation.right-to-left-3d {
    -moz-animation: none;
    -webkit-animation: none;
    animation: none;
    transform-origin: 0% 100%;
    transform-style: preserve-3d;
    -moz-transform: rotateX(-25deg) rotateY(15deg) translate3d(60px, -10px, 0);
    -ms-transform: rotateX(-25deg) rotateY(15deg) translate3d(60px, -10px, 0);
    -webkit-transform: rotateX(-25deg) rotateY(15deg) translate3d(60px, -10px, 0);
    transform: rotateX(-25deg) rotateY(15deg) translate3d(60px, -10px, 0);
}

.btn-text.style1 {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.animation {
    will-change: opacity, transform;
    opacity: 0;
    -moz-animation: none;
    -webkit-animation: none;
    animation: none;
}

.btn-text {
    display: inline-flex;
    align-items: center;
}

.btn-text.style1:before, .nm_btn_link:before {
    content: '';
    display: inline-block;
    width: 35px;
    height: 1px;
	position: relative;
    top: -4px;
    margin-right: 15px;
    background: rgba(0,0,0,0.15);
}

.nm_btn_link{
	border:0;
	font-weight: 600;
    font-size: 14px !important;
}

.btn-text.style1:before, .nm_btn_link:before {
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-text.style1:hover, .nm_btn_link:hover {
    color: #090909;
}

.btn-text.style1:hover:before, .nm_btn_link:hover:before {
    width: 60px;
    background: #090909;
}

.of-hidden{
	overflow:hidden;
}

.mr-ul-20 ul{
	margin-left:20px;
}

/*IMAGE STACKER*/
.hm-first{
	position: absolute;
    left: -5%;
    z-index: 2;
}

.hm-second{
	position: absolute;
    width: 70%;
    z-index: 1;
    top: 5%;
    left: 5%;
}

.hm-third{
	position: absolute;
    top: 0;
    right: -15%;
    z-index: 0;
    width: 60%;
}

/*Home Product Gallery*/

.hm-gallery-wrapper {
	display: flex;
}
.hm-gallery-item {
	position: relative;
    isolation: isolate;
    display: flex;
    flex: 1;
    height: 60vh;
    /* background-color: #000; */
    /* padding: 25px; */
    opacity: 1;
    overflow: hidden;
    transition: flex 0.5s, opacity 0.25s;
}
.hm-gallery-item:hover {
	opacity: 1;
	flex: 5;
}
.hm-gallery-item:not(:hover) {
	opacity: 0.75;
}
.item-image {
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.item-description {
	align-self: flex-end;
    /* text-transform: uppercase; */
    color: #fff;
    position: relative;
    z-index: 1;
    /* padding: 20px; */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    transition: transform 0.3s, opacity 0.3s;
    transform: translateY(0);
    opacity: 1;
    width: 100%;
    height: 100%;
}

.name {
	font-size: 28px;
    /* background: linear-gradient(90deg, #f32d5b, #ff009b); */
    /* padding-inline: 10px; */
    padding: 0px 20px 0px 20px;
    position: absolute;
    bottom: 110px;
    /* left: 20px; */
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s, opacity 0.3s;
    width: 260px;
    line-height: 1;
    color: #FFF;
}

.role {
	display: inline-block;
    /* background: linear-gradient(90deg, #4136d9, #0086c7); */
    padding: 0px 20px 20px 20px;
    /* box-shadow: 0 1px 10px rgb(0 0 0 / 20%); */
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s, opacity 0.3s;
    width: 260px;
    position: absolute;
    bottom: 0;
    font-size: 14px;
    /* left: 20px; */
    line-height: 1;
}

.hm-button {
	position: absolute;
	bottom: 20px;
	left: 20px;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.3s, transform 0.3s;
}

.hm-gallery-item:hover .item-description {
	opacity: 1;
	transform: translateY(0px);
}

.hm-gallery-item:hover .name {
	transform: translateY(-60px);
}

.hm-gallery-item:hover .role {
	transform: translateY(-60px);
}

.hm-gallery-item:hover .hm-button {
	opacity: 1;
	transform: translateY(0);
	font-size:14px;
	background:transparent;
	border:1px solid #FFF;
	transition:0.3s ease all;
}

.hm-button:hover {
	color:#1e3a4f !important;
	background:#FFF !important;
}

@media screen and (max-width: 768px) {
	.hm-gallery-wrapper {
		flex-direction: column;
		height: 100vh;
	}

	.hm-gallery-item:hover {
		flex-basis: 100%;
	}

	.item-description,
	.name,
	.role {
		width: 100%;
	}
}

/*Bottom Contact*/
.contact_info_bottom .nm-feature.layout-icon_left.icon-style-simple {
    padding-left: 45px;
}

.contact_info_bottom .nm-feature-content h3 {
	font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
	line-height: 1;
}

.contact_info_bottom .wpb_text_column{
	margin-top:0;
}

.contact_info_bottom .nm-feature .nm-feature-content {
	text-align:center;
	display:inline-block;
}

.contact_info_bottom .nm-feature .vc_btn {
    display: inline-block;
    margin-top: 0px;
    font-size: 12px;
    font-weight: 600;
}

/*Enquiry Button*/
.woocommerce a.wqoecf_enquiry_button {
    background-color: #289dcc;
    color: #fff !important;
    white-space: nowrap;
    padding: 0.618em 1em;
    font-weight: 200;
    border-radius: 0px;
    display: inline-block;
    box-shadow: none;
    width: 100%;
    text-align: center;
}

.nm-product-wishlist-button-wrap, .nm-wishlist-button {
    display:none;
}

.wpcf7 form {
    height: auto;
    max-height: inherit;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 0px;
}

/*Footer*/
.nm-footer-bar-custom img {
    max-height: 50px;
    vertical-align: middle;
    margin: 10px;
}

@media (max-width: 400px){
	.header-mobile-alt .nm-menu li.nm-menu-offscreen .nm-menu-cart-count {
		display: none;
	}
	
	.hm-gallery-item {
		position: relative;
    	display: inline-block;
    	height: 230px;
    	flex: 1;
	}	
	
}