body {
    background-image:url('../img/bg.jpg');
    background-repeat:repeat-x;
    font-size: 13px;
    line-height: 190%;

    text-align: center;
}

#wrapper {
    margin: 0 auto;
    text-align: left;
    left: 50%;
    margin-left: -500px;
    position: absolute;
}

p img {
    border: 7px solid #f1f1f1;
    margin: 1.5em 1.5em 0.5em 0;
}

#langswitch {
    position: absolute;
    z-index: 2000;
    left:14px;
    top:129px;
    background:url(/media/img/neu/atomallianz-language-switch.jpg);
    height:34px;
    width:90px
}

body.de #langswitch {
    background-position: -184px 0;
}

body.fr #langswitch {
    background-position: -92px 0;
}

#langswitch a {
    display: block;
    height: 34px;
    width: 45px;
    float: left;
    text-indent: -5000em;
}

#langswitch a.de:hover {
    background: url(/media/img/neu/atomallianz-language-switch.jpg) -184px 0;
}

#langswitch a.fr:hover {
    background: url(/media/img/neu/atomallianz-language-switch.jpg) -137px 0;
}

.header {
    width: 1000px;
    height:125px;
    margin-top:0px;
    margin-left:0px;
    background-image:url('../img/header_de.jpg');
    background-repeat:no-repeat;
    position: relative;
}

body.fr .header {
    background-image: url('../img/header_fr.jpg');
}

.logo a {
    position: absolute;
    display: block;
    top: 10px;
    left: 0;
    width: 360px;
    height: 105px;
}

.navi {
    position: absolute;
    top: 31px;
    left: 373px;
    width: 600px;
    height: 50px;
}

.navi a, .navi a:active, .navi a:visited {
    margin-right:25px;
    color:#fff;
    width:570px;
    padding-bottom:6px;
    height: 40px;
    font-size: 20px;
    text-decoration:none;
    font-weight:bold;
    cursor:pointer;
}


.navi a:hover,
.navi a.mark {
    background-image:url('../img/header_navi_arrow.gif');
    background-repeat:no-repeat;
    background-position:bottom;

}
.subnavi {
    position: absolute;
    top: 67px;
    left: 373px;
    width: 600px;
    height: 30px;
}

.subnavi a, .subnavi a:active, .subnavi a:visited  {
    margin-right:5px;
    color:#fff;
    font-size: 12px;
    text-decoration:none;
    padding:3px 6px 3px 6px;
    cursor:pointer;
}

.subnavi a:hover,
.subnavi a.mark {
    background-color: #004090;
}

.intro {
    clear: both;
    margin-top:10px;
    margin-left: 20px;
    padding:20px;
    width: 950px;
    text-align: center;
}

.newsletter {
    width: 977px;
    height: 73px;
    margin-left:20px;
    margin-top:20px;
    background-image:url('../img/newsletter_signup.gif');
}

.newsletter div {
    float:left;
    padding: 15px 10px 15px 10px;
}
.newsletter h3 {
    margin-bottom:5px;
}
.newsletter form {
    float:left;
    padding-top:12px;
}

.signup_input {
    width:140px;
    margin-right:10px;
}

.signup_button {
    width:176px;
    height:39px;
    margin-left:40px;
    margin-top:-10px;
    background-image:url('../img/newsletter_button.gif');
    background-color: #4080C0;
    border: 0px solid #004090;
    cursor: pointer;
    color: white;
}

.footer_wrap {
    clear: both;
    width: 100%;
}

.footer {
    background-image:url('../img/footer_bg.gif');
    background-repeat:repeat-x;
    background-position:top;
    background-color: #DBDBDB;
    clear: both;
    color: #464749;
    padding: 15px 20px 15px 35px;
    margin: 0 0 0 0;
}
.footer_navi {
    float:left;
    margin-right:200px;
}
.footer a, .footer a:active, .footer a:hover, .footer a:visited {
    color: #464749;
    text-decoration: none;
    cursor:pointer;
}
.footer_divider {
    width:950px;
    height:1px;
    background-color:#999;
    clear: both;
}
.footer .contact {
    float: left;
}
.footer .contact h3 {
    margin-top:5px;
    margin-bottom:5px;
}
.footer .list {
    margin-left:600px;
    text-align:right;
    width:350px;
}
.footer .list h3 {
    margin-top:5px;
    margin-bottom:5px;
}

#logo_bar {
    width: 950px;
    height: 103px;
    overflow: hidden;
    text-align: center;
}

