/*!
Theme Name: Salon Guru V6 Parent Theme
Theme URI: https://www.salonguru.net/
Author: Salon Guru LTD
Author URI: https://www.salonguru.net/
Description: Salon Guru V6 Parent Theme
Version: 6.0.6
Tested up to: 8.3
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sgv6
Tags: featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Salon Guru v6 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
    padding-left: 4%;
    padding-right: 4%;
}

/**
 * Default inner pages that do not used PageBuilder to 1200px - inner page consistancy
 */

.entry-content .so-panel {
    max-width: 100%; /* override SG Common */
}

body:not(.home):not(.has-sidebar.post-template-default):not(
        .post-template-template-full-width
    ):not(.has-sidebar.page-template-default):not(
        .page-template-template-full-width
    ):not(.has-sidebar.contact-template-default):not(
        .has-sidebar.staff-template-default
    ):not(.staff-template-template-staff-full-width):not(
        .has-sidebar.post-template-template-no-h1
    ):not(.has-sidebar.page-template-template--no-h1):not(
        .has-sidebar.contact-template-template-no-h1
    ):not(.staff-template-template-staff-full-width)
    main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type='button'],
[type='reset'],
[type='submit'] {
    appearance: button;
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type='checkbox'],
[type='radio'] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type='search'] {
    appearance: textfield;
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type='search']::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1 > span.color-accent {
    display: none;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: 'Courier 10 Pitch', courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
page ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Links
--------------------------------------------- */
a {
    color: #000;
}

a:visited {
    color: #000;
}

a:hover,
a:focus,
a:active {
    color: #000;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

a span {
    cursor: pointer;
}

/* Forms
--------------------------------------------- */
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: #000000;
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type='button']:hover,
input[type='reset']:hover,
input[type='submit']:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type='button']:active,
input[type='button']:focus,
input[type='reset']:active,
input[type='reset']:focus,
input[type='submit']:active,
input[type='submit']:focus {
    border-color: #aaa #bbb #bbb;
}

input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
input[type='number'],
input[type='tel'],
input[type='range'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='time'],
input[type='datetime'],
input[type='datetime-local'],
input[type='color'],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='search']:focus,
input[type='number']:focus,
input[type='tel']:focus,
input[type='range']:focus,
input[type='date']:focus,
input[type='month']:focus,
input[type='week']:focus,
input[type='time']:focus,
input[type='datetime']:focus,
input[type='datetime-local']:focus,
input[type='color']:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-previous span,
.posts-navigation .nav-previous span,
.post-navigation .nav-previous span,
.comment-navigation .nav-next span,
.posts-navigation .nav-next span,
.post-navigation .nav-next span {
    font-size: 80%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    margin: 0 0 1.5em;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.entry-meta span {
    font-size: 80%;
    font-style: italic;
}

/* Sidebars / Aside */
body.has-sidebar .site aside {
    padding: 4%;
    background: #fff;
    background: linear-gradient(
        0deg,
        rgba(255, 255, 255) 0%,
        rgb(248 248 248) 100%
    );
    border-top: 1px solid #d8d8d8;
}
@media (min-width: 1000px) {
    body.has-sidebar:not(.page-template-template-no-sidebar):not(
            .page-template-template-no-sidebar-no-h1
        ):not(.page-template-template-full-width):not(
            .post-template-template-no-sidebar
        ):not(.post-template-template-no-sidebar-no-h1):not(
            .post-template-template-full-width
        ):not(.contact-template-template-no-sidebar):not(
            .contact-template-template-no-sidebar-no-h1
        ):not(.staff-template-template-staff-no-sidebar):not(
            .staff-template-template-staff-full-width
        )
        .site
        main {
        width: 75%;
        float: left;
        padding: 2%;
    }
    body.has-sidebar .site aside {
        width: 25%;
        float: right;
        padding: 4% 2%;
        border-left: 1px solid #d8d8d8;
        border-top: none;
    }
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*='wp-image-'] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 1.5em;
}

.gallery-item {
    flex: 1 0 40%;
}

@media (min-width: 1000px) {
    .gallery-item {
        flex: 1 0 20%;
    }
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex='-1']:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# SITE HEADER
--------------------------------------------------------------*/
.site-header {
    background: #f8f8f8;
    border-bottom: 1px solid #d8d8d8;
    padding: 1%;
}
.site-header .header-inner > div {
    flex-grow: 1;
    width: 100%;
    position: relative;
}

