/*
Theme Name: ARCHA core themes basic
Author: fafik, mike
Author URI: https://www.archa.cz
Description: základní šablona
Version: 1.1
License: GNU General Public License
License URI: license.txt
*/

/* ------------------------- RESET ------------------------------ */
body, div, h1, h2, h3, h4, p, ul, li, form { margin:0; padding:0; }
div, h1, h2, h3, h4, p, li, th, td, input, select, option, textarea { font: inherit; }
a img { border:none; }

/* ------------------------- BASIC ------------------------------ */
body {
  background:white;
  margin:0 auto;
  text-align:center;
  font-family: 'Open Sans', sans-serif;
	/*font-size:15px;*/
	font-size:18px;
}
.container {
  width:1280px;
  box-sizing: border-box;
  /*padding:30px;*/
  margin:0px auto;
}
h1, .h1, h2, .h2, h3, .h3 {
  font-family: 'Open Sans', sans-serif;
	font-weight:bold;
}
h1, .h1, h2, .h2, h3, .h3, p { margin-bottom:1em; }

h1, .h1 {
  font-size:1.7em;
  text-transform:uppercase;
  font-weight:bold;
}
h2, .h2 {
  font-size:1.4em;
  margin-top:1em;
}
h3, .h3 { font-size:1.2em; }
p {
	/*line-height: 1.3em;*/
	line-height:32px;
}

a, a:visited, a:hover { color:#68845f; }
a, a:visited { text-decoration:none; }
a:hover { text-decoration:underline; }

.left { text-align:left; }
.center { text-align:center; }
.right { text-align:right; }
.fr { float:right; }
.fl { float:left; }
.cb { clear:both; }
.dn { display:none; }

img.alignleft,
a img.alignleft {
  border: none;
  float: left;
  margin: 0 20px 10px 0;
}

a.obtekany {
  float:left;
  margin:0 20px 20px 0;
}

/* ------------------------- COOKIES --------------------------- */
#cookies-alert {
  display: block;
  box-sizing: border-box;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 1.5em 5em 2em 5em;
  z-index: 9999999;
  background-color: #000;
  color: #fff;
}
#cookies-alert .button,
#cookies-settings .button {
  margin: 8px;
  padding: 8px;
  border: 1px solid #666;
}

#cookies-settings {
  margin-bottom: 200px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input,
