/*
Theme Name: Idealab.cz
Theme URI: https://bricksbuilder.io/
Description: Child theme Idealab pro Bricks.
Author: Vaclav Pospisil
Author URI: https://idealab.cz/
Template: bricks
Version: 1.44
Updated: 2026-01-09 12:52:00
Text Domain: bricks
*/

/* Promenne pro light mode */
html.theme-light {
  --stnd-bila: #fff !important;
  --stnd-cerna: #000 !important;
  --stnd-cerna-hs: rgba(0, 0, 0, 0) 95% !important;
}

/* Promenne pro dark mode */
html.theme-dark {
  --stnd-bila: #000 !important;
  --stnd-cerna: #fff !important;
  --stnd-cerna-hs: rgba(255, 255, 255, 0) 95% !important;
}
/* Tmavy kurzor */
html.theme-light mp-cursor {
  filter: invert(0);
}
/* Svetly kurzor */
html.theme-dark mp-cursor {
  filter: invert(1);
}

/* Doplnkovy font */
.icona-serif-i {font-family: "Icona Serif";font-style: italic;}

/* Zakladni pouziti light/dark mode na pozadi */
body {background: var(--stnd-bila);color: var(--stnd-cerna);transition: background 0.4s, color 0.4s;}

/* Light/dark mode plus prepinac */
.theme-switch {cursor: pointer;display: inline-flex;align-items: center;margin: 0;}
.theme-switch input {display: none;}
.theme-switch .slider {width: 40px;height: 20px;border-radius: 20px;background: var(--stnd-bila);border: 3px solid var(--stnd-cerna);position: relative;transition: 0.3s;}
.theme-switch .slider::before {content: "";width: 17px;height: 17px;background: var(--stnd-cerna);border-radius: 50%;position: absolute;top: -1px;left: 0;transition: 0.3s;}
/* posun prepinace v dark mode */
html.theme-dark .theme-switch .slider::before {transform: translateX(20px);}

