h1, h2, h3, p {
  text-align:justify;
}
img.motivpic {
  margin-top: -329px;

  width: 100%;
}
.box-custom {
  background-color: #00518c  ;
}

#textmotiv {

  background: #fff;
  margin-bottom: -33px;
}
#textmotiv h1{
  top: 60px;
  text-align: center;
  font-size:5em;
  color: #00518c  !important;
}
#textmotiv h2{

  position: relative;
  top: 40px;
  text-align: center;
  font-size:2.5em;
  color: #00518c  !important;
}
header {
  background: #ffffff; 
  background: -moz-linear-gradient(left, #ffffff 50%, #00518c 50%); 
  background: -webkit-linear-gradient(left, #ffffff 50%,#00518c 50%);
  background: linear-gradient(to right, #ffffff 50%,#00518c 50%); 
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#1e5799',GradientType=1 );
  height: 110px;
  position: absolute;
  width: 100%;
  padding-top: 0;
}
header .container,
header .container .row {
  height: 100%;
}

.navbar-collapse {
  padding-top: 2.3rem;
}
#index h1, #article-330395 h1, #article-330396 h1, #article-330397 h1 {
  color:#3a3a3a;
  margin-bottom: 50px;
}
h1{
  color: #00518c;
}

h2{
  color: #00518c;
}
p{
  font-size:16px;
  color:#454545;
}
/*uvodni text*/
p#uvodnik  {
  font-size: 19px;
  color:#fff;
}
p#uvodnik {
  margin: 32px;
  margin-bottom: 28px;
  margin-top:45px;
}

/*logo*/
#logo img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin-top: auto;
  margin-bottom: auto;
  display: block;
  z-index: 99999!important;
}
p#logo {
  margin-bottom: 0;
  height: 110px;
  position: relative;
}

/*menu*/
.navbar-toggle {
  background-color: #fff;
}
.navbar-nav{
  float: right;
  margin-top: -15px;
}
.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 0;
}
.navbar-nav > li{
  margin: 0;
  font-weight:normal;
  margin:10px;
  border-left: 0px solid #fff;
  border-right: 0px solid #fff;
}
.navbar-nav > li:after {
  content: '';
  display: block;
  margin: auto;
  height: 3px;
  width: 0px;
  background: transparent;
  transition: width .5s ease, background-color .5s ease;
}
.navbar-nav > li:hover:after {
  width: 100%;
  background:  #fff;
}
.navbar-default {
  background: #ffffff; 
  background: -moz-linear-gradient(left, #ffffff 50%, #00518c 50%); 
  background: -webkit-linear-gradient(left, #ffffff 50%,#00518c 50%);
  background: linear-gradient(to right, #ffffff 50%,#00518c 50%); 
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#1e5799',GradientType=1 );
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
  color: #fff;
  background-color: transparent;
}
.navbar-default .navbar-nav > li > a {
  color: #fff;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #00518c;
  font-weight: bold;
  border-bottom:3px solid #fff;
}
.navbar-nav > li.active:after {
  display: none;
}
nav.navbar.navbar-default.navbar-static-top a{
  width:85px;
  min-height:56px;
  text-align:center;
  height: 56px;
}
.navbar-static-top {
  border-width: 0px 0;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
  background-color: #01518C;
  color: white;
}
/*.navbar-default .navbar-collapse{
border-color: #01518c;
background: #01518c;
}
*/


#motto {
  float: right;
  text-align: center;
  margin-top: 79px;
  letter-spacing: 4px;
  line-height: 57px;
}
#motto #motto-title {
  font-size: 2.8em;
  margin-left: 24px;
}
#motto #motto-text {
  font-size: 2.8em;
}

