* {
	font-family: 'Raleway', sans-serif;
	margin: 0;
	padding: 0;
}

body {
	background: #2e2e28;
}

body.box-open {
	overflow: hidden;
}

p {
	text-align: justify;
	color: #2e2e28;
	margin-bottom: 10px;
}

p a {
	color: #31a2d4;
	text-decoration: none;
	font-weight: 900;
}

p a:hover,
p a:active {
	color: #fcae12;
}

td a {
	color: #31a2d4;
	text-decoration: none;
	font-weight: 900;
}

td a:hover,
td a:active {
	color: #fcae12;
}

li a {
	color: #31a2d4;
	text-decoration: none;
	font-weight: 900;
}

li a:hover,
li a:active {
	color: #fcae12;
}

a:hover {
	cursor: pointer;
}

h1,
h2,
h3 {
	text-transform: uppercase;
}

h2 {
	color: #af1c1c;
	margin-bottom: 20px;
	font-size: 1.8em;
}

h4 {
	color: #af1c1c;
}

ul {
	padding-left: 30px;
}

li {
	margin-bottom: 10px;
}

li.dropdown a:first-child {
	position: relative;
}

li.dropdown a:first-child:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #fff;
    margin-left: 10px;
    bottom: 5px;
}

li.dropdown:hover a:first-child:after,
li.dropdown a.highlight:first-child:after{
	border-top: 10px solid #af1c1c;
}

.highlighted-content h4 {
	color: #ffffff;
}

#cookie-notice {
	display: none;
	border-top: 2px solid #2e2e28;
	font-size: 0.8em;
	position: fixed;
    z-index: 99999;
    background: #af1c1c;
    bottom: 0;
    padding: 30px;
    width: calc((100vh - 100px)/2);
    box-sizing: border-box;
}

#cookie-notice.show {
	display: block;
}

#cookie-notice p {
	color: #ffffff;
	text-align: left;
	margin-bottom: 30px;
}

#header {
	color: #ffffff;
	display: flex;
	position: fixed;
	width: 100%;
	z-index: 999;
}

#header .content {
	flex-grow: 1;
}

#header .upper {
	background: #af1c1c;
	height: 50px;
	display: flex;
}

#header .upper .title {
	color: #ffffff;
	position: relative;
	width: 170px;
	height: 50px;
}

#header .upper .title:hover,
#header .upper .title:active {
	color: #af1c1c;
	background: #ffffff;
}

#header .upper .title h1 {
	position: absolute;
	font-size: 70px;
	top: -16px;
	left: -5px;
}

#header .upper .title h1:after {
	content: '20';
	position: absolute;
	font-size: 30px;
	top: 6px;
	right: -33px;
}

#header .upper #navigation {
	flex-grow: 1;
}

#header .upper #navigation ul {
	padding-left: 0;
	list-style: none;
	display: flex;
	justify-content: space-around;
	font-weight: 900;
	font-size: 1.8em;
	text-transform: uppercase;
	height: 50px;
	/*    align-items: center;*/
}

#header .upper #navigation li {
	margin: 0;
	/*padding-left: 10px;
	padding-right: 10px;*/
}

#header .upper #navigation ul a,
#header .upper #navigation ul span {
	text-decoration: none;
	color: #ffffff;
	/* height: 50px; */
	height: 21px;
	display: block;
	line-height: 0.8em;
	/* padding: 60px 0 10px; */
	padding-top: 28px;
	position: relative;
}

#header .upper #navigation ul a:hover,
#header .upper #navigation ul a:active,
#header .upper #navigation ul span:hover,
#header .upper #navigation ul span:active,
#header .upper #navigation ul a.highlight,
#header .upper #navigation ul span.highlight {
	cursor: pointer;
	color: #af1c1c;
	background: #ffffff;
}

