/**
 * Theme Name:   Amy Philippen Theme
 * Template:     twentytwenty
 * Version:      1.0.0
 */


/* ----------------------------------------------------------------------------
 * Importing Fonts
 * ------------------------------------------------------------------------- */

@import url("fonts/amiri.css");

@font-face {
    font-family: 'Gotham Bold';
    src: url('fonts/gotham-bold-webfont.woff2') format('woff2'), url('fonts/gotham-bold-webfont.woff') format('woff'), url('fonts/gotham-bold-webfont.ttf') format('truetype');
}

@font-face {
    font-family: 'Gotham Book';
    src: url('fonts/gotham-book-webfont.woff2') format('woff2'), url('fonts/gotham-book-webfont.woff') format('woff'), url('fonts/gotham-book-webfont.ttf') format('truetype');
}

@font-face {
    font-family: 'Gotham Medium';
    src: url('fonts/gotham-medium-webfont.woff2') format('woff2'), url('fonts/gotham-medium-webfont.woff') format('woff'), url('fonts/gotham-medium-webfont.ttf') format('truetype');
}

/* ----------------------------------------------------------------------------
 * Global
 * ------------------------------------------------------------------------- */

body {
    background: #fff;
    position: relative !important;
    font-size: 1.6rem;
}

#site-header {
    background: unset;
}

header.entry-header,
footer#site-footer {
    display: none;
}

a,
path {
    transition: none;
}

:root {
    --global--font-size-base: 1rem;
    --heading--font-size-h1: 3.5rem;
    --global--line-height-body: 1.3;
}

a {
    color: #fff;
}

.site-logo img {
    max-height: 9rem;
}

@media (min-width: 700px) {
    .site-logo img {
        max-height: 11rem;
    }
}

@media (max-width: 599px) {
    .is-hidden-on-mobile {
        display: none
    }
}

.privacy-policy {
    color: unset;
}
@media (min-width: 700px){
.privacy-policy {
    margin: 0;
  }}


/* ----------------------------------------------------------------------------
 * Fonts
 * ------------------------------------------------------------------------- */
body,
input,
textarea,
button,
.button,
.faux-button,
.faux-button.more-link,
.wp-block-button__link,
.wp-block-file__button
{
    font-family: "Gotham Medium", sans-serif;
}

@supports (font-variation-settings: normal) {
    body,
	input,
	textarea,
	button,
	.button,
	.faux-button,
	.faux-button.more-link,
	.wp-block-button__link,
	.wp-block-file__button {
        font-family: "Gotham Medium", sans-serif;
    }
}

.entry-content {
    font-family: "Gotham Medium", sans-serif;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: 'Amiri', serif;
}

.primary-menu li.menu-item:not(.ap-golden-button) {
    font-family: "Gotham Bold", sans-serif;
}

.widget_text p,
.widget_text ol,
.widget_text ul,
.widget_text dl,
.widget_text dt,
.widget-content .rssSummary {
    font-family: inherit
}

@media (min-width: 1220px) {

    h1,
    .heading-size-1 {
        font-size: 7.2rem;
    }

    .widget-content {
        font-size: 1.6rem;
    }
}

@media (min-width: 700px) {
    .entry-content {
        font-size: 1.6rem;
    }
}


/* ----------------------------------------------------------------------------
 * Backgrounds
 * ------------------------------------------------------------------------- */

.ap-background-layer {
    width: 100%;
    max-width: 172rem;
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0 !important;
    overflow: hidden;
}

img.ap-background-img-top,
img.ap-background-img-bottom {
    width: 172rem;
    max-width: 172rem;
}

img.ap-background-img-bottom {
    position: absolute;
    bottom: 0;
    z-index: -2;
    right: 0;
}

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

.primary-menu a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0.25em 1em 1em 1em;
}

ul.primary-menu {
    align-items: baseline;
    font-size: 1.6rem;
}

