* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* outline: 0; */
  border: 0;
  font-family: 'PT Sans', 'Arial', sans-serif;
  vertical-align: top;
  /*list-style: none;*/
}
*:focus {
  outline: #000 2px dashed;
}
html,
body {
  height: 100%;
  font-size: 14px;
}
body {
  min-height: 100%;
}
a {
  /* color: #05aae0; */
  color: #044A62;
  text-decoration: underline;
  /* text-decoration: none; */
}
a:hover {
  color: #347fa7;
  text-decoration: none;
  /* text-decoration: underline; */
}
header,
nav,
menu,
main,
section,
article {
  display: block;
  width: 100%;
}
input[type="submit"] {
  height: 25px;
  padding: 0 20px;
  background: #549fc8;
  border: 1px solid #0e72a8;
  box-shadow: inset 0 0 1px 0 #76b2d3;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
}
input[type="submit"]:hover {
  background: #72afd1;
}
input[type="submit"]:active {
  background: #1f8ac3;
}
.clear:after {
  display: block;
  content: '';
  clear: both;
}
.pull-left {
  float: left;
}
.pull-right {
  float: right;
}
.text-up {
  text-transform: uppercase;
}
.b-460 {
  width: 460px;
}
.wrapper {
  width: 1000px;
  margin: 0 auto;
}
.zs {
  background-image: url(../images/spritesheet.png);
  background-repeat: no-repeat;
  display: inline-block;
}
.zs.zs-education {
  background-position: 0 0;
  width: 52px;
  height: 52px;
}
.zs.zs-eu {
  background-position: -52px 0;
  width: 75px;
  height: 50px;
}
.zs.zs-google {
  background-position: -52px -50px;
  width: 89px;
  height: 30px;
}
.zs.zs-mail {
  background-position: 0 -80px;
  width: 55px;
  height: 55px;
}
.zs.zs-praha5 {
  background-position: -141px 0;
  width: 115px;
  height: 52px;
}
.zs.zs-r5 {
  background-position: -141px -52px;
  width: 55px;
  height: 55px;
}
.zs.zs-search {
  background-position: -196px -52px;
  width: 30px;
  height: 30px;
}
.a-file:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(../images/files.png);
  background-repeat: no-repeat;
  display: block;
}
.a-file.file-doc:after {
  background-position: 0 0;
  width: 35px;
  height: 33px;
}
.a-file.file-other:after {
  background-position: -35px 0;
  width: 24px;
  height: 35px;
}
.a-file.file-pdf:after {
  background-position: 0 -35px;
  width: 35px;
  height: 32px;
}
header {
  height: 435px;
  /* background: #bbb; */
  background: #dedede;
  box-shadow: 0 0 200px 60px rgba(0, 0, 0, 0.2);
}
nav {
  background: #ebebeb;
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
}
nav a {
  display: block;
  color: #000;
  position: relative;
  width: 25%;
  text-align: center;
  text-decoration: none;
}
nav a:hover {
  background: #e5e5e5;
}
nav a:after {
  display: block;
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  top: 0;
  right: -1px;
  background: #e5e5e5;
}
nav a:before {
  display: block;
  content: '';
  position: absolute;
  width: 2px;
  height: 50%;
  top: 50%;
  transform: translateY(-50%);
  right: -1px;
  background: #dadada;
  z-index: 1;
}
nav a:last-child:after,
nav a:last-child:before {
  display: none;
}
.top {
  height: 100px;
  padding: 20px;
}
.top .logo a {
  display: inline-block;
}
.top .logo a:after {
  display: block;
  content: '';
  clear: both;
}
.top .logo img {
  margin: 0 20px 0 0;
}
.top .logo .schoolname {
  color: #200015;
  line-height: 30px;
  font-size: 20px;
  font-weight: bold;
}
.top .logo .schoolname span {
  font-size: 18px;
  font-weight: normal;
}
.top .search {
  position: relative;
}
.top .search .search-btn {
  margin: 15px 0 0;
  cursor: pointer;
}
.top .search .search-form {
  position: absolute;
  top: 15px;
  right: 0;
  width: 0;
  overflow: hidden;
}
.top .search .search-form input {
  height: 30px;
  padding: 0 15px;
  width: 215px;
}
menu {
  padding: 10px 0 5px;
  text-transform: uppercase;
}
menu .square {
  position: relative;
  float: left;
  width: 50%;
  height: 140px;
  background: url(../images/menu.png?ver=1.0) no-repeat;
}
menu .square.organization {
  background-position: 0 0;
  background-color: #63A50E;
  background-color: #235764;
}
menu .square.organization .square-links {
  background: #629b18;
  background: #317383;
}
menu .square.people {
  background-position: 0 -140px;
  background-color: #9a7a16;
  background-color: #03a693;
}
menu .square.people .square-links {
  background: #f9c21d;
  background: #11b19e;
}
menu .square.education {
  background-position: 0 -280px;
  background-color: #E67100;
  background-color: #2e8ab3;
}
menu .square.education .square-links {
  background: #e77502;
  background: #3694bd;
}
menu .square.schoollife {
  background-position: 0 -420px;
  background-color: #4296c3;
  background-color: #3c50b1;
}
menu .square.schoollife .square-links {
  background: #3d88b1;
  background: #465dce;
}
menu .square .square-name {
  position: absolute;
  text-align: center;
  height: 100%;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
}
menu .square .square-name:hover {
  text-decoration: none;
}
menu .square .square-name h3 {
  color: #fff;
  font-size: 48px;
  font-weight: normal;
  line-height: 140px;
  text-shadow: 3px 0 3px rgba(0, 0, 0, 0.05);
}
menu .square .square-links {
  display: none;
  position: absolute;
  height: 100%;
  width: 100%;
  font-size: 16px;
  line-height: 35px;
  padding: 15px 20px;
}
menu .square .square-links.big {
  padding: 0 20px;
}
menu .square .square-links a {
  color: #fff;
  text-decoration: none;
}
menu .square .square-links ul{
    padding: 0px;
	float: left;
	width: 50%;
}

