/*
 Theme Name:   Twenty Seventeen (Child)
 Theme URI:    http://example.com/twenty-seventeen-child/
 Description:  Twenty Seventeen Child Theme
 Author:       Ulrich Abelmann
 Author URI:   http://abelmann.net
 Template:     twentyseventeen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-sixteen-child
*/

/* Clearfix */
.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

/* Remove spaces */
.single-post:not(.has-sidebar) #primary,
.page.page-one-column:not(.twentyseventeen-front-page) #primary,
.archive.page-one-column:not(.has-sidebar) .page-header,
.archive.page-one-column:not(.has-sidebar) #primary {
    max-width: 1140px;
}

@media screen and (min-width: 48em) {
    .page.page-one-column .entry-header, .twentyseventeen-front-page.page-one-column .entry-header, .archive.page-one-column:not(.has-sidebar) .page-header {
        margin-bottom: 0;
    }
    .page:not(.home) #content {
        padding-bottom: 0;
    }
    .site-content {
        padding: 1em 0 0;
    }
    .wrap, .navigation-top .wrap {
        max-width: 1140px;
        padding-left: 1em;
        padding-right: 1em;
    }
}
@media screen and (min-width: 48em) {
    #bodyde .site-branding .wrap {
        background: url('assets/images/headercl-de.png') no-repeat right center transparent;
    }
    #bodyen .site-branding .wrap {
        background: url('assets/images/headercl-en.png') no-repeat right center transparent;
    }
}
@media screen and (min-width: 60em) {
    #bodyde .site-branding .wrap {
        background: url('assets/images/headerc-de.png') no-repeat right center transparent;
    }    
    #bodyen .site-branding .wrap {
        background: url('assets/images/headerc-en.png') no-repeat right center transparent;
    }
}
@media screen and (min-width: 30em) {
    .page-one-column .panel-content .wrap {
        max-width: 1140px;
    }
}

/* General */
.entry-content ul {
    margin-left: 30px;
}
.ct-category-content img {
    width: 100%
}

/* Messages */
ul.messages.errors {
    margin: 0;
    padding: 0;
}
ul.messages.errors li {
    margin: 1em; 
    padding: 1em;
    border: 1px solid #F1011A;
    color: #F1011A;
    list-style-type: none;
}

/* Grid */
.ct-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    flex: 0 0 100%;
    margin: 0 -15px;
}
.ct-grid::afterx {
    content: '';
    flex-grow: 1000000000;
}
.ct-grid-item {
    background-color: #EDEDED;
    border-radius: 10px;
    padding: .5em;
    margin: 15px;
    flex-grow: 1;
    flex-basis: 29%;
}

/* Catalogues */
.ct-catalogs a {
    text-align: center;
}
.ct-catalogs img {
    margin: 15px 5px;
}
.ct-catalogs p {
    display: block;
    margin: 10px 0;
}

/* Sales */
.ct-sales img {
    max-height: 70px;
    max-width: 100%;
}
.ct-sales h2 {
    margin: 0;
} 
.ct-sales h3 {
    margin: 0;
    padding: 0;
    font-size: 1em;
}
.ct-sales h4 {
    margin: 0;
    padding: 0; 
}
.ct-sales-item address {
    display: block;
    max-width: 350px;
}

/* Links */
a {
    color: #F1011A;
    box-shadow: none !important;
    text-shadow: none;
    text-decoration: none;
    border-bottom: 0;
}
a:hover {
    color: #F1011A;
}
p a {
    text-decoration: underline;
}

/* Product and Category Pages */
.ct-product-photo img {
    width: 100%;
    max-width: 400px;
}
.ct-product-photos img {
    max-width: 200px;
}
.ct-category-content img.category-photo {
    width: 100%;
    max-width: 400px;
}
.ct-category-content-description img.category-photo {
}
.ct-category-content img.category-child-photo {
    max-width: 60px;
    max-height: 60px;
    float: left;
}
.ct-category-content section article a {
    background-color: #EDEDED;
    border-radius: 10px;
    display: block;
    padding: .5em;
    margin-bottom: .2em;
}
.ct-category-content section article img {
    box-shadow: none;
    border-radius: 5px;
    margin-right: 10px;
}
.ct-productdownloads li {
    margin-bottom: .5em;
}

