/*
Theme Name: SmartFran
Theme URI: https://smartfran.com/
Author: Marcelo Lobato
Author URI: http://marcelolobato.com
Description: Cales Wordpress Theme
Version: 1.0.0

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	CSS Reset
	1. 	Document Setup
	2. 	Element Base
	3. 	Helper Classes
	4. 	Site Header
	5. 	Menu Modal
	6. 	Search Modal
	7. 	Page Templates
		a. 	Template: Cover Template
		c. 	Template: Full Width
	8.  Post: Archive
	9.  Post: Single
	10. Blocks
	11. Entry Content
	12. Comments
	13. Site Pagination
	14. Error 404
	15. Widgets
	16. Site Footer
	17. Media Queries

----------------------------------------------------------------------------- */


/* -------------------------------------------------------------------------- */

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */


html,
body {
    border: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
    border: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
    text-align: inherit;
}

blockquote::before,
blockquote::after {
    content: "";
}


/* -------------------------------------------------------------------------- */

/*	1. Document Setup
/* -------------------------------------------------------------------------- */
html {
    font-display: swap;
    font-family: 'Roboto', sans-serif;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-display: swap;
    font-family: 'Roboto', sans-serif;
    background: #fff;
    box-sizing: border-box;
    color: #000;
}


*,
*::before,
*::after {
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    word-wrap: break-word;
}

#site-content {
    overflow: hidden;
}


/* Clearing ---------------------------------- */

.group::after,
.entry-content::after {
    clear: both;
    content: "";
    display: block;
}


/* Base Transitions -------------------------- */

a,
path {
    transition: all 0.15s linear;
}


/* Screen Reader Text ------------------------ */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    word-break: normal;
}

.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;
    -webkit-clip-path: none;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    right: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}


/* Skip Link --------------------------------- */

.skip-link {
    left: -9999rem;
    top: 2.5rem;
    z-index: 999999999;
    text-decoration: underline;
}

.skip-link:focus {
    display: block;
    left: 6px;
    top: 7px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: normal;
    padding: 15px 23px 14px;
    z-index: 100000;
    right: auto;
}

/* Accessibility Settings -------------------- */

@media ( prefers-reduced-motion: reduce ) {

    * {
        animation-duration: 0s !important;
        transition-duration: 0s !important;
    }
}


/* -------------------------------------------------------------------------- */

/*	2. Element Base
/* ---------------------------------------------*---------------------------- */


main {
    display: block;
}

em,
i,
q,
dfn {
    font-style: italic;
}

em em,
em i,
i em,
i i,
cite em,
cite i {
    font-weight: bolder;
}

big {
    font-size: 1.2em;
}

small {
    font-size: 0.75em;
}

b,
strong {
    font-weight: 700;
}

ins {
    text-decoration: underline;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

abbr,
acronym {
    cursor: help;
}

address {
    line-height: 1.5;
    margin: 0 0 2rem 0;
}

hr {
    border-style: solid;
    border-width: 0.1rem 0 0 0;
    border-color: #dcd7ca;
}

.entry-content hr,
hr.styled-separator {
    background: linear-gradient(to left, currentColor calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), currentColor calc(50% + 16px));
    background-color: transparent !important;
    border: none;
    height: 0.1rem;
    overflow: visible;
    position: relative;
}

.entry-content hr:not(.has-background),
hr.styled-separator {
    color: #6d6d6d;
}

.entry-content hr::before,
.entry-content hr::after,
hr.styled-separator::before,
hr.styled-separator::after {
    background: currentColor;
    content: "";
    display: block;
    height: 1.6rem;
    position: absolute;
    top: calc(50% - 0.8rem);
    transform: rotate(22.5deg);
    width: 0.1rem;
}

.entry-content hr::before,
hr.styled-separator::before {
    left: calc(50% - 0.5rem);
}

.entry-content hr::after,
hr.styled-separator::after {
    right: calc(50% - 0.5rem);
}

a {
    color: #cd2653;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
}


/* Lists ------------------------------------- */

ul,
ol {
    margin: 0 0 3rem 3rem;
}

ul {
    list-style: disc;
}

ul ul {
    list-style: circle;
}

ul ul ul {
    list-style: square;
}

ol {
    list-style: decimal;
}

ol ol {
    list-style: lower-alpha;
}

