.logo-background {
    height:100%;
    position:absolute;
    top:0;
    left:3%;
}

#overlay {
	position: fixed;
	left: 0px; 
	top: 0px; 
	z-index: 2; 
	width: 100%; 
	height: 100%;
}

#over-overlay {
	position: fixed;
	bottom:0px;
	left: 0px; 
	z-index: 4; 
	width: 100%; 
	height: auto;
}

body {
    color: black;
    font-family: 'Terminal Dosis Light', Arial, sans-serif;
    background: black;
}

.menu {
    position:absolute;
    left:0px;
    top:0px;
    height:100%;
    width:320px;
}

.top-black-square 
{
    position:absolute;
    top:0px;
    left:320px;
    width:320px;
    height:115px;
    background:black;
    opacity:0.5;
}

.background
{
    position:absolute;
    width:100%;
    height:100%;
    z-index:-1;
    background:black;
    opacity:0.5;
}

.header {
    height:115px;
    background:black;
    position:relative;
    box-shadow: 2px 2px 10px #000;
    z-index:4;
}

.tiled-background
{
    background:url(img/background.tiled.jpg);
    position: fixed; 
    top: 0px;
    z-index: -1;
    left:0px;
    right:0px;
    bottom:0px;
}

.header .logo 
{
    float:left;
    top:0;
    bottom:0;
    width:100%;
    height:100%;
}

.header h2 {
	font-size:14px;
	color:white;
	position:absolute;
	right:10px;
	bottom:5px;
}

.content {
    position:relative;
    left:320px;
    top:115px;
    width:320px;
    background:black;
    padding-bottom:46px;
    z-index:3;
}

.content-shadow 
{
    position:relative;
    left:320px;
    top:115px;
    height:100%;
    width:320px;
    background:black;
    padding-bottom:26px;
    z-index:3;
}

.bottom-line {
font-size: 11px;
background: black;
z-index: 4;
font-family: 'PT Sans Narrow', Arial, sans-serif;
box-shadow: 0px 0px 10px #000;
}

.bottom-line:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.bottom-line 
{
    color:White;
}

.bottom-line .right
{
    float:right;
	padding:5px 10px;
}

.bottom-line .right .section
{
    float:left;
}
.bottom-line .right .section:after 
{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.bottom-line a {
	letter-spacing:1px;
	text-shadow:1px 1px 1px #000;
	color:#ddd;
}

.bottom-line a:hover{
	color:#fff;
}
.bottom-line a span{
	font-weight:bold;
}
.bottom-line a.left{
	float:left;
	padding:5px 10px;
}

.menu .title {
	position:relative;
	z-index:999;
	font-weight:100;
}
.menu ul a {
	text-decoration: none;
}

.menu ul{
	display:block;
	margin-top:50px;
}
.menu ul li{
	display:block;
}
.menu ul li a{
	color:#fff;
	font-size:20px;
	text-shadow:0px 0px 1px #fff;
	line-height:50px;
	padding:0px 20px 0px 30px;
	display:block;
	position:relative;
	margin:5px 0px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-transition: all 0.3s ease-in-out;
}
.menu ul li a span.bf_hover{
	background:transparent url(img/bg_black.png) repeat top left;
	opacity:0.1;
	position:absolute;
	width:0px;
	height:0px;
	top:50%;
	left:0px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-transition: all 0.3s ease-in-out;
}
.menu ul li a:hover span.bf_hover{
	height:100%;
	width:100%;
	margin-top:-25px;
	opacity:1.0;
}
.bf_menu ul li a span{
	position:relative;
}

.content p, .content ul {
padding: 5px 20px;
font-size: 14px;
font-family: 'PT Sans Narrow', Arial, sans-serif;
color: white;
}

.content {
	color:#fff;
}

.content a {
	color:#ddd;
}

.content a:hover {
	color:#fff;
}

.content h2 {
padding: 30px 20px 5px 20px;
color: white;
font-size: 20px;
text-shadow: 0px 0px 1px white;
}

.black-square {
	width:160px;
	height:115px;
	position:absolute;
	z-index:1;
	background-color: black;
	cursor:pointer;
	
	-o-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}

ul.about {
list-style: none outside;
}

ul.about li {
	display:block;
	text-align:left;
	padding-right:10px;
	padding-left:0px;
}

ul.about li.space {
	height:20px;
}

.red {
   color:#FF5050;
}


.square-over 
{
    /*-webkit-transform: rotateX(180deg) rotateY(0deg);
	    -moz-transform: rotateX(180deg) rotateY(0deg);*/
}

.langton-ant
{
    background-color:#DC1F26 !important;
    opacity:0.7 !important;
}

.langton-black
{
    opacity:0.7 !important;
}

@media all and (max-width: 720px) 
{
    .left::after
    {
        clear:both;
    }
    
    #over-overlay .right
    {
        float:left;
    }
    
    .content .content-item
    {
        padding-bottom:72px;
    }
    
    .header
    {
    }
}

@media all and (max-width: 640px)
{
    .menu
    {
        width:100%;
        position:static;
    }
    
    .menu ul
    {
        display:none;
    }

    .top-black-square
    {
        display:none;
    }
    
    .menu .background
    {
        display:none;
    }
    
    .content
    {
        top:0;
        left:0;
        width:100%;
        background: white;
    }
    
    .content p, .content h2, .content a, .content a:hover, .content a:visited, .content ul li
    {
        color:Black;
    }
    
    .content .content-item
    {
        padding-bottom:10px;
    }
    
    .content .content-item
    {
        display:block !important;
    }
    
    .tiled-background
    {
        display:none;
    }
    
    .content-shadow
    {
        display:none;
    }
    
    #overlay .black-square
    {
        display:none;
    }
    
    #overlay
    {
        position:static;
        height:auto;
        width:auto;
    }
    
    #over-overlay
    {
        position:relative;
    }
} 

/*@media only screen and (-webkit-device-pixel-ratio: 2){
    .header .logo 
    {
        background-position:0px -57px;
        background-size:160px 115px;
    }
    .header .logo:hover 
    {
        background-position:0px -57px;
    }
    
    .header 
    {
        height:57px;
    }
}*/