/*
THEME NAME: GEOMAR
THEME URI: http://www.imk24.de
DESCRIPTION: Theme für die Website zur Ausstellung "Ozeanversauerung: Das andere Kohlendioxid-Problem"
VERSION: 1.0
AUTHOR: <a href="http://www.imk24.de/">Schröder & Wendt GmbH & Co. KG, Flintbek</a>
AUTHOR URI:
TAGS: 
*/

html {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    margin: 0;
    background-repeat: repeat-x;
    background-attachment: fixed;
    background-color: #e5f2f6;
}

a {
    text-decoration: none;
    color: #d52e39;
}

#content ul {
    list-style-image: url(./img/bullet.png);
}

#content ul li {
    margin-bottom: 10px;	
}

h1.entry-title,
h1.entry-title a {
    color: #d52e39;
    font-size: 16pt;
    font-weight: bold;
    padding-top: 90px;
}

h2 {
    color: #d52e39;
    font-size: 16pt;
    font-weight: bold;
}

body.category h1.entry-title,
body.tag h1.entry-title,
body.search h1.entry-title,
.image-table h1.entry-title,
body.page h1.entry-title {
    padding-top: 0;
}

section.entry-content {
    padding-right: 35px;
    box-sizing: border-box;
}

.small-inner-div {
    width: 1526px;
    margin: auto;
    max-width: 100%;
}

header#header {
    background-image: url(./img/bg-header.png);
    position: fixed;
    background-position: center top;
    width: 100%;
    background-repeat: no-repeat;
    height: 172px;
    text-align: center;
    color: #fff;
    z-index: 110;
}

article {
    padding-bottom: 50px;
}

div#lang_sel_click {
    left: 50%;
    width: 200px;
}

div#container {
    width: 100%;
    max-width: 1526px;
    margin: auto;
}

nav#menu {
    width: 270px;
    height: 100%;
    position: fixed;
    background: rgba(46,153,187, 0.85);
    z-index: 2000;
    left: 50%;
    margin-left: -763px;
}

section#content {
    display: inline-block;
    max-width: 1250px;
    padding-top: 190px;
    padding-bottom: 120px;
    margin-left: 290px;
}

img.wp-post-image {
    float: left;
    margin-right: 20px;
    margin-left: -20px;
	margin-bottom: 20px;
}



div.video-image img.wp-post-image {
    margin: 0 20px 20px 0;
    width: 800px;
    max-width: 100%;
    height: auto;
}

div.video-image {
    position: relative;
    text-align: center;
    display: inline-block;
    float: left;
}

div.video-image a {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    background: url(./img/youtube-play.png) center center no-repeat;
    height: 100%;
}

section.video h1.entry-title, 
section.video h1.entry-title a {
    padding-top: 0;
}

footer#footer {
    height: 120px;
    display: block;
    width: 100%;
    background-image: url(./img/footer-shadow.png);
    background-repeat: repeat-x;
    background-position: top left;
    position: fixed;
    bottom: 0;
    padding-top: 35px;
    box-sizing: border-box;
    z-index: 100;
}

div#left-footer {
    margin-left: 305px;
    display: inline-block;
}

div#left-footer a {
    margin-right: 40px;
}

div#right-footer {
    display: inline-block;
    float: right;
    margin-top: 15px;
    margin-right: 40px;
}

div#law,
div#social {
    display: inline-block;
    line-height: 12px;
    vertical-align: top;
}

div#social a {
    width: 36px;
    height: 36px;
    display: inline-block;
    background-repeat: no-repeat;
}

div#law a {
    font-weight: bold;
    font-size: 11px;
    color: #005377;
}

a.twitter {
    background-image: url(./img/twitter.png);
    margin-right: 25px;
}

a.facebook {
    background-image: url(./img/facebook.png);
    margin-right: 20px;
}

a.youtube {
    background-image: url(./img/youtube.png);
    margin-right: 20px;
    width: 77px !important;
}

table.image-table {
    margin-top: -90px;
    margin-left: -3px;
}

table.image-table td {
    vertical-align: top;
}

.image-table h1.entry-title {
    margin-top: 90px;
    font-size: 16pt;
}

span.photo-number {
    color: #005377;
}

.image-table a {
    color: #d52e39;
} 

nav#nav-below-foto div,
nav#nav-below-video div {
    display: inline-block;
    line-height: 11px;
}
    
nav#nav-below-foto div a,
nav#nav-below-video div a {
    display: block;
    padding-left: 37px;
    background-repeat: no-repeat;
    height: 30px;
    margin-right: 10px;
    padding-top: 2px;
}