ol ol ol {
    list-style: lower-roman;
}

li {
    line-height: 1.5;
    margin: 0.5rem 0 0 0;
}

li > ul,
li > ol {
    margin: 1rem 0 0 0;
}

.reset-list-style,
.reset-list-style ul,
.reset-list-style ol {
    list-style: none;
    margin: 0;
}

.reset-list-style li {
    margin: 0;
}

dt,
dd {
    line-height: 1.5;
}

dt {
    font-weight: 700;
}

dt + dd {
    margin-top: 0.5rem;
}

dd + dt {
    margin-top: 1.5rem;
}


/* Quotes ------------------------------------ */

blockquote {
    border-color: #cd2653;
    border-style: solid;

    /*rtl:ignore*/
    border-width: 0 0 0 0.2rem;
    color: inherit;
    font-size: 1em;
    margin: 4rem 0;

    /*rtl:ignore*/
    padding: 0.5rem 0 0.5rem 2rem;
}

cite {
    color: #6d6d6d;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.25;
}

blockquote cite {
    display: block;
    margin: 2rem 0 0 0;
}

blockquote p:last-child {
    margin: 0;
}


/* Code -------------------------------------- */

code,
kbd,
pre,
samp {
    font-family: monospace;
    font-size: 0.9em;
    padding: 0.4rem 0.6rem;
}

code,
kbd,
samp {
    background: rgba(0, 0, 0, 0.075);
    border-radius: 0.2rem;
}

pre {
    border: 0.1rem solid #dcd7ca;
    line-height: 1.5;
    margin: 4rem 0;
    overflow: auto;
    padding: 3rem 2rem;
    text-align: left;
}

pre code {
    background: transparent;
    padding: 0;
}


/* Media ------------------------------------- */

figure {
    display: block;
    margin: 0;
}

iframe {
    display: block;
    max-width: 100%;
}

video {
    display: block;
}

svg,
img,
embed,
object {
    display: block;
    height: auto;
    max-width: 100%;
}

figcaption,
.wp-caption-text {
    color: #6d6d6d;
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 1.5rem;
}

figcaption a,
.wp-caption-text a {
    color: inherit;
}

blockquote.instagram-media,
iframe.instagram-media {
    margin: auto !important;
}


/* GALLERIES */

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 3em 0 3em -0.8em;
    width: calc(100% + 1.6em);
}

.gallery-item {
    margin: 0.8em 0;
    padding: 0 0.8em;
    width: 100%;
}

.gallery-caption {
    display: block;
    margin-top: 0.8em;
}


/* Inputs ------------------------------------ */

fieldset {
    border: 0.2rem solid #dcd7ca;
    padding: 2rem;
}

legend {
    font-size: 0.85em;
    font-weight: 700;
    padding: 0 1rem;
}

label {
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
}

label.inline,
input[type="checkbox"] + label {
    display: inline;
    font-weight: 400;
    margin-left: 0.5rem;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    top: 2px;
    display: inline-block;
    margin: 0;
    width: 1.5rem;
    min-width: 1.5rem;
    height: 1.5rem;
    background: #fff;
    border-radius: 0;
    border-style: solid;
    border-width: 0.1rem;
    border-color: #dcd7ca;
    box-shadow: none;
    cursor: pointer;
}

input[type="checkbox"]:checked::before {
    /* Use the "Yes" SVG Dashicon */
    content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23000000%27%2F%3E%3C%2Fsvg%3E");
    position: absolute;
    display: inline-block;
    margin: -0.1875rem 0 0 -0.25rem;
    height: 1.75rem;
    width: 1.75rem;
}

input,
textarea,
button,
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file__button {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
    line-height: 1;
}

@supports ( font-variation-settings: normal ) {

    input,
    textarea,
    button,
    .button,
    .faux-button,
    .faux-button.more-link,
    .wp-block-button__link,
    .wp-block-file__button {
        font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
    }
}

input,
textarea {
    border-color: #dcd7ca;
    color: #000;
}

code,
input[type="url"],
input[type="email"],
input[type="tel"] {

    /*rtl:ignore*/
    direction: ltr;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="week"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="color"],
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    border-radius: 0;
    border-style: solid;
    border-width: 0.1rem;
    box-shadow: none;
    display: block;
    font-size: 1.6rem;
    letter-spacing: -0.015em;
    margin: 0;
    max-width: 100%;
    padding: 1.5rem 1.8rem;
    width: 100%;
}