/*--------------------------------------------------------------
# Primary Menu
--------------------------------------------------------------*/
.primary-menu-wrapper {
    display: none;
}

ul.primary-menu {
    display: flex;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.0277em;
    flex-wrap: wrap;
    justify-content: center;
    margin: -0.8rem 0 0 -1.6rem;
}

.primary-menu .icon {
    display: none;
    height: 0.7rem;
    position: absolute;
    pointer-events: none;
    transform: rotate(-45deg);
    width: 1.3rem;
}

.primary-menu .icon::before,
.primary-menu .icon::after {
    content: '';
    display: block;
    background-color: currentColor;
    position: absolute;
    bottom: calc(50% - 0.1rem);
    left: 0;
}

.primary-menu .icon::before {
    height: 0.9rem;
    width: 0.2rem;
}

.primary-menu .icon::after {
    height: 0.2rem;
    width: 0.9rem;
}

.primary-menu li {
    font-size: inherit;
    line-height: 1.25;
    position: relative;
}

.primary-menu > li {
    margin: 0.8rem 0 0 1.6rem;
}

.primary-menu > li::marker {
    content: '';
}

.primary-menu > li.menu-item-has-children > a {
    /*padding-right: 2rem; */
}

.primary-menu > li > .icon {
    right: -0.5rem;
    top: calc(50% - 0.4rem);
}

.primary-menu a {
    color: inherit;
    display: block;
    line-height: 1.2;
    text-decoration: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current_page_ancestor {
    text-shadow: 0 0 0.5px #222, 0 0 0.3px #222; /*prevents jitter */
}

.primary-menu li.current-menu-item > a,
.primary-menu li.current-menu-item > .link-icon-wrapper > a {
    font-weight: 700;
}

.primary-menu li.current-menu-item > a:hover,
.primary-menu li.current-menu-item > .link-icon-wrapper > a:hover,
.primary-menu li.current-menu-item > a:focus,
.primary-menu li.current-menu-item > .link-icon-wrapper > a:focus {
    text-decoration: none;
}

/* SUB MENU */

.primary-menu ul {
    background: #000;
    border-radius: 0.4rem;
    color: #fff;
    list-style: none;
    font-size: 1rem;
    opacity: 0;
    padding: 1rem 0;
    position: absolute;
    right: 9999rem;
    top: calc(100% + 2rem);
    transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s;
    transform: translateY(0.6rem);
    width: 20rem;
    z-index: 9999;
}

.primary-menu li.menu-item-has-children:hover > ul,
.primary-menu li.menu-item-has-children:focus > ul,
.primary-menu li.menu-item-has-children.focus > ul {
    right: 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.15s linear, transform 0.15s linear;
}

.primary-menu ul::before,
.primary-menu ul::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 100%;
}

.primary-menu ul::before {
    height: 2rem;
    left: 0;
    right: 0;
}

.primary-menu ul::after {
    border: 0.8rem solid transparent;
    border-bottom-color: #333;
    right: 1.8rem;
}

.primary-menu ul a {
    background: transparent;
    border: none;
    color: inherit;
    display: block;
    padding: 0.25rem 2rem;
    transition: background-color 0.15s linear;
    width: 100%;
    font-size: 1.2rem;
}

.primary-menu ul li.menu-item-has-children > a {
    padding-right: 4.5rem;
}

.primary-menu ul li.menu-item-has-children .icon {
    position: absolute;
    right: 1.5rem;
    top: calc(50% - 0.5rem);
}

/* DEEP DOWN */

.primary-menu ul ul {
    top: -1rem;
}

.primary-menu ul li.menu-item-has-children:hover > ul,
.primary-menu ul li.menu-item-has-children:focus > ul,
.primary-menu ul li.menu-item-has-children.focus > ul {
    right: calc(100% + 2rem);
}

.primary-menu ul ul::before {
    bottom: 0;
    height: auto;
    left: auto;
    right: -2rem;
    top: 0;
    width: 2rem;
}

.primary-menu ul ul::after {
    border-bottom-color: transparent;

    /*rtl:ignore*/
    border-left-color: #000;
    bottom: auto;
    right: -1.6rem;
    top: 2rem;
}

.rtl .primary-menu ul ul::after {
    transform: rotate(180deg);
}