nav#nav-below-foto div.nav-previous a,
nav#nav-below-video div.nav-previous a {
    background-image: url(./img/prev.png);
}

nav#nav-below-foto div.nav-next a,
nav#nav-below-video div.nav-next a {
    background-image: url(./img/next.png);
}

nav#nav-below-foto div.nav-all a,
nav#nav-below-video div.nav-all a {
    background-image: url(./img/all.png);
}

nav#nav-below-foto a,
nav#nav-below-video a {
    color: #005377;
    font-size: 11px;
    font-weight: bold;
}

p#top-headline {
    font-size: 24pt;
    text-align: left;
    left: 50%;
    position: relative;
    margin-left: -350px;
    margin-top: 25px;
}

p#top-headline a {
    color: #fff;
}

#lang-selector ul li {
    display: inline-block;
    margin-right: 10px;
}

div#lang-selector {
    position: absolute;
    top: 20px;
    left: 50%;
    margin-left: 355px;
}

div#lang-selector img {
    width: 42px;
    height: 26px;
}

nav#menu {
    padding: 0 20px;
    box-sizing: border-box;
}

nav#menu li {
    border-bottom: 1px solid rgba(255,255,255,0.7);
    padding: 5px 0;
}

nav#menu li ul {
    list-style: none;
    padding-left: 20px;
}

nav#menu ul.sub-menu {
    display: none;
}

nav#menu li.current-menu-item ul.sub-menu,
nav#menu li.current-menu-parent ul.sub-menu {
    display: block;
}

nav#menu li ul li a {
    font-size: 11pt;
}

nav#menu li ul li {
    border-bottom: none;
    padding: 5px 0;
}

nav#menu a {
    font-size: 12pt;
    font-weight: bold;
    color: #fff;
}

ul.menu > li > a {
    text-transform: uppercase;
}

nav#menu li.current-menu-item > a {
    color: #002b46;
}

ul#menu-hauptnavigation,
ul#menu-main-navigation {
    margin-top: 110px;
    list-style: none;
    padding: 0;
}

div.img-teaser {
    display: inline-block;
    margin: 10px 10px 6px 10px;
    width: 180px;
    height: 135px;
    position: relative;
}

div.img-teaser a {
    display: block;
    height: 100%;
    width: 100%;
    z-index: 100;
    position: absolute;
    text-align: center;
    line-height: 135px;
    font-size: 48pt;
    font-weight: bold;
    color: transparent;
    top: 0;
    left: 0;
}

div.img-teaser a:hover {
    background-color: rgba(46,153,187, 0.7);
    color: #fff;
}

div.img-teaser.video-teaser a {
    font-size: 1.5vh;
    line-height: 120%;
    padding-top: 25%;
    box-sizing: border-box;
}

div#img-list {
    margin-left: 5px;
}

section.photo-list h1.entry-title {
    margin-left: 15px;
}

div#img-list img.wp-post-image {
    margin-left: 0;
    float: left;
}

div.big-image {
    margin-top: -100px;
}

body.parent-mitgliedsinstitutionen div#container,
body.parent-bioacid-members div#container,
body.parent-die-bioacid-mitgliedinstitutionen div#container,
body.page-id-421 div#container {
    background-color: #c5dae7;
}

ul.institutionen {
    list-style: none;
    padding: 0;
}

ul.institutionen li {
    display: inline-block;
    width: 387px;
    background: #fff;
    margin-right: 10px;
    margin-bottom: 10px;
    height: 97px;
    text-align: center;
    padding-top: 14px;
    box-sizing: border-box;
    position: relative;
	background-image: none !important;
	padding-left: 0 !important;
}

ul.institutionen li a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-indent: -20000px;
    color: transparent;
}

ul.institutionen li a:hover {
     background-color: rgba(46,153,187, 0.7);
}

body.home {
    background-image: none;
    
    overflow: hidden;
}

body.home div#container {
    max-width: 100%;
}

body.home .wds_slideshow_dots_thumbnails_0 {
    display: none;
}

body.home footer#footer {
    margin-top: -20px;
}

body.home div#abschluss {
    background-color: #007fa7;
    height: 1000px;
    background-image: url(./img/abschluss.png);
    background-repeat: repeat-x;
    z-index: 2000;
    position: relative;
}

div#mobile-header {
    display: none;
}

div#switch-off-div {
    display: none;
}

div#mobile-home {
    display: none;
}

form#jumper {
    margin: 10px 15px;
}

