/* cmsms stylesheet: SPP modified: pátek 10. dubna 2026 14:22:22 */
body {
  font-family: 'Ubuntu', sans-serif;
  color: black;
}
a:focus, button:focus {
    outline: none;
}

.hlava {
  /* background-image: url("/uploads/images/spp/logo-velke.svg"); */
  background-repeat: no-repeat;
  /*height: 100px;*/
  line-height: 100px;
}

.nazevskoly {
  font-size: 2rem;
  color:white;
}
.skolaonline {
  float:right;
  width:50px;
  margin-left:.5em;
}
.logovelke {
  height: 80px;
  margin-right: 0.8em;
}
.hlavavpravo {
  line-height: initial;
  color:#642D91;
}
.distanc img {
  height:40px;
}
.distanc a {
  color: #E0330D;
}

#header {
  /* background-image: url("/uploads/images/web/zsms_banner.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  height: 12em;
  transform: rotate(0) */
}
#header img {
  width: 100%;
  height: auto;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}


.nazevskoly a {
  color:#878786;
}
.nazevskoly a:hover {
  text-decoration:none;
}

#menu {
  background-color: rgba(220,220,220,0.66);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
/*
@-moz-document url-prefix() {
    #menu {
        background-color: rgba(220,220,220,1);
    }
}
*/
#menu div.dropdown-menu {
  background-color: #ECECEC;
}

#menu li.sectionheader {
  text-transform: uppercase;
  color: #878786;
}
#menu li.sectionheader li {
  text-transform: initial;
}
#menu ul.vnorene {
  padding-left:0;
}
#menu ul.vnorene li {
  list-style: none;
}
#menu a {
  color: #878786;
}
#menu a:hover, #menu a.active, #menu li.active a, #menu li.active ul.vnorene a.active {
  color: #1A1A18
}
#menu li.active ul.vnorene a {
  color: #878786;
}
#menu .last_child .dropdown-menu {
  left: -47%;
  text-align: right;
}

.icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #888;
  margin-top: 4px;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
border: 0;
}


.navbar-toggler {
  border: none;
  background: transparent !important;
}
.navbar-toggler:hover {
  background: transparent !important;
}
.navbar-toggler .icon-bar {
  width: 22px;
  transition: all 0.2s;
}
.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}
.navbar-toggler .middle-bar {
  opacity: 0;
}
.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}
.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}
.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}
.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}


.oranzovyhr {
  height: 1em;
  margin:0;
  box-shadow: 0px 1px 3px 0px rgba(100,100,100,1);
  border-bottom-left-radius:5px;
  border-bottom-right-radius:5px;
}
.otovice {
  background-color: #E50079;
}
.sadov {
  background-color: #25998C;
}
.hajek {
  background-color: #1880FF;
}
.skola {
  background-color: #F38117;
}
#content .otovice_a {
  color: #E50079;
}
#content .sadov_a {
  color: #25998C;
}
#content .hajek_a {
  color: #1880FF;
}
#content .skola_a {
  color: #F38117;
}

#content {
  margin-top: 1em;
  margin-left: 0.5em;
  margin-right: 0.5em;
}
#content a {
  text-decoration: underline;
  color: #E0330D;
}
#content a:hover {
  text-decoration: none;
}
#content a.fas {
  text-decoration: none;
}

#pata {
  background-color: #ECECEC;
  padding-top: 3em;
  padding-bottom: 1.5em;
  color: #878786;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
#pata div.col-sm {
  padding-left: 2em;
  padding-right: 2em;
}
#pata a {
  color: #878786;
  font-size: .8rem;
}
#pata ul {
  padding-left:0;
}
#pata li {
  list-style: none;
}
#pata li.sectionheader {
  text-transform: uppercase;
}
#pata li.sectionheader li {
  text-transform: initial;
}
.partneri img {
  height: 50px;
}

