/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 
h2 > span{font-size:50%; font-weight:normal;}

section .nahled{width:100%; max-width:900px; margin:2em auto; color:#666;}
section .nahled span{color:#F00;}
 
.entry .entry-content .school-container{
  display: grid;
  grid-template-columns: 33% 33% 33%;
  grid-gap: 1em;

}


.school-container .school-box{ 
  position:relative;
  
    background: #fff;
    padding: 20px 0 0 0;
text-decoration:none !important;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


.school-container .school-box .school-box-logo{
	display: block;
    width: 60%;
    height: 200px;
    vertical-align: top;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    margin: 0 auto 1em auto;
}

.school-container .school-box .school-box-head{
	width:100%;
	background-color:#ffd369;
	color:#263f44;
	font-family: 'Dosis', sans-serif;
	text-transform:uppercase;
	font-weight:500;
	padding:0.5em 1em;
	  -webkit-border-radius: 0 0 3px 3px ;
  	-moz-border-radius: 0 0 3px 3px;
  	-ms-border-radius: 0 0 3px 3px;
  	border-radius: 0 0 3px 3px;

}

.school-container #map {
	height:60vh;
	min-height:500px;
	width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  }

.skola-info .info{width:100%; padding-top:2em;}

.skola-info .info table{
	display:inline-block;
	width:40%;
	vertical-align:top;
	margin-right:5%;
}
#info_skola.skola-info .info table{width:100%; margin:0;}
.skola-info .info table th, .school-edit table th{
padding-left:1em;
font-family: 'Dosis', sans-serif;
font-weight:600;
color:#263f44;
text-align:left;
}

.skola-info .info table td{
	padding-left:1em;
}

.skola-info .info table td i, #info_skola i,.skola-info .info table th i{padding-right:1em;    color: #ff815c;}

.skola-info #map{
	height:100%;
	min-height:500px;
	width:50%;
	display:inline-block;}
	
	.slick-carousel .carousel-inner{padding:0.5em;}
.slick-carousel .school-box{
    padding: 1em;
	margin: 0 0.5em;
    box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
	cursor:pointer;
	position:relative;

}
.slick-carousel .school-box-logo{
	width:auto;
	height:100px;
	max-height:100px;
	display:block;
	margin:0 auto;
	
}

.slick-carousel h2{
	font-size:1.1em;
}

.slick-carousel a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

/* ------------------------------------------------------------ */

.section-buttons .button {
	display:block;
	margin: 1em 0.5em;
	border-color:#015668;
	border-radius:5px;
	min-height:56px;
	padding: 1em 1.5em;
	color:#015668;
}

.section-buttons .button.kriteria{width:30%; display:inline-block;}

.section-buttons .button a{
	text-decoration:none;
	color:#015668;
}

.section-buttons .button a:hover, .section-buttons .button:hover a{color:#fff;}

.child-checkin #infobox{
width: 320px;
    background: #fff;
    padding: 1rem;
    border-radius: 5px;
    position: fixed;
    left: calc(100% - 20%);
}

.child-checkin #infobox .header{
	background-color: #015668;
    color: #fff;
    margin: -1rem -1rem 1rem;
    border-radius: 5px 5px 0 0;
    padding: 0.5em;
    font-size: 1.5em;
}

.child-checkin #infobox .header span.dashicons{font-size: 1.5em;}


.child-checkin section
{width: 100%;
    max-width: 800px;
    margin: 0 auto 5vh;
    background: #fff;
    padding: 1rem 3rem 2rem;
    border-radius: 5px;}

.child-checkin section h2
{
	background-color: #ffd369;
    border-radius: 5px 5px 0 0;
    padding: 0.5em 1rem;
    margin: -1rem -3rem 1em;
	}
