/*
Theme Name: MicroMade eXtended
Theme URI: http://micromade.pl
Author: fmedia - Paweł Drożdż
Author URI: http://fmedia.pl
Description: MicroMade website theme
Version: 2.0.0
License: Copyright since 2020 MicroMade s.c.
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mmx

This theme, unlike WordPress, is licensed under the GPL.

MicroMade theme is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
The MicroMade theme however is not GPL and cannot be reused without permission,
as it contains materials that are copyrighted by MicroMade s.c.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
0.1 Google fonts import
1.0 Reset
2.0 Typography
2.1 Structure
2.2 Header
3.0 Elements
4.0 Forms
5.0 Navigation
    5.1 Links
    5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
    10.1 Posts and pages
    10.2 Asides
    10.3 Comments
11.0 Infinite scroll
12.0 Media
    12.1 Captions
    12.2 Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
0.1 Google font import
--------------------------------------------------------------*/
@import url(//fonts.googleapis.com/css?family=Lato:400,900&subset=latin-ext);

/*--------------------------------------------------------------
1.0 Reset
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: 'Lato', sans-serif;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

html {
    font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
    overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
    -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
    box-sizing: border-box; /* Apply a natural box layout model to the document; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
}

*,
*:before,
*:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #fff; /* Fallback for when there is no custom background color defined. */
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
    display: block;
}

ol,
ul {
    list-style: none;
}

table {
    /* tables still need 'cellspacing="0"' in the markup */
    border-collapse: separate;
    border-spacing: 0;
}

caption,
th,
td {
    font-weight: normal;
    text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

a:focus {
    /*outline: thin dotted;*/
}

a:hover,
a:active {
    outline: 0;
}

a img {
    border: 0;
    outline: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #404040;
    font-family: sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

b,
strong {
    font-weight: bold;
}
b.required { color: #d00; }

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 1.5rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

small {
    font-size: 75%;
}

big {
    font-size: 125%;
}

/*--------------------------------------------------------------
2.1 Structure
--------------------------------------------------------------*/
html {
    background: #666;
}

body {
    text-align: center;
}

.gradient {
    /* background: transparent url('/wp-content/themes/mmx/images/gradient.png') center center repeat-y; */
    background: rgb(161,23,37);
    background: linear-gradient(90deg, rgba(161,23,37,1) 0%, rgba(161,23,37,1) 15%, rgba(245,130,31,1) 50%, rgba(40,82,164,1) 85%, rgba(40,82,164,1) 100%);
    background-attachment: fixed;
}

.gradient-nav {
    height: 8px;
}

.gradient-footer {
    height: 12px;
    margin-top: 5px;
}

.site-content {
    display: flex;
    padding: 0;
    flex-wrap: wrap;
}

/*--------------------------------------------------------------
2.2 Header
--------------------------------------------------------------*/
#masthead {
    /*background-color: #444646;*/
    background-color: #fff;
    width: 100%;
    line-height: 0;
    position: relative;
}

.site-branding {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #003876;
}
.branding-wrapper {
    display: flex;
    flex-wrap: nowrap;
}
.site-branding .branding-wrapper > * {
    padding: 15px;
}

.site-title {
    color: #003876;
    text-transform: uppercase;
    font-size: 80%;
    flex: 1 1 60%;
    display: flex;
}
.site-title a {
    display: inline-block;
    background: transparent url('../images/mm_name.png') top left no-repeat;
    text-indent: -9999px;
    width: 190px;
    height: 40px;
    margin-top: 4px;
}
.site-title span {
    padding-top: 30px;
}

.quick-contact, .site-branding .search {
    flex: 1 1 15%;
}
.quick-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #003876;
    border-width: 0 1px;
    min-width: 200px;
}
.quick-contact a:link, .quick-contact a:visited, .quick-contact a:hover, .quick-contact a:active {
    color: #003876;
    text-decoration: none;
}
.site-branding .search {
    border: 1px solid #003876;
    border-width: 0 1px;
}
.site-branding .search .search-form {
    display: flex;
}
.site-branding .search .search-form .search-field {
    height: 40px;
    border: 0;
    flex: 1 0 80%;
}
.site-branding .search .search-form .search-submit {
    background: #fff url('../images/icons.png') -90px 0 no-repeat;
    width: 45px;
    height: 45px;
    border: 0;
    text-indent: -9999px;
    flex: 0 1 20%;
    box-shadow: none;
}

#logo-link {
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: -75px;
    z-index: 950;
}