/*
 * Enable nav submenu expansion with tapping on arrows on large-viewport
 * touch interfaces (e.g. tablets or laptops with touch screens).
 * These rules are supported by all browsers (>IE11) and when JS is disabled.
 */
@media (any-pointer: coarse) {
    .primary-menu > li.menu-item-has-children > a {
        padding-right: 0;
        margin-right: 2rem;
    }

    .primary-menu ul li.menu-item-has-children > a {
        margin-right: 4.5rem;
        padding-right: 0;
        width: unset;
    }
}

/* Repeat previous rules for IE11 (when JS enabled for polyfill). */
body.touch-enabled .primary-menu > li.menu-item-has-children > a {
    padding-right: 0;
    margin-right: 2rem;
}

body.touch-enabled .primary-menu ul li.menu-item-has-children > a {
    margin-right: 4.5rem;
    padding-right: 0;
    width: unset;
}

/*--------------------------------------------------------------
# Menu Modal
--------------------------------------------------------------*/
.menu-modal {
    background: rgb(0 0 0 / 60%);
    display: none;
    opacity: 0;
    justify-content: right;
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    bottom: 0;
    left: -99999rem;
    right: 99999rem;
    top: 0;
    transition: opacity 0.25s ease-in, left 0s 0.25s, right 0s 0.25s;
    z-index: 10009;
}

.admin-bar .menu-modal {
    top: 46px;
}

@media (min-width: 782px) {
    .admin-bar .menu-modal {
        top: 32px;
    }
}

.menu-modal.show-modal {
    display: flex;
}

.menu-modal.active {
    left: 0;
    opacity: 1;
    right: 0;
    transition: opacity 0.25s ease-out;
}

.menu-modal-inner {
    background: rgb(255 255 255 / 80%);
    display: flex;
    justify-content: stretch;
    overflow: auto;
    -ms-overflow-style: auto;
    width: auto;
    border-radius: 0;
    margin-top: 0;
    box-shadow: 0 0 5px #222020;
}

.menu-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.menu-modal:not(.fullwidth) button.close-nav-toggle {
    align-items: center;
    display: flex;
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    justify-content: space-between;
    padding: 0.5rem 1rem 0.5rem 0.9em;
    width: 100%;
    cursor: pointer;
    background: #333;
    border: none;
    border-radius: 0;
}

.menu-modal:not(.fullwidth) button.close-nav-toggle svg {
    height: 1.6rem;
    width: 1.6rem;
    filter: invert(1);
}

.menu-modal:not(.fullwidth) button.close-nav-toggle .toggle-text {
    margin-right: 2.1rem;
    color: #fff;
}

.menu-modal .menu-top {
    flex-shrink: 0;
}

.menu-modal:not(.fullwidth) .menu-modal-inner > .sidebar-wrapper {
    display: none;
}
.menu-modal:not(.fullwidth) .sidebar-wrapper {
    padding: 1rem 2rem;
    background: transparent;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0) 100%
    );
}
.menu-modal:not(.fullwidth) .sidebar-wrapper > div {
    margin-bottom: 1rem;
}
.menu-modal:not(.fullwidth) .sidebar-wrapper div {
    max-width: 100%;
}

/* Main Menu --------------------------------- */

.modal-menu {
    position: relative;
    left: calc(50% - 50vw);
    width: 100vw;
    margin: 0;
    padding: 0 0 1rem 0;
    overflow: hidden;
}

.modal-menu li {
    border-color: transparent;
    display: flex;
    flex-wrap: wrap;
    line-height: 1;
    justify-content: flex-start;
    margin: 0;
}

.modal-menu > li:last-child {
    border-bottom-width: 0.1rem;
}

.modal-menu .ancestor-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.modal-menu a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    width: 100%;
    color: inherit;
}

.modal-menu a:focus,
.modal-menu a:hover,
.modal-menu li.current-menu-item > .ancestor-wrapper > a,
.modal-menu li.current_page_ancestor > .ancestor-wrapper > a {
    /*font-weight:700;*/
    text-shadow: 0 0 0.5px #222, 0 0 0.3px #222; /*prevents jitter */
}

button.sub-menu-toggle {
    border: none;
    border-left: 0.1rem solid #dedfdf;
    flex-shrink: 0;
    margin: 0;
    background: transparent;
}

button.sub-menu-toggle svg {
    height: 0.9rem;
    transition: transform 0.15s linear;
    width: 1.5rem;
}