.switch-item input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-item {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.slider,
.slider-item {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider-item:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider,
input:checked + .slider-item {
  background-color: #2196F3;
}
input:focus + .slider,
input:focus + .slider-item {
  box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
input:checked + .slider-item:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}
.slider.round {
  border-radius: 34px;
}
.slider-item.round {
  border-radius: 22px;
}
.slider.round:before,
.slider-item.round:before {
  border-radius: 50%;
}

/* ------------------------- HOME ------------------------------ */
#header {
	height:64px;
  width:100%;
	background:white;
	position:fixed;
	z-index:999;
}
#mozaika {
  height:calc(100vh - 64px);
	padding-top:64px;
}
#mozaika div {
	box-sizing:border-box;
}
#mozaika_mrkev {
  float:right;
	width:calc((100% - 300px) / 2);
  height:calc(100% - 209px);
  min-height:calc(209px + 320px);
	background:url('assets/css/holky_4ku4_mrkev.jpg') top left no-repeat;
	background-size:cover;
  border-left:6px solid white;
  border-bottom:6px solid white;
  position:relative;
}
#mozaika_logo {
  float:left;
  width:calc(((100% - 300px) / 2) + 300px);
  height:209px;
  background-color:#eee;
  background-image:url('assets/css/pavucina.png'), url('assets/css/bg_smrky.jpg');
	background-position:bottom left, top left;
	background-repeat: no-repeat, repeat-x;
  text-align: right;
}
#mozaika_logo img {
  width: 330px;
  padding: 63px 25px 0 0;
}
#mozaika_mrkvicka {
  float:left;
	width:calc((100% - 300px) / 2);
  height:calc(100% - 209px);
  min-height:calc(209px + 320px);
	background:url('assets/css/holky_4ku4_mrkvicka.jpg') top center no-repeat;
	background-size:cover;
  border-top:6px solid white;
  border-right:6px solid white;
	position:relative;
}
#mozaika_mrkev a, #mozaika_mrkev a:visited {
  display: block;
	position: absolute;
  bottom:30px;
	left:30px;
}
#mozaika_mrkvicka a, #mozaika_mrkvicka a:visited {
  display: block;
	position: absolute;
  top:30px;
	right:30px;
}
#mozaika_mrkev img,
#mozaika_mrkvicka img {
	height:70px;
	width:auto;
}
#mozaika_text {
  float:left;
  width:300px;
  height:calc(100% - 418px);
	min-height:400px;	/* aby se do bloku vesly slogany i ikony k nim */
	padding:0 40px;
	box-sizing:border-box;
  border-top:6px solid white;
  border-bottom:6px solid white;
}
#mozaika_text img {
	margin-top:20px;
	width:42px;
}
#mozaika_text img:first-child {
	margin-top:0;
}
#mozaika_text p {
	line-height:22px;
	margin-bottom:0;
  margin-top: calc((100vh - 64px - 418px - 12px - 360px) / 2);
}
#mozaika_text p span {
	display:block;
}
#mozaika_text strong {
	display:block;
  font-size:22px;
	line-height:24px;
}
#mozaika_smrky {
  float:left;
  width:calc(((100% - 300px) / 2) + 300px);
	height:30%;
  max-height:209px;
  height:209px;
  background-image:url('assets/css/pavucina.png'), url('assets/css/bg_smrky.jpg');
	background-position:top right, top left;
	background-repeat: no-repeat, repeat-x;
  position: relative;
}
#mozaika_smrky a.scroll_down, #mozaika_smrky a.scroll_down:visited {
	display: block;
	position: absolute;
	left:125px;
	top:75px;
	cursor: pointer;
	background:rgba(255,255,255,0.75);
	width:53px;
	height:53px;
	border-radius:50%;
}
#mozaika_smrky a.scroll_down svg, #mozaika_smrky a.scroll_down:visited svg {
	margin-top:18px;
}

#main {
	clear:both;
}
#main .container {
  text-align:left;
  padding:40px 0;
}
#main .mrkev,
#main .mrkvicka {
	overflow:auto;
}
#main .bedrnik,
#main .ibm {
	margin-top:50px;
	overflow:auto;
}
#main .mrkev {
  background:#f7f7f7 url('assets/css/bg_mrkev_w1920.jpg') bottom center no-repeat;
}
#main .mrkvicka {
	background:#f7f7f7 url('assets/css/bg_mrkvicka_w1920.jpg') bottom center no-repeat;
}
#main .mrkev .logo,
#main .mrkvicka .logo {
	display:block;
	margin-top:20px;
	height:110px;
	margin-left:60px;
}
#main .mrkev h2,
#main .mrkvicka h2 {
  display:inline-block;
	margin-left:80px;
	background-color: #78B684;
  color: white;
  font-size: 1.4em;
  font-weight: bold;
  padding:7px 30px;
	margin-bottom:0;
}
#main .mrkvicka h2 {
  background-color: #EEAE5B;
}
#main .mrkev .text,
#main .mrkvicka .text {
	float:left;
	margin-left: 80px;
  width:560px;
  text-align: center;
}
#main .mrkev .text_inner,
#main .mrkvicka .text_inner {
	padding:30px;
	background:rgba(255,255,255,0.85);
  text-align:left;
}
#main .mrkev a.vice,
#main .mrkvicka a.vice,
#main .bedrnik a.vice,
#main .ibm a.vice {
	color:white;
	padding:10px 20px;
	border:2px solid white;
	clear:left;
	display:inline-block;
	margin-top:40px;
	font-size:24px;
	letter-spacing:3px;
  margin-bottom:50px;
}
#main .mrkev a.vice:hover {
  background:#78B684;
	border:2px solid #78B684;
	text-decoration:none;
}
#main .mrkvicka a.vice:hover {
  background:#EEAE5B;
	border:2px solid #EEAE5B;
	text-decoration:none;
}
#main .bedrnik a.vice {
	color:#5a7880;
	border:2px solid #5a7880;
}
#main .bedrnik a.vice:hover {
  background:#5a7880;
	text-decoration:none;
	color:white;
}
#main .ibm a.vice {
	color:#ad675e;
	border:2px solid #ad675e;
}
#main .ibm a.vice:hover {
  background:#ad675e;
	border:2px solid #ad675e;
	text-decoration:none;
  color:white;
}
#main .mrkev .diagram,
#main .mrkvicka .diagram {
  float:right;
	width:550px;
	height:812px;
  background-position:top left;
  background-repeat:no-repeat;
  margin-bottom:50px;
}
#main .mrkev .diagram {
	margin-top:-23px;
	background-color:rgba(120,182,132,0.85);
	background-image:url('assets/images/diagram-mrkev.png');
}
#main .mrkvicka .diagram {
  margin-top:-23px;
	background-color:rgba(238,174,91,0.85);
	background-image:url('assets/images/diagram-mrkvicka.png');
}
#main .bedrnik .text,
#main .ibm .text {
	float:left;
  width:600px;
	margin-left:80px;
  text-align:center;
}
#main .bedrnik .text_inner,
#main .ibm .text_inner {
  padding: 30px 30px 30px 0;
  text-align:left;
}
#main .bedrnik .nadpis_box,
#main .ibm .nadpis_box {
	text-align:left;
  margin:-4px 30px 0 0;
}
#main .bedrnik h2,
#main .ibm h2 {
	margin:0;
	background-color:rgba(72, 105, 114, 0.9);
  color: white;
  font-weight: bold;
  padding:7px 0;
	text-align:left;
  display: inline;
	line-height:2.1em;
	font-size:1.4em;
}
#main .bedrnik h2 span,
#main .ibm h2 span {
	padding: 0.6rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
