/*
 * Theme Name: kuperman
 * Theme URI: http://www.cs.oberlin.edu/
 * Description: Ben's CS Dept. Style page
 * Version: 0.4
 * RCS Version: $Revision: 1.20 $
 * Author: Benjamin A. Kuperman
 * Author URI: http://www.cs.oberlin.edu/~kuperman/
 */

/* 
 * Ben's CS Departmental Style Page 
 * 
 * Last Modified: $Date: 2013/03/27 18:15:31 $ by $Author: webservr $
 * Created: Thu Jun 26 10:24:58 EDT 2008
 */

/* rules for everything */                                  /*{{{*/
body, h1, h2, h3, h4, h5, h6, blockquote, p, form{ 
    margin: 0;
    padding: 0;
}

/* 
* {
    margin: 0;
    padding: 0;
}
*/

body {
    background-color: #DDDDDD;
    color: black;
    margin: 0;
    padding: 0;
    /*
    margin-left: 2em;
    margin-right: 2em;
    */
    font-family: Helvetica, Arial, Verdana, sans-serif;
    font-size: 10pt;

    /* */
    background-image: url('images/king-bg.jpg');
    background-attachment: fixed;
    background-repeat: repeat;
    background-position: 50% 35%;
    /* */
    /* * /
     background-color: #FFCC00;
     background-image: url(images/white50.png); 
    /* */

}

body p {
    margin: 1em 0.1em 0 0.1em;
}


div#content { /* surrounds non-header, -footer parts */
    width: 750px;
    /*
    max-width: 800px;
    width: 500px;
    */
    margin: 0 auto;
    padding: 0.5em;
    clear: both;
    /*
    margin: 1em auto;
    margin-top: 120px;
    */
}

div#posts {
    float: left;
    width: 560px;
}
/*
div.post { float: right; }
*/

h1 { font-size: 1.5em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.0em; }
h5 { font-size: 0.8em; }
h6 { font-size: 0.6em; }

a:link {text-decoration: none; color: #990033;}
a:visited {text-decoration: none; color: #990033;}
a:hover {text-decoration: underline; color: #FF0000;}

.center { text-align: center; }

.clear { clear: both; }
.clearleft { clear: left; }
.clearright { clear: right; }

.grayed { background: url(images/white50.png); }

.padded li { padding: 0pt 0pt 0.8em 0pt; }

ol.alpha { list-style-type: upper-alpha; }
ol.lalpha { list-style-type: lower-alpha; }



/*}}}*/

/*-- Styling for the header --------------------------------------------------*//*{{{*/

div#header {
    background-color: #990033;
    color: white;
    clear: both;
    border-bottom: 6px solid #000;
    /*
	float: left;
        */
	width: 100%;
	margin: 0;
	padding: 0;
        /*
    vertical-align: middle;
        margin-top: -1.1em;
        */
        height: 120px;
    /*
    text-align: center;
    background-image: url('images/oberlin_seal100.png');
    background-repeat: no-repeat;
    background-position: 10px 10px;
    */

}

div.title {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 20px 20px 40px;

    padding-right: 120px;
    /*
    background-image: url('images/newlogo100w.png');
    background-image: url('images/oberlin_seal100.png');
    */
    background-image: url('images/occs-100.png');
    background-repeat: no-repeat;
    background-position: 98% 10px;
    min-height: 70px;
}
* html div.title {  /* IE fix */
    width: 700px; 
}
       
/*
#header h1 { font-size: 3em; text-align: center; color: #FFCC00; }
#header h1 a { color: #FFCC00; }
*/
#header h1 { font-size: 3em; text-align: left; color: #FFFFFF; margin: 0; }
#header h1 a { color: #FFFFFF; }
#header h1 a:hover { color: #dddddd; }
#header h2 { text-align: right; color: #FFCC00; margin-top: 1em; }
#header p.blogdescription { 
    text-align: right; 
    color: #FFCC00; 
    margin-top: 1em;
    font-size: larger; 
    max-width: 70%;
    float: right;
}

/*}}}*/

/*-- Styling for the menu ----------------------------------------------------*//*{{{*/
div#top-menu {
    clear: both;
    float: left;
	width: 100%;
	text-align: center;
	border: none;
        border-bottom: thin solid white;
	background: #FFCC00;
	background: #dddddd;
}

