/*
Theme Name: VB 2017
Theme URI: https://vladimirbalcar.cz/
Author: Michael Balcar
Author URI: https://michaelbalcar.cz/
Description: Vladimír Balcar web 2017
Version: 0.1

*/

@font-face {
    font-family: 'vbca';
    src: url('vbca.woff2') format('woff2'),
        url('vbca.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'vbca';
    src: url('vbca-bold.woff2') format('woff2'),
        url('vbca-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'vbca';
    src: url('vbca-extrabold.woff2') format('woff2'),
        url('vbca-extrabold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'trashhand';
    src: url('TrashHand-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}





/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
========================================================================== */

/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in
*    IE on Windows Phone and in iOS.
*/

html {
    line-height: 1.15;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}


/* Sections
========================================================================== */

/**
* Remove the margin in all browsers (opinionated).
*/

body {
    margin: 0;
}


/**
* Add the correct display in IE 9-.
*/

article,
aside,
footer,
header,
nav,
section {
    display: block;
}


/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

h4 {
    margin: 0.67rem 0;
}


/* Grouping content
========================================================================== */

/**
* Add the correct display in IE 9-.
* 1. Add the correct display in IE.
*/

figcaption,
figure,
main {
    /* 1 */
    display: block;
}

figcaption {
    margin: 0.5rem 0 1rem 0;
}

/**
* Add the correct margin in IE 8.
*/

figure {
    margin: 1rem;
    display: inline-block;
    text-align: center;
    color: #999;
    font-size: 1.2rem;
    max-width: 100%;
}


/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}


/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/* Text-level semantics
========================================================================== */

/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/

a {
    background-color: transparent;
    /* 1 */
    -webkit-text-decoration-skip: objects;
    /* 2 */
}


/**
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}


/**
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
*/

b,
strong {
    font-weight: inherit;
}


/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/

b,
strong {
    font-weight: bolder;
}


/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/**
* Add the correct font style in Android 4.3-.
*/

dfn {
    font-style: italic;
}


/**
* Add the correct background and color in IE 9-.
*/

mark {
    background-color: #ff0;
    color: #000;
}


/**
* Add the correct font size in all browsers.
*/

small {
    font-size: 80%;
}


/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}


/* Embedded content
========================================================================== */

/**
* Add the correct display in IE 9-.
*/

audio,
video {
    display: inline-block;
}


/**
* Add the correct display in iOS 4-7.
*/

audio:not([controls]) {
    display: none;
    height: 0;
}


/**
* Remove the border on images inside links in IE 10-.
*/

img {
    border-style: none;
}


/**
* Hide the overflow in IE.
*/

svg:not(:root) {
    overflow: hidden;
}


/* Forms
========================================================================== */

/**
* 1. Change the font styles in all browsers (opinionated).
* 2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
    font-family: sans-serif;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}


/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/

button,
input {
    /* 1 */
    overflow: visible;
}


/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/

button,
select {
    /* 1 */
    text-transform: none;
}


/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
*    controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/

button,
html [type="button"],

/* 1 */

[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
}


/**
* Remove the inner border and padding in Firefox.
*/

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}


/**
* Restore the focus styles unset by the previous rule.
*/

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}


/**
* Correct the padding in Firefox.
*/

fieldset {
    padding: 0.35em 0.75em 0.625em;
}


/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
*    `fieldset` elements in all browsers.
*/

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}


/**
* 1. Add the correct display in IE 9-.
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/

progress {
    display: inline-block;
    /* 1 */
    vertical-align: baseline;
    /* 2 */
}


/**
* Remove the default vertical scrollbar in IE.
*/

textarea {
    overflow: auto;
}


/**
* 1. Add the correct box sizing in IE 10-.
* 2. Remove the padding in IE 10-.
*/

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}


/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}


/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}


/**
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}


/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}


/* Interactive
========================================================================== */

/*
* Add the correct display in IE 9-.
* 1. Add the correct display in Edge, IE, and Firefox.
*/

details,

/* 1 */

menu {
    display: block;
}


/*
* Add the correct display in all browsers.
*/

summary {
    display: list-item;
}


/* Scripting
========================================================================== */

/**
* Add the correct display in IE 9-.
*/

canvas {
    display: inline-block;
}


/**
* Add the correct display in IE.
*/

template {
    display: none;
}


/* Hidden
========================================================================== */

/**
* Add the correct display in IE 10-.
*/

[hidden] {
    display: none;
}


/* ============================================================
PRIMARY STRUCTURE
============================================================ */

*,
html {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: "vbca", sans-serif;
}

a {
    position: relative;
    text-decoration: none;
    color: #f00;
}

p {
    margin: 0 0 1.6rem 0;
}

.grecaptcha-badge {
    opacity: 0;
    visibility: collapse !important;
}

.kategorie {
    margin: 0 auto 0.5rem auto;
    text-align: center;
    max-width: 960px;
    font-size: 1.5rem;
    letter-spacing: .33px;
    font-family: "vbca";
    font-weight: normal;
    color: #999;
    position: relative;
    z-index: 99;
    padding: 0 2rem;
}

.category .kategorie {
    letter-spacing: 0 !important;
}

.kategorie p {
    letter-spacing: 0;
}

.image .kategorie {
    margin-top: 3rem;
}

.kategorie b {
    font-size: 3.6rem;
    color: #f00;
    font-weight: bold;
    display: block;
    margin: 0.5rem;
    text-transform: uppercase;
}

body {
    font-size: 1.7rem;
    line-height: 1.25;
    color: #333;
    background: #fff;
    /*    background: linear-gradient(#fff 10%, #fff 85%, #f9f9f9 98%);*/
}

.category .content h2 {
    display: none;
}

.category-klienti .content h2,
.category-pravek .content h2 {
    display: block;
}

.container {
    max-width: 80%;
    padding: 1rem 0 2rem 0;
    margin: 0 auto;
    overflow: hidden;
}


.content .container {
    z-index: 99;
}

.pravek .container {
    overflow: visible;
}

.container > h2,
.o-nas h2 {
    font-size: 4rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 2px;
    margin: 1.5rem 0;
    color: #ff0000;
    line-height: 1.2;
    text-transform: uppercase;
    position: relative;
    z-index: 99;
}

.pravek h2 span {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: url(images/pravek.svg) center center no-repeat;
    background-color: #fff;
    min-height: 60px;

}

