/*
 * Style tweaks
 * --------------------------------------------------

Gruen           #234f69
Gruen Schrift   #8BAE30
                #234f69

blaugrau dunkel #596169
blaugrau hell   #596069
 */

body {
    background-color: #eaebec;
    font-size: 16px !important;
}
.portal-header {
    background: white;
    box-shadow: 0px 5px 20px #666;
}

.portal-header.fixed {
    position: fixed;
    z-index: 10;
    top: 0;
    width: 100%;
    background: white;
    height: 60px;
}

#portal-logo img.small {
    height: 45px;
}

.portal-header.fixed #portal-logo img {
    height: 45px;
}

#mainnavigation {
    padding: 0 15px;
    float: right;
}
#mainnavigation #portal-globalnav-wrapper {
    background-color: transparent !important;
}

.navbar-default {
    background: transparent;
}
.navbar-default.fixed {
    position: fixed;
    top: 55px;
    z-index: 20;
    width: 100%;
}
.navbar li a {
    font-size: 13px;
}
.navbar-nav li.has_subtree a.nav-link {
    background-color: white;
}
.navbar-nav li label::after {
    font-size: 1.5em !important;
    background: 0 0;
    margin: 3px 0 -3px 0;
}

/* --- NEU --- */
#mainnavigation .navbar-barceloneta ul.navbar-nav > .has_subtree li {
    border-left: 15px solid white !important;
    background-color: white;
}
#mainnavigation .navbar-barceloneta ul.navbar-nav > .has_subtree li:hover {
    border-left: 15px solid #c00 !important;
  }
#mainnavigation .navbar-barceloneta ul.navbar-nav > .has_subtree li > a:hover {
    background-color: #697379;
}

/* # Navigation nur zwei ebenen #### */
.navbar-nav > li.has_subtree >ul >li >.opener + label::after {
    display: none;
}
#mainnavigation .navbar ul.navbar-nav > li.has_subtree.nav-item > ul.has_subtree.dropdown > li.has_subtree.nav-item > ul.has_subtree.dropdown {
    display: none;
}
/* # /Navigation nur zwei ebenen #### */

.nav-link {
    line-height: 1.4em;
}
.col {
    flex: none !important;
}
.container {
    max-width: 1400px;
}

.logo-wrapper {
    padding: 10px;
}

.extra-header {
    position: relative;
    float: right;
    width: 20%;
    min-width: 300px;
    right: 30px;
    
}
#portal-languageselector {
    margin-top: -14px !important;
    float: right;
    
}
#portal-searchbox {
    top: 18px;
    width: 69%;
    float: left;
}
#portal-searchbox .searchButton {
    display: none;
}
#portal-searchbox .search-result img {
    display: none;
}
.fa.fa-search.lupe {
    font-size: 1.3rem;
    position: relative;
    margin: 27px -20px 0 -19px;
}

.dropdown-menu {
    background-color: white;
}
.dropdown-menu > li > a {
    border-left: 15px solid white;
}

.scroller {
    width: 100%;
    height: 120px;
    text-align: center;
    font-size: 30px;
}
.scroller .scroll-down {
    width: 100px;
    margin: 15px auto 50px auto;
    cursor: pointer;
    color: #c0c3c6;
}

.scroller .scroll-up {
    width: 100px;
    margin: 15px auto;
    cursor: pointer;
}
.owl-wrapper {
    margin: 0 0px;
    font-size: 18px;
}

.owl-theme .item {
    cursor: col-resize;
    max-height: 600px;
}
.owl-theme .owl-nav.disabled + .owl-dots {
    margin: 15px auto;
  }
.owl-carousel .item .teaser {
    position: absolute;
    z-index: 10;
    height: 100%;
    opacity: 1;
    /*margin: 20% 0 0 50%;*/
    top: 65%;
    left: 5%;
    cursor: pointer;
}

.owl-carousel .item .teaser h1  {
    text-transform: none !important;
}

