@import url(http://fonts.googleapis.com/css?family=Sniglet:800);

body {
  font-family: sans-serif;
  /*background-color: #0F2447;*/
  background-color: #071015;
  /*background-image: url('img/deepglow-bg-new-dark.png');*/
  background-image: url('img/dg-bgl2.png');
  background-attachment: fixed;
  /*color: #dcdccc;*/
  /*color: #ededdd;*/
  color: #e8e8e8;
  margin: 0px;
  padding: 0px;
  height: 3200px;
}
a { font-weight: bold; text-decoration: none; }
a:link, a:visited {color: #f0dfaf;
  color: #fff;
}
/*a:visited {color: #e0cf9f;}*/
a:hover, a:focus {color: #f57504;}
a:active { color: #42a1f6;}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Sniglet', cursive;
  color: #dcdccc;
}
#subtitle {
  font-family: 'Sniglet', cursive;
  margin: 12px 0;
}
#subtitle, h2 {font-size:140%;}
header {
  background: url('img/deepglow-logo3b.png') center no-repeat;
  height: 312px;
}
h1 { visibility: hidden; }
/*
#social1 {
  position: absolute;
  top: 275px;
  left: 50%;
  width: 220px;
  margin-left: 210px;
}
#social2 {
  position: absolute;
  top: 3075px;
  left: 50%;
  width: 220px;
  margin-left: 210px;
}
*/
#cavetop {
  background: url('img/dg-bottom2.png') center center repeat-x;
  position: absolute;
  top: 2800px;
  /*height: 430px;*/
  height: 527px;
  width: 100%;
  z-index: 1;
}
#cavetop2 {
  background: url('img/dg-bottom1.png') center center repeat-x;
  position: absolute;
  top: 2550px;
  /*height: 527px;*/
  height: 430px;
  width: 100%;
  z-index: -2;
}
#cavebottom {
  background-color: #000;
  position: absolute;
  top: 3010px;
  height: 410px;
  width: 100%;
}
#play1 {
  position: absolute;
  /*top: 266px;*/
  top: 205px;
  left: 50%;
  width: 400px;
  height: 165px;
  margin-left: 10px;
  /*margin-left: -110px;*/
  z-index: 2;
  -webkit-transform: rotate(-15deg);
  -moz-transform: rotate(-15deg);
  -ms-transform: rotate(-15deg);
  transform: rotate(-15deg);
}
#play2 {
  position: absolute;
  top: 3050px;
  left: 50%;
  width: 400px;
  height: 165px;
  margin-left: -200px;
  z-index: 2;
}
#play1 a, #play2 a {
  height: 100%;
  background: url('img/dg-playbutton.gif') center center no-repeat;
  width: 100%;
  text-align: center;
  vertical-align: middle;
  padding-top: 52px;
}
#link-play1, #link-kg1, #link-tw1, #link-fb1 {
  color: #10ffc6;
  padding: 8px 14px;
  margin: 0 auto;
  display: block;
  white-space: nowrap;
  z-index: 2;
}
#link-play1 {
  /*background-color: #02D3FF;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  border-top: 3px solid #80E9E9;
  border-left: 3px solid #80E9E9;
  border-right: 3px solid #80E9E9;*/
  font-family: 'Sniglet', cursive;
  font-size: 240%;
}
/*#link-fb1, #link-fb2 {
  border-top: 3px solid #80E9E9;
  border-left: 3px solid #80E9E9;
  border-right: 3px solid #80E9E9;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  background-color: #3B5998;
  border-color: #7CA0EB;
  display: block;
}
#link-tw1, #link-tw2 {
  border-bottom: 3px solid #7CD6F8;
  border-left: 3px solid #7CD6F8;
  border-right: 3px solid #7CD6F8;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  background-color: #00ACED; 
  display: block;
}*/
/*#link-kg1 {
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  background-color: #990000;
  border-left: 3px solid #CD2121;
  border-bottom: 3px solid #CD2121;
  border-right: 3px solid #CD2121;
}*/
#link-play1:hover, #link-play2:hover {
  color: #73ffff;
  background: url('img/dg-playbutton.png') center center no-repeat;
  /*background-color: #80E9E9;
  border-left: 3px solid #FFD800;
  border-top: 3px solid #FFD800;
  border-right: 3px solid #FFD800;*/
}
#link-play1 .play,
#link-play1 .now,
#link-play1 .linksub {
  display: block;
}
#link-play1 .linksub {
  font-family: sans-serif;
  font-size: 60%;
}
#link-kg1, #link-kg2, #link-fb1, #link-fb2, #link-tw1, #link-tw2 {
  font-size: 110%;
  white-space: nowrap;
  width: 200px;
}
#link-kg1:hover, #link-kg2:hover, #link-fb1:hover, #link-tw2:hover, #link-tw1:hover {
  color: #0F2447;
  background-color: #80E9E9;
  border-color: #FFD800;
}

/* Galleries */

