/*
Theme Name: onestoppack
Version: 1.0
Description: A child theme of Twenty Twenty
Template: twentytwenty
Author: Administrator
*/

@import url("../twentytwenty/style.css");

/* Your awesome customization starts here */


/*ANIMACE*/

.primary-menu li a:after,
.entry-content a:after,
#top .primary-menu ul li>a,
#top .wp-block-button__link,
.wp-block-column.ek-linked-block,
#top .language-menu li a,
figure.wp-block-image a img {
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -ms-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}


/*----------------------------------------------------------------------------------------------------GENERAL*/

* {
    letter-spacing: unset !important;
}

p.powered-by-wordpress,
.site-description {
    display: none;
}

#top a {
    text-decoration: none;
}

#top figure:not(.aligncenter) {
    margin: 0;
}

#top .wp-block-image {
    margin: 0;
}

figure.wp-block-image a {
    cursor: zoom-in;
}

#top .wp-block-gallery.has-nested-images figure.wp-block-image {
    max-width: max-content;
}

.entry-content hr::before,
.entry-content hr::after {
    display: none;
}

#top hr {
    background: transparent;
    border: none;
    margin: 30px auto;
}

#top .ek-linked-block a.editorskit-block-link {
    z-index: unset;
}

#site-content figure.featured-media {
    display: none;
}


/*--------------------------------------------------BARVY*/

:root {
    --blue: #006f9a;
    --gray-dark: #383837;
    --gray-light: #e3e3e3;
    --gray-font: #464140;
    --white: #ffffff;
    --black: #000000;
    --font: 'Catamaran', sans-serif;
}

.has-white-color {
    color: var(--white);
}

.has-white-background-color {
    background: var(--white);
}

.has-gray-dark-color {
    color: var(--gray-dark);
}

.has-gray-dark-background-color {
    background: var(--gray-dark);
}

.has-gray-font-color {
    color: var(--gray-font);
}

.has-gray-font-background-color {
    background: var(--gray-font);
}

.has-gray-light-color {
    color: var(--gray-light);
}

.has-gray-light-background-color {
    background: var(--gray-light);
}

.has-blue-color {
    color: var(--blue);
}

.has-blue-background-color {
    background: var(--blue);
}

.has-black-color {
    color: var(--black);
}

.has-black-background-color {
    background: var(--black);
}

body#top:not(.overlay-header) .primary-menu>li>a,
body#top:not(.overlay-header) .primary-menu>li>.icon,
#top .modal-menu a,
#top .wp-block-pullquote:before,
#top.singular:not(.overlay-header) .entry-header a,
#top .archive-header a,
#top .header-footer-group .color-accent,
#top .header-footer-group .color-accent-hover:hover,
#top .color-accent,
#top .color-accent-hover:hover,
#top .color-accent-hover:focus,
 :root .has-accent-color,
#top .has-drop-cap:not(:focus):first-letter,
#top .wp-block-button.is-style-outline,
#top a {
    color: var(--blue);
}

body#top,
#top .entry-title a,
 :root .has-primary-color {
    color: var(--gray-font);
}


/*--------------------------------------------------FONTY*/

body#top,
body#top * {
    font-family: var(--font);
}

#top .dashicons {
    font-family: 'dashicons';
}


/*--------------------------------------------------LAYOUT*/

.bgr-top {
    background: rgb(218, 232, 238);
    background: linear-gradient(0deg, rgba(218, 232, 238, 1) 58%, rgba(161, 184, 194, 1) 100%);
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

.bgr-bottom {
    position: absolute;
    width: 100%;
}

.bgr-top-inner img,
.bgr-bottom-inner img {
    object-fit: cover;
    width: 100%;
}


/*main#site-content * {
    z-index: 4;
}*/

#top .wp-block-columns.alignwide {
    margin-top: 2em;
    margin-bottom: 2em;
}

#top .alignwide {
    max-width: 120rem;
    position: relative;
    width: calc(100% - 4rem);
}

main#site-content {
    padding-bottom: 5vw;
}


/*--------------------------------------------------CLASSY*/

#top .tiles.has-background {
    padding: 0;
}

#top .tiles .wp-block-column:not(:first-child) {
    margin: 0;
}

#top .tiles .wp-block-column {
    flex-basis: 50%;
}

