/*
Theme Name: Demos Child Theme
Theme URI: https://demoshelsinki.fi
Version: 1.0
Description: Demos WordPress Child Theme
Author: Jyri Öhman / Kilda Creative
Author URI: https://kilda.fi
template: bb-theme
*/

:root {
    --blue:         #322DD7;
    --pink:         #FA3296;
    --purple:       #9B4BCD;
    --gold:         #BEA005;
    --green:        #AAFF14;
    --turqoise:     #73FFD7;
    --light-pink:   #FAC8FF;
    --light-blue:   #91AAFF;
    --black:        #000000;
    --white:        #ffffff; 
}

@font-face{
    font-family: Everett-Bold-web;
    src: url(fonts/Everett-Bold-web.eot); 
    src:url(fonts/Everett-Bold-web.eot?#iefix) format("embedded-opentype"),
        url(fonts/Everett-Bold-web.woff2) format("woff2"),url(fonts/Everett-Bold-web.woff) format("woff"),url(fonts/Everett-Bold-web.ttf) format("truetype"),url(fonts/Everett-Bold-web.svg#svgFontName) format("svg")
}

@font-face{
    font-family: Everett-Medium-web;
    src: url(fonts/Everett-Medium-web.eot);
    src: url(fonts/Everett-Medium-web.eot?#iefix) format("embedded-opentype"),url(fonts/Everett-Medium-web.woff2) format("woff2"),url(fonts/Everett-Medium-web.woff) format("woff"),url(fonts/Everett-Medium-web.ttf) format("truetype"),url(fonts/Everett-Medium-web.svg#svgFontName) format("svg")
}

@font-face{
    font-family: Everett-Regular-web;
    src: url(fonts/Everett-Regular-web.eot);
    src: url(fonts/Everett-Regular-web.eot?#iefix) format("embedded-opentype"),url(fonts/Everett-Regular-web.woff2) format("woff2"),url(fonts/Everett-Regular-web.woff) format("woff"),url(fonts/Everett-Regular-web.ttf) format("truetype"),url(fonts/Everett-Regular-web.svg#svgFontName) format("svg")
}

body{
    font-family: Everett-Regular-web;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--black);
}

.fl-page{
    overflow: hidden;
}

#fl-main-content{
    padding-top: 35px;
}

h1, h2, h3, h4, h5, h6{
    color: var(--blue);
    font-family: Everett-Medium-web;
    font-weight: normal !important;
    line-height: 1.1;
}

.home h1{
    font-size: 6vw;
}

h1{
    font-size: 52px;
}

h2{
    font-size: 28px;
}

h3{
    font-size: 24px;
}

h2 + h3{
    margin-top: 50px;
}

h4{
    font-family: Everett-Bold-web;
    font-size: 14px !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h5{
    font-size: 21px;
}

h6{
    font-size: 18px;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{
    color: var(--blue);
}

p, 
.fl-callout-text p{
    margin-bottom: 40px !important;
}

p:last-child, 
.fl-callout-text p:last-child{
    margin-bottom: 0 !important;
}

ol, ul{
    margin-bottom: 40px;
}

a{
    color: var(--blue);
    cursor: pointer !important;
    outline: none !important;
    text-decoration: none !important;
    transition: filter 1s, opacity 1s;
}

a:hover, a:active{
    color: inherit;
    text-decoration: none !important;
    zoom: 1;
    filter: alpha(opacity=75);
    opacity: 0.75;
}

p a, 
.fl-post-meta a{
    border-bottom: 0.5px solid;
}

.fl-post-meta{
    font-size: 11px;
    font-family: Everett-Regular-web !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fl-post-meta-post-type{
    font-family: Everett-Bold-web !important;
}

strong, bold{
    font-family: Everett-Bold-web;
    font-weight: normal !important;
}

em{
    font-style: italic;
}

.fl-post-feed-meta{
    font-family: Everett-Regular-web;
}

.ar-title p, 
.section-id p{
    border-bottom: 1px solid;
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-bottom: 0 !important;
    padding: 0 0 20px 0 !important;
    text-transform: uppercase;
}

.section-id > .fl-module-content{
    margin-bottom: 0;
}

.section-id a{
    border: 0;
}

.fl-photo-caption{
    zoom: 1;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

blockquote{
    border: 0;
    border-left: 2px solid var(--blue);
    margin: 25px 0 40px 0;
    padding: 0 0 0 25px;
}

blockquote p{
    background: transparent;
    color: var(--blue);
    display: block;
    font-size: 24px;
    margin: 0 auto !important;
    padding: 10px;
    text-align: left;
}

blockquote p::before, 
blockquote p::after{
    display: none;
}

.signature .fl-callout-photo-left .fl-callout-photo{
    padding-right: 50px;
    padding-top: 15px;
    width: 25%;
}

p:empty{
    display: none;
}

.read-more{
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Tables */

.fl-module-content table td{
    border: 1px solid var(--blue);
    padding: 10px;
}

/* Header */

.menu{
    font-family: Everett-Medium-web;
    justify-content: space-between;
    list-style: none;
    padding: 10px 0 !important;
}

.menu li{
    border-left: 0 !important;
}

.menu a{
    color: var(--blue) !important;
    cursor: pointer !important;
    outline: none !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.menu a strong{
    color: var(--white) !important;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#secondary-menu a{
    border-top: 1px solid var(--blue);
    border-left: 1px solid var(--blue);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.2px;
    padding-left: 10px;
    text-transform: uppercase;
}

.sub-menu a{
    color: var(--white) !important;
}

.menu .menu-item-type-custom a{
    color: var(--pink) !important;
}

#hamburger{
    background: url('img/hamburger_menu_blue.png') no-repeat center center;
    background-size: 100% 100%;
    display: none;
    height: 15px;
    position: absolute;
        top: 25px;
        right: 25px;
    text-indent: -9999px;
    width: 25px;
}

/* Buttons */

a.fl-button, a.fl-button:visited, input[type="submit"]{
    background: var(--blue);
    border: 0 !important;
    font-family: Everett-Bold-web;
    padding: 12px 24px !important;
    -moz-border-radius: 100px !important;
    border-radius: 100px !important;
}

a.fl-button span, input[type="submit"]{
    color: var(--white);
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 1s;
}

a.fl-button:hover{
    background: var(--blue);
}

a.fl-button:hover span{
    color: var(--white);
}

a.fl-button-icon.toggled{
    transform: rotate(180deg);
}

.fl-builder-pagination-load-more{
    padding: 0 0 50px 0;
}

.wp-block-button__link, 
.wp-element-button{
    background: var(--blue);
    border: 0 !important;
    color: var(--white);
    font-family: Everett-Bold-web;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 35px 0;
    padding: 12px 24px !important;
    transition: color 1s;
    -moz-border-radius: 100px !important;
    border-radius: 100px !important;
}

.wp-block-button__link:hover, 
.wp-element-button:hover{
    background: var(--blue);
    color: var(--white);
}

/* Hamburger */

.hamburger rect{
    fill: var(--white) !important;
    height: 40px !important;
}

/* Accordions */

.fl-accordion-item{
    border-color: var(--blue) !important;
    padding: 20px;
}

.fl-accordion-button a{
    color: var(--blue);
    font-family: Everett-Medium-web;
}

.fl-accordion-button a i{
    zoom: 1;
    filter: alpha(opacity=100);
    opacity: 1;
}

.fl-accordion-small .fl-accordion-content{
    padding: 0 15px 10px 15px !important;
}

/* Forms */

.fl-accordion-content .fl-builder-content{
    padding: 0;
}

.fl-module-contact-form .fl-module-content{
    
}

input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="number"], input[type="search"], input[type="url"], input[type="search"], textarea{
    color: var(--black);
    font-family: Everett-Regular-web;
    font-size: 18px;
    font-weight: normal;
    padding: 12.5px;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

.wpcf7 select{
    appearance: none;
    background-color: #fff;
    border: 1px solid #caced1;
    border-radius: 0.25rem;
    color: #000;
    cursor: pointer;
    font-size: 18px;
    padding: 12.5px;
    position: relative;
    width: 100%;
}

.wpcf7 select::before,
.wpcf7 select::after {
  --size: 0.3rem;
  position: absolute;
  content: "";
  right: 1rem;
  pointer-events: none;
}

.wpcf7 select::before {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-bottom: var(--size) solid black;
  top: 40%;
}

.wpcf7 select::after {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-top: var(--size) solid black;
  top: 55%;
}

.form-inline{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.form-inline input{

}

label{
    font-family: 'Everett-Medium-web';
    font-weight: normal;
}

.wpcf7 label{
    margin-right: 25px;
    width: calc(50% - 30px);
}

.wpcf7-response-output{
    border: none !important;
    margin: 25px 0 !important;
    padding: 0 !important;
}

/* Collections */

#collections-grid .fl-post-grid{
    text-align: center;
}

#collections-grid .fl-post-column{
    display: inline-block;
    float: none;
    text-align: left;
    width: 33%;
}

#collection-content article{
    margin: 0;
    padding: 50px 0;
}

#collection-content article:first-child{
    padding-top: 0;
}

#collection-content article:last-child{
    padding-bottom: 0;
}

#collection-content h1{
    font-size: 50px;
}

#collection-content h2, #collection-content h2 strong{
    font-family: Everett-Medium-web;
    font-size: 30px;
}

#collection-content .fl-post-feed-content{
    display: none;
}

