/*
 * jQuery FlexSlider v2.6.3
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 */

/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider:not(.cz-loaded) .slides {
  display: none;
}

.flexslider.cz-loaded .loadingdiv.spinner {
  display: none;
}
.flexslider .slides li {
  /*display: none;*/
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.flexslider .slides img {
  width: 100%;
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
  margin: 30px 0px 0px;
  position: relative;
  zoom: 1;
  width: 100%;
  overflow: hidden;
}

.flexslider .slides {
  zoom: 1;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.flexslider .slides img {
  height: auto;
  -moz-user-select: none;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
  direction: ltr !important;
}
.loading .flex-viewport {
  max-height: 300px;
}
.flex-direction-nav {
  height: 0;
}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  margin: -25px 0 0;
  position: absolute;
  top: 50%;
  z-index: 5;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  background-color: transparent;
  color: #ffffff;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-size: 0px;
  height: 30px;
  width: 20px;
  line-height: 28px;
  padding: 0 5px;
}
.flex-direction-nav a:before {
  font-family: "FontAwesome";
  font-size: 45px;
  display: inline-block;
  color: #ffffff;
  font-weight: 300;
}
.flex-direction-nav .flex-disabled {
  opacity: 0 !important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}

.flexslider.cz-loading .slides {
  opacity: 0;
}
.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #fcc605;
}
.flex-pauseplay a:before {
  font-family: "Material Icons";
  font-size: 20px;
  display: inline-block;
  content: "\E039";
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: "\E036";
}
.flex-control-nav {
  width: 100%;
  position: absolute;
  margin: 0;
  display: none;
  bottom: 0px;
  text-align: center;
  z-index: 9;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}
.flex-control-nav li {
  margin: 0 4px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 10px;
  height: 10px;
  display: block;
  background-color: #0842a6;
  cursor: pointer;
  text-indent: -9999px;
  -webkit-transition: transform 0.3s cubic-bezier(0.7, -0.2, 0.3, 2.5),
    color 0.15s ease-out;
  -moz-transition: transform 0.3s cubic-bezier(0.7, -0.2, 0.3, 2.5),
    color 0.15s ease-out;
  -o-transition: transform 0.3s cubic-bezier(0.7, -0.2, 0.3, 2.5),
    color 0.15s ease-out;
  transition: transform 0.3s cubic-bezier(0.7, -0.2, 0.3, 2.5),
    color 0.15s ease-out;
}
.flex-control-paging li a:hover,
.flex-control-paging li a.flex-active {
  background: #ffffff;
}
.flex-control-paging li a.flex-active {
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}
/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 766px) {
  .flexslider {
    width: 100%;
    float: none;
    margin-top: 18px;
  }
}
@media (min-width: 480px) {
  .flexslider:hover .flex-control-nav {
    display: block;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
  }
}

/* Zmiany stylów TEBIM */

body#index .flexslider .slick-dots {
  display: none !important;
}

.cz-custom-nav {
  text-align: center;
  list-style: none;
  padding: 0;
  display: flex;
  margin-bottom: 0;
  margin-right: 10px;
  overflow: auto;
}

.cz-custom-nav li span.nav-trigger {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: black;
  cursor: pointer;
  text-decoration: underline;
  white-space: nowrap;
}

.cz-custom-nav li span.nav-trigger.active,
.cz-custom-nav li span.nav-trigger:hover {
  font-weight: 700;
  text-decoration: none;
}

.cz-custom-nav-container {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
  gap: 45px;
}

.cz-custom-nav-buttons {
  min-width: 37px;
}

.cz-custom-nav-buttons button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 100;
  padding-right: 5px;
  padding-left: 5px;
}

.cz-custom-nav-buttons button:focus {
  border: none;
  outline: none;
}
.cz-custom-nav-buttons button:focus-visible {
  border: none;
  outline: none;
}

.cz-custom-nav-buttons .cz-next-arrow {
  padding-right: 0px;
}

#index .flexslider a.slide-button {
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  width: fit-content;
}

#index .flexslider a.slide-button:hover {
  filter: contrast(1.2);
}

#index .flexslider a.slide-button:focus {
  border: none;
  text-decoration: none;
  outline: none;
}

.display-top-inner .flexslider .slides img {
  object-fit: cover;
}

#index .flexslider {
  border: 1px solid #c2c2c2;
  border-radius: 8px;
}
#index .flexslider .slides {
  border-radius: 8px;
}

.slider-mobile {
  display: none;
}

#index .flexslider .spinner {
  min-height: 410px;
  max-height: 410px;
}

@media screen and (max-width: 766px) {
  .flexslider {
    margin-top: 0px;
    width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-height: 100vh;
  }
  .cz-custom-nav li span.nav-trigger {
    margin-right: 20px;
  }
  .flexslider .slides img.slider-mobile {
    display: block;
  }
  .flexslider .slides img.slider-desktop {
    display: none;
  }
  #index .flexslider .spinner {
    aspect-ratio: 390 / 431;
    object-fit: cover;
    min-height: 560px;
  }
}