/*
Theme Name: nutrisimi
Version: 1.0
Description: A child theme of Twenty Twenty
Template: twentytwenty
Author: Administrator
*/
@import url("../twentytwenty/style.css");
@import url("../nutrisimi/assets/css/fonts.css");
@import url("../nutrisimi/assets/css/colors.css");
/* Your awesome customization starts here */

/*--------------------------------------------------ANIMACE*/

ul.topbar-menu li.social a::after,
a.to-the-top::after,
.toggle span.toggle-icon::before,
.toggle span.toggle-icon::after,
#top a,
.entry-content a::after,
header#site-header,
.sidebar,
.overlay,
.slide-content,
.tile-content-wrapper,
#roller .slide-content-wrapper {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

/*----------------------------------------------------------------------------------------------------TYPOGRAFIE*/
body,
.entry-content,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content cite,
.entry-content figcaption,
.entry-content table,
.entry-content address,
.entry-content .wp-caption-text,
.entry-content .wp-block-file,
input,
textarea,
button,
.button,
.faux-button,
.faux-button.more-link,
.wp-block-button__link,
.wp-block-file__button,
.widget_text p,
.widget_text ol,
.widget_text ul,
.widget_text dl,
.widget_text dt,
.widget-content .rssSummary {
  font-family: "Montserrat";
}

.entry-content a {
  font-weight: 600;
  position: relative;
}

#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(--beige-1);
}

#top * {
  letter-spacing: unset;
}

#top a,
button:focus,
button:hover,
.button:focus,
.button:hover,
.primary-menu a:hover, .primary-menu a:focus, .primary-menu .current_page_ancestor {
  text-decoration: none !important;
}

.entry-content,
.entry-content li,
.entry-content p,
.advgb-recent-posts-block .advgb-post-readmore a,
li,
p,
a {
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-3);
}

#top p.has-large-font-size {
  font-size: 20px !important;
}


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

#top .wp-block-heading:first-child {
  margin-top: 0;
}

.entry-content .wp-block-columns h1,
.entry-content .wp-block-columns h2,
.entry-content .wp-block-columns h3,
.entry-content .wp-block-columns h4,
.entry-content .wp-block-columns h5,
.entry-content .wp-block-columns h6,
h1,
h2,
h3,
h4,
h5,
h6,
#top .archive-title {
  margin: 36px 0 20px;
  font-weight: 400;
  color: var(--gray-1);
  text-transform: none;
  line-height: 1.5;
}

h1,
.heading-size-1,
#top header.archive-header h2,
#top .archive-title {
  font-size: 42px;
}

#top h1.archive-title span.color-accent {
  color: inherit;
}

#top h2,
#top .heading-size-2 {
  font-size: 36px;
  font-weight: 400;
}

#top h2:not(.advgb-post-title):not(.entry-title)::after,
h1.entry-title::after,
.archive-title::after {
  content: "";
  display: block;
  width: 45px;
  height: 8px;
  background: url(/wp-content/themes/nutrisimi/assets/img/title.svg);
  margin: 10px 0;
}

h3,
.heading-size-3 {
  font-size: 32px;
}

h4,
.heading-size-4,
#roller h1,
#top .tile h1 {
  font-size: 28px;
}

h5,
.heading-size-5,
#top h2.advgb-post-title {
  font-size: 24px;
}

h6,
.heading-size-6,
#top .widget-wrapper h2.advgb-post-title,
.hp-slider .slide-content p,
span.price {
  font-size: 20px;
}

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

/*--------------------------------------------------HIDE*/

.site-description,
p.powered-by-wordpress,
.home .entry-header,
.entry-content hr::before,
.entry-content hr::after,
hr.styled-separator::before,
hr.styled-separator::after,
.post-meta-wrapper.post-meta-edit-link-wrapper,
.toggle svg.svg-icon,
.footer-nav-widgets-wrapper.header-footer-group,
footer#site-footer p.footer-copyright,
.advgb-count-up-columns-one h4,
span.meta-icon,
.post-meta-wrapper,
.entry-categories,
.single-post main#site-content article header.entry-header,
.singular .featured-media,
.pagination-single hr:last-child,
.page a.post-link,
.header-inner .toggle,
#roller img.slide-logo,
#top .slick-disabled,
#top .entry-content li.advgb-tab::before,
footer#site-footer,
.primary-menu ul::after,
.primary-menu>li>.icon,
.primary-menu ul::before {
  display: none !important;
}