.tiles:not(.product) figure.wp-block-image {
    height: 100%;
}

.tiles:not(.product) figure.wp-block-image img {
    height: 100%;
    object-fit: cover;
}

.tile-content {
    padding: 40px;
}

#top .has-subheading {
    margin-bottom: 0;
}

.mb-0 {
    margin-bottom: 0;
}

#top .mt-0 {
    margin-top: 0;
}

#top .wp-block-columns.alignwide {
    margin-top: 2em;
    margin-bottom: 2em;
}

#top .promo {
    background-image: url(/wp-content/uploads/img/promo-bgr.png);
    background-size: cover;
    background-color: var(--gray-dark);
}


/*#top .promo .wp-block-columns {
    margin-top: 3vw;
    margin-bottom: 1vw;
}
.promo::before,
.promo::after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
}

.promo::before {
    top: 0;
    border-bottom: 8vw solid transparent;
    border-left: 100vw solid var(--gray-light);
}

.promo::after {
    bottom: 0;
    border-bottom: 8vw solid var(--gray-light);
    border-left: 100vw solid transparent;
}*/

#top .introduction {
    justify-content: center;
}

#top .introduction .wp-block-column {
    flex-basis: 60% !important;
}

.partners .wp-block-gallery.has-nested-images {
    justify-content: space-around;
}

.partners img {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain !important;
    margin: 10px 0;
}


/*tiles-columns*/

.tiles-columns {
    justify-content: center;
}

.tiles-columns .wp-block-column .wp-block-image img {
    max-height: 200px;
    min-height: 200px;
    width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.tiles-columns .wp-block-column h4 {
    margin: 0;
    padding: 2rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
}

#top .tiles-columns .wp-block-column {
    max-width: 270px;
}


/*--------------------------------------------------HOVERY*/

.primary-menu>li>a:after {
    content: "";
    display: block;
    position: relative;
    margin: 0 auto;
    width: 0%;
    height: 1px;
    background: var(--blue);
}

.primary-menu>li:hover>a:after {
    width: 100%;
}

.entry-content a:hover,
#top .primary-menu ul li:hover>a {
    font-weight: bold;
}

#top .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
    font-weight: bold;
    box-shadow: 0px 0px 10px 0px #00000061;
}

.wp-block-column.ek-linked-block:hover,
figure.wp-block-image a:hover img {
    transform: scale(1.05) !important;
    box-shadow: 0px 0px 10px 0px #00000061;
}

#top .is-style-outline .wp-block-button__link:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}


/*----------------------------------------------------------------------------------------------------PRVKYL*/

.entry-content hr::before,
hr.styled-separator::before,
.entry-content hr::after,
hr.styled-separator::after {
    display: none;
}


/*--------------------------------------------------NADPISY*/

#top h2,
#top .heading-size-2 {
    text-transform: uppercase;
    font-size: 5rem;
    font-weight: 900;
    color: var(--gray-dark);
}

#top h2.advgb-post-title {
    font-size: 28px;
    line-height: 1.3;
}

#top h2.advgb-post-title a {
    color: var(--gray-font);
}

#top h2.advgb-post-title a:hover {
    font-weight: inherit;
    color: var(--blue);
}

#top h4,
#top .heading-size-4 {
    font-size: 2.8rem;
}

#top h3,
#top .heading-size-3 {
    font-weight: 900;
}


/*--------------------------------------------------BUTTONY*/

#top button:not(.toggle),
#top .button,
#top .faux-button,
#top .wp-block-button__link,
#top .wp-block-file .wp-block-file__button,
#top input[type="button"],
#top input[type="reset"],
#top input[type="submit"],
#top.bg-accent,
#top .bg-accent-hover:hover,
#top .bg-accent-hover:focus,
 :root .has-accent-background-color,
#top .comment-reply-link {
    background-color: var(--blue);
    border-radius: 100px;
    text-transform: none;
    padding: 15px 35px;
    font-weight: 400;
    font-size: 25px;
    color: var(--white);
}

#top .is-style-outline .wp-block-button__link {
    background: none;
    border: 2px solid;
    color: var(--blue);
    font-size: 20px;
    padding: 10px 20px;
}


/*--------------------------------------------------FORMY*/

#top .frm_primary_label {
    //display: none;
}

#top fieldset {
    border: none;
    padding: 0;
}

