@import "fonts.css";

:root {
	--C-MAIN: #13245f;
	--C-BLUET: #13245f66;
	--C-WHITE: #fff;
	--C-BLACK: #000000;
	--C-PRIMARY: #f2cf9a;
	--C-PRIMARYT: #000;
	--text-shadow: 0 0 2px var(--C-BLACK);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

table,
html {
	font-family: "PD-basic", sans-serif;
	font-weight: 400;
	font-size: 16px;
}

.table {
	width: 100%;
	border-collapse: collapse;
}

.table div p {
	margin: 0;
	padding: 0;
}

.table th {
	text-align: left;
	border-bottom: 1px solid var(--C-PRIMARY);
	padding: .5em;
}

.table th.sort {
	cursor: pointer;
}

.table th.sort[data-sort-order='asc'] {
	background: url('../arr-t.svg') calc(100% - 10px) center no-repeat;
	background-size: 16px;
}

.table th.sort[data-sort-order='desc'] {
	background: url('../arr-b.svg') calc(100% - 10px) center no-repeat;
	background-size: 16px;
}

.table td {
	border-bottom: 1px solid #ccc;
	padding: .5em;
}

.upcoming_event h2 {
	margin: 0;
}

.upcoming_event {
	width: 80%;
	left: 10%;
	text-shadow: none;
	position: absolute;
	background: var(--C-PRIMARY);
	transform: matrix(0.98, -0.08, 0.08, 0.98, 0, 0);
	z-index: 4;
	padding: 2em 2em 1em 2em;
	box-shadow: 0 0 30px #000;
}

.upcoming_event * {
	color: var(--C-PRIMARYT) !important;
}

.speakerimg {
	display: inline-block;
	padding-top: 100%;
	height: 0;
	width: 100%;
	position: relative;
}

.speakerimg img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	width: 100%;
	clip-path: polygon(100% 0, 100% 96%, 86% 96%, 83% 100%, 80% 96%, 0 96%, 0 0);
}

.speaker {
	border-bottom: 1px solid var(--C-PRIMARY);
	padding-bottom: 2em;
	margin-bottom: 1em;
}

.speaker h2 {
	margin-top: .7em;
	margin-bottom: .7em;
}

.speaker h2 a {
	text-decoration: none;
	color: var(--C-MAIN);
}

.date,
a.date {
	background: var(--C-MAIN);
	background-size: 16px;
	color: #fff !important;
	text-align: center;
	padding: .5em 1em .5em 1em;
	font-weight: bold;
	text-decoration: none;
}

.speaker .date {
	display: inline-block;
	background: var(--C-MAIN) url('../arr-r.svg') 10px 50% / 18px no-repeat;
	padding-left: 2em;
	text-align: left;
	font-weight: 400;
}

h1,
h2,
h3,
h4,
h5 {
	font-weight: 400;
}

h2 {
	line-height: 1.2em;
	margin: 1.5em 0 .7em;
	color: var(--C-MAIN);
}

.content h2 {
	padding-top: 2em;
	border-top: 1px solid var(--C-PRIMARY);
	position: relative;
}

.content h3 {
	color: var(--C-MAIN);
	font-weight: 700;
}

.content h2:before {
	content: '';
	width: 20px;
	height: 20px;
	background: #fff;
	position: absolute;
	left: 25%;
	top: -10px;
	border-bottom: 1px solid var(--C-PRIMARY);
	border-right: 1px solid var(--C-PRIMARY);
	transform: scale(.7, 1) rotate(45deg);
}

.content img {
	max-width: 100%
}
.h1err:before,
.pg-attendees h2:before,
.speaker h2:before,
.b-header h2:before,
.footer h2:before,
.pg-basic-page .block-text:nth-of-type(1) h2:before,
.pg-programme h2:first-child:before,
.registration-form h2:before {
	display: none;
}
h2.h1err,
.pg-attendees h2,
.speaker h2,
.b-header h2,
.footer h2,
.pg-basic-page .block-text:nth-of-type(1) h2,
.pg-programme h2:first-child,
.registration-form h2{
	padding-top: 0;
	border: 0;
}