#header .upper #navigation ul .sub {
	display: none;
	position: absolute;
	background: #ffffff;
	top: 50px;
	z-index: 999;
	right: 0;
	font-size: 0.7em;
	border-right: 10px solid #2e2e28;
	border-bottom: 10px solid #2e2e28;
	padding: 5px 0;
}

#header .upper #navigation ul span:hover .sub,
#header .upper #navigation ul span:active .sub {
	display: block;
}

#header .upper #navigation ul .sub a {
	color: #af1c1c;
	height: auto;
	text-decoration: none;
	padding: 5px 20px;
	white-space: nowrap;
}

#header .upper #navigation ul .sub a:hover,
#header .upper #navigation ul .sub a:active {
	color: #ffffff;
	background: #af1c1c;
}

.dropdown {
	display: block;
	z-index: 999;
	text-align: center;
}

#header .upper #navigation ul .dropdown a {
	/*line-height: 1.2em;*/
	padding-left: 10px;
	padding-right: 10px;
}

#header .upper #navigation ul .dropdown a.dropdown-item {
	display: none;
	color: #ffffff;
	background: #af1c1c;
	padding: 15px;
	/*line-height: 1.2em;*/
}

#header .upper #navigation ul .dropdown:hover a.dropdown-item {
	display: block;
}

#header .upper #navigation ul .dropdown:hover a.dropdown-item:hover {
	color: #af1c1c;
	background: #ffffff;
}

#accommodation {
	min-width: 290px;
}

#conference {
	min-width: 248px;
}

#people {
	min-width: 198px;
}

#header .lower {
	position: relative;
	background: #2e2e28;
	height: 50px;
	display: flex;
	align-items: center;
}

#header .lower h3 {
	text-transform: uppercase;
	font-size: 30px;
	padding: 10px 90px 10px 10px;
}

#header .lower h3:hover {
	cursor: default;
}

#header .mobile-logo-container {
	display: none;
}

#header .logo-container {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #31a2d4;
	height: 100px;
	width: 100px;
}

#header .logo-container:hover,
#header .logo-container:active {
	background: #ffffff;
}

#header .logo-container img {
	width: 80px;
	margin: 10px;
}

#header .lower a.social {
	width: 50px;
	height: 50px;
	display: block;
	position: absolute;
	text-decoration: none;
	color: #ffffff;
	top: 0;
	font-size: 50px;
	font-weight: 900;
	text-align: center;
}

#header .lower a.social#facebook {
	background: #31a2d4;
	right: 100px;
}

#header .lower a.social#youtube {
	right: 0;
    background: #af1c1c;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header .lower a.social#twitter {
	background: #2e2e28;
	right: 50px;
}

#header .lower a.social:hover,
#header .lower a.social:active {
	cursor: pointer;
	color: #2e2e28;
	background: #ffffff !important;
}

.content-container {
	margin-left: calc((100vh - 100px)/2);
	background: #ffffff;
}


/* Subpages */

.index-content,
.sub-content {
	padding-top: 100px;
}

#index-img,
.featured-img {
	position: fixed;
	width: calc((100vh - 100px)/2);
	top: 100px;
	z-index: -1;
}

#index-img,
.featured-img img {
	width: 100%;
}

.main-content {
	flex-grow: 1;
	padding: 30px 100px 30px 30px;
	position: relative;
	color: #2e2e28;
}

.highlighted-content {
	flex-grow: 1;
	background: #af1c1c;
	color: #ffffff;
	padding: 30px 100px 30px 30px;
	position: relative;
}

.hook {
	position: absolute;
	top: -100px;
}

.highlighted-content h1,
.highlighted-content h2,
.highlighted-content h3,
.highlighted-content p {
	color: #ffffff;
}

.foot-content {
	background: #2e2e28;
	padding: 20px 100px 20px 30px;
}

.foot-content p {
	margin: 0;
	color: #ffffff;
}

.gallery {
	display: flex;
}

.gallery img {
	width: 100%;
}