.child-checkin section.red h2{background-color: #ff815c; }
.child-checkin section .footer
{
text-align:center;
padding:1em 0.5em;
	}
	
.child-checkin section .footer .button{margin:0;}
	
.child-checkin label{
	    display: block;
    width: 100%;
    margin: 0.5em 0 0;
    font-weight: 500;
    font-family: 'Dosis', sans-serif;
    text-transform: uppercase;
}
.child-checkin input, .child-checkin select{
	display:block;
	width:100%;
	margin: 0;	
}

.child-checkin input[type=text]:not(.calendar)
{text-transform: capitalize;}

.child-checkin section.disabled{background:#e8e8e8;}
.child-checkin section.disabled h2{background-color: #015668; color:#fff;}
.child-checkin section.disabled .footer{}
.child-checkin section.disabled .button, .child-checkin section.disabled button{background:#e8e8e8; cursor:default;}
.child-checkin section.disabled .button:hover, .child-checkin section.disabled button:hover{color:inherit;}
.child-checkin section.disabled label{color: #7b7a7a;}
.child-checkin section.disabled input{background-color: #ebebeb;}


.child-checkin label.checkbox_label{width:calc(100% - 3em); display:inline-block;}
.child-checkin input[type=checkbox]{width:2em; margin:0; display:inline-block;}
.child-checkin #parent-1, .child-checkin #parent-2, .child-checkin #step2{/*display:none;*/}


.zastup-input{display:none;}
#zastup3-edit label{width:20%;display: inline-block;
    margin: 0.5em 1em;}
#zastup3-edit input{width:33%;display: inline-block;
    margin: 0.5em 1em;}

.list-button{
	border: 1px solid #ccc;
	border-left:none;
    padding: 1em;
    width: calc(100% - 5px);
    margin: 1em 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
	position:relative;
}	

.list-button:before{
	  position: absolute;
    content: '';
    width: 5px;
    height: 100%;
    left: 0;
    background-color: #009;
    top: 0;
	}
.list-button h2{
	/*padding:0;
	display:inline-block;*/
	margin-left:1em;
}
	
.list-button h2:before{
	content:none;
}

.list-button div.button{display:inline-block; margin-right:1em;}

#skola_prihlaska {
	width:100%;

}	

#info_zastupce{display:none;}

.mobile-show{display:none;}

#info_skola{margin-top:5vh;}
#spadova_skola{font-weight:500;}
/* ------------------------------------------------------------ */
.rozvrhdiv{    padding-right: 2em;
    position: relative;
    display: inline-block;}
	
.rozvrh{    border-collapse: collapse; text-align:center;float:left; width:auto;}

.seznam_deti{float:none; text-align:left;}

.rozvrh th, .rozvrh td{
    border-bottom: 1px solid #d9d9d9;
    border-right: 1px solid #F1F1F1;
	line-height:40px;
	padding:0 2em;
	text-align:center;
	
}
.rozvrh td{width:80px; height:40px;padding:0;}
.rozvrh tr:last-child th, .rozvrh tr:last-child td{
    border-bottom: none;
}
.rozvrh label{
	display: inline-block;
    cursor: pointer;
    position: relative;
	width:100% !important;
	height:100%;
	max-height:40px;
	font-family:'Font Awesome\ 5 Free';
	font-weight: 900;
	vertical-align:top;
}
.rozvrh input[type=radio]{display: none;}
.rozvrh label:before {

    content: "\f00c";
    display: inline-block;
 	color:#CCC;
    width: 80px;
    height: 40px;
	padding:0;
    position: absolute;
    left: 0;
	top:0;
    background-color: transparent;
}
.rozvrh label[for=nezajem], .rozvrh.seznam_deti label{width:25px!important; padding:2px;}
.rozvrh label[for=nezajem]:before, .rozvrh.seznam_deti label:before {

    content: "\f00c";
    display: inline-block;
 	color:#CCC;
    width: 25px;
    height: 15px;
	padding: 0;
}

.rozvrh input[type=radio]:checked + label:before {
    content: "\f00c";
    color: #fff;
    text-align: center;
	background-color: #012b3e;
}

input[type=radio]:checked#nezajem + label:before, .rozvrh.seznam_deti input[type=radio]:checked + label:before {
    content: "\f00c";
    color: #004777;
	background-color:transparent;
}

.rozvrh input[type=radio]:disabled + label:before {
    content: "\f00d";
    color: #FF2828;
    text-align: center;
}
	
	
/* ------------------------------------------------------------ */
    .ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;   
    padding: 4px 0;
    margin: 0 0 10px 25px;
    list-style: none;
    background-color: #ffffff;
    border: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
	cursor:pointer;
}

.ui-autocomplete li{padding: 0 1em; line-height:2em;}
.ui-autocomplete li:nth-child(even){background-color:#ebebeb;}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #111;
    white-space: nowrap;
    text-decoration: none;
}

.ui-state-hover, .ui-state-active {
font-weight:bold;	
}

/* ------------------------------------------------------------ */

#setting-school table, #setting-document table{width:100%;}
#setting-school table th, #setting-document table th{width:30%;}
#setting-school .pul, #setting-document .pul{width:50%;}
#setting-school .ctvrt, #setting-document .ctvrt{width:auto; display:inline-block; padding-left:2em;}
#setting-school input[type=radio], #setting-document input[type=radio]{margin-right:1em;}
#setting-school .logo-prev{width:500px; height:auto;}
#setting-school .logo-prev img{width:auto;
	height:150px;
	max-height:150px;
	display:block;
}
#setting-city-rule .ctvrt, #setting-home-rule .ctvrt{margin-right:1em;width:23%; display:inline-block;vertical-align:middle;}
#setting-city-rule form, #setting-home-rule form{margin-bottom:2em;}
.tooltip{position:relative;}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 350px;
  background-color: #fff;
  border-radius: 5px;
  padding: 0.5em;
  box-shadow:2px 2px 10px rgba(0,0,0,0.2);
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  right: 105%;
}