/* Specialni hlavicky stran  */
body.pramarketing {background: linear-gradient(180deg, #adadad 0%, var(--stnd-bila) 20%);}
body.events {background: linear-gradient(180deg, #DBC4F8 0%, var(--stnd-bila) 20%);}
body.archizoom-books {background: linear-gradient(180deg, #FF5E37 0%, var(--stnd-bila) 20%);}
body.archizoom {background: linear-gradient(180deg, #D0FF00 0%, var(--stnd-bila) 20%);}
body.podcasts {background: linear-gradient(180deg, #01655C 0%, var(--stnd-bila) 20%);}
body.rdd {background: linear-gradient(180deg, #ED2424 0%, var(--stnd-bila) 20%);}
/* Standardni posty */
body.stnd-post h2 {font-size: 50px;font-weight: 500;}
/* Standardni strany bez sablony */
article#brx-content.page {padding: 20px;}

/* Odkazy v textu */
.brxe-text a {font-weight: 500;}
.brxe-text a:hover, .txt-o-a a:hover, .txt-o-a:hover {text-decoration: underline;}

/* Tlacitka */
.bricks-button svg {transform: rotate(0deg);transition: transform 0.5s ease;}
.bricks-button:hover svg {transform: rotate(45deg);}

/* Menu doplnky */
.top-menu-pr, .top-menu-archizoom, .top-menu-books, .top-menu-podcasty, .top-menu-events
{border-radius: 16px;min-width: 320px;line-height: 45px;}
.top-menu-pr a, .top-menu-archizoom a, .top-menu-books a, .top-menu-podcasty a, .top-menu-events a
{padding: 5px 0 0 20px;}
.top-menu-pr {background-color: var(--stnd-cerna);color: var(--stnd-bila);}
.top-menu-pr:hover {color: #9f9d9d;}
.top-menu-archizoom {background-color: #D0FF00;color: #000;}
.top-menu-archizoom:hover {background-color: #b5dd00;}
.top-menu-books {background-color: #FF5E36;color: #fff;}
.top-menu-books:hover {background-color: #d14d2c;}
.top-menu-podcasty {background-color: #01655C;color: #fff;}
.top-menu-podcasty:hover {background-color: #014841;}
.top-menu-events {background-color: #DBC4F8;color: #000;}
.top-menu-events:hover {background-color: #b7a1d2;}
@media screen and (max-width:991px) {
	.top-menu-pr, .top-menu-archizoom, .top-menu-books, .top-menu-podcasty, .top-menu-events
  {min-width: auto;width: 100%;}
}

/* Mobil menu doplnky */
.hambureger-ico {width: 35px;max-width: none;}
.hambureger-ico path {stroke: var(--stnd-cerna) !important;}

/* Hlavicka schovano kvuli rozmazani pouzito v patice
#brx-header {z-index: 9999;-webkit-backdrop-filter: blur(14.3px);backdrop-filter: blur(14.3px);background-color: #d6d6d61a;}*/

/* Mobil menu */
.bricks-mobile-menu-toggle {height: 35px;}
.bricks-mobile-menu-toggle[aria-expanded="false"] .bar-center {top: calc(50% - 1px);}
.bricks-mobile-menu-toggle[aria-expanded="false"] .bar-bottom {bottom: 0;top: auto;}
/* polozky */
.brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-wrapper {width: calc(100% - 90px);max-width: 400px;padding-top: 80px;}
.brxe-nav-menu .bricks-mobile-menu-wrapper:before {background-color: #1a1a1a;}
.brxe-nav-menu .bricks-mobile-menu>li>a {font-size: 32px !important;line-height: 80px;}

/* Newsletter form */
.news-form form {display: flex;flex-direction: row;flex-wrap: nowrap;align-content: center;justify-content: flex-start;gap: 15px 15px;}
.news-form input[type=text] {border: none;border-radius: 50px;padding: 5px 20px;}
.news-form input[type=submit] {padding: 5px 50px;}
.news-form input[type=text]::-webkit-input-placeholder {font-size: 16px;}
.news-form input[type=text]::-moz-placeholder {font-size: 16px;} /* Firefox 19+ */
.news-form input[type=text]:-moz-placeholder {font-size: 16px;}  /* Firefox 18- */
.news-form input[type=text]:-ms-input-placeholder {font-size: 16px;} /* IE */
@media screen and (max-width:769px) {
	.news-form form {flex-wrap: wrap;}
	.news-form input[type=submit] {padding: 15px 80px;}
}

/* H2 muj kolotoc */
.ticker-wrap {overflow: hidden;width: 100%;white-space: nowrap;}
.ticker {display: inline-flex;animation: scroll var(--duration, 30s) linear infinite;}
.item {padding-right: 80px;white-space: nowrap;font-size: 160px;}
/* Animace je v inline stylu kvuli js mereni sirky a snadnejsimu predani promenne */
@media screen and (max-width:1440px) {
    .item {font-size: 160px;}
}
@media screen and (max-width:1270px) {
    .item {font-size: 140px;}
}
@media screen and (max-width:991px) {
    .item {font-size: 120px;}
}
@media screen and (max-width:767px) {
    .item {font-size: 100px;}
}

/* Paticka */
.pata-copy {
  -webkit-backdrop-filter: blur(14.3px);backdrop-filter: blur(14.3px);
}

/* O nas */
.onas-img-s1o a {transition: transform 0.3s ease;transform-style: preserve-3d;perspective: 800px;}
/* naklonění doprava */
.onas-img-s1o a:nth-child(1):hover, .onas-img-s1o a:nth-child(3):hover
{transform: rotateX(5deg) rotateY(20deg);}
.onas-img-s1o a:nth-child(2):hover, .tym-detail-img:hover {transform: rotateX(5deg) rotateY(-20deg) !important;}
/* Accordion */
.accordion-onas .accordion-title span {font-size: 15px;font-weight: 400;vertical-align: middle;padding: 3px 20px 0 30px;}
.accordion-onas .accordion-item {border-bottom: solid 1px #C8C8C8;padding: 20px 0}
@media screen and (max-width:900px) {
	.accordion-onas .accordion-title span {display: block;padding: 0 20px 0 0;}
	
}

/* Bricks image carousel center img zoom */
.central-zoom-carousel .swiper-slide-active .image {
	transform: scaleY(1) !important;
	transition: all 0.3s ease-in-out;
	height: 640px !important;
}
.central-zoom-carousel .swiper-slide .image {
	transform: translateY(20px);
	transition: all 0.3s ease-in-out;
	border-radius: 16px;
}
@media screen and (max-width:1440px) {
    .central-zoom-carousel .swiper-slide-active .image {height: 440px !important;}
}
@media screen and (max-width:991px) {
    .central-zoom-carousel .swiper-slide-active .image {height: 340px !important;}
}
@media screen and (max-width:767px) {
    .central-zoom-carousel .swiper-slide-active .image {height: 240px !important;}
}
@media screen and (max-width:570px) {
    .central-zoom-carousel .swiper-slide-active .image {height: 170px !important;}
}

/* Carousel s potlacenymi bocnimi obr */
.potlac-carousel .swiper-slide .image {opacity: 0.5;transition: all 0.3s ease-in-out;}
.potlac-carousel .swiper-slide-active .image {opacity: 1;transition: all 0.3s ease-in-out;}

/* Bricks counter umravneni */
.onas-counter .suffix {vertical-align: super;}
@media screen and (max-width:1440px) {
    .onas-counter .count {font-size: 120px !important;}
	.onas-counter .suffix {font-size: 110px !important;vertical-align: baseline;}
}
@media screen and (max-width:1270px) {
    .onas-counter .count {font-size: 100px !important;}
	.onas-counter .suffix {font-size: 90px !important;vertical-align: baseline;}
}
@media screen and (max-width:991px) {
    .onas-counter .count {font-size: 80px !important;}
	.onas-counter .suffix {font-size: 70px !important;vertical-align: baseline;}
}
@media screen and (max-width:767px) {
    .onas-counter .count {font-size: 120px !important;}
	.onas-counter .suffix {font-size: 110px !important;vertical-align: baseline;}
}
@media screen and (max-width:570px) {
    .onas-counter .count {font-size: 80px !important;}
	.onas-counter .suffix {font-size: 70px !important;vertical-align: baseline;}
}

/* Mapa */
.leaflet-tile {filter: grayscale(100%) brightness(0.8) contrast(2.5) !important;}
.leaflet-popup-content {width: 300px !important;}
@media screen and (max-width:550px) {
	.leaflet-popup-content {width: 200px !important;}
}

/* Tym */
.clenove-tymu a:nth-child(2) {margin-top: 130px;}
.clenove-tymu a:nth-child(3) {margin-top: 30px;}
.clenove-tymu a:nth-child(4) {margin-top: 70px;}
.clenove-tymu a:nth-child(5),
.clenove-tymu a:nth-child(9),
.clenove-tymu a:nth-child(13)
{margin-top: -130px;}
.clenove-tymu a:nth-child(7),
.clenove-tymu a:nth-child(11),
.clenove-tymu a:nth-child(15)
{margin-top: -100px;}
.clenove-tymu a:nth-child(8),
.clenove-tymu a:nth-child(12),
.clenove-tymu a:nth-child(16)
{margin-top: -50px;}
@media screen and (max-width:1270px) {
    .clenove-tymu a:nth-child(4),
	.clenove-tymu a:nth-child(7),
	.clenove-tymu a:nth-child(10),
	.clenove-tymu a:nth-child(13)
	{margin-top: -130px;}
	.clenove-tymu a:nth-child(5),
	.clenove-tymu a:nth-child(8),
	.clenove-tymu a:nth-child(11),
	.clenove-tymu a:nth-child(14)
	{margin-top: 0;}
	.clenove-tymu a:nth-child(6),
	.clenove-tymu a:nth-child(9),
	.clenove-tymu a:nth-child(12),
	.clenove-tymu a:nth-child(15)
	{margin-top: -100px;}
}
@media screen and (max-width:991px) {
    .clenove-tymu a:nth-child(3),
	.clenove-tymu a:nth-child(5),
	.clenove-tymu a:nth-child(7),
	.clenove-tymu a:nth-child(9),
	.clenove-tymu a:nth-child(11),
	.clenove-tymu a:nth-child(13),
	.clenove-tymu a:nth-child(15)
	{margin-top: -130px;}
	.clenove-tymu a:nth-child(4),
	.clenove-tymu a:nth-child(6),
	.clenove-tymu a:nth-child(8),
	.clenove-tymu a:nth-child(10),
	.clenove-tymu a:nth-child(12),
	.clenove-tymu a:nth-child(14),
	.clenove-tymu a:nth-child(16)
	{margin-top: 0;}
}
@media screen and (max-width:570px) {
	.clenove-tymu a:nth-child(-n+16) {margin-top: 0;}
}

/* Eventy */
.seznam-sekce-img.brxe-video iframe {aspect-ratio: 4 / 3;}

/* doplnky a hacky */
.mikronadpis-text {text-wrap: wrap !important;}

/* Responzivni redirna */
@media screen and (max-width:1570px) {
    
}
@media screen and (max-width:1350px) {
    
}
@media screen and (max-width:1101px) {
	
}
@media screen and (max-width:769px) {
	
}
@media screen and (max-width:550px) {
	
}
@media screen and (max-width:380px) {
    
}