/*------------general-----------*/
body, .panel-title {
  font-family: 'Arial', 'Helvetica', sans-serif;
}
#mainContainer {
  padding-top: 150px !important;
  background-image:none;
  background-color:#F6F6F6;
}
#index main {
  text-align: center !important;
}
#content.container {
  padding-right: 30px;
  padding-left: 30px;
}
p {
  text-align: justify;
}
a {
  color: #002F6B;
  text-decoration: none;
}
h1, h1.title {
  font-size: 1.8em;
  color: #002F6B;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 25px;
}
h2 {
  color: #C9A100;
  margin-bottom: 1.3em;
  margin-top: 1.5em;
}
h2.subtitle {
  margin-bottom: 20px;
}
h2.subtitle a {       
  text-decoration: none;    
  color: black;     
  font-size: 20px;        
}
h3, h3.panel-title {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 13px;
}
.btn-primary {
  color: #002F6B;
  background-color: #fff;
  border-color: #B3B3B3;
}
blockquote {
  padding: 0px 20px;
}
main img, #box-custom-motive img {
  border: 1px solid #a1b4bd;
  border-radius: 7px;
  padding: 2px;
}

/*--------------menu--------------*/
ul#list-navbar {
  margin-top: 26px;
  width: calc(100% - 95px);
}
.navbar-default .navbar-nav > li > a {
  color: #002F6B;
}
#menu-item-327125 > a,
#menu-item-327124 > a {pointer-events: none;}

@media (min-width: 768px) {
  .nav > li > a {
    padding: 6px 10px;
  }}

/*-----------------motiv-------------*/
div#box-custom-motive {
  display: none;
}
#index #box-custom-motive {
  display: block;
}
/*---------osobnosti - pridana fotogalerie ---------*/

#article-356949 .photos .thumbnail {
  border: none;
  width:100%;
}
#article-356949 .photos img {
  border: 1px solid #a1b4bd;
  border-radius: 7px;
  padding: 2px;
  marrgin:0 auto;
  max-height:180px
}

/*--------------aside panel--------------*/
#panel-custom-1 p {
  margin: 0;
}
#panel-custom-2 img {
  /* max-width: 150px;
  height: auto;*/
  width:100%;
  height:auto;
  max-width:200px;
}
aside .panel {
  border-radius: 7px;
}
aside .panel-primary > .panel-heading {
  color: #DEAA1B;
  background-color: rgba(238, 238, 238, 0.55);
  text-align: center;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}
aside .panel .panel-body {
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}
#panel-custom-1 .panel-body {
  border-radius: 7px;
}
#panel-custom-1 .panel-heading {
  display: none;
}
#panel-custom-1 img, .kontakty-socialni img {
  max-width: 42px;
  height: auto;
  margin: 15px;
  border: none;
}

/*-------------dlazdice - vypis clanku-------------------*/
li.media, .thumbnail {
  background: #fbfbfb;
  display: inline-block;
  border: 1px solid #EAEAEA;
  margin: 7px;
  padding: 15px;
  border-radius: 7px;
}
/*li.media .btn-primary {
display: inline;
}*/
img.perex-image {
  max-height: 160px;
  margin-bottom: 14px;
}
ul#list-pages p, #list-pages, ul#list-rubrics p, ul#list-rubrics, .thumbnail p {
  text-align: center;
}

#rubric-48262 .perex, #rubric-48262 p.details { /*---rubrika projekty---*/
  display: none;
}
#rubric-48262 li.media, #rubric-48258 li.media { /*rubrika projekty a rubrika ruzne*/
  text-align: center;
  padding-top: 30px;
}
/*--------------stranka kontakty-----------------*/
.kontakty-profil img {
  border-radius: 50%;
  margin: 3%;
  width: 94%;
  max-width: 250px;
}
.kontakty-profil .thumbnail {
  border: none;
  text-align: center;
}

/*uprava obrazku - zresponzivnění*/
#mainContent img {
  max-width: 100%;
}

img, iframe {
  max-width: 100%;
}

/*uprava fotogalerie*/
#photogalleries .item-photogallery .link-thumbnail {
  display: block;
}

/*------------responsivni---------*/

@media screen and (max-width: 767px) { /*zobrazení pro mobil*/ 
  li.media { width: 100%;}
  footer {text-align: center;}
}

@media screen and (min-width: 768px) { /*zobrazení pro tablet*/
  li.media { width: 90%;}
  footer {text-align: center;}
}

@media screen and (min-width: 992px) { /*zobrazení pro malý notebook*/
  aside.col-md-pull-8 {right: 0%;} /*posunutí levého sloupce vlevo*/
  main.col-md-push-4 {left: 0%;} /*posunutí pravého sloupce vpravo*/
  li.media { width: 48%;}  
  footer {text-align: left;}

}

@media screen and (min-width: 1200px) { /*zobrazení pro monitor*/
  aside.col-lg-pull-9 {right: 0%;} /*posunutí levého sloupce vlevo*/
  main.col-lg-push-3 {left: 0%;} /*posunutí pravého sloupce vpravo*/
  li.media { width: 48%;}
  body.gallery-detail p.back-link {margin-top: 20px;}
}