#page {
    min-height: 350px;
}

#page, .header-slider {
    position: relative;
}

#page, .header-slider, .navigation-wrapper, .branding-wrapper {
    text-align: justify;
    max-width: 1400px;
    margin: 0 auto;
}

.content-area {
    flex: 1 0 75%;
    padding: 20px 25px;
}

#slider-h3, #slider-h4 {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin: 75px 0 0 35px;
    font-size: 24px;
    font-weight: bold;
    color: #001c3b;
    z-index: 810;
}

#slider-h4 {
    font-size: 18px;
    font-weight: normal;
    margin-top: 115px;
}

#slider-gradient {
    width: 100%;
    height: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%);
    z-index: 805;
    position: absolute;
    top: 0;
    left: 0;
}
#header-slider-container {
    height: 250px;
    float: none;
}

#header-slider-container #slides {
    overflow: hidden !important;
    height: 250px;
}

#header-slider-container .slidesjs-pagination {
    float: none;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1050;
    margin: 0 auto 30px;
}

#header-slider-container .slidesjs-pagination li a {
    background: #a11725;
    width: 20px;
    height: 20px;
    text-indent: -9999px;
    margin: 0 3px;
    border-radius: 10px;
}

#header-slider-container .slidesjs-pagination li a.active,
#header-slider-container .slidesjs-pagination li a:hover.active {
    background: #cb2136;
}

#header-slider-container .slidesjs-pagination li:nth-of-type(2) a {
    background: #f5821f;
}

#header-slider-container .slidesjs-pagination li:nth-of-type(2) a.active,
#header-slider-container .slidesjs-pagination li:nth-of-type(2) a:hover.active {
    background: #faba2d;
}

#header-slider-container .slidesjs-pagination li:nth-of-type(3) a {
    background: #003876;
}

#header-slider-container .slidesjs-pagination li:nth-of-type(3) a.active,
#header-slider-container .slidesjs-pagination li:nth-of-type(3) a:hover.active {
    background: #0051ab;
}
#header-slider-container .slidesjs-navigation { display: none !important; }

#header-slider-container .slide-image a.image-link {
    display: none;
}

a#slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    z-index: 890;
}

.breadcrumbs, #breadcrumbs {
    height: 30px;
    margin: 0;
}

#breadcrumbs li, #breadcrumbs strong {
    list-style: none;
    display: block;
    float: left;
    text-transform: uppercase;
    margin: 0 4px;
    color: #b0b0b0;
}

#breadcrumbs li {
    font-size: 75%;
}

#breadcrumbs a {
    color: #b0b0b0;
    text-decoration: none;
}

#breadcrumbs a:hover, #breadcrumbs strong {
    color: #909090;
}

#catapult-cookie-bar {
    font-size: 70%;
    text-align: center !important;
}

#catapult-cookie-bar a {
    display: block;
    clear: both;
}

/*--------------------------------------------------------------
2.3 Footer
--------------------------------------------------------------*/
.site-footer {
    background: #666;
    text-align: center;
    padding: 10px 0;
    font-size: 80%;
}

.site-info {
    text-align: justify;
    max-width: 1400px;
    margin: 3em auto 2em;
    color: #b3b3b3
}

.site-info img {
    float: left;
    margin-top: -7px;
}

.site-info p {
    padding-left: 90px;
    line-height: 0em;
}

.footer-link {
    display: block;
    float: right;
    margin-left: 20px;
}

.site-info .footer-link img {
    margin-top: 0;
}
.secondary-footer {
    max-width: 1400px;
    margin: auto;
    display: flex;
}
.secondary-footer > div {
    flex: 0 1 50%;
}
.secondary-footer .flaticon {
    padding-top: 2em;
    text-align: right;
    color: #a0a0a0;
}
.secondary-footer .flaticon a {
    color: #a0a0a0;
}