#main .ibm h2 {
  background-color:#ad675e;
}
.bedrnik .owl-carousel.owl-drag .owl-item {
  border: 2px solid #5a7880;
}
.ibm .owl-carousel.owl-drag .owl-item {
  border: 2px solid #ad675e;
}

#main .veletrh {
	margin-top:50px;
	background:url('assets/css/bg_veletrh_w1920.jpg') bottom center no-repeat;
	text-align:center;
  overflow:auto;
}
#main .kontakty {
	margin:70px 0 40px 0;
  background:url('assets/css/bg_kontakty_w1920.jpg') 0 69px no-repeat;
	min-height:738px;
  position:relative;
}
#main .veletrh .text {
	float:left;
  margin:30px 150px;
	text-align:center;
}
#main .kontakty .text {
	float:right;
  margin:20px 115px 0 0;
	text-align:center;
}
#main .veletrh .text_inner,
#main .kontakty .text_inner {
	text-align:left;
}
#main .kontakty .text_inner {
	background:rgba(255,255,255,0.8);
	padding:20px;
	box-sizing:border-box;
}
#main .kontakty table {
	margin-bottom:20px;
	background:rgba(255,255,255,0.8);
	padding:10px 20px;
	box-sizing:border-box;
}
#main .kontakty table tr td {
	text-align:left;
}
#main .kontakty table tr td a, #main .kontakty table tr td a:visited {
	color:#68845f;
	font-weight:bold;
}
#main .veletrh .nadpis_box,
#main .kontakty .nadpis_box {
	width:710px;
  text-align: left;
  margin-left: 80px;
}
#main .veletrh h2,
#main .kontakty h2 {
	margin:0;
	background-color:#68845f;
  color: white;
  font-weight: bold;
  padding:7px 0;
	text-align:left;
  display: inline;
	line-height:2.1em;
	font-size:1.4em;
}
#main .veletrh h2 span,
#main .kontakty h2 span {
	padding: 0.6rem;
  /* Needs prefixing */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
#main .veletrh .text p,
#main .kontakty .text p {
  font-size: 18px;
	line-height: 32px;
}
#main .veletrh img {
	width:650px;
	margin:90px auto;
	display:block;
}
#main .veletrh a.vice {
	color:white;
	padding:10px 20px;
	border:2px solid white;
	clear:left;
	display:inline-block;
	font-size:24px;
	letter-spacing:3px;
  margin-bottom:100px;
}
#main .veletrh a.vice:hover {
  background:#68845f;
	border:2px solid #68845f;
	text-decoration:none;
	color:white;
}
#main .kontakty .logo_kontakty {
	position:absolute;
	bottom:120px;
	left:calc(50% - 503px);
}
#main .kontakty .logo_kontakty img {
	width:350px;
}