select {
    font-size: 1em;
}

textarea {
    height: 12rem;
    line-height: 1.5;
    width: 100%;
}

input::-webkit-input-placeholder {
    line-height: normal;
}

input:-ms-input-placeholder {
    line-height: normal;
}

input::-moz-placeholder {
    line-height: revert; /* Reset to the value from the user-agent stylesheet. */
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

button,
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file .wp-block-file__button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: inline-block;
    margin: 0;
    opacity: 1;
    padding: 1.1em 1.44em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.15s linear;
}

button:focus,
button:hover,
.button:focus,
.button:hover,
.faux-button:focus,
.faux-button:hover,
.wp-block-button .wp-block-button__link:focus,
.wp-block-button .wp-block-button__link:hover,
.wp-block-file .wp-block-file__button:focus,
.wp-block-file .wp-block-file__button:hover,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover {
    text-decoration: underline;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]: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 {
    border-color: currentColor;
}

input[type="search"]:focus {
    outline: thin dotted;
    outline-offset: -4px;
}

/* Tables ------------------------------------ */

table {
    border: 0.1rem solid #dcd7ca;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
    margin: 3rem 0;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.alignleft > table {
    margin: 0;
}

.alignright > table {
    margin: 0;
}

th,
td {
    border: 0.1rem solid #dcd7ca;
    line-height: 1.4;
    margin: 0;
    overflow: visible;
    padding: 0.5em;
}

caption {
    background: #dcd7ca;
    font-weight: 600;
    padding: 0.5em;
    text-align: center;
}

thead {
    vertical-align: bottom;
    white-space: nowrap;
}

th {
    font-weight: 700;
}


/* -------------------------------------------------------------------------- */

/*	3. Helper Classes
/* -------------------------------------------------------------------------- */


/* Layout ------------------------------------ */

.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0;
}

.screen-height {
    min-height: 100vh;
}

.admin-bar .screen-height {
    min-height: calc(100vh - 32px);
}

@media (max-width: 782px) {

    .admin-bar .screen-height {
        min-height: calc(100vh - 46px);
    }
}

.screen-width {
    position: relative;
    left: calc(50% - 50vw);
    width: 100vw;
}

/* Sections ---------------------------------- */