.fl-post-grid-post{
    position: relative;
}

/* Home */

#hero-background-illustration .fl-col-content{
    background-size: 400% auto !important;
}

#news-wall .fl-post-grid-post{
    border: 0;
}

#news-wall .fl-post-image-cover{
    aspect-ratio: 16/9;
    background-color: var(--blue);
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}

#news-wall .fl-post-text{
    padding: 25px 0;
}

#news-wall .fl-post-excerpt{
    font-size: 18px;
}

#sea-of-logos img{
    height: auto;
    max-height: 90px;
    max-width: 120px;
    width: auto;
}

.people_carousel .fl-post-carousel-post{
    border: 0 !important;
}

.pp-content-post{
    font-size: 18px !important;
}

/* Search */

#filter-content h4{
    text-align: center;
}

#filter-content input{
    text-align: center;
}

#filter-content ul{
    text-align: center;
}

#filter-content label{
    display: inline-block;
    font-family: Everett-Regular-web;
    font-weight: normal;
}

#filter-content .searchandfilter ul{
    padding: 0;
}

#filter-content .searchandfilter > div > ul > li{
    display: block;
    padding: 10px 0;
}

/* Blog & publications */

#category-cloud .pp-categories{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    row-gap: 10px;
    column-gap: 20px;
}