.pravek h2 {
    text-indent: -9999px;

}

.break {
    flex-basis: 100%;
    width: 0px;
    height: 0px;
    overflow: hidden;
}

.need-new {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.need-new a {
    font-size: 11rem;
    margin: 0rem 1rem;
    padding: 0;
    position: relative;
    display: inline-block;
    font-family: "Roboto slab";
    font-weight: 300;
    width: inherit;
    color: #333;
}

.need-new a:before {
    content: "•";
    position: absolute;
    display: block;
    left: -2rem;
    top: 29%;
    font-size: 5rem;
    animation: zobrazit 5s 1 forwards;
}

@keyframes zobrazit {
    0% {
        opacity: 0;
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 0.15;
    }
}

.need-new span {
    background-repeat: no-repeat;
    white-space: nowrap;
    opacity: 1;
    border-right: 3px solid transparent;

}

.need-new a span {
    width: 100%;
    opacity: 0;
    overflow: hidden;
    /*    display: block;*/
    background: transparent;
}

.need-new a:after {
    bottom: 10px;
    height: 6px;
}

.need-new a:hover:after {

    width: calc(100% - 3px) !important;
}

.need-new a.work-in-progress:hover:after,
.need-new a.work-in-progress:hover:before {
    width: 0 !important;
}

a.work-in-progress {
    opacity: 0.2;
    cursor: not-allowed;
}

.need-new a:nth-child(1):before,
.need-new a:nth-child(4):before,
.need-new a:nth-child(7):before,
.need-new a:nth-child(10):before {
    content: "";
}

.need-new a:nth-child(1) span {
    animation: typing-text 0.6s steps(4), blink .6s 1 forwards;
    animation-fill-mode: forwards;
    animation-delay: 0s;
}

.need-new a:nth-child(2) span {
    animation: typing-text 0.9s steps(6), blink .6s 1 forwards;
    animation-fill-mode: forwards;
    animation-delay: 0.6s;
}

.need-new a:nth-child(4) span {
    animation: typing-text 0.9s steps(6), blink .6s 1 forwards;
    animation-fill-mode: forwards;
    animation-delay: 1.5s;
}

.need-new a:nth-child(5) span {
    animation: typing-text 0.6s steps(4), blink .6s 1 forwards;
    animation-fill-mode: forwards;
    animation-delay: 2.4s;
}

.need-new a:nth-child(10) span {
    animation: typing-text 0.75s steps(5), blink .6s 1 forwards;
    animation-fill-mode: forwards;
    animation-delay: 4.5s;
}

.need-new a:nth-child(11) span {
    animation: typing-text 0.75s steps(5), blink .6s 3 forwards;
    animation-fill-mode: forwards;
    animation-delay: 5.25s;
}

.need-new a:nth-child(7) span {
    animation: typing-text 0.9s steps(6), blink .6s 1 forwards;
    animation-fill-mode: forwards;
    animation-delay: 3s;
}

.need-new a:nth-child(8) span {
    animation: typing-text 0.6s steps(3), blink .6s 1 forwards;
    animation-fill-mode: forwards;
    animation-delay: 3.9s;
}

.need-new a:nth-child(7) {
    color: #f00;
}

@keyframes blink {
    0% {
        border-color: transparent;
    }

    10% {
        border-color: transparent;
    }

    25% {
        border-color: #000;
    }

    74% {
        border-color: #000;
    }

    90% {
        border-color: transparent;
    }

    100% {
        border-color: transparent;
    }
}

@keyframes typing-text {
    from {
        width: 0%;
        min-width: 0%;
    }

    1% {
        opacity: 1;
    }

    to {
        opacity: 1;
        width: 100%;
        min-width: 100%;
    }
}


@keyframes typing-text2 {
    from {
        width: 0;
    }

    1% {
        opacity: 1;
    }

    99% {
        width: 100%;
    }

    to {
        opacity: 1;
    }
}


body > section:nth-child(4n + 4) {
    /*    transform: skewY(-4deg)  !important ;*/
    background: #f9f9f9;
}

body > section:nth-child(4n + 4) .container {
    /*    transform:   skewY(4deg) !important;*/
}

body > section:nth-child(4n + 2) {
    /*    transform:     perspective(1px) translate3d(0,0,0) skewY(-4deg) !important ;*/
    background: #f9f9f9;
}

body > section:nth-child(4n + 2) .container {
    /*    transform: skewY(4deg)  !important;*/
}

body > section#banner {
    transform: none !important;
}

body > section#banner .container {
    transform: none !important;
}

.menu {
    margin: 0;
    display: flex;
    align-items: center;
}

.menu li {
    list-style-type: none;
    display: inline-block;
    margin: 1rem .8rem 0 .8rem;
}

.menu li.fb-after {
    margin: 1rem 0.3rem 0 0.3rem;
}

.menu li:last-child {
    margin-right: 0;
}

.menu li:first-child {
    margin-right: 0;
}

.menu .instagram-icon {
    display: block;
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    opacity: 0.75;
    text-indent: -999px;
    overflow: hidden;
    margin: 0 auto;
    background: url(images/instagram.svg) center center no-repeat;
}

.menu .twitter-icon {
    display: block;
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    opacity: 0.75;
    text-indent: -999px;
    overflow: hidden;
    margin: 0 auto;

    background: url(images/twitter.svg) center center no-repeat;
}

.menu .facebook-icon {
    display: block;
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    opacity: 0.75;
    text-indent: -999px;
    overflow: hidden;
    margin: 0 auto;

    background: url(images/facebook.svg) center center no-repeat;
}

.menu .facebook-icon:hover,
.menu .instagram-icon:hover,
.menu .twitter-icon:hover {
    opacity: 1;
}

.menu li.fb-after a:after {
    content: none;
}

.menu a {
    color: #333;
    text-decoration: none;
    padding: 1rem .2rem;
    text-transform: uppercase;
    position: relative;
    font-size: 1.4rem;
    display: block;
}

.menu a:after,
.content a:after {
    display: block;
    position: absolute;
    left: 50%;
    width: 0;
    opacity: 1;
    height: 2px;
    background-color: #ff0000;
    content: "";
    transition: all 0.2s;
    cursor: pointer;
}


.need-new a:after {

    height: 6px;

}

.cat_ul {
    padding: 0;
}

div.post_tags,
div.categories {
    margin: 0 auto 3rem auto;
    text-align: left;
    color: #ccc;
    justify-content: center !important;
    position: relative;
    z-index: 150;
}

