/*
Theme Name:     Kallyas Child Theme
Theme URI:      http://kallyas.net/demo/
Description:    Child theme for the Kallyas theme
Author:         Hogash
Author URI:     http://themeforest.net/user/hogash
Template:       kallyas
Version:        4.0.0
Tags: dark, light, left-sidebar, right-sidebar, fluid-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, full-width-template, theme-options, translation-ready
Text Domain:  zn_framework
*/


/* Header stucture and styling */
@media (max-width: 767px) {
    .site-logo-img {
        max-height: 70px;
    }
.sh--light .site-header-separator {
    background: #fff;

}
	/* menu icon */
	.site-header .sh-component.main-menu-wrapper {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 99;
    margin-top: 8px;
		margin-left: 13px;
	}

	/* cart */
	.site-header .sh-component.topnav--cart {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 99;
		margin-left: 10px;
		margin-top: 5px;
	}

	/* right hand flex box */
	.site-header-col-right {

	}

	/* logo section fill */
	.site-header-main-center {
		width: 100%;
	}
    .site-header-col-right.fxb-end-x {
        justify-content: right;
    }
.site-header-top-left {
justify-content: flex-end;
}
    .site-header .siteheader-container, .site-header .site-header-main {
        position: inherit !important;
    }

}

@media (max-width: 480px) {
    .site-header-col-right.fxb-end-x {
      
    }
    .site-header .sh-component {
        margin: 5px;
    }
    .site-header h4 {
        margin: 2px 0;
    }
    .site-header .site-logo {
        padding: 0px 5px 0 0;
        padding-bottom: 0;
        margin-bottom: 10px;

    }
    .sh--dark .site-header-separator {
        display: none;
    }
}

.header-search .header-search-button {
background: #df7597 !important;
}


.festi-user-role-prices-regular-price,
.festi-user-role-prices-regular-price-lable {
	text-decoration: line-through;
}

.price {
	line-height: initial;
}

.grid-item { width: 25%; }
.grid-item--width2 { width: 25%; }

.gallery-container {
	width: 100%;
}

.force-full-image {
	width: 100% !important; /* or probably 100% in case of a grid */
    height: auto !important; 
}

.gallery-item { 
	display: inline-block;
	width: calc(25% - 4px);
	margin: 0px;
	border-width: 0px;
	padding: 6px;
	height: auto;
	/*border-radius: 5px;*/
}

.gallery-product-item { 
	display: inline-block;
	padding-right: 6px;
	
	/*border-radius: 5px;*/
}

.gallery-inner {
	padding: 0px;
	border-width: 0px;
	margin: 0px;
}

@media (max-width: 1024px) {
	.gallery-item { 
		width: calc(50% - 2px);
	}
}	

@media (max-width: 640px) {
	.gallery-item { 
		width: 100%;
	}
}	


a.gallery-add {
	background: #df7597;
	font-size: 13px !important;
	padding: 10px 20px;
	font-weight: 600;
	color: #fff !important;
	text-transform: uppercase;
	text-shadow: none;
	border-radius: 3px;
	box-shadow: none;
	position: relative;
	border: 0;
	display:inline-block;
}

a.gallery-add:hover {
	background-color: #b25e79;
}

a.gallery-add-under {
	margin-top: .5rem;
	display: block;
	text-align: center;
}

*:focus {
    outline: none;
	outline-style: none;
}

.fancybox-close-small:focus {
    outline: none;
	outline-style: none;
}

.fancybox-close-small::after {
	outline: none;
	outline-style: none;
}

.gallery-spinner {
	/* the actual path is ../images/spinner.gif */
	background: url(/wp-admin/images/wpspin_light.gif) no-repeat !important;
	-webkit-background-size: 20px 20px  !important;
	background-size: 20px 20px  !important;
}

.loader {
    border: 4px solid #dfabbc; /* Light grey */
    border-top: 4px solid #f3f3f3; /* Pink */
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    animation: spin 2s linear infinite;
	display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gallery-icon {
	position: absolute;
	width:100%;
	height:100%;
	top:0; 
	left:0; 
	background:url(/wp-content/themes/kallyas-child/mag.png) no-repeat center;
	opacity: 0;
	background-size: 100px 100px;
}

.gallery-icon:hover {
	opacity: 0.5;
}

.gallery-inner {
	position: relative;
}