.registration-form h2{
	margin-top: 1.5rem;
	margin-bottom: 0;
	font-size: 2rem;
}

h2.h1err{
	font-size: 2em
}


.pg-basic-page .gallery-link img,
.pg-programme .gallery-link img {
	max-width: calc(50% - .5em);
}


body,
.pg-bg,
#resp-menu {
	min-width: 280px;
}

body {
	margin: 0;
	padding: 0;
}

.content ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

a {
	color: var(--C-MAIN);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.content ul li {
	margin-bottom: 0.5em;
	padding-left: 24px;
}

.content ul li:before {
	content: "";
	border-color: transparent var(--C-PRIMARY);
	border-style: solid;
	border-width: 0.4em 0 0.4em 0.6em;
	position: absolute;
	margin-left: -1.2em;
	margin-top: .4em;
}

video {
	width: 100%;
}

.gallery .row>div {
	position: relative;
	border: .5rem solid #fff;
	overflow: hidden;
}

.gallery a {
	display: inline-block;
	padding-top: 56%;
	height: 0;
}

.gallery a img {
	height: 100%;
	width: 100%;
	max-width: none;
	overflow: hidden;
	transition: .2s all;
	position: absolute;
	object-fit: cover;
	top: 0;
	left: 0;
}

.gallery a:hover img {
	width: 110%;
	height: 110%;
	left: -5%;
	top: -5%;
}

.logos {
	margin-top: 5em;
}

.logos .row>div:first-child {
	text-align: left;
}

.logos div {
	align-items: center;
	text-align: center;
}

.logos h3 {
	font-size: .9rem;
	letter-spacing: .2em;
	color: #aaa;
	text-transform: uppercase;
	text-align: center;
}

.logos img {
	width: 100%;
	height: auto;
	padding: 0.5em 1.2em;
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	transition: .5s filter;
	opacity: 0.5;
	max-width: 200px;
}

.logos img:hover {
	filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
	-moz-filter: grayscale(0%);
	opacity: 1;
}

.content {
	font-size: 1.1rem;
	line-height: 1.5;
}

.pg-bg {
	height: 100%;
	width: 100%;
	z-index: 0;
	position: absolute;
	top: 0;
	background: var(--C-MAIN);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
}

.pdrs-logo {
	max-width: 160px;
	width: 50%;
	margin: 10px 0 0 20px;
}

.pd-logo {
	text-align: center;
}

.pd-logo a{	position: relative; z-index: 3}

.pd-logo img {
	width: 200px;
}

.pd-logo::before,
.pd-logo::after {
	content: "";
	display: block;
	height: 1px;
	width: calc(50% - 130px);
	background-color: white;
	position: relative;
	left: 0;
	top: 1.95rem;
}

.pd-logo::after {
	top: -2.45rem;
	margin: 0 0 0 calc(50% + 131px);
}

.nav-main ul,
.nav-history ul {
	margin: 0;
	padding: 0;
}

.header-box {
	position: relative;
	margin: 3rem 0 0rem 0;
}

.header-box-after, .header-box-after-town {
	content: '';
	position: absolute;
	bottom: 0;
	border: 1px solid #fff;
	border-top: 0;
	width: calc(100% + 1px);
	height: calc(100% - 76px);
	top: 2rem;
	z-index: 0;
}
.header-box-after {
	border-bottom: 0;
}

#resp-menu {
	background: var(--C-MAIN);
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 5;
	opacity: 0;
	transition: opacity .2s;
	display: none;
	top: 0;
}

#resp-menu-content .register br{
	display: none !important
}

.pg-hp .register {
	margin-top: 3em;
}

.register {
	margin-bottom: 2em;
	text-align: center;
	font-family: "PD-basic", sans-serif;
}

