/*
Theme Name: Nell
Theme URI: https://www.hairandmakeup.ch
Description: Nell · Hair & Make-Up
Author: Nordlabor
Author URI: https://nordlabor.com
Template: Divi
Text Domain: nell
License: Proprietary
Version: 1.0.18
*/

/*
 * Full Height Page
 * ----------------
 */

html,
body {
    height: 100%;
}
#page-container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
#et-main-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
#main-content {
    flex-grow: 1;
}
#main-footer {
    margin-top: auto;
}


/*
 * General
 * 
 */
.et_pb_text {
    line-height: 1.6;
}
.et_pb_text p {
    padding: 0;
    margin-bottom: 1em;
}
.et_pb_text ol, .et_pb_text ul {
    list-style-position: outside;
    padding: 0 0 0 2em;
    margin-bottom: 1em;
}
html p a, 
html p a:hover {
    transition: all 1s;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: transparent;
}

@media (hover: hover) {
    html p a:hover {
        text-decoration-color: currentColor;
    }
}

/*
 * Header Style
 * 
 */

#main-header {
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
}
#main-header #logo {
    transform-origin: left top;
    transform: translateY(10%) scale(1.2);
    max-height: 100%;
}
@media (max-width: 980px) {
    #main-header #logo {
        max-height: 80%;
    }
    .et_fixed_nav #main-header {
        position: fixed;
    }
    .et_fixed_nav #main-header.et-fixed-header {
        box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
    }
}

/*
 * Mobile Menu
 * -----------
 */

.et_mobile_menu {
    visibility: hidden;
    display: block !important;
    position: fixed;
    top: 0;
    left: -100% !important;
    width: calc(100% - 6em);
    max-width: 400px;
    height: 100vh !important;
    z-index: 9999;
    padding: 1em !important;
    border: none;
}
.mobile_nav.opened .et_mobile_menu {
    visibility: visible;
    left: 0% !important;
    transition:
        left 0.3s ease-in-out,
        visibility 0s !important;
}
.mobile_nav.closed .et_mobile_menu {
    transition:
        left 0.3s ease-in-out,
        visibility 0s 0.3s !important;
}

.et_mobile_menu * {
    color: inherit;
}

.et_mobile_menu li {
    font-size: 1rem;
    height: auto;
    display: block;
}
.et_mobile_menu li > a {
    font-size: inherit;
    color: inherit;
    padding: 10% 5%;
}
.et_mobile_menu li.current-menu-item > a {
    color: var(--gcid-primary-color);
}
/*
 * Accordeon
 * 
 */

.et_pb_accordion .et_pb_module.preset--module--divi-accordion-item--default.et_pb_toggle {
    transition: all 0.5s;
}
.et_pb_accordion .et_pb_module.preset--module--divi-accordion-item--default.et_pb_toggle.et_pb_toggle_open {
    border-color: transparent;
}

/*
 * Headings
 * 
 */



h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
}

body:not(.et_pb_pagebuilder_layout) h2,
.et_pb_text_inner h2,
.et-fb-post-content .et_pb_text_inner h2 {
    font: inherit;
    line-height: inherit;
    font-weight: bold;
    margin: 0;
    padding: 0.2rem 0;
}
.et_pb_heading_container h1 {
    text-wrap: balance;
}

.rank-math-breadcrumb {
    color: var(--gcid-primary-color);
}
.rank-math-breadcrumb * {
    color: inherit;
    transition: all 1s;
}
.rank-math-breadcrumb .separator {
    margin: 0 0.25em;
}
.rank-math-breadcrumb a {
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: transparent;
}

@media (hover: hover) {
    .rank-math-breadcrumb a:hover {
        text-decoration-color: currentColor;
    }
}

/*
 * Buttons
 * 
 */

