/*------------------------------------------------------------------------
# # # # # # # # # # # # #
# smart web  overrides  #
# # # # # # # # # # # # #
-------------------------------------------------------------------------*/


body, * {
    font-family:'Merriweather', serif;
}

/******* Logo *******/

.sparky_logo_image {
    margin:30px 0px 12px;
}

.logorow {
    background:#004a91;
}

/******* Top Menu *******/

.topmenurow form {
    margin:0;
}

.topmenurow .mp_topmenu .cell_pad {
    height: auto;
}

.topmenurow .mnu_mainmenu > li {
    border-bottom: 0 none transparent;
    border-top: 0 none transparent;
}

.topmenurow .mnu_mainmenu > li > a, .mnu_mainmenu > li > span {
    padding: 15px 25px;
    height: auto;
    border: 0 none transparent;
    border-radius: 0;
    border-image-width:0;
}

strong a {
    font-weight: bold;
}


/******* Finder *******/

input#mod-finder-searchword {
    margin:5px 0;
    padding-right: 5%;
    padding-left: 5%;
    width:90%;
    margin-bottom: 0px;
}


/******* Breadcrumbs *******/

.breadcrumbsrow {
    padding:2em 0 3em;
}

.breadcrumbs {
    border-top:1px solid #ddd;
    border-bottom:1px solid #ddd;
    padding:0.5em 0;
}



/******* Content Elements *******/

.item-page {
    min-height:500px;
}

.content_sparky h3 {
    margin: 2em 0px 0.5em;
    padding: 0px;
}

h1 {
    color:#004a91;
}

ul, ol {
    margin-bottom: 30px!important;
}

ul + p > a > img, ul + p > img {
    margin-top:10px;
}


/******* Blog View *******/

/* Standard */

.blog .item-image {
    width: 25%;
    margin-top:0.2em;
    max-height: 160px;
    overflow: hidden;
    vertical-align:middle;
    margin: 0px 20px 18px 0px;
    float: left;
}

.blog .pn_intro {
    margin-left: 28%;
}

.blog .item-image img, .blog .newsflash img {
    border-radius: 2px;
}

.blog .pn_noimg {
    background:#bff2ff;
    max-height:200px;
    text-align:center;
    overflow:hidden;
}

.blog .pn_noimg span {
    display:block;
    color:#fff;
    font-weight:bold;
    padding:50px 0;
    min-height:20px;
}

.blog dl.article-info dd.published {
    min-width: 70px;
}

@media (max-width: 767px) {
    .blog .pn_blogimage.pull-left {
        width: 100%;
        padding-top:0;
    }
    
    .blog .pn_intro {
        margin-left: 0;
    }
}

.blog div.item-separator {
    border-bottom: 1px solid #DDD;
    margin: 45px 0px 25px;
    clear: both;
}

/* Leading (big picture) */

.blog .items-leading .item-image {
    
    width: 100%;
    margin-top:0;
    max-height: none;
    margin: 0 0 2em;
    float: none;
}

.blog .pn_intro {
    margin-left: 0;
}


/* Subcategories (below blog items) */

.cat-children {
    float:left;
    clear:both;
    margin-bottom:50px;
}

.cat-children h3 {
    font-size:1.4em;
    margin-top:5px;
}

.cat-children div {
    float:left;
    margin-left:1em;
}

.cat-children div.first {
    margin-left:0;
}

.cat-children div h3 {
    font-size:1em;
    margin-top:5px;
}


/******* Actions *******/

ul.actions {
    float: right;
    list-style: none;
    display:none;
}


/******* Unpublished Articles *******/

.system-unpublished h2, .system-unpublished h2 a {
    color:#999;
}

.system-unpublished h2:after {
    content:" [unpublished]";
}


/******* Responsive Images *******/

.content_sparky figure {
    margin: 0 0 1.5em;
    padding: 0;
}

.content_sparky figure figcaption, .content_sparky figure figcaption a {
    margin: 0;
    padding: 0.5em 0;
    font-size:0.9em;
    letter-spacing: 0.1em;
    font-family: arial, sans-serif;
}

figure figcaption a:link, figure figcaption a:hover, figure figcaption a:visited { /* content page */
    color:#000;
}

figure figcaption .mfp-title a:link, figure figcaption .mfp-title a:hover, figure figcaption .mfp-title a:visited { /* popup */
    color:#aaa;
}

.gallery-thumb {
    width:32%;
    margin-right:1%;
    margin-bottom:1%;
}

.responsive-image {
    width:100%;
}




/******* Breaking News *******/

div.abovecontent {
    margin:0;
    padding:10px 0 0!important;
}

.breakingnews h2:first-of-type {
    margin-top:0;
    color:#002480;
    font-size:28px;
    font-family:'Merriweather', serif;
    text-align:left;
    font-weight: bold;
    text-transform: uppercase;
    max-width:75%;
}

.breakingnews .breakingnews-stamp {
    float: right;
    width:20%;
    position:relative;
    top: -1.5em;
}

.breakingnews .pn_intro {
    line-height: 20px;
    padding-bottom:20px;
}

ul.breakingnews {
    margin-bottom:40px;
    border-bottom: 1px solid #002480;
}



/* Output über Artikel */

div.item-page ul.tags {
    display: block;
    margin:0;
    margin-bottom: 1.8rem !important;
}

