*::selection {
	background-color: #333;
	color: #fff;
}

.hidden {
	display: none !important;
}

body {
	transition: all 0s;
	background-image: url("img/bg.png");
	background-attachment: fixed;
	margin: 0;
	font-family: "Segoe UI", sans-serif;
	font-size: 16px;
}

p {
	text-indent: 32px;
}

span {
	text-indent: 0;
}

h1 {
	font-size: 225%;
	font-weight: lighter;
	width: 100%;
	border-bottom: solid 1px rgba(0,0,0,0.4);
}

h2 {
	font-size: 150%;
	font-weight: lighter;
	width: 100%;
	border-bottom: solid 1px rgba(0,0,0,0.4);
}

h3 {
	font-size: 225%;
	font-weight: lighter;
	width: 100%;
	border-bottom: solid 1px rgba(0,0,0,0.4);
}

h4 {
	font-size: 225%;
	font-weight: lighter;
	width: 100%;
	border-bottom: solid 1px rgba(0,0,0,0.4);
}

h5 {
	font-size: 225%;
	font-weight: lighter;
	width: 100%;
	border-bottom: solid 1px rgba(0,0,0,0.4);
}

h6 {
	font-size: 225%;
	font-weight: lighter;
	width: 100%;
	border-bottom: solid 1px rgba(0,0,0,0.4);
}

#is-small-device {
	display: none;
	opacity: 0;
}

#screen-loading {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: #fff;
	opacity: 1;
	z-index: 99998;
}

#image-loading {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	z-index: 99999;
	pointer-events: none;
}

#wrapper {
	transition: width 0.5s;
	width: 1280px;
	margin: 0 auto;
	background: #fff;
}

#content-wrap {
	box-shadow: 0 0 10px 2px rgba(0,0,0,0.4);
}

#content-outer {
	width: 90%;
	margin: 32px auto;
}

#content-inner {
	width: 100%;
}

#header-wrap-outer {
	width: 100%;
	background-image: url(img/bg.png);
	background-attachment: fixed;
	background-repeat: repeat;
	text-align: center;
}

#header-wrap-inner {
	width: 100%;
	height: auto;
}

#header {
	width: 100%;
	height: auto;
	min-height: 256px;
	border-bottom: solid 1px rgba(0,0,0,0.4);
	pointer-events: none;
}

#header-subtext {
	text-transform: uppercase;
	font-family: "sf-movieposter",sans-serif;
	font-size: 125%;
	text-align: center;
	border-bottom: solid 1px rgba(0,0,0,0.4);
	padding-top: 3px;
}

#header-subtext:before { content: "\2014  "; }
#header-subtext:after { content: " \2014"; }

#footer {
	padding: 32px 5%;
	text-align: center;
	border-top: solid 1px rgba(0,0,0,0.4);
}

#footer-contact {
	padding: 0 5%;
	padding-bottom: 32px;
	margin-top: -16px;
	text-align: center;
}

#cookiebar-wrap {
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
	display: block;
	position: fixed;
	width: 100%;
	bottom: 0;
	background: #fff;
	text-align: center;
	line-height: 32px;
	border-top: solid 1px rgba(0,0,0,0.4);
}

#toolbar-wrap {
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
	width: 100%;
	/*position: fixed;
	top: 0;
	left: 0;*/
	background-color: #fff;
	border-bottom: solid 1px rgba(0,0,0,0.4);
	z-index: 99997;
}

#toolbar-inner {
	text-align: center;
}

#projects-frame-toggle {
	position: relative;
	left: 100%;
	bottom: 33px;
	display: block;
	width: 32px;
}

#projects-frame-wrap {
	text-align: center;
}

#projects-title {
	font-size: 150%;
	margin: 16px 0;
	border-bottom: solid 1px rgba(0,0,0,0.4);
}

#projects-desc {
	margin: 16px 0;
	border-top: solid 1px rgba(0,0,0,0.4);
	padding-top: 14px;
}
#projects-swused {
	margin: 16px 0;
	border-top: solid 1px rgba(0,0,0,0.4);
	padding-top: 14px;
}

#projects-frame {
	width: 100%;
	height: 100%;
}

#projects-visit {
	display: inline-block;
	margin-bottom: 16px;
}

