/*
	Theme Name: D15
	Theme URI: http://d15diversityplan.com
	Description: D15 Theme
	Version: 1.0.0
	Author: MS
	Author URI:
	Tags: D15

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

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

@import url('fonts/fonts.css');
@import url('js/swipebox.css');
/*@import url(icons.css);*/

body {
	font: normal 24px/1.2em Arnhem, Georgia, Times, Times New Roman, serif;
	background-color: #fff;
	padding: 0;
	margin: 0;
	-webkit-font-smoothing: antialiased
}

/*h1, h2, h3, h4, h5, h6 {
	font-family: Arnhem, Georgia, Times, Times New Roman, serif;
}*/

/* @group Global */

a {
	color: inherit;
}

a.btn {
	font-family: Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	padding: 1em;
	border-width: 4px;
	border-style: solid;
	border-color: inherit;
	color: inherit;
	text-decoration: none;
	font-weight: bold;
	display: block;
	text-align: center;
	box-sizing: border-box;
}

a.fullsize {
	width: 75%;
	margin: 0 auto 1.5em auto;
	clear: both;
}

a.fullsize:last-child {
  margin-bottom: 0;
}

h3 {
	font-size: 1em;
	text-transform: uppercase;
}

h3:first-child {
	margin-top: 0;
}

/* @end */

/* @group Language Switcher */

ul.lang {
	font-family: Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	padding: 0;
	list-style-type: none;
}

ul#lang {
	font-size: .75em;
	position: absolute;
	top: .75em;
	left: 50%;
}

ul.lang li {
	display: inline-block;
}

ul.lang li:not(:first-child):before {
	content: "/";
	color: inherit;
	margin: 0 .5em;
}

/* @end */

.block {
	padding: 1.5em 1.5em 2em 1.5em;
	border-top: 2.55vw solid #fff;
	overflow: auto;
}

.block h2.title {
	font-size: 2em;
	line-height: 1.2em;
	width: 50%;
	margin: 0 0 1em 0;
	padding-top: .5em;
	float: left;
}

/* @group Quick Nav */

#menuToggle, .swipeclose {
	position: fixed;
	top: 1.4em;
	right: 1.5em;
	width: 3em;
	height: 2.5em;
	z-index: 9999;
}

#quickNav {
	color: #fff;
	background-color: #000;
	height: 100vh;
	position: fixed;
	top: 0;
	right: -24em;
	z-index: 9998;
	width: 20em;
	transition: right .3s;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
	
/*	background-color: rgba(0,0,0, .8);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px)*/
}

.openMenu {
	right: 0 !important;
}

.noscroll {
	overflow: hidden;
}

/*#quickNav > div {
	min-height: 100%;
}*/

ul#toc {
	list-style-type: none;
	padding: 6em 1.5em 4em 1.5em;
	margin: 0;
}

#toc li {
	padding: 0;
}

#toc a {
	font-size: 2em;
	line-height: 1em;
	text-decoration: none;
	font-weight: bold;
}

#quickNav ul.lang {
	color: #fff;
	padding: 1.5em;
	height: 4.5em;
	margin: -4.5em 0 0 0;
}

/* @end */

/* @group Header Block */

.headerBlock {
	border: none !important;
}

.headerBlock img {
	width: 85%;
	margin-bottom: -8%;
}

.headerBlock div.intro {
	width: 50%;
	float: right;
}

.headerBlock h1 {
	font-size: 2em;
	line-height: 1.1em;
	font-weight: normal;
}

/* @end */

/* @group Text Block */

p {
	margin: 1.5em 0;
}

.txtBlock > div {
  display: inline-block;
}

.txtBlock ul, .txtBlock ol {
	padding-left: 1em;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
}

.singleCol {
	width: 50%;
	float: right;
}

.multiCol {
	clear: both;
}

.col-2 {
	column-count: 2;
}

.col-3 {
	column-count: 3;
}

.col-4 {
	column-count: 4;
}

/* @end */

/* @group Events */

ul.eventsBlock h3 {
	margin: 0;
}

ul.eventsBlock {
	clear: both;
	list-style-type: none;
	padding: 0;
}

ul.eventsBlock div {
	width: 50%;
	float: left;
	padding-right: 1.5em;
	box-sizing: border-box;
}

ul.eventsBlock a.btn {
	width: calc(25% - .75em);
	padding: 1em;
	display: block;
	float: left;
}

ul.eventsBlock a.btn {
	margin-right: .75em;
}

ul.eventsBlock a.btn + a.btn {
	margin-right: 0;
	margin-left: .75em;
}

ul.eventsBlock li {
	border-color: inherit;
	border-top-width: 4px;
	padding: 1.5em 0;
	border-top-style: solid;
	overflow: auto;
}

ul.eventsBlock li:last-child {
	border-bottom-width: 4px;
	border-bottom-style: solid;
}

/* @end */

/* @group Downloads Block */

.downloads {
	clear: both;
	column-count: 2;
}

.downloads h2 {
	-webkit-column-span: all;
	column-span: all;
}

.downloads ul {
	padding-left: 1em;
	margin: 0;
	list-style-type: square;
}

.downloads li {
	padding: .5em 0;
}

.downloads a {
	font-family: Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	font-weight: bold;
}

