/* =CSS Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
a img {
  border:none; /* fuck you, ie */
}


@font-face {
    font-family: 'JungeRegular';
    src: url('fonts/junge-regular-webfont.eot');
    src: url('fonts/junge-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/junge-regular-webfont.woff') format('woff'),
         url('fonts/junge-regular-webfont.ttf') format('truetype'),
         url('fonts/junge-regular-webfont.svg#JungeRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}




html {
  height: 100%;
  min-height: 100%;
}


body {
  text-align: center;
  background-color: #F0F0F0;
/*   background:#ffffff url('grass.jpg') no-repeat bottom center fixed;  */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-family: 'JungeRegular', serif;
}


h1 {
    margin-top: 80px;
    margin-bottom: 40px;
    margin-right: 45%;
}

#boxes {
    width: 70%;
    margin-left: 15%;
    text-align: center;
}

#boxes .outer {
    display: inline-block;
    vertical-align: middle;
    background-color: #FAFAFA;
    width: 175px;
    height: 175px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
    opacity: 0.92;
    border: 3px black solid;
}

#boxes div span { /*text inside of the boxes*/
    font-size: 20px;
    color: #000000;
    text-decoration: none;
    position: absolute;
    bottom: 3px;
    left: 2.5%;
    text-align: center;
    width: 95%;
}

#about {
  display: none;
  width: 700px;
  margin: auto;
}

#boxes .side { position: absolute; }
#boxes .top .side {
  width: 181px;
  height: 5px;
  left: -3px;
  top: -3px;
}
#boxes .right .side {
  width: 5px;
  height: 181px;
  right: -3px;
  top: -3px;
}
#boxes .bottom .side {
  width: 181px;
  height: 5px;
  left: -3px;
  bottom: -3px;
}
#boxes .left .side {
  width: 5px;
  height: 181px;
  left: -3px;
  top: -3px;
}
#boxes .top .side.hovered, #boxes .bottom .side.hovered {
  height: 8px !important;
}
#boxes .right .side.hovered, #boxes .left .side.hovered {
  width: 8px !important;
}



/*  FOR LIGHT BOX STUFF  */

#lightBoxBG{
  display: none;
  position: fixed; 
  top: 0%; 
  left: 0%; 
  width: 100%; 
  height: 100%; 
  background-color: rgba(255,255,255,0.8); 
  z-index:1001; 
  filter: alpha(opacity=80); 
}

#lightBoxBG > div {
  display: none;
  position: relative; 
  top: 22%; 
  left: 22%; /*less than 25% cause of padding*/
  width: 50%;
  height: 50%;
  padding: 3%; 
  z-index:1002; 
  overflow-y: auto;
  overflow-x: hidden;
  background-color: white;
  border-bottom: 5px solid black;
}

#filler {
  display: block !important;
  position: absolute !important;
}

.content {
  text-align: left;
}

.lb-close {
  position: absolute;
  top: 0;
  right: 4px;
  margin: 5px;
  font-size: 120%;
}

.lb-close span:hover {
  text-decoration: underline;
  cursor: pointer;
  color: red;
}

.attrib {
  float: right;
  margin-top: 20px;
}


.lbFooter, .transLinkHolder {
  position: absolute;
  bottom: 5px;
  left: 0.5%;
  text-align: center;
  width: 99%;
}
.transLink, .transLinkOrig {
  font-size: 80%;
  color: #444;
}
.transLinkOrig { display: none; }
.translation {
  display: none;
  text-align: left;
}

.arrows {
  position: absolute;
  bottom: 5px;
  left: 1%;
  width: 98%;
  font-size: 85%;
}
a.next, a.previous {
  text-decoration: none;
  display: inline-block;
  text-align: center;
  width: 16px;
  padding: 2px;
  font-size: 150%;
}
a.next:hover, a.previous:hover { border-bottom: 1px black solid; padding-bottom: 1px; }
.next { float: right; }
.previous { float: left; }



#footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: 1px black dashed;
  padding: 2px;
  background-color: rgba(255,255,255,0.8);
  line-height: 0;
  text-align: center;
}
body { padding-bottom: 30px; }