.h2, h2 {
    font-size: 2.75rem !important;
}
.site-news .news a .body h2.header {
    font-size: 2.75rem !important;
}

.fa.fa-chevron-down {
    margin-top: 15px; 
    color: rgb(195, 196, 197);    
}
.archivo {
    font-family: "Archivo Narrow" !important;
}

.owl-carousel .item .teaser h1 {
    text-shadow: 2px 2px #666;
    color: white !important;
    font-size: 46px;
    font-weight: normal;
}
.owl-carousel .item .teaser p {
    text-shadow: 2px 2px #666;
    color: white !important;
    white-space: pre;
}
.owl-carousel .item .teaser.dark h1 {
    color: #333 !important;
    text-shadow: 2px 2px #ccc;
}
.owl-carousel .item .teaser.dark p {
    color: #333 !important;
    text-shadow: 1px 1px #ccc;
}

/* Zoom Effekt Slider */
.zoom-animation {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    display: inline-block;
    vertical-align: top;
    border: 0px solid #fff;
    box-shadow: 0 0 0px #ddd;
    margin: 0em;
}
.zoom-animation img {
    -webkit-filter: brightness(0.9);
    filter: brightness(0.9);
}
.zoom-animation .animated img {
    -webkit-transform: scale3d(1.138, 1.138, 1);
    transform: scale3d(1.138, 1.138, 1);
}
.zoom-animation .active img {
    -webkit-animation: Zoomer 10000ms ease-out 200ms both;
    animation: Zoomer 10000ms ease-out 200ms both;
}
@-webkit-keyframes Zoomer {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    100% {
        -webkit-transform: scale3d(1.15, 1.15, 1);
        transform: scale3d(1.15, 1.15, 1);
    }
}
@keyframes Zoomer {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    100% {
        -webkit-transform: scale3d(1.15, 1.15, 1);
        transform: scale3d(1.15, 1.15, 1);
    }
}

section {
}
#page0 {
    background-color: #dcdedf;
}
#page1 {
    background-color: #ecedef;
}
#page2 {
    background-color: #dcdedf;
}
.offset {
    margin-top: 200px;
}

#area-wrapper {
    background-color: #9a9b9c;
}
article {
    margin: 80px 0 80px;
}
article h1 {
    margin:40px 0 20px 20px;
    text-transform: uppercase;
    color: #454545;
    font-size: 26px;
}
#aktuelles h1 {
    margin: 0 0 20px 0;
}

.colophon-wrapper {
    background-color: #596169;
}
.footer p, 
.footer div, 
.footer address,
.colophon {
    font-size: 13px;
    color: #dcdfe6;
}

/* --- tile --- */
.tiles {
    display: block;
    width: 100%;
    margin: 20px 0 40px 0;
}
.tile {
    cursor: pointer;
    margin-bottom: 30px;
    box-shadow: 0px 0px 20px #666;
}
.tile img:hover {
    opacity: 0.75;
}

/* --- BUTTONS --- */
#button-wrapper .button div {
    color: #ddd !important;

}

#button-wrapper .button .body {
    position: absolute;
    bottom: 0;
    margin: 13px;
    font-size: 31px;
}
#button-wrapper .button .body .header {
    font-size: 31px;
    font-weight: bold;
    line-height: 0.6em !important;
}
#button-wrapper .button .body .subheader {
    font-size: 29px;
}

/* --- news --- */
.site-news {
    display: block;
    width: 100%;
    margin: 20px 0 40px 0;
}
.site-news .news {
    margin: 20px 0 40px 0;
    height: 400px;
    background-size: contain;
    background-repeat: no-repeat;
}
.site-news .news a {
    display: block;
    color: white;
    padding: 30px;
}
.site-news .news a:hover {
    text-decoration: none;
}

.site-news .news a .body {
    padding: 20px 20px 20px 20px;
    min-width: 50%;
    max-width: 70%;
}