/*položky*/
#dlazdice {
  margin-top: 37px;
}
#dlazdice .col-sm-12.col-md-4 {
  margin-top: 0;
  margin-bottom: 32px;
}
#dlazdice img {
  width: 100%;
  opacity: 1;
  transition: opacity .5s ease-out;
  -moz-transition: opacity .5s ease-out;
  -webkit-transition: opacity .5s ease-out;
  -o-transition: opacity .5s ease-out;
}
#dlazdice .col-sm-12.col-md-4:hover img {
  opacity:0.5;
}
a {
  color: #00518c;
}
.pokus{
  position:relative;
}
.pokus a{
  position: relative;
  top: -36px;
  text-align: center;
  color: #00518c;
  font-size: 14pt;
  padding: 5px 0;
  font-weight:bold;
  width: 100%;
  height: 30px;
  display:table;
  text-transform: uppercase;
  font-weight: normal;
  transition: all 0.5s ease;
  opacity:1;
  background: white;
  background-size:100%;
  margin-right: 14px;
  text-decoration: none;
}
.uvodka {
  margin-top: 115px;
}
.uvodka h1{
  margin-bottom:45px
}
.uvodka hr {
  width: 154%;
  margin-top: 9px;
  margin-bottom: 29px;
}
hr#undertext {
  margin-top: 100px;
}
/*formulář*/
.fomular {
  margin-top: 86px;
}
.fomular h2, .fomular h3 {
  text-align: center;
  font-size: 24px;
  margin-left: 15px;
  line-height: 38px;
  margin-bottom: 0;
}
/*button pod formulářem*/
img#captcha {
  margin-left: 85px;
}
input#mailform-submit {
  margin-left: 76px;
  margin-top: 7px;
}
h2.clanky {
  margin-left: 0px;
  font-size: 30px;
}
p.details {
  display: none;
}
.form-control {
  font-size: 13px;
  margin: 9px;
}
/*accordion*/
/* Style the buttons that are used to open and close the accordion panel */
button.accordion {
  background-color: #00518c;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  padding-left:26px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  font-size:17px;
  margin-top: 4px;
  text-transform:uppercase;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.accordion.active, button.accordion:hover {
  background-color: #159eda;
}

/* Style the accordion panel. Note: hidden by default */
div.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
}

button.accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

button.accordion.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}
.accordion p {
  margin: 10px 0 10px!important;
}
li.media {
  background-color: white;
  padding: 20px;
  margin-left: -20px;
  border: 1px solid #eeeeee;
}
ul#listdata {
  margin-bottom: 55px;
  padding:0;
}
iframe {
  margin-top: 70px;
}
.anna {
  margin-left: 15%;
}
.jana {
  float: right;
}
.contact {
  margin-left: -16px;
}
#paticka h2{
  margin-bottom: 6px;
  color:#fff;
}
#paticka .col-sm-12.col-md-4 {
  margin-bottom: 25px;
}
p.tabulka {
  border: 1px solid gray;
  padding: 15px;
  margin-top: 14px;
}
p.text {
  padding: 7px;
  margin-top:15px
}


ul.tabulka {
  border: 1px solid gray;
  padding: 7px;
  margin-top: 15px;
  font-size:16px;
}
.tabulka li {
  margin-left: 28px;
  color: #454545;
  padding: 3px;
}

#bar-poweredby {
  display:none;
}
#box-custom-footer {
  background: #00518c;
  margin-top: -37px;
}
#box-custom-footer p {
  font-size: 16px;
  color: #d4d4d4;
}
#box-custom-footer a {
  color:#d4d4d0;
}
#bar-poweredby {
  margin: 0;
  padding: 1em 1em;
  background: #0074bf;
  color: white;
}