div#top-menu ul {
    max-width: 800px;
    margin: 0 auto;
}
* html div#top-menu ul { /* IE FIX */
    width: 800px;
}
div#top-menu li a {
    display: block;
    padding: 5px  20px;
    border: thin solid transparent;
}

div#top-menu li {
    /* display: inline; */
    list-style-type: none;
    float: left;
    font-size: larger;
    text-align: center;
    position: relative;
}

div#top-menu > ul > li              { border-right: thin solid white; }
div#top-menu > ul > li:first-child  { border-left:  thin solid white; }

div#top-menu li:hover { background-color: white;}
div#top-menu a:hover { text-decoration: none; border: thin solid #990033; }

/* Suckerfish Dropdowns - http://www.alistapart.com/articles/dropdowns */
div#top-menu li ul {
    display: none;
    position: absolute;
    top: 1em;
    left: 0;
    margin: 0;
    padding: 0;
    width: 10em;
}

div#top-menu li li {
background: #ccbbbb;
font-size: medium;
text-align:left;
width: 100%;
}

div#top-menu li > ul {
    top: auto;
    left: auto;
}

div#top-menu li:hover ul { display: block; }

div#top-menu li:hover ul ul,
div#top-menu ul ul ul {
    display:none;
}
div#top-menu ul ul ul {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
}

div#top-menu li li:hover ul { display:block ; }

/*
div#top-menu li:before { content: " | "; }
div#top-menu li:before:first-child  { content: ""; }
*/

/*}}}*/

/*-- Styling for a post ------------------------------------------------------*//*{{{*/

/*
div.post:first-child {
    margin-top: 3em;
}
*/

div.page,
div.post {  /* the container */
    padding: 5px;
    margin: 1em 0;
    /*
    margin-right: 190px;
    */
    background-color: white;
    /*
    border: 3px none #dd0000;
    */
    border: 2px solid #dddddd;
}

div.post h2 { margin: 0; }

div.page h2 { margin-bottom: 0.5em; text-decoration: underline; }

div.post p.date {
    font-size: x-small;
    margin: 0;
}

p.postmetadata {
    font-size: x-small;
    margin: 0;
}

p.lastupdated {
    font-size: xx-small;
    margin: 0;
    font-style: italic;
}

div.navigation { 
    /*
    margin-top: 0.5em;
    margin-bottom: 0.1em;
    margin-right: 190px;
    */
    padding-bottom: 0.5em;
}

