/**
* Theme Name: Messkom GmbH
* Theme URI: http://www.brand-kommunikation.com/
* Author: Nikolas Kirschstein
* Author URI: http://www.brand-kommunikation.com/
* Description: Zart im Schmelz und süffig im Abgang.
* Version: drölf
* License: GNU General Public License v3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
* Text Domain: messkom
* Tags: brand-kommunikation
*/

/*-------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

0  Fonts
1  General
2  Header
   2.1  Title Bar
   2.2  Navigation Bar
3  Footer
4  Page
	 4.1  Slider
	 4.2  Content
	 4.3  Spoiler
5  Grid
6  Product
7  Media Queries

--------------------------------------------------------------*/

/*--------------------------------------------------------------
0  Fonts
--------------------------------------------------------------*/

@font-face {
    font-family: 'Roboto';
    font-weight: 400;
    src: url('fonts/Roboto-Regular/Roboto-Regular.eot'); /* IE9 Compat Modes */
    src: url('fonts/Roboto-Regular/Roboto-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('fonts/Roboto-Regular/Roboto-Regular.woff2') format('woff2'), /* Super Modern Browsers */ url('fonts/Roboto-Regular/Roboto-Regular.woff') format('woff'), /* Pretty Modern Browsers */ url('fonts/Roboto-Regular/Roboto-Regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('fonts/Roboto-Regular/Roboto-Regular.svg#Roboto-Regular') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'Roboto';
    font-weight: 500;
    src: url('fonts/Roboto-Medium/Roboto-Medium.eot'); /* IE9 Compat Modes */
    src: url('fonts/Roboto-Medium/Roboto-Medium.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('fonts/Roboto-Medium/Roboto-Medium.woff2') format('woff2'), /* Super Modern Browsers */ url('fonts/Roboto-Medium/Roboto-Medium.woff') format('woff'), /* Pretty Modern Browsers */ url('fonts/Roboto-Medium/Roboto-Medium.ttf') format('truetype'), /* Safari, Android, iOS */ url('fonts/Roboto-Medium/Roboto-Medium.svg#Roboto-Medium') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'Roboto';
    font-weight: 700;
    src: url('fonts/Roboto-Bold/Roboto-Bold.eot'); /* IE9 Compat Modes */
    src: url('fonts/Roboto-Bold/Roboto-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('fonts/Roboto-Bold/Roboto-Bold.woff2') format('woff2'), /* Super Modern Browsers */ url('fonts/Roboto-Bold/Roboto-Bold.woff') format('woff'), /* Pretty Modern Browsers */ url('fonts/Roboto-Bold/Roboto-Bold.ttf') format('truetype'), /* Safari, Android, iOS */ url('fonts/Roboto-Bold/Roboto-Bold.svg#Roboto-Bold') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'Noto Serif';
    font-weight: 400;
    src: url('fonts/NotoSerif/NotoSerif-Regular.eot'); /* IE9 Compat Modes */
    src: url('fonts/NotoSerif/NotoSerif-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('fonts/NotoSerif/NotoSerif-Regular.woff2') format('woff2'), /* Super Modern Browsers */ url('fonts/NotoSerif/NotoSerif.woff') format('woff'), /* Pretty Modern Browsers */ url('fonts/NotoSerif/NotoSerif.ttf') format('truetype'), /* Safari, Android, iOS */ url('fonts/NotoSerif/NotoSerif.svg#Roboto-Bold') format('svg'); /* Legacy iOS */
}

/*--------------------------------------------------------------
1  General
--------------------------------------------------------------*/

body {
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

h1, h2, h3 {
    text-align: left;
}

h1 {
    font-weight: 700;
    font-size: 26px;
    color: #f93;
    margin: 30px 0;
}

h2 {
    font-family: 'Noto Serif', sans-serif;
    font-weight: 400;
    font-size: 19px;
    color: #4b4b4b;
    margin: 20px 0;
}

h3 {
    font-weight: 700;
    font-size: 24px;
    color: #f93;
    margin: 20px 0;
}

h4 {
    font-family: 'Noto Serif', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #4b4b4b;
}

p {
    color: #595959;
    text-align: justify;
    hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
}

a {
    color: #f93;
    font-weight: 500;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

hr {
    border: 0;
    border-bottom: 2px dotted #f93;
}

a.buttn {
    display: inline-block;
    background: #f93;
    border: 1px solid #d71;
    text-transform: uppercase;
    color: #fff;
    padding: 5px 12px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
}

a.buttn:hover {
    background: #d71;
}

table {
    max-width: 100%;
}

#searchsubmit {
    padding: 2px 4px;
    background: #f93;
    border: 1px solid #d71;
    text-transform: uppercase;
    color: #fff;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    cursor: pointer;
    max-width: 100%;
}

#searchsubmit:hover {
    background: #d71;
}

::selection {
    background: #f93;
    color: #fff;
}

::-moz-selection {
    background: #f93;
    color: #fff;
}

/*--------------------------------------------------------------
2  Header
--------------------------------------------------------------*/

header {
    width: 100%;
}

/*--------------------------------------------------------------
2.1  Title Bar
--------------------------------------------------------------*/

#media-bar {
    background: #000;
}

#media-bar a:hover {
    text-decoration: none;
    opacity: 0.5;
}

#media-bar img {
    height: 100%;
    vertical-align: middle;
}

#media-buttons-wrapper {
    margin: 0 10%;
    text-align: right;
}