.section-inner {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.section-inner.max-percentage {
    width: 100%;
}

.section-inner.thin {
    max-width: 58rem;
}

.section-inner.small {
    max-width: 80rem;
}

.section-inner.medium {
    max-width: 100rem;
}

.section-inner.no-margin {
    margin: 0;
}


/* Toggles ----------------------------------- */

.toggle {
    -moz-appearance: none;
    -webkit-appearance: none;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    text-align: inherit;
    user-select: none;
}

button.toggle {
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    font-size: inherit;
    font-weight: 400;
    letter-spacing: inherit;
    padding: 0;
    text-transform: none;
}

/* Hiding and Showing ------------------------ */

.js .show-js {
    display: block !important;
}

.js .hide-js {
    display: none !important;
}

.no-js .show-no-js {
    display: block !important;
}

.no-js .hide-no-js {
    display: none !important;
}


/* Typography -------------------------------- */

.font-size-xl {
    font-size: 1.25em;
}

.font-size-xs {
    font-size: 0.8em;
}

.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Colors ------------------------------------ */

/* COLOR */

.color-accent,
.color-accent-hover:focus,
.color-accent-hover:hover {
    color: #cd2653;
}

/* BACKGROUND COLOR */

.bg-accent,
.bg-accent-hover:focus,
.bg-accent-hover:hover {
    background-color: #cd2653;
}

/* BORDER COLOR */

.border-color-accent,
.border-color-accent-hover:focus,
.border-color-accent-hover:hover {
    border-color: #cd2653;
}

/* FILL COLOR */

.fill-children-accent,
.fill-children-accent * {
    fill: #cd2653;
}

.fill-children-current-color,
.fill-children-current-color * {
    fill: currentColor;
}


/* Opacity ----------------------------------- */

.opacity-0 {
    opacity: 0;
}

.opacity-5 {
    opacity: 0.05;
}

.opacity-10 {
    opacity: 0.1;
}

.opacity-15 {
    opacity: 0.15;
}

.opacity-20 {
    opacity: 0.2;
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-30 {
    opacity: 0.3;
}

.opacity-35 {
    opacity: 0.35;
}

.opacity-40 {
    opacity: 0.4;
}

.opacity-45 {
    opacity: 0.45;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-55 {
    opacity: 0.55;
}

.opacity-60 {
    opacity: 0.6;
}

.opacity-65 {
    opacity: 0.65;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-85 {
    opacity: 0.85;
}

.opacity-90 {
    opacity: 0.9;
}

.blend-mode-exclusion {
    mix-blend-mode: exclusion;
}

.blend-mode-hue {
    mix-blend-mode: hue;
}

.blend-mode-saturation {
    mix-blend-mode: saturation;
}

.blend-mode-color {
    mix-blend-mode: color;
}

.blend-mode-luminosity {
    mix-blend-mode: luminosity;
}


/* Image Classes ----------------------------- */

.bg-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-attachment-fixed {
    background-attachment: fixed;
}

@supports ( -webkit-overflow-scrolling: touch ) {

    .bg-attachment-fixed {
        background-attachment: scroll;
    }
}

@media ( prefers-reduced-motion: reduce ) {

    .bg-attachment-fixed {
        background-attachment: scroll;
    }
}

.wp-block-image.is-resized {
    margin-left: auto;
    margin-right: auto;
}

/* Search Form ------------------------------- */

.search-form {
    align-items: stretch;
    display: flex;
    flex-wrap: nowrap;
    margin: 0 0 -0.8rem -0.8rem;
}

.search-form .search-field,
.search-form .search-submit {
    margin: 0 0 0.8rem 0.8rem;
}

.search-form label {
    align-items: stretch;
    display: flex;
    font-size: inherit;
    margin: 0;
    width: 100%;
}

.search-form .search-field {
    width: 100%;
}

.search-form .search-submit {
    flex-shrink: 0;
}

.search-form .search-submit:focus,
.search-form .search-submit:hover {
    text-decoration: none;
}


/* Social Icons ------------------------------ */

ul.social-icons {
    display: flex;
    flex-wrap: wrap;
    margin: -0.9rem 0 0 -0.9rem;
    width: calc(100% + 0.9rem);
}

ul.social-icons li {
    margin: 0.9rem 0 0 0.9rem;
}

.social-icons a {
    align-items: center;
    background: #cd2653;
    border-radius: 50%;
    color: #fff;
    display: flex;
    height: 4.4rem;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    transition: transform 0.15s ease-in-out;
    width: 4.4rem;
}

.social-icons a:focus,
.social-icons a:hover {
    transform: scale(1.1);
    text-decoration: none;
}


/* Cover Modals ------------------------------ */

.cover-modal {
    display: none;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
}

.cover-modal::-webkit-scrollbar {
    display: none !important;
}

.cover-modal.show-modal {
    display: block;
    cursor: pointer;
}

.cover-modal.show-modal > * {
    cursor: default;
}


/* -------------------------------------------------------------------------- */

/*	4.	Site Header
/* -------------------------------------------------------------------------- */


#site-header {
    position: relative;
}

.header-inner {
    width: 100%;
    padding: 20px 0px;
    z-index: 100;
}

/* Header Titles ----------------------------- */

.header-titles-wrapper {
    align-items: center;
    display: flex;
    padding: 0;
    text-align: center;
}

body:not(.enable-search-modal) .header-titles-wrapper {
    justify-content: flex-start;
    padding-left: 0;
    text-align: left;
}

.site-title,
.site-logo,
.site-description {
    margin: 0;
}

.site-title {
    font-size: 2.1rem;
    font-weight: 600;
    line-height: 1;
}

.site-title a {
    color: inherit;
    display: block;
    text-decoration: none;
}

.site-title a:hover,
.site-title a:focus {
    text-decoration: none;
}

.site-description {
    margin-top: 1rem;
    color: #6d6d6d;
    font-size: 1.8rem;
    font-weight: 500;
    display: none;
    letter-spacing: -0.0311em;
    transition: all 0.15s linear;
}

.site-logo a,
.site-logo img {
    display: block;
}

.header-titles .site-logo .site-logo {
    margin: 0;
}

.site-logo img {
    max-height: 6rem;
    margin: 0 auto;
    width: auto;
}

body:not(.enable-search-modal) .site-logo img {
    margin: 0;
}

/* Overlay Header ---------------------------- */

.overlay-header #site-header {
    background: transparent;
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
}

.overlay-header .header-inner {
    color: #fff;
}

.overlay-header .site-description,
.overlay-header .toggle {
    color: inherit;
}

.overlay-header .header-inner .toggle-wrapper::before {
    background-color: currentColor;
    opacity: 0.25;
}

.admin-bar.overlay-header #site-header {
    top: 32px;
}

@media (max-width: 782px) {

    .admin-bar.overlay-header #site-header {
        top: 46px;
    }
}