/* for wp-sticky */
div.Announcement { border: 5px solid #990033; }
div.Sticky, div.sticky { border: 5px solid #ffcc00; }

/*}}}*/

/*-- Styling for the footer --------------------------------------------------*//*{{{*/

div#footer {
    background-color: #990033;
    color: white;
    clear: both;
    border-top: 6px solid #000;
	float: left;
	width: 100%;
	margin: 0;
	padding: 0;
        /*
    vertical-align: middle;
        */
    text-align: center;
}
#footer a { color: #ffcc00; }
#footer a:hover { color: #ffff00; }

p.tiny { font-size: x-small; }

/*}}}*/

/*-- Styling for a sidebar ---------------------------------------------------*//*{{{*/
/*
#container {
    float: left;
    max-width: 500px;
}
*/
.sidebar {
    float: right;
    width: 176px;
    border: 2px solid #dddddd;
    background-color: white;
    margin: 1em 0;
}

/* fixes for IE being broken and wrong */

* html .sidebar {
    display: inline;
    /* overflow-x: auto; overflow-y: hidden;  */
    margin-left: -180px;
}

.sidebar ul, .sidebar ul ol, .sidebar ul ul {
    margin: 0;
    padding: 0;
}

.sidebar ul li {
    list-style-type: none;
    list-style-image: none;
}

/*
.sidebar ul{
list-style-type: none;
}
* html .sidebar li { 
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
}
*/

/*
.sidebar ul{
list-style-type: none;
margin: 0;
padding: 0 10px 0 10px;
}

.sidebar ul li{
padding: 10px 0 10px 0;
}
*/

/* */
.sidebar h2 {
    margin-top: 1em;
    border-bottom: thin solid black;
}

.sidebar li {
    display: block;
    margin: 5px;
    padding: 0;
}

.sidebar a {
    /*
    display: block;
    */
}
.sidebar a:hover { background-color: #dddddd; }

.sidebar ul {
    padding: 0;
}
.sidebar > ul {
    margin: 0.5em auto;
}

/*
.sidebar > ul > li:hover {
    outline: thick solid yellow;
}
*/

.sidebar div#calendar_wrap table {
    margin: 0 auto;
    width: 10.5em;
}

/*
li#search:before { content: "<h2>Search</h2>"; }
*/
li#search {
}

/*}}}*/

/*-- Styling for the class lists ---------------------------------------------*//*{{{*/

ul.classlist li:hover {
    background-color: #444444;
    color: #eeeeee;
}

ul.classlist li:hover a {
    color: #ffcc00;
}

ul.classlist li {
    padding: 0.1em;
}

ul.classlist .classurl {
    color: black;
}

ul.classlist .classurl[href] {
    font-weight: bold;
    text-decoration: underline;
}

/*}}}*/

/*-- Styling for the faculty lists -------------------------------------------*//*{{{*/

div#faculty ul li {
    display: block;
    margin-left: 10px;
    font-size: 1.2em;
    line-height: 1.5em;
}

/*}}}*/

/*-- Styling for schedules and tables ----------------------------------------*//*{{{*/

table.schedule {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    border: 3px solid #990033;
    background-color: #f0f0f0;
}
table.schedule th,
table.schedule td,
table.schedule tr {
    border: thin solid #990033;
}

table.schedule th {
    font-weight: bold;
    border-bottom-width: 3px ;
    background-color: #ffcc00;
}

table.schedule tr:hover {
    background-color: #ddddff;
}

/*}}}*/


/* Begin Images */ /* from default/style.css */ /*{{{*/
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

/* Captions & aligment */

.aligncenter,
div.aligncenter,
img.aligncenter,
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 10px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 10px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}

/* Stuff for captioning from the default style page */
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions & aligment */
/* End Images */
/*}}}*/

/*-- Search form -------------------------------------------------------------*//*{{{*/
/*
#searchform {
    margin: 10px auto;
    padding: 5px 3px;
    text-align: center;
}

#sidebar #searchform #s {
    width: 108px;
    padding: 2px;
}

#sidebar #searchsubmit {
    padding: 1px;
}
*/
/*}}}*/

/*-- Printing ----------------------------------------------------------------*//*{{{*/
@media print {
    div#top-menu,
    div.navigation,
    div.sidebar { display: none; }
    body {
        background: none;
        background-color: white;
        margin: 0;
    }

    
    body div#header a,
    body div#footer a,
    body div#header,
    body div#footer {
        background-color: white;
        color: black;
    }

    h1, h2, h3, h4, h5, h6,
    body div#header h1 a, 
    body div#header h2, 
    #header p.blogdescription, 
    a:hover, a:link, a:visited
        { color: black; }

    #header p.blogdescription, 
    div#top-menu ul,
    div.title, div#content, div#posts { width: auto; max-width: none; }
    div.post { margin: 1em 0; }

    div.Announcement,
    div.Sticky { border-color: black; }

    table.schedule {
        border-color: black;
    }
}
/*}}}*/


/* vim: set fdm=marker: */