#projects-wrap {
	width: 100%;
	box-sizing: border-box;
}

#projects-frame-img {
	transition: all 0.5s;
	border: 1px solid rgba(0,0,0,0.4);
	text-align: center;
	max-width: 100%;
	cursor: pointer;
	z-index: 25;
	transform: rotate(0deg);
	margin: 0 auto;
}

#notfound-wrap {
	pointer-events: none;
	max-width: 480px;
	margin: 0 auto;
	display: block;
}

#notfound-img-in {
	width: 100%;
	height: auto;
	animation: notfound-anim 4s ease-in-out infinite alternate;
}

#notfound-img-out {
	width: 100%;
	height: auto;
	animation: wobble-3deg 7.169s ease-in-out infinite alternate;
}

#notfound-video {
	width: 100%;
}

.hidden {
	display: none !important;
}

.projects-frame-img-loading {
	transition: all 0.5s;
	opacity: 0.5;
	transform: rotate(1deg);
	/*animation-direction: alternate;
	animation-iteration-count: infinite;
	animation-name: wobble-1deg;
	animation-duration: 2s;
	animation-timing-function: ease-in-out;*/
}

#projects-frame-img-frame {
	max-width: 100%;
	z-index: 26;
}

#projects-frame-img-loading {
	transition: all 0.5s;
	left: 50%;
	z-index: 27;
	position: absolute;
	pointer-events: none;
	border-radius: 4px;
}

.projects-frame-img-loading-on {
	transform: translate(-50%,-50%) scale(1,1);
	opacity: 1;
}

.projects-frame-img-loading-off {
	transition: all 0.5s;
	transform: translate(-50%,-50%) scale(0.5,0.5);
	opacity: 0;
}

/*.link {
	transition: all 0.3s;
	text-indent: 0;
	color: #7bf;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}

.link::after {
	transition: all 0.3s;
	font-size: initial;
	position: absolute;
	content: attr(data-hover);
	color: transparent;
	border-bottom: 1px solid #7bf;
	transform-origin: left;
	transform: translate(-100%,-0.2em) scaleX(0);
}

.link:visited {
	color: #78f;
}

.link:visited::after {
	border-color: #78f;
}

.link:hover.link::after {
	transform: translate(-100%,-0.2em) scaleX(1);
}*/

/*.link {
	text-indent: 0;
	color: transparent;
	position: relative;
	display: inline-block;
	overflow: hidden;
	margin: -4px 0;
	box-sizing: border-box;
	padding: 0 4px;
	white-space: nowrap;
	outline: none;
}

.link::before, .link::after {
	transition: transform 0.2s;
	padding: 0 4px;
}

.link::before {
	position: absolute;
	display: inline-block;
	content: attr(data-hover);
	color: #7bf;
	transform: translate(0,0);
	margin: 0 -4px;
}

.link::after {
	position: absolute;
	display: inline-block;
	content: attr(data-hover);
	color: #fff;
	transform: translate(-100%,100%);
	background: #7bf;
	margin: 0 3px;
}

.link:hover::before, .link:focus::before {
	transform: translate(0,-100%);
}

.link:hover::after, .link:focus::after {
	transform: translate(-100%,0);
}

.link:visited::after {
	background: #78f;
}

.link:visited::before {
	color: #78f;
}*/

.link {
	color: #7bf;
	text-decoration: none;
	position: relative;
	outline: none;
}

.link:visited {
	color: #78f;
}

.link:active::after {
	height: 100%;
}

.link::after {
	transition: all 0.2s;
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0%;
	height: 0%;
	outline: none;
	border-bottom: 1px solid #7bf;
}

.link:visited::after {
	border-color: #78f;
}

.link:hover::after, .link:focus::after {
	transition: all 0.1s;
	opacity: 1;
	left: 0;
	width: 100%;
}

.link:active::after {
	height: 100%;
}

.link-icon {
	color: #7bf;
}

.center {
	margin: 0 auto;
}

.ratio-base {
	position: relative;
	width: 50%;
}

.ratio-base:before {
	content: "";
	display: block;
	padding-top: 100%;
}