button.sub-menu-toggle.active svg {
    transform: rotate(180deg);
}

.modal-menu ul {
    display: none;
    margin: 0;
    width: 100%;
}

.modal-menu ul li {
    border-left: 0.75rem solid #898989;
}

.modal-menu ul li a {
    color: inherit;
    font-size: inherit;
    font-weight: 500;
}

/* Main menu animation ----------------------- */

.menu-wrapper .menu-item {
    position: relative;
}

.menu-wrapper .active {
    display: block;
}

.menu-wrapper.is-toggling {
    pointer-events: none;
}

.menu-wrapper.is-toggling .menu-item {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
}

.menu-wrapper.is-toggling .menu-bottom .social-menu .menu-item {
    width: auto;
}

.menu-wrapper.is-animating .menu-item,
.menu-wrapper.is-animating .toggling-target {
    transition-duration: 250ms;
}

.menu-wrapper.is-animating .menu-item {
    transition-property: transform;
}

.menu-wrapper.is-toggling .toggling-target {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
}

.menu-wrapper.is-toggling .toggling-target.active {
    opacity: 0;
}

.menu-wrapper.is-animating.is-toggling .toggling-target {
    display: block;
    transition-property: opacity;
    opacity: 0;
}

.menu-wrapper.is-animating.is-toggling .toggling-target.active {
    opacity: 1;
}

.menu-wrapper.is-toggling .modal-menu > li:last-child li {
    border-top-color: transparent;
    border-bottom-width: 0.1rem;
}

@media (prefers-reduced-motion: reduce) {
    .menu-wrapper.is-animating .menu-item,
    .menu-wrapper.is-animating .toggling-target {
        transition-duration: 1ms !important;
    }
}
/* Expanded Menu ----------------------------- */

.expanded-menu {
    display: none;
}

.mobile-menu {
    display: block;
}

/* Full Width Menu (SMUK Style Design) ----------------------------- */
.menu-modal.fullwidth .menu-modal-inner {
    background: none;
    width: 100%;
}

.menu-modal.fullwidth .menu-modal-inner .menu-wrapper {
    width: 100%;
}

.menu-modal.fullwidth .menu-modal-inner .menu-wrapper button.toggle {
    filter: invert(1);
    border: none;
}

.menu-modal.fullwidth
    .menu-modal-inner
    .menu-wrapper
    .menu-top
    > button.toggle {
    display: block;
    float: right;
    background: none;
    padding: 2rem;
}

.menu-modal.fullwidth
    .menu-modal-inner
    .menu-wrapper
    .menu-top
    > button.toggle
    svg {
    width: 50px;
    height: 50px;
}

.menu-modal.fullwidth
    .menu-modal-inner
    .menu-wrapper
    .menu-top
    > button.toggle
    span.toggle-text {
    display: none;
}

.menu-modal.fullwidth
    .menu-modal-inner
    .menu-wrapper
    .sg-fullwidth-menu-logo
    img {
    width: 125px;
    height: 125px;
    object-fit: contain;
    padding: 1rem;
    max-width: 50%;
}

.menu-modal.fullwidth .menu-modal-inner .menu-wrapper ul.modal-menu {
    display: block;
    width: 75vw;
    margin: 0 auto;
}

.menu-modal.fullwidth
    .menu-modal-inner
    .menu-wrapper
    ul.modal-menu
    li.menu-item {
    display: inline;
    width: inherit;
    border-color: transparent;
}

.menu-modal.fullwidth
    .menu-modal-inner
    .menu-wrapper
    ul.modal-menu
    li.menu-item
    a {
    color: #fff;
    padding: 1rem;
    font-size: 22px;
    font-weight: 300;
}

.menu-modal.fullwidth
    .menu-modal-inner
    .menu-wrapper
    ul.modal-menu
    li.menu-item.current-menu-item
    > a {
    font-weight: 900;
}

body.is-desktop
    .menu-modal.fullwidth
    .menu-modal-inner
    .menu-wrapper
    ul.sub-menu {
    display: block;
    padding: 0;
}
body.is-mobile
    .menu-modal.fullwidth
    .menu-modal-inner
    .menu-wrapper
    ul.sub-menu {
    padding: 0 2rem;
}
body.is-mobile
    .menu-modal.fullwidth
    .menu-modal-inner
    .menu-wrapper
    ul.sub-menu
    .ancestor-wrapper {
    border-left: 1px solid #fff;
}