.NewsSummaryCategory {
  display:flex;
  align-items:center;
  justify-content:center;
  writing-mode: vertical-rl;
  transform: rotate(-180deg);
  max-width: 3%;
  color: white;
  margin-left: 0.95em;
  margin-top: -1em;
  margin-bottom: -1em;
}
.NewsDetailCategory {
  margin-top: 0;
  margin-bottom: 0;
  border-radius:5px;
}
.NewsDetail {
  margin-bottom:1em;
}
.prvni .NewsSummaryCategory {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.NewsSummaryPostdate {
  font-size: small;
}

.videonovinky {
  width:100%;
  height:auto;
}

.skolaonline {
  animation: otocsovu 300ms 3s 1 ease-in-out;
  transition: transform 150ms ease-in-out;
}
.skolaonline:hover {
  transform: rotate(15deg);
}

@keyframes otocsovu {
  0%,100% {
    transform:rotate(0);
  }
  50% {
    transform:rotate(15deg);
  }
}

@media (max-width: 1199px) {
  .mezera {
    padding:0;
  }
  .distanc img {
    height:35px;
  }
  .hlavavpravo {
    margin-bottom: 1em;
  }
  #zapisy {
    top:initial;
    margin-top:initial;
  }
}
@media (max-width: 991px) {
  .nav {
    display: block;
  }
  .nav li {
    text-align: end;
  }
  #spodnimenu {
    display:none;
  }
  .hlava {
    line-height: initial;
  }
  .hlavavpravo {
    width:100%;
    margin-bottom:1em;
    margin-top:1em;
    text-align:center;
  }
  .skolaonline {
    float:initial;
  }
  .distanc {
    width:100%;
    text-align:center;
    margin-top: 0.8em;
  }
}

@media (max-width: 768px) {
  .NewsSummaryCategory {
    transform: rotate(0deg);
    writing-mode: initial;
    max-width:initial;
    width: 100%;
    flex: initial;
    margin-right: 0.95em;
    margin-bottom: 0.95em;
  }
  hr.oddelzpravy {
    visibility: hidden;
  }
  .hlava div {
    text-align: center;
  }
  .skolaonline {
    float:initial;
    margin-bottom:2em;
  }
  .logovelke {
    margin: 2em;
  }
  .distanc {
    margin-bottom:1em;
  }
  .nazevskoly {
    float:right;
  }
}


@media (min-width: 992px) {
  .animate {
    animation-duration: 0.3s;
    animation-fill-mode: both;
  }
}

@keyframes slideIn {
  0% {
    /*transform: translateY(-5rem);*/
    opacity: 0;
  }
  100% {
    /*transform:translateY(0rem);*/
    opacity: 1;
  }
  0% {
    /*transform: translateY(-5rem);*/
    opacity: 0;
  }
}
.slideIn {
  animation-name: slideIn;
}

.videopredstaveni {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}
.videopredstaveni iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

/* Zápisy */
#zapisy {
  position:relative;
  width:fit-content;
  top: 220px;
  min-height:220px;
  margin-top:-220px;
  left: 830px; /* původně 42px */
  padding: 30px .6em .6em .6em;
  text-align: center;
  font-size:small;
  z-index:1021;
  background-color:#f6adcd;
  transform:rotate(6deg);
  font-family: 'Fuzzy Bubbles', sans-serif;
  box-shadow: 3px 3px 8px 3px rgba(0,0,0,0.5);
  transition: transform 150ms ease-in-out;
  transform-origin: top right;
}
#zapisy:before {
  content:"";
  width:20px;
  height:84px;
  top:-40px;
  right:5px;
  background-image:url(/uploads/images/web/paperclip-green.svg);
  background-size: 20px 84px;
  position:absolute;
  transform:rotate(14deg);
}

#zapisy:hover {
  transform: rotate(0deg);
}

