h1 {color: #c4df30; font-size: 24pt; font-weight: bold; text-align: center;}
h1.title {
  font-size: 24pt;
  font-weight: bold;
  text-align: center;
}
/* h1 {border-bottom: 2px solid #4f89ae; padding-bottom: .3em} */
h2 {color: #4f89ae; font-size: 18pt; }  

#motto #motto-title a {
  color: #fff;
  font-weight: bold;
}
#topbar {margin-top: 30px;}
#topbar .col-sm-6 {float: right;}
header {background: #fff;}
#list-panel-news .description {display: none;}
#list-panel-news {font-size: 12px;}
#panel-favourites ul {
  padding-left: 15px;
}
main {
  border-radius: 0;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  background: #fff;
}

#box-custom-footer {
  margin-top: 40px;


}
h1 {margin-bottom: 20px;}

.navbar .navbar-nav > .active > a, .navbar .navbar-nav > .active > a:hover, .navbar .navbar-nav > .active > a:focus,
.navbar .navbar-nav > li > a:hover, .navbar .navbar-nav > li > a:focus
{
  color: #fff;
  background-color: #1970a1;
}

#topbar .btn-default:hover, #topbar .btn-default:focus, #topbar .btn-default:active, #topbar .btn-default.active, #topbar .open > .dropdown-toggle.btn-default,
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary,
#mailform-submit:hover
{
  color: #fff;
  background-color: #1970a1;
  border-color: #1970a1;
}

.input-group-btn:last-child > .btn {margin-left: 0;}

#search form .form-group:nth-child(2) .control-label {padding-top: 0;}

#motive {background-position: top center;}

#motto {background: rgba(0, 96, 151, 0.5); display: inline-block; padding: 0 1.5em 1.5em 1.5em; margin-top: 30px; color: #fff;}
#motto #motto-title a {color: #f2f2f2;}
#motto #motto-title {text-shadow: none;}
#motto #motto-text {text-shadow: none;}

#form {
  padding: 20px;
  margin-bottom: 1em;
  background-color: #f5f5f5;
}
#form span {margin-right: 10px;}

.nodisplay {display: none;}

#mailform-submit {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #fff;
  background-color: #4f89ae;
  border-color: #4f89ae;
  margin-top: 10px;
}

.media {border-bottom: 1px solid #eaeaea;}
main hr {display: none;}

.navbar {border: none; background: #4f89ae;}

aside .panel-primary > .panel-heading {background: rgba(0, 97, 151, .9);}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  background-color: #4f89ae;
  border-color: #4f89ae;
}

#topbar .btn-default {
  background-color: #4f89ae;
  border-color: #4f89ae;
}

.navbar .navbar-nav > li > a {
  transition: all .3s;
}

.pojistovny img {max-width: 100%;}
.pojistovny {margin: auto; max-width: 550px; text-align: center;}
.pojistovny > div {margin-bottom: 15px;}
@media (max-width: 768px) {
  .pojistovny img {max-width: 50% !important;}
}