#top input[type="text"],
#top input[type="password"],
#top input[type="email"],
#top input[type="url"],
#top input[type="date"],
#top input[type="month"],
#top input[type="time"],
#top input[type="datetime"],
#top input[type="datetime-local"],
#top input[type="week"],
#top input[type="number"],
#top input[type="search"],
#top input[type="tel"],
#top input[type="color"],
#top textarea {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 10px;
    border: none;
}

.frm_message p {
    color: white;
}

div#frm_form_2_container button.frm_button_submit {
    margin-top: 30px;
}

div#frm_form_2_container form {
    margin-top: 40px;
}

div#frm_form_2_container .frm_submit {
    text-align: center;
}


/*--------------------------------------------------TABULKY*/

#top table {
    margin: 0;
}


/*--------------------------------------------------WIDGETY*/


/*--------------------------------------------------SEZNAMY*/

#top ul {
    margin-left: 0;
}

::marker {
    font-size: 14px;
}


/*----------------------------------------------------------------------------------------------------HEADER*/

#top #site-header {
    background: transparent;
}

#top #site-header .header-inner {
    margin: 0 auto;
    z-index: 9;
}

@media (min-width: 1000px) {
    #top #site-header .header-inner {
        display: block;
    }
    .bgr-top {
        margin-top: -30px;
    }
}


/*scrolled*/

body:not(.scrolled) div#site-header-scrolled {
    transform: translateY(-500px);
}

div#site-header-scrolled {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
    background: #e3e3e3bd;
    backdrop-filter: blur(15px);
    box-shadow: 0px 0px 10px 0px #00000061;
}

body.admin-bar,
.admin-bar .bgr-top {
    top: 32px;
}

@media (max-width:768px) {
    body.admin-bar,
    .admin-bar .bgr-top {
        top: 46px;
    }
}

div#site-header-scrolled .header-inner {
    padding: 10px 0;
    margin: 0 auto;
}

div#site-header-scrolled .header-titles-wrapper,
div#site-header-scrolled .header-titles .site-logo {
    margin: 0;
}

@media (max-width: 1000px) {
    body:not(.enable-search-modal) div#site-header-scrolled .header-titles-wrapper {
        justify-content: space-between;
        padding: 0;
    }
    div#site-header-scrolled .header-inner .toggle {
        margin: 0;
        padding: 0;
        right: 0;
        width: max-content;
    }
}


/*--------------------------------------------------LANGUAGE SWITCHER*/

nav.language-menu-wrapper {
    margin-top: -5px;
}

ul.language-menu {
    list-style: none;
    margin: 0;
}

#top .language-menu li {
    margin: 0 20px 0 0;
    line-height: 1.25;
}

#top .language-menu li a {
    background: var(--white);
    padding: 15px;
    width: 55px;
    display: block;
    text-align: center;
}

ul.language-menu ul.sub-menu {
    list-style: none;
    position: absolute;
    visibility: hidden;
    display: none;
    margin-top: 0px;
    padding-top: 5px;
}

#top ul.language-menu ul.sub-menu li {
    margin: 5px 0;
    box-shadow: 0px 0px 10px 0px #00000061;
}

ul.language-menu>li:hover ul.sub-menu {
    visibility: visible;
    display: block;
}

#top .language-menu li:hover>a {
    background: var(--blue);
    color: var(--white);
}


/*--------------------------------------------------TOPBAR*/


/*--------------------------------------------------LOGO*/

.header-titles {
    margin: 0;
}

@media (min-width: 1000px) {
    #top #site-header .header-titles .site-logo {
        margin: 30px 0;
    }
    #top #site-header .site-logo img {
        max-height: unset;
        max-width: 20vw;
    }
}


/*--------------------------------------------------MENU*/

.primary-menu-wrapper {
    width: auto;
}

#top ul.primary-menu {
    justify-content: flex-start;
}

@media (max-width:1000px) {
    #top ul.primary-menu {
        font-size: 1.5rem;
    }
}

#top .primary-menu>li {
    margin: 0 40px 0 0;
}

#top .primary-menu .current_page_ancestor {
    text-decoration: none;
}

#top .primary-menu .current_page_ancestor>a,
#top .primary-menu .current-menu-item>a {
    font-weight: bold;
}

#top .primary-menu .icon::before,
#top .primary-menu .icon::after {
    background-color: var(--blue);
}