div.categories {
    margin: 0 auto;
}

.post_tags span,
.categories span {
    font-weight: 300;
    display: inline-block;
    margin-right: 1rem;
}

.categories li {
    display: inline-block;
}

.post_tags a,
.categories li a {
    display: inline-block;
    margin: 0 1rem;
    padding: 1rem 0.5rem;
    text-transform: uppercase;
}

.post_tags .active:after,
.current-cat a:after {
    width: 100%;
    left: 0;
}

#breadcrumbs {
    text-align: center;
    opacity: 0.33;
    font-size: 1.4rem;
}

#breadcrumbs a,
#breadcrumbs span {
    margin: 0.5rem;
    display: inline-block;
}

#breadcrumbs:hover {
    opacity: 1;
}

.scrollable {
    max-height: 400px;
    width: 100%;
    overflow: auto;
}

.scrollable img {
    width: 100%;
}

.menu a:hover:after,
.content a:hover:after {
    width: 100%;
    left: 0;
}

.reference-single,
.reference-single p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

.reference-single p {
    width: 100%;
    max-width: 900px;
}

.reference-single a {
    display: inline-block;
    margin: 1rem;
}

.reference-single h3 {
    width: 100%;
    text-align: center;
}

.reference-single figure a {
    margin: 0rem;
}

.archive .reference-flex .title {
    margin: 1rem auto;
}

.reference-single a:after {
    content: "";
    width: 0;
    height: 0;
    background: rgba(255, 0, 0, .25) url(images/zoom.svg) center center no-repeat;
    background-size: 100px;
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 50%;
    right: 0;
    z-index: 555;
    transition: none;
}

.border {
    position: relative;
}

.border:before {
    content: ".";
    /* you need something or it will be invisible at least on Chrome */
    color: transparent;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 99;
    border: 1px solid #dadada;
}


.reference-single a:hover:after {

    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

}

.reference-single img {

    display: block;
    /*    border: 1px solid #dadada;*/
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
}

.page-id-1198 .reference-single img,
.page-id-1218 .reference-single img {
    border: 0 !important;
}

.archive .reference-single img {
    border: 0 !important;
}

.button {
    margin: 2rem auto;
    display: inline-block;
    padding: 1.5rem 3rem;
    background: transparent;
    color: #333;
    border: 1px solid gray;
    transition: all 0.25s ease-in-out;
}

.button:hover {
    background: #d60000;
    border: 1px solid #d60000;
    color: #fff;
}

a.button:hover:after {
    width: 0 !important;
}



.o-nas h2 {
    text-align: left;
}

.motto {
    position: relative;
}

.o-nas ul {
    margin: 0;
    padding: 0 2rem;
}

.o-nas .flex {
    align-items: flex-start;
}

.o-nas .flex div {
    margin: 0 3vw;
}

.o-nas h5 {
    color: #f00;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

section.module {
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
}

.tag section.content {
    z-index: 150;
}

.category section.content {
    padding-top: 6rem;
}

section.o-nas {
    padding: 6rem 0 5rem 0;
}

.reference-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.flex {
    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.space-between {
    justify-content: space-between !important;
}

/*
.flex div {
    max-width: 55%;
}
*/

.space-around {
    justify-content: center;
}

.o-nas .space-around {
    justify-content: flex-start;
}

.o-nas p {
    margin-bottom: 0.6rem;
}

.relative {
    position: relative;
}

.reference-item {
    width: auto;
    height: auto;
    max-width: 405px;
    max-height: 405px;
    border: 1px solid #dadada;
    position: relative;
    margin: 1rem;
    /*
    margin-right: 2rem;
    margin-bottom: 2rem;
*/
    overflow: hidden;
}

.reference .reference-item {
    width: calc(33.3% - 2rem);

}

.tag-logo .reference-item,
.tag-slogan .reference-item {
    width: auto;
    height: auto;
    border: 0;
    overflow: visible;
}

.tag-vizual .reference-flex,
.tag-foto .reference-flex,
.tag-print .reference-flex {
    /*    align-items: flex-end;*/
}

.tag-vizual .reference-item-vizual,
.tag-foto .reference-item-vizual,
.tag-print .reference-item-vizual {

    width: auto;
    height: auto;

}

.tag-vizual .reference-item-vizual img,
.tag-foto .reference-item-vizual img,
.tag-print .reference-item-vizual img {
    height: auto;
    max-width: 405px;
    max-height: 405px;
    display: block;
    width: auto;

}

.category img[alt*="Logo"] {
    display: block;
    max-width: 55%;
    position: relative;
    max-height: 110px;
    z-index: 5;
    margin: 0 auto 2rem auto;
}

.kategorie img[alt*="Logo"] {
    max-height: 200px;
}

.reference-item img {
    height: auto;
    max-width: 100%;
    max-height: 405px;
    display: block;
    width: auto;
}

.divider {
    visibility: hidden;
    width: 100%;
    height: 0;
    display: block;
    opacity: 0;
    margin: 0;
}

.reference-item-slogan h3 {
    font-family: "Roboto Slab";
    font-weight: 300;
    font-size: 4.5rem;
    margin: 2rem 0;
    line-height: 1.1;
    width: 100%;

}

.reference-item-slogan:nth-child(2n+1) {
    text-align: left;
}

.tag .reference-item-slogan {
    width: 50%;
    margin: 0rem;
    padding: 1rem 3rem;
    display: flex;
    flex-wrap: wrap;
    align-content: center;

}

.reference-item-slogan p {
    font-weight: normal;
    font-size: 2rem;
    font-family: vbca, sans-serif;
    width: 100%;
}


.tag-logo #swipebox-slider .slide,
#swipebox-slider .slide {
    background: #fff;
    padding: 10% 15%;
}


.category .slide,
#swipebox-slider .slide {
    padding: 3rem 6rem;
    background: none;
}

#swipebox-slider .slide {
    visibility: hidden;
}

#swipebox-slider .slide.current {
    visibility: visible;
}




#swipebox-top-bar {
    bottom: 0px;
    top: auto;
    text-shadow: none;
}

/* CARTOONS  */
.cartoons-title span {
    color: #ff0000;
}

.page-template-cartoons .reference-single {
    border: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 33%;
    align-items: center;
}

.container h2.cartoons-title {
    font-size: 7.8rem;
    font-family: "trashhand", sans-serif;
    color: #333;
}