/*--------------------------------------------------ZÁKLADNÍ HTML*/

/*--------------------------------------------------LAYOUT*/
.wp-block-image img {
  border-radius: 10px;
}

.wp-block-columns.alignfull,
.alignfull:not(.has-background)>div>.wp-block-columns,
hr.wp-block-separator.alignwide {
  padding-left: 50px;
  padding-right: 50px;
}

.single-post .alignfull:not(.has-background)>div>.wp-block-columns,
.archive .alignfull:not(.has-background)>div>.wp-block-columns,
.blog .alignfull:not(.has-background)>div>.wp-block-columns {

  padding: 0 !important;
}

@media (min-width: 1400px) {

  .wp-block-columns.alignfull,
  .alignfull:not(.has-background)>div>.wp-block-columns,
  .archive-wrapper,
  .content-wrapper {
    padding-left: 50px;
    padding-right: 320px !important;
  }
}

@media (min-width: 1000px) {
  main#site-content {
    margin-left: 320px;
  }

  .entry-content>.alignwide {
    width: calc(100% - 320px);
  }

  div#responsive-header,
  div#sidebar-toggler {
    display: none !important;
  }
}

@media (max-width: 1000px) {
  main#site-content {
    margin-top: 80px;
  }

  .archive-wrapper,
  .content-wrapper {
    padding: 0 20px;
  }
}

#top .entry-content>div:first-child {
  margin-top: 0;
}

#top figure.wp-block-image,
.featured-media,
header.archive-header h2,
.archive-title,
.archive-header-inner,
#top h1.archive-title,
#top .widget-wrapper .advgb-post-wrapper,
#top .widget-wrapper ul.wp-block-categories-list,
figure.wp-block-gallery.alignfull {

  margin: 0;
}

#top .alignwide,
.entry-content>*:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  max-width: unset;
}

.entry-content>*:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  width: 100%;
}

.wp-block-columns.alignwide+.wp-block-columns.alignwide,
.wp-block-columns.alignfull+.wp-block-columns.alignfull {
  margin-top: 0;
}

.alignfull .alignwide .alignwide,
.alignfull:not(.has-background) .wp-block-columns {
  padding: 0;
  width: 100%;
}

/*adminbar*/
.admin-bar header#site-header,
.admin-bar div#responsive-header {
  top: 32px;
}

/*--------------------------------------------------CLASSY*/
.mt-0 {
  margin-top: 0 !important;
}

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

.cta .wp-block-columns .wp-block-columns {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  background: url(/wp-content/themes/nutrisimi/assets/img/cta-bgr.png);
  background-size: cover;
  padding: 30px 50px !important;
}

.cta fieldset {
  background: none;
}

.quote::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url(/wp-content/themes/nutrisimi/assets/img/quote.svg) no-repeat;
  background-size: 32px;
  margin-bottom: 10px;
}

.border {
  border: 1px solid var(--beige-7);
  border-radius: 10px;
  padding: 30px;
}

.step {
  padding: 20px;
  border-radius: 10px;
}

#top .step h6 {
  margin-top: 16px;
  margin-bottom: 16px;
}

.step .number {
  font-size: 48px;
  line-height: 1;
}

#top .service {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  padding: 30px;
}

#top .service ul {
  margin-left: 16px;
}

#top .service h6 {
  margin-top: 16px;
  margin-bottom: 8px;
}
.points {
  gap: 20px;
}
/*--------------------------------------------------HOVERY*/
#top h2.advgb-post-title a:hover,
nav.kontakt-menu li a:hover,
#top h5.entry-title a:hover,
#top nav.kontakt-menu li a:hover,
#top .kontakt a:hover {
  color: var(--beige-1);
}

