/**
 * Theme Name:     Spectra One Child
 * Author:         WEB.WORK
 * Template:       spectra-one
 * Text Domain:	   spectra-one-child
 * Description:    Custom spectra child theme
 */



/* DEFAULT */
p:last-child{
	margin-bottom: 0;
}
p:only-child{
	margin-top: 0;
	margin-bottom: 0;
}
p:first-child{
	margin-top: 0;
}
strong{
	font-weight: 700;
}
img,
.mobile-icon{
	user-select: none;
}
.wp-block-uagb-advanced-heading:not(:only-child){
	margin-bottom: 24px;
}
.entry-content ul{
	padding-left: 1rem;
}

body.logged-in header .sticky{
	top: 30px !important;
	z-index: 1000 !important;
}
html{
	scroll-behavior: smooth;
}



/* HEADER */
header .sticky{
	position: fixed;
	top: 0;
	z-index: 1000;
	width: 100%;
}
.menu-icon{
	cursor: pointer;
	z-index: 100;
	display: flex;
}
.menu-close-icon{
	display: none;
}
body:has(.header-navigation-mobile-menu.active) .menu-close-icon{
	display: flex;
}
body:has(.header-navigation-mobile-menu.active) .menu-open-icon{
	display: none;
}
.header-navigation-mobile-menu{
	position: fixed;
    width: 100%;
    top: -100%;
    z-index: 10;
	left: 0;
	transition: 0.2s;
	height: calc(100vh - 61px);
}
.header-navigation-mobile-menu.active{
	top: 61px;
}
body:has(.header-navigation-mobile-menu.active){
	overflow-y: hidden;
}
.header-navigation-mobile-menu > div{
	min-height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}




/* CONTENT */
.uagb-tabs__wrap .uagb-tabs__body-container{
	padding: 0 0 0 30px ;
}
.wp-block-uagb-tabs{
	justify-content: space-between;
}
body .entry-content .wp-block-uagb-restaurant-menu .wp-block-uagb-restaurant-menu-child .uagb-rm__content {
    align-items: flex-start;
    display: inline-flex;
    align-items: center;
}
input[type="submit"],
.form-link{
	background-color: var(--wp--preset--color--heading) !important;
    border-radius: 0.375em !important;
    border-color: var(--wp--preset--color--primary) !important;
    border-width: 0 !important;
    color: var(--wp--preset--color--background) !important;
    font-family: inherit !important;
    font-size: var(--wp--preset--font-size--small) !important;
    font-weight: var(--wp--custom--font-weight--medium) !important;
    line-height: var(--wp--custom--line-height--initial) !important;
    padding: calc(0.667em + 2px) calc(1.333em + 2px) !important;
    text-decoration: none !important;
	cursor: pointer !important;
}
.gform_required_legend{
	display: none;
}
footer form{
	display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
}
footer form > div{
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

@media screen and (max-width: 968px){
	
	/* FOOTER */
	ul.wp-block-page-list,
	ul.wp-block-navigation__container{
		flex-direction: column !important;
	}
	footer form{
		display: block !important;
	}

}
