/* SPANECO ~fiko */

*, *:before, *:after {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body {
  background-color: #fff;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  margin: 0;
}

.left { float: left; }
.right { float: right; }
.red { color: #cc0000; }
.clear { clear: both; }

a { color: #333; }
a:hover { text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  color: #333;
  font-weight: normal;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;}
h2 { font-size: 35px; line-height: 40px; margin-bottom: 10px; }
h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; }
h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
h5 { font-size: 17px; line-height: 24px; }
h6 { font-size: 14px; line-height: 21px; }

p { margin: 0 0 20px 0; }
p img { margin: 0; }

.full_width {
  width: 100%;
}

img {
  border: none;
  max-width: 100%;
}

a.detail {
  text-decoration: none;
  display: inline-block;
  border-radius: 50px;
  padding: 8px 18px;
}

/* Header */
.full_width.header {
  background-image: url(/assets/img/background-top.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-color: #98b34e;
}

body.other-bcg .full_width.header {
  background-image: url(/assets/img/background-top-2.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-color: #98b34e;
}

body.other-bcg #header {
  margin-bottom: 240px;
  padding-top: 40px;
}

#header {
  margin-bottom: 184px;
  padding-top: 40px;
}

.logo {
  float: left;
}

/* Hlavni navigace */
#main_nav {
  float: right;
  display: block;
  margin: 37px 0 0 0;
  padding: 0;
}

#main_nav li {
  float: left;
  display: block;
  margin: 0 10px;
}

#main_nav li a {
  color: #5875b0;
  padding: 8px 18px;
  text-decoration: none;
  display: inline-block;
  border-radius: 50px;
}

#main_nav li a:hover {
  color: #405580;
}

#main_nav li a.active {
  color: #405580;
  text-decoration: none;
  display: inline-block;
  border-radius: 50px;
  background-color: #4f94c4;
  color: #fff;
}

/* Aktuality index */
.full_width.aktuality {
  background: #a4c055; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2E0YzA1NSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5OGIzNGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  #a4c055 0%, #98b34e 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a4c055), color-stop(100%,#98b34e)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #a4c055 0%,#98b34e 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #a4c055 0%,#98b34e 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #a4c055 0%,#98b34e 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #a4c055 0%,#98b34e 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a4c055', endColorstr='#98b34e',GradientType=0 ); /* IE6-8 */
}

#aktuality.aktuality_index {
  margin-bottom: 40px;
}

.aktuality_header {
  margin-bottom: 40px;
}

/*#aktuality.aktuality_index {
  background-color: #9ab347;
}*/

.aktuality_header h1 {
  color: #fff;
  font-size: 28px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: normal;
  margin: 0;
  text-shadow: 0px 1px 1px #808080;
}

a.vice {
  float: right;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  margin-top: 13px;
  text-shadow: 0px 1px 1px #808080;
}

a.vice:hover {
  border-bottom: 3px solid #fff;
}

.aktualita,
.aktualita h2,
.aktualita a {
  color: #fff;
  text-shadow: 0px 1px 1px #808080;
}

.aktualita {
  padding-right: 20px;
}

#aktuality a.detail {
  border: 1px solid #fff;
  color: #fff;
}

#aktuality a.detail:hover {
  background-color: #fff;
  color: #98b34e;
  text-shadow: none;
}

.aktualita p {
  margin-bottom: 30px;
}

.aktualita h2 {
  font-size: 18px;
  line-height: normal;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 600;
}

.aktualita p.datum {
    background: url("/assets/img/icon/icon-datum-white.png") no-repeat scroll left center;
    margin: 20px 0;
    padding-left: 26px;
}

.info_text p.datum {
    background: url("/assets/img/icon/icon-datum.png") no-repeat scroll left center;
    margin: 20px 0;
    padding-left: 26px;
}

/* Obsah*/
#obsah {
  padding: 40px 0;
}

/*#obsah h2 {
  color: #5875b0;
  font-size: 28px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: normal;
  margin: 0 0 20px 0;
}*/

#obsah h1 {
  color: #5875b0;
  font-size: 28px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: normal;
  margin: 0 0 20px 0;
}