#top ul.wp-block-categories-list li a:hover {
  background: var(--beige-1);
  color: white;
}

/*----------------------------------------------------------------------------------------------------PRVKY a BLOKY*/

/*--------------------------------------------------TABY*/
.advgb-tab-body-wrapper {
  border: none !important;
}

.advgb-tab-body-wrapper div.advgb-tab-body {
  border: none;
  padding: 0;
}

#top .entry-content li.advgb-tab {
  padding-left: 0 !important;
  background: none !important;
  border: none !important;
}

#top ul.advgb-tabs-panel li.advgb-tab.advgb-tab-active a,
#top ul.advgb-tabs-panel li.advgb-tab:hover a,
#top ul.advgb-tabs-panel li.advgb-tab a:hover,
#top ul.advgb-tabs-panel li.advgb-tab a:focus {
  background: var(--beige-1) !important;
  color: white !important;
}

/*--------------------------------------------------COUNTER*/
#top .advgb-count-up>div {
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
}

#top span.advgb-counter-number {
  font-size: 42px;
  line-height: 51px;
  color: var(--beige-1);
}

p.advgb-count-up-desc {
  font-size: 20px;
  line-height: 24px;
  color: var(--gray-1);
}

.advgb-counter {
  position: relative;
}

#top .advgb-counter::before {
  content: "";
  display: block;
  width: 100px;
  height: 100px;
  position: absolute;
  background: url(/wp-content/themes/nutrisimi/assets/img/proof-1.png) no-repeat;
  z-index: -1;
  background-size: contain;
  left: -10px;
  top: -15px;
}

#top .advgb-counter::after {
  content: "";
  display: block;
  width: 100px;
  height: 100px;
  position: absolute;
  background: url(/wp-content/themes/nutrisimi/assets/img/proof-2.png) no-repeat;
  z-index: -1;
  background-size: contain;
  left: -12px;
  top: -18px;
}

/*--------------------------------------------------BUTTONY*/
#top .wp-block-button__link,
#top .slide-content a.button,
.button,
button.frm_button_submit {
  padding: 10px 30px;
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  text-transform: none;
  border: 3px solid var(--beige-1);
  background: var(--beige-1);
  border-radius: 50px;
  color: var(--black);
}

.frm_submit {
  text-align: center;
}

button.frm_button_submit {
  background: var(--secondary-100);
  border-color: var(--secondary-100);
  color: white;
}

#top .is-style-outline .wp-block-button__link,
#top .slide-content a.button {
  box-shadow: none;
  background: white;
}

#top .is-style-outline .wp-block-button__link:hover {
  background: var(--beige-1);
}

#top .wp-block-button__link:hover {
  background: white;
}

/*--------------------------------------------------FORMY*/
fieldset {
  background: var(--beige-10);
  border: none;
}

label {
  margin: 0;
  font-size: 14px;
}

.form-field {
  margin-bottom: 20px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="week"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="color"],
textarea {
  border: 1px solid var(--gray-8);
  border-radius: 10px;
}

/*--------------------------------------------------ODDĚLOVAČE*/
#top hr.white-space {
  background: none;
  margin: 15px 0;
}

#top hr.wp-block-separator.logo,
.pagination-single hr:first-child {
  background: var(--beige-9) !important;
  display: flex;
  align-items: center;
  margin-left: 0;
}

#top hr.wp-block-separator.logo::after,
.pagination-single hr:first-child::after {
  content: "";
  display: block !important;
  width: 40px;
  height: 40px;
  transform: none;
  background: white;
  background-image: url(/wp-content/themes/nutrisimi/assets/img/nutrisimi_hr.svg);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
  left: 0;
  right: 0;
  position: absolute;
  top: -20px;
}

/*--------------------------------------------------SEZNAMY*/
.entry-content ul,
.entry-content li {
  margin: 0;
}

.entry-content ul {
  margin-bottom: 14px;
}

#top .entry-content ul li:not(.cat-item) {
  list-style: none;
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}