.register a.presentation{
	background: var(--C-MAIN) !important;
}

.register a, .register span{	
	background: var(--C-PRIMARY);
	text-decoration: none;
	text-transform: uppercase;
	padding: 1rem;
	z-index: 10000;
	color: var(--C-PRIMARYT);}

.register a:hover {
	background: var(--C-MAIN) !important;
	color: var(--C-WHITE);
}

.open>div {
	display: none;
}

.open #resp-menu,
.open .header {
	display: block;
	opacity: 1;
}

.open #resp-menu-content {
	display: block;
	opacity: 1;
	overflow: auto;
	height: calc(100% - 75px);
}

#resp-menu-content {
	color: #fff;
	margin-top: .5rem;
}

#resp-menu-content .nav-history {
	border-bottom: 0;
	white-space: normal;
	overflow: visible;
	margin: 2rem 0 2rem;
}

#resp-menu-content .nav-history a::after {
	border: 0;
}

#resp-menu-content .register {
	position: static;
}

#resp-menu-content .register a {
	text-align: center;
	border: 0;
	margin: .5rem 0rem 0 0rem;
	display: block !important;
	animation-name: none;
	font-size: 1.2rem;
	letter-spacing: 0.2rem;
}

.footer .nav-main a,
#resp-menu-content .nav-main a {
	border-right: 0;
	font-size: 1.2rem;
	padding: 1.2rem 1rem;
}

.footer .nav-main li,
#resp-menu-content .nav-main li {
	display: block;

}

.nav-history {
	overflow: hidden;
	white-space: nowrap;
	background: var(--C-BLUET);
	color: var(--C-WHITE);
	text-align: center;
	letter-spacing: 0.2rem;
	position: relative;
}

.nav-history li {
	display: inline-block;
	list-style: none;
}

.nav-history:after {
	content: '';
	display: block;
	clear: both;
}

.nav-history a {
	color: var(--C-WHITE);
	text-decoration: none;
	padding: .5rem 0;
	display: block;
	position: relative;
}

.nav-history a:after {
	content: '';
	border-right: 1px solid var(--C-WHITE);
	height: 14px;
	position: relative;
	top: 2px;
	display: inline-block;
	margin: 0 .4rem 0 .6rem;
}

.nav-main li:last-child a,
.nav-history li:last-child a:after {
	border: 0;
}

.nav-main ul {
	font-size: 0;
	text-align: center;
	position: relative;
	z-index: 5;
	margin-top: 20px;
}

.nav-main li {
	font-size: 1rem;
	list-style: none;
	display: inline-block;
}

.nav-main a {
	color: var(--C-WHITE);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.3rem;
	font-size: .9rem;
	padding: .3rem 1rem;
	display: block;
	border-right: 1px solid var(--C-PRIMARY);
	text-shadow: var(--text-shadow);
}

.nav-main a:hover,
.nav-main .act a {
	background: var(--C-MAIN);
}

.tc-primary{
	color: var(--C-PRIMARY);
}

.b-blue {
	background: var(--C-MAIN);
	color: var(--C-WHITE);
}

.b-blue h2 {
	color: #fff;
}

.b-white {
	background: var(--C-WHITE);
	color: var(--C-BLACK);
}

.b-pad {
	margin: 7rem 0;
}

.b-header h2:first-child {
	font-size: 1.1rem;
	letter-spacing: 0.1rem;
	color: #aaa;
	text-transform: uppercase;
	font-weight: bold;
	background: var(--C-MAIN);
	display: inline-block;
	padding: 0 1rem;
	position: relative;
	left: -1rem;
	margin: 0 0 1.1rem 0;
}

.b-white.b-header h2 {
	background: #fff;
}

.b-header:before {
	content: "";
	position: relative;
	height: 2px;
	background-color: var(--C-PRIMARY);
	width: 100%;
	top: 16px;
	display: inline-block;
	z-index: 0;
	opacity: 0.2;
}

