/*
	Theme Name: City Cortex
	Theme URI: https://www.city-cortex.com
	Description: City Cortex Theme
	Version: 1.0
	Author: experimentadesign
	Author URI: http://www.experimentadesign.pt/
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:20px;
}

body {
	font-family: adobe-text-pro, serif;
	line-height: 1.4;
	font-weight: 400;
	font-style: normal;
	color:#000000;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#000000;
	text-decoration:none;
}
a:hover {
	color:#000000;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

a.scrollLink {
    border-bottom: 1px solid rgb(142, 168, 143);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
}

a.scrollLink:hover {
    border-bottom: 1px solid rgb(0, 0, 0);
}

/*------------------------------------*\
    TYPE + FONT-SIZE
\*------------------------------------*/

p {
	font-family: adobe-text-pro, serif;
	font-weight: 400;
	font-style: normal;	
}

h1 {
	font-family: titling-gothic-fb-extended, sans-serif;
	font-weight: 800;
	font-style: normal;
    font-size: 1.6rem;
    margin: 1.2rem 0;
}

h2,
li.menu-item a,
.newsletter {
	font-family: titling-gothic-fb-extended, sans-serif;
    font-weight: 200;
    font-style: normal;
}

.logo a h1 {
	font-size: 2.4rem;
}

li.menu-item a,
.sidebar h2 {
	font-size: 1rem;
    font-weight: 300;
}

div.caption {
    position: absolute;
    bottom: 0;
    left: 1.3rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
    color: #cccccc;
    mix-blend-mode: screen;
    transform: rotate(-90deg);
    transform-origin: bottom left;
}
/*------------------------------------*\
    OPT-IN MODAL Subscribe Newsletter
\*------------------------------------*/

#list-builder {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: none;
    z-index: 100000;
}

#popup-box {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #CB857C;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    display: none;
    z-index: 100000;
}

#popup-close {
    position: absolute;
    top: -25px;
    right: -25px;
    cursor: pointer;
    width: 40px;
}

#popup-box h1 {
    margin: 0;
}

#popup-box table {
    width: 100%;
}

#popup-box form {
    margin-bottom: 0px;
}

#popup-box input {
    padding: 10px;
    border: 0;
    background-color: #d8a59d;
    width: 100%;
}

#popup-box input.submit {
    background-color: rgba(72, 119, 80, 1);
    font-family: titling-gothic-fb-extended, sans-serif;
    font-weight: 800;
    padding: 1.2rem;
    transition: background-color 0.5s ease;
    -webkit-transition: background-color 0.5s;
    -moz-transition: background-color 0.5s;
}

#popup-box input.submit:hover {
    background-color: rgba(118, 153, 124, 1);
    font-family: titling-gothic-fb-extended, sans-serif;
    font-weight: 800;
    padding: 1.2rem;
}

#popup-box a {
    font-family: titling-gothic-fb-compressed, sans-serif;
    color: #000000;
    text-decoration: underline;
}

#popup-box p.small {
    font-size: 0.8rem;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* group */

.group {
	position: relative;
    margin: 0;
    padding: 0;	
}


/* wrapper */
.wrapper {
    width: calc(100% - 50px);
    position: relative;
}

/* MAIN */


main {
    margin-top: 4.4rem;
    min-height: 94vh;
}

/*
main.gallery {
    height: auto !important;
}
*/


/* header */
.header {
    top: 0;
    position: fixed;
    height: 4.4rem;
    z-index: 10000;
    width: calc(100% - 50px);
	padding: 0.5rem 1rem;
	background-color: #ffffff;
    transition: background-color 0.5s ease;
	-webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
    border-bottom: 1px solid #000000;
}

/* logo */
.logo {
	float: left;
}
.logo a {
    max-width: 600px;
    display: block;
}

.logo a h1 {
	margin: 0;
	padding: 0;
	color: #000000;
}


/* nav */
.header .nav {
	float: right;
}

.header .nav ul {
	list-style-type: none;
	margin: 1.5rem auto;
	padding: 0;
}

.header .nav ul li {
	display: inline-block;
}

.header .nav ul li a {
	display: block;
    margin: 0 0.5rem;
    transition: color .15s;
}

.header .nav ul li:last-of-type a {
    margin-right: 0;
}

.header .nav ul li a:hover {
	border-bottom: 1px solid #497752;
}


.header .nav ul li [aria-current] {
    text-decoration: none;
    color: #497752;
}

.header .dark .nav ul li a:hover {
	border-bottom: 1px solid #497752;
}


.header .dark .nav ul li [aria-current] {
    text-decoration: none;
    color: #497752;
}