.menu .cartoon-font a {
    font-family: "trashhand", sans-serif;
    font-size: 2.1rem;
    letter-spacing: 0.75px;
}

.page-template-cartoons .reference-flex {
    align-items: baseline;
}

.cartoon-text {
    padding: 0 4rem;
}

.cartoon-text p {
    margin-bottom: 0.5rem;
}

.cartoon-text .small {
    font-size: 1.2rem;
    opacity: .33;
    text-align: center;
}

/* KONEC CARTOONS */


.tag #swipebox-top-bar,
.tag #swipebox-bottom-bar a,
#swipebox-top-bar,
#swipebox-bottom-bar a {
    color: #fff !important;
    font-family: vbca, sans-serif !important;
    font-size: 1.6rem !important;
    text-align: left !important;
    line-height: 1.25 !important;
}

#swipebox-top-bar,
#swipebox-bottom-bar {
    background: transparent;
}

.tag #swipebox-overlay {
    background: rgba(0, 0, 0, 0.9);
    padding: 12% 12%;
}

#swipebox-overlay {
    background: rgba(0, 0, 0, 0.9);
    padding: 12% 12%;
}

.tag #swipebox-bottom-bar,
#swipebox-bottom-bar {
    bottom: 47%;
}

#swipebox-bottom-bar #swipebox-prev {
    left: -55px;
    position: absolute;
}

#swipebox-next.disabled,
#swipebox-prev.disabled {
    opacity: 0.05 !important;
}

#swipebox-close {
    top: -55px;
    right: -55px;
}

#swipebox-bottom-bar #swipebox-next {
    right: -55px;
    position: absolute;
}

#swipebox-arrows {
    width: 100% !important;
    max-width: auto !important;
}

.tag-logo .reference-item img {
    height: 125px;
    min-height: 95px;
    width: auto !important;
    transition: transform 0.1s;
}

.tag-logo .reference-item a:after {
    width: 0;
    display: none;
}

.reference-item-logo {
    margin: 2rem;
}

.tag .reference-item img:hover {
    transform: scale(1.1);
}

.home .reference-item:nth-child(3n) {
    /*    margin-right: 0;*/
}

.home .reference-item img[src*=".svg"],
.reference-item img[src*=".svg"] {
    width: 405px;
}

.reference-item:last-child {
    /*    margin-right: 0;*/
}

.reference-item > div {
    position: absolute;
    top: 0;
    left: 0;
    padding: 3.5rem;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(255, 255, 255, 0.96);
    transition: all .1s linear;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
}

.reference-item > div > * {
    min-width: 95%;
}

.reference-item > div > a {
    min-width: auto;
}

.reference a,
.cartoons a,
.pravek a,
.aktualne a {
    color: #333;
    text-decoration: none;
}

.reference-item p {
    opacity: 0.5;
}

.reference-item .klient {
    font-weight: 400;
    color: #f00;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reference-item:hover > div {
    opacity: 1;
}

header {
    z-index: 999;
    position: sticky;

    top: 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
}

#banner {
    width: 100%;
    padding: 0;
    background: linear-gradient(#fff 0rem, #fff 10rem, #f5f5f5 35rem);
    position: relative;
    z-index: 50;
    height: 364px;
    display: flex;
    justify-content: space-around;
}

/*
.paralax {
height: 360px;
position: relative;
background-position: center 0px;
}
*/

.wrap-center {
    margin: 0 auto;
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
}




h2.vbca {
    font-family: "Roboto Slab", serif;
    font-size: 11rem;
    color: #333;
    text-transform: none;
}


.banner-centered {
    width: 100%;
    justify-content: space-around;

}

.owl-carousel .owl-item {
    overflow: hidden;
}

/* HERO 2020 */
.banner {
    height: 520px;
    flex-wrap: wrap;
}

.btn-mb {
    display: inline-block;
    max-width: 195px;
    margin: 2rem 0;
    text-align: center;
    background-color: #146a6c;
    color: #fff;
    border: 0;
    margin-bottom: 0;
}

.btn-mb:hover {
    color: #146a6c;
    background-color: #fff;
    border: 0;
}

.banner ul {
    margin: 0;
}

.banner .text p {
    color: #fff;
    margin-bottom: 0;
    max-width: 420px;
}

.banner li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vladimirbalcar {
    background: #000;

}

.vyladime-banner .text {
    max-width: 600px;
}

.banner.naboje {
    background: #fff url(images/hero/naboje.jpg) center center no-repeat;
    background-size: cover !important;
}



.banner.vyladime-banner {
    background: url(images/hero/vyladime.jpg) right center no-repeat;
    background-color: #8fb9bf;
    background-size: auto 100%;

}

.banner.vyladime-banner .flex-end {
    justify-content: flex-start;

}

.banner.vyladime-banner .large {
    font-size: 8rem;
    text-align: left;
    width: 100%;
    text-shadow: 2px 2px 1px #8fb9bf;
}

.vanocni.banner .container:before {
    width: 130%;
    margin-left: -15%;
}

.vanocni.banner {
    background-color: #160c05;
}

.banner .container {
    overflow: visible;
}

.container > * {
    position: relative;
    z-index: 2;
}

.vladimirbalcar .container {
    position: relative;
    z-index: 2;
    padding-right: 10%;
}

.vladimirbalcar.banner .large {
    font-size: 8.2rem;
}

.banner li.rotated {
    transform: rotate(180deg);
    text-align: left;
    margin-bottom: .7rem;
}

.banner .name {
    color: #fff;
    font-size: 2.7rem;
    display: block;
    text-align: right;
    margin-bottom: 0.5rem;
}
.banner .member {
    font-size: 1.2rem;
    color: #fff;
    display: block;
    text-align: right;
    opacity: .66;
    margin-top: 0.15rem;
    margin-bottom: 0.15rem
}

.michaelbalcar.banner .large,
.michaelbalcar.banner .name {
    color: #333;
}

.vladimirbalcar .container:before {
    content: "";
    background: url(images/hero/vb.jpg) 90% center no-repeat;
    background-size: auto 100%;
    transform: rotate(180deg);
    top: 0;
    bottom: 0;
    z-index: 1;
    left: 0;
    right: 0;
    position: absolute;
}

.michaelbalcar .container:before {
    content: "";
    background: url(images/hero/mb.jpg) 00% center no-repeat;
    background-size: auto 100%;
    top: 0;
    transform: rotate(0deg);
    bottom: 0;
    z-index: 1;
    left: 0;
    right: 0;
    position: absolute;
}