.footer {
	font-size: .9rem;
}
.footer p a{
	color: #fff;
	text-decoration: underline;
}

.footer .b-blue {
	padding: 8rem 0 1rem;
}

.footer h2 {
	padding-bottom: 7rem;
	font-size: 1.7rem;
	font-weight: 400;
}

.footer .nav-main {
	margin-bottom: 3em;
}

#hm {
	right: 0;
	top: 0;
	transition: .3s;
	z-index: 999999;
	cursor: pointer;
	background: var(--C-MAIN);
	padding: 10px 15px 28px;
}

#hm {
	position: fixed;
}

.open #hm span {
	margin: 0 !important;
	position: relative !important;
	width: 37px !important;
	transition: .3s !important;
}

.open #hm3 {
	transform: rotate(-135deg) !important;
	top: 10px !important;
}

.open #hm1 {
	transform: rotate(135deg) !important;
	top: 12px !important;
}

.open #hm2 {
	transform: rotate(360deg) !important;
	height: 0;
}

#hm span {
	transition: .3s;
	position: relative;
	display: block;
	height: 2px;
	width: 2.3rem;
	background-color: white;
}

#hm1 {
	top: 0;
}

#hm2 {
	top: 8px;
}

#hm3 {
	top: 16px;
}

.header {
	position: relative;
	border-top: 1px solid var(--C-MAIN);
	border-bottom: 1px solid var(--C-MAIN);
	margin-top: -1px;
	background: var(--C-MAIN)
}

.header-town {
	position: relative;
	z-index: 4;
}

.header-date {
	font-size: 27px;
	padding: 0 1rem;
}

.date-day:after {
	content: "th";
	font-size: 9px;
	letter-spacing: 0;
	position: relative;
	top: -1.3em;
	left: -0.2em;
}

.headline,
.header-town {
	text-shadow: var(--text-shadow);
	text-transform: uppercase;
	font-family: "PD-head", sans-serif;
	font-weight: normal;
	color: #fff;
	display: block;
	margin: 1.5rem auto 0 auto;
	text-align: center;
}

.header-town {
	padding-bottom: 4rem;
}

.headline {
	margin: 50px auto 16px auto;
	width: auto;
	font-size: 1.5rem;
	display: flex;
	position: relative;
	z-index: 1;
	top: -.7rem;
}

.headline span {
	display: inline-block;
	padding: .1rem .2rem .1rem .5rem;
	margin: 0 1.5rem;
}

.headline span { max-width: 500px }

.headline:before, .headline:after {
	content:'';
	flex:1;
/*	border-bottom: 1px solid #fff;*/
	margin:auto 0;
}

.headline:after{
	right: -1px;
	position: relative;
}


.header-town:before,
.header-town:after {
	content: "";
	display: block;
	position: absolute;
	width: calc(50% - 280px);
	height: 1px;
	background-color: white;
	bottom: 2.7rem;
}

.header-town:after {
	right: -1px;
}

#top {
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	display: block;
	color: var(--C-BLACK);
	font-size: .8rem;
	letter-spacing: .2rem;
	position: relative;
	top: -4em;
}

.header-date-town {
	font-size: 2.5rem;
	color: var(--C-WHITE);
	margin: .5rem 0;
}

.header-location {
	font-size: .9rem;
}

.header-location a {
	color: #fff;
	text-decoration: none;
}

.header-location a:hover {
	text-decoration: underline;
}

.headline,
.header-town {
	letter-spacing: 0.25rem;
}

.team {
	background: #fff;
	box-shadow: 0 10px 60px 0 rgba(0, 0, 0, 0.16);
}

.team img {
	display: block;
	max-width: 100%;
	object-fit: cover;
}

.team>div:nth-child(2) {
	padding: 2em 1em;
}

.download {
	background: url('../dl.svg') 50% 50% / 100% no-repeat;
	width: 16px;
	display: inline-block;
	overflow: hidden;
	position: relative;
	top: 9px;
	margin-left: 0.5em;
}