.et_pb_section .et_pb_button_wrapper .et_pb_button,
.et_pb_section .et_pb_module.et_pb_button_module_wrapper .et_pb_button {
    color: #fff;
    font-size: 1.5em;
    border-radius: 100em !important;
    border-width: 0;
    background: linear-gradient(160deg, #0099bb 0%, #cc0088 100%);
}
.et_pb_button {
    user-select: none;
    cursor: pointer;
}

/*
 * Gallery
 * 
 */

.et_pb_gallery_fullwidth .et_pb_gallery_items,
.et_pb_gallery_fullwidth .et_pb_gallery_items .et_pb_gallery_item,
.et_pb_gallery_fullwidth .et_pb_gallery_items .et_pb_gallery_item > * {
    height: 100%;
}
.et_pb_gallery_fullwidth .et_pb_gallery_items .et_pb_gallery_item img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
}

@media(hover:hover){
    a.dipl_masonry_gallery_item {
        transition: all 0.3s;
        transform-origin: center;
    }
    a.dipl_masonry_gallery_item:hover {
        transform: scale(1.2);
        z-index: 1000;
        border: 4px solid white;
        filter: brightness(1.1);
    }
}


/*
 * Hero-Image
 * 
 */
.cst-hero-image img {
    /* max-height: 80vh; */
    max-height: calc(100svh - 114px);
    object-fit: cover;
    object-position: top center;
}

/*
 * WhatsApp Box
 * 
 */
.cst-whatsapp-box {
    max-width: 42rem !important;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 5px;
    padding-right: 1em;
}

.cst-whatsapp-box::before,
.cst-whatsapp-box p::before {
    content: "";
    display: block;
    width: 40%;
    aspect-ratio: 1/1;
    border-radius: 100rem;
    background-color: silver;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url("images/whatsapp-profile.png");
}
.cst-whatsapp-box p::before {
    display: none;
}
.cst-whatsapp-box h2,
.cst-whatsapp-box p {
    padding: 0;
    margin: 0;
    line-height: 1.5;
}
.cst-whatsapp-box h2 {
    text-wrap: balance;
    font-family: inherit;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 0.25em;
}

.cst-whatsapp-box h2::after {
    content: "";
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: text-top;
    width: 1.25em;
    height: 1.25em;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("images/whatsapp-icon.svg");
}
@media (max-width: 750px) {
    .cst-whatsapp-box {
        gap: 0.75rem;
    }
    .cst-whatsapp-box h2 {
        font-size: 1.25em;
        padding: 0;
    }
    .cst-whatsapp-box p {
        display: none;
    }
    .cst-whatsapp-box p + p {
        display: block;
    }
}
@media (max-width: 600px) {
    .cst-whatsapp-box h2 {
        font-size: 1em;
    }
    .cst-whatsapp-box p {
        font-size: 0.8em;
    }
}

/*
 * Footer Menu
 * 
 */
ul.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1em;
    
}
ul.footer-menu li {
    list-style: none;
}

ul.footer-menu a {
    font-size: 1rem;
    color: var(--gcid-primary-color);
    display: block;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: transparent;
    transition: all 1s;
}

@media (hover: hover) {
    ul.footer-menu a:hover {
        text-decoration-color: currentColor;
    }
}


/*
 * Fluent Forms
 * 
 */
:root {
    --fluentform-border-color: currentColor;
    --fluentform-secondary: #333;
}
.ff-default,
.ff-default .ff-el-form-control {
    font-size: 0.85rem;
    line-height: 1.5;
}
.ff-column-container {
    margin-bottom: 2rem;
}
.ff-el-section-break {
    margin-bottom: 1.5rem;
}
.ff-el-section-break .ff-el-section-title {
    margin: 0;
    font: inherit;
    font-weight: bold;
    font-size: 1.25em;
    line-height: 1.4;
    padding: 0 0 0.2rem 0;
}
.ff-el-section-break hr {
    display: none;
}
.ff-default .ff_btn_style {
    color: #fff;
    font-size: 1.5em;
    border-radius: 100em !important;
    border-width: 0;
    background: linear-gradient(160deg, #0099bb 0%, #cc0088 100%);
}
.ff-message-success {
    box-shadow: none;
    border: none;
    padding: 100px 0 0 0;
}
.ff-message-success > * {
    color: var(--gcid-primary-color);
}
.ff-message-success > p {
    font-size: 1rem;
}