.icons {
	float:right;
	padding: 20px 30px 0 20px;
}
.icons img {
	width:22px;
	margin-left:10px;
  vertical-align: middle;
}
.logged-in .icons #logovaci {
	display:none;
}
a#admin_switch, a#admin_switch:visited {
	font-weight:bold;
}

/* ------------------------- MENU ------------------------------ */
nav {
}
#closebtn {
	display:none;
}
#closebtn img {
	width:25px;
	height:auto;
}
#topmenu {
  list-style-type:none;
  height:64px;
  text-align:left;
}
#topmenu li {
  display:inline-block;
}
#topmenu a, #topmenu a:visited {
  font-weight: bold;
  color:black;
  text-transform:uppercase;
  padding:10px 20px;
  line-height:64px;
}
#topmenu .current-menu-item a, #topmenu .current-menu-item a:visited {
  color:#68845f;
}
#topmenu .current-menu-item .sub-menu li a {
  color:black;
}
#topmenu .sub-menu {
  display:none;
  padding:5px 0 20px 0;
}
#topmenu .menu-item.icon:hover {
  background: none;
}
#topmenu .menu-item-182 .sub-menu,
#topmenu .menu-item-182 .sub-menu li {
  width:291px;
}
#topmenu .menu-item-183 .sub-menu,
#topmenu .menu-item-183 .sub-menu li {
  width:365px;
}
#topmenu .menu-item:hover {
  background:#e7e7e7;
}
#topmenu .menu-item-182 a:hover,
#topmenu .menu-item-183 a:hover {
	text-decoration:none;
	cursor:default;
}
#topmenu .menu-item-182 .sub-menu a:hover,
#topmenu .menu-item-183 .sub-menu a:hover {
	text-decoration:underline;
	cursor:pointer;
}
#topmenu .menu-item:hover .sub-menu {
  display:block;
  position:absolute;
  z-index:9999;
  text-align:left;
  background:#e7e7e7;
}
#topmenu .menu-item:hover .sub-menu .menu-item:hover {
  background:none;
}
#topmenu .sub-menu li {
  padding:8px 30px 0 30px;
	box-sizing:border-box;
	display:block;
}
#topmenu .sub-menu a, #topmenu .sub-menu a:visited {
  line-height:22px;
  text-transform:none;
  padding:0;
}
#topmenu .sub-menu a:hover {
  text-decoration:underline;
}
#topmenu .sub-menu .sub-menu {
  display:none;
  padding:0;
  width:auto;
}
#topmenu .menu-item-182:hover .sub-menu .sub-menu,
#topmenu .menu-item-183:hover .sub-menu .sub-menu {
	position:relative;
}
#topmenu .sub-menu .sub-menu li {
  padding:8px 0 0 20px;
	box-sizing:border-box;
}
#topmenu .sub-menu .sub-menu a, #topmenu .sub-menu .sub-menu a:visited {
  line-height:23px;
  font-weight:normal;
}
#topmenu li.icon {
  display: none;
}

/* ------------------------- SLIDER ------------------------------ */
.owl_container {
  padding:0;
	width:600px;
	float:right;
}
.owl-carousel {
	list-style-type:none;
}
.owl-carousel .owl-item {
  padding:0;
  box-sizing:border-box;
}
.owl-carousel .nav-btn {
  position: absolute;
  height:40px;
  width:40px;
  cursor: pointer;
  top: 400px !important;
}
.owl-carousel .owl-prev.disabled,.owl-carousel .owl-next.disabled {
  pointer-events: none;
}
.owl-carousel .owl-prev.disabled .prev-slide, .owl-carousel .owl-next.disabled .next-slide {
  background-color: #eee;    /* barva shodna s barvou pozadi (disabled sipky) */
}
.owl-carousel .prev-slide, .owl-carousel .next-slide {
  background-color: #999;
}
.owl-carousel .prev-slide{
  left: 20px;
  background:url(assets/css/owl-nav-btn-prev.svg) top left no-repeat;
}
.owl-carousel .next-slide{
  right: 20px;
  background:url(assets/css/owl-nav-btn-next.svg) top right no-repeat;
}