/* mobile menu */
#mobile-menu {
    display: none;
}

/* sidebar */
.sidebar {
	background-color: #ffffff;
    width: 50px;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    transition: background-color 0.5s ease;
	-webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
    border-left: 1px solid #000000;
    z-index: 20000; /* solve moving border aside */
}


.sidebar.absolute {
/*    right: 0; */
/*	top: -6.85rem; */
}


.sidebar .rotate {
	display: block;
    transform: rotate(270deg);
    transform-origin: top left;
    position: absolute;
    height: 20px;
    bottom: 0;
}

.sidebar h2 {
    display: block;
    margin: 0;
    padding: 0;
    width: max-content;
    line-height: 2.5rem;
}

.sidebar h2 a:hover {
	color:#ffffff;
}

#lang {
	padding: 0.5rem 0;
}

.language-chooser {
    list-style-type: none;
    margin: 1.5rem 0 0 0;
    padding: 0;
}

.language-chooser .active {
	display: none;
}

.language-chooser li {
    text-align: center;
}

li.menu-item.qtranxs-lang-menu a,
.language-chooser li a {
    color: #497752;
    font-family: titling-gothic-fb-compressed, sans-serif;
    font-weight: 300;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.02rem;
    font-size: 1.2rem;
}

li.menu-item.qtranxs-lang-menu a:hover,
.language-chooser li a:hover {
    color: #000000;
}

.dark li.menu-item.qtranxs-lang-menu a:hover,
.language-chooser li a:hover {
    color: #ffffff;
}


/* header DARK */
/* sidebar DARK */

.dark .sidebar,
.dark .header {
	color: #ffffff;
	background-color: #000000;
}

.dark .header a,
.dark .switch-amorim,
.dark .header h1,
.dark .sidebar h2,
.dark .logo a h1 {
	color: #ffffff;
}

.dark.sidebar {
	color: #ffffff;
	background-color: #000000;
}

.dark.sidebar a,
.dark.sidebar h2 {
	color: #ffffff;
}

/* footer */


.footer h1,
.footer h2,
.footer .newsletter,
.footer li.menu-item a {
	font-size: 1rem;	
}

.footer {
	position: absolute;
    z-index: 1000;
	clear: both;
	background-color: #000000;
	color: #5a5a62;
    width: 100%;
/*    height: 18rem; */
    height: auto;
    padding: 1rem 50px 1rem 1rem;
    overflow: hidden;
}

.footer .sitemap {
	display: flex;
	width: 100%;
	height: 100%;
	padding-bottom: 2rem;
    flex-direction: row;

}

.footer h1,
.footer h2 {
	color: #ffffff;
}

.footer h2 {
	margin: 1.2rem 0;
}

.footer h3 {
    font-size: 12px;
}

.footer section {
	position: relative;
    padding-bottom: 2rem;
/*    height: 100%; */
    border-bottom: 1px solid #5a5a62;
}

.footer section:first-of-type {
	margin-right: 2rem;
}

.footer section:first-of-type ul {
	columns: 2;
	-webkit-columns: 2;
	-moz-columns: 2;
}

.footer section:first-of-type ul li:nth-child(-n+3) {
	margin-right: 2rem;
}