/* Header Navigation ------------------------- */

.header-navigation-wrapper {
    display: none;
}

/* Header Toggles ---------------------------- */

.header-toggles {
    display: none;
}

.header-inner .toggle {
    align-items: center;
    display: flex;
    overflow: visible;
    padding: 0 1rem 0 0;
    width: auto;
}

.header-inner .toggle svg {
    display: block;
    position: relative;
    z-index: 1;
}

.header-inner .toggle path {
    fill: currentColor;
}

.toggle-inner {
    display: flex;
    justify-content: center;
    height: 2.3rem;
    position: relative;
}

.toggle-icon {
    display: block;
    overflow: hidden;
}

.toggle-inner .toggle-text {
    color: #6d6d6d;
    font-size: 1rem;
    font-weight: 600;
    position: absolute;
    top: calc(100% + 0.5rem);
    width: auto;
    white-space: nowrap;
    word-break: break-all;
}

.overlay-header .toggle-text {
    color: inherit;
}

.header-inner .toggle:focus .toggle-text,
.header-inner .toggle:hover .toggle-text {
    text-decoration: none;
}

/* Search Toggle ----------------------------- */

.search-toggle {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 0;
}

.search-toggle .toggle-icon,
.search-toggle svg {
    height: 2.5rem;
    max-width: 2.3rem;
    width: 2.3rem;
}

/* Navigation Toggle ------------------------- */

.nav-toggle {
    position: absolute;
    bottom: 0;
    right: 0;
    top: 0;
    width: 6.6rem;
}

.nav-toggle .toggle-icon,
.nav-toggle svg {
    height: 0.8rem;
    width: 2.6rem;
}

.nav-toggle .toggle-inner {
    padding-top: 0.8rem;
}

/* 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: flex-end;
    margin: 0.9rem 0 0 -1.6rem;
}

.primary-menu .icon {
    display: block;
    height: 0.4rem;
    position: absolute;
    pointer-events: none;
    transform: rotate(-45deg);
    width: 0.4rem;
}

.primary-menu .icon::before,
.primary-menu .icon::after {
    content: "";
    display: block;
    background-color: #fff;
    position: absolute;
    bottom: calc(50% - 0.1rem);
    left: 0;
}

.primary-menu .icon::before {
    height: 0.4rem;
    width: 0.1rem;
}

.primary-menu .icon::after {
    height: 0.1rem;
    width: 0.4rem;
}

.primary-menu li {
    font-size: inherit;
    line-height: 1.25;
    position: relative;
}

.primary-menu > li {
    margin: 0 0 0 1.6rem;
}

.primary-menu > li.menu-item-has-children > a {
    padding-right: 2rem;
}

.primary-menu > li > .icon {
    right: 0.5rem;
    top: calc(50% - 0.8rem);
}

.primary-menu a {
    color: #fff;
    display: block;
    line-height: 22px;
    text-decoration: none;
    font-size: 13px; letter-spacing: 1px;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current_page_ancestor {
    text-decoration: none;
    color: #2184E6;
}

.primary-menu li.current-menu-item > a,
.primary-menu li.current-menu-item > .link-icon-wrapper > a {
    text-decoration: none;
}

.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-color: rgba(15, 47, 77);
    border-radius: 0.4rem;
    color: #333;
    font-size: 16px;
    opacity: 0;
    padding: 1rem 0;
    position: absolute;
    right: 9999rem;
    top: calc(100% + 1rem);
    transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s;
    transform: translateY(0.6rem);
    width: 20rem;
    z-index: 1;
}

.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: rgba(15, 47, 77);
    right: 1.8rem;
}

.primary-menu ul a {
    background: transparent;
    border: none;
    color: #ffffff;
    display: block;
    padding: 8px 10px;
    transition: background-color 0.15s linear;
    width: 100%;
}

.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: #eee;
    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;
}

/* -------------------------------------------------------------------------- */