/* News */
.ct-news-photo {
    width: 50%;
    max-width: 200px;
    max-height: 200px;
    margin-left: 10px;
    margin-bottom: 10px;
    float: right;
}
.ct-newspreview-photo {
    border-radius: 10px;
    overflow: hidden;
    max-width: 100%;
}
.ct-news-photos img {
    max-width: 100px;
    max-height: 100px;
    margin-right: 5px;
}
.ct-news-preview h3 {
    margin: 0;
    padding: 0;
}

/* References */
.ct-references-photo {
    width: 50%;
    max-width: 200px;
    max-height: 200px;
    margin-left: 10px;
    margin-bottom: 10px;
    float: right;
}
.ct-references-photos img {
    max-width: 300px;
    max-height: 80px;
    margin-right: 5px;
}
.ct-references h2 {
    margin-bottom: 0;
}

/* Breadcrums */
.breadcrumbs {
    margin-top: .6em;
}
.breadcrumbs span {
    font-size: .8em;
}

/*  Header */
@media screen and (min-width: 30em) {
    .site-branding {
        padding: 1em 0;
    }
}
.site-header {
    background-color: #ffffff;
    position: relative;
}
@media screen and (min-width: 48em) {
    header a.contact {
        height: 55px;
        display: block;
        float: right;
        width: 100px;
    }
}
.site-branding a:hover, .site-branding a:focus {
    opacity: 1;
    opacity: 1;
}
header .languages a {
    display: inline-block;
    width: 16px;
    height: 11px;
}
header .languages {
    position: absolute;
    right: 0px;
    top: -15px;
}
header .languages .lng-de {
    background-image: url('assets/images/de.jpg');
}
header .languages .lng-en {
    background-image: url('assets/images/en.jpg');
}

/* Navigation */
.main-navigation > div > ul {
    padding: 0;
}
.main-navigation ul {
    background-color: #9D9D9D;
}
.navigation-top a {
    padding-left: 1em;
    padding-right: 1em;
}
@media screen and (min-width: 48em) {
    .main-navigation ul ul a {
        width: 22em;
    }    
    .navigation-top .wrap {
         padding-top: 0;
         padding-bottom: 0;
     }
}
@media screen and (min-width: 30em) {

}
.navigation-top, .navigation-top li {
    background-color: #9D9D9D;
}
.navigation-top a {
    color: #ffffff;
}
.navigation-top .current-menu-item > a, .navigation-top .current_page_item > a {
    color: #ffffff;
    background-color: #7A7A7A;
}

/* Home page */
.sa_owl_theme .owl-dots {
    background-color: #E40613;
}
.sa_owl_theme .owl-dot {
    margin-top: .9em;
    margin-bottom: 1.6em;
}
.sa_owl_theme .owl-item {
    text-align: center;
}
.twentyseventeen-front-page .site-footer {
    margin-top: 0;
}

