body {
    background-color: #3e4950;
    padding:0px;
    margin:0px;
    font-family:  'Ubuntu', "Gill sans", "Tahoma"; /* ubuntu is included as webfont ans should be enough  beware of old browsers */
    min-width: 500px;
    background-image: url('../images/bgnoise.png');
}

.ie body, body.ie {
    background-image: none !important;
}

h1, h2, h3, #mainmenu a {
    /*font-family:"Script";*/
}

/** banner for anouchements */
ul.ul1 li {
margin-top: 10px;
}

.announcement{
margin: 0px -20px 20px -20px;

border: 1px solid silver;
padding: 20px;
}

/** link colors */
a[href|="http://"]::after {
content: "Link";
}

a {
    color: #44a;
    text-decoration: none;
}

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

a:hover {
    color: #88d;
    text-decoration: none;
}


#heading {
    
}

#title {
    position: relative;
    padding-left: 15%;
    padding-right: 15%;
    padding-bottom: 4px;
    padding-top: 20px;
    background-color: #f4f3fa;
    min-width: 240px;

    background-image: url('../images/bg.png');
    background-repeat: no-repeat;
    z-index: 1;
}



#title .image {
    margin-left: -10px;
    min-width: 440px;
/*    height: 150px;*/
    image-rendering: optimizeQuality;
    z-index: 1;

}

#menubar {
    position: relative;
    padding: 0px 15% 0px 15%;
    background-color: transparent;
    background-image: url('../images/bar_bg75.png');
    background-repeat: repeat-x;
    height: 70px;
    min-width: 240px;
    z-index: 1;
}

#mainmenu {
    position: relative;
    height: 70px;
    white-space: nowrap;
}

.social {
    /*position: absolute;*/
    position: relative;
    top: 23px;
    margin-left: 130px;
    display: none;
}

#mainmenu a {
    top: 20px;
    color: lightgray;
    font-weight: bold;
    font-size: 23px;
    text-decoration: none;
    margin-right: 20px;
    z-index: 1;
    position: relative;
}

#mainmenu a.selected {
    color: #b11;
    text-shadow: white 1px 1px 0px,
                 white -1px 1px 0px,
                 white -1px -1px 0px,
                 white 1px -1px 0px,
                 white 1px 0px 0px,
                 white -1px 0px 0px,
                 white 0px -1px 0px,
                 white 0px 1px 0px, black 3px 3px 10px;
}
.ie #mainmenu a.selected {
    color: #e55 !important;
}

#selection {
    position:absolute;
    left: -100px;
    bottom: -1px;
    height: 15px;
    z-index: 0;
    display:none;
}

#contents a > img {
    border:0px;
}

#contents {
    background-color: white;
    padding: 25px 15% 100px 15%;
    position: relative;
   /* top: 254px;*/
    /*bottom: 30px;*/

    min-height: 500px;
    min-width: 240px;
}

#viewport {
    
}

#footer {
    padding: 17px 15% 100px 15%;
    min-width: 240px;
    /*position: fixed;*/
    bottom: 0px;
    height: 20px;
    z-index: 1;
    position: relative;
  
    
    /*background-color: white;*/
    background-image: url('../images/bar_bottom.png');
    background-color: transparent;
    background-repeat: repeat-x;
    text-align: center;
}

#contents .p {
    margin-top:15px;
    text-align: justify;
}

#contents .p:first-of-type:first-letter {
    font-size:200%;
    margin-bottom: 0px;

    margin-right:2px;
    font-weight:bold;
    color: #446;
    text-shadow: 1px 1px 0px white, 2px 2px 1px silver;
}


#footer .copyright {
    color: white;
    text-shadow: black 1px 1px 0px;
    font-size: 8pt;
}

#footer a, #footer .firstline {
    color: silver;
    text-shadow: black 1px 1px 0px;
    font-size: 12pt;
    text-decoration:none;
    margin-bottom: 10px;
}


/* the browser class (no positioning) */
.browser {
    background-color: silver;
    background-image: url("../images/browser_bg.png");
    background-repeat: repeat-y;
    background-position: left center;    
}

#browser {
    /*position:fixed;*/
    position:absolute;
    top:0px;
    right:15%;
    left:65%;
    /*padding: 284px 30px 40px 30px;*/
    padding: 40px 30px 40px 30px;
    bottom:0px;
    z-index:2;
}

.browser > h1 {
    font-size: 100%;
    margin-bottom: 10px;
    margin-top: 30px;
}

/* all links in thre browser */
.browser a {
    color: black;
    text-decoration: none;
}

.browser a:hover {
    color: white;
    text-decoration: none;
}

/* the names of publishers are blocks and more spaced*/
.browser > .links > a {
    margin-bottom: 3px;
    display: block;
}


.browser > a {
    margin-bottom: 3px;
    color: black;
    text-decoration: none;
}

.browser > .links > a.selected {
    color: black;
    z-index: 2;
    border:none;
    padding-left: 30px;
    margin-left: -30px;
    background-image: url('../images/browser_arrow.png');
    background-repeat: no-repeat;
    background-position: left center;
    
    text-shadow: white 1px 1px 0px, white -1px 1px 0px, white -1px -1px 0px, white 1px -1px 0px;
}

.browser > .links {
    position: relative;
    /*padding: 20px 0px;*/
}

.browser > .links > .all {
    margin-top: 10px;
}

.browser > h1 {
    text-shadow: none !important;
}

/** the headers and other text elements */

h1, h2 {
    color: #3e4561;
    text-shadow: 1px 1px 0px white, 2px 2px 1px silver;
}

h2 {
    margin:0px;
    margin-bottom: 10px;
    font-size: 114%;
    color: #446;
    text-shadow: 1px 1px 0px white, 2px 2px 1px silver;
}

/* search related style */
div.filtered > div.element {
    display: none!important;
}
div.filtered > div.element.matching {
    display: block!important;
}


/** this is mostly for the home page */

table  {
    border-spacing: 10px;
    margin-top: 100px;
    margin-left: -10px;
    margin-right: -10px;
}

table th {
    font-weight: normal;
    
    width: 33%;
    text-align: left;
    border-bottom: solid 2px #446;
}


#publist {
    padding-right:33%;
    
}

#browser2 {
    position:absolute;
    
    /*position:fixed;*/
    
    right:15%;
    left:65%;
    /*padding: 284px 30px 40px 30px;*/
    padding: 200px 30px 40px 30px;
    z-index:2;
}