/*	5. Menu Modal
/* -------------------------------------------------------------------------- */


.menu-modal {
    background: #fff;
    display: none;
    opacity: 0;
    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: 99;
}

.admin-bar .menu-modal {
    top: 32px;
}

@media (max-width: 782px) {

    .admin-bar .menu-modal {
        top: 46px;
    }
}

.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: #fff;
    display: flex;
    justify-content: stretch;
    overflow: auto;
    -ms-overflow-style: auto;
    width: 100%;
}

.menu-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

button.close-nav-toggle {
    align-items: center;
    display: flex;
    font-size: 20px;
    font-weight: 500;
    justify-content: flex-end;
    padding: 3.1rem 0;
    width: 100%;
    padding-right: 30px;
}

button.close-nav-toggle svg {
    height: 1.2rem;
    width: 1rem;
}

button.close-nav-toggle .toggle-text {
    margin-right: 1.6rem;
}

.menu-modal .menu-top {
    flex-shrink: 0;
}


/* Main Menu --------------------------------- */

.modal-menu {
    position: relative;
    left: calc(50% - 50vw);
    width: 100vw;
}

.modal-menu li {
    border-color: #dedfdf;
    border-style: solid;
    border-width: 0.1rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
    line-height: 1;
    justify-content: flex-start;
    margin: 0;
}

.modal-menu > li > a,
.modal-menu > li > .ancestor-wrapper > a {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.0375em;
}

.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: 18px 20px;
    text-decoration: none;
    width: 100%;
}

.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: #2184E6;
}

button.sub-menu-toggle {
    border-left: 0.1rem solid #dedfdf;
    flex-shrink: 0;
    margin: 1rem 0;
    padding: 0 2.5rem;
}

button.sub-menu-toggle svg {
    height: 0.9rem;
    transition: transform 0.15s linear;
    width: 1rem;
    color: #666;
}

button.sub-menu-toggle.active svg {
    transform: rotate(180deg);
}

.modal-menu ul {
    display: none;
    margin: 0;
    width: 100%;
}

.modal-menu ul li {
    border-left-width: 1rem;
}

.modal-menu ul li a {
    color: 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;
}


/* -------------------------------------------------------------------------- */

/*	6. Search Modal
/* -------------------------------------------------------------------------- */


.search-modal {
    background: rgba(0, 0, 0, 0.2);
    display: none;
    opacity: 0;
    position: fixed;
    bottom: 0;
    left: -9999rem;
    top: 0;
    transition: opacity 0.2s linear, left 0s 0.2s linear;
    width: 100%;
    z-index: 999;
}

.admin-bar .search-modal.active {
    top: 32px;
}

@media (max-width: 782px) {

    .admin-bar .search-modal.active {
        top: 46px;
    }
}

.search-modal-inner {
    background: #fff;
    transform: translateY(-100%);
    transition: transform 0.15s linear, box-shadow 0.15s linear;
}

.search-modal-inner .section-inner {
    display: flex;
    justify-content: space-between;
    max-width: 168rem;
}

.search-modal.active {
    left: 0;
    opacity: 1;
    transition: opacity 0.2s linear;
}

.search-modal.active .search-modal-inner {
    box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.08);
    transform: translateY(0);
    transition: transform 0.25s ease-in-out, box-shadow 0.1s 0.25s linear;
}

button.search-untoggle {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    margin-right: -2.5rem;
    padding: 0 2.5rem;
}

.search-modal button.search-untoggle {
    color: inherit;
}

.search-modal.active .search-untoggle {
    animation: popIn both 0.3s 0.2s;
}

.search-untoggle svg {
    height: 1.5rem;
    transition: transform 0.15s ease-in-out;
    width: 1.5rem;
}

.search-untoggle:focus svg,
.search-untoggle:hover svg {
    transform: scale(1.15);
}


/* Modal Search Form ------------------------- */

.search-modal form {
    margin: 0;
    position: relative;
    width: 100%;
}

.search-modal .search-field {
    background: none;
    border: none;
    border-radius: 0;
    color: inherit;
    font-size: 2rem;
    letter-spacing: -0.0277em;
    height: 8.4rem;
    margin: 0 0 0 -2rem;
    max-width: calc(100% + 2rem);
    padding: 0 0 0 2rem;
    width: calc(100% + 2rem);
}