.frontboxes .siteorigin-widget-tinymce {
    background-color: #fff;
    margin: 0 auto 20px;
    max-width: 360px;
    overflow: hidden;
    border-radius: 10px;
    min-height: 466px;
    position: relative;
    padding-bottom: 60px;
}
.frontboxes .siteorigin-widget-tinymce h3 {
    padding: 0 15px 0;
    color: #9C9C9C;
}
.frontboxes .siteorigin-widget-tinymce p {
}
.frontboxes .siteorigin-widget-tinymce h3 + p {
    padding: 0 15px 0;
}
.frontboxes .siteorigin-widget-tinymce p.link a, .frontboxes .siteorigin-widget-tinymce a:last-child {
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    background-color: #E40613;
    color: #fff;
    text-align: center;
    display: block;
    padding: .5em;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.frontboxes .widget_text {
    text-align: center;
    padding-top: 30%;
}
.frontboxes .widget_text h3 {
    padding: 0 10%;
    color: #9C9C9C;
    font-size: 1.9em;
}
.frontboxes .widget_text p {
    color: #9D9D9D;
    font-size: 1.6em;
}

.frontworld, .frontworld h2, .frontworld h3, .frontworld p, .frontworld a {
    color: #fff;
}
.frontworld a {
    text-decoration: none;
    border: 0;
    box-shadow: none;
}
.frontworld div div:nth-child(2) .siteorigin-widget-tinymce {
    background-color: #fff;
    border-radius: 10px;
}
@media screen and (min-width: 48em) {
    .frontworld div div:nth-child(2) .siteorigin-widget-tinymce {
        margin-right: 30px;
    }
}
.frontworld div div:nth-child(2) .siteorigin-widget-tinymce h3 {
    color: #000;
    color: #9C9C9C;
    padding: 10px 20px 0;
}
.frontworld div div:nth-child(2) .siteorigin-widget-tinymce p {
    color: #000;
    padding: 0 20px;
}
.frontworld div div:nth-child(2) .siteorigin-widget-tinymce li {
    list-style: none;
    display: inline;
}
.frontworld div div:nth-child(2) .siteorigin-widget-tinymce a {
    text-decoration: none;
    text-align: left;
    margin: 0 0 5px 5px;
    border-radius: 5px;
    background-color: #E40613;
    color: #fff;
    display: inline-block;
    padding: .5em;
    width: 48%;
}
.frontworld ul {
    margin-left: 0 !important;
}

.frontshop h2 {
    color: #000;
}
.frontshop img {
    margin-bottom: -6px;
}
.frontshop a {    
    text-decoration: none;
    text-align: center;
    margin: 0 0 5px 5px;
    border-radius: 10px;
    background-color: #E40613;
    color: #fff;
    display: inline-block;
    padding: 1em 3em;
}

.fronttext h2 {
    color: #000000;
    margin-bottom: 2em;
}

.frontmisc .siteorigin-widget-tinymce {
    padding: 0 20px;
}
.frontmisc img {
    border-radius: 10px;
    overflow: hidden;
}
.frontmisc h4 {
    color: #000000;
    margin-bottom: .2em;
    font-size: 1.3em;
    font-weight: normal;
    padding-top: 0;
    margin: 0 0 .4em 0;
}
.frontmisc hr {
    width: 50px;
    border: 2px solid #F1011A;
    border-width: 2px 0 0 0;
    margin: 0 auto 2em;
    background-color: transparent;
}

/* Footers */
.footer-1 {
    background-color: #E40613;
    color: #ffffff;
}
.footer-1 .wrap {
    padding-bottom: 1em;
    padding-top: 1em;
}
.footer-2 {
    background-color: #ffffff;
    color: #000000;
}
@media screen and (min-width: 10em) {
    .footer-2 .wrap {
        height: 100px;
        background: url('assets/images/footer-logosl.png') no-repeat center center transparent;
        background-size: 100% auto;
    }
}
@media screen and (min-width: 36em) {
    .footer-2 .wrap {
        height: 100px;
        background: url('assets/images/footer-logos.png') no-repeat center center transparent;
        background-size: 100% auto;
    }
}
.footer-3 {
    background-color: #9D9D9D;
    color: #ffffff;
}
.footer-3 .wrap {
    min-height: 300px;
    background: url('assets/images/skyline.png') no-repeat center bottom transparent;
}
.footer-3 table {
    width: auto;
}
.footer-3 tr {
    border-bottom: 0
}
.footer-3 td {
    padding-right: 30px;
}
.footer-3 h3 {
    color: #fff;
    margin: 0;
    padding: 0;
}
.footer-4 {
    background-color: #000000;
    color: #ffffff;
}
.footer-4 .widget-area {
    padding-top: 0;
}
.footer-4 .widget {
    padding: 0;
}
.footer-4 .widget ul li {
    border: 0;
    padding: 0;
    float: right;
    text-decoration: none;
}
.footer-4 .widget ul li a {
    text-decoration: none !important;
    color: #ffffff;
    border: 0;
    box-shadow: none;
    padding-left: 1em;
}
.footer-4 .widget ul li a:hover {
    color: #fff;
}
.footer-4 .widget:not(.widget_tag_cloud) ul li + li {
    margin-top: 0;
}

/* fix image shadow */
.entry-content a img, .widget a img {
    -webkit-box-shadow: none;
    box-shadow: none;
}