/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    margin: 0;
    padding: 0;
    background-color: #777777;
    font-family: "Open Sans", Helvetica, Sans-Serif;
    font-size: 1em;
    color: #000;
}

a img {border: none; }
a:link { text-decoration: underline; }
a:hover { text-decoration: none; }
p, ul { margin-bottom: 20px; line-height: 1.6em; }
header, footer, nav, section { display: block; }


table { }
table td { }
table tr { vertical-align: top; }
table th { }

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

#page 
{
    position: relative;
    width: 840px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 130px;
    background-color: #fddca1;
}

header, #header 
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 800px;    
    height: 90px;
    padding: 20px;
    background-color: #ff3300;
    
}

#nav 
{
    position: absolute;
    top: 130px;
    left: 0px;
    padding: 50px 0 0 0px;
}


#content 
{
    margin: 50px 0px 0px 215px;
    width: 605px;
    font-family: "Open Sans", Helvetica, Sans-Serif;
    font-weight: bold;
    font-size: 1em;
}

footer, 
#footer 
{
    height: 55px;
    padding: 10px 20px;
    background-color: #fddca1;
    font-size: 0.7em;
    color: #ff3300;
    clear: both;
}

#footer a { color: #ff3300; }
#login_panel { float: right; }


/* TAB MENU   
----------------------------------------------------------*/
ul#mainnav {
    padding: 0 0 0px 20px;
    position: relative;
    margin: 0;
    text-align: center;
}

ul#mainnav li {
    list-style: none;
    width: 175px;
    height: 27px;
    margin-bottom: 30px;
    padding-top: 3px;
}

ul#mainnav a 
{
    font-family: "Open Sans", Helvetica, Sans-Serif;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    color: #ff3300;
}

ul#mainnav li:hover, ul#mainnav li.on 
{
    background-color: #ff3300;
}

ul#mainnav li:hover a, ul#mainnav li.on a
{
    color: #fddca1;
}



/* CONTENT STYLES
----------------------------------------------------------*/

/* TWO COLUMN LAYOUT
----------------------------------------------------------*/

.twocol
{
    background-color: #fff;
}

.twocol .left
{
    margin: 0 0 0 0;
    padding: 10px 0 0 0;
    width: 245px;
    background-color: #ff3300;
    color: #fddca1;
    font-size: 0.8em;
}

.twocol .righttop, .twocol .rightbottom
{
    float:right;
    padding: 0 0 10px 0;
    width: 360px;
    background-color: #fff;
    color: #ff3300;
    font-size: 0.8em;
}

.twocol .righttop
{
    padding: 0;
}

.twocol .left a, .twocol .left a:link, .twocol .left a:visited, .twocol .left a:hover, .twocol .left a:active
{
    color: #fddca1;
}


.twocol .rightbottom a, .twocol .rightbottom a:link, .twocol .rightbottom a:visited, .twocol .rightbottom a:hover, .twocol .rightbottom a:active
{
    color: #ff3300;
}





.twocol .rightbotton a
{
    color: #ff3300;
}

.twocol h1, .twocol h2, .twocol h3, .twocol h4
{
    font-size: 12px;
    padding: 5px 0px 5px 10px;
    background-color: #ff3300;
    color: #fff;
}

.twocol .rightbottom h1
{
    margin-bottom: 7px;
}

.twocol .left p
{
    margin: 0 10px 10px 10px;
}

.twocol .left table
{
    margin: 0 10px 10px 10px;
}

.twocol .left td p
{
    margin: 0 10px 10px 0px;
}

.twocol .righttop p
{
    margin: 0;
    padding: 0;
    line-height: 0;
}

.twocol .rightbottom p
{
    margin: 0;
    padding: 0px 10px 10px 10px;
}

.twocol .rightbottom table
{
    margin: 0;
    padding: 0px 10px 10px 10px;
}


.twocol ul
{
    padding: 0;
    margin: 0 10px 10px 30px;
}

.twocol .left ul li
{
    list-style-image: url( images/listblockyellow.png );
    margin-bottom: 20px;
}

.twocol .rightbottom ul li
{
    list-style-image: url( images/listblockorange.png );
}

/* PHOTO LAYOUT
----------------------------------------------------------*/

.photos
{
    margin: 0 0 0 0;
    padding: 20px 0 0 0;
    width: 605px;
    background-color: #fff;
    
}

.photos h1
{
    display: inline-block;
    font-size: 12px;
    padding: 5px 10px 5px 10px;
    margin: 0 0 20px 0;
    background-color: #ff3300;
    color: #fddca1;
    
}

.photos p
{
    margin: 0;
    padding: 0;
}

.photos img
{
    margin: 0;
    padding: 0 0 20px 20px;
}

/* EDITABLE AREA
----------------------------------------------------------*/

.editarea
{
    position: relative;
    min-height: 30px;
}

.editlink
{
    position: absolute;
    right: 2px;
    top: 2px;
    background-color: #0f0;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.editlink a
{
    display: inline-block;
    padding: 2px;
    color: #000;
    text-decoration: none;
    font-weight: normal;
    font-size: 12px;
    border: 2px solid #000;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    
} 


.editlink a:hover
{
    text-decoration: underline;
}

.editlink  a, .editlink a:link, .editlink a:visited, .editlink a:hover, .editlink a:active
{
    color: #000 !important;
}

/* extras */
.dotted 
{
    border: 1px dotted #000;
}
    