/*--------------------------------------------------------------
2.5 Social media icons
--------------------------------------------------------------*/
.site-branding .branding-wrapper > .social-media {
    flex: 1 1 10%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.social-media a {
    display: block;
    float: left;
    width: 45px;
    height: 45px;
    text-indent: -9999px;
    background: transparent url('../images/icons.png') 0 0 no-repeat;
}

#facebook:hover {
    background-position: 0px -45px;
}

#youtube {
    background-position: -45px 0px;
    margin-left: 12px;
}

#youtube:hover {
    background-position: -45px -45px;
}

/*--------------------------------------------------------------
2.6 Aggregation elements
--------------------------------------------------------------*/
.ag-element {
    display: block;
    width: 230px;
    height: 200px;
    float: left;
    text-align: center;
    font-size: 80%;
    margin: 10px 8px;
}

.ag-element .ag-img {
    background: #f0f0f0;
    line-height: 0;
    padding: 10px 0;
    height: 170px;
}

.ag-element .ag-title {
    border: 3px solid #f0f0f0;
    border-width: 0 1px 4px 1px;
    padding: 5px 0;
}

/*--------------------------------------------------------------
2.6 Product page
--------------------------------------------------------------*/
#product-image {
    width: 300px;
    height: 300px;
    float: right;
    clear: both;
    margin-bottom: 0.5em;
    padding-left: 1em;
}

.page-template-page-aggregate #product-image {
    display: none;
}

#product-links {
    width: 260px;
    background: #f0f0f0;
    position: relative;
    float: right;
    margin: 0 0 15px 40px;
    clear: both;
}

#product-links h5 {
    text-transform: uppercase;
    font-weight: bold;
    margin: 0;
    font-size: 120%;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-width: 4px 1px 0;
    padding: 3px 10px;
    text-align: right;
}

#product-links li {
    list-style: none;
    margin: 1px 10px;
}

#product-links li a {
    display: block;
    text-decoration: none;
    color: #000;
    background: transparent url('../images/download.png') right center no-repeat;
    padding: 6px 20px 6px 0px;
    text-align: right;
}

#product-links li a:hover {
    text-decoration: underline;
}

/*.page-template-default #product-links {
  position: relative;
  float: right;
  margin: 0 0 15px 30px;
}*/
.responsive-tabs-wrapper {
    width: 750px;
}

/*--------------------------------------------------------------
2.7 Page elements
--------------------------------------------------------------*/
h1.entry-title,
.search-results h1.page-title,
h3.post-heading,
.home #primary .entry-header .entry-title {
    font-weight: bold;
    font-size: 24px;
}

.entry-content h3 {
    font-weight: bold;
    font-size: 100%;
    display: block;
    background: #eee;
    padding: 1em 1.4em;
    margin: 1.4em 0;
    line-height: 1.6;
    max-width: 100%;
    overflow: auto;
    clear: none;
}
.entry-content h2 {
    background: transparent;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 80%;
    text-align: left;
    clear: none;
}
.entry-content h4 {
    font-weight: bold;
    margin: 1.4em 0;
}
/*.entry-content p::first-letter {
    margin-left: 1em;
}
.entry-content p:nth-of-type(1)::first-letter {
    margin-left: 0;
}*/

/*--------------------------------------------------------------
2.8 Tabs
--------------------------------------------------------------*/
.responsive-tabs .responsive-tabs__list .responsive-tabs__list__item {
    font-weight: bold;
    font-size: 80%;
    text-transform: uppercase;
    background-color: #f5f5f5;
}

.responsive-tabs .responsive-tabs__list .responsive-tabs__list__item--active {
    background-color: #eaeaea;
}