.michaelbalcar.banner {
    background-color: #eee;
}

.michaelbalcar.banner .large {
    font-size: 7.6rem;
}

.banner .flex > * {
    width: 100%;
}


.banner .flex-end {
    justify-content: flex-end;
}


.banner .container {
    height: 100%;
    position: relative;
}

.whitespace {
    white-space: nowrap;
}

.banner .large {
    font-size: 5.8rem;
    text-transform: uppercase;
    color: #fff;
    /*
    align-self: flex-end;
    justify-content: flex-end;
*/
    width: 56%;
    line-height: 1.1;
    font-weight: 800;
    text-align: right;
    display: block;
}

.vanocni.banner .large {
    text-align: left;
    width: 600px;
    text-shadow: 2px 2px 0px #160c05;
}

.vanocni .container:before {
    background: url(images/hero/vanocni.jpg) 0% center no-repeat;
    background-size: auto 100%;
    background-color: #160c05;
    content: "";
    top: 0;
    bottom: 0;
    z-index: 1;
    left: 0;
    right: 0;
    position: absolute;
}

/* KONEC HERO 2020*/


.vb {
    width: 100%;
    padding: 0;
    height: 100%;
    overflow: visible;
    position: absolute;
    left: 0;
    right: 0;
}

.opacity {
    height: 100%;
}

.vb .hero-img {
    position: relative;
    width: 690px;
    height: 364px;
}

.mb .hero-img {
    width: 600px;
}

.vb .banner-centered img {
    width: auto;
    display: block;
    position: absolute;
    right: 30px;
    bottom: -218px;
}

.mb .banner-centered img {
    width: auto;
    display: block;
    position: absolute;
    right: 30px;
    bottom: -221px;
}

.vb.mb {
    background: linear-gradient(#fff 0rem, #fff 10rem, #f5f5f5 35rem);
    height: 100%;
    display: none;
}

.name {
    /*    text-align: right;*/
    margin: 0;

    font-size: 1.4rem;
}

.phone {
    letter-spacing: 1px;
    padding-left: 2.33rem;
    margin-top: 1rem;
    margin-bottom: 0;
    background: url(images/phone.svg) left center no-repeat;
    background-size: 12px 18px;
}


.vb .name {
    margin-top: 2rem;

}

.vb .member {
    /*    padding-left: 11rem;*/
    margin-top: .33rem;
}

.mb .banner-centered h2 {
    /*    color: #fff !important;*/
}

.mb .name {
    /*    color: #fff;*/
    margin-top: 0;
    margin-right: 0;
    opacity: 0.5;
}

.vb .banner-centered h2 {

    font-size: 9.6rem;

    margin: 0;
    padding: 0;
    color: #333;
    text-transform: none;
    line-height: 0.9;
    font-family: "Roboto slab", serif;
    font-weight: 100;
}


.vb.mb h2 {
    font-family: vbca, sans-serif;
    font-weight: bold !important;
    text-transform: uppercase;
}

.vb.mb h2 span {
    font-weight: bold !important;
}

.vb .flex {
    flex-wrap: nowrap;
}

.vb .banner-centered h2 span {
    font-weight: 500;
    white-space: nowrap;
    display: block;
}


.vb .textytext {
    overflow: hidden;
    flex-shrink: 0;
    padding: 2rem 0;
    max-width: 100%;

}

.centered {
    text-align: center;
}

header .container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 6rem;
    padding-right: 6rem;

}

.flex-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.w3-button {
    display: inline-block;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    padding: 0px;
    padding-top: 2px;
    margin: 2rem 3px;
    background: rgba(155, 155, 155, .35);
    border: 1px solid rgba(155, 155, 155, .15);
    border-radius: 50px;
}

h1#logo {
    margin: 0;
}

a {
    cursor: pointer;
}

h1#logo a {
    position: relative;
    height: 60px;
    width: 300px;
    display: block;
    margin: 0;
}

.mobile-menu {
    display: none;
}


h1#logo img {
    display: block;
    height: 100%;
    width: 100%;
}

address {
    font-style: normal;
    line-height: 1.5;
    margin-bottom: 3rem;
    max-width: 27%;
}

address .heading {
    font-weight: 600;
    display: block;
    margin: 0.67rem 0;
}

footer address:first-child {
    margin-left: 0;
}

footer .small {
    font-size: 1.3rem;
    color: #aaa;
    border-top: 1px solid #dfdfdf;
    padding-top: 2rem;
    margin-top: 2rem;
}

footer .small a {
    color: #aaa;
    text-decoration: underline;

}

footer .small a:hover {
    text-decoration: none;
    color: #333;
}

footer address a {
    display: block;
    color: #999;
    letter-spacing: 0.25px;
    padding-bottom: 0.3rem;
    padding-top: 0.3rem;
    white-space: nowrap;
}

footer address a:hover {
    color: #ff0000;
}

footer address .profile-pic {
    width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

footer address a img {
    width: 10px;
    margin-right: 5px;
    margin-left: -18px;
    vertical-align: middle;
    opacity: 0.5;
    height: 100%;
}

footer address .location {
    line-height: 1.2;
}

footer address a:hover img {
    opacity: 1;
}

footer .centered {
    margin-bottom: -10px;
}

footer input[type="text"],
footer input[type="email"] {
    background-color: white;
    padding-left: 15px;
    margin-top: 5px;
}

footer div.wpcf7-response-output {
    margin-top: 5rem;
    padding: 2rem;
}

footer .flex {
    align-items: flex-start;
    justify-content: space-around;
}

footer address a.mail-icon img {
    width: 15px;
    margin-left: -21px;
    margin-right: 4px;
}

.contact form {
    margin-top: 3rem;
}



#form-messages {
    margin-bottom: 2rem;
}



.contact input,
.contact textarea {
    background: #fff;
    opacity: 1;
    color: #222 !important;
    font-size: 1.3rem;
    border: 0;
    display: inline-block;
    border: 1px solid #dadada !important;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
    min-height: 3.5rem;
}

.contact form .half {
    width: calc(50% - 0.76rem);
    display: inline-block;
    margin-right: 1rem;
}

.contact form .half2 {
    margin-right: 0;
}

.contact .logo-instavex {
    display: block;
    margin: 2rem auto 0;
}