.table_3col {
    width:964px;
    border: 0px solid #000;
    margin-left: 5px;
    margin-top:10px;
}

.table_2col {
    width:648px;
    border: 0px solid #000;
    margin-left: 5px;
    margin-top: 10px;
}

.table_1col {
    width:332px;
    border: 0px solid #000;
    margin-left: 5px;
    margin-top:10px;
}

.portal td {
    width:264px;
    height:264px;
    padding:16px;
}

.wrapper1 {
    position:relative;
    left:-600px;
    float:left;
    width:1200px;
    background: #ffffff url('../img/bg.jpg') repeat-x 0 -118px;
}

.wrapper2 {
    clear:left;
    float:left;
    overflow:hidden;
    width:1000px;
    background-color:#caedff;
}

.main {
    clear: both;
}

.main_narrow {
    float:left;
    width:46%;
    position:relative;
    left:50%;
    overflow:hidden;
    padding: 50px 0 20px 0;
}
.sidebar {
    padding: 30px 0 0 0;
    float:left;
    width:46%;
    position:relative;
    left:56%;
    overflow:hidden;
}


.box {
    background-color:#eee;
    border: 1px solid #ccc;
    background-image:url('../img/box_footer_bg.gif');
    background-repeat:repeat-x;
    background-position:bottom;
    position:relative;
}

td .box h2,
.main .box h2 {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 300px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    padding: 0 0 2px 0;
}

td .box h2 a,
.main .box h2 a {
    text-decoration: none;
    color: #fff;
    display: block;
}

.box_small {
    width:300px;
    height:263px;
}

.box_medium {
    width:300px;
    height:565px;
}

.box_medium_h {
    width:635px;
    height:263px;
}

.box_big {
    width:635px;
    height:565px;
}

td .box_medium_h h2, td .box_big h2,
.main .box_medium_h h2, .main .box_big h2 {
    width: 635px;
}

.box .backside {
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
    height: 230px;
    display: none;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
}

.box_medium .backside, .box_big .backside {
    height: 532px;
}

.box_medium_h .backside, .box_big .backside {
    width: 635px;
}

.box .backside p {
    padding: 10px 10px 0 10px;
    margin: 0;
}

.box .backside p small {
    font-size: 12px;
    text-decoration: underline;
    font-weight: normal;
}

.box_tl, .box_tr, .box_bl, .box_br {
    background-repeat:no-repeat;
    position:absolute;
    width:5px; height:5px;
    z-index: 1000;
}

.main .box_tl {
    background-image:url('../img/box_corner_tl.png');
    top:-1px; left: -1px;
}
.main .box_tr {
    background-image:url('../img/box_corner_tr.png');
    top:-1px; right: -1px;
}
.box_bl {
    background-image:url('../img/box_corner_bl.png');
    bottom:-1px; left: -1px;
}
.box_br {
    background-image:url('../img/box_corner_br.png');
    bottom:-1px; right: -1px;
}
.sidebar .box_tl {
    background-image:url('../img/box_corner_tl_sidebar.png');
    top:-1px; left: -1px;
}
.sidebar .box_tr {
    background-image:url('../img/box_corner_tr_sidebar.png');
    top:-1px; right: -1px;
}

.portal td {
    text-align: left;
    vertical-align: top;
}


.main h1 {
    font-size: 22px;
}

.main h2 {
    font-size: 13px;
    font-weight: bold;
}




/* events styles */

.month {
    position: relative;
    height: 26px;
}

.month div {
    position: absolute;
    top: 0;
    left: 0px;
    background: url(/media/img/arrow.jpg) no-repeat;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    width: 170px;
    height: 26px;
    padding: 4px 0 0px 30px;
}

.content {
    padding: 0 0 0 30px;
}

.content p.date {
    margin: 0;
    font-size: 10px;
}




/* media library */
div.image {
    border: 1px solid #ddd;
    padding: 5px 5px 0 5px;
}

div.image img {
    display: block;
    margin: 0 auto;
}

div.image-left {
    float: left;
    margin: 5px 10px 10px 0;
    display: inline;
}

div.image-right {
    float: right;
    margin: 5px 0 10px 10px;
    display: inline;
}

div.image-block {
    display: block;
    margin: 5px 10px 10px 0;
}

div.image span {
    font-size: 80%;
    text-align: right;
    display: block;
}

div.image span.caption {
    float: left;
}

div.image span.copyright {
    color: #666;
    padding: 0 1px 0 0;
}


/* safari css hack */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .navi a, .navi a:active, .navi a:visited {
        padding-bottom: 9px;
    }
}

