/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Creative Peppers Inc
 Author URI:     https://creativepeppers.com/
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
body{ font-weight: 400;}
.container, .et_pb_row{width: 90%;}
/*Mobile Menu*/
#main-header .et_mobile_menu li ul.hide {
    display: none !important;
}
#mobile_menu .menu-item-has-children {
    position: relative;
}
#mobile_menu .menu-item-has-children > a {
    background: transparent;
}
#mobile_menu .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}
span.menu-closed:before {
    content: "\4c";
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-family: ETmodules;
}
span.menu-closed.menu-open:before {
    content: "\4d";
}
/*Mobile Menu End*/
header#main-header .logo_container >a {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    height: 85%;
}

header#main-header .logo_container >a #logo {
	max-height: 100%;
	max-width: 100%;
}
body.home header#main-header .logo_container >a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: url(https://www.giddyupdev.co.za/audioalchemy/wp-content/uploads/2024/10/Header-logo-transparent.png);
    background-size: auto 100%;
	background-repeat: no-repeat;
}
body.home header#main-header .logo_container >a #logo{opacity: 0;}
.work-no-result {
  padding: 50px;
}
.work-no-result p {
  border: 1px solid #dfbebe;
  border-radius: 4px;
  padding: 15px !important;
  max-width: 500px;
  margin: auto;
  color: #c16b6b;
  text-align: center;
}
@media (min-width: 981px) {
.work-row .work-box-item:nth-child(1) { grid-area: left; }
.work-row .work-box-item:nth-child(2) { grid-area: right; }
.work-row .work-box-item:nth-child(3) { grid-area: right_bottom; }

.work-listing .work-row {
    display: grid;
  grid-template-areas:
    'left left left left right right'
    'left left left left right_bottom right_bottom';
  	gap: 5px;
	margin-bottom: 5px;
}
.work-listing .work-row:nth-of-type(even) {
  grid-template-areas:
    'left left right_bottom right_bottom right_bottom right_bottom'
    'right right right_bottom right_bottom right_bottom right_bottom';
}
/* .work-row:nth-of-type(even) .work-box-item:nth-child(1) { grid-area: n_left; }
.work-row:nth-of-type(even) .work-box-item:nth-child(2) { grid-area: n_right; }
.work-row:nth-of-type(even) .work-box-item:nth-child(3) { grid-area: n_right_bottom; }

.work-listing .work-row:nth-of-type(even) {
    display: grid;
  grid-template-areas:
    'n_right n_right n_left n_left n_left n_left'
    'n_right_bottom n_right_bottom n_left n_left n_left n_left';
  	gap: 5px;
	margin-bottom: 5px;
} */
.work-listing .work-row.last-row {
    display: flex;
}
	.work-listing .work-row.last-row .work-box-item{
		width: 100%;
	}
}
.work-box-item {
    position: relative;
	transition: all 0.3s ease-in-out;
	overflow: hidden;
}
.work-box-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.2);
}
.work-box-item img.f-img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}
.work-box-item a.vimeo-video {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    display: flex;
    justify-content: center;
	align-items: center;
	opacity: 0;
	transition: all 0.3s ease-in-out;
}
.work-box-item a.vimeo-video svg {
    width: 80px;
    height: 80px;
	transform: translateY(-50%);
}
.work-box-item .work-box-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;  
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: translateY(100%);
}
.work-box-item:hover a.vimeo-video, .work-box-item:hover .work-box-details{
	opacity: 1;
}
.work-box-item:hover .work-box-details{transform: translateY(0%);}
.work-box-item .work-box-details span.title{text-transform: uppercase;}
.work-box-item .work-box-details span{display: block;line-height: 1.2;}

@media (max-width: 980px) {
	.work-box-item a.vimeo-video, .work-box-item .work-box-details{
		opacity: 1;
	}
	.work-box-item {
		margin-bottom: 5px;
	}
	#main-header .et_mobile_menu {
		margin-top: 1px;
	}
	.work-box-item a.vimeo-video svg {
		width: 40px;
		height: 40px;
	}
}