.contact input[type="submit"] {
    width: auto;
    background: rgba(220, 0, 0, 1);
    padding: 1.25rem 2rem;
    font-size: 1.6rem;
    border: 0 !important;
    margin: 1rem 0;
    float: right;
    color: #fff !important;
}

.contact input[type="submit"]:hover {
    background: rgba(220, 0, 0, 0.8);
}

.contact input[type="submit"]:focus {
    color: #fff !important;
    background: rgba(220, 0, 0, .9);
}

p.lineheight {
    line-height: 1;
}

.contact input:focus,
.contact textarea:focus {
    background: #fff;
    color: #222 !important;
}

.contact textarea {
    min-height: 180px;
    width: 100%;
    padding: 1rem;
}

.contact label {
    font-size: 1.4rem;
    display: block;
    color: #222;
}

.contact label.active {
    font-size: 1.2rem !important;
    color: #222 !important;
}

.caption {
    display: flex;
    align-items: center;
    width: 90%;
    color: #333;
    margin: 2rem auto;
    text-align: left;
}

.caption img {
    width: 80px;
    margin: 0 2rem;
}

.caption.mb-caption {
    flex-direction: row-reverse;
    text-align: right;
}

.title {
    font-size: 4rem;
    color: #ff0000;
    width: 100%;
    text-align: center;
    position: relative;
    display: block;
    margin: 3rem auto;
}


/* VYLADIME */


.vyladime .uvod {
    display: flex;
    font-size: 1.8rem;
    color: #666;
    line-height: 1.4;
    padding-bottom: 4rem;
    align-items: center;
}

.vyladime .uvod i {
    font-size: 1.6rem;
    opacity: 0.7;
    margin-top: 1rem;
    line-height: 1.3;
    color: #1098aa;
    display: block;
}

.vyladime .uvod h2 {
    font-size: 6.5rem;
    color: #333;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    margin-top: 0rem;
    margin-bottom: 1.5rem;
}

.vyladime a[rel="lightbox"] {
    position: relative;
    display: inline-block;
}

.vyladime a[rel="lightbox"]:after {
    content: "";
    width: 0;
    height: 0;
    background: rgba(255, 0, 0, .25) url(images/zoom.svg) center center no-repeat;
    background-size: 100px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    transition: none;
}

.vyladime a[rel="lightbox"]:hover:after {
    width: 100%;
    height: 100%;

}

.vyladime a img {
    display: block;
    width: 100%;
    height: auto;
}

.border {
    border: 1px solid #ddd;
}

.vyladime .uvod img {
    max-width: 60%;
    height: auto;
    display: block;
    padding-left: 4rem;
}

.vyladime .obrazky {
    display: flex;
}

.highlight {
    color: #1098aa;
}



.vysvetlivka {
    background: #fff9b4;
    padding: 1.5rem;
    padding-bottom: 1.2rem;
    font-size: 1.4rem;
    display: flex;
    position: relative;
    align-items: center;
    z-index: 55;
    width: 130%;

    margin-bottom: 1rem;
    margin-top: 2rem;
    border-radius: 1rem;
}

.vysvetlivka span {
    font-size: 1.5rem;
    color: #999;
    position: absolute;
    top: -20px;
    left: 15px;
}

.vysvetlivka:before {
    content: "";
    width: 10px;
    height: 10px;
    display: block;
    transform: rotate(45deg);
    border-top: 15px solid transparent;
    border-left: 15px solid transparent;
    border-bottom: 15px solid #fff9b4;
    border-right: 15px solid #fff9b4;

    margin: 0;
    position: absolute;
    bottom: -12px;
    left: 45%;
    z-index: 2;

}

.novy,
.puvodni {
    position: relative;
    max-width: 40%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.novy a,
.puvodni a {
    display: block;
    width: 100%;
    height: 100%;
}

.grafika {
    justify-content: space-between !important;
}

.grafika .priklad {
    flex-direction: column;
    width: 40%;
}

.grafika .text {
    width: 42%;
}

.grafika .novy,
.grafika .puvodni {
    max-width: 100%;
    margin: 2rem;
}

.grafika .puvodni {
    margin-top: 0;
}

.grafika .novy {
    margin-bottom: 0;
}

.grafika .vysvetlivka {
    position: absolute;
    width: 320px;
    left: -200px;
    top: 30px;

}

.grafika .vysvetlivka:before {
    right: -12px;
    top: 30px;
    bottom: auto;
    left: auto;
    border-bottom: 15px solid transparent;
    border-left: 15px solid transparent;
    border-top: 15px solid #fff9b4;
    border-right: 15px solid #fff9b4;
}

.grafika .vysvetlivka.correct {
    bottom: 20px;
    left: -240px;
    top: auto;
    width: 260px;
}

.grafika .vysvetlivka.correct:before {
    border-bottom: 15px solid transparent;
    border-left: 15px solid transparent;
    border-top: 15px solid #d3eec2;
    border-right: 15px solid #d3eec2;
    top: 22px;
}

.grafika .sipka {
    margin: 0;
    transform: rotate(90deg);
}

.mailing .vysvetlivka.correct {
    width: 120%;
}

.socialni .text {
    width: 47.85%;
}

.socialni .priklad {
    width: 52.15%;
}

.socialni .vysvetlivka {
    width: 120%;
}

.socialni .vysvetlivka.correct {
    position: absolute;
    left: -310px;
    width: 300px;
    bottom: 5px;
    top: auto;
    right: auto;
}


.socialni .vysvetlivka.correct:before {
    border-bottom: 15px solid transparent;
    border-left: 15px solid transparent;
    border-top: 15px solid #d3eec2;
    border-right: 15px solid #d3eec2;
    right: -12px;
    left: auto;
    top: 28px;
    bottom: auto;
}

.socialni .puvodni {
    margin-bottom: 16rem;
}

.socialni .sipka {
    margin-bottom: 12rem;
}

.ppc .text {
    width: 46.5%;
}

.ppc .priklad {
    width: 53.5%;
}

.ppc .sipka {
    margin-bottom: 6rem;
}

.ppc .vysvetlivka span {
    left: -60px;
    top: 40%;
    text-align: right;
    width: 50px;
    display: block;
}

.ppc .vysvetlivka {
    width: 120%;
}

.ppc .vysvetlivka.correct {
    bottom: -90px;
    position: absolute;
    left: -10%;
    right: auto;
}

.ppc .vysvetlivka.correct:before {
    top: -12px;
    right: 47%;
    left: auto;
    bottom: auto;
    border-bottom: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #d3eec2;
    border-left: 15px solid #d3eec2;
}

.sipka {
    margin: 0rem;
    margin-top: 8rem;
}

.vysvetlivka.correct {
    background: #d3eec2;
}

.vysvetlivka.correct:before {
    border-top: 15px solid transparent;
    border-left: 15px solid transparent;
    border-bottom: 15px solid #d3eec2;
    border-right: 15px solid #d3eec2;
}


.vysvetlivka .icon {
    font-size: 3.6rem;
    display: block;
    margin: 0;
    padding: 0;
}

.vysvetlivka p {
    margin: 0;
    padding: 0;
    margin-left: 1rem;
}

.no-wrap {
    flex-wrap: nowrap;
}

.priklad {
    width: 56%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
}

.padding4rem {
    padding-top: 4rem;
    padding-bottom: 4rem;
}



.border-top {
    border-top: 1px solid #f1f1f1;
}

.border-bottom {
    border-bottom: 1px solid #f1f1f1;
}

.page-template-page-vyladime .text {
    width: 44%;
    padding-right: 6rem;
}

.number {
    font-size: 7.6rem;
    opacity: 0.2;
    font-weight: 800;
    display: block;
}

b.upper {
    font-size: 1.4rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: normal;
}

.vyladime h3 {
    text-transform: uppercase;
    font-size: 4.2rem;
    line-height: 1.2;
    font-weight: 800;
    margin: 2rem 0;
}

.vyladime .text p {
    font-size: 1.6rem;
    color: #999;
    line-height: 1.4;

}

.vyladime .text p:last-of-type {
    margin-bottom: 0;
}

.proc-nas .text {
    flex-direction: column;
    width: 960px;
    margin: 0 auto;
    text-align: center;
}

.proc-nas h2 {
    text-transform: uppercase;
    font-size: 6.5rem;
    font-weight: 800;
    margin: 2rem;
    line-height: 1.1;

}

.proc-nas {
    padding-bottom: 0 !important;
}

.page-template-page-vyladime section.module {
    padding-bottom: 1rem;

}

.page-template-page-vyladime section.module.contact {
    padding-top: 1rem !important;
    background: #fff;

}

/* KONEC VYLADIME */
@media only screen and (min-width: 1330px) {

    .container {
        max-width: 1300px;
        padding-left: 5rem;
        padding-right: 5rem;
    }

}

@media only screen and (max-width: 1330px) {
    body {}

    .container {
        max-width: 100%;
        padding-left: 5rem;
        padding-right: 5rem;
    }

    #banner {
        margin-top: 0;
    }
}