/* @end */

/* @group Galleries */

.galleryCover {
  display: block;
  width: 75%;
  height: 0;
  padding-bottom: 50%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  clear: both;
  position: relative;
  margin: 0 auto 1.5em auto;
}

.galleryCover:last-child {
  margin-bottom: 0;
}

a.galleryCover {
  text-decoration: none !important;
}

.galleryCover h3 {
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  text-align: center;
  top: 0;
  background: rgba(0,0,0,.7);
}

.galleryCover h3 span {
  font-family: Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  padding: 1em;
  border-width: 4px;
  border-style: solid;
  border-color: inherit;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  margin: 0 auto;
  top: 50%;
  width: 80%;
  display: block;
  transform: translateY(-50%);
}

/* @end */

footer {
	background-color: #000;
	color: #fff;
	padding: 1.5em;
}

footer p {
	margin: 0;
}

/* @group Burgers */

/*#swipebox-close {
  background-color: #f00 !important;
}*/

#swipebox-close .c-hamburger span::before,
#swipebox-close .c-hamburger span::after {
  background-color: #fff !important;
}

.c-hamburger {
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-size: 0;
  text-indent: -9999px;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 1000;
}

/*.c-hamburger:before {
	content: "";
	display: block;
/*	padding-top: 100%;*!/
}*/

.c-hamburger:focus {
  outline: none;
}

/*.c-hamburger span {
  display: block;
  position: absolute;
  top: 50%;
  left: 18px;
  right: 18px;
  height: 8px;
  margin-top: -4px;
  background: #000;
}

.c-hamburger span::before,
.c-hamburger span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: #000;
  content: "";
}

.c-hamburger span::before {
  top: -20px;
}

.c-hamburger span::after {
  bottom: -20px;
}*/


.c-hamburger span {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 20%;
  margin-top: -7%;
  background-color: #000;
  transition: background-color .3s;
}

.c-hamburger span::before,
.c-hamburger span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  content: "";
  transition: background-color .3s;
}

.c-hamburger span::before {
  top: -200%;
}

.c-hamburger span::after {
  bottom: -200%;
}


.c-hamburger--htx {
  background-color: transparent;
}

.c-hamburger--htx span {
  transition: background 0s 0.2s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
  transition-duration: 0.2s, 0.2s;
  transition-delay: 0.2s, 0s;
}

.c-hamburger--htx span::before {
  transition-property: top, transform;
}

.c-hamburger--htx span::after {
  transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.c-hamburger--htx.is-active {
/*  background-color: #fff;*/
}

.c-hamburger--htx.is-active span {
  background-color: transparent !important;
}

.c-hamburger--htx.is-active span::before {
  top: 0;
  left: 10%;
  width: 90%;
  transform: rotate(45deg);
  background-color: #fff;
}

.c-hamburger--htx.is-active span::after {
  bottom: 0;
  left: 10%;
  width: 90%;
  transform: rotate(-45deg);
  background-color: #fff;
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
  transition-delay: 0s, 0.2s;
}


/* @end */

@media (max-width:1100px)  {
	
body {
	font-size: 20px;
	line-height: 1.2em;
}

a.btn, .galleryCover h3 span  {
	border-width: 3px;
}

ul.eventsBlock li {
	border-top-width: 3px;
}

ul.eventsBlock li:last-child {
	border-bottom-width: 3px;
}

}

@media (max-width:800px)  {
	
body {
	font-size: 18px;
	line-height: 1.2em;
}

a.btn, .galleryCover h3 span  {
	border-width: 2px;
}

ul.eventsBlock li {
	border-top-width: 2px;
}

ul.eventsBlock li:last-child {
	border-bottom-width: 2px;
}

}

@media (max-width:600px)  {

ul#lang {
	position: relative;
	left: auto;
	top: 0;
	margin: 1.5em 1.5em 0 1.5em;
}

#menuToggle, .swipeclose {
	width: 2em;
	height: 1.75em;
}

.headerBlock img {
	width: 100%;
	margin-bottom: 0;
}

.headerBlock div.intro {
	width: 100%;
	float: right;
}

.headerBlock h1 {
	font-size: 2em;
	line-height: 1.1em;
	font-weight: normal;
}

.block {
	border-top: 2.84vw solid #fff;
}

.block h2.title {
/*	margin-bottom: 1.5em;*/
	width: 100%;
	float: none;
}
	
.singleCol {
	width: 100%;
	float: none;
	clear: both;
}

.multiCol {
	clear: both;
}

.col-2 {
	column-count: 1;
}

.col-3 {
	column-count: 1;
}

.col-4 {
	column-count: 1;
}

ul.eventsBlock div {
	width: 100%;
	float: none;
	padding-right: 0;
	margin-bottom: 1.5em;
}

ul.eventsBlock a.btn {
	width: calc(50% - .75em);
	padding: 1em;
	display: block;
	float: left;
}

ul.eventsBlock a.btn {
	margin-right: .75em;
}

ul.eventsBlock a.btn + a.btn {
	margin-right: 0;
	margin-left: .75em;
}

.downloads {
	clear: both;
	column-count: 1;
}

	
}

@media (max-width:400px)  {

#quickNav {
    width: 100%;
  }
}