menu .square .square-links ul li {
/*  float: left;
  width: 50%; */
  list-style-type: none;
}
/*
menu .square .square-links ul li:nth-child(2n) {
  padding: 0 0 0 45px;
}
*/
menu .square .square-links .close {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  width: 32px;
  height: 32px;
  background: url(../images/close.png) no-repeat 0 0;
  opacity: .35;
}
.breadcrumbs {
  padding: 10px 0;
}
.breadcrumbs span {
  position: relative;
  display: inline-block;
  margin: 0 20px 0 0;
}
.breadcrumbs span:after {
  position: absolute;
  display: block;
  content: '>';
  right: -15px;
  top: 0;
}
.breadcrumbs span:last-child:after {
  display: none;
}
.breadcrumbs a {
  text-decoration: underline;
}
.breadcrumbs a:hover {
  text-decoration: none;
}
main {
  min-height: calc(100% - 555px);
  padding: 0 0 70px;
}
main .content {
  margin: 5px 0 0;
  padding: 20px;
  background: #fff;
}
main .content h1,
main .content h2,
main .content h3,
main .content h4 {
  font-weight: normal;
  /*padding-bottom: 10px;*/
  margin-bottom: 10px;
}
main .content h1 {
  font-size: 30px;
  /*padding: 0 0 20px; 40px*/
  margin: 0 0 20px;
  line-height: 100%;
}
main .content h1 a {
  font-size: 14px;
  margin: 16px 0 0;
  text-decoration: none;
}
main .content section.b-460 h2, main .content section.aktualitySection h2, main .content h2.main_title {
  font-size: 30px;
  /*padding: 0 0 20px;  40px*/
  margin: 0 0 20px;
  line-height: 100%;
}
main .content section.b-460 h2 a {
  font-size: 14px;
  margin: 5px 0 0;
  text-decoration: none;
}
main .content section article {
  line-height: 24px;
  padding: 0 0 20px;
}
main .content section article.clankyArticle a, main .content section article.aktualityArticle a {
  color: #000;
  text-decoration: underline;
  font-weight: bold;
}
main .content section article.clankyArticle a:hover, main .content section article.aktualityArticle a:hover {
  text-decoration: none;
}
main .content section article h3 {
  font-size: 18px;
}
main .content section article .article-header {
  padding: 0 0 5px;
}
main .content section article .article-header .article-title {
  max-width: calc(100% - 100px);
  margin-bottom: 0px;
}
main .content section article .article-header .article-date {
  font-size: 13px;
  color: #444;
}
main .content .teachers-page{
    line-height: 24px;
}
main .content .teachers-page h1 {
  font-size: 30px;
  /*padding: 0 0 25px;*/
}
main .content .teachers-page h1 a {
  font-size: 14px;
  margin: 16px 0 0;
  text-decoration: none;
}
main .content .teachers-page .teachers-info {
  /*width: 360px;*/
  width: 325px;
  font-size: 16px;
}
main .content .teachers-page .teachers-info .contact {
  padding: 0 0 25px;
  line-height: 24px;
}
main .content .teachers-page .teachers-info .subjects {
  line-height: 30px;
}
main .content .teachers-page .teachers-info .subjects h3 {
  font-size: 20px;
  font-weight: bold;
}
main .content .teachers-page .teachers-articles {
    padding-left: 25px;
    width: calc(100% - 325px);
}
/*main .content .teachers-page .article-header {
  padding: 0 0 25px;
}*/
main .content .teachers-page .article-header .article-title {
  font-size: 24px;
}
main .content .teachers-page .article-short {
  font-size: 16px;
  line-height: 24px;
  word-wrap: break-word;
}
main .content .teachers-page .article-short h3{
  font-weight: bold;
}
main .content .teachers-page .article-short .photo-gallery a {
  margin: 25px 15px 0 0;
  max-width: 140px;
}
main .content .teachers-page .article-short .photo-gallery img {
  max-width: 100%;
}
main .content .teacher-filter {
  padding: 20px 0 30px; /*40px*/
  background-color: #f5f5f5;
}
main .content .teacher-filter h2 {
  font-size: 22px;
  text-align: center;
  margin: 0 0 10px; /*30px*/
}
main .content .teacher-filter form {
  width: 720px;
  margin: 0 auto;
}
main .content .teacher-filter .filter-option {
  display: inline-block;
  margin: 0 50px 0 0;
  font-size: 18px;
}
main .content .teacher-filter .filter-option span,
main .content .teacher-filter .filter-option select {
  display: inline-block;
  vertical-align: middle;
}
main .content .teacher-filter .filter-option select {
  background-color: #ffffff;
  border: 1px solid #ccc;
  margin: 0 0 0 5px;
  padding: 2px 2px 2px 10px;
}
main .content .teacher-all {
  padding: 35px 0 0;
}
main .content .teacher-all ul{
    padding: 0px;
}
main .content .teacher-all ul > li {
  float: left;
  width: 480px;
  padding: 0 0 25px 90px;
  font-size: 18px;
  list-style-type: none;
}
main .content .teacher-all ul > li a, .druzina-table a, table.akceSkoly a{
  text-decoration: none;
}
main .content .teacher-all ul > li a:hover, .druzina-table a:hover, table.akceSkoly a:hover {
  text-decoration: underline;
}
main .content .article-files {
  padding: 20px 0;
}
main .content .article-files h4 {
  color: #666;
  font-size: 20px;
  border-bottom: 1px solid #c7c7c7;
  padding: 0 0 8px;
}
main .content .article-files a {
  color: #157efb;
  text-decoration: none;
}
main .content .article-files a:hover {
  text-decoration: underline;
}
main .content .article-files .a-file {
  position: relative;
  display: inline-block;
  padding: 0 0 0 50px;
  height: 35px;
  margin: 15px 0 0;
  line-height: 38px;
}
main .content .photo-gallery a {
  display: block;
  float: left;
  max-width: 200px;
  max-height: 150px;
  margin: 25px 50px 0 0;
  text-decoration: none;
}
main .content .photo-gallery a:nth-child(4n) {
  margin-right: 0;
}
main .content .photo-gallery img {
  border: 5px solid #eee;
  object-fit: cover;
}
main .content .photo-gallery img:hover {
  border-color: #dbdbdb;
}
main .content > article {
  font-size: 16px;
  line-height: 24px;
}
main .content > article p, main .content section.archiv-page div.article-short p {
  padding: 0 0 10px;
}
main .content > article .grade {
  width: 50%;
}
main .content > article .grade:nth-child(2n) {
  padding: 0 0 0 20px;
}
main .content > article .grade .grade-row {
  /*margin: 20px 0 0; 25px*/
  margin: 0 0 20px;
}
main .content > article .grade .grade-row .grade-cell {
  float: left;
  width: 100px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background: #f6f6f6;
  margin: 0 0 0 35px;
  font-size: 24px;
  color: #000;
  text-decoration: none;
}
main .content > article .grade .grade-row .grade-cell:first-child {
  margin: 0;
}
main .content > article .grade .grade-row .grade-cell:hover {
  background: #ebebeb;
}
footer {
  font-size: 12px;
  padding: 15px 0;
  height: 115px;
  border-top: 10px solid #e0e0e0;
}
footer .footer-logos .zs {
  vertical-align: middle;
  margin: 0 0 0 40px;
}
footer .footer-logos .zs:first-child {
  margin: 0;
}
footer .footer-address {
  text-align: right;
  line-height: 18px;
}