.tooltip .tooltiptext h3{
	background-color:#015668;
	color: #fff;
	font-family:'Dosis', sans-serif;
	border-radius:5px 5px 0 0;
	padding:0.5em;
	margin:-0.5em -0.5em 1em;
	}

.tooltip .tooltiptext li:after{content:''; width:100%; height:1px; background:#ccc;display:block;margin-left: -1em;}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.smallFont{font-size:1.1rem;}
.hidden{display: none;}
/* ------------------------------------------------------------ */

.school-edit table th{padding-left: 0.5em;
    background-color: #015668;
    color: #fff;
    font-weight: 400;}


/* ------------------------------------------------------------ */

@media only screen and (max-width: 1200px) {
  .skola-info .info table{
	width:100%;
	margin-right:0;
	
	
}

.skola-info #map{
	width:100%;
}

.school-container .school-box h2{ 
font-size:1.2em;
}
}

@media only screen and (max-width: 1600px) {
	.school-container .school-box h2{ 
		font-size:1.8em;
		}
}

@media only screen and (max-width: 1370px) {
	.school-container .school-box h2{ 
		font-size:1.6em;
		}
}

@media only screen and (max-width: 1280px) {
	.school-container .school-box h2{ 
		font-size:1.2em;
		}
}

@media only screen and (max-width: 960px) {
	.school-container .school-box{ width:45%;}

}

@media only screen and (max-width: 960px) {
	.no-mobile-show{display:none;}
	.mobile-show{display:table;}

}

@media only screen and (max-width: 600px) {
	.school-container .school-box{ 
	width:98%;
		}
		
	.slick-carousel h2{
	font-size:1.5em;
}
.child-checkin label{
	width:100%;	
	margin:0.5em 0 0 0;
}
.child-checkin input{
	width:100%;
}
.child-checkin label.checkbox_label{width:calc(98% - 2em);}
.child-checkin input[type=checkbox]{vertical-align: top;
    margin: 1em 0 0 0;}
.rozvrh th, .rozvrh td{
	font-size:80%;
}
.rozvrh th{padding:0 0.5em;}
.rozvrh td{width:40px;}
.rozvrh label:before {
    width: 40px;
}
}