.responsive-tabs .responsive-tabs__list .responsive-tabs__list__item--active:hover,
.responsive-tabs .responsive-tabs__list .responsive-tabs__list__item:hover {
    background-color: #e5e5e5;
}
.tabcontent table {
    border-collapse: collapse;
}
.tabcontent table tr td {
    width: 65%;
    border-left: 2px solid #bbf;
    padding: 3px 7px;
    background: #eef;
}
.tabcontent table tr td:nth-of-type(1) {
    width: 35%;
    text-align: right;
    font-weight: bold;
    border: 0;
}
.tabcontent table tr:nth-of-type(even) td {
    background: #ddf;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

figure {
    margin: 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

th {
    font-weight: bold;
}
.center {
  text-align: center;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
    font-size: 100%; /* Corrects font size not being inherited in all browsers */
    margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
    vertical-align: baseline; /* Improves appearance and consistency in all browsers */
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, .8);
    cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
    -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 1;
    padding: .6em 1em .4em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    border-color: #aaa #bbb #bbb;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="checkbox"],
input[type="radio"] {
    padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
    -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
    /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
    -webkit-appearance: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
    color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
    padding: 3px;
}

textarea {
    overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
    padding-left: 3px;
    vertical-align: top; /* Improves readability and alignment in all browsers */
    width: 100%;
}

        .wpcf7-form label.section {
              display: block;
              line-height: 30px;
        }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="number"] {
  margin: -25px 0 0 200px;
  position: absolute;
}
.wpcf7-form .wide input {
  margin-left: 300px;
}
.wpcf7-form .wpcf7-list-item {
  display: block;
}
.wpcf7-form .wpcf7-submit {
  font-size: 14px;
}
#licence-type {
  position: relative;
  display: block;
  min-height: 275px;
}
#licence-type .rodzaj-licencji, #licence-types {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  margin: 0 0 0 150px;
}
#licence-types {
  margin: 23px 0 0 250px;
}
#licence-type .rodzaj-licencji .wpcf7-list-item, #licence-types a {
  display: block;
  margin: 4px 0;
}
#licence-type span.wpcf7-list-item {
  display: block;
  margin: 4px 0 4px 16px;
}
.captcha-wrap {
  margin: auto;
  width: 340px;
}
#form-update-info, #form-other-buyer, #licence-dod {
  display: none;
}
#licence-dod {
  margin-top: 3em;
}
#form-update-info {
  margin-bottom: 2em;
}

.cntctfrm_field_wrap {
    display: flex;
}
.cntctfrm_label {
    flex: 1 0 25%;
    text-align: right !important;
    padding: 0.3em 1em 0 0 !important;
}
.cntctfrm_label .required {
    color: #d00;
    font-weight: bold;
}
.cntctfrm_input input {
    line-height: 1.5 !important;
}
.cntctfrm_field_wrap {
    margin: 0 0 15px;
}
.cntctfrm_field_message_wrap {
    flex-wrap: wrap;
}
.cntctfrm_label_message {
    text-align: left !important;
    padding: 1em 0 0.5em !important;
}
.cntctfrm_input_message {
    flex: 1 0 100%;
}
.cntctfrm_contact_submit {
    font-size: 1.5rem !important;
}
.cntctfrm_input.cntctfrm_input_submit {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cntctfrm_checkbox_gdpr label {
    display: block;
    text-align: justify !important;
    line-height: 1.5em !important;
}
.cntctfrm_checkbox_gdpr input[type="checkbox"] {
    float: left;
    margin: 0.4em 1em 0 0;
}
.cntctfrm_checkbox_gdpr input[type="checkbox"]:after {
    content: '*';
    display: block;
    margin: 0 0 0 1em;
    color: #d00;
    font-weight: bold;
}
.cntctfrm_input_message textarea {
    padding: 0.5em;
    height: 250px;
}
div#cntctfrm_thanks {
    text-align: center;
    font-weight: bold;
    color: #0a0;
}

/******
 * Tooltips
 ******/