.footer ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.footer li.menu-item a {
	color: #5a5a62;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.footer li.menu-item a:hover,
footer input[type="submit"]:hover {
	color: #ffffff;
}


.footer .menu {
	padding-bottom: 2rem;
}

.footer .newsletter {
    position: absolute;
    display: block;
    clear: both;
    margin: 0;
    bottom: 0;
    width: 100%;
}

.footer input[type="text"],
.footer input[type="email"]
 {
    margin: 0;
    padding: 0;
    border: none;
    background-color: transparent;
    color: #ffffff;
	font-weight: 300;
    width: 22rem;
}

footer input[type="submit"] {
    margin: 0;
    margin-top: 0.2rem;
    padding: 0;
    border: none;
    background-color: transparent;
    color: #5a5a62;
	font-family: titling-gothic-fb-compressed, sans-serif;
	font-weight: 300;
	font-style: normal;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
    float: right;
}


.footer .contacts {
	flex-grow: 1;
}


.footer .contact {
    padding-bottom: 1rem;
    float: left;
}

.footer .contact.amorim {
    padding-right: 1rem;
}

.footer .contact .logo {
    display: block;
    width: 100%;
    padding-bottom: 1rem;
}

.footer .contact .logo img {
    height: 4rem;
    width: auto;
    max-width: 10rem;
    opacity: 0.3;
	-webkit-transition: opacity .3s ease-in-out;
	-moz-transition: opacity .3s ease-in-out;
	-ms-transition: opacity .3s ease-in-out;
	-o-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
}

.footer .contact.amorim .logo img {
    max-width: 7rem;
}

.footer .contact .logo img:hover {
    opacity: 1;
}

.footer address {
    font-size: 0.8rem;
    font-style: normal;
    padding-bottom: 2rem;
}

.footer address a {
    color: #5a5a62;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.footer address a:hover {
    color: #ffffff;
}

.footer .copyright {
    display: block;
    clear: both;
	margin: 0;
    padding: 0;
    bottom: 0;
    position: absolute;
    width: 100%;
    text-align: right;
	font-family: titling-gothic-fb-compressed, sans-serif;
	font-weight: 300;
	font-style: normal;
}

/*------------------------------------*\
    BUTTONS
\*------------------------------------*/

a.return,
a.prev,
a.next,
a.top {
    display: inline-block;
    font-family: titling-gothic-fb-compressed, sans-serif;
    font-weight: 300;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.02rem;
    color: #000000;
    background-color: #749a7a;
    opacity: 0.6;
    padding: 0.5rem;
    cursor: pointer;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

a.return {
    margin-top: 2rem;
}

a.return:hover,
a.prev:hover,
a.next:hover {
    opacity: 1;
}

a.prev {
    float: left;
}

a.next {
    float: right;
}

a.anchor { /* For Cork Use Section and TOP button */
    display: block;
    position: relative;
    top: -4.4rem;
    visibility: hidden;
}

a.top {
    bottom: 0;
    left: 0;
    position: fixed;
    z-index: 10000;
}


/*------------------------------------*\
    Homepage GRID + GRID-ITEMS
\*------------------------------------*/

#home-container .grid-item {
	float: left;
 	width: calc(33.3333333333% - 1rem);
 	position: relative; /* For text inside of it */
 	margin: 0.5rem;
	text-align: center;
}

#home-container .grid-item a {
	display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
	-webkit-transition: background .3s ease-in-out;
	-moz-transition: background .3s ease-in-out;
	-ms-transition: background .3s ease-in-out;
	-o-transition: background .3s ease-in-out;
	transition: background .3s ease-in-out;
}

#home-container .grid-item a:hover {
	opacity: 0.75;
}

#home-container .grid-item.color.green a { background: #497752; }
#home-container .grid-item.color.green a:hover { background: #8ea78f; }
#home-container .grid-item.color.pink a:hover { background: #e0bbb4; }

#home-container .grid-item img {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    -o-object-fit: cover;
    -ms-object-fit: cover;
}

#home-container .grid-item.color.green { background: #497752; }
#home-container .grid-item.color.pink { background: #CB857C; }
.caption.caption-dark { color: #497752; }
.caption.caption-light { color: #ffffff; }

.ar11 { padding-top: calc(33.3333333333% - 1rem); } /* 1:1 Aspect Ratio */
.ar32 { padding-top: calc(22.2222222222% - 1rem); } /* 3:2 Aspect Ratio */
.ar23 { padding-top: calc(50% - 1rem); } /* 2:3 Aspect Ratio */
.ar45 { padding-top: calc(41.6666666666% - 1rem); } /* 4:5 Aspect Ratio */


#home-container .grid-item .text {
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	top: 0; 
	right: 0;
	bottom: 0; 
	left: 0;
	padding: 0.5rem 2rem;
	opacity: 1;
}


#home-container .grid-item .text h1 {
    margin: 0.5rem 0;
    line-height: 1.2;
}

#home-container .grid-item span.style-one {
    font-family: titling-gothic-fb-extended, sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 0.7rem;  
}

#home-container .grid-item span.style-two {
    font-family: titling-gothic-fb-extended, sans-serif;
    font-weight: 200;
    font-style: normal;
    line-height: 1.2;
}

/* HIGHLIGHTS 

#highlights .details,
#highlights p {
    font-family: titling-gothic-fb-extended, sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 0.8rem;
}


}

#highlights h1 {
    font-size: 1.4rem;
    font-family: titling-gothic-fb-extended, sans-serif;
    font-weight: 800;
    font-style: normal;
}
*/

/*------------------------------------*\
    HOMEPAGE — AMORIM
\*------------------------------------*/