/* menu efekt */

.slideUp {
    -webkit-transform: translateY(-400px);
    transform: translateY(-400px);
    transition: transform .5s ease-out;
}

.slideDown {
    transition: transform .5s ease-out;
}


/*--------------------SUBMENU*/

.primary-menu ul li.menu-item-has-children .icon {
    transform: rotate(225deg);
    right: 2.5rem;
    top: 1.25rem;
}

#top .primary-menu ul {
    background: var(--gray-light);
    box-shadow: 0px 0px 10px 0px #00000061;
    border-radius: 8px;
    width: 30rem;
    z-index: 888;
}

.primary-menu ul::after {
    display: none;
}

#top .primary-menu>li.menu-item-has-children:hover>ul,
#top .primary-menu>li.menu-item-has-children:focus>ul,
#top .primary-menu>li.menu-item-has-children.focus>ul {
    left: -2rem;
    right: unset;
}

#top .primary-menu>li.menu-item-has-children>ul>li.menu-item-has-children:hover ul,
#top .primary-menu>li.menu-item-has-children>ul>li.menu-item-has-children:focus ul,
#top .primary-menu>li.menu-item-has-children>ul>li.menu-item-has-children.focus ul {
    left: calc(100% - 2rem);
    right: unset;
}

#top .primary-menu ul ul li:hover>ul {
    z-index: 99999;
}


/*--------------------------------------------------BURGERMENU*/

span.toggle-text {
    display: none;
}

.header-inner .toggle path {
    fill: transparent;
}

.header-inner .toggle {
    position: relative;
    margin: 0 30px;
}

.nav-toggle span.toggle-icon {
    background: var(--blue);
}

.nav-toggle span.toggle-icon::before,
.nav-toggle span.toggle-icon::after {
    content: "";
    display: block;
    width: 100%;
    height: 0.4rem;
    display: block;
    background: var(--blue);
    position: absolute;
}

.nav-toggle span.toggle-icon::before {
    top: -3px;
}

.nav-toggle span.toggle-icon::after {
    bottom: 0px;
}

.nav-toggle .toggle-icon,
.nav-toggle svg {
    height: 0.4rem;
    width: 4rem;
}


/*----------------------------------------------------------------------------------------------------MAIN CONTENT - PAGE*/

#top .post-inner {
    padding-top: 0;
}


/*--------------------------------------------------TITLE*/

#top header.entry-header {
    background: none;
    padding-top: 8vw;
    padding-bottom: 0;
}

@media (max-width: 1000px) {
    #top header.entry-header {
        padding-top: 16vw;
    }
}

#top.home header.entry-header {
    display: none;
}

#top.home main#site-content {
    padding-top: 5vw;
}

.entry-header-inner {
    display: flex;
    flex-direction: column-reverse;
}

#top h1.entry-title {
    font-size: 5rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    font-weight: 900;
}


/*--------------------BREADCRUMBY*/

.home .breadcrumbs {
    display: none;
}

.breadcrumbs {
    margin: 0 auto;
    text-align: right;
}

.breadcrumbs span.dashicons {
    margin-top: 2px;
}

.breadcrumbs .current-item,
.breadcrumbs .divider {
    opacity: 0.6;
}

@media (max-width: 1000px) {
    .breadcrumbs {
        display: none;
    }
}


/*--------------------------------------------------SIDEBAR*/


/*----------------------------------------------------------------------------------------------------FOOTER*/

#top .footer-nav-widgets-wrapper {
    padding-top: 140px;
    margin-top: 0;
}

#top .footer-nav-widgets-wrapper h3 {
    margin-bottom: 0;
}

#top .footer-nav-widgets-wrapper,
#top footer#site-footer {
    background: var(--blue);
    color: var(--white);
}

.footer-widgets-outer-wrapper {
    border: none;
}

.footer-widgets .widget {
    margin-top: 0;
}

#top .footer-nav-widgets-wrapper h2 {
    margin-top: 0;
    color: var(--white);
}

#top .footer-nav-widgets-wrapper a,
#top footer#site-footer a {
    color: var(--white);
    text-decoration: underline;
}

#top .footer-nav-widgets-wrapper button {
    background: var(--white);
    color: var(--blue);
    margin-top: 10px;
}