@media only screen and (max-width: 960px) {

    #o-nas {
        display: flex;
    }

    .o-nas .flex {
        align-items: flex-start;
        width: auto;
        display: inline-block;
        margin: 0 auto;
    }

}

@media only screen and (max-width: 800px) {
    address {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    address span,
    address a {
        width: max-content;
    }

    .need-new a {
        font-size: 7.2rem;
    }

    .need-new a:before {
        content: "";

    }

    .need-new a:after {
        height: 4px;
    }

    .menu li {
        width: 100%;
    }



    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

}

@media only screen and (max-width: 1260px) {
    .vb .banner-centered img {
        width: 620px;
        bottom: -196px;
    }

    .mb .banner-centered img {
        width: 560px;
        bottom: -204px;
    }

    .michaelbalcar.banner .container:before {
        background-position: -18% center;
    }


    .michaelbalcar.banner .large {

        width: auto;
        max-width: none;
    }

    .vanocni .container:before {
        background-position: -19% center;

    }

    .vanocni .container .large {
        width: 480px;
    }

    .banner.vyladime-banner {
        background-position: 125% center;
    }

    .vyladime-banner.banner .large {
        font-size: 6rem;
    }

    .banner.naboje {
        background: #fff url(images/hero/naboje-1100.jpg) center center no-repeat;
    }
}

@media only screen and (max-width: 1100px) {
    .vb .banner-centered img {
        width: 580px;
        bottom: -184px;
    }

    .vanocni .container:before {
        background-position: -24% center;

    }

    .vanocni .container .large {
        width: 410px;
        font-size: 5.2rem;
    }

    .banner.naboje {
        background: #fff url(images/hero/naboje-990.jpg) center center no-repeat;
    }

    .mb .banner-centered img {
        width: 470px;
        bottom: -173px;
    }

    .vb .banner-centered h2 {
        font-size: 8rem;
    }

    .vb .hero-img {
        height: 330px;
    }

    .michaelbalcar.banner .large {
        font-size: 6.4rem;
        letter-spacing: 0.0em;

    }

    .banner.vyladime-banner {
        background-position: calc(100% + 15rem) center;
    }

    .banner.vyladime-banner .text {
        max-width: 380px;
        font-size: 1.5rem;
    }

    .vyladime-banner.banner .large {
        font-size: 5.8rem;
    }

    #banner {
        height: 330px;
    }

    .vladimirbalcar.banner .container:before {
        background-position: 110% center;
    }

    .michaelbalcar.banner .container:before {
        background-position: -40% center;
    }

    .vladimirbalcar.banner .large {
        font-size: 7rem;
    }

    header .container {
        overflow: visible;
    }

    .menu {
        float: none;
        margin: 0 auto;
        padding: 0;
        display: flex;
        align-content: center;
        justify-content: center;
    }

    .menu {
        position: absolute;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0px 40px 40px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        text-align: center;
        width: calc(100% + 4rem);
        margin: 0 -2rem;
        left: 0;
        top: 7rem;
        height: auto;
        display: none;
        overflow: hidden;
    }


    .menu li {
        margin-left: 0;
        margin-right: 0;
    }

    .menu li:first-child {
        margin-top: 3rem;
    }

    .menu li:last-child {
        margin-bottom: 3rem;
    }

    .mobile-menu {
        margin-bottom: -1rem;
        color: #333;
        display: block;
    }

    .mobile-menu:hover {
        color: #f00;
    }

}

@media only screen and (max-width: 990px) {
    .vanocni .container:before {
        background-position: -180px center;

    }

    .vanocni .container .large {
        width: 370px;
        font-size: 4.6rem;
    }

    .banner.naboje {
        background: #fff url(images/hero/naboje-920.jpg) center center no-repeat;
    }
}