.home-amorim .main {
	background: url('img/A-Intro-04.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

.home-amorim .brief {
	padding: 0.5rem;
	border: 1rem solid white;
    height: 100vh;
    background: rgba(0, 0, 0, 0.1);
}

.pt-outputs .brief {
    background: #8ea88f;    
}

.brief p {
	font-style: normal;
    font-size: 1.6rem;
    color: #ffffff;
    margin-left: 0.5rem;
    line-height: 1.2;
    padding: 2rem 0 3rem;
    max-width: 1024px;
}

.pt-outputs .brief p {
    color: #487750;    
}

.brief p a {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    font-family: titling-gothic-fb-compressed, sans-serif;
    font-weight: 300;
    font-style: normal;
}

.brief p a:hover {
	color: #497752;
	border-bottom: 1px solid #497752;
}

.brief img {
    max-width: 980px;
}

/* AMORIM — CORK Page */

.cork article .wp-caption .wp-caption-text {
    padding: 0.4rem 0;
    text-align: center;
}

.main p.wp-caption-text {
    max-width: 100%;
}

.main .characteristics ul {
    padding: 0;
    list-style-type: none;
    margin-left: 7rem;
    margin-top: 3rem;
    max-width: 740px;
}

.characteristics ul li {
    clear: both;
    padding-bottom: 2rem;
}

.characteristics ul li:before {
    position:absolute;
    display: block;
    width: 7rem;
    height: 7rem;
    padding: 0 1rem 1rem 0;
    margin-left: -7.2rem;
}


.characteristics ul li:nth-child(1):before { content:url('img/icon_water.svg'); }
.characteristics ul li:nth-child(2):before { content:url('img/icon_acoustic.svg'); }
.characteristics ul li:nth-child(3):before { content:url('img/icon_fire.svg'); }
.characteristics ul li:nth-child(4):before { content:url('img/icon_friction.svg'); }
.characteristics ul li:nth-child(5):before { content:url('img/icon_elasticity.svg'); }
.characteristics ul li:nth-child(6):before { content:url('img/icon_hypoallergenic.svg'); }
.characteristics ul li:nth-child(7):before { content:url('img/icon_touch.svg'); }
.characteristics ul li:nth-child(8):before { content:url('img/icon_lightness.svg'); }



/*------------------------------------*\
    PAGES
\*------------------------------------*/

section.page {
/*	
	padding: 20px;
*/
}

.project section.page {
/*
	background-color: #8EA88F;
*/
}

h1.page-title {
	margin: 0;
	color: #497752;
	font-size: 1.4rem;
}

.page p {
	padding-right: 1rem;
}

.page-content h1:not(:first-of-type),
.about .page-content h1,
.characteristics h1,
.uses h1 {
    margin: 4rem 0 0;
}

.page-content h2 {
	color: #487750;
	font-weight: 800;
	font-size: 1rem;
	margin-top: 2rem;
}

.page-content h3 {
    font-family: titling-gothic-fb-compressed, sans-serif;
    font-weight: 300;
    letter-spacing: 0.03rem;
    font-size: 1.4rem;
    display: inline-block;
    color: #ffffff;
    background: #47764f;
	margin-top: 2rem;
    margin-bottom: 0;
    padding: 0.2rem 0.25rem 0;
}

.page-content h4 {
	padding: 0;
	font-size: 1.4rem;
    margin: .2rem 0;
}

.page-content h4:before {
    content: '\2014';
	margin-right: 0.2rem;
}

.page-content strong {
	font-size: 1.4rem;
    /* font-family: titling-gothic-fb-extended, sans-serif; */
    /* font-weight: 800; */
    /* font-style: normal; */
    color: #487750;
	line-height: 1;
}

/*
.page-content h2:nth-of-type(1),
.page-content h2:nth-of-type(4) {
	padding-top: 0;
}
*/

section.amorim h1,
section.project h1 {
	font-size: 1.4rem;
}

/*------------------------------------*\
    NOTE TEMPLATE
\*------------------------------------*/

body.page-template-template-note-php {
    background-color: #8ea88f;
}

/*------------------------------------*\
    CREDITS PAGE
\*------------------------------------*/

.credits .colhalf h2 {
	padding-top: 4rem;
	font-family: titling-gothic-fb-extended, sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 0.6rem;
}

.credits .colhalf em {
	color: #497752;
    font-family: titling-gothic-fb-compressed, sans-serif;
    font-weight: 300;
    font-style: normal;
}


.credits .colhalf-3 li {
	list-style-type: none;
}

.credits .colhalf-3 h2 {
	padding-top: 4rem;
	font-family: titling-gothic-fb-extended, sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 0.6rem;
}

.credits .colhalf-3 em {
	color: #497752;
    font-family: titling-gothic-fb-compressed, sans-serif;
    font-weight: 300;
    font-style: normal;
}


.credits .colhalf-3 li {
	list-style-type: none;
}
/*------------------------------------*\
    GALLERY PAGE
\*------------------------------------*/

/* Gallery SECTION + FILTERS */

.filters {
    bottom: 0;
    left: 0;
    position: fixed;
    z-index: 10000;
    max-width: calc(100% - 50px);
    padding: 1rem;
}

.filters.absolute {
    max-width: 100%;
}

.filters fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.filters a.filter {
    margin: 0.35rem 0.15rem 0 0;
    display: inline-block;
    font-family: titling-gothic-fb-extended, sans-serif;
    font-weight: 800;
    font-style: normal;
    background: #8ea88fd4;
    padding: 0.5rem;
    cursor: pointer;
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    -ms-transition: background .3s ease-in-out;
    -o-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.filters a.filter.reset {
    font-family: titling-gothic-fb-compressed, sans-serif;
    font-weight: 300;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.02rem;
/*  background-color: #CB857C;
    opacity: 0.6; */
}

.filters a.filter:hover,
.filters a.filter:active,
.filters a.filter.active {
    background: #497753;
}


/* Gallery GRID + GRID-ITEMS */


#gallery-container {
    margin: 0.35rem;
    padding-bottom: 12rem;
}

#gallery-container .grid-item { 
    width: 20%; 
    padding: 0.15rem;
}

#gallery-container .grid-item img {
    height: auto;
    display: block; 
    width: 100%;
    opacity: 1;
    -webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -ms-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}