/* white is default */
.site-news .news a .body,
.site-news .news a .body .header {
    color: white !important;
    text-shadow: 1px 1px #333 !important;
}
.site-news .news a .body.dark,
.site-news .news a .body.dark .header {
    color: #333 !important;
    text-shadow: 1px 1px #fff !important;
}

.site-news .news a .body .date {
    font-size: 18px;
    line-height: 1em;
}
.site-news .news a .body .header {
    font-size: 24px;
    line-height: 1.2em;
    margin-top: 0;
}
.site-news .news a .body .subheader {
    font-size: 16px;
}
.site-news .news a .body .read {
    font-size: 16px;
    text-decoration: underline;
}
div.body.light div {
    color: white !important;
}
/* cards */
.panel {
    background-color: transparent;
    border: none;
    border-radius: none;
    box-shadow: none;
    width: 25%;
    float: left;
    margin: 0;
}
.panel-heading {
    padding: 15px;
    border: none;
}
.panel-heading .caption {
    position: absolute;
    margin: -35px 15px 0px 15px;
    color: white;
    text-shadow: 1px 1px #666;
    font-size: 18px;
}
.panel-heading .img-responsive {
    width: 100%;
    box-shadow: 0px 0px 10px #666;
}
.panel-heading img:hover {
    cursor: pointer;
    width: 100%;
    box-shadow: 0 0 15px white;
}
.panel-body {
    margin: 15px;
    border: none;
    display: none;
    position: absolute;
    background-color: white;
    opacity: 0.9;
    width: 10%;
    height: 0;
}
.panel-body .menu {
    padding: 0px;
}
.panel-body h4 {
    color: #454545;
    font-size: 16px;
    margin: 0 auto 10px;
}
.panel-body ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-right: 10px;
}
.panel-body ul li {
    font-size: 12px;
    padding: 2px 0;
    border-bottom: 1px solid #ddd;
}
.panel-body ul li a {
    text-decoration: none;
}
.panel-body ul li a:hover {
    text-decoration: none;
    color: #cc0000;
}
.panel-body a {
    color: #454545;
}

/* **********************************
    MOBILE ANPASSUNGEN
*********************************** */

#staging-marker {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: #ff0;
    text-align: center;
    color: white;
    z-index: 1000;
}

