/*
 Theme Name: The Still Room Norwich
 Theme URI: https://thestillroom-norwich.co.uk
 Description: Custom GeneratePress child theme
 Author: The Still Room Norwich
 Template: generatepress
 Version: 1.0
*/

/* FONTS */
@font-face {
    font-display: swap;
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/cormorant-garamond-v21-latin-300.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/cormorant-garamond-v21-latin-300italic.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/jost-v20-latin-300.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Jost';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/jost-v20-latin-300italic.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/jost-v20-latin-regular.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Jost';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/jost-v20-latin-italic.woff2') format('woff2');
}

/* GENERAL */
h1.entry-title {
    margin-bottom: 20px;
}

a {
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.gb-button {
    border-radius: 24px;
}

/* HEADER */
.site-header {
    padding-top: 20px;
}

.main-navigation .main-nav > ul {
    justify-content: end;
}
.main-navigation .main-nav ul li a {
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 40px;
}
.main-navigation .main-nav ul li:last-child a {
    padding-right: 0;
}

@media (max-width: 768px) {
    .has-inline-mobile-toggle .inside-header {
        padding-top: 0;
        padding-bottom: 0;
    }
    .site-header .header-image {
        width: 150px;
    }
    .menu-toggle {
        padding: 0;
        line-height: normal;
        font-size: 30px;
    }
    .mobile-menu-control-wrapper .menu-toggle,
    .mobile-menu-control-wrapper .menu-toggle:hover,
    .has-inline-mobile-toggle #site-navigation.toggled {
        background-color: transparent;
    }
}

/* CONTENT */
.entry-content:not(:first-child) {
    margin-top: 0;
}

/* FOOTER */
.site-footer {
    margin-top: 4rem;
    font-size: 1rem;
}
.footer-widgets-container {
    padding: 80px 40px;
}

.inside-site-info {
    padding-top: 10px;
    padding-bottom: 10px;
}
.copyright-bar {
    display: none;
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 2rem;
    }
    .footer-widgets-container {
        padding: 30px 30px 50px;
    }
}

/* PLUGIN - WP FORMS */
div.wpforms-container-full:not(:empty) {
    margin: 0;
}

/* GOOGLE MAPS */
.responsive-map{
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;
    height: 0;
}
.responsive-map iframe{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

/* FLODESK */
.flodesk-footer form {
    padding: 0 !important;
}
.flodesk-footer form [class$="__title"] {
    margin: 0 0 5px !important;
}
.flodesk-footer form [class$="__title"] strong {
    font-weight: 700 !important;
}
.flodesk-footer form [class$="__subtitle"] {
    font-weight: 300 !important;
}
.flodesk-footer form [class$="__title"],
.flodesk-footer form [class$="__subtitle"] {
    color: #fff !important;
}
.flodesk-footer form [class$="__fields"] input {
    background: #fff !important;
}
.flodesk-footer form [class$="__footer"] {
    text-align: left !important;
}
.flodesk-footer form [class$="__footer"] button:hover {
    background: var(--botanical) !important;
}