#gallery-container .grid-item:hover img {
    opacity: 0.8;
}



/* Gallery MODAL */

.blocker {
    z-index: 100000;
    background-color: rgba(0,0,0,0.90);
}

.modal {
    max-width: inherit;
    width: auto;
    background: none;
    padding: 0;
    transform: inherit !important;
    position: relative !important;
    left: initial !important;
    top: initial !important;
    opacity: 1 !important;
}

.modal img {
    height: auto;
    max-height: 80vh;
}

.modal .nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.modal .nav a.prev,
.modal .nav a.next {
    width: 50%;
    text-align: center;
    background-color: #487750;
}

.modal a.close-modal {
    background-image: url('img/close_green.png');
}


/*------------------------------------*\
    PRESS PAGE
\*------------------------------------*/

.left-container {
    position: fixed;
    height: calc(100% - 4.4rem);
    border-right: 1px solid #000000;
    left: 0;
    width: calc(50% - 25px);
    overflow: hidden;
    background-color: #8ea88f;
}

.left-container.absolute {
    width: 50%;
    height: 100%;   
}

ul.presskits  {
    list-style-type: none;
    padding-left: 0.3em;
}

ul.presskits li {
    float: left;
    margin: 0 1rem 1rem 0;
    width: 6rem;
    text-align: center;

}

ul.presskits a {
    transition: all .5s ease;
} /* not working */

ul.presskits a:hover {
    transform: scale(1.1);
}

ul.presskits a.file:before {
    display: block;
    width: 6rem;
    height: auto;
    padding: 0;
    margin: 0;
    transition: transform .5s ease;
}

ul.presskits a.file.pdf:before { content:url('img/icon_pdf.svg'); }
ul.presskits a.file.zip:before { content:url('img/icon_zip.svg'); }

ul.presskits h3 {
    font-size: 1em;
    margin: 0;
}

ul.presskits h4 {
    font-size: 1em;
    margin: 0;
    font-family: titling-gothic-fb-compressed, sans-serif;
    font-weight: 400;
}

/*------------------------------------*\
    ARCHIVES
\*------------------------------------*/

/* Stories ARCHIVE + Clipping ARCHIVE */

.post-type-archive-stories main,
.press .archive.clipping {
    background-color: #8ea88f;
}

.archive.stories h1,
section.press h1 {
    padding: 1rem;
    max-width: none;
    border-bottom: 1px solid #000000;
}


.archive.stories h2,
.archive.clipping h2 {
    font-weight: 800;
    margin: 0;
}

.archive.clipping h2 {
    font-size: 1.2em;
}

.archive.stories article,
.archive.clipping article {
    padding: 1rem;
    border-bottom: 1px solid #000000;    
    background-color: rgba(71, 118, 79, 0);
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    width: 100%;
    position: relative;
}

.archive.stories article:hover,
.archive.clipping article:hover {
    background-color: rgba(71, 118, 79, 1);
}

.archive.stories article p, 
.archive.stories article h1, 
.archive.stories article h2 {
    max-width: 800px;
}

.archive.stories span.date,
.archive.clipping span.date {
    font-family: titling-gothic-fb-compressed, sans-serif;
}