a.tooltips {
  position: relative;
  /*display: inline;*/
  cursor: pointer;
}
a.tooltips > span {
  position: absolute;
  width:370px;
  color: #000000;
  background: #FFFFFF;
  border: 2px solid #003876;
  line-height: 20px;
  text-align: center;
  visibility: hidden;
  border-radius: 12px;
  box-shadow: 3px 2px 6px #E6D1D1;
  padding-top: 1em;
}
a.tooltips > span li {
  text-align: left;
}
a.tooltips > span:before {
  content: '';
  position: absolute;
  top: 35px;
  right: 100%;
  margin-top: -12px;
  width: 0; height: 0;
  border-right: 12px solid #003876;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
a.tooltips > span:after {
  content: '';
  position: absolute;
  top: 35px;
  right: 100%;
  margin-top: -8px;
  width: 0; height: 0;
  border-right: 8px solid #FFFFFF;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
a:hover.tooltips > span {
  visibility: visible;
  opacity: 1;
  left: 100%;
  top: 50%;
  margin-top: -37px;
  margin-left: 15px;
  z-index: 999;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
    color: royalblue;
}

a:visited {
    color: #500;
}

a:hover,
a:focus,
a:active {
    color: #700;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
    clear: both;
    display: block;
    width: 100%;
    height: 75px;
    background: #f0f0f0;
}

.navigation-wrapper {
    padding-left: 150px;
    position: relative;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    display: flex;
}

.main-navigation li {
    flex: 1 1 auto;
    text-align: center;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    color: #000;
    font-size: 90%;
    letter-spacing: .05em;
}

.main-navigation a:hover {
    color: #bd060d;
}

.main-navigation .menu > li > span > a {
    padding: 40px 15px;
    line-height: 0px;
}

.main-navigation ul > li > ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 99999;
    background: #f0f0f0;
    width: 100%;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    margin-top: 70px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px 20px;
}
.main-navigation ul > li > ul:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    height: 8px;
    width: 100%;
    background: rgb(161,23,37);
    background: linear-gradient(90deg, rgba(161,23,37,1) 0%, rgba(161,23,37,1) 15%, rgba(245,130,31,1) 50%, rgba(40,82,164,1) 85%, rgba(40,82,164,1) 100%);
    background-attachment: fixed;
}
.main-navigation ul > li:hover > ul {
    display: flex;
}
.main-navigation ul > li > ul > li {
    justify-content: center;
    align-items: stretch;
    flex: 1 0 200px;
    border-left: 5px solid #f0f0f0;
}

.main-navigation .menu > ul > li > ul {
    margin-top: 75px;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul > li > ul a {
    text-transform: none;
    font-weight: normal;
    padding-top: 1em;
    margin-top: 1em;
}
.main-navigation ul > li > ul a span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    background: #e0e0e0;
    margin-top: 5px;
}
.main-navigation ul > li > ul a img {
    display: block;
    margin: auto;
}

.main-navigation li li:hover > span > a {
    background-color: #e0e0e0;
}

.main-navigation ul ul :hover > a {

}

.main-navigation ul ul a:hover {
}

.main-navigation ul ul li:hover > ul {
    left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current_page_item > span > a,
.main-navigation .current-menu-item > span > a,
.main-navigation .current_page_ancestor > span > a {
    color: #bd060d;
}

#menu-item-65 span {
    display: block;
    height: 30px;
    margin: 22px 10px 0;
    background: #003876;
}

#menu-item-65 span a {
    padding-top: 15px;
    color: #fff;
}

#menu-item-65 span a:hover {
    color: #dde6ef;
}

/* Small menu */
.menu-toggle {
    display: none;
}

@media screen and (max-width: 1020px) {
    .main-navigation.toggled .nav-menu {
        display: block;
        margin: auto;
    }

    .main-navigation.toggled .nav-menu {
        position: absolute;
        margin-left: -150px;
        z-index: 1001;
        background: #fff;
        border: 2px solid #f0f0f0;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

#mobile-menu,
#mobile-menu-toggle {
    display: none;
}

#mobile-menu-toggle {
    position: relative;
    width: 60px;
    height: 50px;
    margin: -3px 0 0 50%;
    border-top: 7px solid #003876;
    border-bottom: 7px solid #003876;
    border-left: 0;
    border-right: 0;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    outline: 0;
}
#mobile-menu-toggle:before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0px;
    width: 100%;
    border-top: 7px solid #003876;
}

/*--------------------------------------------------------------
5.2.1 Side menu
--------------------------------------------------------------*/

