html
{
    min-width:300px;
    /*max-width:1680px;*/	
} 

body {
    margin: 0 0 1em 0;
    padding: 0;
    color: black;
    background-color: #eee;
    line-height: 130%;
    font-family: arial, helvetica, verdana, tahoma, sans-serif;
    text-align: center;
}

#wrapper-header {	background: #222; }

#header {
    background: #222 url('images/banner.jpg') right no-repeat;
    width: 85%;
    min-height: 85px;
    line-height: 85px;
    margin: 0 auto;
    border-left: 1px solid #707070;
    border-right: 1px solid #707070;
    text-align: left;
    max-height: 236px;
    //margin-bottom: 18px;
}

#header h1 {
    margin: 0;
    padding: 0;
    color: #eee;
    font-size: 180%;
    padding-left: 10px;
    letter-spacing: -1px;
    float: left;
}

#header h1 a {
    text-decoration: none;
    color: #eee;
}

#header h1 a .logo_colour
{ color: #FAF700;}


#facebook {
    float: right;
    padding-right: 10px;
    padding-top: 0px;
    /*border: 1px dashed #f00;*/
    display: inline-block;
    max-height: 80px;
}

#wrapper-menu {
    background: #A80000;/* url('images/menu-background.png') top left repeat-x; */
    float: left;
    width: 100%;
    z-index:9999;
}

#menu {
    width: 85%;
    margin: 0 auto;
    /* font-size: 95%; */
    white-space: nowrap; /* stops half a menu link dropping to next line. Instead, the whole link will drop. This only happens if you have a lot of menu links, and large text size */
    padding-right: 2px;	/* The menu far left, and far right borders are not quite lining up in non IE browsers for some reason. This makes it less noticable */
}

* html #menu { padding-right: 0; } /* See above comment. This re-adjusts IE to the above padding */

#menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
    border-left:  1px solid #880000;
    border-right: 1px solid #880000;
    width: 100%;
}

#menu li { display: inline; }

#menu a:link, #menu a:visited {
    padding: 0.25em 1em;
    background: transparent;
    color: #fff;
    text-decoration: none;
    float: left;
    border-right: 1px solid #880000;
}

#menu a:hover {
    background: #880000; /*url('images/menu-hover.png') repeat-x; */
    color: #eeeeee;
}

#content {
    width: 85%; 
    margin: 0 auto;
    background: white;
    font-size: 90%;
    text-align: left;
    overflow: hidden;
}

#adsense-new 
{
    text-align: center;
    height: 100px;
    padding: 5;
    margin: 5;
}


#adsense {
    width: 100%;
    min-height: 90px;
    float: left;
    clear: left;
    padding: 1em 0 0.5em 0;
    /*border: 1px dashed #f00;*/
    z-index: 0;
}

#main {
    float: left;
    width: 65%; /* Actually 67% because of the padding */
    padding: 0 1% 20px 1%;
    background: white;
}

/* Sortable tables */
table.sortable thead {
    background-color:#aaa;
    color:#444444;
    font-weight: bold;
    cursor: default;
}

/* Embedded crosswords */
div.embedded_crossword { position: relative; margin: 20px auto; max-width: 700px; min-width: 300px; height: 550px; text-align: center; }

/* SIDEBAR */

#sidebar {
    float: right;
    width: 33%;
    max-width: 450px;
    background: white;
    font-size: 80%;
}

#sidebar h2 {
    text-transform:uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #BCBEC0;
    color: #757575;
    font-size: 1em;
}

#sidebar p {
    padding: 0;
    margin: 0;
}

* html #content { padding-top: 1.8em; } /* Set padding top in IE to 20px */

#footer {
    clear: both;
    margin: 0 auto;
    padding: 2px 1%;
    width: 83%;
    text-align: right;
    color: white;
    letter-spacing: 0.15em;
    background: #A80000; /* url('images/menu-background.png') top left repeat-x; */
    border: 1px solid #880000;
    font-size: 75%;
}

#footer a:link, #footer a:visited {
    color: #FAF700;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

h2 {
    color: #666;
    padding-bottom: 3px;
    border-bottom: 1px solid #a80000;
    font-size: 150%;
    letter-spacing: -1px;
}

#content a:link, a:visited {
    color: #CC0000;
    text-decoration: none;
}

#content a:hover {
    text-decoration: underline;
}

#content blockquote
{
    border: 1px dotted #888888;
    margin:1em 20px;
    padding: 5px;
    line-height: 1.2em;
    background: #e3e3e3
}

p { margin-left: 1em; }

hr 
{
    color: #ccc;
    background-color: #ccc;
}

/* Video-specific stuff */
#video_thumbnail
{
    float:left;
    position: relative;
    padding: 0px 10px 0px 0px;
    width: 120px;
    height: 90px;
}

img.videothumbnail
{
    border: 0;
}

#video_thumbnail span
{
    width: 32px;
    height: 32px;
    display: block;
    position: absolute;
    bottom: 10px;
    right: 20px;
    background: url('images/player_play.png') no-repeat;
}

#video_tags
{
    clear: both;
    font-size: 80%;
}

p.dash-big {
    font-size: 22px;
}

/* NICE FORM STUFF */
form.nice-layout div {
    margin: 2px 0;  /* Separate the controls for the benefit of IE */
    align:left;
}
form.nice-layout label {
    display: inline-block;
    width: 5em;
    text-align: right;
    font-size: 16px;
}
form.nice-layout input {font-size: 22px;}

/* SIZE-SPECIFIC STUFF */

@media only screen and (max-width : 857px)
{
    /* 
    Mobile: go to full-width.
    This is helpful for showing ads. 
     */

#header 
{
    width: 100%;
    }
    #menu {width: 100%;}
    #content 
    {
        width: 100%;
    }
    #footer 
    {
        width: 99%;
        padding: 2px 1px;
    }
}

@media only screen and (max-width : 727px)
{
    #adsense
    {
        padding: 0.5em 0 0 0;
        min-height: 100px;
    }
}


@media only screen and (max-width : 607px)
{
    #facebook 
    {
        position: relative;
        display: none;
    }
    #sidebar
    {
        position: relative;
        display: none;
    }
    #main
    {
        width: 98%; /* 100% with the padding */
    }
    #header {min-height: 70px; line-height: 70px;}
}

@media only screen and (max-width : 467px)
{
    #header {min-height: 100px; line-height: 100px;}
}

@media only screen and (max-width: 360px)
{
    #header
    {
        min-height: 55px;
        line-height: 55px;
    }
}	
