/*oeptc main style sheet*/
body{
    background: #081c3a;
    color: #fff;
    font-size: 1em;
    font-family: Helvetica, Arial, sans-serif;
    background: #081c3a url(../images/css/body_bg.png);
}

#overall{
    max-width: 105em;
    position: relative;
    margin: 0 auto;
}

#overall ::selection{
    background: #081c3a;
    color: #fff;
}

#overall ::-moz-selection{
    background: #081c3a;
    color: #fff;
}

#overall dl ::selection{
    background: #3A4A68;
}

#overall dl ::-moz-selection{
    background: #3A4A68;
}

#header{
    height: 110px;
    padding: 30px;
}

h1 {
    background: url(../images/css/oeptc_logo.png) no-repeat; 
    height: 100px; 
    position: relative
}

h1 a{
    position: absolute;
    width: 500px; 
    height: 100px;
}
h1 span{
    text-indent: -9999px;
    position: absolute;
    margin: 0; 
    color: #fff;
}

#navigation{
    /*text-align: right;
    margin-top: -1.2em;*/
    /*background: #3a5a8a;*/
    position: absolute;
    right: 0;
    top: 150px;
}

#navigation ul{
    display: inline-block;
    list-style-type : none;
    border: 2px solid #3a5a8a;
    padding: 0 10px;
    /*background: #081c3a;*/
    background: rgb(51,78,128); /*ie fallback*/
    background: rgba(51,78,128, 0.7);
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#navigation li{
    display: inline-block;
}

#navigation li a, #navigation li span{
    text-decoration: none;
    color: #fff;
    font-size: 1.1em;
    display: block;
    padding: 5px 10px;
    text-shadow : rgb(0,0,0) 0 2px 2px;
}

#navigation li span{
    background: rgb(8,28,58); /*ie fallback*/
    background: rgba(8,28,58, 0.8);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1); 
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

#navigation li a:hover, #navigation li a:active, #navigation li a:focus{
    background: rgb(8,28,58); /*ie fallback*/
    background: rgba(8,28,58, 0.5);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1); 
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

#search{
    position: absolute;
    right: 20px;
    top: 60px;
    font-size: 1.2em;
}

#searchfield{
    height: 1.22em;
    border: 1px solid #c7dbf8;
    background: #3a4a68;
    color: #fff;    
}

#searchfield:focus{
    background: #fff;
    color: #000;
}
#search h2, #search p{
    display: inline;
}

input.submit{
    border: 3px solid #102442;
    background: #3a4a68;
    color: #fff;
    font-weight: bold;
}

input.submit:focus, input.submit:active{
    border: 3px solid #fff;
}

#search input{
    vertical-align: middle;
}

#content_wrapper{
    background: #3A4A68;
    padding: 20px;
}

#subnav{
    padding-bottom: 3px;
}

#content{
    margin: 10px auto;
    width: 90%;
    max-width: 58em;
    min-height: 400px;
}

#content a{
    color: #fff;
    font-weight: bold;
}

#content a:hover, #content a:focus, #content a:active, #footer a:hover, #footer a:active, #footer a:focus{
    background: #fff;
    color: #081c3a;
}

#content div a:visited{
    font-weight: normal;
}

#content h2{
    font-size: 1.5em;
    margin-top: 20px;
    text-shadow : rgb(0,0,0) 0 1px 1px;
    font-weight: bold;
}

#content h3, #content h4{
    margin-top: 15px;
    padding: 0 5px;
    letter-spacing: 1px;
    text-shadow : rgb(0,0,0) 0 1px 1px;
}

#content h3{
    font-size: 1.3em;
}

#content h4{
    font-size: 1.2em;
}

#content h3 a{
    padding: 5px;
}

#content .date{
    padding: 5px 10px 0;
    font-size: 0.7em;
}

#content div{
    font-size: 0.98em;
    line-height: 1.5em;
}

#categories{
    margin: 20px 10px;
}

#categories li{
    margin: 10px 0;
}

.teaser{
    margin-bottom: 30px;
}

#content .vevent, .teaser, #content h2, #subnav{
    border-bottom: 5px double #081c3a;
    border-bottom: 5px double rgba(8, 28, 58, 0.5);
}

.vevent ul, .vevent p, #content div{
    padding: 5px 10px 10px;
}

#content div#map_canvas div{
    padding: 0;
}

#map_canvas{
    width: 95%;
    height: 500px;
    margin: 0 auto;
    border: 7px solid #081c3a;
    border: 7px solid rgba(8, 28, 58, 0.5);
    -moz-background-clip: padding;
    -webkit-background-clip: padding;
    background-clip: padding-box;
}

.vevent li{
    margin: 10px 0;
}

.vevent li span.dtstart, .vevent li span.dtend{
    font-weight: bold;
}

.vevent li .location .geo{
    visibility: hidden;
}

#content div.description div{
    padding: 0;
}

dl{
    background: #081c3a;
    margin: 10px 20px;
    border: 1px solid rgba(8, 28, 58, 0.5);       
    -moz-box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

dt{
    text-align: center;
    padding: 10px 0;
}

dt img{
    max-width: 100%;
}

dd{
    padding: 5px;
}

.article_images{
    width: 9.4em;
    min-width: 170px;
}

.images_left{
    float: left;
}

.images_right{
    float: right;
}

h3 + ul, h4 + ul{
    margin: 10px 10px 15px;
}

.last_modified{
    font-size: 0.8em;
    margin-left: 10px;
}

.xfolkentry{
    margin: 12px 15px;
    font-size: 0.93em;
    text-shadow : rgb(0,0,0) 0 1px 1px;
}

.xfolkentry a:hover{
    text-shadow: none;
}

#appointment_archive{
    margin-top: 10px;
    text-align: right;
}

#appointment_archive a, .paginate li a{
    text-shadow : rgb(0,0,0) 0 1px 1px;
    padding: 5px 10px; 
    border: 2px solid #081c3a;
    background: rgb(51,78,128) url(../images/css/button_bg.png) repeat-x 0 50%; /*ie fallback*/
    background: rgba(51,78,128, 0.8) url(../images/css/button_bg.png) repeat-x 0 50%;
    text-decoration: none;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

#appointment_archive a:active{
    position: relative;
    top: 1px;
}

/*search*/
#searchresult p{
    margin: 10px; 
}

#searchresult li{
    margin: 5px 10px 15px;
    border-bottom: 2px solid #081c3a;
    border-bottom: 2px solid rgba(8, 28, 58, 0.5);
}

#footer{ 
    height: 4.5em;
    text-align: center;
    line-height: 4.5em;
    font-size: 1.05em;
    font-weight: bold;
}

#footer a{
    color: #fff;
    margin-left: 40px;
}

#footer span{
    vertical-align: middle;
    background: rgb(8,28,58); /*ie fallback*/
    background: rgba(8,28,58, 0.8);
}

#footer span span{
    margin-left: 30px;
}

#footer img{
    vertical-align: middle;
}

#footer #sponsor{
    margin-left: 5px;
}

/*paginate*/
.paginate{
    text-align: center;
    text-indent: 0;
    margin-top: 10px;
}

.paginate li{
    display: inline;
    margin: 0 5px;
}

/*###########################*/
/*skip classes*/
.skip{
    position: absolute;
    left: -1000em;
    color: #fff;
    font-weight: bold;
    background: #081c3a;
}
.skip:focus, .skip:active{
    position: static;
    left: 0;
}

