html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
group,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
}
body {
  line-height: 1;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
html {
  overflow-y: scroll;
  overflow-x: hidden;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
ol,
ul {
  list-style: none;
}
abbr[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  padding: 0;
}
input,
select {
  vertical-align: middle;
  -webkit-appearance: none;
}
.nixhier {
  display: none;
}
.clearfix {
  clear: both;
  visibility: hidden;
}
#header {
  width: 100%;
  margin-top: -8px;
  position: relative;
  overflow: hidden;
  background-color: #f2e5af;
  padding-bottom: 80px;
}
#header::before {
  content: "";
  height: 200px;
  position: absolute;
  top: 0;
  left: 0;
  width: 2000px;
  height: 2000px;
  background: url(../img/width_1650.webp) top center no-repeat;
  background-size: 2500px;
  opacity: 0.3;
  z-index: 1;
}
#header .wrapper_bg {
  position: relative;
  z-index: 2;
}
#header #top-block {
  position: relative;
  width: 100%;
  top: 8px;
  background-color: #FDD148;
  padding: 10px 0px;
}
#header #top-block .wrapper .top-block-flex {
  display: flex;
  gap: 20px;
}
#header #top-block .wrapper .top-block-flex .top-block-school,
#header #top-block .wrapper .top-block-flex .top-block-spc {
  display: flex;
  align-items: center;
}
#header #top-block .wrapper .top-block-flex .top-block-school .black-dot,
#header #top-block .wrapper .top-block-flex .top-block-spc .black-dot {
  margin-right: 10px;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 12px;
  background-color: #000;
}
@media (max-width: 768px) {
  #header #top-block .top-block-flex {
    flex-direction: column;
  }
  #header #top-block .top-block-flex .top-block-school,
  #header #top-block .top-block-flex .top-block-spc {
    width: auto !important;
  }
}
@media (max-width: 600px) {
  #header #top-block .top-block-flex {
    flex-direction: row;
    justify-content: center;
    font-size: 12px;
  }
  #header #top-block .top-block-flex .top-block-school,
  #header #top-block .top-block-flex .top-block-spc {
    width: auto !important;
    flex-direction: column;
  }
  #header #top-block .top-block-flex .top-block-school .black-dot,
  #header #top-block .top-block-flex .top-block-spc .black-dot {
    margin-bottom: 10px;
  }
  #header #top-block .top-block-flex .top-block-school p,
  #header #top-block .top-block-flex .top-block-spc p {
    line-height: 1.3;
  }
}
#header #middle-block {
  margin-top: 30px;
  width: 100%;
}
#header #middle-block .middle-block-heading-img img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
#header #middle-block .middle-block-center-flex {
  display: flex;
}
#header #middle-block .middle-block-center-flex .left-logos {
  width: 35%;
}
#header #middle-block .middle-block-center-flex .left-logos .fm-logo img {
  max-width: 100%;
  max-height: 100%;
}
#header #middle-block .middle-block-center-flex .left-logos .organization-text {
  text-align: center;
  padding: 30px 0px;
}
#header #middle-block .middle-block-center-flex .left-logos .organization-text p {
  font-weight: 600;
}
#header #middle-block .middle-block-center-flex .left-logos .bottom-logos {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}
#header #middle-block .middle-block-center-flex .left-logos .bottom-logos .prispevkova-organizace-logo img {
  max-width: 100%;
  max-height: 100%;
}
#header #middle-block .middle-block-center-flex .left-logos .bottom-logos .msk-logo {
  position: relative;
  top: -11px;
}
#header #middle-block .middle-block-center-flex .left-logos .bottom-logos .msk-logo img {
  max-width: 100%;
  max-height: 100%;
}
#header #middle-block .middle-block-center-flex .school-logo {
  width: 30%;
}
#header #middle-block .middle-block-center-flex .school-logo img {
  max-width: 100%;
  max-height: 100%;
}
#header #middle-block .middle-block-center-flex .owl-carousel .owl-stage {
  display: flex;
}
#header #middle-block .middle-block-center-flex .article-items {
  display: flex;
  flex: 1 0 auto;
  height: 100%;
}
#header #middle-block .middle-block-center-flex .aticle-box {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#header #middle-block .middle-block-center-flex .school-img {
  width: 35%;
  margin-top: 10px;
}
#header #middle-block .middle-block-center-flex .school-img .item {
  height: 100%;
}
#header #middle-block .middle-block-center-flex .school-img .item img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  object-fit: cover;
  height: 100%;
  border-radius: 10px;
}
#header .school-links {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
#header .school-links .link {
  height: 80px;
  width: 185px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 7px;
  color: #000;
  transition: 0.3s;
  font-size: 18px;
}
#header .school-links .link.active {
  position: relative;
  top: -10px;
  border: 3px solid #b8a65f;
}
#header .school-links .link.active:after {
  display: block;
  content: "";
  width: 0;
  position: absolute;
  left: 50%;
  bottom: -13px;
  transform: translatex(-50%);
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #b8a65f;
}
#header .school-links .link p {
  padding: 10px 20px;
  font-weight: 600;
  line-height: 1.2;
}
#header .school-links .link:first-of-type {
  background-color: #FADE7A;
}
#header .school-links .link:first-of-type:hover {
  background-color: #c5af60;
}
#header .school-links .link:nth-of-type(2) {
  background-color: #F9B32F;
}
#header .school-links .link:nth-of-type(2):hover {
  background-color: #928246;
}
#header .school-links .link:nth-of-type(3) {
  background-color: #FFE870;
}
#header .school-links .link:nth-of-type(3):hover {
  background-color: #c1af55;
}
#header .school-links .link:nth-of-type(4) {
  background-color: #FCD047;
}
#header .school-links .link:nth-of-type(4):hover {
  background-color: #c4a137;
}
#header .school-links .link:last-of-type {
  background-color: #FF8B01;
}
#header .school-links .link:last-of-type:hover {
  background-color: #b66400;
}
@media (max-width: 768px) {
  #header .school-links {
    flex-wrap: wrap;
  }
}
@media (min-width: 768px) {
  #header #header {
    height: 100px;
    display: block;
    overflow: hidden;
  }
  #header .wrapper_bg {
    margin: 0 auto;
  }
}
@media (min-width: 990px) {
  #header #top-block h1 {
    display: block;
    position: absolute;
    right: 250px;
    top: 135px;
    width: 125px;
    height: 127px;
    background: url(../img/logo.png) top left no-repeat;
    background-size: 70px auto;
  }
  #header ul.bjqs {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    display: none;
  }
  #header ul.bjqs li.bjqs-slide {
    position: absolute;
    display: none;
  }
}
@media (min-width: 1300px) {
  #header #top-block .info .contact-block-ul-spc {
    margin-right: 80px !important;
  }
  #header #top-block .info .contact-block-ul {
    float: right;
  }
  #header #top-block .info .contact-block-ul-spc:before {
    content: "SPC:";
    display: block;
    position: absolute;
    left: -50px;
    text-decoration: underline;
    font-weight: bold;
    color: black;
    top: 5px;
  }
  #header #top-block .info .contact-block-ul-skola:before {
    content: "Škola:";
    display: block;
    position: absolute;
    left: -55px;
    text-decoration: underline;
    font-weight: bold;
    color: black;
    top: 5px;
  }
}
footer {
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  height: 200px;
  position: absolute;
  top: -50px;
  left: 0;
  width: 2000px;
  height: 2000px;
  background: url(../img/width_1650.webp) top center no-repeat;
  background-size: 2500px;
  opacity: 0.3;
  z-index: 1;
}
footer .footer-bg {
  position: relative;
  padding-top: 100px;
  padding-bottom: 200px;
  z-index: 2;
  background: url(../img/housese_footer_bg.webp) no-repeat;
  background-size: 120%;
  background-position: 50% calc(100% + 200px);
}
footer .footer-bg .wrapper .contact-flex {
  display: flex;
  justify-content: space-between;
  gap: 200px;
}
footer .footer-bg .wrapper .contact-flex .contact-left,
footer .footer-bg .wrapper .contact-flex .contact-right {
  width: 50%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
footer .footer-bg .wrapper .contact-flex .contact-left .footer-section-content ul,
footer .footer-bg .wrapper .contact-flex .contact-right .footer-section-content ul {
  line-height: 1.5;
}
footer .footer-bg .wrapper .contact-flex .contact-left .footer-section-content ul li a,
footer .footer-bg .wrapper .contact-flex .contact-right .footer-section-content ul li a {
  color: #000;
}
footer .footer-bg .wrapper .contact-flex .contact-left .map-qr,
footer .footer-bg .wrapper .contact-flex .contact-right .map-qr {
  width: 120px;
  margin-bottom: 0px;
}
footer .footer-bg .wrapper .contact-flex .contact-left .map-qr img,
footer .footer-bg .wrapper .contact-flex .contact-right .map-qr img {
  max-width: 100%;
  max-height: 100%;
  width: 120px;
}
@media (max-width: 990px) {
  footer::before {
    content: "";
    height: 200px;
    position: absolute;
    top: -50px;
    left: 0;
    width: 3000px;
    height: 3000px;
    background: url(../img/width_1650.webp) top right no-repeat;
    background-size: 3500px;
    opacity: 0.3;
    z-index: 1;
  }
  footer .footer-bg .wrapper .contact-flex {
    gap: 100px;
  }
}
@media (max-width: 660px) {
  footer .footer-bg {
    padding-top: 80px;
    padding-bottom: 100px;
  }
  footer .footer-bg .wrapper .contact-flex {
    gap: 40px;
    flex-direction: column;
  }
  footer .footer-bg .wrapper .contact-flex .contact-left,
  footer .footer-bg .wrapper .contact-flex .contact-right {
    width: auto;
  }
}
.news-item {
  margin: 8px 0;
  padding: 8px 0;
  border-bottom: 1px solid #cfcfcf;
}
.news-item-content {
  float: left;
}
.news-item-content-text {
  margin-bottom: 10px;
}
.news-item-content-date {
  color: #5e5e5e;
}
.news-item-content-more {
  margin: 0 5px;
}
.news-item-thumb {
  float: left;
}
.news-item-thumb img {
  margin-right: 10px;
}
.news-detail {
  margin-bottom: 10px;
}
.news-detail-last-change {
  color: #5e5e5e;
}
.news-detail-back {
  margin: 0 5px;
}
.pagination li {
  padding: 0px !important;
}
.pagination li a {
  padding: 2px 8px;
  float: left;
  border-radius: 0px;
  border: 1px solid gray;
  margin: 5px;
}
.pagination li.active a {
  background: #eeeeee;
}
