/*
    Pallete:    light #666 / dark #444
*/

body {
    background-color: #444;
    color: #222;
}
.container_12,
.container_16,
.container_24 {
    background: #fff;
	color: #222;
}
#shadowbox {
    /* enable css3 features for IE */
    behavior: url(../../pie/PIE.htc);

    -moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.9);
    -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.9);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.9);
}

/* common heading styles */
h1, h2 {
    line-height: 25px;
    padding: 0px 5px;
    margin: 0px;
}
h1 {
    margin-bottom: 18px;
    color: #222;
}
h2 {
    margin-bottom: 14px;
    color: #444;
}
h3, h4, h5 {
    padding: 0px 5px;
    margin: 0px;
    margin-bottom: 10px;
    color: #666;
}

/* page header style */
#header { height: 230px; padding: 15px 0px; }
/* #logo { margin-top: 15px; margin-bottom: 15px; text-align: center; } */
h1.supertitle {
    border: none;
    background: #fff;
    color: #000;
    font-size: 50px;
    text-align: center;
}
h1.supertitle img {
    vertical-align: middle;
}
h1.supertitle span {
    display: block;
    margin: 10px 0px;
    color: #444;
}
h1.supertitle span.date { font-size: 30%; }
h1.supertitle span.subtitle { font-size: 40%; }

#content {
    padding: 20px 0px;
}
/* paragraph style */
p {
	padding: 0px 5px 0px 5px;
    margin: 0px;
    margin-bottom: 14px;
}

/* link style */
a {
    color: #5574a7;
    cursor: pointer;
    text-decoration: none;
}
a:active, a:hover, a:visited {
    color: #5574a7;
}
a:active, a:hover {
    text-decoration: underline;
}

/* ??? */
address {
    margin: 15px 0px 7px 15px;

    /* enable css3 features for IE */
    behavior: url(../../pie/PIE.htc);
    position: relative;

    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border: 1px solid #9e957e;
}
address {
    border: 0px;
}

/* --------- tables --------- */
table {
    margin-left: 5px;
}
thead {
    background: #c3d9ff;
    color: #fff;
    border: 1px solid #444;
    font-weight: bold;
}
tbody tr:nth-child(even) td, tbody tr.even td {background:#e5ecf9;}
td, th {
    border: 1px solid #444;
    padding: .25em .5em;
}

tr.complete td, tr.complete td a { text-decoration: line-through; color: #999; }
form table, form td, form thead { border: 0px; }

table.timetable th { background: #e5ecf9; }
table.timetable tbody tr:nth-child(even) td, table.timetable tbody tr.even td { background: none; }
table.timetable caption { color: #fff; background-color: #222; padding: 2px; font-size: 110%; }
table.timetable td { font-size: 90%; }
/*
    this is a hack for having authors in smaller print than the title
    could not find a way to insert <p> into table cells using wymeditor
*/
table.timetable td em { font-size: 85%; }
table.timetable span.file {
    font-size: 85%;
}
@media print {
    table.timetable span.file {
        display: none;
    }
}


img.left { float: left; margin-right: 8px; }
img.right { float: right; margin-left: 8px; }
li { padding: 0px 4px; text-align: justify; margin: .2em 1em; line-height: 1.25em; }



#content div.right p {
    margin: 2px 0px 2px 0px;
}
#content div.right p img {
    vertical-align: middle;
}
#content strong.img-valign-mid img {
    vertical-align: middle;
}
#content li {
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}

div#right-column p { margin-bottom: 2em; }
div#right-column img { margin: 10px 0px; }


/* --------- footer --------- */
#footer {
    height: auto;
    font-size: 9.5px;
    padding: 20px 0px;
    line-height: 12px;
}
#footer p {
    text-align: center;
    padding: 0px 5px;
    margin: 2px 0px 2px 0px;
}
#footer img {
    vertical-align: middle;
}



/* --------- menu --------- */
#menu {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 0.5em 0em;
    font-size: 105%;
}


#menu ul {
    width: 80%;
    margin: 0em auto;
    padding: 0px;
    list-style-type: none;
}
#menu ul li {
    margin: 0px;
    padding: .5em 0em;
    display: inline;
}
#menu ul .selected a, #menu ul .ancestor a {
    padding: .25em 1em;
    background-color: #5574a7;
    color: #fff;

    /* enable css3 features for IE */
    position: relative;
    behavior: url(../../pie/PIE.htc);

    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
}


#menu ul.sub {
    background-color: #5574a7;
    color: #fff;
    font-size: 90%;

    /* enable css3 features for IE */
    position: relative;
    behavior: url(../../pie/PIE.htc);

    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
}
#menu ul.sub li { padding: .5em; }
#menu ul.sub a { color: #fff; }
#menu ul.sub .selected a, #menu ul.sub .ancestor a {
    padding: 0px .5em;
    color: #fff;
}

#menu .selected a { text-decoration: underline; }


/* ----------- dates list ----------- */
dl.dates {
    width: 80%;
    margin: 1em 0em;
    padding: 0em 1.5em;
    float: left;
}
dl.dates dt {
    width: 65%;
    float: left;
    font-weight: bold;
}
dl.dates dd {
    float: left;
}


/* styles for django cms plugins */
.plugin_picture.align-left   { display: block; margin: 2px 0px; float: left; margin-right: 8px; }
.plugin_picture.align-right  { display: block; margin: 2px 0px; float: right; margin-left: 8px; }
.plugin_picture.align-center img { display: block; margin: auto; }
@media print {
    .plugin_picture.align-left,
    .plugin_picture.align-right { float: none; }
}
.tweet_list {
    font-size: 90%;
    text-align: left;
}
.tweet_list li {
    margin: 0px;
    border-top: dashed 1px #ccc;
}
.tweet_first {
    border-top:  0px !important;
}
.tweet_avatar img {
    float: left;
    margin: 0px 1em 0px 0px !important;
}
.twitter-link:before {
    content: url(../../img/twitter.png);
    float: left;
    vertical-align: middle;
    padding: 0px;
}
.twitter-link {
    line-height: 48px;
    font-weight: bold;
}


.errorlist { color: #d22; }

span.date {
    font-size: 110%;
    font-weight: bold;
}

span.linethrough {
    text-decoration: line-through;
}

/* container placement debugging */
.debug { border: 1px dotted red; }

table.banner {
    width: 730px;
    text-align: center;
    font-size: 60%;
}
table.banner td { padding: 1em; vertical-align: middle; }
table.banner pre { text-align: left; margin: 0px; padding: 0px; }
table.banner img { margin: 0px; padding: 0px; }
/* table.banner, table.banner tr, table.banner td { border: 0px; } */

/* pretty photo gallery stuff */
span.licence_info {
    font-size: 9px;
    font-weight: normal;
    line-height: 30px;
}
div.ppt a {
    color: #fff;
    text-decoration: underline;
}
span.location_map {
    font-size: 11px;
}
span.fullsize_url {
    display: block;
    float: right;
    font-size: 11px;
    font-style: italic;
    vertical-align: baseline;
}
