/* set base values */
:root{
    --green: #a8c200!important;
    --border-green: #94ab1c!important;
    --dark-blue: #1d2933!important;
    --light-blue: #178c95!important;
    --light-gray: #d2d2d2!important;
    --dark-gray: #929292!important;
    --max-width: 968px;
    --max-width-tab: 150px;
    --min-heigth: 430px;
    --footer-space: 22px;
    --base-color: #1c2931!important;
    --menu-color: #1d2933;
}

html, body{
    font-family: Source Sans Pro!important;
    color: var(--base-color);
    /*overflow-y: auto;*/
    /*overflow-x: hidden;*/
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    height: 100%;
    max-width: 100%;
}

/* header with navigation*/
header h1 {
    background: transparent url("../assets/img/interface_sprites.png") no-repeat -2px 0;
    width: 222px;
    height: 50px;
    float: left;
    margin: 9px 0 0 0;
    overflow: hidden;
}

[data-cookiemon-privacybutton] { position:absolute; right:0; top:0; background-color:#fff; }

.cookiemon-setting input{
    min-height: auto;
    min-width: auto;
    transform: none!important;
}

/* page head with title image */
#pagehead {
    margin: 0;
    margin-top: -25px;
    position: relative;
}

header .subnavigation {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-bottom: solid 12px var(--dark-blue);
    box-shadow: 0 3px 7px var(--dark-blue);
    height: 0;
}

.green {
    color: var(--green);
}
/* bigger menu */
/*nav {*/
    /*max-width: calc(var(--max-width) - 254px);*/
    /*margin: 32px 0 0 0;*/
    /*height: 50px;*/
/*}*/

/*nav li a {*/
    /*color: #1d2933;*/
    /*text-decoration: none;*/
    /*padding: 3px 8px 3px 8px;*/
    /*display: inline-block;*/
    /*height: 26px;*/
/*}*/

/*.nav-list {*/
    /*display: none;*/
    /*position: absolute;*/
    /*top: 32px;*/
    /*left: 0;*/
    /*background-color: var(--dark-blue);*/
    /*width: -moz-max-content;*/
    /*text-align: left;*/
    /*z-index: 1;*/
/*}*/


nav {
    width: calc(100% - 235px);
}

.nav_li_a {
    display: block!important;
    color:white;
}

.nav-list {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    background-color: var(--dark-blue);
    width: -moz-max-content;
    text-align: left;
    z-index: 1;
    min-width: 200px;
}

nav a:hover {
    /*font-weight: bold;*/
    /*background-color: var(--menu-color);*/
}

.nav_li_a:hover {
background-color: var(--green);
color:white;
font-weight: bold;
}

.nav_main:hover {
    text-shadow: 0 0 .65px var(--green), 0 0 .65px var(--green);
}

.nav-lang-list {
display: none;
position: absolute;
top: 28px;
right: 0;
background-color: #1d2933;
z-index: 1000;
text-align: left;
}

.nav-lang-selected {
padding: 4px 12px 4px 12px;
}

.nav-active {
background-color: var(--menu-color);
}

.content-area {
max-width: calc(var(--max-width) - 40px);
margin: auto;
line-height: 1.5;
width: calc(100% - 40px);
margin-bottom: 50px;
padding: 10px 20px;
}

.content-area img
{
    max-width: 100%!important;
}

/* page content */
h1 {
    color: var(--green);
    text-transform: uppercase;
    font-size: 1.3em;
}

h2 {
    color: var(--dark-blue);
    font-weight: bold;
    font-size: 1.1em;
    text-transform: uppercase;
}

.content-image {
    max-width: var(--max-width);
    margin: auto;
    width: 100%;
}

.section-tabs {
    width: 100%;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: inset 0 9px 0px 0px white,
                inset 0 -9px 0px 0px white,
                inset 12px 0 15px -3px #fff,
                inset -12px 0 15px -3px #fff;
}

.section-tabs-nav, .section-tab-nav-items {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    margin-bottom: -1.5px;
}

