/*

Main Style Sheet for PoliticalDebateGapp

Logogreen: B1D354
Nice, slightly darker green: 98b743
Brownish: D3B655
Light green: C8E085
Light light green: DEECB6
Even lighter green: E9F2CF
Superduperlight green: F2F8E2
Light blue: 55B1D3
Mid-dark blue: 5572D3

*/


/* ----------------- BODY AND STANDARD STUFF LIKE LINKS ----------------- */

body {
    margin: 0px;
    color:#333333;
    background-color: #FFF;
    font: small Trebuchet, Trebuchet MS, Arial, sans-serif;
}

a:link {
    color:#2D4BAE;
    text-decoration:none;
}

a:visited {
    color:#2D4BAE;
    text-decoration:none;
}

a:hover {
    color:#2D4BAE;
    text-decoration:underline;
}

a img {
    border-width:0;
}

.clear {
	margin: 0 auto;
	clear: both;
}


/* ------------------------------ WRAPPERS ------------------------------ */

.widthwrapper {
    /* background-color: #FFF; */
    width: 800px;
    margin: 0 auto;
    /* border-left: 1px solid #1f1907; */
    /* border-right: 1px solid #1f1907; */
}

#header {
    clear:both;
    background-color: #B1D354;
    padding: 6px 20px;
}

#menu {
    clear:both;
    background-color: #54B0D3;
    color: #FFF;
    padding: 4px 20px;
    border-top: 1px solid #1f1907;
    border-bottom: 1px solid #1f1907;
}

#content {
    padding: 10px 20px;
}

#contentheader {
    margin-top: 20px;
    margin-bottom: 30px;
}

#tabsection {
    margin-top: 20px;
}

#footer {
    clear: both;
    margin-top: 20px;
    padding: 10px 20px 0px 20px;
	height: 100px;
    background-color: #B1D354;
    /* border-top: 1px solid #1f1907; */
}


/* ----------------------- WRAPPER-SPECIFIC STYLES ---------------------- */

#header #sitelinks {
    float: right;
}

#header #sitetitle {
    padding-top: 18px;
    padding-bottom: 2px;
}

#header #sitetitle a:link {
    color: #333333;
    text-decoration: none;
}

#header #sitetitle a:visited {
    color: #333333;
    text-decoration: none;
}

#header #sitetitle a:hover {
    text-decoration: none;
}

#header #sitedescription {
    padding-bottom: 22px;
}

#menu a:link {
    color:#FFF;
    text-decoration:none;
}

#menu a:visited {
    color:#FFF;
    text-decoration:none;
}

#menu a:hover {
    color:#FFF;
    text-decoration:underline;
}

#tabsection table {
    border-collapse: collapse;
}

#tabsection td {
    vertical-align: bottom;
    border-bottom: 1px solid #1f1907;
}

#tabsection td.button {
    background-color: #EEE;
    padding: 4px 6px;
    border-top: 1px solid #1f1907;
    border-left: 1px solid #1f1907;
    border-right: 1px solid #1f1907;
}

#tabsection td.button a:hover {
    text-decoration:none;
}

#tabsection td.button:hover {
    background-color: #FFF;
}

#tabsection td.selected {
    background-color: #FFF;
    border-bottom: 1px solid #FFF;
}

#tabsection td.links {
    padding-left: 8px;
}

#footer td {
    vertical-align: bottom;
}

#footer td.icon {
    border: 1px solid #98b743;
}


/* ---------------------- NEW MAINCONTENT STYLES --------------------- */

a.meshbox {
    border: 1px solid grey;
    padding: 3px;
    margin: 2px;
    white-space: nowrap;
    float:left;
    vertical-align: middle;
}

a.meshbox img {
    vertical-align: middle;
    width: 30px;
    height: 30px;
}


/* ---------------------- OLD, BUT MUCH STILL IN USE --------------------- */

a.darkgraylink {
    color: #333333;
}

.adder input {
    width: 100%;
    float: right;
    border: 1px solid #98b743;
    height: 20px;
}

.adder .button {
    border: 1px solid #98b743;
    margin-top: 2px;
    background-color: #E8F3CE;
    padding: 4px;
    float: right;"
}

.adder .button:hover {
    background-color: #B1D354;
}


.item {
    margin-bottom: 40px;
}

.item h3 {
    margin: 0;
}

#portalstatusmessage {
    display: none;
    border: 1px solid gray;
    background-color: #DDD;
    padding: 3px;
    width: 90%;
    font-weight: bold;
    vertical-align: middle;
    margin-bottom: 10px;
}






.icon {
    width: 30px;
    height: 30px;
}

.item h3 img {
    vertical-align: middle;
    float: left;
    padding-right: 6px;
    width: 30px;
    height: 30px;
}

.item p {
    margin: 0;
}

.item .by {
    font-size: small;
    font-weight: 800;
    margin-bottom: 6px;
}

.item .debates {
    margin-bottom: 6px;
}

.item .description {
    margin-bottom: 6px;
}

.item .clear {
    margin-bottom: 2px;
}

.reply {
    background: #F2F8E2;
    border: 1px solid #DDD;
    margin: 4px 0px 4px 20px;
    padding: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.secondreply {
    margin-left: 40px;
}

.reply h4 {
    margin: 0;
}

.reply .tweet {
    margin-top: 5px;
}

.reply .morereplies {
    margin-top: 5px;
}

.related {
    background: #EEE;
    border: 1px solid #DDD;
    margin: 2px;
    padding: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.related h4 {
    margin: 0;
}

.showmore {
    margin-bottom: 15px;
}

.twitterdate {
    color: #666;
    font-size: xx-small;
}

p.editbutton img {
    vertical-align: middle;
    margin-top: 4px;
    margin-right: 5px;
}

.edit h4 {
    margin-top: 10px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

#authordiv span {
    margin-right: 3px;
}

div.numberedboxes {
    background: #ECFFFF;
    border: 1px solid #D8D8EE;
    margin: 2px 2px 15px 2px;
    padding: 4px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

div.numberedboxes h3 {
    margin: 4px 0 10px 2px;
    padding: 0px;
}

.edittable {
    width: 500px;
}

.edittable tr.header {
    padding: 8px;
    text-align: center;
    font-size: larger;
    font-weight: bold;
    background-color: #CCC;
}

.edittable .left {
    font-weight: bold;
    width: 150px;
    vertical-align: top;
}

.edittable .right {
    vertical-align: top;
}

.edittable .right p {
    margin: 0 0 4px 0;
}

div.elementlistdiv {
    margin: 0px;
    margin-bottom: 10px;
    padding: 4px 0;
}

div.elementlistdiv img {
    margin-top: 6px;
}

.elementlistdiv h4 {
    margin: 0px;
}

.elementlistdiv p {
    margin: 0px;
}