.ratio-content {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.iframe {
	transition: all 0.3s;
	border: 1px solid rgba(0,0,0,0.4);
	box-sizing: border-box;
}

.ratio-16_9:before {
	padding-top: 56.25%;
}

.iframe-small {
	transition: all 0.3s;
	width: 40%;
}

.iframe-large {
	width: 100%;
}

.noselect, .noselect-cursor, .button {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.noselect-cursor, .button {
	cursor: default;
}

.button-list {
	/*line-height: 20px;*/
}

.button {
	transition: color 0.25s, background-color 0.25s;
	outline: 0;
	border: 1px solid black;
	padding: 4px 8px;
	text-decoration: none;
	color: black;
	background-color: transparent;
	box-sizing: border-box;
	outline: none;
}

.button:active {
	transition: all 0s;
}

.button-url {
	color: #7bf;
	border-color: #7bf;
	background-color: transparent;
}

.button-submit {
	color: #6d6;
	border-color: #6d6;
	background-color: transparent;
}

.button-cancel {
	color: #f77;
	border-color: #f77;
	background-color: transparent;
}

.button-url:hover, .button-url:focus {
	color: #fff;
	border-color: #7bf;
	background-color: #7bf;
}

.button-submit:hover, .button-submit:focus {
	color: #fff;
	border-color: #6d6;
	background-color: #6d6;
}

.button-cancel:hover, .button-cancel:focus {
	color: #fff;
	border-color: #f77;
	background-color: #f77;
}

.button-url:active {
	color: #fff;
	border-color: #69c;
	background-color: #69c;
}

.button-submit:active {
	color: #fff;
	border-color: #4b4;
	background-color: #4b4;
}

.button-cancel:active {
	color: #fff;
	border-color: #c55;
	background-color: #c55;
}

.button-small {
	
}

.button-medium {
	
}

.button-large {
	
}

.button-dropdown:before {
	content: "v ";
	font-weight: bolder;
}

.button-dropdown, .button-list {
	width: 100%;
	text-align: left;
	border-top: none;
	border-bottom: none;
	padding: 8px;
}

.button-toolbar {
	/*font-family: "sf-movieposter",sans-serif;
	text-transform: uppercase;*/
	display: inline-block;
	height: 2em;
	vertical-align: middle;
	box-sizing: border-box;
	border-top: none;
	border-bottom: none;
	margin: 0 4px;
}

.button-toolbar-selected {
	color: #fff;
	background-color: #77bbff;
}

.button-toolbar-selected:focus, .button-toolbar-selected:active {
	background-color: #579ce0;
}

li .button {
	line-height: 48px;
}

.projects-drop-category, .projects-drop-item {
	box-sizing: border-box;
	transition: all 0.3s;
	transform: rotateX(90deg) perspective(500px);
	transform-origin: top;
	overflow: hidden;
	padding-left: 16px;
	box-sizing: border-box;
	margin: 0 auto;
}

.projects-drop-item {
	padding-bottom: 16px;
	padding-left: 0;
}

.projects-drop-down {
	transform: rotateX(0deg);
}

@font-face {
   font-family: "sf-movieposter";
   src: url('fonts/sf-movieposter.ttf');
}

@keyframes wobble-1deg {
	from {transform: rotate(-1deg);}
	to {transform: rotate(1deg);}
}

@keyframes wobble-3deg {
	from {transform: rotate(-3deg);}
	to {transform: rotate(3deg);}
}

@keyframes notfound-anim {
	from {transform: translate(0,-8px);}
	to {transform: translate(0,8px);}
}

@media only screen and (max-width: 1280px) {
  #wrapper {
    width: 980px;
  }
	
	#header {
		min-height: 196px;
	}
}

@media only screen and (max-width: 980px) {
	body {
		font-size: 24px;
	}

	li {
		padding-bottom: 16px;
	}
	
	#is-small-device {
		opacity: 1;
	}
	
	#wrapper {
		width: 100%;
	}
	
	#header {
		width: 95%;
		min-height: 0;
	}
	
	#header-wrap-outer {
		width: 100%;
	}
	
	#header-subtext {
		font-size: 150%;
	}
	
	#projects-frame-toggle {
		bottom: 63px;
		width: 64px;
	}
	
	.link {
		margin: -8px 0;
	}
	
	h1 {
		font-size: 225%;
	}

	h2 {
		font-size: 150%;
	}
}