.side-menu {
    width: 25%;
    flex: 0 0 25%;
}

.side-menu title {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    padding: 16px 16px 20px;
    line-height: 0px;
    text-transform: uppercase;
    background: rgb(161,23,37);
    background: linear-gradient(90deg, rgba(161,23,37,1) 0%, rgba(161,23,37,1) 15%, rgba(245,130,31,1) 50%, rgba(40,82,164,1) 85%, rgba(40,82,164,1) 100%);
    background-attachment: fixed;
}

.side-menu .menu, .side-menu .sub-menu {
    margin: 0;
}

.side-menu .sub-menu {
    display: none;
}

.side-menu .menu li {
    list-style: none;
    text-align: left;
    background: #ccc;
}

.side-menu .menu li a {
    color: #000;
    text-decoration: none;
    line-height: 1.5em;
    padding: 5px 5px 5px 35px;
    display: block;
    position: relative;
}

.side-menu .menu li a:hover {
    text-decoration: underline;
}

.side-menu .sub-menu li {
    background: #e6e6e6;
}

.side-menu .sub-menu li a {
    padding: 5px 5px 5px 50px;
}

.side-menu a i {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    background: #eaeaea;
    border-radius: 5px;
    width: 10px;
    height: 10px;
    margin: 12px 0 0 12px;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}
.side-menu .menu > li.menu-item-has-children > a > i,
.side-menu .menu .sub-menu li.menu-item-has-children > a > i {
    width: 0;
    height: 0;
    border-right: 0;
    border-radius: 0;
    background: 0;
    border-top: 8px solid transparent;
    border-left: 12px solid #eaeaea;
    border-bottom: 8px solid transparent;
    margin-top: 10px;
}

.side-menu .sub-menu li a i {
    background-color: #bfbfbf;
    margin-left: 25px;
    cursor: default;
}

.side-menu .menu .sub-menu li.menu-item-has-children > a > i {
    border-left-color: #bfbfbf;
    cursor: pointer;
}

.side-menu .menu li.current-menu-item > a {
    color: #bd060d;
    text-decoration: none;
}

.side-menu .current-menu-item.menu-item-has-children {
    background-position: 12px -13px;
}

.side-menu .current-menu-item.menu-item-has-children > .sub-menu,
.side-menu .current-page-ancestor > .sub-menu/*,
.home.blog .side-menu .menu > li > .sub-menu*/ {
    display: block;
}

.side-menu .current-menu-item.menu-item-has-children > a i,
.side-menu .current-page-ancestor > a i {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.side-menu .sub-menu .sub-menu li {
    background: #f0f0f0;
}

.side-menu .sub-menu .sub-menu li a {
    padding: 5px 5px 5px 65px;
}

.side-menu .sub-menu .sub-menu li > a i {
    margin-left: 40px;
    cursor: default;
}

/*--------------------------------------------------------------
5.2.2 Main footer menu
--------------------------------------------------------------*/

.footer-menu-glowne-container {
    max-width: 1400px;
    margin: auto;
    padding: 2em 0;
    border-bottom: 1px solid #b3b3b3;
}

.footer-menu {
    display: flex;
    position: relative;
    list-style: none;
    justify-content: space-between;
    flex-wrap: wrap;
}
.footer-menu a,
.footer-menu #menu-item-65 span a {
    text-decoration: none;
    color: #b3b3b3;
}
.footer-menu a:hover,
.footer-menu #menu-item-65 span a:hover {
    color: #e0e0e0;
}
.footer-menu,
.footer-menu ul {
    margin: 0;
    padding: 0;
}
.footer-menu > li {
    text-align: left;
    padding-right: 10px;
}
.footer-menu > li > span > a {
    font-weight: bold;
    text-transform: uppercase;
}
.footer-menu > li > ul {
    list-style: none;
}
.footer-menu > li > ul > li {
    padding: 0.2em 0;
}
.footer-menu #menu-item-65 span {
    height: auto;
    margin: 0;
    background: inherit;
}
.footer-menu ul.sub-menu {
    margin-top: 1em;
}
.footer-menu > li:last-of-type {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 4.6em;
}
/*--------------------------------------------------------------
5.2.3 Bottom menu
--------------------------------------------------------------*/
.menu-dolne-menu-container {
    max-width: 1400px;
    margin: 2em auto 0;
}