.section-tab-nav-item {
    display: inline-block;
    text-transform: uppercase;
    padding: 10px 0px;
    margin: 0px 5px;
    color:#000;
}

.section-tab-nav-item > a
{
    text-decoration: none;
    color: #000;
}

.section-tab-nav-item_active {
    color: var(--green)!important;
    /*border-bottom: solid 2px var(--border-green);*/
}

.section-tab-nav-item_active > a
{
    text-decoration: none;
    color: var(--green);
}

.section-tab-nav-underline {
    border: 2px solid var(--border-green);
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    height: 0px;
    width: 70px;
    position: relative;
    transition: margin-left 500ms, width 500ms;
}

/* style the news posts */
.post {
    clear: both;
    padding: 20px 0;
    border-bottom: solid 1px #d1d1d1;
    border-image: url("../assets/img/post_seperator.png") 1 round;
    /*margin-bottom: 10px;*/
    width: 100%;
    /*height: 100px;*/
    animation: FADEIN 0.5s linear backwards;
}

@keyframes FADEIN {
    0% {opacity:0;transform:translateY(10%);}
    100% {opacity: 1;transform: translateY(0);}
}

.post.first {
    border-top: solid 1px #d1d1d1;
}
.post-first:not(.post-not-found)
{
    animation: FADEIN 0.5s ease;
}

#news-area :first-child.post-content-year
{
    border-bottom: none!important;
}



.post-content-year
{
    width: calc(100% - 20px);
    padding: 10px;
    background-color: #fff;
    color: var(--green);
    font-size: 20px;
    font-weight: bold;
    position: sticky;
    top: 0px;
    border-bottom: solid 1px #d1d1d1;
    border-image: url("../assets/img/post_seperator.png") 1 round;
}

.post-date-box {
    color: white;
    background-color: var(--green);
    width: 100px;
    height: 100px;
}

.post-date-day {
    font-size: 5em;
    font-weight: bold;
    margin: 0 5px 0 5px;
    text-align: center;
    line-height: 0.9;
    height: 70px;
}

.post-date-month {
    border-top: 1px solid white;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.5;
}

.post-content-box {
    width: calc(100% - 120px);
    margin-left: 15px;
    line-height: 1;
}

.post-content-title {
    font-weight: bold;
    font-size: 28px;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    line-clamp: 1;
    margin-bottom: 10px;
}

.post-content-text {
    font-size: 18px;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    line-clamp: 2;
    height: 38px;
    margin-bottom: 8px;
}
.post-content-link
{
    font-size: 18px;
}
.post-content-link a
{
    text-decoration: none;
    color: var(--green);
    font-weight: bold;
    margin-left: 20px;
}
.post-content-link a:before {
    content: "\A";
    border-style: solid;
    border-width: 7px 8px 7px 0;
    border-color: transparent var(--green) transparent transparent;
    transform: rotate(180deg);
    position: absolute;
    margin-left: -20px;
    margin-top: 2px;
    z-index: -1;
}

/* page footer area */
footer {
    margin: 15px 0 0 0;
    padding-bottom: 0;
    border-top: solid 2px var(--green);
}

.footer-wrapper {
    max-width: var(--max-width);
}

.footer-line {
    border-bottom: solid 2px var(--green);
    width: 100%;
    margin-bottom: var(--footer-space);
}

.footer-line {
    border-bottom: solid 2px var(--green);
    width: 100%;
    margin-bottom: var(--footer-space);
}

.footer-block {
    text-align: center;
    width: 30%;
    margin-bottom: var(--footer-space);
    padding: 0 15px 0 15px;
}

.footer-block-25 {
    /*width: 25%!important;
    float: left;*/
}

.footer-block li {
    float: left;
    position: relative;
}

.footer-social-child {
    margin-left: var(--footer-space);
}

/*.footer-extra*/
.footer-block a
{
    display: block;
    color: #d1d1d1;
}

.footer-block a:hover {
    color: var(--green);
}