form#jumper input {
    color: #889ca8;
    border: 1px solid #889ca8;
    font-size: 14pt;
    padding: 5px;
}

form#searchform label.screen-reader-text,
form#sidr-id-searchform label.sidr-class-screen-reader-text {
   display: none;
}

form#searchform input#s,
form#sidr-id-searchform input#sidr-id-s{
    width: 100%;
    font-size: 12pt;
    padding: 5px;
    box-sizing: border-box;
    color: white;
    background: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
}

form#searchform input#searchsubmit,
form#sidr-id-searchform input#sidr-id-searchsubmit {
    width: 100%;
    background: rgba(0,83,119,0.5);
    border: 0;
    padding: 5px;
    margin-top: 3px;
    border-radius: 4px;
}

.sidr ul.sidr-class-sub-menu {
    display: none;
}

.sidr li.sidr-class-current-menu-item ul.sidr-class-sub-menu,
.sidr li.sidr-class-current-menu-ancestor ul.sidr-class-sub-menu {
    display: block;
}

div#post-all-photos {
    background-color: #adcbdd;
}

div#post-all-themes {
    background-color: #adcbdd;
}

div#post-all-photos a,
div#post-all-themes a {
    color: white;
    font-size: 3vh;
}


/* News Teaser Seite */

#content.news-category {
  /* width: 100%; */
}
#content.news-category .news-teaser {
    margin-top: 40px;
    min-height: 145px;
}
#content.news-category img.wp-post-image,
#content .news-teaser img.wp-post-image {
  margin-left: 0;
}
#content.news-category .wp-post-image + .post-wrap {
  margin-left: 200px;
}
#content.news-category .post-title,
#content .news-teaser .post-title {
  font-weight: bold;
}
#content.news-category .post-date {
  font-weight: normal;
}

#content.news-category .post-date a {
  color: #000;
}

#content.news-category .post-excerpt p {
  margin: 0;
}
.custom-news .wp-post-image {
  margin-left: 0;
  max-width: 400px;
  height: auto;
}
.custom-news header h2 {
  margin-bottom: 0;
  margin-top: 0;
}
.custom-news header h3 {
  margin-top: 0;
  color: #d52e39;
  font-weight: 400;
}

.custom-news .datum {
    margin-top: 20px;
}

/* Downloads Seite */
#content.downloads-category {
  /* width: 100%; */
}
#content.downloads-category .downloads-teaser {
  margin-top: 50px;
  min-height: 135px;
}
#content.downloads-category img.wp-post-image {
  margin-left: 0;
  max-height: 135px;
  width: auto;
  margin-right: 20px;
}
#content.downloads-category .wp-post-image + .post-wrap {
  margin-left: 200px;
}
#content.downloads-category .post-date, #content.downloads-category .post-title {
  font-weight: bold;
}

#content.downloads-category .post-excerpt p {
  margin: 0;
}

/* Einbindung Pangea-Suche */

body.parent-pangea-suche,
body.parent-pangea-suche div#wrapper,
body.parent-pangea-suche div#container,
body.parent-pangea-suche article,
body.parent-pangea-suche section.entry-content,
body.parent-pangea-suche .content-text,
body.parent-pangea-suche p,
body.parent-publikationen,
body.parent-publikationen div#wrapper,
body.parent-publikationen div#container,
body.parent-publikationen article,
body.parent-publikationen section.entry-content,
body.parent-publikationen .content-text,
body.parent-publikationen p,
body.parent-publications div#wrapper,
body.parent-publications,
body.parent-publications div#container,
body.parent-publications article,
body.parent-publications section.entry-content,
body.parent-publications .content-text,
body.parent-publications p {
    height: 100%
}

body.parent-pangea-suche section#content,
body.parent-publikationen section#content,
body.parent-publications section#content {
    width: calc(100% - 290px);
    box-sizing: border-box;
    height: 100%;
}

iframe.pangea,
iframe.publikationen {
    width: 100%;
    height: calc(100% - 85px);
    border: none;
}

section.pub h2 {
	font-size: 14pt;
	padding-top: 185px;
}

/* Einbindung Pangea-Suche ENDE */

@media (max-width: 1540px) {
    
    nav#menu {
       left: 0;
        margin-left: 0;
    }
    
    header#header {
        background-position: left top;
    }   

    p#top-headline {
        left: 300px;
        margin-left: 0;
        margin-top: 15px;
        font-size: 20pt;
    }
    
    div#lang-selector {
        right: 10px;
        left: initial;
        top: 0px;
    }
    
    div.big-image {
        margin-top: -120px;
    }
    
}