#obsah p {
  line-height: 22px;
}

#obsah a.detail {
  border: 1px solid #4f94c4;
  color: #4f94c4;
}

#obsah a.detail:hover {
  background-color: #4f94c4;
  color: #fff;
}

/* Footer */
#footer {
  padding: 40px 0 0 0;
  min-height: 200px;
}

.blue.footer {
  background-color: #e5f4f9;
}

#footer p {
  color: #5875b0;
}

/* FOTOGALERIE */
.gallery,
.fotogalerie {
  float: left;
  width: 100%;
  background-color: #fafafa;
  padding: 10px;
  box-sizing: padding-box;
  -moz-box-sizing: padding-box;
  -webkit-box-sizing: padding-box;
  margin-top: 10px;
}

.gallery a img,
.fotogalerie a img {
  float: left;
  margin: 5px;
}

.gallery strong,
.fotogalerie strong {
  display: block;
  margin-left: 5px;
  margin-bottom: 5px;
}

.img_0 {
  width: 220px;
}

/* Ostatni */
.n_page.aktuality {
  margin-top: 10px;
  float: left;
}

.n_page.aktuality .item {
  float: left;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 3px solid #e5f4f9;
}

.info_text h2,
.dok h2  {
  font-size: 24px;
  line-height: normal;
  margin: 0 0 20px 0;
  font-weight: 600;
}

/*.info_text h2 a {
  font-size: 24px;
  font-weight: 600;
  color: #4d4d4d;
  line-height: normal;
  text-transform: none;
}*/

.n_page_detail p.perex {
  font-style: italic;
}

.dokumenty {
  margin-bottom: 30px;
}

.dokumenty td,
.dokumenty th {
  padding: 6px 6px 6px 10px;
}

.dokumenty td {
  border-left: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
}

.dokumenty td:nth-child(2n+0) {
  border-right: 1px solid #f2f2f2;
}

.dokumenty th {
  background-color: #98b34e;
  color: #fff;
}

.dokumenty th:first-child {
  border-radius: 5px 0 0 0;
}

.dokumenty th:last-child {
  border-radius: 0 5px 0 0;
}

#dl-menu.dl-menuwrapper {
  display: none;
}

.google-maps {
  position: relative;
  padding-bottom: 75%; // This is the aspect ratio
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
#dl-menu.dl-menuwrapper {
  display: block;
}

#main_nav {
  display: none;
}
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
#header {
  margin-bottom: 179px;
  padding-top: 40px;
}

body.other-bcg #header {
    margin-bottom: 169px;
    padding-top: 40px;
}

.aktualita h2 {
  margin-top: 30px;
}

#dl-menu.dl-menuwrapper {
  display: block;
}

#main_nav {
  display: none;
}
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
#header {
  margin-bottom: 149px;
  padding-top: 40px;
}

body.other-bcg #header {
    margin-bottom: 49px;
    padding-top: 40px;
}

.aktualita h2 {
  margin-top: 30px;
}

#dl-menu.dl-menuwrapper {
  display: block;
}

#main_nav {
  display: none;
}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
#header {
  margin-bottom: 169px;
  padding-top: 40px;
}

body.other-bcg #header {
    margin-bottom: 49px;
    padding-top: 40px;
}

.vsechny_aktuality a.vice {
  float: left;
}

.aktualita h2 {
  margin-top: 30px;
}

#dl-menu.dl-menuwrapper {
  display: block;
}

#main_nav {
  display: none;
}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
#header {
  margin-bottom: 149px;
  padding-top: 40px;
}

body.other-bcg #header {
    margin-bottom: 49px;
    padding-top: 40px;
}

/*.logo {
  text-align: center;
}*/

#main_nav {
  width: 100%;
  text-align: center;
}

#main_nav li {
  float: left;
  width: 50%;
  margin: 0;
}

.aktualita h2 {
  margin-top: 30px;
}

#obsah .text {
  margin-bottom: 30px;
}

.vsechny_aktuality a.vice {
  float: left;
}

#dl-menu.dl-menuwrapper {
  display: block;
}

#main_nav {
  display: none;
}

}