.footer-title {
    color: white;
    padding: 5px;
    border-bottom: solid 1px var(--dark-gray);
    font-weight: bold;
    font-size: 16pt;
    word-wrap: break-word;
    max-width: 100%;
    text-transform: uppercase;
}

.footer-links
{
    max-height: 10px;
    min-height: 1px;
    padding: 5px 0 5px 0;
    margin: 10px 0 0 0;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    word-wrap: break-word;
    font-size: 13px;
}

.footer-links a{
    color: var(--dark-gray);
    display: block;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-back-to-top {
    margin: auto;
    border-radius: 5px;
    box-shadow: 0 -3px 0 0 var(--green);
    height: 35px;
    max-width: 50px;
    background-color: var(--green);
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    font-size: 25px;
    position: relative;
    top: -17.5px;
}

.footer-back-to-top:hover
{
    transform: scale(1.1,1.1);
    cursor:pointer;
}

.footer-back-to-top-button {
    padding: 3px 5px 5px 5px;
}

#footer-social {
    list-style-type: none;
    overflow: hidden;
}

#footer-social a
{
    background-image: url("../assets/img/sprite_icons.png");
    background-size: 64px;
    height: 35px;
    width: 35px;
    display: block;
}

.footer-social {
    background-image: url("../assets/img/sprite_icons.png");
    background-size: 64px;
    height: 35px;
    width: 35px;
    display: block;
    float: left;
    margin-left: 25px;
}


.footer-social-list {
    margin: 10px auto !important;
    max-width: 245px !important;
}

/*#footer-social .google-plus*/
.google-plus
{
    background-position: -7px -1670px;
}

/*#footer-social .facebook*/
.facebook
{
    background-position: -7px -1352px;
}

/*#footer-social .twitter*/
.twitter
{
    background-position: -7px -1543px;
}

/*#footer-social .youtube*/
.youtube
{
    background-position: -7px -1415px;
}

.instagram
{
    background-position: -7px -2662px;
}

.footer-list li:first-child {
    margin-left: 0;
}

.footer-copyright {
    clear: both;
    color: var(--dark-gray);
    font-size: 12px;
    margin: auto;
    text-align: center;
    width: 100%;
    padding-top: 15px;
}

.upjersmod {
    padding: 0;
    position: fixed;
    background-color: var(--dark-blue);
    width: 80%;
    height: 100%;
    right: 0;
    z-index: 32000;
    top: 0;
    transition: 0.5s ease;
    transform: translateX(150%);
    box-shadow: -1px 0 5px #444444;
}

.content-float-left {
    float: left;
}

.content-center {
    padding: 0 10px 0 10px;
    width: 48%;
}

.portrait_div
{
    width: 100%;
    height: calc((286px*2)/3);
    max-width: 286px;
    max-height: 190px;
    margin: auto;
    overflow: hidden;
    position: relative;
}
img.portrait {
    position: absolute;
    margin: auto;
    min-height: 100%;
    min-width: 100%;

    /* For the following settings we set 100%, but it can be higher if needed
    See the answer's update */
    left: -100%;
    right: -100%;
    top: -70%;
    bottom: -100%;
}

/* FRONTPAGE DE STYLE */
.navigation-box
{
    width: calc((100% / 3) - 12px);
    margin: 10px 0;
    margin-right: 10px;
}
.navigation-box .icon
{
    width: 297px;
    height: 197px;
    overflow: hidden;
}
.navigation-box .icon img
{
    transition: transform 1s;
}
.navigation-box .title
{
    margin-top: 10px;
    color: var(--green);
    text-transform: capitalize;
    font-weight: bold;
}
.navigation-box .text
{
    color: #000;
    line-height: 16px;
}
.navigation-box .text span
{
    font-weight: bold;
}
.navigation-box:hover .icon img
{
    transform: scale(1.1);
}
a .navigation-box:hover
{
    cursor: pointer;
}

.section-tab-nav-item-a:hover {
    color: var(--green);
}