.entry-content ul li:not(.cat-item)::before {
  content: "";
  width: 14px;
  height: 26px;
  background: url(/wp-content/themes/nutrisimi/assets/img/nutrisimi_li.svg) no-repeat;
  background-position: center;
  display: block;
  flex-basis: 20px;
  position: absolute;
  left: 0;
  top: 0;
}

ol.wp-block-list {
  margin-left: 24px;
}

ol li::marker {
  font-size: 20px;
  color: var(--beige-4);
  font-weight: 700;
}

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

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

/*----------------------------------------------------------------------------------------------------HEADER*/
header#site-header {
  position: fixed;
  height: 100%;
  background: var(--beige-10);
  border-right: 1px solid var(--beige-8);
  z-index: 66;
  bottom: unset;
  overflow-y: scroll;
}

.header-inner.section-inner {
  flex-direction: column;
  margin: 0;
  padding: 0;
  width: 100%;
  align-items: flex-start;
}

/*header nemizí v responzi*/
#top .header-navigation-wrapper {
  display: flex;
}

#top .primary-menu-wrapper {
  display: block;
}

/*header v responzi*/

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

  div#responsive-header {
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100vw;
    display: flex;
    background: white;
    border-bottom: 1px solid var(--beige-8);
  }

  div#responsive-header .section-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 10px 0;
  }

  div#responsive-header .section-inner img {
    max-height: 60px;
  }

  .header-navigation-wrapper {
    width: 100%;
    padding: 0 20px;
    flex-direction: column;
  }

  #top header#site-header {
    transform: translateX(-320px);
    /*margin-top: 80px;*/
    min-width: 280px;
  }

  #top header#site-header.active {
    transform: none;
  }
}

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

/*--------------------------------------------------LOGO*/
#top .header-titles-wrapper {
  margin: 0;
  max-width: unset;
  padding: 0;
}

#site-header .header-titles {
  background: var(--white);
  padding: 20px 30px;
  margin: 0;
}

.header-titles .site-logo {
  margin: 0;
}

/*--------------------------------------------------MENU*/
.header-navigation-wrapper {
  width: 100%;
  padding: 0 30px;
  flex-direction: column;
}

ul.primary-menu {
  flex-direction: column;
  margin: 0;
}

.primary-menu>li {
  margin: 0;
  border-bottom: 1px solid var(--beige-7);
}

body#top .primary-menu>li>a {
  color: var(--gray-4);
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  padding: 20px 10px;
  display: flex;
  align-items: center;
  gap: 20px;
}

body#top .primary-menu>li.menu-item-has-children>a {
  padding-bottom: 10px;
}

body#top .primary-menu>li>a:hover,
body#top .primary-menu>li.current-menu-item>a,
.primary-menu ul a:hover,
body#top .primary-menu ul li.current-menu-item>a {
  color: var(--gray-1);
}

body:not(.overlay-header) .primary-menu>li>a::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
}

body:not(.overlay-header) .primary-menu>li.o-mne>a::before {
  background: url("../nutrisimi/assets/img/o-mne.svg");
}

body:not(.overlay-header) .primary-menu>li.sluzby>a::before {
  background: url("../nutrisimi/assets/img/sluzby.svg");
}

body:not(.overlay-header) .primary-menu>li.projekty>a::before {
  background: url("../nutrisimi/assets/img/projekty.svg");
}


body:not(.overlay-header) .primary-menu>li.magazin>a::before {
  background: url("../nutrisimi/assets/img/magazin.svg");
}

body:not(.overlay-header) .primary-menu>li.kontakt>a::before {
  background: url("../nutrisimi/assets/img/kontakt.svg");
}

body:not(.overlay-header) .primary-menu>li.reference>a::before {
  background: url("../nutrisimi/assets/img/reference.svg");
  background-size: cover;
}

/*kontakt menu*/
nav.kontakt-menu {
  width: 100%;
  background: var(--beige-9);
  padding: 10px;
  margin-top: 20px;
}