.gallery .item.active {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 60%;
	margin: auto;
	transform: translate(-50%, -50%);
	max-width: 750px;
	z-index: 10;
}

.gallery .item:hover {
	cursor: pointer;
}

.item.active:after {
	content: '';
	background: rgba(0, 0, 0, 0.75);
	width: 1000vw;
	height: 1000vh;
	position: fixed;
	top: 0;
	left: 0;
	transform: translate(-50%, -50%);
	z-index: -1;
	overflow: hidden;
}

.button {
	text-decoration: none;
	color: #ffffff;
	text-transform: uppercase;
	background: #31a2d4;
	padding: 10px 20px;
    /* border-bottom: 5px solid #2e2e28; */
    /* border-right: 5px solid #2e2e28; */
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 5px 5px 0 0 #2e2e28;
    margin-bottom: 5px;
    margin-right: 5px;
    display: inline-block;
}

.button.small{
	font-size: 0.8em;
    padding: 5px 10px;
}

.button:hover,
.button:active {
	cursor: pointer;
	background: #fcae12;
}

table {
	width: 100%;
	text-align: center;
	border-spacing: 0;
	font-weight: 900;
	border: 5px solid #af1c1c;
}

th {
	text-transform: uppercase;
}

td,
th {
	padding: 20px 10px;
}

tr {
	background: #af1c1c;
	color: #ffffff;
}

tr.odd {
	background: #ffffff !important;
	color: #af1c1c !important;
}


/* Accommodation */

.offer {
	margin-bottom: 40px;
}

.offer span:first-of-type {
	font-weight: 900;
	text-transform: uppercase;
}

.offer span:last-of-type {
	float: right;
}

.bio-gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.bio-gallery.main {
	align-items: baseline;
}

.bio-card {
	font-size: 0.8em;
	border: 3px solid #af1c1c;
	background: #af1c1c;
	width: 160px;
	/* width: 100%; */
	/* flex: 1 1 160px; */
	/* max-width: 160px; */
	text-align: center;
	margin: 20px 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.bio-card.main {
	width: 250px;
}

.bio-card img {
	width: 100%;
}

.bio-card h3,
.bio-card h4,
.bio-card span {
	background: #af1c1c;
	color: #ffffff;
}

.bio-card h3 {
	margin: 10px 10px 5px;
	border-bottom: 1px solid #ffffff;
	padding-bottom: 5px;
}

.bio-card h4 {
	text-transform: uppercase;
	margin: 0 10px 10px;
}

.bio-card>div {
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.bio-card>div:first-of-type {
	flex-grow: 1;
}

.bio-card span {
	padding: 5px;
	display: block;
}

.highlighted-content .bio-gallery .bio-card {
	border-color: #ffffff;
	background: #ffffff;
}

.highlighted-content .bio-gallery .bio-card h3,
.highlighted-content .bio-gallery .bio-card h4,
.highlighted-content .bio-gallery .bio-card span {
	background: #ffffff;
	color: #af1c1c;
	border-color: #af1c1c;
}

.bio-card .bio-button {
	background: #31a2d4 !important;
	color: #ffffff !important;
	width: 100%;
	padding: 5px 0;
	text-transform: uppercase;
}

.bio-card .bio-button:hover,
.bio-card .bio-button:active {
	cursor: pointer;
	background: #fcae12 !important;
}

.bio-card>.bio-text {
	display: none;
}

.bio-text-close {
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 35px;
	position: absolute;
	right: 0;
	background: #31a2d4 !important;
}

.bio-text-close:hover,
.bio-text-close:active {
	cursor: pointer;
	color: #2e2e28;
	background: #ffffff !important;
}

.bio-text p {
	color: #ffffff;
	padding: 100px;
	margin: 0;
	font-size: 1.5em;
}

.bio-card.active .bio-text {
	display: block;
	position: fixed;
	background: #2e2e28;
	width: 100%;
	left: 0;
	top: 100px;
	height: calc(100vh - 100px);
	z-index: 10;
	overflow-y: auto;
}

.bio-card.main.active img {
	display: none;
}

.bio-card.active .bio-text:after {
	position: fixed;
	width: 1000vw;
	height: 1000vh;
	content: "";
	top: 0;
	left: 0;
	background: #2e2e28;
	z-index: -1;
}

.price-table {
	max-width: 450px;
	margin: 0 auto;
}

.price-table table {
	margin-bottom: 40px;
}

.cta {
	font-size: 2em;
	text-align: center;
}

.TBA {
	padding: 50px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.TBA h2 {
	width: 100%;
	text-align: center;
}

table.dates {
	text-transform: uppercase;
	font-size: 1.2em;
	text-align: left;
	position: relative;
	overflow: hidden;
}

.dates td {
	position: relative;
	padding: 10px 0;
}

.dates td:last-of-type {
	text-align: right;
}

.dates td:first-of-type:after {
	position: absolute;
	width: 0;
	bottom: 10px;
	white-space: nowrap;
	font-weight: 900;
	content: ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ";
}

.dates td h4 {
	background: #af1c1c;
	display: inline;
	z-index: 10;
}

.dates td:last-of-type h4 {
	padding-left: 5px;
}

.dates td:first-of-type h4 {
	padding-right: 5px;
}

.keynote {
	display: flex;
}

.keynote-img {
	max-width: 400px;
	min-width: 250px;
	margin-right: 40px;
}

.keynote-img img {
	width: 100%;
}

@media (max-width: 1335px) {
	#header .content {
		font-size: 0.5em;
	}
	.sub a {
		font-size: 1.2em;
	}
	#accommodation {
		min-width: 220px;
	}

	#conference {
		min-width: 138px;
	}

	#people {
		min-width: 105px;
	}
	li.dropdown a:first-child:after {
	    bottom: 12px;
	}
}