/* ------------------------- VYDANA CISLA ------------------------------ */
.category #content .container {
	text-align:center;
}
.category #content .container .post {
	clear:both;
	margin-bottom:50px;
  padding: 0 0 20px 0;
}
.category #content .container .post.category-casopis-bedrnik-dosud-vydana-cisla {
  border: 1px solid #5a7880;
  border-top:none;
}
.category #content .container .post.category-informacni-bulletin-mrkvicka-dosud-vydana-cisla  {
  border: 1px solid #ad675e;
  border-top:none;
}
.category #content .container h1 {
  display: inline-block;
	color: white;
	font-size: 1.4em;
	font-weight: bold;
	padding: 7px 30px;
	margin-bottom:40px;
}
.category-casopis-bedrnik-dosud-vydana-cisla h1 {
  background:#5a7880;
  display: inline-block;
}
.category-informacni-bulletin-mrkvicka-dosud-vydana-cisla h1 {
	background:#ad675e;
}
.category #content .wp-caption {
	display:inline-block;
	margin:0 15px;
	vertical-align:top;
	position:relative;
}
.category #content .wp-caption a, .category #content .wp-caption a:visited {
	display:block;
}
.category-casopis-bedrnik-dosud-vydana-cisla #content .wp-caption .wp-caption-text a,
.category-casopis-bedrnik-dosud-vydana-cisla #content .wp-caption .wp-caption-text a:visited,
.informacni-bulletin-mrkvicka-dosud-vydana-cisla #content .wp-caption .wp-caption-text a,
.informacni-bulletin-mrkvicka-dosud-vydana-cisla #content .wp-caption .wp-caption-text a:visited {
  display:block;
	margin:10px auto 0 auto;
	width:50px;
	height:50px;
	background:url('assets/css/pdf_mrkev.svg') center center no-repeat;
	background-size:40px;
}
.category-casopis-bedrnik-dosud-vydana-cisla #content .wp-caption .wp-caption-text a:hover,
.informacni-bulletin-mrkvicka-dosud-vydana-cisla #content .wp-caption .wp-caption-text a:hover {
	text-decoration:none;
}
.category #content .wp-caption-text {
	line-height:20px;
}
.mfp-arrow:before {
  opacity: 0 !important;
}
/* Magnific Popup */
.mfp-bg {
  z-index:99999998;
}
.mfp-wrap {
  z-index: 99999999;
}

.blok_cisla {
	display:inline-block;
	width:20%;
  margin-bottom: 40px;
	vertical-align:top;
}
.casopisy   {
  text-align:center;
}
.casopisy a, .casopisy a:visited	{
	display:inline-block;
	width:24%;
  margin-bottom: 40px;
	vertical-align:top;
}

/* ------------------------- FOTOGALERIE ------------------------------ */
#gallery {
  clear:both;
}
.gallery br {
  display:none;
}
.gallery .gallery-item {
	float: left;
  margin:12px;
  box-sizing:border-box;
}
.gallery-size-medium .gallery-item {
  width:275px;
  overflow:hidden;
}
.gallery .gallery-caption {
	color: #888;
	margin: 0 0 12px;
  display:none;
}
.gallery::after {
  content:"";
  display:block;
  clear:both;
}
/* korekce defaultnich posouvacich sipek (aby nemely ten sedy vnejsi border) */
.mfp-arrow:before {
  opacity: 0 !important;
}
#video {
  clear:both;
  margin:30px 0;
}

/* ------------------------- FOOTER ------------------------------ */
#footer {
  text-align:center;
	margin:0 auto;
	padding:0 30px 50px 30px;
}
#footer img {
  display: inline-block;
	width:400px;
}
#footer p {
  width:600px;
	font-size:13px;
	line-height:18px;
	display:inline-block;
}
#footer p.kontaktni {
  clear:both;
	padding-top:30px;
	width:100%;
	font-size:15px;
}
#footer p.kontaktni a, #footer p.kontaktni a:visited {
	font-weight:bold;
}