nav.kontakt-menu ul {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

nav.kontakt-menu li {
  display: flex;
  margin: 0;
}

#top nav.kontakt-menu li a,
#top .kontakt a {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
  font-size: 14px;
  line-height: 26px;
  color: var(--black);
}

/*ikony*/
nav.kontakt-menu li a::before,
.kontakt a::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
}

nav.kontakt-menu li.tel>a::before,
.kontakt.tel a::before {
  background: url("../nutrisimi/assets/img/tel.svg") no-repeat;
  background-position: center;
}

nav.kontakt-menu li.mail>a::before,
.kontakt.mail a::before {
  background: url("../nutrisimi/assets/img/mail.svg") no-repeat;
  background-position: center;
}


.kontakt.pin a::before {
  background: url("../nutrisimi/assets/img/pin.svg") no-repeat;
  background-position: center;
}

/*header footer*/
.header-footer-wrapper {
  position: relative;
  max-width: 320px;
  padding: 0 30px;
}
ul.footer-social {
  justify-content: center;
  margin: 10px 00;
}
ul.footer-social li {
  margin: 0;
}

#top .header-footer-wrapper path {
  fill: var(--beige-1) !important;
}

p.footer-copyright {
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
}

#top p.footer-copyright a {
  font-weight: 800;
  font-size: 12px;
  color: inherit;
}

#top .social-icons a {
  background: none;
}

/* menu efekt */

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

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

/*--------------------SUBMENU*/
#top .primary-menu ul {
  position: relative;
  right: unset;
  top: unset;
  transform: none;
  display: block;
  opacity: 1;
  background: none;
  width: 100%;
  padding: 0 0 10px 0;
}

#top .primary-menu ul a {
  padding-left: 62px;
  color: var(--gray-4);
}
#top .primary-menu ul a::before {
  content: "- ";
}
/*--------------------------------------------------BURGERMENU*/
div#header-toggler {
  position: absolute;
  left: 0;
}

#top #header-toggler button.toggle {
  position: relative;
  width: 32px;
}

button.toggle.close-nav-toggle.fill-children-current-color {
  outline: none !important;
}

span.toggle-icon {
  background: var(--beige-1);
}

span.toggle-icon::before,
span.toggle-icon::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  display: block;
  background: var(--gray-3);
  position: absolute;
  border-radius: 4px;
}

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

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

.nav-toggle .toggle-icon,
.nav-toggle svg {
  height: 3px;
  width: 32px;
}

.active span.toggle-icon {
  background: transparent;
}

.active span.toggle-icon::before {
  transform: rotate(-45deg) translate(-6px, 9px);
}

.active span.toggle-icon::after {
  transform: rotate(45deg) translate(-5px, -9px);
}

/*----------------------------------------------------------------------------------------------------MAIN CONTENT - BLOG*/
#top header.entry-header,
#top header.archive-header {
  padding: 50px 50px 30px 50px;
}

#top .entry-header-inner,
header.archive-header h2,
#top h1.archive-title {
  text-align: left;
  width: 100%;
  max-width: unset;
  position: relative;
}

/*výpis kategorií*/
#top ul.wp-block-categories-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#top ul.wp-block-categories-list li {
  display: flex;
  margin: 0;
}

#top ul.wp-block-categories-list li a,
ul.advgb-tabs-panel li.advgb-tab a {
  color: var(--black);
  font-weight: 400;
  padding: 10px 20px;
  background: var(--beige-10);
  border: 1px solid var(--beige-8);
  border-radius: 200px;
}

/*--------------------------------------------------ARCHIVE*/
.articles-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

figcaption.wp-element-caption {
  margin-bottom: 20px;
}

.articles-wrapper .section-inner.medium {
  width: 100%;
}

#top .featured-media img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 10px;
}

#top .articles-wrapper header.entry-header,
.articles-wrapper .post-inner.thin {
  padding: 0 20px;
  margin: 10px 0;
}

h5.entry-title {
  margin: 0;
  text-align: left;
  font-weight: 400;
}

#top h5.entry-title a,
#top h2.advgb-post-title a {
  font-size: inherit;
  color: var(--gray-1);
}