.menu-modal.fullwidth .menu-modal-inner .menu-wrapper ul.sub-menu li {
    border: none;
}

.menu-modal.fullwidth
    .menu-modal-inner
    .menu-wrapper
    .modal-menu
    > li:last-child {
    border: none;
}

.menu-modal.fullwidth .sidebar-wrapper {
    max-width: 100%;
    padding: 2rem 4% 4%;
    margin-top: 1rem;
    color: #fff;
    border-top: 1px solid #919191;
    background: rgb(0 0 0 / 35%);
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0) 100%
    );
}
.menu-modal.fullwidth .sidebar-wrapper > div {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

.menu-modal.fullwidth .sidebar-wrapper span,
.menu-modal.fullwidth .sidebar-wrapper p,
.menu-modal.fullwidth .sidebar-wrapper a {
    color: #fff;
}

.menu-modal .sidebar-wrapper .map-wrapper {
    max-width: 80vw !important;
}

@media (min-width: 1000px) {
    .menu-modal.fullwidth .menu-modal-inner .menu-wrapper ul.modal-menu {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }
    .menu-modal.fullwidth
        .menu-modal-inner
        .menu-wrapper
        ul.modal-menu
        > li:first-child
        a {
        font-size: 50px;
        font-weight: bold;
        text-transform: uppercase;
    }

    .menu-modal.fullwidth
        .menu-modal-inner
        .menu-wrapper
        .sg-fullwidth-menu-logo
        img {
        width: 200px;
        height: 200px;
    }

    .menu-modal.fullwidth .menu-modal-inner .menu-wrapper ul.modal-menu {
        padding-top: 8vh;
    }
}

/* Menu Bottom ------------------------------- */

.menu-bottom {
    flex-shrink: 0;
    padding: 4rem 0;
}

.menu-bottom nav {
    width: 100%;
}

.menu-copyright {
    display: none;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
}

.menu-copyright a:focus,
.menu-copyright a:hover {
    text-decoration: underline;
}

.menu-bottom .social-menu {
    justify-content: center;
}

/*--------------------------------------------------------------
# Header Toggles
--------------------------------------------------------------*/
.header-toggles {
    display: none;
}

.primary-menu-wrapper + .header-toggles {
    margin-left: 3rem;
}

.nav-toggle {
    position: absolute;
    bottom: 0;
    right: 0;
    top: initial;
    width: 3rem;
    background: #fff;
}

.nav-toggle .toggle-icon,
.nav-toggle svg {
    height: 1rem;
    width: 1.5rem;
}

.nav-toggle .toggle-inner {
    padding-top: 0.8rem;
}

.header-inner
    .primary-menu-wrapper
    + .header-toggles
    .toggle-wrapper:first-child::before {
    content: '';
}

.nav-toggle-wrapper:not(.has-expanded-menu) {
    display: none;
}

.toggle-inner {
    position: static;
}

.toggle-inner .toggle-text {
    display: none;
    left: 0;
    right: 0;
    text-align: center;
    top: calc(100% - 0.3rem);
    width: auto;
}

.header-toggles:only-child .nav-toggle .toggle-inner {
    padding-top: 0;
}

.header-toggles:only-child .toggle-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.header-toggles:only-child .toggle-inner .svg-icon {
    order: 1;
}

.header-toggles:only-child .toggle-inner .toggle-text {
    position: static;
    padding-right: 20px;
    font-size: 15px;
    color: inherit;
}

@media (min-width: 1000px) {
    /* Site Header --------------------------- */
    .header-inner .menu-modal-inner {
        align-items: center;
        display: flex;
        justify-content: center;
        flex-flow: column wrap;
    }

    .header-titles-wrapper {
        padding: 0;
        text-align: left;
    }

    .header-titles {
        align-items: baseline;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin: -1rem 0 0 -2.4rem;
    }

    .header-titles .site-title,
    .header-titles .site-logo,
    .header-titles .site-description {
        margin: 1rem 0 0 2.4rem;
    }

    .wp-custom-logo .header-titles {
        align-items: center;
    }

    /* HEADER NAVIGATION */

    .header-navigation-wrapper {
        align-items: center;
        display: flex;
    }

    .primary-menu-wrapper {
        display: block;
        width: 100%;
    }

    /* HEADER TOGGLES */

    .mobile-search-toggle,
    .mobile-nav-toggle {
        display: none !important;
    }

    .primary-menu-wrapper + .header-toggles {
        margin-left: 3rem;
    }

    .header-toggles {
        display: flex;
        flex-shrink: 0;
        justify-content: right;
    }

    .header-inner .toggle {
        height: 2rem;
        padding: 0 1rem;
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        top: auto;
        width: auto;
    }

    .header-inner .toggle-wrapper {
        position: relative;
    }

    .header-inner .toggle-wrapper::before {
        background: #dedfdf;
        content: '';
        display: block;
        height: 2.7rem;
        position: absolute;
        left: 0;
        top: calc(50% - 1.35rem);
        width: 0.1rem;
    }

    .header-inner .toggle-wrapper:first-child::before {
        content: none;
    }

    .header-inner
        .primary-menu-wrapper
        + .header-toggles
        .toggle-wrapper:first-child::before {
        content: '';
        display: none;
    }

    .nav-toggle-wrapper:not(.has-expanded-menu) {
        display: none;
    }

    .toggle-inner {
        position: static;
    }

    .toggle-inner .toggle-text {
        left: 0;
        right: 0;
        text-align: center;
        top: calc(100% - 0.3rem);
        width: auto;
    }

    .header-toggles:only-child .nav-toggle .toggle-inner {
        padding-top: 0;
    }

    .header-toggles:only-child .toggle-inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }

    .header-toggles:only-child .toggle-inner .svg-icon {
        order: 1;
    }

    .header-toggles:only-child .toggle-inner .toggle-text {
        position: static;
        padding-right: 20px;
        font-size: 15px;
        color: inherit;
    }
}