.content-inner-image {
    max-width: 350px!important;
    padding: 0;
    float: left;
    margin-right: 10px;
    height: auto!important;
}

#cookie_disclaimer {
    display: none;
    background: var(--base-color);
    color: #fff;
    padding: 5px 20px;
    font-size: 16px;
    border-bottom: solid 2px var(--light-gray);
    margin-bottom: 5px;
    line-height: 1.5em;
    z-index: 1000;
}

#cookie_disclaimer a.button {
    cursor: pointer;
    padding: 3px 20px;
    margin-left: 10px;
    /*border-radius: 5px;*/
    font-weight: bold;
    float: right;
    background-color: #a9c200;
    border: 2px solid #849700;
    color: #fff;
    min-width: 80px;
    margin-top: 5px;
    text-shadow: 1px 1px 1px #849700, 1px -1px 1px #849700, -1px 1px 1px #849700, -1px -1px 1px #849700;
}

#cookie_disclaimer a.button:hover {
    background-color: #cde818;
}

#cookie_disclaimer p.disclaimer_message {
    display: block;
    padding: 0;
    margin: 10px 0;
    color: #fff;
}

#news_nav {
    margin: 20px 0 40px 0;
}

.news_nav_element {
    float: left;
    width: 50%;
    text-align: center;
}

.news_nav_element_button {
    background-color: transparent;
    border: none;
    font-size: 0.98em;
    text-decoration: underline;
}

.news_nav_element_button_inactive {
    text-decoration: none;
    cursor: default!important;
}

.post-date-box-transparent {
    background-color: transparent;
}
.focus-image{
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    box-shadow: 0px -8px 13px 20px #fff;
    background-color: #fff;
    border-radius: 10px;
}

/* upjers company page pipes */
@media (min-width: 737px) and (max-width: 832px) {
    nav li a {
        font-size: 0.96em;
        padding: 3px 5px 3px 5px;
    }
    div.mobile_navigation
    {
        display: none!important;
    }
}
/* upjers company page pipes */
@media (min-width: 737px) and (max-width: 831px) {
    nav li a {
        font-size: 0.86em;
        padding: 3px 5px 3px 5px;
    }
    div.mobile_navigation
    {
        display: none!important;
    }
}
@media (min-width: 737px) and (max-width: 985px) {
    .content-center {
        width: 40% !important;
        height: 380px;
        clear:both;
    }

    div.mobile_navigation
    {
        display: none!important;
    }

    .portrait_k_schmitt {
        background: url("../assets/img/about/portrait_k_schmitt.jpg") no-repeat;
        background-position: center;
        background-size: contain;
        width: 27% !important;
    }

    .portrait_m_schmitt {
        background: url("../assets/img/about/portrait_m_schmitt.jpg") no-repeat;
        background-position: center;
        background-size: contain;
        width: 27% !important;
    }
}
/* Phone/Mobile Breakpoints */
@media only screen and (max-width: 736px) {
    .content-center {
        width: 100% !important;
        height: 100%;
        padding: 2px;
    }
    .focus-image{
        top: 35px; left: 10px; width: 80px;
    }
    .navigation-box
    {
        width: 100%!important;
    }
    .navigation-box .icon
    {
        height: auto;
    }
    .navigation-box .title
    {
        margin-top: 0;
    }

    .post-filter-content
    {
        display: none;
    }

    .post-filter-slider
    {
        display: block!important;
    }

    .post-content-title
    {
        font-size: 20px!important;
        margin-bottom: 2px!important;
        overflow: hidden;
    }
    .post-content-text
    {
        height:auto!important;
        font-size: 15px!important;
        margin-bottom: 4px!important;
    }
    .post-content-link
    {
        font-size: 15px!important;
    }
    .post-content-link a:before
    {
        border-width: 6px 7px 6px 0;
    }

    .post-date-box
    {
        width: 75px!important;
        height: 75px!important;
    }
    .post-date-day
    {
        height: auto!important;
        font-size: 3.4em!important;
        margin-bottom: 5px;
    }
    .post-date-month
    {
        font-size: 1.0em!important;
    }

    div.mobile_navigation
    {
        display: inline-block!important;
    }

    .footer-block {
        padding: 0 !important;
    }

    #pagehead {
        top: 0px!important;
    }

    .footer-block {
        width: 100%!important;
    }

    .footer-copyright {
        padding-top: 0px!important;
    }

    .footer-social-child {
        margin-left: 10px;
    }

    .portrait_k_schmitt {
        background: url("../assets/img/about/portrait_k_schmitt_m.jpg") no-repeat;
        background-position: center;
        background-size: contain;
        width: 100% !important;
    }

    .portrait_m_schmitt {
        background: url("../assets/img/about/portrait_m_schmitt_m.jpg") no-repeat;
        background-position: center;
        background-size: contain;
        width: 100% !important;
    }

    .section-tab-nav-item {
        display: inline-block;
        text-transform: uppercase;
        color: #000;
    }
    .section-tabs-nav
    {
        overflow: auto;
        white-space: nowrap;
        overflow-y: hidden;
    }
    .section-tabs-nav-items
    {
        max-width: none!important;
        text-align: justify;
        width: 100%;
    }
    .section-tabs-nav-items .section-tab-nav-item:last-child
    {
        margin-right: 20px;
    }
    .section-tabs-nav-items .section-tab-nav-item:first-child
    {
        margin-left: 20px;
    }

}