/* ------------------------- MIMO HOMEPAGE ------------------------------ */
.category #content,
.single #content,
.page-id-598 #content,
.page-id-601 #content {
	background:url('assets/css/bg_mimohome.jpg') center 65px no-repeat;
	padding-top:65px;
}
.category #content.materske-skoly,
.single #content.materske-skoly,
.page-id-598 #content.materske-skoly,
.page-id-601 #content.materske-skoly {
	background:url('assets/css/bg_mimohome2.jpg') center 65px no-repeat;
	padding-top:65px;
}
#top_blok  {
	height:590px;
	overflow:auto;
}
#top_blok.registrace  {
	height:620px;
}
#top_blok .logo {
	display:block;
	float:left;
	margin-top:190px;
	background:rgba(255,255,255,0.9);
	box-sizing:border-box;
  padding: 10px 30px 25px 30px;
	padding-left:calc(50% - 580px);
}
#top_blok.materske-skoly .logo {
}
#top_blok .logo img {
	float:left;
}
#content.public #top_blok .logo img {
  height: 110px;
}
#top_blok .slogan {
	display:block;
	float:right;
	margin-top:30px;
	background:rgba(255,255,255,0.9);
	text-align: left;
	font-size:1.37em;
  box-sizing:border-box;
  padding: 15px 30px;
	width: calc(50% - 640px + 1187px);
}

.single article {
  float:left;
  width:100%;
	padding:30px;
	box-sizing:border-box;
	text-align:center;
}
.single article ul {
	margin-left:70px;
}
.single article ul li {
	margin-bottom:15px;
}
.single article .diagramy {
  display:inline-block;
	width:550px;
	height:812px;
}
.category-zakladni-a-stredni-skoly .diagramy {
  background:#78B684;
}
.category-materske-skoly .diagramy {
  background:#EEAE5B;
}

.desc {
  margin:40px 0 40px 0;
	font-weight:bold;
  display: block;
	background:rgba(255,255,255,0.9);
	padding: 15px 30px;
	color:white;
}
.desc.casopis-bedrnik-dosud-vydana-cisla { 	background:#78B684; }
.desc.informacni-bulletin-mrkvicka-dosud-vydana-cisla { 	background:#EEAE5B; }

article.mrkev,
article.mrkvicka {
  float: left;
	width: 100%;
	padding: 30px;
	box-sizing: border-box;
}
.post .texty h1,
.mrkev h1,
.mrkvicka h1 {
  color: white;
	font-size: 1.4em;
	font-weight: bold;
	padding: 15px 30px;
	margin-bottom: 40px;
	text-align:left;
  background: #68845f;
	margin-top: -40px;
}
.post.category-materske-skoly .texty h1,
.adm h1.mrkvicka {
	background:#EEAE5B;
}
.single .post .texty h1,
.mrkev h1 {
	background:#78B684;
	margin-top:0;
}
.mrkvicka h1 {
	background:#EEAE5B;
	margin-top:0;
}
.single .post.category-materske-skoly .texty h1 {
	background:#EEAE5B;
	margin-top:0;
}

.koordinatori {
	margin:0;
	padding:0;
  border-collapse: collapse;
  display: inline-block;
}
.koordinatori tr th,
.koordinatori tr td {
	padding:7px 15px;
	border:1px solid #ccc;
	text-align:left;
}
.koordinatori tr th {
	font-weight:bold;
	text-transform:uppercase;
  padding:10px 15px;
  background:#666;
	color: white;
}
.koordinatori tr:nth-child(odd) {
	background:#eee;
}
.koordinatori tr td a, .koordinatori tr td a:visited {
	font-weight:bold;
  text-transform: uppercase;
}
.koordinatori tr td a img {
	width:25px;
}

.soubor {
	display:inline-block;
	width:50px;
	height:50px;
  margin-right:20px;
	background:url('assets/css/pdf_mrkev.svg') top center no-repeat;
	background-size:40px;
}
.category-informacni-bulletin-mrkvicka-dosud-vydana-cisla .soubor {
	background:url('assets/css/pdf_mrkvicka.svg') top center no-repeat;
  background-size:40px;
}
.soubor.pdf_neni {
  background:url('assets/css/pdf_neni.svg') top center no-repeat;
  background-size:40px;
}
.obalka_cisla p {
	margin-bottom:0;
}
.code_cisla .soubor {
  margin:10px 0 0 0;
}
.soubor.priloha {
	margin-right:100px;
}

article  #gallery-1 {
 text-align: center;
}
article #gallery-1 .gallery-item {
  width:auto;
  float: none;
	display: inline-block;
}
article #gallery-1 img {
  border:none;
}