.download span {
	opacity: 0;
}

.whitebg {
	background: #fff;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: -1;
}

/* wagtail */
.richtext-image {
	max-width: 100%;
	height: auto;
}

/* forms */
/* form validation */
.reg_error{
	background: #f00 url('/static/assets/err-white.svg') 1.5em 2em / 20px no-repeat; 
	color: #fff; 
	border: 1px solid #f00;
	padding: 2em 1em 2em 4em; 
	font-size: 16px; 
	line-height: 1.2em; 
	border-radius: 3px 
}

.err {
	font-size: .8rem; 
	background: #fff url('/static/assets/err.svg') 6px center / 12px no-repeat; 
	color: #f00;
	padding: .2rem 22px;
	margin-top: 3px; 
	border-radius: 3px
}

.reg_error strong { 
	display: block; 
	font-size: 20px; 
	margin-bottom: .5em 
}

input,
select,
textarea {
	background: #fff;
	padding: .5em 1em;
	border: 1px solid var(--C-MAIN);
	width: 100%;
	font-weight: 400;
	font-size: 1rem;
	font-family: "PD-basic", sans-serif;
	font-weight: 400;
}

hr {
	margin: 2em 0;
	border: 0;
	height: 1px;
	background: var(--C-PRIMARY);
}

input[type='checkbox'] {
	width: auto;
}

input[type='submit'],
button, .btn {
	background: var(--C-MAIN);
	padding: 1em;
	border: 0;
	color: #fff;
	text-transform: uppercase;
}

label {
	display: block;
	text-transform: uppercase;
	color: var(--C-MAIN);
	margin-top: 1em;
}

label.lab-sub-event{
	text-transform: none
}

.checkboxes label {
	display: block;
	text-transform: none;
	color: var(--C-BLACK);
	cursor: pointer;
}

.checkboxes a {
	text-decoration: underline;
}

#gallery {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 65000;
}

#gallery img {
	max-width: 90%;
	max-height: 90%;
	border: 10px solid #fff;
	border-radius: 10px;
	background: #fff;
}

#gallery .close {
	position: absolute;
	top: 10px;
	right: 10px;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
}

#gallery .prev,
#gallery .next {
	position: absolute;
	user-select: none;
	top: 50%;
	color: #fff;
	font-size: 36px;
	transform: translateY(-50%);
	cursor: pointer;
	display: flex;
	height: 80%;
	align-items: center;
	text-shadow: 0 0 20px #000, 0 0 2px #000;
}

#gallery .prev {
	left: 0px;
	vertical-align: middle;
	padding: 0em 15% 0 1em;
}

#gallery .next {
	right: 0px;
	padding: 0em 1em 0 15%;
}

@media (min-width:576px) {

	.upcoming_event {
		width: 50%;
		left: 25%;
	}

	.footer .nav-main a {
		border-right: 0;
		font-size: .9rem;
		padding: .3rem 1rem;
		border-right: 1px solid var(--C-PRIMARY);
	}

	.footer .nav-main li {
		display: inline-block;
	}

	.pg-hp .header-box {
		margin: 3rem 0 14rem 0;
	}

	.open>div {
		display: block;
	}

	.headline {
		font-size: 2.5rem;
	}

	.pg-hp .header-box:after {
		border-bottom: 0;
	}

	.header-date-town {
		letter-spacing: 0.25rem;
		font-size: 73px;
		margin: 0;
	}

	.headline,
	.header-town {
		text-shadow: var(--text-shadow);
		text-transform: uppercase;
		font-family: "PD-head", sans-serif;
		font-weight: normal;
		color: #fff;
		padding-bottom: 0rem;
		text-align: center;
	}

	.pg-hp .header-town {
		margin: 6rem auto 0 auto;
	}

	.logos h3 {
		text-align: left;
	}

	.header-box-after-town{
		border-bottom: 0
	}

}