/**
 * Influence and snippets of design borrowed from Grappelli:
 * http://code.google.com/p/django-grappelli/
 */

@import url('reset.css');

body {
    margin: 0; padding: 0;
    font-family: Arial, sans-serif;
    font-size: 12px; line-height: 16px;
    color: #444;
    background: #fff;
}

h1, h2, h3, h4, h5 { font-weight: bold; }

h1 {
    margin-bottom: 10px;
    font-size: 16px; line-height: 20px;
}
h2 {
    margin-bottom: 10px;
    font-size: 14px; line-height: 20px;
}
.pretitle + h1 {
    margin-top: 0;
}
h3 {
    font-size: 14px;
    border-bottom: 1px solid #666;
    margin-bottom: 10px;
}
h4 { font-size: 12px; }
h5 { font-size: 10px; }

p {
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    outline: none;
}

a:link, a:visited { color: #135DA9; }
a:hover, a:active { color: #444; }
a img {
    border: none;
    outline: none;
}

#header {
    width: 100%; height: 75px;
    color: #eee; font-size: 11px; line-height: 14px; font-weight: bold;
    background: #184777 url(../img/main_header.jpg) no-repeat 5px 5px;
}
#header a {
    color: #FFFFFF;
}
#header a:hover, #header a:active {
    color: #ddd;
}

div.nav {
    width: 100%;
    height: 19px;
    padding: 0 0 3px 0;
    color: #333333;
    font-size: 11px;
    font-weight: normal;
    text-align: left;
    text-shadow: 1px 1px 1px #ccc;
    border-bottom: 1px solid #666;
    background-color: #CFDEE6;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#CFDEE6), to(#A6A6A6));
    background-image: -moz-linear-gradient(19% 75% 90deg,#A6A6A6, #CFDEE6);
    font-weight: bold;
}
div.nav li {
    float: left;
    margin:0;
    padding:0;
}
div.nav a {
    color: #333333;
    text-decoration: none;
    display:block;
    height:18px;
    padding: 2px 13px;
}
div.nav a:hover {
    color: #EEEEEE;
    text-shadow: 1px 1px 0 #000;
    background-color: #448DC1;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#999999), to(#444444));
    background-image: -moz-linear-gradient(19% 75% 90deg,#444444, #999999);
}

body.membership div.nav a.membership,
body.member-reports div.nav a.member-reports,
body.custom-reports div.nav a.custom-reports,
body.dues-billing div.nav a.dues-billing,
body.dues-reports div.nav a.dues-reports,
body.exporting div.nav a.exporting {
    color: #EEEEEE;
    text-shadow: 1px 1px 0 #000;
    background-color: #448DC1;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#999999), to(#444444));
    background-image: -moz-linear-gradient(19% 75% 90deg,#444444, #999999);
}

#user-tools li {
    margin: 0; padding: 8px 10px;
    font-size: 14px;
}

ul li { list-style-type: none; padding: 1px 0; }

#user-tools li {
    margin: 0; padding: 8px 10px;
}
#user-tools {
    position: absolute;
    right: 10px;
    top: 35px;
}
#user-tools li {
}

#header ul li {
    position: relative; float: left;
}

hr {
    clear: both;
    margin: 0; padding: 0;
    height: 1px;
    color: #eee; font-size: 1px; line-height: 1px;
    border: none;
    background-color: #eee;
}

.small { font-size: 11px; }

.tiny { font-size: 10px; }
p.tiny { margin-top: -2px; }

.mini { font-size: 9px; }
p.mini { margin-top: -3px; }

p img, h1 img, h2 img, h3 img, h4 img, td img { vertical-align: middle; }

#content-container {
    margin-left: 220px;
}
#content {
    padding: 20px 15px;
}
#content_printable {
    position: absolute;
    left: 10px;
    top: 68px;
    min-width: 700px;
    padding: 20px 15px;
}

#sidebar {
    float: left;
    width: 220px;
    height: auto;
    background-color: #eeeeee;
    border-right: 1px solid #666666;
}
#sidebar h1 {
    border-bottom: 1px solid #666666;
}
#sidebar h2 {
    font-size: 14px;
    color: #666666;
}
div#sidebar .sidebar-top {
    padding: 10px;
    font-size: 16px;
    text-align: center;
    color: #194574;
    font-weight: bold;
    height: 15px;
    background-color: #CFDEE6;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#CFDEE6), to(#B8C5CC));
    background-image: -moz-linear-gradient(19% 75% 90deg,#B8C5CC, #CFDEE6);
}
div#sidebar ul {
    border-top: 1px solid #194574;
	list-style: none;
}
div#sidebar li {
    padding: 3px 10px;
    border-bottom: 1px solid #194574;
    background-color: #CFDEE6;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#CFDEE6), to(#B8C5CC));
    background-image: -moz-linear-gradient(19% 75% 90deg,#B8C5CC, #CFDEE6);
}
div#sidebar li.active {
    background-color: #448DC1;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#448DC1), to(#3A77A3));
    background-image: -moz-linear-gradient(19% 75% 90deg,#3A77A3, #448DC1);
}
div#sidebar li.active a {
    color: #ffcc66;
}
div#sidebar li a {
    display: block;
    color: #194574;
}
div#sidebar li:hover {
    background-color: #448DC1;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#448DC1), to(#3A77A3));
    background-image: -moz-linear-gradient(19% 75% 90deg,#3A77A3, #448DC1);
}
div#sidebar li:hover a {
    color: #ffcc66;
    text-decoration: none;
}
div#sidebar a {
	font-size: 12px;
	font-weight: bold;
	line-height: 18px
}
div#sidebar a:hover {
	text-decoration: underline;
}

#footer {
    position: absolute;
    text-align: center;
    min-width: 700px;
    left: 200px;
    top: 100%;
    background-color: #dddddd;
}

table {
    margin: 0; padding: 0;
}

td.aright, th.aright {
    text-align: right;
}
td.acenter, th.acenter {
    text-align: center;
}
td.atop, th.atop {
    vertical-align: top;
}

::selection {
	background: #FF5E99; /* Safari */
    color: #fff;
    text-shadow: none;
}
::-moz-selection {
	background: #FF5E99; /* Firefox */
    color: #fff;
    text-shadow: none;
}