#media-buttons-container {
    margin: 0 10px;
}

.media-widget {
    display: inline-block;
    padding: 3px 2px;
    max-height: 25px;
    vertical-align: middle;
}

.media-widget:nth-child(2) {
    margin-left: 20px;
}

#title-bar {
    background: #e0e0e0;
}

#title-wrapper {
    margin: 0 10%;
}

#header-title {
    display: table;
}

#header-title > div {
    display: table-cell;
    vertical-align: middle;
}

#title-logo {
    padding: 8px 30px 8px 10px;
}

#title-logo img {
    height: 100px;
    width: auto;
    max-width: none;
    margin-right: 10px;
    vertical-align: middle;
}

#title-text {
    font-weight: 500;
    padding: 18px 10px 8px 0;
}

#title-text > span {
    font-weight: 500;
    display: block;
}

#title-text > span:first-child {
    font-size: 24px;
}

/*--------------------------------------------------------------
2.2  Navigation Bar
--------------------------------------------------------------*/

#nav-bar {
    margin: 0 10%;
}

#nav-bar a {
    color: #666;
    font-weight: 400;
    font-size: 16px;
}

#nav-bar a:hover {
    color: #f00;
    text-decoration: none;
}

#nav-bar ul {
    margin: 0;
    padding: 0;
}

#nav-bar li {
    list-style: none;
}

#nav-bar > ul > li {
    display: inline-block;
}

#nav-bar > ul > li > a {
    font-weight: 500;
    display: block;
    text-transform: uppercase;
    padding: 18px 9px;
}

#nav-bar > ul > li > a:not(:last-child)::after {
    content: ' \25bc';
    font-size: 12px;
    position: relative;
    bottom: 1px;
}

#nav-bar ul li ul {
    background: #fff;
    border: 1px solid black;
    display: none;
    position: absolute;
    z-index: 9999;
    margin-top: -5px;
    width: 250px;
    line-height: 1.25;
}

#nav-bar > ul > li > ul::before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 9px;
    top: -9px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #000;
}

#nav-bar > ul > li > ul::after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 10px;
    top: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

#nav-bar ul li ul li {
    padding: 0 10px 0 15px;
}

#nav-bar ul li ul li:hover > a {
    color: #f00;
}

#nav-bar ul li ul li:first-child {
    padding-top: 10px;
}

#nav-bar ul li ul li:last-child {
    padding-bottom: 10px;
}

#nav-bar ul li ul a::before {
    content: '\2022';
    position: relative;
    left: -4px;
}