#category-cloud .pp-category{
    float: none;
    width: auto;
}

/* Themes */

#highlighted-theme .fl-post-slider-post{
    border: 1px solid var(--blue);
    border-top-width: 10px;
    padding: 0;
}

#highlighted-theme .fl-post-slider-content{
    padding: 50px 50px;
}

/* Forms Matter stuff */

.section-title .fl-row-content-wrap{
    padding: 0;
}

.section-title .fl-row-content{
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 75% auto;
    padding: 25px;
}

.section-title:nth-child(1n+0) .fl-row-content{
    background-image: url('img/demos_lines_01.png');
}

.section-title:nth-child(2n+0) .fl-row-content{
    background-image: url('img/demos_lines_02.png');
}

.section-title:nth-child(3n+0) .fl-row-content{
    background-image: url('img/demos_lines_03.png');
}

.section-title:nth-child(4n+0) .fl-row-content{
    background-image: url('img/demos_lines_04.png');
}

.section-title:nth-child(5n+0) .fl-row-content{
    background-image: url('img/demos_lines_05.png');
}

.section-title:nth-child(6n+0) .fl-row-content{
    background-image: url('img/demos_lines_06.png');
}

#hero .fl-row-content{
    background-attachment: fixed;
    background-image: url('img/demos_lines_01.png');
    background-position: center 40%;
    background-repeat: no-repeat;
    background-size: 100% auto;
    padding: 25px;
}

