/* Typo */
#primary h1,
#primary h2,
#primary h3,
#primary h4,
#primary h5,
#primary h6 {
  text-transform: uppercase;
}
#primary h1,
#primary h1.wp-block-heading {
  font-weight: 400;
  letter-spacing: 0.05rem;
  line-height: 1.25;
  font-size: 2rem;
  margin: 1rem 0;
}
#primary h2 {
  font-weight: 400;
  letter-spacing: 0.05rem;
  line-height: 1.25;
  font-size: 1.5rem;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  #primary h1,
  #primary h1.wp-block-heading {
    font-size: 2.5rem;
  }

  #primary h2 {
    font-size: 2rem;
  }
}

.single-technology p{ 
  margin-bottom: 1.5rem;
}
.single-technology p a {
  text-decoration: underline;
}
.single-technology p a:hover {
  color: var(--black);
}

/* General */
.technology-template .grid-container,
.technology-template.one-container .site-content,
.page-template-technology .grid-container,
.page-template-technology.one-container .site-content,
.single-technology .grid-container,
.single-technology.one-container .site-content {
  padding-top: 0px;
  padding-bottom: 0px;
}

.page-template-technology.one-container .site-content,
.page-template-technology.one-container .entry-content .grid-container{ 
  padding-left: 0px;
  padding-right: 0px;
}

/* @media (min-width: 768px) {
    body.technology-template > .site {
        margin-top: 0px;
    }
} */

@media (max-width: 1110px){ 
body.technology-template .site.grid-container,
body.page-template-technology .site.grid-container{ 
  margin-top: 86px;
}}

.technology-template .entry-content,
.technology-template .entry-content:not(:first-child),
.page-template-technology .entry-content,
.page-template-technology .entry-content:not(:first-child) {
  margin: 0px;
}

nav#breadcrumbs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  width: 100%;
  padding: 1rem 0;
}

#breadcrumbs a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

#breadcrumbs a:hover,
#breadcrumbs a:visited {
  color: #1a1a1a;
  text-decoration: none;
}

.t-hero .category_image {
  width: 100%;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#technologycategory ::-webkit-scrollbar {
  height: 0px;
}

#technologycategory {
  background: #eee;
  border-bottom: solid 1px #d9d9d9;
  color: #000;
}

#technologycategory ul {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
  overflow-x: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  scroll-behavior: smooth;
  margin: 0px;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  margin-bottom: 0px;
}

@media (max-width: 1200px) {
  #technologycategory ul {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}
#technologycategory ul li {
  padding: 1rem 2rem 1rem;
  list-style: none;
}

#technologycategory ul li a {
  position: relative;
  font-size: 0.875rem;
  letter-spacing: 0.02rem;
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  white-space: nowrap;
  text-align: center;
}

#technologycategory ul li a:hover {
  color: #000;
}

#technologycategory .current-menu-item a::before,
#technologycategory .current-technology_category-ancestor a::before,
#technologycategory .current-technology-parent a::before,
#technologycategory .current-technology-ancestor a:before {
  position: absolute;
  height: 0.25rem;
  width: 100%;
  background: #fff;
  content: "";
  background: #6dcff6;
  bottom: -16px;
  left: 0%;
}

.narrower .t-container {
  width: 100%;
  margin: 1rem auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.narrower .t-container h1 {
  text-align: center;
}

/* Rozcestník Technologie garmin  */
.grid-photo {
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1 1;
          flex: 1 1;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 2rem;
  text-align: center;
  overflow: hidden;
  min-height: 400px;
}

@media (min-width: 48rem) {
  .gallery-nav .row .grid-photo:last-child,
  .gallery-nav .row .grid-photo:nth-child(7) {
    -ms-grid-column-span: 6;
    grid-column: span 6;
  }
}

/* New */
.grid-photo {
  position: relative;
  overflow: hidden;
  /* height: 300px; */
}

.grid-photo picture,
.grid-photo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.01);
  transition: transform 0.5s ease;
  transform-origin: center;
  z-index: 1;
}

.grid-photo:hover img {
  transform: translate(-50%, -50%) scale(1.1);
}

.grid-photo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.5s ease;
  z-index: 3;
}

.grid-photo:hover::before {
  opacity: 0;
}

.grid-photo h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 10;
  text-transform: uppercase;
  margin-bottom: 0;
  text-align: center;
  padding: 0 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.page-template-technology .subscribe {
  display: block;
  text-align: center;
  padding: 3rem 0;
}

/* Kategórie a Funkcie */
.full-width.sticky {
  overflow: visible;
}