#nav-bar ul li:hover > ul {
    display: block;
}

#nav-bar ul li ul li {
    float: none;
}

#nav-bar > ul > li > ul > li > a:not(:last-child)::after {
    content: ' >>';
    font-size: 16px;
    position: relative;
    left: 2px;
    bottom: 1px;
    letter-spacing: -2px;
}

#nav-bar ul li ul li ul {
    min-height: 100%;
    width: 100%;
    left: 100%;
    top: 4px;
}

#nav-bar .current-menu-item > a {
    color: #000;
}

#mobile-nav, #close-nav {
    display: none;
    padding: 10px 50px;
}

/*--------------------------------------------------------------
3  Footer
--------------------------------------------------------------*/

footer {
    width: 100%;
    background: #b3b2b2;
}

#footer-widget-area {
    background: #e0e0e0;
}

#footer-widgets-wrapper {
    margin: 0 10%;
}

#footer-widgets-container {
    padding: 10px;
}

.footer-widget {
    width: 30%;
    margin: 10px 3.33% 10px 0;
    float: left;
}

.footer-widget:nth-child(3n) {
    margin-right: 0;
}

#footer-widgets-container::after {
    content: '';
    clear: both;
    display: block;
}

#foot-bar {
    margin: 0 10%;
    text-align: center;
}

#foot-bar ul {
    margin: 0;
    padding: 0;
}

#foot-bar li {
    list-style: none;
    display: inline-block;
}

#foot-bar a {
    color: #000;
    text-transform: uppercase;
    display: block;
    padding: 25px 10px;
}

/*--------------------------------------------------------------
4  Page
--------------------------------------------------------------*/

#breadcrumbs {
	padding: 0 9px;
	margin: 0 10%;
}

/*--------------------------------------------------------------
4.1  Slider
--------------------------------------------------------------*/

#slider {
    position: relative;
    width: 100%;
    min-height: 100px;
    overflow: hidden;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: left 1s ease, right 1s ease;
    -moz-transition: left 1s ease, right 1s ease;
    -ms-transition: left 1s ease, right 1s ease;
    -o-transition: left 1s ease, right 1s ease;
    transition: left 1s ease, right 1s ease;
}

.slider-item:not(:first-child) {
    z-index: -1;
    visibility: hidden;
    left: 100%;
    right: -100%;
}

.slider-text-container {
    margin: 0 10%;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    z-index: 10;
}

.slider-text {
    position: absolute;
    max-width: 405px;
    padding: 20px 10px 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    margin: 9px;
}

.slider-text p {
    text-align: left;
    margin-bottom: 30px;
}

.slider-text a.buttn {
    font-size: 17px;
}

.slider-image {
    width: 100%;
    height: 100%;
    background: no-repeat center;
    background-size: cover;

}

.slider-image img {
    min-width: 100%;
    min-height: 100%;
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/*--------------------------------------------------------------
4.2  Content
--------------------------------------------------------------*/

#content-wrapper {
    padding: 30px 10%;
}

#content {
    margin: 20px 10px;
}

img.alignright {
    float: right;
    margin: 0 0 1em 1em;

}

img.alignleft {
    float: left;
    margin: 0 1em 1em 0;

}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
4.3  Spoiler
--------------------------------------------------------------*/

.flip {
    background: #f93;
    cursor: pointer;
    padding: 6px 8px 6px 16px;
    color: #fff;
    border: 1px solid #d71;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    margin-top: 5px;
}

.flip::before {
    content: '>';
    margin-right: 8px;
}

.flip:hover {
    background: #d71;
}

.flipped::before {
    content: '<';
}