.statement h2{
    font-family: Everett-Regular-web !important;
}

.donut svg{
    display: block;
    margin: 0 auto;
}

.work-expanded, 
#foreword-expanded,
#people-expanded,
#footprint-expanded,
#financials-expanded, 
#impact-expanded, 
#highlights-expanded, 
#untitled-expanded{
    display: none;
}

.fl-builder-edit #foreword-expanded, 
.fl-builder-edit .work-expanded, 
.fl-builder-edit #people-expanded, 
.fl-builder-edit #footprint-expanded, 
.fl-builder-edit #financials-expanded, 
.fl-builder-edit #impact-expanded, 
.fl-builder-edit #highlights-expanded, 
.fl-builder-edit #untitled-expanded{
    display: block;
}

.work-expansion-inactive{
    zoom: 1;
    filter: alpha(opacity=33);
    opacity: 0.33;
}

#expand-work a strong{
    display: block;
    float: none;
    font-size: 20px;
    position: relative;
        top: -10px;
    width: 33%;
}

#home-hero video{
    height: 100% !important;
    min-height: 100% !important;
    min-width: auto !important;
    width: auto !important;
}

/* Map */

.imapsLabel div{
    font-size: 12px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

/* Video */

.mejs-container, .mejs-container .mejs-controls, .mejs-embed, .mejs-embed body{
    background: transparent !important;
}

/* Tables */

.fl-rich-text table{
    border: 1px solid var(--blue);
}

.fl-rich-text table td{
    border: 1px solid var(--blue);
    padding: 10px;
    vertical-align: top;
}

/* Article grid */

.article-grid .pp-content-grid-post-title-and-date{
    background: var(--black);
    background-size: cover;
    padding: 30px !important;
    position: relative;
    width: 100%;
}

.article-grid.person-grid .pp-content-grid-post-title-and-date{
    aspect-ratio: 16/9;
}

.article-grid .pp-content-grid-post-title{
    aspect-ratio: 21/9;
    color: var(--white) !important;
    position: relative;
        z-index: 2;
}

.article-grid .pp-content-grid-post-title a{
    color: var(--white) !important;
}

.article-grid.person-grid .pp-content-grid-post-title{
    aspect-ratio: auto;
    margin-bottom: 10px;
}

.article-grid.person-grid .pp-content-grid-post-title a{
    color: var(--blue) !important;
}

.article-grid .pp-content-grid-post-title-and-date .fl-post-meta{
    color: var(--white) !important;
    margin-bottom: 0 !important;
    position: relative;
        z-index: 2;
}

.article-grid .pp-content-grid-post-excerpt{
    padding: 15px 25px 25px 25px;
}

.article-grid .pp-content-grid-post-excerpt p{
    margin: 0;
}

.article-grid.person-grid .pp-content-grid-post-excerpt p.fl-post-meta{
    margin: 12.5px 0 0 0 !important;
}

.fl-post-grid-post .fl-post-grid-terms, 
.pp-content-grid-post-text .fl-post-grid-terms{
    line-height: 1;
    padding: 20px 20px 0 20px;
}

.fl-post-grid-post .fl-post-grid-terms a, 
.pp-content-grid-post-text .fl-post-grid-terms a{
    background: var(--white);
    color: var(--blue) !important;
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 2.5px 5px !important;
    text-transform: uppercase;
}

.article-grid .pp-content-grid-post-image, 
.article-grid .pp-content-grid-post-image-no-image{
    aspect-ratio: 16/9;
    background-size: cover;
    height: 100% !important;
    padding: 0 !important;
    position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    width: 100%;
}

.article-grid .pp-content-grid-post-image-no-image{
    background-image: url('img/heatmap_blue_2500px.jpg');
}

.article-grid.project-grid .pp-content-grid-post-image-no-image{
    background-image: url('img/heatmap_red_2500px.jpg');
}

.article-grid.case-study-grid .pp-content-grid-post-image-no-image{
    background-image: url('img/heatmap_magenta_2500px.jpg');
}

.article-grid .pp-content-grid-post-image{
    opacity: 0.5;
}

.article-grid.person-grid .pp-content-grid-post-image, 
.article-grid.event-grid .pp-content-grid-post-image{
    opacity: 1;
}

.pp-content-grid-post-text{
    padding: 0 !important;
}

.pp-post-filters, 
.thematic_tags ul{
    list-style: none;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.pp-post-filters li, 
.thematic_tags ul li{
    margin: 0 5px 5px 0 !important;
}

.pp-post-filter, 
.thematic_tags ul a{
    background: var(--white);
    border: 1px solid var(--blue) !important;
    color: var(--blue) !important;
    display: inline-block;
    font-family: Everett-Regular-web !important;
    font-size: 11px;
    font-weight: normal !important;
    letter-spacing: 0.1em;
    padding: 8px 10px 6px 10px !important;
    text-transform: uppercase;
}

.pp-filter-active, 
.pp-post-filter:hover, 
.thematic_tags ul a:hover{
    background: var(--blue) !important;
    color: var(--white) !important;
    font-weight: normal !important;
}

.pp-content-grid-empty{
    border: 0;
    padding: 0;
}

.read-more-corner-arrow{
    background: var(--blue) !important;
    color: var(--white) !important;
    padding: 5px 10px;
    position: absolute;
        bottom: 0;
        right: 0;
}

/* Publication grid */

.article-grid.publication-grid .pp-content-grid-post-image-no-image{
    background-image: url('img/heatmap_blue_2500px.jpg');
}

.article-grid.publication-grid h3{
    color: #fff;
    font-size: 25px;
    line-height: 1.1;
}

.article-grid.publication-grid .pp-content-grid-post-excerpt{
    color: #fff;
    display: block;
    padding: 0 !important;
    position: relative;
    z-index: 2;
}

/*

.article-grid.publication-grid .pp-content-grid-post:hover h3{
    display: none;
}

.article-grid.publication-grid .pp-content-grid-post:hover .pp-content-grid-post-excerpt{
    display: block;
}

*/

.fl-theme-builder-archive .article-grid.publication-grid .pp-content-grid-post-excerpt{
    color: var(--black);
    padding: 15px 25px 25px 25px !important;
}

/* Posts in Finnish */

.pp-content-post.category-finnish .pp-content-grid-post-title-and-date::before{
    content: '\01f1eb\01f1ee';
    display: block;
    font-size: 20px;
    height: auto;
    position: absolute;
        bottom: 22px;
        right: 35px;
    text-align: right;
    width: 25px;
    z-index: 2;
}

/* Mini carousel */

.mini_carousel .fl-module-content{
    margin-right: 37.5px;
    margin-left: 37.5px;
}

.owl-nav .owl-prev, 
.owl-nav .owl-next{
    background: transparent;
    color: var(--blue);
}

.owl-nav .owl-prev{
    padding: 0 20px 0 0 !important;
}

.owl-nav .owl-next{
    padding: 0 0 0 20px !important;
}

#expert-list-of-work .pp-content-grid-empty p{
    padding: 0 12.5px;
    text-align: left;
}

/* Hover cards */

.pp-hover-card a{
    color: var(--white) !important;
}

.pp-hover-card .pp-hover-card-title-wrap{
    text-align: right;
    width: 100%;
}

.pp-hover-card .pp-hover-card-description{
    width: 100% !important;
}

.pp-hover-card-overlay{
    background-image: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.75)) !important;
    opacity: 0.5;
}