span.source {
    font-family: titling-gothic-fb-extended, sans-serif;
    font-weight: 200;
    font-style: normal;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.archive.stories figure,
.archive.clipping figure {
    width: 20%;
    float: left;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.archive.clipping figure {
    width: 30%;
    float: left;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.archive.clipping figure {
    background: #497753;
}

.archive.stories figure img {
    transition: transform .5s ease;
}

.archive.clipping figure img {
    mix-blend-mode: screen;
    -webkit-filter: grayscale(100%) contrast(100%);
    filter: grayscale(100%) contrast(100%);
    transition: transform .5s ease;
}


.archive.stories article:hover img,
.archive.clipping article:hover img {
    transform: scale(1.1);
}


.archive.stories .post-content,
.archive.clipping .post-content {
    width: 80%;
    float: left;
    padding: 0 0 0 1rem;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.archive.clipping .post-content {
    width: 70%;    
}

/* Participants LOOP */

.main section#outputs,
.main section#participants,
.main section#home,
.main section#highlights,
.main section#gallery {
	padding: 0.5rem;
}

.section-404 {
    padding: 1rem;  
}


.main p {
    max-width: 900px;
}


.main ul {
    max-width: 880px;
}

.p-box {
	cursor:pointer;
	float: left;
 	width: calc(33.3333333333% - 20px);
 	position: relative;
 	padding-bottom: calc(41.6666666666% - 20px);
 	margin: 0.5rem;
	text-align: center;
    background: #497753;
    overflow: hidden;
}


/* article:last-of-type 
.post-9 .p-box {
	width: calc(66.6666666666% - 20px);
}
*/

.p-thumb {
	display: block;
}

.p-thumb img {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    -o-object-fit: cover;
    -ms-object-fit: cover;
    mix-blend-mode: screen;
    -webkit-filter: grayscale(100%) contrast(100%);
    filter: grayscale(100%) contrast(100%);
    transition: transform .5s ease;
}

.p-name {
	position: absolute;
	top: 0; 
	right: 0;
	bottom: 0; 
	left: 0;
	text-align: center;
	background-color: rgba(142, 167, 143, 0.4);
	opacity: 1;
	vertical-align:middle;
	line-height: 40vw;
    transition: background-color 0.5s ease;
	-webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
}

.p-name:hover {
	background-color: rgba(142, 167, 143, 0.1);
}

#participants article:hover img {
    transform: scale(1.1);
}

.p-name a {
	display: block;
	width: 100%;
	height: 100%;
}

.p-name h1 {
	color: rgb(73, 119, 82);
	display: inline-table;
	vertical-align:middle;
	line-height:100%;            
}

/* Outputs LOOP — TEMP */

.outputslist {
	padding: 1rem;
}



/*------------------------------------*\
    SINGLE Post
\*------------------------------------*/

.single-post .main,
.single-stories .main {
	background-color: rgba(71, 118, 79, 0.5);
}

.single-post section.colfull,
.single-stories section.colfull  {
	max-width: 940px;
}

.single-post article h1,
.single-stories article h1 {
	color: #497752;
	line-height: 1.2;
}


/*
.single-post img,
.single-highlights img {
    height: auto !important;  wp-caption img line ~ 1513 
    width: 100% !important;
}
*/

.single-post img.left-half,
.single-stories img.left-half {
	width: 50%;
	float: left;
	margin: 0;
    padding-right: 0.5rem;
}

.single-post img.right-half,
.single-stories img.right-half {
	width: 50%;
	margin: 0;
    padding-left: 0.5rem;
}


/*------------------------------------*\
    SINGLE Participants
\*------------------------------------*/


.participant-content p {
/*
    font-family: titling-gothic-fb, sans-serif;
    font-weight: 300;
    font-style: normal;
*/
}

.photo-container {
    position: fixed;
    height: calc(100% - 4.4rem);
	border-left: 1px solid #000000;
	right: 50px;
	width: calc(50% - 25px);
    overflow: hidden;
}

.photo-container.absolute {
    width: 50%;
	right: 0;
	height: 100%;	
}

.photo {
    position: absolute;
    bottom: 0;
    left: 0;
    height: calc(100vh - 4.4em);
    width: 100%;
    object-fit: cover;
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    -o-object-fit: cover;
    -ms-object-fit: cover;
}

.website a,
.moreinfo a,
a.view-article {
	display: inline-block;
	font-family: titling-gothic-fb-compressed, sans-serif;
    color: #000000;
    text-decoration: underline;
}


.website a,
.moreinfo a {
    color: #497752;
/*    margin: 0.5rem 0; */
}


.single-participants a.return {
    position: absolute;
    bottom: 2rem; /* HOLD */
}

/* Outputs LOOP */


/*------------------------------------*\
    FIXED elements into ABSOLUTE
\*------------------------------------*/

.hold.absolute {
    position: absolute;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/






/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

/*
@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}
*/

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1600px) {

    .archive.stories figure {
        width: 30%;
    }

    .archive.stories .post-content {
        width: 70%;
    }
}

@media only screen and (max-width:1440px) {

	html {
		font-size: 18px;
	}

    .main p,
    article p,
    .single-post section.colfull,
    .single-stories section.colfull,
    h1, h2, h3, h4 {
		max-width: 780px;
	}

    .main p iframe {
        width: 100%;
    }

    .main ul {
        max-width: 760px;
    }

    .main .characteristics ul {
        max-width: 640px;
    }

	.p-box {
	 	width: calc(50% - 20px);
	 	padding-bottom: calc(44% - 20px);
	}

	#home-container .grid-item {
	 	width: calc(50% - 20px);
	}

	.ar11 { padding-top: calc(50% - 20px); } /* 1:1 Aspect Ratio */
	.ar32 { padding-top: calc(33.3333333333% - 20px); } /* 3:2 Aspect Ratio */
	.ar23 { padding-top: calc(75% - 20px); } /* 2:3 Aspect Ratio */
	.ar45 { padding-top: calc(62.5% - 20px); } /* 4:5 Aspect Ratio */

    #gallery-container .grid-item { 
        width: 25%; 
    }

}