div.item-page ul.tags::after {
    display:block;
    content: '';
    clear:both;
}

div.item-page ul.tags li {
    float:left;
    list-style: none;
    margin: 0 0 0.2rem 0;
}

udiv.item-page l.tags li:last-child {
    float:none;
}

div.item-page ul.tags li a.label {
    padding: 0.2rem .4rem;
    border-radius: 0;
    margin-right: 5px;
    font-size: 10.998px;
    font-weight: normal;
    line-height: 14px;
    color: #FFF;
    background: #004990;
    vertical-align: baseline;
    white-space: nowrap;
    text-shadow: none;
    font-family: arial, helvetica, sans-serif;
    letter-spacing: 0.05em;
}


div.item-page dl.article-info * {
    font-size: 12px;
    line-height: 15px;
    color:  #888 !important;
    font-weight: normal;
    font-family: arial, sans-serif;
}
div.item-page dl.article-info dd.category-name {

}
div.item-page dl.article-info dd.published {
    float: none!important;
}


/******* Right Cloumn *******/

.mp_right .moduletable {
    margin-top:4em;
    margin-left:2em;
}

.mp_right .moduletable p:first-child {
    font-weight:bold;
    font-size: 1.1em;
}

.mp_right .moduletable:first-child {
    margin-top:0;
}

.mp_right ul {
    margin:0;
}

.mp_right li {
    list-style: none;
    margin-bottom:1em;
}


ul.latestnews {
    
}


/******* Tags *******/
.tag-category h3 {
    margin:0;
    font-size:1em;
    text-transform: none;
}

.tag-category h3 a {
    text-transform: none;
}


/******* Banner *******/

.banneritem {
    margin-bottom:2em;
}


/******* PN DE *******/

.logorow .mp_user1 .cell_pad {
    margin-top: 38px;
}

.logorow .mp_user1 .togermanwebsite, .logorow .mp_user1 .flag {
    float:right;
}


/******* Footer *******/

.footerrow .mp_footer .copyright {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 14px;
}

.footerrow {
    padding: 0 0 20px!important;
}

.footerrow ul.menu {
    margin: 0;
}

.footerrow ul.menu li {
    font-size: 13px;
    list-style: none;
    float: left;
    margin-left: 0;
}

.footerrow ul.menu li:not(:first-of-type) {
    margin-left: 20px;
}



/******* pagenav *******/
.pagination, .pagenav {
    text-align: left;
}

.pagenav ul {
    display: inline-block;
    *display: inline;
    /* IE7 inline-block hack */
    list-style-type: none;
    margin-left: 0;
    margin-bottom: 0;
}

.pagenav li {
    display: inline;
    margin: 0px;
    padding: 0;
}

.pagenav a,span.pagenav {
    padding: 0px 8px;
    margin: 0;
    line-height: 1.9em;
    text-decoration: none;
    border: 1px solid #ddd;
    display: inline-block;
    line-height: 1.9em;
}

.pagenav li:first-child a,.pagination-start span {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.pagenav li:last-child a,.pagination-end span {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.pagination ul {
    margin: 10px 10px 10px 0;
    padding: 0
}

.pagination li {
    display: inline;
}

.pagination a {
    padding: 0px 8px;
    line-height: 2em;
    text-decoration: none;
    border: 1px solid #ddd;
    display: inline-block;
}

.pagination .active a {
    cursor: default;
}

.pagination span,.pagination span  a:hover {
    cursor: default;
    padding: 0 8px;
    line-height: 2em;
}

.pagination li:first-child a {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.pagination li:last-child a {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}




/******* Formulare *******/
.bfFormDiv select {
    padding:0;
}

.bfFormDiv textarea {
    padding:8px;
}

.bfFormDiv fieldset {
    margin-top: 2.5em;
}


/**** Kontakt ****/
#bfElemWrap192, #bfElemWrap193 {
    margin-top: 2.5em;
}

/* Newsletter */

#acymodifyform fieldset {
    margin-top: 2rem;
}

#acymodifyform div.inputVal {
    width: 50%;
}

#acymodifyform div.inputVal input {
        height: 40px;
        min-width: 100%;
}

#acymodifyform select {
        height: 40px;
        min-width: 60%;
}

/* system-message */

#system-message .alert-heading {
    margin-bottom: .5rem;
}

#system-message .alert-message {
    line-height: 1.5rem;
}

/* facebook button top */

.moduletable.fb-button {
    position: absolute;
    top: 10px;
    right: 10px;
    max-width: 2rem;
}

.moduletable.fb-button img {
    max-width: 100%;
}


.mobileonly {
    display:none;
}

@media (max-width: 767px) {
    .blog .item-image {
        width: 100%;
        max-height: 400px;
        float: none;
    }

    .mp_right .moduletable {
        margin-top:4em;
        margin-left:0;
    }
    
    .mp_topmenu .mp_search {
        display:none;
    }

    .mobileonly {
        display:inherit;
    }
}

@media (min-width: 767px) and (max-width: 980px) {
    .blog .item-image {
        width: 30%;
    }
}

/******* Search *******/

.search-results h4 {
    margin-top:1em;
}

/******* Cookie Box *******/

div.cc-window, div.cc-window a {
    font-size: 0.9em;
    line-height: 1.3em;
}