@media (min-width: 1220px) {
    /* PRIMARY MENU */

    ul.primary-menu {
        margin: -0.8rem 0 0 -2.5rem;
    }

    .primary-menu > li {
        margin: 0.8rem 0 0 1.6rem;
    }

    /* Site Header --------------------------- */

    .site-title {
        font-size: 2.4rem;
        font-weight: 700;
    }

    .site-description {
        display: block;
    }

    .site-logo img {
        max-height: 9rem;
        transition: height 0.15s linear, width 0.15s linear,
            max-height 0.15s linear;
    }

    /* HEADER TOGGLES */

    .toggle-inner .toggle-text {
        font-size: 1.2rem;
    }

    .search-toggle {
        left: 2rem;
    }

    /* Menu Modal ---------------------------- */
    .menu-modal:not(.fullwidth) .sidebar-wrapper {
        display: block !important;
        width: 600px;
        max-width: 100%;
        margin: 0 auto;
    }
    .menu-modal:not(.fullwidth) button.close-nav-toggle {
        min-width: 600px;
    }

    .modal-menu {
        left: auto;
        width: 100%;
    }

    .modal-menu:not(.fullwidth) > li > a,
    .modal-menu:not(.fullwidth) > li > .ancestor-wrapper > a {
        font-size: 120%;
        padding: 1rem 4rem 1rem 1rem;
    }

    .modal-menu:not(.fullwidth)
        > li
        > .ancestor-wrapper
        > button.sub-menu-toggle
        svg {
        height: 1rem;
        width: 1rem;
    }

    .menu-bottom {
        align-items: center;
        display: flex;
        justify-content: space-between;
        padding: 4.4rem 0;
    }

    .menu-copyright {
        display: block;
        flex-shrink: 0;
        margin-right: 4rem;
    }

    /* Modal Search Form ------------------------- */

    .search-modal form {
        position: relative;
        width: 100%;
    }

    .search-untoggle svg {
        height: 2.5rem;
        width: 2.5rem;
    }

    .search-modal .search-field {
        border: none;
        font-size: 3.2rem;
        height: 14rem;
    }

    .search-modal .search-field::-moz-placeholder {
        line-height: 4.375;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background: #f8f8f8;
    border-top: 1px solid #d8d8d8;
    padding: 4%;
    clear: both;
}
.site-footer .top-link {
    position: fixed;
    bottom: 0;
    left: 0;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 0 5px 0 0;
    padding: 4px;
}
.site-footer a.to-the-top {
    color: #6d6d6d;
}

.to-the-top-long {
    display: none;
}

@media (min-width: 700px) {
    .to-the-top-long {
        display: inline;
    }

    .to-the-top-short {
        display: none;
    }
}