.spoiler {
    padding: 10px;
    border: 1px solid #f93;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

/*--------------------------------------------------------------
5  Grid
--------------------------------------------------------------*/

.grid-wrapper {
    margin: 0 10%;
}

.grid-description {
    margin-bottom: 20px;
    box-sizing: border-box;
    padding: 10px;
}

.grid {
    display: flex;
    flex-flow: row wrap;
    margin: 20px 10px;
}

.grid::after {
    content: "";
    clear: both;
    display: block;
}

.grid-item {
    width: 18.4%;
    margin: 0 2% 5% 0;
    float: left;
}

.grid-item:nth-child(5n) {
    margin-right: 0;
}

.grid-item-name {
    display: table;
    width: 100%;
    height: 40px;
    background: #f93;
    color: #000;
    font-weight: 700;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.grid-item-name > span {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.grid-item-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 14px 0 28px;
    padding-top: 80%;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.grid-item-image img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.grid-item-description {
    color: #595959;
    margin-bottom: 20px;
    text-align: justify;
}

.grid-item-button {
    text-align: center;
}

.subcategory-title {
    font-weight: 500;
    border: 1px solid #f93;
    padding: 10px;
    background-color: #b3b2b2;
    border-radius: 10px;
    display: block;
}

.subcategory-title a {
    color: #595959;
}

/*--------------------------------------------------------------
6  Product
--------------------------------------------------------------*/

/*--------------------------------------------------------------
6.1  Summary
--------------------------------------------------------------*/

.product_title {
    text-align: left;
    font-size: 24px;
    margin: 10px 0;
}

.woocommerce-product-details__short-description {
    font-family: 'Noto Serif', sans-serif;
    font-size: 18px;
    color: #4b4b4b;
}

.product-features {
    border-collapse: collapse;
    border-style: hidden;
    color: #595959;
}

.product-features th, .product-features td {
    border-bottom: 2px dotted #f93;
    padding: 10px;
}

.product-features th {
    padding-left: 0;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
}

.product-features td {
    padding-right: 0;
    text-align: justify;
}

.product-features tr {
    vertical-align: top;
}

/*--------------------------------------------------------------
6.2  Gallery
--------------------------------------------------------------*/

.woocommerce div.product div.images .flex-control-nav {
    margin: 20px 0;
}

.woocommerce div.product div.images .flex-control-nav img::selection {
    background: none;
}

.woocommerce div.product div.images .flex-control-nav img::-moz-selection {
    background: none;
}

/*
.woocommerce div.product div.images .flex-control-thumbs li {
    width: 27.33%;
    padding: 3%;
}
*/

/*--------------------------------------------------------------
6.3  Tabs
--------------------------------------------------------------*/

.woocommerce-tabs {
    padding-bottom: 10px;
}

.woocommerce-tabs h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 21px;
    color: #f93;
    text-align: left;
}

.woocommerce-tabs h3 {
    text-align: left;
    font-size: 17px;
    margin: 10px 0;
}

.woocommerce-tabs a.pdf::before {
    content: url('images/pdf.gif');
    position: relative;
    bottom: -10px;
    margin-right: 10px;
}

.woocommerce-tabs iframe {
    max-width: 100%;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 1px solid #d3ced2;
    border-left: 0;
    border-right: 0;
    background-color: #fff;
    border-radius: 0;
    margin: 0 -2px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-weight: 400;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-left: 1px solid #d3ced2;
    border-right: 1px solid #d3ced2;
    margin: 0 5px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

/*--------------------------------------------------------------
7  Media Queries
--------------------------------------------------------------*/

@media screen and (max-width: 1600px) {
    #media-buttons-wrapper, #title-wrapper, #nav-bar, #content-wrapper, #footer-widgets-wrapper, .slider-text-container {
        margin-left: 0;
        margin-right: 0;
    }

    .grid-item {
        width: 23.5%;
    }

    .grid-item:nth-child(5n) {
        margin-right: 2%;
    }

    .grid-item:nth-child(4n) {
        margin-right: 0;
    }
	
	#breadcrumbs {
		margin: 10px 0;
	}
}

@media screen and (max-width: 1000px) {
    #slider {
        height: auto;
        padding-bottom: 56.25%;
    }

    .slider-text {
        left: 0;
        right: 0;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        margin: auto;
        padding: 0 10px 10px;
    }

    .slider-text p {
        margin-bottom: 20px;
    }

    .grid-wrapper, #breadcrumb-wrapper {
        margin: 10px;
    }

    .grid {
        margin: 20px 0;
    }

    .grid-item {
        width: 30.66%;
    }

    .grid-item:nth-child(4n) {
        margin-right: 2%;
    }

    .grid-item:nth-child(3n + 1) {
        margin-left: 2%;
    }

    #mobile-nav {
        display: block
    }

    #close-nav {
        display: block;
    }

    #nav-bar {
        display: none;
        position: absolute;
        opacity: 0;
        background: #fff;
        width: 100%;
        right: -100%;
        z-index: 9999;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

    #nav-bar a:not(:last-child)::after {
        display: none;
    }

    #nav-bar > ul > li {
        display: block;
        border-bottom: 2px dotted #f93;
    }

    #nav-bar ul li ul {
        position: static;
        display: block;
        border: 0;
        margin-top: 0;
        width: auto;
        line-height: 30px;
    }

    #nav-bar ul li ul li {
        padding: 0 0 0 10px;
        border-top: 1px dotted #f93;
    }

    #nav-bar ul li ul li:first-child {
        padding-top: 0;
    }

    #nav-bar ul li ul li:last-child {
        padding-bottom: 0;
    }

    #nav-bar ul li ul li a:not(:last-child)::after {
        display: none;
    }

    #nav-bar ul li ul::before {
        display: none;
    }

    #nav-bar > ul:first-child {
        border-top: 2px dotted #f93;
    }

    nav {
        position: relative;
    }

    nav > a {
        text-align: right;
        font-size: 20px;
    }

    nav > a:hover {
        text-decoration: none;
    }

    #mobile-nav:target, #close-nav {
        display: none;
    }

    #mobile-nav::after, #close-nav::before, #close-nav::after {
        content: '';
        position: absolute;
        right: 10px;
        top: 20px;
        width: 30px;
        height: 4px;
        background: #f93;
    }

    #mobile-nav::after {
        box-shadow: 0 10px 0 0 #f93, 0 -10px 0 0 #f93;
    }

    #close-nav::before {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #close-nav::after {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #mobile-nav:target ~ #nav-bar,
    #mobile-nav:target ~ #close-nav {
        display: block;
    }

    #mobile-nav:target ~ #nav-bar {
        opacity: 1;
        position: static;
    }

    #footer-widgets-wrapper {
        margin: 0;
    }

    .footer-widget {
        margin: 10px 1.666% 10px 1.666%
    }

    #nav-bar > ul > li > ul::after {
        display: none;
    }
}