.vertical-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: #fff;
}

.vertical-nav-menu {
  position: sticky;
  top: 32px;
  left: 0;
  overflow-y: auto;
  background: white;
  border-right: 1px solid #d9d9d9;
  z-index: 1000;
}

@media(max-width:768px){ 
  .vertical-nav-menu{ 
     position: relative;
  top: 0px;
  }
}

@media (min-width: 768px) {
  .vertical-nav {
    border-top: solid #d9d9d9 1px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }

  .vertical-nav-menu {
    max-width: 300px;
    width: 100%;
    /* height: 100%; */
    max-height: 100vh;
  }

  .vertical-nav-menu .vertical-nav-heading {
    display: none;
  }
}

.vertical-nav-heading h4 {
  margin-bottom: 0px;
}

#subtechnology ul {
  list-style: none;
  margin: 0px;
}

#subtechnology summary,
#menu-toggle summary {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: relative;
}

#subtechnology .subcategory-posts li a,
#subtechnology .subcategory-posts li summary {
  font-weight: 500;
  font-size: 0.875rem;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 1px solid #d9d9d9;
  text-decoration: none;
  cursor: pointer;
  padding-top: 1.125rem;
  padding-right: 0.5rem;
  padding-bottom: 1.125rem;
}

#subtechnology .subcategory-posts li.current-page a {
  border-bottom: none;
}

#subtechnology .subcategory-posts li details .subcategories {
  padding-bottom: 1rem;
}
#subtechnology .subcategory-posts li details .subcategories li a {
  font-weight: 500;
  font-size: 0.875rem;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border-bottom: none;
}

#subtechnology .subcategory-posts li {
  padding: 0 16px;
}

#subtechnology .subcategory-posts li:has(details[open]) {
  padding: 0;
}
#subtechnology .subcategory-posts li:has(details[open]) summary {
  padding: 16px 25.5px 16px 16px;
}

#subtechnology .subcategory-posts li a:hover {
  color: #000;
  text-decoration: underline;
}

#subtechnology .subcategory-posts li.current-page a:hover {
  color: #fff;
  text-decoration: underline;
}

#menu-toggle summary {
  margin: 0px;
  padding: 16px;
  border-bottom: 1px solid #d9d9d9;
}

#subtechnology details[open] summary {
  border-bottom: 0px;
}

#subtechnology .submenu-toggle,
#menu-toggle .submenu-toggle{
  position: relative;
    font-size: 1.25rem;
    font-weight: var(--bold);
    color: black;
    padding: 12px 32px;
    margin: 0;
   
}

#subtechnology .submenu-toggle::before,
#menu-toggle .submenu-toggle::before {
  font-family: fontawesome;
    content: "\f077";
    font-size: 1rem;
    fill: black;
    position: absolute;    
  -webkit-transition: -webkit-transform 0.3s ease;    
  transition: -webkit-transform 0.3s ease;    
  -o-transition: transform 0.3s ease;    
  transition: transform 0.3s ease;    
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  top: 50%;
  margin-top: -12px;
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg)
}

#subtechnology details[open] summary .submenu-toggle::before,
#menu-toggle details[open] summary .submenu-toggle::before {
  -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
          transform: rotate(0deg);
}

#subtechnology li {
  font-weight: 500;
  font-size: 0.875rem;
}

#subtechnology .current-page {
  background-color: #000;
}

#subtechnology .current-page a {
  color: #fff;
}

#subtechnology .subcategory-posts li:has(details[open]) {
  border-bottom: 1px solid #d9d9d9 !important;
  margin: 0 !important;
}

.cyklistika .subcategory-posts > li:last-child {
  background-color: var(--black);
  color: #fff;
}

.cyklistika #subtechnology .subcategory-posts > li:last-child a {
  color: #fff;
  border-bottom: none;
}

@media (max-width: 767px) {
  #subtechnology {
    display: none;
  }

  #subtechnology.is-open {
    display: block;
  }

  #menu-toggle {
    cursor: pointer;
  }
}

.vertical-nav-body {
  padding: 32px 56px;
  width: 100%;
}

@media(max-width:768px){ 
  .vertical-nav-body {
  padding: 32px 32px;
}
}

.vertical-nav-body .container {
  width: 100%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  max-width: 1200px;
  -ms-flex-direction: column;
      flex-direction: column;
}

.vertical-nav-body .container .list-item {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  padding-bottom: 32px;
}

.vertical-nav-body .container .list-item .category_image {
  aspect-ratio: 8/3.1;
  -o-object-fit: cover;
     object-fit: cover;
  max-height: 455px;
  width: 100%;
  display: block;
}
.vertical-nav-body .container .list-item .subcategory_title {
  margin: 1rem 0;
}