.inBoxGallery a img {
  border: 2px solid #6C7A80;//#00D2FF;
/*  height: 300px;*/
  height: 150px;
  padding: 0;
/*  width: 400px;*/
  width: 200px;
}
.inBoxGallery {
  line-height: 0;
}
.inBoxGallery a:nth-child(1) img {
  border-top-left-radius: 4px;
  margin-right: 3px;
  margin-bottom: 3px;
}
.inBoxGallery a:nth-child(2) img {
  border-top-right-radius: 4px;
  margin-bottom: 3px;
}
.inBoxGallery a:nth-child(3) img {
  border-bottom-left-radius: 4px;
  margin-right: 3px;
}
.inBoxGallery a:nth-child(4) img {
  border-bottom-right-radius: 4px;
}
.inBoxGallery a:hover img {
  border: 2px solid #FDFA0E;
}
#coral1 {
  background: transparent url('img/deepglow-coral3mix.png') 0% 20px no-repeat;
}
#coral2 {
  background: transparent url('img/deepglow-coral4mix.png') 100% 20px no-repeat;
}
.galBG, .galFG {
  position: absolute;
  height: 373px;
  width: 505px;
  left: 50%;
}
.galBG {
  background: transparent url('img/dg-gallery-bg-scale.png') right 0% no-repeat;
}
.galFG {
  pointer-events: none;
  background: transparent url('img/dg-gallery-fg-scale.png') right 0% no-repeat;
}
#screensBG, #screensFG {
  top: 544px;
  margin-left: -15px;
}
#storyBG, #storyFG {
  top: 1344px;
  margin-left: -500px;
}
#teamBG, #teamFG {
  top: 2144px;
  margin-left: -15px;
}
.box {
  height: 416px;
  left: 50%;
  margin-left: -456px;
  width: 912px;
  position: absolute;
}
.inBoxLeft, .inBoxRight {
  width: 440px;
  height: 400px;
  margin: 8px;
}
.inBoxRight {
  float: right;
}
.inBoxLeft {
  float: left;
}
#hurly {
  position: fixed;
  height: 402px;
  left: 50%;
  margin-left: -440px;
  width: 884px;
  background-image: url('img/deepglow-hurly-dRight.gif');
  /* 50% 0%*/
  background-repeat: no-repeat;
  /*height: 168px;
  left: 50%;
  margin-top: -84px;
  margin-left: -70px;*/
  /*top: 100px;*/
  top: 270px;
  width: 884px;
  z-index: -1;
}
.inBoxGallery{
  background-color: transparent;/*#105B98;//#80E9E9;//#00D2FF;//78F4F7;*/
  border-radius: 8px;
  height: 312px;
  width: 412px;
}
#navBG {
  background-image: url('img/dg-navbg.png');
  position: fixed; 
  height: 529px;
  width: 105px;
  z-index: 2;
}
#nav {
  left: 0%;
  /*height: 30px;*/
  /*margin-left: -220px;*/
  /*margin-top: 0;*/
  /*top: 50%;*/
  top: 150px;
  position: fixed; 
  /*text-align: center;*/
  z-index: 3;
  margin-top: -68px;
}
#nav ul, #nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
#nav ul {
  width: 160px;
}
#nav li {
  width: 133px;
  height: 40px;
  background-image: url('img/dg-navbox1s.png');
  background-repeat: no-repeat;
  text-align: center;
}
#nav a {
  /*background-color: #00D2FF;
  border-right: 3px solid #80E9E9;*/
  /*padding: 4px 0;*/
  font-size: 110%;
  position: relative;
  display: block;
  top: 0%;
  /*padding: 4px 10px 4px 10px;*/
  line-height: 40px;
  vertical-align: middle;
  padding-left: 4px;
  width: 133px; 
}
#nav ul li:nth-child(1) {
  background-image: url('img/dg-navbox4s.png');
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -webkit-transform: rotate(-3deg);
  transform: rotate(-3deg);
  margin-left: 16px;
}
#nav ul li:nth-child(2) {
  background-image: url('img/dg-navbox3s.png');
  margin-top: 13px;
  -moz-transform: rotate(2deg);
  -o-transform: rotate(2deg);
  -webkit-transform: rotate(2deg);
  transform: rotate(2deg);
  margin-left: 16px;
}
#nav ul li:nth-child(3) {
  background-image: url('img/dg-navbox2s.png');
  margin-top: 15px;
  -moz-transform: rotate(18deg);
  -o-transform: rotate(18deg);
  -webkit-transform: rotate(18deg);
  transform: rotate(18deg);
  margin-left: 8px;
}
#nav ul li:nth-child(4) {
  background-image: url('img/dg-navbox1s.png');
  margin-top: 10px;
  -moz-transform: rotate(6deg);
  -o-transform: rotate(6deg);
  -webkit-transform: rotate(6deg);
  transform: rotate(6deg);
  margin-left: -4px;
}
/*#nav a:hover {
  color: #0F2447;
  background-color: #80E9E9;
  border-color: #FDFA0E !important;
}*/
.deco1, .deco2 {
  position: absolute;
  left: 50%;
  background-repeat: no-repeat;
}
#deco1 {
  /*top: 900px;*/
  top: 1070px;
  margin-left: 180px;
}
#deco2 {
  /*top: 1000px;*/
  top: 1170px;
  margin-left: 100px;
}
#deco3 {
  /*top: 600px;*/
  top: 770px;
  margin-left: -260px;
}
#deco4 {
  /*top: 900px;*/
  top: 1070px;
  margin-left: -400px;
}
#deco5 {
  top: 1070px;
  margin-left: 350px;
}
#deco6 {
  top: 1070px;
  margin-left: 50px;
}
#deco7 {
  top: 1070px;
  margin-left: 200px;
}
#imprintlink {
  position: absolute;
  width: 133px;
  height: 40px;
  top: 3510px;
  left: 50%;
  margin-left: -66px;
  z-index: 2;
  background-image: url('img/dg-navbox1s.png');
  background-repeat: no-repeat;
  text-align: center;
  line-height: 40px;
}
#happy {
  position: absolute;
  width: 236px;
  height: 236px;
  top: 3280px;
  left: 50%;
  margin-left: -118px;
  z-index: 2;
  background-image: url('img/dg-fish3.gif');
  background-repeat: no-repeat;
  text-align: center;
}
#wrap {
  margin-left: 150px;
  margin-right: 50px;
}