main.col-xs-12 {
  margin-bottom: 100px;
}
#article-332314 h1{
  text-align:left;
}
/*redesign*/
#textmotiv {
  background: url(/obrazek/3/ksak-uvodni-foto-komplet-strih-jpg/);
  background-repeat: no-repeat;
  background-position: center;
  background-color: white;
  min-height: 460px;
}
#textmotiv h1 {
  top: 60px;
  text-align: center;
  font-size: 4.7em;
  color: #00518c !important;
  padding-top: 86px;
  margin-top: -1px;
}
#textmotiv h2 {
  position: relative;
  top: -25px;
  text-align: center;
  font-size: 2.5em;
  color: #00518c !important;
}
#triangle-bottomright {
  width: 0;
  height: 0;
  border-bottom: 100px solid red;
  border-left: 100px solid transparent;
}
#triangle-bottomright {
  width: 0;
  height: 0;
  border-bottom: 137px solid #00518c;
  border-left: 126px solid transparent;
  position: absolute;
  z-index: 9999;
  margin-left: 460px;
  margin-top: -50px;
}
@media screen and (max-width: 1200px) {

  #triangle-bottomright {
    display:none
  }

  nav.navbar.navbar-default.navbar-static-top a {
    width: 68px;
    min-height: 56px;
    text-align: center;
    height: 56px;
  }
  #textmotiv {
    min-height: 460px;
  }
  .navbar-nav {
    float: right;
    margin-top: -18px;
  }
}
@media screen and (max-width: 1086px) {
  #textmotiv {
    background-size: 950px;
    min-height: 217px!important;
  }
  #textmotiv h1 {
    padding-top: 46px;
  }
}


@media screen and (max-width: 992px) {
  /*#logo img {
  margin-top: 0px;
  margin-left: -15px;
  width: 230%;
  position: relative;
}*/
  .uvodka hr {
    width: 100%;
  }
  .navbar-nav {
    float: right;
    margin-top: -15px;
  }

  #motto {
    margin-top: 11px;
    margin-right: -395px;
  }
  .fomular .col-sm-8 {
    width:100%;
  }
  img#captcha {
    margin-left: 48%;
  }
  input#mailform-submit {
    margin-left: 46.5%;
  }
  h2.clanky {
    margin-top: 79px;
  }
  #paticka .col-sm-12 {
    text-align: center;
  }
  .contact {
    margin-left: 0;
  }
  .anna {
    margin-left: 0;
  }
  .jana {
    margin-left: 0;
    float:none;
  }
  li.media {
    margin-left: 0;
  }


}

@media screen and (max-width: 768px){
  #motto {
    margin-top: 14px;
    margin-right: 51px;
  }

  #paticka .col-sm-12 {
    text-align: center;
  }
  .contact {
    margin-left: 0;
  }
  .anna {
    margin-left: 0;
  }
  .jana {
    margin-left: 0;
    float:none;
  }
  .navbar-nav {
    text-align: center;

  }
  nav.navbar.navbar-default.navbar-static-top a {
    width: 80px;
    text-align: center;
  }
  header, p#logo {
    height: 72px;
  }
  #logo img {
    max-height: 50px;
  }
  .container {
    width: 95%;
  }
  header {
    background: #fff!important;
  }
  .navbar-default {
    background: #ffffff;
    background: -moz-linear-gradient(left, #ffffff 60%, #01518c 40%);
    background: -webkit-linear-gradient(left, #ffffff 60%,#01518c 40%);
    background: linear-gradient(to right, #ffffff 60%,#01518c 40%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#1e5799',GradientType=1 );
  }
}
@media screen and (max-width: 650px) {
  /*#logo img {
  margin-top: 0px;
  margin-left: -15px;
  width: 100%;
  position: relative;
}*/
  #paticka .col-sm-12 {
    width: 100%;
    text-align: center!important;
  }
  .contact {
    margin-left: 0;
  }
  .anna {
    margin-left: 0;
  }
  .jana {
    margin-left: 0;
    float:none;
  }
  .navbar-nav {
    text-align: center;
  }
  nav.navbar.navbar-default.navbar-static-top a {
    width: 180px;
    text-align: center;
  }
}
@media (max-width: 575px) {
  #textmotiv {
    background-size: cover!important;
  }
}


