﻿/*
 * -- JJBM,	24/01/2012, style.css
 * -- JJBM, 25/01/2012, ...
 * --/
 */

/* cross borwser initialization ============================================================================================================ */
* {
    border: 0 none;
    margin: 0;
    padding: 0;
}
table
{
    border-collapse: collapse;
    border-spacing: 0;
}
fieldset, img
{
    border: 0;
}
address, caption, cite, code, dfn, em, strong, th, var
{
    font-style: normal;
    font-weight: normal;
}
ol, ul
{
    list-style: none;
}
caption, th
{
    text-align: left;
}
h1, h2, h3, h4, h5, h6
{
    font-size: 100%;
    font-weight: normal;
}
q:before, q:after
{
    content: '';
}
abbr, acronym
{
    border: 0;
}

/* custom style ============================================================================================================ */
body
{
	background-color: #ffffff;
}

hr
{
    border-bottom: 1px solid yellowgreen;
    padding-top: 10px;
    margin-left: 0px !important;
}

h1, h2, h3, h3, h5
{
    color: #A8D213;
    font-family: 'Museo Slab', Arial, Tahoma, sans-serif;
    font-size: 30px;
    text-shadow: 0 0 1px #A8D213;
    margin-left: 0px !important;
}

#allcontent
{
	margin: auto;
	width: 950px;
}

#header
{
	padding-top: 10px;
	position: relative;
}

#title
{
	font-size: 40px;
	color: gray;
    text-shadow: 0 0 1px black;
}

#title b
{
	color: black;
}

#contact
{
	float: right;
	text-align: right;
	font-style: italic;
	color: gray;
}

#content
{
	position: relative;
}

#menulinks li
{
	float: left;
	padding-left: 30px;
}

#menulinks li a
{
    color: #A8D213;
    font-family: 'Museo Slab', Arial, Tahoma, sans-serif;
    font-weight: normal;
    text-shadow: 0 0 0;
}

#menulinks li a:hover
{
    color: #A8D213;
    text-shadow: 0 0 1px #A8D213;
    font-weight: bold;
}

#playGround
{
	border: 1px solid gray;
    margin-left: 20px;
}

#demolist
{
    float: right;
    width: 400px;
    height: 500px;
    margin: 0;
    border-top: 1px solid #e0e0e0;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    overflow-y: scroll;
    overflow-x: hidden;
    margin: 0;
    padding: 3px;
}

#demolist h1
{
    font-size: 15px;
}

#demolist p
{
    text-align: justify;
    margin-right: 10px;
}

.demolistbutton
{
    float: right;
    padding: 3px;
    border: 1px solid green;
    background-color: #f0fff0;
    margin: 3px;
    text-align: center;
}

.demolistbutton input
{
    cursor: pointer;
}

.demolistbutton input:hover
{
    background-color: #a0f0a0;
}

.mylist
{
    margin-left: 20px;
}

.sectiontext
{
    margin-left: 20px;
}

#sourceCode
{
    display: none;

    position: fixed;
    left: 20px;
    top: 20px;
    width: 90%;
    background-color: #e0e0e0;
    border-radius: 15px;
    padding: 15px;
    border: 1px solid black;
    box-shadow: 5px 5px 4px black;
    z-index: 9999;
}

#sourceCodeBody
{
    overflow: scroll;
    height: 20px;
    background-color: #f5f9f3;
    /* max-height: 400px; */
    border: 1px solid #505050;
    padding: 0px;
    box-shadow: inset 2px 2px 3px #a0a0a0;
}

#sourceCodeBody pre code
{
    background: none;
}

#sourceCodeFooter
{
    text-align: right;
}

#sourceCodeFooter span
{
    cursor: pointer;
    text-decoration: underline;
    color: blue;
}

#githubbox
{
    position: fixed;
    left: 10px;
    top: 10px;
    z-index: 9998;
    width: 125px;
    background-color: #a0a0f0;
    border: 1px solid gray;
    color: black;
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    box-shadow: 4px 4px 8px black;
    border-radius: 8px;
    padding: 5px;
}

#githubbox img
{
    box-shadow: 4px 4px 8px black;
    border-radius: 8px;
    margin-top: 4px;
    margin-bottom: 4px;
}

#githubbox img:hover
{
    border: 1px solid yellow;
    border-radius: 8px;
    box-shadow: 1px 1px 2px gray;
    margin-bottom: 2px;
}

#gamesbox
{
    position: fixed;
    left: 10px;
    top: 125px;
    z-index: 9998;
    width: 125px;
    background-color: #a0f0a0;
    border: 1px solid gray;
    color: black;
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    box-shadow: 4px 4px 8px black;
    border-radius: 8px;
    padding: 5px;
}

#gamesbox img
{
    box-shadow: 4px 4px 8px black;
    background-color: white;
    border-radius: 8px;
    margin-top: 4px;
    margin-bottom: 4px;
    padding: 4px;
}

#gamesbox img:hover
{
    border: 1px solid yellow;
    border-radius: 8px;
    box-shadow: 1px 1px 2px gray;
    margin-bottom: 2px;
}

#gamelist
{
    width: 100%;
    background: url("img/gridbg.gif") repeat-x scroll 0 0 #EFF4FB;
    border-collapse: collapse;
    border-left: 1px solid #686868;
    border-right: 1px solid #686868;
    color: gray;
    font-style: italic;
}

#gamelist th
{
    background: url("img/gridhb.gif") repeat-x scroll 0 0 #333333;
    vertical-align: top;
    color: white;
    padding: 5px;
}

#gamelist td
{
    background-color: #e0f0e0;
    vertical-align: top;
    padding: 5px;
    color: black;
    border-bottom: 1px dotted gray;
}
#gamelist .play
{
    vertical-align: middle;
}
#gamelist .play a
{
    color: red;
    font-weight: bolder;
}
#gamelist .play a:hover
{
    color: blue;
}
#gamelist .name
{
    color: black;
    font-weight: bolder;
}