.post-meta-wrapper {
  margin: 10px 0;
}

#top ul.post-meta {
  margin: 0;
  justify-content: flex-start;
  gap: 10px;
}

.post-meta li {
  margin: 0;
  color: var(--gray-8);
}

#top .articles-wrapper p {
  width: 100%;
  max-width: unset;
  margin-bottom: 10px;
}

/*POST GRID  A VÝPIS PŘÍSPĚVKŮ NA STRÁNCE BLOGU*/
#top .advgb-recent-posts-block.grid-view .advgb-recent-posts .advgb-recent-post .advgb-post-thumbnail img {
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
}

.advgb-post-wrapper {
  padding: 0 20px;
}

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

.advgb-post-info a,
.advgb-post-info {
  color: var(--gray-8);
  pointer-events: none;
}

.advgb-recent-posts-block .advgb-recent-post .advgb-post-datetime:not(:first-child):before {
  content: "|";
}

.advgb-post-excerpt {
  color: var(--gray-4);
}

.advgb-recent-posts-block .advgb-post-readmore a {
  color: var(--beige-1);
  font-weight: 700;
  letter-spacing: 0.5px;
}

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

.archive-wrapper,
.content-wrapper {
  display: flex;
}

@media (min-width: 1000px) {

  .articles-wrapper,
  .content-wrapper article {
    flex-basis: 75%;
  }

  .sidebar {
    flex-basis: 25%;
    border-left: 1px solid var(--beige-8);
    margin-left: 20px;
    padding-left: 20px;
    position: relative;
  }
}

div#sidebar-toggler {
  position: absolute;
  right: calc(100%);
  display: block;
  width: 52px;
  height: 40px;
  border: 1px solid var(--beige-8);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  background: var(--beige-9);
}

.sidebar button.toggle {
  width: 32px;
  right: 9px;
  top: 2px;
}

.sidebar:not(.active) span.toggle-icon {
  background: var(--gray-3);
}

.sidebar span.toggle-icon::before,
.sidebar span.toggle-icon::after,
.nav-toggle .toggle-icon {
  height: 2px;
}

.sidebar span.toggle-icon::before {
  top: 0px;
}

.sidebar span.toggle-icon::after {
  bottom: 5px;
}

.sidebar .active span.toggle-icon::before {
  transform: rotate(-45deg) translate(-4px, 9px);
}

.sidebar .active span.toggle-icon::after {
  transform: rotate(45deg) translate(-2px, -8px);
}

.sidebar .active span.toggle-icon::before,
.sidebar .active span.toggle-icon::after {
  left: -4px;
}

@media (max-width: 1000px) {
  .sidebar {
    position: fixed;
    z-index: 999;
    background: white;
    transform: translateX(100%);
    right: 0;
    top: 80px;
    border-top: 1px solid var(--beige-8);
    border-left: 1px solid var(--beige-8);
    padding: 20px;
  }

  .admin-bar .sidebar {
    top: 112px;
  }

  .sidebar.active {
    transform: none;
  }
}

/*štítky*/
.wp-block-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wp-block-tag-cloud a {
  font-size: 14px !important;
  line-height: 16px !important;
  font-weight: 600;
  margin: 0;
}

#top p.wp-block-tag-cloud a:not(:last-child)::after {
  content: "|";
  color: var(--gray-8);
  font-weight: 400;
  margin-left: 8px;
}

/*nejnovější příspěvky*/

.widget-wrapper article.advgb-recent-post {
  display: flex;
}

#top .widget-wrapper .advgb-recent-posts-block.grid-view .advgb-recent-posts .advgb-recent-post .advgb-post-thumbnail img {
  height: 60px;
  width: 60px;
  min-width: 60px;
  object-fit: cover;
}

/*--------------------------------------------------SINGLE POST*/
.single-post .post-inner.thin {
  padding-top: 0;
}

nav.pagination-single.section-inner {
  width: 100%;
}

.pagination-single hr:first-child {
  margin-bottom: 30px;
}

