* {
	font-family: 'Raleway', sans-serif;
	margin: 0;
	padding: 0;
}

body, html {
	min-height: 100vh;
}

body {
	background: #BDD1DE;
}

body.box-open {
	overflow: hidden;
}

p {
	text-align: justify;
	color: #265676;
	margin-bottom: 10px;
}

p a {
	color: #FCAA3E;
	text-decoration: none;
	font-weight: 900;
}

p a:hover,
p a:active {
	color: #fcae12;
}

td a {
	color: #FCAA3E;
	text-decoration: none;
	font-weight: 900;
}

td a:hover,
td a:active {
	color: #fcae12;
}

li a {
	color: #FCAA3E;
	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: #4180ab;
	margin-bottom: 20px;
	font-size: 1.8em;
}

h4 {
	color: #4180ab;
}

ul {
	padding-left: 30px;
}

li {
	position: relative;
	z-index: 9;
}

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 #4180ab;
}

.highlighted-content h4 {
	color: #ffffff;
}

#cookie-notice {
	display: none;
	border-top: 2px solid #BDD1DE;
	font-size: 0.8em;
	position: fixed;
    z-index: 99999;
    background: #4180ab;
    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: #4180ab;
	height: 50px;
	display: flex;
}

#header .upper .title {
	color: #ffffff;
	position: relative;
	width: 170px;
	height: 50px;
}

#header .upper .title:hover,
#header .upper .title:active {
	color: #4180ab;
	background: #ffffff;
}

#header .upper .title h1 {
	position: absolute;
	font-size: 70px;
	top: -16px;
	left: -5px;
}

#header .upper .title h1:after {
	content: '22';
	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;
}

#header .upper #navigation li {

}

#header .upper #navigation ul li a {
	color: inherit;
	line-height: 0.7em;
}

#header .upper #navigation ul li,
#header .upper #navigation ul span {
	text-decoration: none;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-grow: 1;
    padding: 0 10px;
}

#header .upper #navigation ul li:hover,
#header .upper #navigation ul li:active,
#header .upper #navigation ul span:hover,
#header .upper #navigation ul span:active,
#header .upper #navigation ul li.highlight,
#header .upper #navigation ul span.highlight {
	cursor: pointer;
	color: #4180ab;
	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 #BDD1DE;
	border-bottom: 10px solid #BDD1DE;
	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: #4180ab;
	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: #4180ab;
}

.dropdown-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 50px;
    min-width: 100%;
    z-index: 999;
}

#header .upper #navigation ul .dropdown a.dropdown-item.highlight {
	background: white;
	color: #4180ab;
}

#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: #4180ab;
	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: #4180ab;
	background: #ffffff;
}

/*#accommodation {
	min-width: 290px;
}

#conference {
	min-width: 248px;
}

#people {
	min-width: 198px;
}
*/

#header .lower {
	position: relative;
	background: #BDD1DE;
	color: #4180ab;
	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: #265676;
	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: #265676;
	right: 100px;
}

#header .lower a.social#youtube {
	right: 0;
    background: #4180ab;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header .lower a.social#twitter {
	background: #BDD1DE;
	right: 50px;
}

#header .lower a.social:hover,
#header .lower a.social:active {
	cursor: pointer;
	color: #BDD1DE;
	background: #ffffff !important;
}

.content-container {
	margin-left: calc((100vh - 100px)/2);
	background: #ffffff;
	display: flex;
	min-height: calc(100vh - 100px);
    flex-direction: column;
}


/* Subpages */

.home-content,
.sub-content {
	padding-top: 100px;
    min-height: calc(100vh - 100px);
}

.featured-img {
	position: fixed;
	width: calc((100vh - 100px)/2);
	top: 100px;
	z-index: -1;
}

.featured-img img {
	width: 100%;
}

.home-content .content-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	/*height: calc(100vh - 100px);*/
	margin-left: calc(100vh - 100px);
}

.body-home #cookie-notice {
	width: calc(100vh - 100px);
}

.home-content .featured-img {
	position: fixed;
	width: calc(100vh - 100px);
	background: url('../img/index.png');
	background-size: 100% 100%;
	height: calc(100vh - 100px);
	top: 100px;
	z-index: -1;
}


.main-content {
	flex-grow: 1;
	padding: 30px 100px 30px 30px;
	position: relative;
	color: #265676;
}

.highlighted-content {
	flex-grow: 1;
	background: #4180ab;
	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: #BDD1DE;
	color: #4180ab;
	padding: 20px 100px 20px 30px;
}

.foot-content p {
	margin: 0;
}

.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: #FCAA3E;
	padding: 10px 20px;
    /* border-bottom: 5px solid #BDD1DE; */
    /* border-right: 5px solid #BDD1DE; */
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 5px 5px 0 0 #265676;
    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 #4180ab;
}

th {
	text-transform: uppercase;
}

td,
th {
	padding: 20px 10px;
}

tr {
	background: #4180ab;
	color: #ffffff;
}

tr.odd {
	background: #ffffff !important;
	color: #4180ab !important;
}

.highlighted-content .program-table {
	border-color: #ffffff;
}

.program-table {
	background: #4180ab;
}

.program-table tr:nth-child(odd) td:first-of-type,
.program-table tr:nth-child(even) td:first-of-type {
	border-left: none;
}

.program-table tr:nth-child(odd) td:last-of-type,
.program-table tr:nth-child(even) td:last-of-type {
	border-right: none !important;
}

.program-table tr:nth-child(odd) td {
	border: 2px solid #ffffff;
	border-top: none;
	border-bottom:  none;
}

.program-table tr:nth-child(even) td{
	border: 2px solid #4180ab;
	border-top: none;
	border-bottom:  none;
}

.program-table tr:nth-child(even) {
	background: #ffffff !important;
	color: #4180ab !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 #4180ab;
	background: #4180ab;
	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: #4180ab;
	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: #4180ab;
	border-color: #4180ab;
}

.bio-card .bio-button {
	background: #FCAA3E !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: #FCAA3E !important;
}

.bio-text-close:hover,
.bio-text-close:active {
	cursor: pointer;
	color: #BDD1DE;
	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: #BDD1DE;
	color: #4180ab;
	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: #BDD1DE;
	color: #4180ab;
	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: #4180ab;
	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: 1065px) {
	#header .upper #navigation ul {
		font-size: 1.5em;
	}
}

@media (max-width: 940px) {
	#header .upper #navigation ul {
		font-size: 1.2em;
	}
}

@media (max-width: 810px) {
	#header .upper #navigation ul {
		font-size: 1em;
	}
}