/*
.container {
	position: absolute;
	width: 100%;
	heigh: 100%;
	text-align: center;
	top: 40%;
	left: 0;
	margin: 0 auto;
}
.container p {
	font-size: 20px;
}
.container a {
	display: inline-block;
	position: relative;
	text-align: center;
	color: #1abc9c;
	text-decoration: none;
	font-size: 20px;
	overflow: hidden;
	top: 5px;
}
.container a:after {
	content: '';
	position: absolute;
	background: #1abc9c;
	height: 2px;
	width: 0%;
	transform: translateX(-50%);
	left: 50%;
	bottom: 0;
	transition: .35s ease;
}
.container a:hover:after, .container a:focus:after, .container a:active:after {
	width: 100%;
}

h1 {
	position: relative;
	text-align: center;
	font-family: 'Varela Round', serif;
}*/

/*.button_container {
	position: fixed;
	top: 5%;
	right: 2%;
	height: 27px;
	width: 35px;
	cursor: pointer;
	z-index: 100;
	transition: opacity .25s ease;
}
.button_container:hover {
	opacity: .7;
}
.button_container.active .top {
	transform: translateY(11px) translateX(0) rotate(45deg);
	background: #FFF;
}
.button_container.active .middle {
	opacity: 0;
	background: #FFF;
}
.button_container.active .bottom {
	transform: translateY(-11px) translateX(0) rotate(-45deg);
	background: #FFF;
}
.button_container span {
	background: #1abc9c;
	border: none;
	height: 5px;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	transition: all .35s ease;
	cursor: pointer;
}
.button_container span:nth-of-type(2) {
	top: 11px;
}
.button_container span:nth-of-type(3) {
	top: 22px;
}
*/
}
#modal27 {
    margin-top: 25% !important;
}
.overlay {
	position: fixed;
	/*  background: #1abc9c;*/
	top: 0;
	left: 0;
	width: 100%;
	height: 0%;
	opacity: 1 !important;
	visibility: hidden;
	transition: opacity .35s, height .35s;
	/*transition: opacity .35s, visibility .35s, height .35s;*/
	overflow: hidden;
	font-family: 'Roboto-Thin';
}
.overlay.open {
	opacity: .9;
	visibility: visible;
	height: 100%;
	background: black !important;
	z-index: 9999998;
}
.overlay.open li {
	animation: fadeInRight .3s ease forwards;
	animation-delay: 0.4s;
}
.overlay.open li:nth-of-type(2) {
	animation-delay: 0.8s;
}
.overlay.open li:nth-of-type(3) {
	animation-delay: 1.0s;
}
.overlay.open li:nth-of-type(4) {
	animation-delay: 1.2s;
}
.overlay.open li:nth-of-type(5) {
	animation-delay: 1.4s;
}
.overlay.open li:nth-of-type(6) {
	animation-delay: 1.6s;
}
.overlay.open li:nth-of-type(7) {
	animation-delay: 1.8s;
}

.overlay nav {
	position: relative;
	font-family: 'Roboto-Thin';
	/*height: 70%;*/
	top: 50%;
	transform: translateY(-50%);
	font-size: 50px;
	font-weight: 400;
	text-align: center;
}
/*.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	position: relative;
	height: 100%;
}*/
.overlay ul li {
	display: block;
	/*height: 25%;*/
	/*height: calc(100% / 5);*/
	/*min-height: 50px;*/
	position: relative;
	opacity: 0;
	font-family: 'Roboto-Thin';
}

div#makingofdown.arrow-down{
	width: 20px;
	height: 17px;
	background-image: url("../img/arrow.png");
	background-size: 20px 18px;
	display: inline-block;
}

div#makingofdown.arrow-up{
	width: 20px;
	height: 17px;
	background-image: url("../img/arrow-up.png");
	background-size: 20px 18px;
	display: inline-block;
}

ul#directorslist, ul#contactlist, ul#archivelist, ul#makingoflist {
	margin-top: 10px;
}

ul#directorslist > li.directorslisting, ul#contactlist > li.directorslisting , ul#archivelist > li.directorslisting {
	cursor: pointer;
	animation-delay: unset;
	font-size: 22px;
	height: auto;
	padding: 5px 0px;
}

ul#makingoflist > li{
	cursor: pointer;
	animation-delay: unset;
	font-size: 18px;
	height: auto;
	padding: 5px 0px;
}
ul#karlhadifelist > li{
	cursor: pointer;
	animation-delay: unset;
	font-size: 18px;
	height: auto;
	padding: 5px 0px;
}
ul#directorslist li.directorslisting a:hover, ul#directorslist li.directorslisting a:focus, ul#directorslist li.directorslisting a:focus-within,
ul#archivelist li.directorslisting a:hover, ul#archivelist li.directorslisting a:focus, ul#archivelist li.directorslisting a:focus-within,
ul#contactlist li.directorslisting a:hover, ul#contactlist li.directorslisting a:focus, ul#contactlist li.directorslisting a:focus-within {
	color: #bbb !important;
	outline: none !important;
}

#makingoflist{
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.Email_Footer{
	float: left;
	margin-top: 23px;
	margin-right: 15px;
	font-family: arial !important;
	font-weight: normal !important;
}

h1, .h1, h2, .h2, h3, .h3 {
	margin-top: 5px !important;
	margin-bottom: 0px !important;
}

.page-home .panel-three .sub-hero-font {
	max-width: 295px;
	padding: 10px 0 !important;
	margin: 0 auto;
}

.overlay ul li a {
	display: block;
	position: relative;
	color: #FFF;
	text-decoration: none;
	overflow: hidden;
	font-family: 'Roboto-Thin';
}

.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
	width: 100%;
}

.overlay ul li a:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0%;
	transform: translateX(-50%);
	height: 1px;
	background: #fff;
	transition: .35s;
	opacity: 0.4;
}

.socialmediaicons{font-size: 22px;}

img.SM_Img {
	-webkit-transition: -webkit-transform .8s ease-in-out;
	transition: transform .8s ease-in-out;
}

img.SM_Img:hover {
	-webkit-transform: rotateY(360deg);
	transform: rotateY(360deg);
}

@keyframes fadeInRight {
	from {top:-999px; opacity: 0;}
	to {top:0px; opacity: 1}
}


.modalvideos > .modal-backdrop.fade.in{
	opacity: 0 !important;
}