@media only screen and (max-width:1280px) {

	main .colhalf {
	    width: 100%;
	}
	main .colhalf-3 {
	    width: 100%;
	}
	.colfull {

	}

	.photo-container,
	.photo-container.absolute,
    .left-container {
		display: block;
	    position: relative;
	    border-bottom: 1px solid #000000;
	    border-left: 0;
        border-right: 0;
	    left: 0;
	    width: 100%;
	}

	.photo-container img {
		display: block;
	    position: relative;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 78vh;
	    object-fit: cover;
	    -webkit-object-fit: cover;
    	-moz-object-fit: cover;
    	-o-object-fit: cover;
    	-ms-object-fit: cover;
	}

	.logo a {
	    padding: 4px 0;
	}

	.logo a h1 {
	    font-size: 2rem;
	}

	.logo h2 {
		font-size: 1rem;
		margin: 0;
	}

	.header .nav ul {
	    margin: 20px 0 9px 0;
	}

	li.menu-item a, .sidebar h2 {
	    font-size: 1rem;
	}

	.header .nav ul li a {
	    margin: 0 6px;
	}

    .footer {
        padding: 1rem;
    }

    .footer .contact {
        float: right;
        width: 14rem;
        padding-bottom: 0;
        height: auto;
    }

}

@media only screen and (max-width:1024px) {

	.header {
		width: 100%;
		height: 4rem;
		overflow: hidden;
		transition: height 1s ease;
	}

	.header.full-height {
		height: 101%;
	}

    #default-menu {
        display: none;
    }

	#mobile-menu {
		display: block;
		float: right;
	}

    .mobile-header h1,
    .mobile-header h2 {
        display: block;
    }

    .mobile-header h1 {
        margin: 0;
        padding: 0.2rem 0;
        float: left;
        font-size: 2rem;
    }

    .mobile-header h2 {
        float: right;
        font-size: 1rem;
        margin: 0;
        padding: 0;
        padding-top: 1.2rem;
    }

	ul#menu-mobile {
		list-style-type: none;
		margin: 0;
		padding: 0;
		padding-top: 10vh;
	}

	ul#menu-mobile li {
		padding: 0.8rem;
		text-align: center;
	}

	#mobile-nav {
		display: block;
	}

	.header .nav {
		display: none;
	}

	.header .nav-pane {
	    display: flex;
	    flex-direction: column;
    	justify-content: space-between;
		width: 100%;
	}	

	a.mobile-btn {
		display: block;
		margin: 0;
		padding: 0;
		border: 0;
	}	

    main {
        margin-top: 4rem;
    }


	.sidebar {
	    display: none;
	}

	.wrapper {
		width: 100%;
	}

	.page p {
	    padding-right: 0;
	}

    #gallery-container .grid-item { 
        width: 33.3333333333%; 
    }

	.footer {
		height: auto;
	}

	.footer .sitemap {
	    padding-bottom: 20px;
	}

    .sitemap  {
        flex-direction: column;
    }

	.footer .sitemap .floatleft,
    .footer .contacts .floatright .footer-flex-container-2 .footer-flex-container{
		display: none;
	}

	.footer .contact {
	    padding: 0 0 15px 30px;
	}

	.footer .contact .logo img {
	    height: 60px;
	}

    .filters {
        max-width: calc(100% - 20px);
    }


}