@media only screen and (max-width: 920px) {
    .vb .flex {
        flex-direction: column-reverse;
    }

    .banner.vyladime-banner {
        background-position: calc(100% + 10rem) center;
    }

    .banner.vyladime-banner .text {
        max-width: 300px;
    }

    .banner.vyladime-banner p {
        display: none;
    }

    .vyladime-banner.banner .large {
        font-size: 4.2rem;
    }

    #banner {
        height: 630px;
        padding-top: 3rem;
    }

    .vb .banner-centered img {
        width: 620px;
        bottom: -169px;
    }

    .mb .banner-centered img {
        width: 550px;
        bottom: -220px;
    }

    .vanocni .container:before {
        background-position: -220px center;

    }


    .vanocni .container .large {
        width: 340px;
        text-align: right;
        font-size: 4.2rem;
    }

    .page .container > h2,
    .page .o-nas h2 {

        margin: 5rem 0 1.5rem 0;

        z-index: 1;
    }

    .page-template-cartoons .reference-single {
        max-width: 50%;
    }

    .banner.naboje {
        background: #fff url(images/hero/naboje-820.jpg) center center no-repeat;
    }

    .vladimirbalcar.banner .container:before {
        background-position: 140% center;
    }

    .michaelbalcar.banner .container:before {
        background-position: -150px center;
    }

    .vladimirbalcar.banner .large {
        font-size: 5.6rem;
    }

    .vyladime .uvod {
        flex-wrap: wrap;
    }

    .vyladime .uvod .text {
        width: 100%;
        padding: 0rem;
        order: 2;

    }

    .vyladime .uvod .text h2 {
        margin-top: 1.5rem;
    }

    .vyladime .uvod img {
        max-width: 100%;
        padding: 0rem;
        margin: 2rem 0;
        order: 1;
    }

    .vyladime .flex.no-wrap {
        flex-wrap: wrap;
    }

    .vyladime .flex > div {
        width: 100%;
    }

    .vyladime .priklad {
        flex-direction: column;
    }

    .vyladime .novy,
    .vyladime .puvodni {
        margin: 0;
        max-width: 65%;
    }

    .vyladime .novy {
        margin-bottom: 2rem;
    }

    .vyladime .puvodni {
        margin-top: 4rem;
    }

    .vyladime .sipka {
        margin: 1rem;
        padding: 0;
        transform: rotate(90deg);
    }

    .vyladime .text {
        padding: 0rem;
    }

    .grafika .vysvetlivka,
    .grafika .vysvetlivka.correct,
    .socialni .vysvetlivka.correct {
        left: auto;
        top: auto;
        right: auto;
        bottom: auto;
    }


    .vysvetlivka:before {
        left: 47% !important;
        bottom: -12px !important;
        top: auto !important;
        border-top: 15px solid transparent !important;
        border-left: 15px solid transparent !important;
        border-right: 15px solid #fff9b4 !important;
        border-bottom: 15px solid #fff9b4 !important;
    }

    .vysvetlivka.correct:before {

        border-top: 15px solid transparent !important;
        border-left: 15px solid transparent !important;
        border-right: 15px solid #d3eec2 !important;
        border-bottom: 15px solid #d3eec2 !important;
    }

    .vyladime .vysvetlivka,
    .socialni .vysvetlivka.correct {
        margin: 1rem !important;
        max-width: 110%;
        position: relative;
    }



}

@media only screen and (max-width: 822px) {

    .banner.naboje img {
        width: 200%;
    }


    .reference .reference-item {
        width: auto;

    }

    .vanocni .container:before {
        background-position: -320px center;

    }

    .vanocni .container .large {
        width: 340px;
        text-align: right;
        font-size: 4.2rem;
    }

    .vladimirbalcar.banner .container:before {
        background-position: 170% center;
    }

    .vladimirbalcar.banner .large {
        font-size: 5.4rem;
        width: auto;
    }

    .banner .name {
        font-size: 2rem;
    }

    .michaelbalcar.banner .container:before {
        background-position: -200px center;
    }

    .banner.naboje {
        background: #fff url(images/hero/naboje-770.jpg) center center no-repeat;
    }
}

@media only screen and (max-width: 770px) {
    .vladimirbalcar.banner .container:before {
        background-position: 280px center;
    }

    .michaelbalcar.banner .container:before {
        background-position: -200px center;
    }

    .vladimirbalcar.banner .large {
        font-size: 5.4rem;
        width: auto;
    }

    .banner .container {
        padding-right: 4rem;
    }

    .vanocni .container:before {
        background-position: -320px center;

    }

    .vanocni .container .large {
        width: 340px;
        text-align: right;
        font-size: 3.8rem;
        line-height: 1.2;
    }

    .banner.naboje img {
        width: 200%;
    }

    .banner.naboje {
        background: #fff url(images/hero/naboje-670.jpg) center center no-repeat;
    }

    .page-template-cartoons .reference-single {
        max-width: 100%;
    }

}

@media only screen and (max-width: 670px) {
    .need-new {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .vb .banner-centered h2 {
        font-size: 6.5rem;
    }

    header .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }


    .vb .banner-centered img {
        width: 620px;
        bottom: -176px;
    }

    .banner.naboje {
        background: #fff url(images/hero/naboje-400.jpg) center center no-repeat;
    }

    .vanocni .container:before {
        background-position: -220px center;

    }

    .vanocni .container .large {

        font-size: 3.2rem;
        width: 300px;
    }


    .mb .banner-centered img {
        width: 550px;
        bottom: -222px;
    }

    .banner {
        height: 310px;
    }

    .banner .container {
        padding-right: 2rem;

    }

    h1#logo {
        width: 240px;

    }

    h1#logo a {
        width: 100%;
    }

    .vladimirbalcar.banner .name {
        font-size: 1.6rem !important;
    }

    .vladimirbalcar.banner .container:before {
        background-position: 150px center;
    }

    .vladimirbalcar.banner .large {
        font-size: 4rem;
    }

    .michaelbalcar.banner .container:before {
        background-position: -173px center;
    }

    .michaelbalcar.banner .large {
        font-size: 3.6rem;
    }

    .category .slide,
    #swipebox-slider .slide {
        padding: 0 !important;
    }
    .kategorie {
        text-align: left;
    }

    .container > h2, .o-nas h2 {
    
    text-align: left;
    padding: 0 2rem;
    }
}