.primary-menu li.current-menu-item>a,
.primary-menu li.current-menu-item>.link-icon-wrapper>a {
    text-decoration: none;
    background-image: url("data:image/svg+xml;utf8,<svg width='8' height='8' xmlns='http://www.w3.org/2000/svg'><g><path stroke='white' id='svg_1' d='m7.14685,0.24936a0.5,0.5 0 0 1 0,0.708l-6,6a0.5,0.5 0 0 1 -0.708,-0.708l6,-6a0.5,0.5 0 0 1 0.708,0z' fill-rule='evenodd'/></g></svg>");
    background-position: 0 2em;
    background-repeat: repeat-x;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current_page_ancestor {
    text-decoration: none;
    background-image: url("data:image/svg+xml;utf8,<svg width='8' height='8' xmlns='http://www.w3.org/2000/svg'><g><path stroke='%23d9a640' id='svg_1' d='m7.14685,0.24936a0.5,0.5 0 0 1 0,0.708l-6,6a0.5,0.5 0 0 1 -0.708,-0.708l6,-6a0.5,0.5 0 0 1 0.708,0z' fill-rule='evenodd'/></g></svg>");
    background-repeat: repeat-x;
    background-position: 0 2em;
    color: #d9a640;
}

.primary-menu .ap-golden-button a:hover,
.primary-menu .ap-golden-button a:focus {
    color: #fff;
    background-image: none;
}

.header-inner .toggle path {
    fill: #fff;
}

.nav-toggle {
    bottom: unset;
    top: unset;
}

.toggle-text {
    display: none
}

ul.polylang_langswitcher {
    display: flex;
    list-style: none;
    color: #fff;
    font-weight: 500;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: space-between;
    justify-content: flex-end;
    align-items: flex-start;
    margin-bottom: 0;
}

.header-inner.section-inner {
    padding-top: 0;
}

.polylang-langswitcher-outer.header-inner.section-inner {
    justify-content: flex-end;
    padding: 0.25em 0;
}

ul.polylang_langswitcher a {
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem;
    font-family: "Gotham Bold", sans-serif;
}

ul.polylang_langswitcher a:hover,
ul.polylang_langswitcher a:focus {
    text-decoration: underline;
}

ul.polylang_langswitcher li:not(.current-lang) a {
    color: #d9a640;
}

ul.polylang_langswitcher li:not(.lang-item-first):before {
    content: "/";
    padding: 0 0.5em;
}

li.lang-item {
    margin: 0;
}


/* ----------------------------------------------------------------------------
 * Let's connect button
 * ------------------------------------------------------------------------- */

nav:not(.mobile-menu) li.ap-golden-button a,
div.ap-golden-button a{
    font-weight: 400;
    background-color: #d9a640;
    background: #d9a640;
    border-radius: 0.75em;
    padding: 0.5em 2.5em;
    text-decoration: none !important;
}

nav:not(.mobile-menu) li.ap-golden-button a:hover,
nav:not(.mobile-menu) li.ap-golden-button a:focus,
div.ap-golden-button a:hover,
div.ap-golden-button a:focus {
    text-decoration: none !important;
}
.wp-block-buttons{
	margin-top: 2em;
}
/* ----------------------------------------------------------------------------
 * Page
 * ------------------------------------------------------------------------- */

.post-inner {
    padding-top: 0 !important;
}
@media (max-width: 599px){
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.mobile-place-first {
		order: -1;
	}
}

@media (max-width: 700px){
  .entry-content .wp-block-columns h1, .entry-content .wp-block-columns h2, .entry-content .wp-block-columns h3, .entry-content .wp-block-columns h4, .entry-content .wp-block-columns h5, .entry-content .wp-block-columns h6 {
      margin: 3.5rem 0 2rem;
    }
}

/* ----------------------------------------------------------------------------
 * Slides
 * ------------------------------------------------------------------------- */

.wp-block-cb-carousel {
    margin: 8rem auto;
}

div.wp-block-cb-slide.slick-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
}

div.wp-block-cb-slide p:first-child {
    font-family: 'Amiri', serif;
    font-size: 3.2rem;
}


/* ----------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------- */

.footer-inner {
    background-color: #aaa18f;
    max-width: 168rem;
}

.footer-inner a {
    color: #fff;
    text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus {
    text-decoration: underline;
}

.footer-widgets-outer-wrapper {
    padding: 3rem 3rem;
}

@media (min-width: 700px) {
    .footer-widgets-outer-wrapper {
        padding: 3rem 3rem;
    }
}

.footer-widgets .widget {
    margin-top: 0 !important;
}

.footer-widgets .widget p {
    margin: 0;
}

.widget .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.widget .menu li:not(:first-child):before {
    content: "|";
    padding: 0 0.5em;
    color: #fff;
}

.widget_nav_menu a {
    font-weight: 500;
}

.widget_archive li,
.widget_categories li,
.widget_pages li,
.widget_meta li,
.widget_nav_menu li {
    margin: 0;
}
.footer-nav-widgets-wrapper{
	background: #aaa18f;
}
@media (max-width: 599px) {
    .footer-widgets-outer-wrapper {
        font-size: 1.4rem;
    }

    .footer-widgets {
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }
}

/* ----------------------------------------------------------------------------
 * Mailchimp
 * ------------------------------------------------------------------------- */
#mc_embed_signup {
	font-family: "Gotham Medium", sans-serif;
	color: #fff;
}
#mc_embed_signup form {
    padding: 0 !important;
}
#mc_embed_signup .mc-field-group {
    padding-bottom: 1em !important;
}
#mc-embedded-subscribe-form .mc_fieldset {
    padding: 0px !important;
}
#mc_embed_signup .brandingLogo {
	display: none;
}
#mc_embed_signup .button {
	font-weight: 400 !important;
    background-color: #d9a640 !important;
    background: #d9a640 !important;
    border-radius: 0.75em !important;
    padding: 0.5em 2.5em !important;
    text-decoration: none !important;
	height: unset !important;
    line-height: unset !important;
}
#mc_embed_signup div#mce-responses { 
	margin: 0 !important;
}
#mc_embed_signup #mce-success-response {
    color: #fff !important;
}

/* ----------------------------------------------------------------------------
 * Mobile Menu
 * ------------------------------------------------------------------------- */
.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 {
    text-decoration: none;
	color: #d9a640;
}
.modal-menu {
    left: unset;
    width: 100%;
}

.mobile-menu a {
    color: #000;
	text-transform: uppercase;
}
.modal-menu .ap-golden-button a,
.modal-menu li.current-menu-item.ap-golden-button > .ancestor-wrapper > a{
    background-color: #d9a640;
    color: white;
}


/* ----------------------------------------------------------------------------
 * WPForms
 * ------------------------------------------------------------------------- */

.wpforms-container {
color: #fff;
}

div.wpforms-field-size60  textarea.wpforms-field-medium {
    max-width: 60%;
}

div.wpforms-container-full .wpforms-form .wpforms-field-label {
    font-weight: unset;
    font-size: unset;
}



div.wpforms-container-full .wpforms-form button[type=submit].wpforms-submit {
    font-weight: 400;
    background-color: #d9a640;
    background: #d9a640;
    border-radius: 0.75em;
    padding: 0.5em 2.5em;
    text-decoration: none !important;
 	border: none;
    text-transform: uppercase;
    color: #fff;
}
div.wpforms-container-full .wpforms-form button[type=submit].wpforms-submit:hover,
div.wpforms-container-full .wpforms-form button[type=submit].wpforms-submit:focus {
    text-decoration: none !important;
}