.search-modal .search-field::-webkit-input-placeholder {
    color: inherit;
}

.search-modal .search-field:-ms-input-placeholder {
    color: inherit;
}

.search-modal .search-field::-moz-placeholder {
    color: inherit;
    line-height: 4;
}

.search-modal .search-submit {
    position: absolute;
    right: -9999rem;
    top: 50%;
    transform: translateY(-50%);
}

.search-modal .search-submit:focus {
    right: 0;
}

/* Search Results ---------------------------- */

.no-search-results-form {
    padding-top: 5rem;
}

/*	17. Media Queries
/* -------------------------------------------------------------------------- */

@media ( min-width: 700px ) {
    /* VANILLA GALLERIES */
    .gallery-columns-2 .gallery-item {
        max-width: 50%;
    }

    .gallery-columns-3 .gallery-item {
        max-width: 33.33%;
    }

    .gallery-columns-4 .gallery-item {
        max-width: 25%;
    }

    .gallery-columns-5 .gallery-item {
        max-width: 20%;
    }

    .gallery-columns-6 .gallery-item {
        max-width: 16.66%;
    }

    .gallery-columns-7 .gallery-item {
        max-width: 14.28%;
    }

    .gallery-columns-8 .gallery-item {
        max-width: 12.5%;
    }

    .gallery-columns-9 .gallery-item {
        max-width: 11.11%;
    }

    /* MEDIA */
    figcaption,
    .wp-caption-text {
        margin-top: 1.8rem;
    }

    /* HEADER TOGGLES */
    .toggle-inner .toggle-text {
        font-size: 1.2rem;
    }

    .search-toggle {
        left: 2rem;
    }

    .nav-toggle {
        right: 2rem;
    }


    /* Menu Modal ---------------------------- */
    button.close-nav-toggle {
        font-size: 1.8rem;
        padding: 4rem 0;
    }

    button.close-nav-toggle svg {
        height: 2rem;
        width: 2rem;
    }

    button.close-nav-toggle .toggle-text {
        margin-right: 2.1rem;
    }

    .modal-menu {
        left: auto;
        width: 100%;
    }

    .modal-menu > li > a,
    .modal-menu > li > .ancestor-wrapper > a {
        font-size: 2.4rem;
        padding: 2.5rem 0;
    }

    .modal-menu ul li {
        border-left-color: transparent;
    }

    .modal-menu > li > .ancestor-wrapper > button.sub-menu-toggle {
        padding: 0 3rem;
    }

    .modal-menu > li > .ancestor-wrapper > button.sub-menu-toggle svg {
        height: 1.1rem;
        width: 1.8rem;
    }

    .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;
    }

    /* Sub Page ------------------------------ */
    /* BLOCK: SHARED MEDIA STYLES */
    .wp-block-embed figcaption,
    .wp-block-image figcaption {
        font-size: 1.6rem;
    }

    /* BLOCK: COVER */
    .wp-block-cover-image .wp-block-cover__inner-container,
    .wp-block-cover .wp-block-cover__inner-container {
        width: calc(100% - 8rem);
    }

    .wp-block-cover-image h2,
    .wp-block-cover h2 {
        font-size: 4.8rem;
    }

    /* BLOCK: GALLERY */
    figure.wp-block-gallery.alignnone,
    figure.wp-block-gallery.aligncenter {
        margin-bottom: 4rem;
        margin-top: 4rem;
    }

    figure.wp-block-gallery.alignwide,
    figure.wp-block-gallery.alignfull {
        margin-bottom: 6rem;
        margin-top: 6rem;
    }

    /* BLOCK: SEPARATOR */
    hr.wp-block-separator {
        margin: 6rem auto;
    }

    .wp-block-separator.is-style-wide {
        max-width: calc(100vw - 8rem);
    }

    /* ENTRY MEDIA */
    .alignfull > figcaption,
    .alignfull > .wp-caption-text {
        width: calc(100% - 8rem);
    }

    /* Error 404 ----------------------------- */
    .error404 #site-content {
        padding-top: 8rem;
    }

    /* Widgets ------------------------------- */
    .widget .widget-title {
        margin-bottom: 3rem;
    }

    /* FOOTER WIDGETS */
    .footer-widgets-outer-wrapper {
        padding: 8rem 0;
    }

    .footer-widgets-wrapper {
        display: flex;
        justify-content: space-between;
        margin-left: -4rem;
        width: calc(100% + 4rem);
    }

    .footer-widgets {
        margin-left: 4rem;
        width: 50%;
    }

    .footer-widgets + .footer-widgets {
        margin-top: 0;
    }

    .footer-widgets .widget {
        border-top: none;
        margin-top: 5rem;
        padding-top: 0;
    }

    .footer-widgets .widget:first-child {
        margin-top: 0;
    }
}