@media (max-width: 1005px) {
	.main-content{
		padding: 30px 80px 30px 30px;
	}

	#header .upper,
	#header .lower {
		height: 40px;
	}
	#header .upper .title {
		height: 40px;
		width: 140px;
	}
	#header .upper .title h1:after {
		font-size: 25px;
		right: -24px;
		top: 8px;
	}
	#header .upper .title h1 {
		font-size: 60px;
	}
	#header .upper #navigation ul {
		height: 40px;
	}
	#header .upper #navigation li {
		margin: 0;
		font-size: 0.9em;
		line-height: 1.2em;
	}
	#header .upper #navigation ul a,
	#header .upper #navigation ul span {
		text-decoration: none;
		color: #ffffff;
		/* height: 50px; */
		height: 21px;
		display: block;
		line-height: 0.8em;
		/* padding: 60px 0 10px; */
		padding-top: 18px;
		position: relative;
	}
	#header .upper #navigation ul .dropdown a {
		line-height: 1.2em;
	}
	#header .upper #navigation ul .dropdown a.dropdown-item {
		line-height: 1.2em;
	}
	#header .upper #navigation ul .sub {
		top: 45px;
	}
	.sub a {
		font-size: 1.3em;
	}
	#header .lower h3 {
		font-size: 20px;
	}
	#header .lower h3 span {
		display: inline-block;
	}
	#header .lower a.social {
		width: 40px;
		height: 40px;
		font-size: 40px;
	}
	#header .lower a.social#twitter {
		right: 40px
	}
	#header .lower a.social#facebook {
		right: 80px;
	}
	#header .logo-container {
		height: 80px;
		width: 80px;
	}
	#header .logo-container img {
		width: 60px;
	}

	.index-content,
	.sub-content {
		padding-top: 80px;
	}
	#index-img,
	.featured-img {
		width: calc((100vh - 80px)/2) !important;
		top: 80px !important;
	}
	.bio-card.active .bio-text {
		top: 80px;
		height: calc(100vh - 80px);
	}
}