article .texty {
	text-align:left;
}
.single article .texty {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;
  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
article .texty table {
	margin:20px 0;
}
.single article .texty table tr th,
.single article .texty table tr td {
	padding:2px 5px;
  vertical-align: top;
}

.post .texty a.registrovat, .post .texty a.registrovat:visited {
  display:inline-block;
	color:#78B684;
  font-size: 1.4em;
  font-weight: bold;
  padding: 15px 30px;
  margin-bottom: 40px;
  border: 2px solid #78B684;
  text-align: left;
}
.post .texty a.registrovat:hover {
  background:#78B684;
  color: white;
}
.post.category-materske-skoly .texty a.registrovat, .post.category-materske-skoly .texty a.registrovat:visited {
  color:#EEAE5B;
	border: 2px solid #EEAE5B;
}
.post.category-materske-skoly .texty a.registrovat:hover {
  background:#EEAE5B;
  color: white;
}

#kraje .kraj {
	float:left;
	width:33%;
	text-align:left;
	padding:0 30px 30px 0;
	box-sizing:border-box;
}
#kraje .kraj:nth-child(3n+4) {
	clear:both;
}
#kraje .kraj a, #kraje .kraj a:visited {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;
  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
article a, article a:visited {
	font-weight:bold;
}
article.mrkvicka a, article.mrkvicka a:visited {
  color: #da9133;
}

/* ------------------------- MAPA ------------------------------ */
#mapa {
  position:relative;
  width:1120px;
}
.map-responsive {
  overflow: hidden;
  position: relative;
  width: 1120px;
  height: 400px;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}


/* ------------------------- ADMIN MENU ------------------------------ */
#admin_menu {
	display:none;
	float: right;
	background:#e7e7e7;
	padding:20px;
}
#loginform label,
#loginform input {
	display:block;
	width:100%;
	box-sizing:border-box;
}
#loginform label {
	text-transform:uppercase;
}
#loginform input {
	line-height:22px;
	padding:5px 10px;
	font-weight:normal;
	text-align:center;
}
#loginform input[type="submit"] {
	font-weight:bold;
}
#admin_menu p {
	font-weight:bold;
}
#admin_menu ul {
	list-style-type:none;
}
#admin_menu ul li {
  line-height:33px;
}
#admin_menu ul li a, #admin_menu ul li a:visited,
#admin_menu a {
	color:black;
  font-size: 21px;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 1.9em;
}

#top_adm {
  height:249px;
	background:url('assets/css/bg_smrky.jpg') top left repeat-x;;
}
#top_adm #mozaika_logo {
  float: left;
  width: 100%;
  height: 159px;
  background: url('assets/css/pavucina.png') bottom left no-repeat;
  margin-top: 65px;
	text-align:center;
}
#top_adm #mozaika_logo img {
  padding: 29px 0 0 0;
}
#content.public .post .texty h1 {
  color: white;
  font-size: 1.4em;
  font-weight: bold;
  padding: 15px 30px;
  margin-bottom: 40px;
  background: #68845f;
  text-align: left;
  margin-top: -40px;
}

#custom_reg fieldset,
#adm_form fieldset {
  background:#f3f3f3;
  margin-bottom: 30px;
  border: 1px solid #bbb;
  padding: 10px 20px;
  box-sizing: border-box;
  text-align: left;
}
#custom_reg fieldset legend,
#adm_form fieldset legend {
  background:white;
}
#adm_form fieldset {
	float:left;
	width:31%;
	margin:1%;
}
#adm_form fieldset label,
#adm_form fieldset input,
#adm_form input,
#adm_form fieldset textarea,
#adm_form fieldset select {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}
#adm_form input[type="checkbox"] {
  width: auto;
  margin: 6px 10px 0 0;
  vertical-align: top;
}
#adm_form input[type="checkbox"] ~ label {
  display: inline-block;
  width: calc(100% - 25px);
}
#custom_reg input[type="submit"],
#adm_form input[type="submit"] {
  padding: 15px;
  text-transform: uppercase;
  font-weight: bold;
  background: #68845f;
  color: white;
  border: none;
}