.download-entry
{
    max-width: calc(50% - 40px);
    text-transform: uppercase;
    padding: 20px;
    margin-right: -5px;
    border-bottom: solid 1px var(--light-gray);
    min-height: 180px;
    width: 100%;
}
.download-entry .extra
{
    text-transform: none;
}
.download-entry-img
{
    text-align: center;
    height: 150px;
    line-height: 190px;
}
.download-entry-content
{
    width: calc(100% - 100px);
}
.download-entry-content .download-entry-name:first-child
{
    margin-bottom: 20px;
}
.download-entry-name
{
    font-weight: bold;
}
.download-entry-content-item
{
    padding: 10px 5px;
    height: 20px;
    line-height: 20px;
}
.download-entry-content-item img
{
    width: auto;
    min-width: 20px;
    margin-right: 5px;
}
.download-entry-content-item a
{
    width: calc(100% - 35px);
    text-decoration: none;
    color: #a9c200;
    font-weight: bold;
    vertical-align: top;
}

.download-entry-content-item input[type="submit"]
{
    border: none;
    background: none;
    color: #a9c200;
    word-wrap:break-word;
    font-weight: bold;
    font-size: 15px;
    padding: 0;
    min-width: 100px;
    margin: 0;
    vertical-align: top;
    cursor: pointer;
}

@media only screen and (max-width: 736px) {
    .download-entry
    {
        max-width: calc(100% - 40px)!important;
        border-left: none!important;
    }
    .download-entry-content
    {
        width: 100%;
    }
    .download-entry-content-item
    {
        width: calc(100% - 10px);
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .post-filter-element label
    {
        width: 80px;
    }
    .download-entry-img
    {
        margin: auto;
        height: auto!important;
        line-height: 1px;
        display:block!important;
    }
    .download-entry-name
    {
        text-align: center;
    }
    .post-content-box
    {
        width: calc(100% - 95px)!important;
    }
}

@media only screen and (min-width: 736px)
{
    .post-filter-content
    {
        display: block!important;
    }
    .post-filter-box
    {
        border-bottom: none!important;
    }

}


/* Tablet Breakpoint */
/*@media only screen and (min-width: 737px) and (max-width: 999px) {*/
    /*#pagehead {*/
        /*top: 0px!important;*/
    /*}*/
/*}*/

@media only screen and (min-width: 737px) and (max-width: 850px) {
    .footer-social-child {
        margin-left: 10px;
    }
}

@media only screen and (min-width: 300px) and (max-width: 371px) {
    .section-tab-nav-item {
        display: inline-block;
        text-transform: uppercase;
    }
}