@media (min-width: 782px) {

    /* Blocks -------------------------------- */
    /* BLOCK: COLUMNS */
    .wp-block-column {
        margin-bottom: 0;
    }

    .wp-block-columns.alignwide + .wp-block-columns.alignwide,
    .wp-block-columns.alignfull + .wp-block-columns.alignfull {
        margin-top: -2.8rem;
    }
}

@media ( min-width: 1000px ) {


    /* Document Setup ------------------------ */
    /* Helper Classes ------------------------ */
    /* Site Header --------------------------- */
    #site-header {
        z-index: 1;
    }

    .header-inner {
        align-items: center;
        display: flex;
        justify-content: space-between;
    }

    .header-titles-wrapper {
        margin-right: 4rem;
        max-width: 50%;
        padding: 0;
        text-align: left;
    }

    .header-titles {
        align-items: baseline;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin: 0;
    }


    .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;
        margin-right: -3rem;
    }

    .header-inner .toggle {
        height: 4.4rem;
        padding: 0 3rem;
        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: "";
    }

    .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;
    }

    /* Menu Modal ---------------------------- */
    .menu-modal {
        opacity: 1;
        justify-content: flex-end;
        padding: 0;
        transition: background-color 0.3s ease-in, left 0s 0.3s, right 0s 0.3s;
    }

    .menu-modal.cover-modal {
        background: rgba(0, 0, 0, 0);
    }

    .menu-modal.active {
        background: rgba(0, 0, 0, 0.2);
        transition: background-color 0.3s ease-out;
    }

    .menu-wrapper.section-inner {
        width: calc(100% - 8rem);
    }

    .menu-modal-inner {
        box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.1);
        opacity: 0;
        padding: 0;
        transform: translateX(20rem);
        transition: transform 0.2s ease-in, opacity 0.2s ease-in;
        width: 50rem;
    }

    .menu-modal.active .menu-modal-inner {
        opacity: 1;
        transform: translateX(0);
        transition-timing-function: ease-out;
    }

    .mobile-menu {
        display: none;
    }

    .expanded-menu {
        display: block;
    }

    .menu-bottom {
        padding: 6rem 0;
    }

    .menu-bottom .social-menu {
        justify-content: flex-start;
    }

    /* Sub Page ------------------------------ */
    /* FEATURED MEDIA */
    .featured-media figcaption {
        width: 100%;
    }

    /* Blocks -------------------------------- */
    /* BLOCK: COLUMNS */
    .wp-block-columns.alignwide + .wp-block-columns.alignwide,
    .wp-block-columns.alignfull + .wp-block-columns.alignfull {
        margin-top: -4.8rem;
    }

    /* BLOCK: GALLERY */
    figure.wp-block-gallery.alignwide,
    figure.wp-block-gallery.alignfull {
        margin-bottom: 8rem;
        margin-top: 8rem;
    }

    /* BLOCK: IMAGE */
    .wp-block-image .alignleft {

        /*rtl:ignore*/
        margin-right: 0;
    }

    .wp-block-image .alignright {

        /*rtl:ignore*/
        margin-left: 0;
    }

    /* BLOCK: SEPARATOR */
    hr.wp-block-separator {
        margin: 8rem auto;
    }

    /* ENTRY MEDIA */
    .alignfull > figcaption,
    .alignfull > .wp-caption-text {
        width: calc(100% - 10rem);
    }
}


@media ( min-width: 1220px ) {
    /* Site Header --------------------------- */
    /* HEADER TOGGLES */
    .primary-menu-wrapper + .header-toggles {
        margin-left: 4rem;
    }

    .header-toggles {
        margin-right: -4rem;
    }

    .header-toggles .toggle {
        padding: 0 4rem;
    }
}