@media (max-width: 1199px) {
  #zapisy {
    left:0px; margin:0 0 25px 0; /* přidáno pro posun vpravo na malé obrazovky */
    top:initial;
    margin-top:initial;
    margin-left:auto;
    margin-right:auto;
  }
}
#fblink {
  position: fixed;
  padding: 4px;
  top:190px;
  right: 0;
  width: 40px;
  height:120px;
  z-index: 8000;
  background: #3B5998 center center no-repeat url(/uploads/images/web/facebook_icon.png);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  box-shadow: -3px 3px 3px 0px rgba(0,0,0,0.75);
}
#fblink.poprve {
  top: -125px;
  animation: ukazfb 300ms 500ms 1 ease-in-out forwards;
  transition: translate 950ms ease-in-out 500ms;
}
@keyframes ukazfb {
  from {
    top: -125px;
  }
  to {
    top: 190px;
  }
}
#iglink {
  position: fixed;
  padding: 4px;
  top:325px;
  right: 0;
  width: 40px;
  height:40px;
  z-index: 8000;
  background: #d6249f;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%), round no-repeat url(/uploads/images/web/instagram_icon.png);
  background-blend-mode: overlay;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  box-shadow: -3px 3px 3px 0px rgba(0,0,0,0.75);
}
#iglink.poprve {
  top: -125px;
  animation: ukazig 300ms 500ms 1 ease-in-out forwards;
  transition: translate 950ms ease-in-out 500ms;
}
@keyframes ukazig {
  from {
    top: -125px;
  }
  to {
    top: 325px;
  }
}
/* Písmena po levé straně */
  .sticky-nav {
    --clr-1: #f05123;
    --clr-2: #fbb884;
    --clr-3: #f5822a;
    --clr-err: #E30613;
    font-family: 'Arial', sans-serif;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
  }

  .word-gap {
    height: 15px;
  }

  .nav-row {
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .box {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
  }

  .slide-panel {
    background-color: white;
    height: 45px;
    display: flex;
    align-items: center;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.3s linear;
    box-shadow: 5px 0 10px rgba(0,0,0,0.1);
  }

  .slide-panel span {
    padding: 0 5px; 
    color: #000;
    font-size: 16px;
  }

  .nav-row:hover .slide-panel {
    width: 400px; 
  }

  .bg-1 { background-color: var(--clr-1); color: #fff; }
  .bg-2 { background-color: var(--clr-2); color: #000; }
  .bg-3 { background-color: var(--clr-3); color: #000; }

  .correction-box .letter {
    position: relative;
    display: inline-block;
    line-height: 1;
    z-index: 1;
  }

  .correction-box .letter::before {
    content: "";
    position: absolute;
    width: 160%;
    height: 3px;
    background: var(--clr-err);
    top: 45%;
    left: -20%;
    transform: rotate(-25deg);
    z-index: 10;
  }

  .correction-box .letter::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: -20%;
    width: 140%;
    height: 1px;
    border-top: 2px solid var(--clr-err);
    border-bottom: 2px solid var(--clr-err);
    box-sizing: content-box;
  }
@media (max-width: 1215px) {
.sticky-nav { display: none; }
}
/* konec - Písmena po levé straně */

/* Plástve s obrázky */
 .honeycomb-container {
    --h-w: 220px; /* Pevná šířka šestiúhelníku */
    --h-h: calc(var(--h-w) * 1.1547); 
    --gap: 43px; 
    --border-width: 6px; /* Silný bílý okraj */
    --shadow: drop-shadow(0px 4px 8px rgba(0,0,0,0.3));
    padding: 50px;
    background-color: #fff;
    overflow-x: hidden;
        /* Definujeme minimální šířku, aby se mřížka nikdy "nezhroutila" */
    min-width: 1000px; 
  }
  .pl-row {
    display: flex;
    flex-wrap: nowrap; /* Zákaz skládání pod sebe */
    margin-top: calc(var(--h-h) * -0.25 + var(--gap));
    filter: var(--shadow);
    }

  .pl-row:nth-child(even) {
    margin-left: calc(var(--h-w) / 2 + var(--gap) / 2);
  }

  .pl-row:first-child {
    margin-top: 0;
  }

  .ib-hexagon-wrapper {
    /* flex: 0 0 auto zajistí, že se prvek nikdy nezmenší */
    flex: 0 0 var(--h-w);
    height: var(--h-h);
    background-color: #fff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: var(--gap);
    position: relative;
    }

  .ib-hexagon-inner {
    width: calc(100% - (2 * var(--border-width)));
    height: calc(100% - (2 * var(--border-width)));
    background-color: #64C7CC;
    background-size: cover;
    background-position: center;
    clip-path: inherit;     
  }

  /* Přiřazení obrázků */
  .hex-0 { background-image: url('/uploads/images/web/Plastve/1.jpg'); }
  .hex-1 { background-image: url('/uploads/images/web/Plastve/2.jpg'); }
  .hex-2 { background-image: url('/uploads/images/web/Plastve/3.jpg'); }
  .hex-3 { background-image: url('/uploads/images/web/Plastve/4.jpg'); }
  .hex-4 { background-image: url('/uploads/images/web/Plastve/5.jpg'); }
  .hex-5 { background-image: url('/uploads/images/web/Plastve/6.jpg'); }
  .hex-6 { background-image: url('/uploads/images/web/Plastve/7.jpg'); }

@media (max-width: 1200px) {
.honeycomb-container { display: none; }

/* Konec - Plástve s obrázky */