.pp-hover-card:hover .pp-hover-card-title{
    opacity: 0.1;
}

/* Featured items */

.featured-article .pp-posts-wrapper{
    margin: 0 auto !important;
}

.featured-article .pp-content-grid-post-text{
    display: flex;
    flex-direction: row;
}

.featured-article .pp-content-grid-post-title-and-date{
    background: var(--black);
    background-size: cover;
    padding: 50px !important;
    position: relative;
    width: 50%;
}

.featured-article .pp-content-grid-post-title{
    aspect-ratio: 21/9;
    color: var(--white) !important;
    font-size: 28px;
    line-height: 1.1;
    position: relative;
        z-index: 2;
}

.featured-article .pp-content-grid-post-title a{
    color: var(--white) !important;
}

.featured-article .pp-content-grid-post-title-and-date .fl-post-meta{
    color: var(--white);
    margin-bottom: 0 !important;
    position: relative;
        z-index: 2;
}

.featured-article .pp-content-grid-post-excerpt{
    padding: 50px !important;
    width: 50%;
}

.featured-article .pp-content-grid-post-excerpt p{
    margin: 0;
}

.featured-article .pp-content-grid-post-image, 
.featured-article .pp-content-grid-post-image-no-image{
    aspect-ratio: 16/9;
    background-size: cover;
    height: 100% !important;
    padding: 0 !important;
    position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    width: 100%;
}