@media screen and (max-width: 550px) {
  #motto {
    margin-top: -9px;
    margin-right: 21px;
    font-size: 9px;
  }
  .navbar-nav {
    text-align: center;
  }
  nav.navbar.navbar-default.navbar-static-top a {
    width: 180px;
    text-align: center;
  }

}
@media screen and (max-width: 425px) {
  #motto {
    margin-top: -9px;
    margin-right: 30px;
    font-size: 9px;
  }
  .navbar-nav {
    text-align: center;
  }
  header, p#logo {
    height: 54px;
  }
  .navbar-default .navbar-toggle {
    margin-right: 15px;
  }
  button.navbar-toggle {
    margin-top: 0!important;
    margin-bottom: 0!important;
  }
}

@media screen and (max-width: 375px) {
  #motto {
    margin-top: -9px;
    margin-right: 30px;
    font-size: 9px;
  }
  .navbar-nav {
    text-align: center;
  }
}
@-moz-document url-prefix(){
  .dlazdice .col-sm-12.col-md-4 span {
    top: 139px;
    right: 0.2px;
  }
  /*#article-332317 h1, #article-332316 h1, #article-332315 h1 {
  margin-top: -66px;
}*/
}

/*redesign*/

nav.navbar.navbar-default.navbar-static-top a {
  margin-bottom: 15px;
}
.fomular {
  margin-top: 31px;
}
.uvodka {
  margin-top: 62px;
}
.navbar-toggle {
  background-color: #00518c;
}
.navbar-default .navbar-toggle {
  border-color: #00518c;
  color: white;
  font-size: 20px;
}
.navbar-nav > li {
  margin: 14px;
}
#triangle-bottomright {
  width: 0;
  height: 0;
  border-bottom: 145px solid #00518c;
  border-left: 140px solid transparent;
  position: absolute;
  z-index: 9999;
  margin-left: 461px;
  margin-top: -35px;
}
#bcgd {
  min-height:370px;
}
#dlazdice .col-sm-12.col-md-4 {
  margin-top: 0;
  margin-bottom: 20px;
}

