/*
Theme Name: ZŠ ŠKOLNÍ
Theme URI: 
Author: Tomáš Gažůr
Author URI: https://www.tomasgazur.cz
Version: 1.01
*/

img{display:block} button,hr,input{overflow:visible}audio,canvas,progress,video{display:inline-block}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline: transparent dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}
html,
body {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
*,
*:before,
*:after {
	box-sizing: inherit;
}
body {
	font-family: 'Roboto', Arial, sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #59595C;
	font-size: 17px;
	letter-spacing: normal;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	background-color: #fff;
}
.row {
	width: 100%;
	max-width: 1340px;
	padding: 0 20px;
	margin: 0 auto;
	display: block;
}
header {
	width: 100%;
	float: left;
	padding: 20px 0;
	z-index: 900;
	position: fixed;
	top: 0;
	left: 0;
	transition: all 150ms linear;
	-webkit-transition: all 150ms linear;
}
header .logo {
	float: left;
	width: 140px;
	margin-left: 30px;
}
body.scroll header {
	background: #fff;
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.1);
	padding: 5px 0;
}
a.link {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 400;
	width: 100%;
	height: 100%;
}
body#logged header {
	top: 32px;
}
header .main-menu {
	width: calc(100% - 260px);
	float: right;
	text-align: left;
	margin-top: 28px;
	position: relative;
}
header .main-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
header .main-menu li {
	display: inline-table;
	position: relative;
	margin: 0 12px;
}
header .main-menu li.bakalari {
	padding-left: 45px;
}
header .main-menu li.bakalari:before {
	content: '';
	display: inline-block;
	background-image: url('img/icon-bakalari.svg');
	background-position: center center;
	background-repeat: no-repeat;
	width: 35px;
	height: 30px;
	position: absolute;
	top: 0;
	left: 0;
}
header .main-menu li a {
	line-height: 30px;
	font-size: 17px;
	display: inline-table;
	color: #59595C;
	position: relative;
	border-bottom: 2px solid transparent;
}
header .main-menu li a:hover, header .main-menu li.current-menu-item > a, header .main-menu li.current-page-ancestor > a {
	border-color: #59595C;
}
a {
	text-decoration: none;
	transition: all 150ms linear;
	-webkit-transition: all 150ms linear;
}
a.button, .form-wrap input[type="submit"] {
	background-color: #AFC927;
	color: #58585A;
	padding: 15px 20px;
	min-width: 176px;
	border-radius: 10px;
	display: table;
	font-weight: 700;
	font-size: 19px;
	text-align: center;
}
a.button:hover, .form-wrap input[type="submit"]:hover {
	background: #545454;
	color: #fff;
	text-decoration: none !important;
}
a.button.left {
	float: left;
}
a.button.right {
	float: right;
}
a.button.center {
	margin: 0 auto;
}
a.button.inline {
	display: inline-block;
	margin: 0 20px;
}
body.scroll header .menu-show {
	top: -1px;
}
header .menu-show {
	position: absolute;
	right: 22px;
	top: 8px;
	display: none;
	width: 25px;
	font-size: 0;
	height: 28px;
	padding-top: 55px;
	z-index: 15;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: 300ms linear;
	-moz-transition:300ms linear;
	-ms-transition: 300ms linear;
	-o-transition: 300ms linear;
	transition: 300ms linear;
	cursor: pointer;
	text-transform: uppercase;
}
header .menu-show span {
	position: absolute;
	left: 0;
	display: block;
	width: 25px;
	height: 2px;
	background: #142C3D;
	opacity: 1;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: 0.25s ease-in-out;
	-moz-transition: 0.25s ease-in-out;
	-ms-transition: 0.25s ease-in-out;
	-o-transition: 0.25s ease-in-out;
	transition: 0.25s ease-in-out;
}
header .menu-show span:nth-child(1) {
	top: 25px;
}
header .menu-show span:nth-child(2),
header .menu-show span:nth-child(3) {
	top: 33px;
}
header .menu-show span:nth-child(4) {
	top: 41px;
}
.open-mobile header .menu-show span:nth-child(1) {
	top: 23px;
	left: 50%;
	width: 0%;
}
.open-mobile header .menu-show span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 31px;
}
.open-mobile header .menu-show span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top: 31px;
}
.open-mobile header .menu-show span:nth-child(4) {
	top: 20px;
	left: 50%;
	width: 0%;
}
.open-mobile {
	overflow: hidden;
}
.open-mobile header .logo {
	position: relative;
	z-index: 1000;
}
.open-mobile header .main-menu li.bakalari:before {
	position: relative;
	top: 8px; 
	left: -5px;
}
.open-mobile header .main-menu li.bakalari {
	padding-left: 0;
}
.open-mobile header .main-menu {
	background: #fff;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 800;
	height: 100vh;
	overflow-y: auto;
	left: 0;
	margin: 0;
	padding: 80px 0 0 0;
	display: block;
	-webkit-overflow-scrolling: touch;
}
.open-mobile header .main-menu ul {
	display: table;
	width: 100%;
	padding: 30px 0;
}
.open-mobile header .main-menu ul li {
	width: 100%;
	margin: 25px 0;
	text-align: center;
	padding-bottom: 0;
}
.open-mobile header .main-menu ul li a {

}
.trida-page .half.text {
	padding-right: 50px;
}
.half {
	float: left;
	width: 50%;
}
.half.timetable {
	float: right;
}
img {
	width: auto;
	max-width: 100%;
	height: auto;
}
p {
	margin-bottom: 30px;
	line-height: 135%;
}
section {
	float: left;
	width: 100%;
}
section.content {
	padding: 60px 0;
}
section.content.rozvrh-hp {
	padding-bottom: 0;
}
.main {
	margin-top: 45px;
}
.main.page {
	margin-top: 80px;
}
.main .main-wrap {
	position: relative
}
.main .main-wrap img {
	margin: 0 auto;
}
.main .inner {
	position: absolute;
	top: 60px;
	right: 40px;
	z-index: 100;
	max-width: 460px;
}
.main .inner h1 {
	display: none;
}
.calendar {
	align-content: center !important;
	display: flex;
	flex-wrap: wrap;
	padding: 0 5%;
	text-align: center;
	text-align: -webkit-center;
}
.calendar .day {
	margin-bottom: 60px;
	width: 16.666%;
}
.calendar .day .circle {
	position: relative;
	background-color:#c7d440;
	border-radius:50%;
	width:120px;
	height:120px;
	display:flex;
	flex-direction:column;
	justify-content:center;
	font-weight:400;
	font-size:1.75rem;
	line-height:1.2;
	text-align: center;
}
.calendar .day.week strong {
	font-size: 1.3rem;
}
.calendar .day strong {font-size:1rem;font-weight:700; margin-bottom: 4px;}
.calendar .day span {width:2rem;margin:0 auto;border-bottom:1px solid}
.calendar .day.active .circle {background-color:#e74c3c;color:#fff}
.day-info {
	text-align: center;
	width: 100%;
	font-size: 20px;
	display: none;
	margin-top: 30px;
}
.day-info.active {
	display: block !important;
}
.day-info .day-title {
	font-size: 40px;
	margin-bottom: 15px;
}
.day-info p {
	margin-bottom: 4px;
}
p {
	margin: 0;
	line-height: 145%;
}
.boxes {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.boxes .box {
	position: relative;
	text-align: center;
	width: calc(25% - 23px);
}
.boxes .box figure {
	width: 100%;
	height: 233px;
	display: block;
	margin: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 20px;
	transition: all 150ms linear;
	-webkit-transition: all 150ms linear;
}
.boxes .box-wrap {
	border-radius: 20px;
	margin-bottom: 15px;
	width: 100%;
	overflow: hidden;
}
.boxes .box img {
	transition: all 150ms linear;
	-webkit-transition: all 150ms linear;
	width: 100%;
}
.boxes .box:hover img, .boxes .box:hover figure {
	transform: scale(1.08);
}
.boxes .box h2 {
	margin: 0;
	color: #282525;
	line-height: 130%;
	font-size: 25px;
	font-weight: 700;
}
section.grey {
	background: #f8f9fa;
	color: #231F20;
}
section.grey a {
	color: #231F20;
}
section.grey a.button {
	color: #58585A;
}
section.grey a.button:hover {
	color: #fff;
}
section.entry a {
	color: #59595C;
	text-decoration: underline;
}
section.entry a:hover {
	text-decoration: none;
}
.aligncenter {
	text-align: center;
	margin: 0 auto 15px;
	display: block;
}
section.entry .alignleft {
	float: left;
	margin: 0 20px 15px 0;
}
section.entry hr {
	float: left;
	margin-bottom: 15px;
	width: 100%;
}
section.entry .alignright {
	float: right;
	margin: 0 0 15px 20px;
}
section.min-row .row {
	max-width: 1000px;
}
.breadcrumbs {
	text-align: center;
	font-size: 14px;
	margin-bottom: 20px;
}
.breadcrumbs a {
	color: #59595C;
}
.breadcrumbs a:hover {
	text-decoration: underline;
}
.important {
	text-align: center;
	color: #363434;
}
.important .section-title {
	margin-bottom: 60px;
}
.important .title {
	margin: 15px 0 30px 0;
	height: 55px;
	font-weight: 700;
	font-size: 24px;
}
.important table {
	width: 100%;
	border-collapse: collapse;
}
.important table td {
	padding: 7px;
	border-bottom: 1px solid #dee2e6
}
.entry {
	text-align: left;
	font-size: 18px;
	color: #231f20;
}
.entry h1 {
	color: #231f20;
	text-align: center;
	margin-bottom: 40px;
}
.entry table {
	margin-bottom: 40px !important;
}
.entry h2 {
	color: #231f20;
	margin: 0 0 20px;
	font-size: 30px;
}
section.news {
	font-size: 20px;
	text-align: center;
	padding: 50px 0;
}
section.news .news-cols {
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: start;
}
section.news .news-cols .news-col {
	width: 100%;
}
section.contacts {
	font-size: 24px;
}
section.news p {
	margin-bottom: 25px;
}
.section-title {
	font-size: 40px;
	color: #59595C;
	margin: 0 0 15px;
	font-weight: 700;
}
.section-title.smaller {
	font-size: 30px;
}
.section-title.center {
	text-align: center;
}
section.grey .section-title.center {
	margin-bottom: 40px;
}
.section-title.lightgrey {
	color: #8D8F92;
}
section.green {
	background: #A5CF4E;
}
.halfs {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	width: 100%;
}
.halfs .half {
	position: relative;
	text-align: center;
	width: calc(50% - 23px);
}
.halfs .half img {
	transition: all 150ms linear;
	-webkit-transition: all 150ms linear;
	width: 100%;
}
.halfs .half:hover img {
	transform: scale(1.08);
}
.halfs .half .name {
	margin: 0;
	color: #282525;
	line-height: 130%;
	font-size: 25px;
	font-weight: 700;
}
.halfs .half-img-wrap {
	overflow: hidden;
	margin-bottom: 15px;
	border-radius: 20px;
	position: relative;
}
.logos-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
	width: 100%;
	text-align: center;
	place-content: center;
}
.logos-list img {
	max-width: 200px;
	height: fit-content;
}
.cols {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	text-align: center;
	place-content: center;
}
.cols .col {
	width: calc(20% - 24px);
	position: relative;
}
.cols .col h2 {
	margin: 12px 0 0 0;
	font-size: 22px;
}
.icon{width:100%;display:flex;justify-content:center;align-items:center;aspect-ratio:1;background-color:#AFC927;border-radius:0.5rem;padding:0.35rem;transition:all 0.25s ease-in-out;}
.icon .bg, .icon polygon.cls-2, .icon polygon.cls-1 {fill:transparent;transition:all 0.25s ease-in-out}
.icon:hover{color:black}
.cols .col:hover .bg, .cols .col.active .bg, .cols .col:hover polygon.cls-2, .cols .col:hover polygon.cls-1, .cols .col.active polygon.cls-2 {fill:white}
.sub-pages-list .icon {max-width:160px;margin:auto}
.important .icon {max-width:100px;margin:auto}
.team-list {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	width: 100%;
}
.team-list .item {
	width: calc(25% - 23px);
	font-size: 18px;
	text-align: center;
	margin-bottom: 25px;
}
.team-list .item p.desc {
	display: block;
	margin-top: 10px;
}
.team-list .item .name {
	font-size: 24px;
	line-height: 135%;
	margin-bottom: 5px;
}
.team-list .item .pozice {
	font-size: 14px;
	padding-bottom: 15px;
	margin-bottom: 15px;
	border-bottom: 1px solid #ccc;
}
.team-list .item a {
	color: #212529bf;
	display: table;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: auto 20px;
	padding: 5px 0 5px 30px;
	margin: 0 auto;
}
.team-list .item a.email {
	background-image: url('img/icon-email.svg');
}
.team-list .item a.phone {
	background-image: url('img/icon-phone.svg');
}
.team-list .item a:hover {
	text-decoration: underline;
}
.trida-page .entry h1, .trida-page .breadcrumbs {
	text-align: left;
}
table{caption-side:bottom;border-collapse:collapse}
th{text-align:inherit;text-align:-webkit-match-parent}
thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}
.timetable .time-table{border-color:#fff;border-radius:22px;background-color:#c7d440 !important; width: 100%;}
.timetable .time-table td{padding:10px;text-align:center;font-size:0.8em; border-color: #fff;}
.timetable .time-table td.day{text-align:left;padding-left:12px}
.timetable .time-table td.time{padding:2px 1px 1px;font-size:0.5em}
.timetable .time-table th{padding:6px;text-align:center;font-size:0.8em}
.table-sm>:not(caption)>*>*{padding:0.25rem 0.25rem}
.table-bordered>:not(caption)>*{border-width:1px 0}
.table-bordered>:not(caption)>*>*{border-width:0 1px;}
.tridy.sub-pages-list .icon {font-size: 40px; font-weight: 700;}
body .icon path.cls-1, body .icon path.cls-2 {
	fill: #2b2b2a;
}
#subpage262 .icon path.cls-1, #subpage243 .icon path.cls-1 {
	fill: #AFC927;
}
#subpage262:hover .icon path.cls-1, #subpage243:hover .icon path.cls-1 {
	fill: #fff;
}

.green-box {
	width: 100%;
	padding: 30px;
	background: #AFC927;
	width: 100%;
	float: left;
	border-radius: 15px;
}
.green-box h2 {
	margin: 0 0 25px;
}
.green-box img.newspaper {
	float: right;
	max-width: 280px;
}
.bottom-content p {
	margin: 0 0 15px;
	line-height: 145%;
}
.bottom-content a {
	color: #006135;
	text-decoration: underline;
}
.bottom-content a:hover {
	text-decoration: none;
}
.entry table td {
	padding: 10px;
	border: 1px solid #ccc;
}
.entry figure {
	margin: 0 0 40px;
}
.wp-block-table {
  	width: 100%;
  	overflow-x: auto;
}
.wp-block-table table {
  	width: 100%;
 	border-collapse: collapse;
}
.wp-block-table tr:has(td:empty) {
  	display: none;
}


footer {
	float: left;
	width: 100%;
	background: #DCDDDE;
	padding: 30px 0;
	font-size: 17px;
}
footer .col {
	width: 20%;
	float: left;
}
footer .col:nth-child(1), footer .col.bigger {
	width: 30%;
}
footer .col.bigger ul li {
	width: 50%;
	float: left;
}
footer .col:nth-child(1) {
	padding-right: 5%;
}
footer .col.first img {
	margin-bottom: 20px;
}
footer .col.first a {
	color: #59595C;
}
footer .title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 15px;
}
footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
footer ul li {
	margin-bottom: 20px;
}
footer ul li a {
	color: #59595C;
}
footer ul li a:hover {
	color: #000
}
footer p {
	margin-bottom: 10px;
	line-height: 145%;
}