@media (max-width: 1370px) {

    td.big-image {
        display: block !important;
        width: 100%;
        margin-left: -20px;
    }
    
    td.big-image-text {
        display: block;
        padding: 0 20px;
        margin-top: 15px;
    }
    
    table.image-table {
        border: 0;
        border-collapse: collapse;
    }

    .image-table h1.entry-title {
        margin-top: 0;
    }
    
    .image-table section.entry-content {
        padding: 0;
    }
    
        img.wp-post-image {
        float: none;
        margin-right: 0;
        margin-left: 0;
        max-width: 100%;
        height: auto;
    }

    ul#menu-hauptnavigation, ul#menu-main-navigation {
        margin-top: 75px;
    }
    
    div.big-image {
        margin-left: -20px;
    }
    

    #content.news-category img.wp-post-image {
      float: left;
    }
    #content.downloads-category img.wp-post-image {
      float: left;
    }
}    
    
    

@media (max-width: 1024px) {
    
    div#left-footer a {
        margin-right: 5px;
    }
    
    div#social a {
        margin-right: 5px;
    }
    
    div#right-footer {
        display: inline-block;
        float: right;
        margin-top: 15px;
        margin-right: 20px;
    }
    
    header#header {
        background-image: url(./img/bg-header-mobil.png);
        background-position: left top;
    }
    
    span.no-mobile {
        display: none;
    }
    
    div.big-image {
        margin-top: -70px;
    }
    
    h1.entry-title, h1.entry-title a {
        padding-top: 0;
    }   
    
    section#content {
        padding-top: 90px;
    }
	
	section.pub h2 {
		padding-top: 90px;
	}
}

    
@media (max-width: 865px) {
    
    body.home {
        overflow-y: scroll;
        overflow-x: hidden;
    }
    
    nav#menu {
        display: none;
    }
    
    section#content {
        display: block;
        max-width: 100%;
        margin-left: 0;
        padding-top: 70px;
    }
    
    header#header {
        height: 75px;
        background-image: url(./img/bg-header-mobil.png);
        background-position: center top;
    }
    
    p#top-headline {
        font-size: 5vmin;
        text-align: center;
        margin-left: 0;
        left: 0;
        margin-top: 20px;
    }
    
    div.big-image {
        margin-top: -40px;
    }
    
    .small-inner-div {
        width: 100%;
    }
 
    div#left-footer {
        margin-left: 20px;
    }
    
    section.entry-content img {
        max-width: 100%;
        height: auto;
    }
    
    td.big-image {
        margin-left: 0;
    }

    nav#nav-below-foto div a {
        height: 25px;
        font-size: 10px;
        background-size: contain;
    }    
    
    div#left-footer {
        width: calc(60% - 22px);
        margin-left: 10px;
        display: inline-block;
        float: none;
    }
    
    div#right-footer {
        width: calc(40% - 23px);
        display: inline-block;
        float: right;
        margin-right: 10px;
    }

    div#left-footer a {
        margin-right: 5px;
        width: 28%;
        max-width: 119px;
        background-size: contain;
        display: inline-block;
        vertical-align: top;
    }

    div#left-footer a img {
        max-width: 100%;
        height: auto;
    }
    
    div#right-footer {
        width: 40%;
        margin-top: 0;
        text-align: right;
    }
    
    div#social a {
        margin-right: 0;
    }
    
    footer#footer {
        height: auto;
    }
    
    .no-mobile {
        display: none;
    }

    div#mobile-header {
        display: block;
        position: absolute;
        left: 20px;
        top: 20px;
        z-index: 100;
    }
    
    div#switch-off-div {
        display: block;
    }
    
    a#responsive-menu-button {
        width: 27px;
        height: 23px;
        display: block;
        background-image: url(./img/menu.png);
        text-indent: -10000px;
    }
    
    div#sidr-main.sidr {
        background: rgba(0,127,167,0.7);
        width: 300px;
        box-shadow: none;
        padding-top: 45px;
    }
    
    div#sidr-main.sidr.left {
        left: -300px;
    }

    div#sidr-main.sidr ul li a, .sidr ul li span {
        color: #fff !important;
        font-size: 13pt;
        font-weight: bold;
        margin: 0;
        line-height: 24px;
        padding: 10px 0px;
    }
    
    ul.sidr-class-sub-menu li {
        border: 0 !important;
    }
    
    div#sidr-main.sidr ul.sidr-class-menu > li > a {
        text-transform: uppercase;
    }
    
    div#sidr-main.sidr ul > li {
        border: 0;
        border-bottom: 1px solid #fff;
        margin: 0 10px;
    }   
    
    div#sidr-main.sidr ul {
        border: 0;
    }
    
    .sidr ul li:hover>a, .sidr ul li:hover>span, .sidr ul li.active>a, .sidr ul li.active>span, .sidr ul li.sidr-class-active>a, .sidr ul li.sidr-class-active>span {
        box-shadow: none !important;
    }

    a#sidr-id-switch-off {
        width: 27px;
        height: 27px;
        display: block;
        position: absolute;
        left: 20px;
        top: 20px;
        background: url(./img/close.png);
        background-size: cover;
        text-indent: -10000px;
    }


    div#lang-selector {
        left: initial;
        margin-left: 0;
        position: absolute;
        right: 0;
        top: 0;
    }
    
    div#lang-selector img {
        width: 30px;
        height: auto;
    }
    
    #lang-selector ul li {
        display: block;
        margin-top: -3px;
    }
    
    div.img-teaser {
        width: 21%;
    }
    
    section.entry-content {
        padding: 0;
    }

    table.image-table {
        margin-top: -40px;
    }
    
    h1.entry-title, h1.entry-title a {
        padding-top: 0px;
    }
    
    .content-text {
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    article {
        padding-bottom: 0px;
    }
    
    ul.institutionen li {
        max-width: calc(50% - 23px);
        margin: 10px;
    }
    
    header.header {
        margin-left: 10px;
    }
    
    div#mobile-home {
        display: block;
        padding-top: 33px;
        padding-bottom: 70px;
    }
    
    div#mobile-home-text {
        padding: 20px 20px 40px 20px;
    }

    div#slider {
        display: none;
    }
    
    .wds_slideshow_dots_container_1 {
        display: none !important;
    }
    
    #mobile-home ul {
        list-style: none;
        margin: 20px;
        padding: 0;
    }
    
    #mobile-home li {
        margin-bottom: 20px;
        background: #adcbdd;
        height: 100px;
    }
    
    div.wp-caption {
        height: 100%;
        position: relative;
    }
    
    div.wp-caption a {
        color: #fff;
    }
    
    p.wp-caption-text {
        position: absolute;
        left: 150px;
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        top: 50%;
        width: 100%;
        margin: 0;
        transform: translateY(-50%);
    }
    
    #mobile-home li img {
        height: 100%;
        width: auto;
    }
    
    div#abschluss {
        height: 20px !important;
        overflow: hidden;
    }
    
    nav#nav-below-video {
        margin-left: 20px;
    }
       
    #content.downloads-category .downloads-teaser {
      margin-left: 10px;
    }
    #content.news-category .news-teaser {
      margin-left: 10px;
    }
    
    /* Einbindung Pangea-Suche */
    body.parent-pangea-suche section#content,
    body.parent-publikationen section#content,
    body.parent-publications section#content {
        width: 100%;
    }
    
    body.parent-pangea-suche .content-text,
    body.parent-publikationen .content-text,
    body.parent-publications .content-text {
        padding: 0 10px;
    }
    
    iframe.pangea {
        height: calc(100% - 30px);
    }
    /* Einbindung Pangea-Suche ENDE */
    

	section.pub {
		padding: 15px;
	}
}

@media (max-width: 500px) {
    
    div.img-teaser {
        width: 42%;
    }
    
    div.big-image {
        margin-top: -10px;
    }

    ul.institutionen li {
        max-width: calc(100% - 20px);
        margin: 10px;
    }
    
    table.image-table {
        margin-top: -10px;
    }
    
    td.big-image {
        margin-top: 0px;
    }
    
    div#social a {
        width: 24px;
        height: 24px;
        background-size: contain;
    }
    
    div#right-footer {
        width: 42%;
    }
    
    div#left-footer {
        width: calc(55% - 22px);
    }
    div#law a {
        margin-right: 10px;
    }
    
    div#law br {
        display: none;
    }
    div#law {
        margin-top: 2px;
    }
    
    body.home footer#footer {
        padding-bottom: 5px;
    }
    
    p.wp-caption-text {
        font-size: 12px;
    }

    #content.news-category img.wp-post-image {
      float: none;
    }
    #content.downloads-category img.wp-post-image {
      float: none;
    }

    #content.news-category .wp-post-image + .post-wrap {
      margin-left: 0;
    }
    #content.downloads-category .wp-post-image + .post-wrap {
      margin-left: 0;
    }
}