#menu-dolne-menu {
    display: flex;
    margin: 0;
    padding: 0;
}

#menu-dolne-menu li {
    list-style: none;
    text-align: left;
    margin: 0 25px 0 0;
}

#menu-dolne-menu li a {
    color: #c2c2c2;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

#menu-dolne-menu li a:hover, #menu-dolne-menu li.current-menu-item a {
    color: #e0e0e0;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
    max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
    display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.0em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.blog .site-main {
    display: flex;
}
.blog .site-main .entry-header,
.blog .site-main .entry-content {
    padding-right: 15px;
}
.blog .site-main .post {
    display: block;
    width: 32%;
    flex: 1 0 32%;
    min-height: 350px;
    border: 1px solid #ccc;
    border-width: 0 1px 4px 0;
    margin: 0 10px;
}

.blog .site-main .post div.wp-post-image {
    width: 100%;
    border: 4px solid #ccc;
}
.blog .site-main .post div.wp-post-image a {
    display: block;
    width: 100%;
    padding-top: 56.25%;
    background-size: cover;
}

.blog .site-main .post .entry-title a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
}

.blog .site-main .post .entry-meta a, .single-post .site-main .entry-meta a {
    font-size: 75%;
    color: #700;
    text-decoration: none;
    text-transform: uppercase;
    margin-left: 10px;
}

.single-post .site-main .post-navigation .nav-links  a {
    display: block;
    height: 20px;
    line-height: 1em;
    text-decoration: none;
    background: transparent url('../images/prev.png') left bottom no-repeat;
    padding: 0 0 0 20px;
}
.single-post .site-main .post-navigation .nav-links .nav-next a {
    background: transparent url('../images/next.png') right bottom no-repeat;
    padding: 0 20px 0 0;
}

.blog .site-main .post .entry-content {
    margin-top: 7px;
    font-size: 90%;
}

.blog .site-main .post .more-link {
    display: block;
    float: right;
    clear: both;
    height: 35px;
    color: #666;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1em;
}

.blog .site-main .post .more-link:hover {
    text-decoration: underline;
}

/* TEMPORARY FIX */
.blog .navigation.posts-navigation { display: none; }

.bx-wrapper {
    max-width: 1300px !important;
    margin-bottom: -50px !important;
    clear: both !important;
}
.bx-wrapper::after {
    content: "NASI ODBIORCY:";
    font-size: 75%;
    letter-spacing: 5px;
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    margin-top: 20px;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
    max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    text-align: center;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
13 Responsive
--------------------------------------------------------------*/
@media screen and (max-width: 1200px) {
    .branding-wrapper {
        flex-wrap: wrap;
    }
    .site-title {
        flex-basis: 100%;
        border-bottom: 1px solid #003876;
    }
}
@media screen and (max-width: 1020px) {
    /* #mobile-menu-toggle {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1005;
        display: block;
        margin-left: 150px;
        background: transparent;
        border: 0;
        outline: 0;
        box-shadow: 0px 0px #f1f0f0;
    } */
    #mobile-menu-toggle {
        display: inline-block;
    }
    .toggled #mobile-menu-toggle {
        margin-left: 0;
        z-index: 4000;
        width: 100%;
        transform: translateY(60px);
        border-color: transparent;
    }
    .toggled #mobile-menu-toggle::before {
        border-color: transparent;
    }
    .main-navigation .nav-menu > li {
        display: none;
    }
    .main-navigation.toggled .nav-menu > li {
        display: list-item;
    }
    #header-slider-container { height: 72px; }
    #header-slider-container #slides { display: none !important; }
    a#slide-link { display: none; }
    .side-menu { flex: 1 0 100%; }
    #primary.content-area { flex: 1 0 100%; }
    /* .menu-produkty-container { display: none; } */
    .social-media { left: inherit; right: 0; margin: 2px; }
    .navigation-wrapper { padding-top: 15px; }
    .main-navigation .menu > li > span > a { padding: 38px 25px; }
    .site-info p { clear: both; line-height: 1em; padding: 10px 10px 0; }
    #menu-dolne-menu { width: 100%; padding: 10px;}
    #menu-dolne-menu li { margin: 0 25px 25px 0; }
    .site-content { padding: 0 10px 10px; }
    h1.entry-title { clear: right; }
    .side-menu { position: relative; float: left; margin-right: 10px; }
    #product-image { float: none; margin: auto 0 auto 210px; clear: none; }
    #product-links { float: right; margin: -280px auto 40px; clear: none; }
    .home.blog .site-main { margin-left: 210px; }
    .side-menu title { position: relative; }
    .side-menu title i {
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        margin: 10px 0 0 12px;
        width: 0;
        height: 0;
        border-right: 0;
        border-radius: 0;
        background: 0;
        border-top: 8px solid transparent;
        border-left: 12px solid #eaeaea;
        border-bottom: 8px solid transparent;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #header-slider-container { height: 0; }
    .main-navigation { height: 75px; }
    .main-navigation ul {
        flex-wrap: wrap;
    }
    #logo-link { margin-bottom: -165px; }
    .toggled #menu-menu-glowne-mm {
        width: 100vw;
        height: 100vh;
        padding-top: 50px;
    }
    .toggled #menu-menu-glowne-mm:before {
        content: '✕';
        display: flex;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 50px;
        align-items: center;
        justify-content: center;
        font-size: 30px;
    }
}