main .content > article table {
    border: 1px solid #bbb;
    border-collapse: collapse;
    margin: 10px 0;
    margin-left: auto;
    margin-right: auto;
}
main .content section.teachers-articles table{
    max-width: 625px;
}
table td, table th {
    border: 1px solid #bbb;
    padding: 4px 5px;
    vertical-align: middle;
}
#gallery ul{
    padding: 0px;
}
#gallery li{
    width: 120px;
    height: 120px;
    float: left;
    padding: 10px;
    border: 1px solid #bbb;
    list-style-type: none;
}
#gallery h3{
    font-weight: bold;
    padding: 15px 0px;
}

#googleMap{
    width: 100%;
    height: 380px;
    margin-bottom: 20px;
}


article.aktualityArticle{
    height: 90px; /*125px*/
}
.clankyArticle{
    height: 60px;
    padding: 0 0 10px;
}
article.clankyArticle .article-short, article.aktualityArticle .article-short{
    word-wrap: break-word;
}
ul.paginator, p.archiv{
    margin-top: 20px;
    text-align: center;
}
ul.paginator li{
    display: inline-block;
    padding-left: 10px;
}
ul, ol{
    /*padding: 10px 0 20px 40px;*/
    padding: 0 0 10px 40px;
}
/*h2+h2{
    padding-top: 15px;
}*/
main h2 strong{
    font-size: small;
}
main .content > article .archiv p{
    padding: 0px;
}
main .content > article h3, main .content section.archiv-page div.article-short h3{
   font-weight: bold;
   /*padding-bottom: 10px;*/
   margin-bottom: 10px;
}