header:after, #timeline .timeline-item:after, header:before, #timeline .timeline-item:before {
    content: '';
    display: block;
    width: 100%;
    clear: both;
}
#timeline {
  width: 100%;
  margin: 4em auto;
  position: relative;
  padding: 0 10px;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
#timeline:before {
  content: "";
  width: 3px;
  height: 100%;
  background: #ff815c;
  left: 50%;
  top: 0;
  position: absolute;
}
#timeline:after {
  content: "";
  clear: both;
  display: table;
  width: 100%;
}
#timeline .timeline-item {
  margin-bottom: 50px;
  position: relative;
}
#timeline .timeline-item .timeline-icon {
  background: #ff815c;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  left: 50%;
  overflow: hidden;
  margin-left: -23px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}
#timeline .timeline-item .timeline-icon .number {
  display: block;
  color:#eeeeee;
  line-height: 50px;
  font-size: 30px;
  text-align: center;
} 
#timeline .timeline-item .timeline-icon .dashicon {
  position: relative;
  color:#eeeeee;
  top: 15px;
  left: 15px;
}
#timeline .timeline-item .timeline-content {
  width: 45%;
  background: #fff;
  padding: 20px;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
  -ms-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#timeline .timeline-item .timeline-content h2 {
  padding: 15px;
  background: #ff815c;
  color: #fff;
  margin: -20px -20px 0 -20px;
  font-weight: 300;
  -webkit-border-radius: 3px 3px 0 0;
  -moz-border-radius: 3px 3px 0 0;
  -ms-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
}

#timeline .timeline-item .timeline-content h3{
	margin:0;
}

#timeline .timeline-item .timeline-content:before {
  content: '';
  position: absolute;
  left: 45%;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #ff815c;
}
#timeline .timeline-item .timeline-content.right {
  float: right;
}
#timeline .timeline-item .timeline-content.right:before {
  content: '';
  right: 45%;
  left: inherit;
  border-left: 0;
  border-right: 7px solid #ff815c;
}

#timeline .btn {
  padding: 5px 15px;
  text-decoration: none;
  background: transparent;
  border: 2px solid #f27c7c;
  color: #f27c7c;
  display: inline-block;
  position: relative;
  text-transform: uppercase;
  font-size: 12px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
  -webkit-transition: background 0.3s ease;
  -moz-transition: background 0.3s ease;
  -ms-transition: background 0.3s ease;
  transition: background 0.3s ease;
  -webkit-box-shadow: 2px 2px 0 #f27c7c;
  -moz-box-shadow: 2px 2px 0 #f27c7c;
  -ms-box-shadow: 2px 2px 0 #f27c7c;
  box-shadow: 2px 2px 0 #f27c7c;
}
#timeline .btn:hover {
  box-shadow: none;
  top: 2px;
  left: 2px;
  -webkit-box-shadow: 2px 2px 0 transparent;
  -moz-box-shadow: 2px 2px 0 transparent;
  -ms-box-shadow: 2px 2px 0 transparent;
  box-shadow: 2px 2px 0 transparent;
}

@media screen and (max-width: 768px) {

  #timeline {
    margin: 30px;
    padding: 0px;
    width: 90%;
  }
  #timeline:before {
    left: 0;
  }
  #timeline .timeline-item .timeline-content {
    width: 90%;
    float: right;
    padding: 1.5rem;
  }
  #timeline .timeline-item .timeline-content:before, #timeline .timeline-item .timeline-content.right:before {
    left: 10%;
    margin-left: -6px;
    border-left: 0;
    border-right: 7px solid #ff815c;
  }
  #timeline .timeline-item .timeline-icon {
    left: 0;
  }

  #timeline .timeline-item .timeline-content h2 {
    padding: 15px;
    background: #ff815c;
    color: #fff;
    margin: -15px -15px 0 -15px;
    font-size: 1.8rem;
  }

  #timeline .timeline-item .timeline-content p{
    margin:0 0 2rem;
  }
}