/* ===================== < 480  ============================*/
@media screen and (max-width: 479px) {
    #staging-marker {
        background-color: #c00;
    }
    .portal-header.fixed {
        position: relative;
        z-index: 10;
        top: unset;
        width: 100%;
        background: white;
        height: unset;
    }

    #ity-navigation {
        padding: 0 15px;
        float: left;
        width: 100%;
    }
    .navbar-nav > li > a {
        line-height: 1em;
    }

    .navbar-default.fixed {
        position: relative;
        top: unset;
        z-index: 20;
        width: 100%;
    }
    .navbar-nav .open .dropdown-menu {
        background-color: white;
    }

    .owl-carousel .item .teaser {
        margin: 0;
        top: 10%;
    }
    .owl-carousel .item .teaser h1 {
        font-size: 24px;
    }

    article {
        margin: 10px 0 10px;
    }

    .site-news .news {
        margin: 20px 0;
        background-size: 250%;
        height: 300px;
    }
    .site-news .news a {
        padding: 10px;
    }
    .site-news .news a .body {
        padding: 0;
        min-width: 100%;
        max-width: 100%;
    }
    .site-news .news a .body .date {
        font-size: 16px;
    }

    .site-news .news a .body .header {
        font-size: 20px;
        line-height: 1.2em;
        margin-top: 10px;
    }
    .site-news .news a .body .subheader {
        font-size: 13px;
        max-height: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/* ===================== /<480  ============================*/

/* ===================== 480-767  ============================*/
@media screen and (min-width: 480px) and (max-width: 767px) {
    #staging-marker {
        background-color: #c66;
    }

    .portal-header.fixed {
        position: relative;
        z-index: 10;
        top: unset;
        width: 100%;
        background: white;
        height: unset;
    }

    #ity-navigation {
        padding: 0 15px;
        float: left;
        width: 100%;
    }
    .navbar-nav > li > a {
        line-height: 1em;
    }

    .navbar-default.fixed {
        position: relative;
        top: unset;
        z-index: 20;
        width: 100%;
    }
    .navbar-nav .open .dropdown-menu {
        background-color: white;
    }

    .owl-carousel .item .teaser {
        margin: 0;
        top: 10%;
    }
    .owl-carousel .item .teaser h1 {
        font-size: 24px;
    }

    article {
        margin: 10px 0 10px;
    }

    .site-news .news {
        margin: 40px 0;
        background-size: 220%;
        height: 300px;
    }
    .site-news .news a {
        padding: 10px;
    }
    .site-news .news a .body {
        padding: 0;
        min-width: 100%;
        max-width: 100%;
    }
    .site-news .news a .body .date {
        font-size: 16px;
    }

    .site-news .news a .body .header {
        font-size: 20px;
        line-height: 1.2em;
        margin-top: 10px;
    }
    .site-news .news a .body .subheader {
        font-size: 13px;
        max-height: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/* ===================== /480-767  ============================*/

/* ===================== 768-1023  ============================*/
@media screen and (min-width: 768px) and (max-width: 1023px) {
    #staging-marker {
        background-color: #cc9;
        color: black;
    }
    .logo-wrapper {
        padding: 10px 10px 80px 10px;
    }
    .navbar-default {
        margin-top: -80px;
    }

    .owl-carousel .item .teaser {
        margin: 0;
        top: 40%;
    }
    .owl-carousel .item .teaser h1 {
        font-size: 28px;
    }
    .site-news .news {
        margin: 40px 0;
        background-size: 100%;
        height: 250px;
    }
    .site-news .news a {
        padding: 20px;
    }
    .site-news .news a .body {
        padding: 0;
        min-width: 100%;
        max-width: 100%;
    }
    .site-news .news a .body .date {
        font-size: 16px;
    }

    .site-news .news a .body .header {
        font-size: 20px;
        line-height: 1.2em;
        margin-top: 10px;
    }
    .site-news .news a .body .subheader {
        font-size: 13px;
        max-height: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/* ===================== /768-1023  ============================*/

/* ===================== 1024-1199  ============================*/
@media screen and (min-width: 1024px) and (max-width: 1199px) {
    #staging-marker {
        background-color: #cc0;
        color: black;
    }
}
/* ===================== /1024-1199  ============================*/

/* ===================== 1200  - 1919  ============================*/
@media screen and (min-width: 1200px) and (max-width: 1919px) {
    #staging-marker {
        background-color: #fc0;
        color: black;
    }
}
/* ===================== /1200 - 1919  ============================*/

/* ===================== >= 1920    ============================*/
@media screen and (min-width: 1920px) {
    #staging-marker {
        background-color: #ff0;
        color: black;
    }
}
/* ===================== />1920      ============================*/

/* --- NEU 2024 ------------------ */
@media (max-width: 992px) {
	.extra-header  {
        position: fixed;
        border-top: 1px solid #ccc;
        bottom: 0px;
        z-index: 1000;
        background: #eee;
        width: 100%;
        left: 0;
        margin: 0;
        padding: 15px 15px;
    }
	.extra-header 	#portal-searchbox {
        margin-top: 0;
        width: 55%;
    }
	.extra-header 	#portal-searchbox form#searchGadget_form input {
        background-color: white;
	}

    #portal-languageselector {
		margin-top: 0;
	}
	.livesearch-results {
		display: none;
	}

    #portal-breadcrumbs {
		height: 40px;
	}
	#portal-logo {
		max-width: 150px;
	}
	#portal-colophon-wrapper {
		#portal-colophon {
			padding: 10px 15px 80px 15px;
		}
	}
	#deco-wrapper {
		.deco-image {
			height: 200px;
		}
	}
}