/* -------------------------------------------------------------------------
--  PAGE BODY --------------------------------------------------------------
----------------------------------------------------------------------------*/
html, body {
    margin: 0;
	padding: 0;
    height: 100%;
}
body {
    background: white;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.8em;
}

/* -------------------------------------------------------------------------
--  GENERIC STYLES ---------------------------------------------------------
----------------------------------------------------------------------------*/
img {
	border: 0;
}
img.action {
	margin-bottom: -3px;
}
.print.only,
.print-only {
	display: none;
}

/* -------------------------------------------------------------------------
-- APPLICATION -------------------------------------------------------------
----------------------------------------------------------------------------*/

#container {
	margin: 0;
	width: 100%;
    min-height: 100%;
    position: relative;
}

#topbar,
#logo,
#navigation,
#body,
#footer {
    width: 100%;
    max-width: 1200px;
    min-width: 727px;
    margin: 0px auto;
}

#topbar {
    clear: both;
    height: 45px;
}

#searchbar {
    float: left;
    width: 40%;
}

#searchbar input {
    margin-top: 8px;
    width: 320px;
    height: 30px;
    background-color: #E5EBF2;
    color: #000000;
    border: medium none;
    padding: 0px 10px;
    outline: 0px none;
}

#statusbar {
    float: right;
    width: 60%;
    color: rgb(211, 174, 41);
    font-size: 1em;
    font-family: arial;
}

#statusbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    float: right;
}

#statusbar ul li {
    display: inline-block;
    line-height: 45px;
    margin: 0px 2px;
    float: left;
}

#statusbar ul li a,
#statusbar ul li span {
    padding: 3px 4px;
}

#statusbar ul li a {
    border: 0;
    text-decoration: none;
    color: rgb(211, 174, 41);
    font-weight: bold;
}

#statusbar ul li .current,
#statusbar ul li a:hover {
    color: rgb(0, 38, 99);
    background-color: transparent;
    font-weight: bold;
}

#header {
    width: 100%;
    height: 82px;
    background: none repeat scroll 0% 0% rgb(37, 48, 76);
}

#header #logo {
    background-color: transparent;
    background-image: url(images/logo.png);
    background-position: left center;
    background-repeat: no-repeat;
    height: 82px;
}

#header #logo a#home {
    width: 640px;
    height: 70px;
    display: block;
    position: relative;
    top: 4px;
}

#header #logo a#home:hover {
    background-color: transparent;
}

#navigation-container {
    /*background-color: rgb(16, 73, 142);*/
    background-color: rgb(208, 184, 150);
}

#navigation ul.tabs {
	margin: 0 auto 0 auto;
	padding: 0;
    height: 37px;
    list-style: none;
    left: 50%;
}

#navigation ul.tabs li {
	display: inline;
    float: left;
    position: relative;
}

#navigation .tabs li a {
	font-family: Arial,Helvetica,Verdana,"Bitstream Vera Sans",sans-serif;
    font-size: 14px;
    display: block;
	border: 0;
	margin: 0;
    padding: 0 10px;
    color: rgb(0, 38, 99);
	line-height: 37px;
    text-decoration: none;
}

#navigation ul.tabs li.active a,
#navigation ul.tabs li a:hover {
    color: rgb(0, 38, 99);
    /*background-color: rgb(16, 73, 142);*/
    background-color: rgb(208, 184, 150);
}

#navigation ul.tabs li a:hover {
    color: white;
}

#navigation ul.tabs li .notch {
    position: absolute;
    top: 0px;
    left: 50%;
    margin: 0 0 0 -8px;
    border-top: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgb(37, 48, 76);
    padding: 0;
    width: 0;
    height: 0;
    /* ie6 height fix */
    font-size: 0;
    line-height: 0;
     /* ie6 transparent fix */
    _border-right-color: pink;
    _border-left-color: pink;
    _filter: chroma(color=pink);
}

#body {
	overflow: hidden;
	clear: both;
	text-align: left;
    padding: 0 0 64px 0;
}

#body #content {
    margin: 0;
}

#body #primarycontent,
#body #primarycontent .primarycontent {
	float: left;
	width: 67%;
	clear: left;
}

#body .contentbar,
#body #primarycontent .secondarycontent {
	padding: 0;
	width: 30%;
}

#body .contentbar.right,
#body #primarycontent .secondarycontent {
    padding-left: 10px;
	float: right;
	height: 100%;
	clear: right;
}

#body .contentbar.left {
	border-right-width: 1px;
	float: left;
	margin: 0 15px 0 0;
	padding: 0 15px 0 0;
	width: 30%;
}

#body .contentbar ul .active {
	font-weight: bold;
}

#body .contentbar ul .active a {
	border: 0;
	color: #08095A;
}

#body .contentbar ul .active a:hover {
	background: none;
	color: #08095A;
}

#footer-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgb(37, 48, 76);
    height: 54px;
}

#footer {
	clear: both;
    padding-top: 20px;
}

#footer ul {
	color: #888;
	font-size: .9em;
	letter-spacing: 2px;
	list-style-type: none;
	margin: 0 0 10px 0;
	padding: 0;
	text-transform: uppercase;
}

#footer ul.copyright {
	float: left;
}

#footer ul.tools {
	float: right;
}

#footer ul li {
	display: inline;
}

#footer ul li a {
	color: #767676;
	border: 0
}

#footer ul li a:hover {
	background: transparent;
	color: #00439D;
}

/* -------------------------------------------------------------------------
-- SQL Log -----------------------------------------------------------------
----------------------------------------------------------------------------*/
.cake-sql-log {
    background: #fff;
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
    border-collapse: collapse;
    font-size: 85%;
}
.cake-sql-log th {
    padding: 4px;
    cursor: pointer;
}
.cake-sql-log td {
    padding: 4px 8px;
    text-align: left;
    font-family: Monaco, Consolas, "Courier New", monospaced;
    border: 1px solid rgb(220, 220, 220);
}
.cake-sql-log tr:hover,
.cake-sql-log tr:hover * {
    background-color: #E2E3F9 !important;
}
.cake-sql-log caption {
    color:#fff;
}