@media screen and (max-width: 992px){
  /*#logo img {
  height: 76px;
  margin-top: 15px;
  margin-left:0;
  width: 100%;
  position: absolute;
}*/

  #triangle-bottomright {
    display:none;
  }
  .navbar-default {
    background: #ffffff;
    background: -moz-linear-gradient(left, #ffffff 40%, #01518c 40%);
    background: -webkit-linear-gradient(left, #ffffff 40%,#01518c 40%);
    background: linear-gradient(to right, #ffffff 40%,#01518c 40%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#1e5799',GradientType=1 );
  }
  header {
    background: #ffffff;
    background: -moz-linear-gradient(left, #ffffff 40%, #01518c 40%);
    background: -webkit-linear-gradient(left, #ffffff 40%,#01518c 40%);
    background: linear-gradient(to right, #ffffff 40%,#01518c 40%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#1e5799',GradientType=1 );
  }

}


@media screen and (max-width: 846px) {
  #textmotiv {
    background-size: 850px
  }
  #textmotiv h1 {
    padding-top: 10px;
  }
}
@media screen and (max-width: 846px) {
  #textmotiv {
    background-size: 650px
  }
  #textmotiv h1 {
    padding-top: 20px;
    font-size: 35px;
  }
  #textmotiv h2 {
    position: relative;
    top: -25px;
    text-align: center;
    font-size: 1.5em;
    color: #00518c !important;
  }
  }

  @media screen and (max-width: 768px) {
    /*#logo img {
    height: 76px;
    margin-top: -7px;
    margin-left: 0;
    width: auto;
    position: absolute;
  }*/
    .navbar-default .navbar-toggle {
      border-color: #00518c;
      color: white;
      font-size: 20px;
      margin-right: 40px;
      padding-bottom: 15px;
    }
    #textmotiv {
      background: url(/obrazek/3/ksak-uvodni-foto-komplet-strih-jpg/);
      background-repeat: no-repeat;
      background-position: center;
      background-color: white;
      background-size: 780px;
    }
    #textmotiv h1 {
      top: 60px;
      text-align: center;
      font-size: 3.7em;
      color: #00518c !important;
      padding-top:10px;
      margin-top: -1px;
    }
    #textmotiv {
      background-size: 950px;
      min-height: 238px!important;
    }
    .navbar-collapse {
      width:calc(100vw - 20px)!important;
      margin:0!important;
      margin-left:-33px!important;
      background:#00518c;
    }
    nav.navbar.navbar-default.navbar-static-top a {
      width: auto;
      min-height: auto;
      text-align: center;
      height: auto;
      text-align:right;
    }
    .navbar-nav > li:after {
      display: none;
    }
  }
  @media screen and (max-width: 572px) {
    #textmotiv {
      background-size: 550px
    }
    #textmotiv h1 {
      padding-top: 40px;
      font-size: 25px;
    }
    #textmotiv h2 {
      position: relative;
      top: -25px;
      text-align: center;
      font-size: 1em;
      color: #00518c !important;
    }
  }

  @media screen and (max-width: 425px){
    header {
      background: #ffffff;
      background: -moz-linear-gradient(left, #ffffff 50%, #01518c 50%);
      background: -webkit-linear-gradient(left, #ffffff 50%,#01518c 50%);
      background: linear-gradient(to right, #ffffff 56%,#01518c 56%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#1e5799',GradientType=1 );
    }.navbar-default {
      background: #ffffff;
      background: -moz-linear-gradient(left, #ffffff 50%, #01518c 50%);
      background: -webkit-linear-gradient(left, #ffffff 50%,#01518c 50%);
      background: linear-gradient(to right, #ffffff 56%,#01518c 56%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#1e5799',GradientType=1 );
    }
    /*#logo img {
    height:53px;
    margin-top: 0px;

    margin-left: 0;
  }*/
    .navbar-default .navbar-toggle {
      border-color: #00518c;
      color: white;
      font-size: 20px;
      margin-right: 40px;
      padding-bottom: 15px;
      margin-top: -10px;
    }
    #textmotiv {
      background-size: 100% 100%;
      min-height:auto;
    }
  }
  @media screen and (max-width: 320px){

    .navbar-default .navbar-toggle {
      border-color: #00518c;
      color: white;
      font-size: 20px;
      margin-right: 22px;
      padding-bottom: 15px;
      margin-top: -10px;
    }
  }
  @media screen and (max-width: 425px){

    #textmotiv {
      background-size: 950px;
      min-height: 160px!important;
    }
    #textmotiv h1 {
      padding-top: 15px;
      font-size: 25px;
    }
  }
  @media screen and (max-width: 375px){

    #textmotiv {
      background-size: 950px;
      min-height: 140px!important;
    }
    #textmotiv h1 {
      padding-top: 25px;
      font-size: 15px;
    }
    #textmotiv h2 {
      font-size: 10px;
    }
  }
  
  /*vlastní formulář*/
.own-form div.panel {
  display:block!important;
  padding:0;
  background-color:transparent;
}
  
.own-form .panel-heading {
  display:none;
}

.own-form .panel,
.own-form .panel-body {
  box-shadow:none;
  border:0;
}

.own-form .form-group {
  margin-bottom: 0px;
}

.own-form .form-group .col-sm-8,
.own-form .form-group .col-sm-3 {
  width:100%;
  display:inline-block;
  text-align:left;
}

.kontaktovat.section-container,
.kontaktovat.section-container .section-content {
  padding:0;
  margin:0;
}

.kontaktovat  form {
  padding-top:0!important;
  padding-bottom:0!important;
}

.kontaktovat  .form-control {
  margin:0;
  margin-bottom:5px;
}

.kontaktovat  .form-control[type=text] {
  height:30px;
}
.kontaktovat  textarea {
  height:90px;
}
.kontaktovat .form-group:nth-of-type(4) {
  padding-top:0px!important;
}