@media only screen and (max-width:768px) {

	.mobile-header h1 {
	    font-size: 1.8rem;
	}

	.mobile-header h2 {
		font-size: 0.9rem;
	}

	#home-container .grid-item {
	 	width: calc(100% - 20px);
	}

	.ar11 { padding-top: calc(100% - 20px); } /* 1:1 Aspect Ratio */
	.ar32 { padding-top: calc(66.6666666666% - 20px); } /* 3:2 Aspect Ratio */
	.ar23 { padding-top: calc(150% - 20px); } /* 2:3 Aspect Ratio */
	.ar45 { padding-top: calc(125% - 20px); } /* 4:5 Aspect Ratio */

    #gallery-container .grid-item { 
        width: 50%; 
    }

    .participants .p-box {
        width: calc(100% - 20px);
        padding-bottom: calc(80% - 20px);
    }

    .participants .p-name {
        line-height: 80vw;
    }

    .archive.stories figure {
        width: 100%;
        float: none;
        margin: 0;
    }

    .archive.stories .post-content {
        width: 100%;
        float: none;
        padding: 1rem 0 0 0;
    }

}

@media only screen and (max-width:600px) {

	.mobile-header h1 {
	    font-size: 1.6rem;
	}

	.mobile-header h2 {
		font-size: 0.8rem;
        padding-top: 1rem;
	}

	#mobile-menu {
		padding-top: 0.3rem;
	}

    .characteristics ul {
        margin-left: 100px;
    }

    .characteristics ul li:before {
        width: 100px;
        height: 100px;
        margin-left: -100px;
    }


}

@media only screen and (max-width:480px) {

	html {
		font-size: 16px;
	}

	.colleft {
	    padding: 1rem 0.5rem 8rem !important;
	}

	.main section#outputs, .main section#participants, .main section#home {
	    padding: 0;
	}

	.header {
	    height: 3rem;
        padding: 0.5rem;
	}


	main {
	    margin-top: 3rem;
	}


	.mobile-header h1 {
	    font-size: 1.2rem;
	}

	.mobile-header h2 {
		font-size: 0.6rem;
        padding-top: 0.8rem;
	}

	#mobile-menu {
		padding-top: 0.1rem;
	}

	ul#menu-mobile li {
	    padding: 0.5rem;
	}

	li.menu-item a, .sidebar h2 {
	    font-size: 1rem;
	}

	#home-container .grid-item .text {
	    padding: 10px;
		line-height: 1.2;
	}

	#home-container .grid-item span.style-one, 
    #home-container .grid-item span.style-two {
		font-size: 0.6rem;
	}

	.photo-container img {
	    height: 48vh;
	}

    #gallery-container .grid-item { 
        width: 100%; 
    }

    #gallery-container .grid-item a {
        pointer-events: none;
    }

    #filters {
        opacity: 0;
    }

	.footer {
		padding: 10px;
	}

}

@media only screen and (max-width:320px) {

	#home-container .grid-item span.style-one, 
    #home-container .grid-item span.style-two {
		font-size: 0.5rem;
	}

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#497753;
	color:#8ea88f;
	text-shadow:none;
}
::-webkit-selection {
	background:#497753;
	color:#8ea88f;
	text-shadow:none;
}
::-moz-selection {
	background:#497753;
	color:#8ea88f;
	text-shadow:none;
}
.floatright-footer{
    float: right;
    text-align: left;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer-flex-container-2{
    display: none;
}

.floatleft { float: left; }
.floatright { float: right; }
.colfull { width: 100%; margin:0 auto; }
.colhalf { width: 50%; }
.colhalf-3 { width: 33.33333%; }
.colleft { padding: 20px 20px 160px; }
.gutter {}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	max-width:100%;
	padding:0;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:100%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text {
	font-size:0.7rem;
	margin:0;
	padding:0.25rem 0;
	text-align: left;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}




.footer-flex-container {
  display: flex;
  flex-direction: row;
  text-align: left;
  justify-content: center;
}

.footer-flex-item {
  padding: 5px;
}


.footer-flex-container-2 {
  display: none;
  flex-direction: row;
  text-align: center;
  justify-content: center;
}

.footer-flex-item-2{
  padding: 10px;
}


/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 1750px) {
  .footer-flex-container {
   display: none;
  }

  .footer-flex-container-2 {
    display: flex;
  }

}