.vertical-nav-body .container .list-item .subcategory-description {
  margin-bottom: 24px;
}

.vertical-nav-body a.outline-button {
  background: #fff;
  border: 1px solid #000 !important;
  line-height: 1.15rem;
  color: #000;
  text-transform: uppercase;
  font-size: 0.875rem;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  -webkit-transition: background 0.2s, color 0.2s;
  -o-transition: background 0.2s, color 0.2s;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  word-break: break-word;
  font-weight: 500;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 1rem auto;
}

.vertical-nav-body a.outline-button:hover {
  color: #fff;
  background: #000;
  outline: none;
}

.vertical-nav-body #komunita .outline-button {
  display: none;
}
.vertical-nav-body .note {
  margin-top: 8px;
  padding: 16px 0px;
  font-size: 13px;
}

/* Námorná technológia */
@media (min-width: 62rem) {
  .technology-template-technology_category
    .namorna-technologia
    .vertical-nav-body.row
    .col {
    -ms-grid-column-span: 6;
    grid-column: span 6;
  }
  .namorna-technologia .vertical-nav-body .container .col {
    -ms-grid-column-span: 6;
    grid-column: span 6;
  }
}

.technology-template-technology_category
  .namorna-technologia
  .vertical-nav-body
  .container
  .list-item
  .category_image {
  max-height: 400px;
  aspect-ratio: 3/2;
}

.technology-template-technology_category
  .namorna-technologia
  .vertical-nav-body {
  gap: 16px;
}
.namorna-technologia .vertical-nav-body .container .list-item .content {
  text-align: left;
  padding: 1rem;
}

/* Function list */
.technology-template-technology_functions h1 {
  text-transform: uppercase;
  text-align: center;
}
.vertical-nav-body .container .row {
  gap: 16px;
}
.function-card {
  min-height: 200px;
  background: #fff;
  border-radius: 2px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: block;
  -webkit-box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.24);
          box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.24);
  -webkit-transition: -webkit-box-shadow 135ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: -webkit-box-shadow 135ms cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: box-shadow 135ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: box-shadow 135ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: box-shadow 135ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 135ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.function-card:hover {
  -webkit-box-shadow: 0 1px 3px 1px rgba(60, 64, 67, 0.2),
    0 2px 8px 4px rgba(60, 64, 67, 0.1);
          box-shadow: 0 1px 3px 1px rgba(60, 64, 67, 0.2),
    0 2px 8px 4px rgba(60, 64, 67, 0.1);
  color: var(--black);
}

.function-card .card-content {
  margin: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.function-card .figure {
  border-bottom: 1px solid #d9d9d9;
}
/* Single technology */
.single-technology .full-width.t-hero{ 
margin-bottom: 0px;
}

.technology-template-default .vertical-nav-body .inside-article {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}
article.technology .inside-article .featured-image{ 
margin-top: 0px!important;
}

.single-technology .wp-block-embed.is-type-video{ 
margin-top: 2rem;
margin-bottom: 2rem;
}
.single-technology .vertical-nav-body .inside-article header {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}
.single-technology .vertical-nav-body .inside-article figure {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}

.single-technology .vertical-nav-body .inside-article .entry-content {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
}

.single-technology .entry-content:not(:first-child),
.single-technology .entry-summary:not(:first-child),
.single-technology .page-content:not(:first-child) {
  margin-top: 0px;
}
.single-technology .has-small-font-size {
  margin-bottom: 0px;
}

.single-technology ul.wp-block-list{ 
margin-top: 1.5rem;
}

.technology-template-default .entry-content picture img,
.technology-template-default .entry-content a img{ 
margin: 24px 0px;
} 

/* Single post Aplikácia EKG */
.technology-template-default .vertical-nav-body .aplikacia-ekg #post-192442 .inside-article,
.technology-template-default .vertical-nav-body .autopilot #post-192367 .inside-article,
.technology-template-default .vertical-nav-body .radar #post-192397 .inside-article,
.technology-template-default .vertical-nav-body .digitalne-integracie-pre-plavidla #post-192653 .inside-article,
.technology-template-default .vertical-nav-body .digitalne-integracie-pre-plavidla #post-192669 .inside-article{ 
max-width: 100%;
}
.aplikacia-ekg #post-192442 h1 {
  text-align: center;
}
.aplikacia-ekg #post-192442 .narrower {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
}

.container:has(.aplikacia-ekg) {
  max-width: 100%;
}