/*----------------------------------------------------------------------------------------------------MAIN CONTENT - PAGE*/
/*hp-slider*/
#top .hp-slider {
  margin: 0;
}

.hp-slider::after {
  content: "";
  display: block;
  background-image: url(/wp-content/themes/nutrisimi/assets/img/hp-banner-divider.svg);
  width: 100%;
  height: 68px;
  z-index: 2;
  position: absolute;
  bottom: 0;
  left: 1px;
}

.hp-slider .slide-content-wrapper {
  padding-left: 150px;

}

.hp-slider p {
  max-width: 350px;
  color: var(--black);
}

.slide-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.slide-content * {
  margin: 0;
}

/*roller*/
#roller .slick-slide {
  margin-right: 20px;
}

#roller .slide-inner {
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}

#roller .slide-bgr {
  border-radius: 10px;
}

#roller .slick-slide .slide-bgr img {
  border-radius: 10px;
}

#roller .slide:hover .slide-content-wrapper.alignwide {
  transform: none !important;
}

#roller .slide-content-wrapper {
  padding: 30px 10px;
}

#roller .slide-content {
  gap: 10px;
}

#roller .slide-content p {
  min-height: 250px;
}

#top #roller *:not(.button) {
  color: white;
}

.slick-prev,
.slick-next {
  top: 20px;
}

.slick-next {
  right: 0;
}

.slick-prev {
  left: -38px;
}

.slick-next:before,
.slick-prev:before {
  font-family: "dashicons";
  color: var(--beige-1);
  opacity: 1;
  font-size: 40px;
  font-weight: 400;
}

.slick-next:before {
  content: "\f345";
}

.slick-prev:before {
  content: "\f341";
}

/*hover efekt*/
#roller .overlay {
  background: linear-gradient(4.98deg, #d5a84c 55%, rgba(213, 168, 76, 0) 66%);
  height: 200%;
  transform: translateY(0);
  opacity: 0.95;
}

#roller .slide:hover .overlay {
  transform: translateY(-50%);
}

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

/*--------------------BREADCRUMBY*/
.breadcrumbs {
  font-size: 14px;
  color: var(--gray-6);
  text-align: left;
  line-height: 14px;
}

#top .breadcrumbs a {
  color: var(--gray-3);
}

/*----------------------------------------------------------------------------------------------------FOOTER*/
a.to-the-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
}

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

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

@media (max-width: 1000px) {
  #top .advgb-recent-posts-block.grid-view.columns-3 .advgb-recent-posts {
    grid-template-columns: 1fr 1fr;
  }

  #top header.entry-header,
  #top header.archive-header {
    padding: 23px 20px 32px 20px;
  }

  .wp-block-columns.alignfull,
  .alignfull:not(.has-background)>div>.wp-block-columns,
  hr.wp-block-separator.alignwide {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 782px) {

  .admin-bar header#site-header,
  .admin-bar div#responsive-header {
    top: 46px;
  }

  h1,
  .heading-size-1,
  #top header.archive-header h2,
  #top .archive-title {
    font-weight: 500;
    font-size: 28px;
    line-height: 44px;
  }

  #top h2,
  #top .heading-size-2 {
    font-weight: 500;
    font-size: 24px;
    line-height: 38px;
  }

  h3,
  .heading-size-3 {
    font-weight: 500;
    font-size: 22px;
    line-height: 35px;
  }

  h4,
  .heading-size-4,
  #top .post-grid h2 {
    font-weight: 500;
    font-size: 20px;
    line-height: 31px;
  }

  h5,
  .heading-size-5,
  #top h2.advgb-post-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
  }

  h6,
  .heading-size-6,
  #top .widget-wrapper h2.advgb-post-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
  }

  .admin-bar .sidebar {
    top: 126px;
  }
}

@media (max-width: 500px) {
  #top .advgb-recent-posts-block.grid-view.columns-3 .advgb-recent-posts {
    grid-template-columns: 1fr;
  }

  .articles-wrapper>article {
    flex-basis: 100%;
  }

  .sidebar {
    width: calc(100% - 50px);
  }
}