table.akceSkoly{
    width: 713px;
}
table.akceSkoly td:first-child{
    width: 200px;
}
main .content > article table.druzina-table{
    margin: 0px;
}

.druzina-table td {
	padding: 4px 0;
}

article h2:first-child{
    /*padding-bottom: 20px;*/
    margin-bottom: 20px;
}
img[alt="Acrobat Reader"],img[title="Acrobat Reader"], img[alt="Microsoft Word"], img[title="Microsoft Word"], img[alt="Microsoft Excel"], img[title="Microsoft Excel"]{
    height: 32px;
    width: 35px;
}

a.archivClanku{
    font-size: 16px;
}
article.archivOddeleni{
    padding-bottom: 20px;
}

h2.article-title a{
    color: #000;
    text-decoration: underline;
}
h2.article-title a:hover{
    text-decoration: none;
}

a.to_einvent{
    text-decoration: none;
    color: black;
}
a.to_einvent:hover{
    text-decoration: underline;
}
.pagination {
  text-align: center;
  padding: 15px 0 50px;
}
.pagination-pages {
  /*float: right;*/
/*  position: absolute;
  left: 50%;*/
  display: inline-block;
}
.pagination-pages li {
  list-style: none;
  float: left;
  font-size: 16px;
}
.pagination-pages li a {
  display: block;
  /*color: #404040;*/
  text-decoration: none;
  width: 37px;
  height: 37px;
  line-height: 37px;
}
.pagination-pages li a:hover {
  border-bottom: 2px solid #bbb;
}
.pagination-pages li a.active {
  /*color: #a3a3a3;*/
  font-family: Arial, sans-serif;
}
.pagination-pages li span {
  margin: 0 10px;
}
.pagination-pages li span.active {
  display: block;
  border-bottom: 2px solid #bbb;
  margin: 0;
  width: 37px;
  height: 37px;
  line-height: 37px;
  font-weight: 700;
}

.w200 {
    width: 200px;
}
main .content .teachers-page .teachers-articles.custom-width {
    width: calc(100% - 200px);
}