@media screen and (max-width: 800px) {
    .grid-item {
        width: 44%;
        margin: 0 4% 8% 0;
    }

    .grid-item:nth-child(3n + 1) {
        margin-left: 0;
    }

    .grid-item:nth-child(2n + 1) {
        margin-left: 4%;
    }

    .footer-widget {
        width: 46.666%;
    }

    .footer-widget:first-child {
        width: 92%;
    }
}

@media screen and (max-width: 600px) {
    #title-logo {
        padding-right: 10px;
    }

    #title-logo img {
        height: 71px;
    }

    #title-text > span {
        font-size: 14px;
    }

    #title-text > span:first-child {
        font-size: 16px;
    }

    #title-text {
        padding-top: 8px;
    }

    .grid-item {
        width: 92%;
        margin: 0 4% 10%;
    }

    .grid-item:nth-child(3n + 1) {
        margin-left: 4%;
    }

    .grid-item:nth-child(2n + 1) {
        margin-left: 4%;
    }

    .footer-widget {
        float: none;
        width: 92%;
        margin: 0 4% 10%;
    }
}
/* ===== BACK TO TOP BUTTON ===== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #f93;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
}

#back-to-top:hover {
    background: #ff6b35;
    transform: translateY(-2px);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top::before {
    content: "↑";
    line-height: 1;
}