.featured-article .pp-content-grid-post-image-no-image{
    background-image: url('img/heatmap_blue_2500px.jpg');
}

.featured-article.featured-project .pp-content-grid-post-image-no-image{
    background-image: url('img/heatmap_red_2500px.jpg');
}

.featured-article.featured-case-study .pp-content-grid-post-image-no-image{
    background-image: url('img/heatmap_magenta_2500px.jpg');
}

.featured-article .pp-content-grid-post-image{
    opacity: 0.5;
}

.featured-article .pp-content-grid-post-text{
    padding: 0 !important;
}

.featured-article .fl-post-grid-terms{
    display: none;
}

.featured-article .pp-content-grid-post-excerpt p{
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* One-two-three-block */

.one-two-three-block .one-two-three-title .fl-module-content{
    margin-top: 33px;
}

.one-two-three-block.one-two-three-one .fl-col > .fl-col-content, 
.one-two-three-block.one-two-three-two .fl-col > .fl-col-content, 
.one-two-three-block.one-two-three-three .fl-col > .fl-col-content, 
.one-two-three-block.one-two-three-four .fl-col > .fl-col-content{
    background: none !important;
}

.one-two-three-block.one-two-three-one .one-two-three-title > .fl-col-content{
    background: var(--blue) url('img/one_transparent.png') no-repeat calc(0% + 40px) calc(100% - 40px) !important;
    background-size: 40% auto !important;
}

.one-two-three-block.one-two-three-two .one-two-three-title > .fl-col-content{
    background: var(--blue) url('img/two_transparent.png') no-repeat calc(0% + 40px) calc(100% - 40px) !important;
    background-size: 40% auto !important;
}

.one-two-three-block.one-two-three-three .one-two-three-title > .fl-col-content{
    background: var(--blue) url('img/three_transparent.png') no-repeat calc(0% + 40px) calc(100% - 40px) !important;
    background-size: 40% auto !important;
}

.one-two-three-block.one-two-three-four .one-two-three-title > .fl-col-content{
    background: var(--blue) url('img/four_transparent.png') no-repeat calc(0% + 40px) calc(100% - 40px) !important;
    background-size: 40% auto !important;
}

.one-two-three-block .fl-col p:last-child{
    margin-bottom: 0;
}

/* Tabs */

.pp-tabs .fl-post-grid-terms{
    display: none;
}

/* Events */

.event_registration_form iframe{
    width: 100%;
}

/* Single article */

.single .post_writers p{
    float: left;
    margin: 0 25px 40px 0 !important;
}

.single .post_writers ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.single .post_writers li{
    display: inline;
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-right: 20px;
    text-transform: uppercase;
}

.single .post_body{
    font-family: 'Everett-Regular-web';
    font-size: 18px;
}

.single .post_body strong, 
.single .post_body bold{
    font-family: Everett-Bold-web;
}

.single #post-type-identifier{
    color: var(--white) !important;
    display: inline-block;
    font-family: Everett-Bold-web !important;
    font-size: 11px;
    font-weight: normal !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

.single #post-type-identifier a{
    border: none !important;
}