@media screen and (max-width: 980px) {
    .bx-wrapper { max-width: 100% !important; margin-left: 0 !important; }
}

@media screen and (max-width: 785px) {
    .responsive-tabs-wrapper { width: 100%; }
    #product-links { float: left; margin: 55px 10px 10px -210px; clear: none; font-size: 80%; width: 202px; border-right: 2px solid #fff; }
}

@media screen and (max-width: 545px) {
    #product-links { width: 100%; }
    h1.entry-title { margin-top: 10px; }
}

@media screen and (max-width: 480px) {
    .navigation-wrapper { padding-left: 0; }
    .main-navigation.toggled .nav-menu { margin-left: 0; }

    .side-menu { position: relative; width: 100%; }
    .side-menu .menu li a { font-size: 100%; }
    .home.blog .site-main { margin: 5px; }
    .home.blog .site-main .post { margin-top: 10px; }
    #logo-link { bottom: inherit; top: 0;  }
    #logo-link img { width: 75px; height: 74px; }
    /* .site-branding { margin: 4px 0 0 75px; } */
    .branding-wrapper .site-title { flex-wrap: wrap; }
    .branding-wrapper .site-title span { padding: 10px; }
    .branding-wrapper .search { border-width: 1px 0 0; flex: 1 0 100%; }
    .branding-wrapper .search form > label { width: 100%; }
    .branding-wrapper .search .search-form .search-field { width: 80%; }
    .branding-wrapper .quick-contact { border-left-width: 0; }
    .site-description { font-size: 70%; line-height: 1em; width: 200px; margin-top: 40px; text-align: left; }
    h1.entry-title { clear: both; margin-top: 10px; text-align: left; }
    #product-image { float: none; clear: both; margin: auto; }
    #product-links { float: none; width: 100%; clear: both; margin: 5px auto 40px; font-size: 110%; }
    #product-links li a { padding: 12px 20px 12px 0; }

    .main-navigation.toggled .menu-menu-glowne-mm-container { margin-top: 10px; }

    .home .site-main, .secondary-footer { flex-wrap: wrap; }
    .home.blog .site-main article.post { flex-basis: 100%; }
    .footer-menu-glowne-container, footer .site-info { padding: 10px; }
    footer .site-info { margin: 0; }
    .footer-menu > li { padding: 10px; padding-left: 0; }
    .secondary-footer { border-top: 1px solid #b3b3b3; }
    .secondary-footer > div { flex-basis: 100%; justify-content: center; padding: 0 10px; margin: 0; }
    .secondary-footer .flaticon { text-align: center; padding: 0 10px; }
}