.clear {clear: both;}
.only-mobile {display: none;}



@media (max-width: 1400px) {
	.team-list .item {width: 31%;}
}
@media (max-width: 940px) {
	.boxes .box {width: calc(50% - 15px);}
	.cols .col {width: calc(50% - 24px); margin: 10px 0;}
	footer .col.bigger ul li {width: 100%;}
	.calendar .day {width: 32%; margin-bottom: 30px;}
	.team-list .item {width: 48%; margin: 10px 0;}
	
}
@media (max-width: 800px) {
	.halfs .half, .half {width: 100%;}
	section.contacts {font-size: 20px;}
	section.news {font-size: 18px;}
	header .main-menu ul {display: none;}
	header .menu-show {display: block;}
	header .main-menu {margin-top: 0;position: absolute; top: 0; left: 0; width: 100%;}
	.main .main-wrap .inner img {max-width: 240px;}
  .wp-block-table table,
  .wp-block-table thead,
  .wp-block-table tbody,
  .wp-block-table th,
  .wp-block-table td,
  .wp-block-table tr {
    display: block;
  }

  .wp-block-table thead {
    display: none;
  }

  .wp-block-table tr {
    margin-bottom: 1rem;
    border-radius: 6px;
    padding: 0.5rem;
    background: #fff;
  }

  .wp-block-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 0 !important;
  }

  .wp-block-table td:last-child {
    border-bottom: 1px solid #ccc !important;;
  }

  .wp-block-table td::before {
    content: attr(data-label);
    font-weight: 600;
    margin-right: 1rem;
    color: #555;
    white-space: nowrap;
  }
  .wp-block-table tr.is-fake-thead {
    display: none;
  }
	
	
	
}
@media (max-width: 740px) {
	footer .col {width: 100% !important; text-align: center; margin: 15px 0;}
	footer .col.first img {margin: 0 auto 30px; max-width: 230px;}
	footer .col:nth-child(1) {padding-right: 0;}
	.boxes .box h2  {font-size: 22px;}
	.calendar .day {width: 50%; margin-bottom: 15px;}
	.boxes .box {width: 100%; margin-bottom: 15px;}
	.team-list .item {width: 100%;}
}
@media (max-width: 620px) {
	.main .main-wrap .inner img {display: none;}
	.day-info .day-title, .section-title {font-size: 30px;}
	.day-info, .cols .col h2 {font-size: 18px;}
	.entry {font-size: 16px;}
	
}