/* Slider (with background images) */

.fl-slide-foreground{
    max-width: 100% !important;
}

.fl-slide-content{
    margin: 50px !important;
}

/* Footer */

#mc_embed_signup{
    margin: 0 auto;
    max-width: 500px;
    text-align: center;
}

#mc_embed_signup input[type="email"]{
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    margin-bottom: 12.5px;
    text-align: center;
}

/* Responsives */

@media screen and (max-width: 1200px){
    
    .fl-module-content{
        margin: 25px;
    }

    #collections-grid .fl-post-column{
        width: 49.5%;
    }
    
    .fl-slide-content-wrap{
        width: 100% !important;
    }

    .wpcf7 label{
        margin-right: 25px;
        width: 100%;
    }
    
    h1{
        font-size: 48px !important;
    }

    h2{
        font-size: 28px !important;
    }
    
    .pp-hover-card-wrap{
        grid-gap: 5px !important;
    }

}

@media screen and (max-width: 770px){
    
    body{
        font-size: 16px;
    }
    
    .fl-module-content{
        margin: 25px;
    }
    
    h1{
        font-size: 40px !important;
    }

    h2{
        font-size: 28px !important;
    }
    
    .statement h2{
        font-size: 28px !important;
    }
    
    .fl-button-wrap .fl-button span{
        font-size: 12px !important;
    }
    
    .section-title .fl-row-content, 
    #hero .fl-row-content{
        background-attachment: scroll;
        background-size: 300% auto;
    }
    
    header .fl-row-content-wrap{
        min-height: 65px !important;
    }
    
    .fl-menu .fl-menu-mobile-toggle{
        position: absolute;
            top: 0;
    }
    
    header .nav-logo a{
        top: 5px;
    }
    
    header .fl-menu .fl-menu-mobile-toggle{
        top: 10px;
    }
    
    header .nav-search a{
        top: 25px;
    }
    
    #demos-logo{
        position: absolute;
            top: 15px;
            left: 0;
    }
    
    .menu{
        display: none;
        text-align: right !important;
    }
    
    .menu li{
        display: block !important;
    }
    
    .menu li .sub-menu{
        padding: 10px;
    }
    
    #hamburger{
        display: block;
    }
    
    #menu-main-menu{
        padding: 50px 0 10px 0 !important;
    }
    
    #menu-secondary-menu{
        padding: 10px 0;
    }
    
    .map_render g.imapsMapObject-group {
        stroke-width: 0.5 !important;
    }
    
    #people-wall .fl-post-image-cover{
        margin: 0 auto;
        width: 50%;
    }

    #collections-grid .fl-post-column{
        width: 100%;
    }
    
    .featured-article .pp-content-grid-post-text{
        display: block;
    }
    
    .featured-article .pp-content-grid-post-title-and-date, 
    .featured-article .pp-content-grid-post-excerpt{
        padding: 25px;
        width: 100%;
    }
    
    .fl-slide-content-wrap{
        text-align: left !important;
    }

    .fl-slide-content{
        background: var(--white) !important;
        margin: 0 !important;
        padding: 25px 0 !important;
    }

    .fl-slide-title{
        color: var(--blue) !important;
    }

    .fl-slide-text *{
        color: var(--black) !important;
    }
    
    #sea-of-logos .fl-col-small{
        width: 50%;
    }

}

/* Sharp fonts */

body{
    text-rendering: optimizeLegibility;
    text-rendering: geometricPrecision;
    font-smooth: always;
    font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}