#top .footer-nav-widgets-wrapper span.dashicons {
    font-size: 40px;
    margin-right: 25px;
}


/*form*/

#top .footer-nav-widgets-wrapper input[type="text"],
#top .footer-nav-widgets-wrapper input[type="password"],
#top .footer-nav-widgets-wrapper input[type="email"],
#top .footer-nav-widgets-wrapper input[type="url"],
#top .footer-nav-widgets-wrapper input[type="date"],
#top .footer-nav-widgets-wrapper input[type="month"],
#top .footer-nav-widgets-wrapper input[type="time"],
#top .footer-nav-widgets-wrapper input[type="datetime"],
#top .footer-nav-widgets-wrapper input[type="datetime-local"],
#top .footer-nav-widgets-wrapper input[type="week"],
#top .footer-nav-widgets-wrapper input[type="number"],
#top .footer-nav-widgets-wrapper input[type="search"],
#top .footer-nav-widgets-wrapper input[type="tel"],
#top .footer-nav-widgets-wrapper input[type="color"],
#top .footer-nav-widgets-wrapper textarea {
    background: var(--gray-light);
}


/*to the top*/

#top:not(.scrolled) a.to-the-top {
    display: none;
}

a.to-the-top {
    background: var(--white);
    position: fixed;
    bottom: 20px;
    right: 20px;
    opacity: 0.7;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    text-decoration: none !important;
}

a.to-the-top::after {
    content: "\f342";
    font-family: 'dashicons';
    color: var(--gray-dark);
    font-size: 30px;
    position: absolute;
}

a.to-the-top:hover {
    opacity: 1;
}

span.to-the-top-long {
    display: none;
}

span.to-the-top-short {
    color: transparent;
}


/*--------------------------------------------------SOCKET*/

#top footer#site-footer {
    padding: 10px 0;
}


/*----------------------------------------------------------------------------------------------------RESPONZE*/

@media (min-width:1000px) {
    nav.language-resp-wrapper {
        display: none
    }
}

@media (max-width: 1000px) {
    #top h2,
    #top .heading-size-2 {
        font-size: 4.5rem;
    }
    #top h4,
    #top .heading-size-4 {
        font-size: 2.5rem;
    }
    #top #site-header .header-inner {
        padding: 1rem 0;
    }
    header:not(#site-header-scrolled) .site-logo img {
        max-height: 10rem;
    }
    body:not(.enable-search-modal) .header-titles-wrapper {
        align-items: flex-end;
    }
    #top .header-inner .toggle {
        margin: 0 20px;
        margin-bottom: 3px;
        padding: 0;
        right: unset;
        width: max-content;
    }
    ul.language-resp {
        margin: 0;
        list-style: none;
        line-height: 1;
    }
    ul.language-resp li {
        display: inline-block;
        line-height: 1;
        margin: 0;
    }
    ul.language-resp li:first-child::after {
        content: "|";
        margin: 0 0 0 5px;
        color: var(--gray-font);
    }
    #top ul.language-resp li.active a {
        color: var(--gray-font);
    }
}

@media (max-width: 768px) {
    #top h2,
    #top .heading-size-2,
    #top h1.entry-title {
        font-size: 4rem;
    }
    #top .tiles {
        flex-direction: column;
    }
    #top .tiles:nth-child(odd) {
        flex-direction: column-reverse;
    }
    .tiles figure.wp-block-image,
    .tiles figure.wp-block-image img {
        max-height: 280px;
    }
    #top .tiles .wp-block-column {
        margin-bottom: 0;
    }
}

@media (max-width: 500px) {
    #top h2,
    #top .heading-size-2,
    #top h1.entry-title {
        font-size: 3rem;
    }
    .tile-content {
        padding: 20px;
    }
    .bgr-top {
        padding-top: 70px;
    }
    body#top .header-titles-wrapper {
        justify-content: space-between;
        padding: 0;
    }
    #top .header-inner .toggle {
        margin: 0;
        padding: 0;
        right: 0;
        width: max-content;
    }
    body:not(.scrolled) .header-inner .toggle {
        position: absolute;
        bottom: 12px;
        left: unset;
        height: fit-content;
        top: 16px;
    }
    nav.language-resp-wrapper {
        position: absolute;
        right: 60px;
        top: 17px;
    }
    #top.home main#site-content {
        padding-top: 80px;
    }
}