/* mobile version */
.mobile-top,
.mobile-menu {
  display: none;
}
@media screen and (max-width: 964px) {
	body {
		max-width: 100%;
	}
}
@media (max-width: 1024px) {
	/*
  body {
    min-width: 1024px;
  }*/
	.b-460 {
		width: 48%;
	}
  header {
    height: auto;
  }
}
@media (max-width: 480px) {
  body {
    min-width: auto;
	max-width: 480px;
  }
  nav,
  .top {
    display: none;
  }
  menu {
    padding: 0;
  }
  footer .footer-logos {
    display: none;
  }
  footer .footer-address {
    padding-right: 20px;
  }
  header {
    height: auto;
    background: none;
    box-shadow: none;
  }
  .wrapper {
    width: 100%;
  }
  .b-460 {
    width: 100%;
  }
  menu .square {
    width: 100%;
    height: auto;
    float: none;
    background-image: none;
  }
  menu .square .square-name {
    position: inherit;
  }
  menu .square .square-name h3 {
    line-height: 100px;
  }
  menu .square .square-links {
    position: inherit;
  }
  menu .square .square-links.big {
    padding: 15px 20px;
  }
  menu .square .square-links ul {
    padding: 0;
    float: none;
    width: 100%;
  }
  menu .square .square-links .close {
    display: none;
  }
  menu .square.organization {
    /* border-bottom: 4px solid #629b18; */
    border-bottom: 4px solid #1d4852;
    /* border-bottom: 4px solid #63A50E; */
  }
  menu .square.people {
    /* border-bottom: 4px solid #f9c21d; */
    border-bottom: 4px solid #128073;
    /* border-bottom: 4px solid #bd8d02; */
  }
  menu .square.education {
    /* border-bottom: 4px solid #e77502; */
    border-bottom: 4px solid #1c688a;
    /* border-bottom: 4px solid #E67100; */
  }
  menu .square.schoollife {
    /* border-bottom: 4px solid #3d88b1; */
    border-bottom: 4px solid #263271;
  }
  .mobile-top {
    display: block;
    padding: 15px;
    position: relative;
    height: 60px;
  }
  .mobile-top .school-name {
    text-align: center;
    color: #d1a34c;
    font-size: 24px;
  }
  .mobile-top .school-name a {
    color: #d1a34c;
    text-decoration: none;
  }
  .mobile-top .menu-btn {
    margin: 3px 0 0;
	float: left;
  }
  .mobile-top .menu-btn .menu-line {
    height: 5px;
    width: 30px;
    background: #d1a34c;
	margin: 0 0 5px;
  }
  .mobile-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    display: none;
    bottom: 0;
    z-index: 999;
  }
  .mobile-menu .mob-shadow {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }
  .mobile-menu .mob-menu {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #062129;
    width: calc(100% - 45px);
    overflow-y: auto;
    z-index: 999;
    color: #fff;
    padding: 15px;
  }
  .mobile-menu .mob-menu a {
    color: #fff;
    text-decoration: none;
  }
  .mobile-menu .mob-menu ul {
	padding: 0;
	list-style: none;
  }
  .mobile-menu .mob-menu ul li {
    font-size: 18px;
    border-bottom: 1px solid #364a4f;
  }
  .mobile-menu .mob-menu ul li a {
    display: block;
    padding: 15px;
  }
  .no-scroll {
    overflow: hidden;
  }
  .breadcrumbs {
	padding-left: 20px;
	padding-right: 20px;
  }
  article.clankyArticle {
    height: auto;
  }
  main .content .teachers-page .teachers-info {
	float: none;
	width: 100%;
  }
  main .content .teachers-page .teachers-info {
	float: none;
	width: 100%;
  }
  main .content .teachers-page .teachers-articles {
	margin-top: 25px;
	padding-left: 0;
	width: 100%;
	float: none;
  }
  main .content > article .grade .grade-row .grade-cell:first-child,
  main .content > article .grade .grade-row .grade-cell {
	margin: 0 0 15px 0;
  }
  main .content > article {
	overflow-y: auto;
  }
  main .content .teacher-filter form {
	width: 100%;
  }
  main .content .teacher-filter form input[type="submit"] {
	margin-left: 25px;
  }
  main .content .teacher-filter .filter-option {
	padding: 0 0 20px 25px;
	margin: 0;
  }
  main .content .teacher-all ul > li {
	width: 100%;
    padding: 0 0 25px 25px;
	float: none;
  }
  main .content .teachers-page .w200, main .content .teachers-page .custom-width {
      width: 100%;
  }

  main .content .teachers-page .teachers-articles.custom-width {
	  width: 100%;
  }

  main .content > article table.druzina-table {
	  margin-bottom: 30px;
  }
}



