@import url(https://fonts.googleapis.com/css?family=Roboto|Caveat+Brush&amp;subset=latin-ext);

/*-------------------GENERAL-----------------*/
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #78787d;
}
p, li, td, tr {
  font-size: 1.1em;
  color: #676768;
}
a {
  font-size: 1.1em;
}
.navbar {
  font-family: 'Roboto', Arial, sans-serif;
}
.btn-info  {
  letter-spacing:1px;
    background-color: #429AD4;
  border-color: #429AD4;
}

h1, h2 {
  color: #429AD4;
}
h3, .h3 {
  color: #8DBE3D;
}
.uvodni-h2 {
  padding: 22px 0;
  font-size: 2em;
  background: #429AD4;
  color: #fff;
}
h1.uvodni-h2 {
  margin: 0;
  font-weight: 100;
}
h1 {
  font-size: 2em;
  text-transform: uppercase;
  text-align: left;
  margin: 45px;
  margin-left: 0;
  font-weight: 600;
}
#index h1 {
  text-align: center;
}
/*----------------HEADER-----------------*/
.logo img {
  padding: 5px;
}
.logo {
  clear: both;
}
header .follow-box {
  text-align: right;
  min-height: 129px;
}
header .follow-box .box2 {
  float: right;
  padding-top: 15px;
  margin-left: 23px;
}
header .follow-box .box2 p {
  display: inline-block;
  margin-left: 17px;
}
header {
  padding-top: 0;
}
header .follow-box .box2 .fb-icon a {
  width: 39px;
  height: 39px;
  border-radius: 100%;
  background: #3B5998;
  font-size: 20px;
  line-height: 39px;
  text-align: center;
  color: #ffffff;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
header .follow-box .box2 a:hover {
  opacity: 0.5;
}
header .follow-box .box2 a.fa-envelope {
  background: #429AD4;
}
header .follow-box .box2 a.fa-phone {
  background: #99cc00;
}

header .follow-box .box2 .tel {
  margin-bottom: 0;
  color: #99cc00;
  display: inline-block;
  white-space: nowrap;

}
header .follow-box .box2 .tel span {
  color: #676768;
  font-size: 36px;
  margin-right: 10px;
}
p.fb-icon a:hover {
  text-decoration: none;
}
p.fb-icon {
  position: relative;
}
@media (max-width:768px) {
  p.fb-icon {
margin-top:10px;
}
}


span.phone-1 {
  position: relative;
  top: 28px;
  left: -4px;
  display: none;
}
.fa.fa-instagram {
  color: transparent;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}

/*search*/

#form-search .input-group .form-control {
  float: right;
  max-width: 200px;
}

/*---------MOTIV---------*/
.carousel-inner > .item > img, .carousel-inner > .item > a > img {
  width: 100%;
}
a.right.carousel-control {
  background: none;
}
.carousel-caption span {
  font-size: 2.4em;
  color: #428bca;
  color: #fff;
  padding: 10px;
  background: none;
  font-family: 'Caveat Brush', cursive;
  text-shadow: 2px 2px 5px #000000;
}
.carousel-indicators {
  display: none;
}
.carousel-caption {
  right: 11%;
  left: 8%;
  padding-bottom: 14px;
  text-align: right;
}
/*-------------FOOTER----------------*/
#box-custom-footer h2 {
  font-size: 1.3em;
  color: #8DBE3D;
}

#box-custom-footer .icon-box .col-lg-4 {
  margin-bottom: 46px;
}
#box-custom-footer .icon {
  font-size: 19px;
  color: #000000;
  width: 45px;
  height: 45px;
  line-height: 48px;
  border-radius: 100%;
  text-align: center;
  background: #e0dfdf;
  float: left;
  margin-right: 17px;
  margin-left: 0px;
}
.fa {
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#box-custom-footer .box3>div {
  padding-top: 16px;
}
#box-custom-footer {
  padding-top: 0;
  background: #f6f6f6;
}
#box-custom-footer li {
  list-style-type: none;
}
p#bar-poweredby {
  display: none;
}
ul.list-footer-address li {
  margin-top: 24px;
}
i.fa.fa-fw.text-primary {
  color: #8DBE3D;
}
#box-custom-footer table {
  margin-left: 10px;
  margin-top: 0;
}
#box-custom-footer td {
  padding: 0px 5px 0 10px;
  font-size: 1em;
}
#box-custom-footer .container {
  border-top: 12px solid #64911a;
  background: #f6f6f6;
}
#box-custom-footer {
  background: #fff;
}
/*---------------------MENU----------------------*/
.navbar {
  background-color: #fff;
  border-bottom: 0;
}
.navbar-collapse.collapse {
  background: #8DBE3D;
}
.navbar .navbar-nav > li > a {
  color: #fff;
  text-transform: uppercase;
  font-size: 17px;
}
.navbar-nav > li {
  border-left-color: #64911a;
  border-right-color: #64911a;
  padding: 2px 15px;
  text-transform: none;
  font-size: 20px;
  background: none;
}
.navbar .navbar-nav > .active > a, .navbar .navbar-nav > .active > a:hover, .navbar .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: transparent;
}
.navbar .navbar-nav > li > a:hover, .navbar .navbar-nav > li > a:focus {
  color: #fff;
  background-color: transparent;
}
.navbar-collapse.collapse {
  background: #8DBE3D;
  border-bottom: 4px solid #64911a;
}
.navbar li:hover, navbar li:active {
  background: #99cc00;
}
.navbar li:last-child {
  border-right: none;
}
nav.navbar.navbar-default.navbar-static-top {
  margin-bottom: 0;
}
.navbar li:first-child a {
  background: transparent url(/obrazek/3/icon-home-square-png/) no-repeat;
  background-size: contain;
  background-size: 25px 25px;
  width: 34px;
  height: 33px;
  color: transparent !important;
  margin-top: 11px;
  margin-bottom: 0px;
  margin-right: -10px;
  margin-left: 5px;
}
.navbar-default .navbar-toggle {
  border-color: #78787d;
  color: #78787d;
}
/*----------------------SLUZBY------------------------*/
#sluzby {
  padding-left: 15px;
  padding-right: 15px;
}

#sluzby h3, #sluzby h2 {
  margin: 0.5em 0 1em 0;
  font-size: 1.3em;
  color: #78787d;
}
#sluzby p, #sluzby a, #sluzby li > p {
  font-size: 1em;
}
p.icon > img {
  max-height: 52px;
}
.textlists > li {
  float: left;
  margin: 12px 16px 20px 16px;
}
.textlists li:hover {
  opacity: 0.60;
  color: #000;
  outline: 1px solid #dddddd;
}
.textlists.center li {
  text-align: center;
}
.textlists {
  margin: 16px 0 25px -40px;
  list-style: none;
}
.textlists li a {
  text-decoration: none;
  opacity: 1;
  color: #000;
  display: block;
}
.textlists > li > a > div {
  display: block;
  padding: 0 1em;
}
.fa-caret-down:before {
  content: "\f0d7";
  color: #8DBE3D;
  font-size: 22px;
}
#sluzby .uvodni-h2 {
  margin-top: 1px;
}
/*--------------O KLKINICE--------------*/
#o-klinice h3 {
  font-size: 1.4em;
  color: #8DBE3D;
}
#o-klinice .row:nth-child(4) .text-klinika {
  font-size: 1.6em;
  padding-top: 130px;
  line-height: 2.3;
}
#o-klinice .row:nth-child(4) .text-klinika p {
  color: #8DBE3D;
}
#o-klinice .row {
  margin: 0 -15px;
}
#o-klinice .fotka-vpravo {
  padding-left: 0;
}
#o-klinice .fotka-vlevo {
  padding-right: 0;
}
#o-klinice .text-klinika > * {
  padding-left: 0;
}
#o-klinice .second .text-klinika > * {
  padding-left: 14px;
}
#o-klinice ul {
  margin-left: 40px;
}
#o-klinice li {
  line-height: 2;
}
/*----------------OTEVIRACI DOBA-----------*/
section#oteviraci-doba {
  text-align: center;
  background: #8DBE3D;
  color: #fff;
}
/*------------------STRANKA NAS TYM ----------------*/
#nas-tym .row > div {
  padding: 20px 35px;
}
.dalsi-lekari .thumbnail {
  height: 550px;
}
#nas-tym .thumbnail .caption {
  padding: 10px 15px;
}
#nas-tym .thumbnail {
  padding: 0;
  padding-bottom: 38px;
  background: #fcfcfc;
}
#nas-tym {
  overflow: hidden;
}
#nas-tym ul {
  padding-left: 24px;
}
#nas-tym a.btn {
  border: 2px solid #8DBE3D;
  background: #8DBE3D;
  padding: 6px 16px;
  margin-top: 8px;
  float: right;
  color: #fff;
}
#nas-tym .ostatni-personal .thumbnail  {
  padding-bottom: 0;
}
/*---profily jednotlivych zubaru----*/
.article-detail.rubric-53622 .caption ul {
  padding-left: 25px;
}
.article-detail.rubric-53622 .caption {
  padding-top: 16px;
}
.article-detail.rubric-53622 .thumbnail {
  padding: 0;
}
.article-detail.rubric-53622 em {
  color: #8DBE3D;
  font-size: 1.2em;
}
/*-----------------CENIK----------------------------*/
#price-list table.table-bordered {
  width: 70%;
}
#price-list  table.table-bordered tr > td:first-child {
  width: 70%;
}
#price-list  table.table-bordered tr > td:nth-child(2) {
  text-align: center;
}
table.table-bordered td {
  padding: 7px 20px;
}
table {
  margin: 30px 0;
}
#price-list thead td {
  background: #fefefe url(/obrazek/3/gradient1-png/) repeat-x;
  color: #8DBE3D;
  text-transform: uppercase;
}
/*------------STRANKA KONTAKTY - ORDINACNI DOBA--------*/
.ordinacni-doba-stranka .table-bordered {
  border: 1px solid #ddd;
  text-align: center;
  width: 100%;
}
.ordinacni-doba-stranka.akutni table {
  width: 50%;
}
.ordinacni-doba-stranka table td:first-child, .ordinacni-doba-stranka table td:nth-child(3)  {
  width: 15%;
}
.ordinacni-doba-stranka table td:nth-child(2), .ordinacni-doba-stranka table td:nth-child(4)  {
  width: 35%;
}
.ordinacni-doba-stranka.akutni table td:first-child, .ordinacni-doba-stranka.akutni table td:nth-child(2)  {
  width: 15%;
}
td.gradient-td {
  background: #fefefe url(/obrazek/3/gradient1-png/) repeat-x;
  color: #8DBE3D;
}
.ordinacni-doba-stranka a.btn {
  border: 2px solid #8DBE3D;
  background: #8DBE3D;
  padding: 6px 16px;
  margin-top: 8px;
  float: right;
  color: #fff;
}
.ordinacni-doba-stranka p.h4 {
  color: #8DBE3D;
}
li.zvetsit {
  font-size: 1.3em;
}
p.h4.zvetsit {
  font-size: 1.7em;
}
li.zvetsit i.fa-phone {
  font-size: 1.4em;
  padding-right: 5px;
}
span.cislo {
  font-size: 1.4em;
  color: #8DBE3D;
}
/*---------STRANKA SLUZBY--------------------*/
/*----------------------accordion---------------------*/
/* Style the buttons that are used to open and close the accordion panel */
button.accordion {
  background: #fefefe url(/obrazek/3/gradient1-png/) repeat-x;
  padding: 1.5em 1em;
  font-size: 1.3em;
  color: #676768;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  font-weight: 600;
  border-top: 1px solid #fff;
}
/* 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 {
  color: #429AD4;
  text-transform: uppercase;
}
button.accordion:hover {
  color: #429AD4;
}
/* Style the accordion panel. Note: hidden by default */
.accordionContent .panel {
  padding: 0 1.5em;
  background-color: transparent;
  box-shadow: none;
  margin-top: 30px;
  margin-bottom: 40px;
  display: none;
}
button.accordion:after {
  content: '+';
  font-size: 22px;
  color: #676768;
  float: right;
  margin-right: 10px;
  margin-top: -50px;
}
button.accordion.active:after {
  content: "-";
  font-size: 30px;
  margin-right: 10px;
  color: #676768;
}
p.accordion-body {
  font-size: 1.1em;
  color: #000;
  /* margin-left: 92px;*/
  padding-right: 13px;
}
.accordion-body p, .accordion-body li {
  padding-left: 15px;
  line-height: 2;
}
button.accordion small {
  display: block;
  padding-top: 2px;
  padding-left: 80px;
  font-weight: 100;
  margin-right: 24px;
}
figure {
  display: inline-block;
  max-width: 45%;
}
figure img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  padding: 15px;
}
figcaption {
  text-align: center;
  font-style: italic;
  color: #8DBE3D;
}
.accordion-body strong {
  color: #8DBE3D;
}
.accordion .service-icon img {
  width: 47px;
  margin-right: 20px;
  margin-left: 15px;
}
/*----------------------accordion end----------------------*/
/*------------ patička vždy dole -----------------*/
html {
  height: 100%;
}
body {
  position: relative;
  padding-bottom: 6rem;
  min-height: 100%;
}
#content {
  margin: 0 auto 227px;        /* hodnotu 170px může být potřeba změnit v závislosti na výšce patičky */
}
#box-custom-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0;
  /*  margin: 0 auto -16px;   */      /* 50px je výška prvku bar-poweredby */
  /* border-top: 12px solid #64911a;*/
}
#bar-poweredby {              /* jde o prvek s inPage nadpisem, který se nachází pod patičkou */
  position: absolute;
  right: 0;
  bottom: 0px;
  left: 0;
}
/*---------- konec patičky vždy dole ------------*/ 

/*-----slider----*/
#cf3 {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
#cf3 img {
  width: 100%;
}
#cf3 div {
  position:absolute;
  width: 100%;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
  z-index: 200;
}
#cf3 span {
  position: relative;
  top: -80px;

  z-index: 500;
  font-size: 2.4em;
  color: #fff;
  padding: 10px;
  font-family: 'Caveat Brush', cursive;
  text-shadow: 2px 2px 5px #000000;
}
@keyframes cf3FadeInOut {
  0% {
    opacity:1;
  }
  45% {
    opacity:1;
  }
  55% {
    opacity:0;
  }
  100% {
    opacity:0;
  }
}
#cf3 div.top {
  animation-name: cf3FadeInOut;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
  animation-direction: alternate;
}
/*----responsivni-vzhled----*/
@media screen and (max-width: 767px) { /*zobrazení pro mobil*/ 
  #cf3 span {    font-size: 2em; left: 3%;}
  #cf3 {   height: 234px; overflow: hidden;}
  #cf3 img { max-height: 234px; width: auto;}
  #sluzby .uvodni-h2 { margin-top: -1px;}
  #sluzby .textlists .span3 {   width: 43%; }
  header .follow-box {width: 59%;min-height: 136px;}
  .logo {  width: 208px;}
  .navbar li:first-child a {margin-left: 20px;}
  #box-custom-footer {  margin: 0 auto -515px;}
  #box-custom-footer table { margin: 30px auto;}
  #box-custom-footer { text-align: center;}
  .accordion-body p, .accordion-body li { width: 100%; line-height: 1.5;}
  figure {  max-width: 100%;}
  figure img {      max-height: 175px;}
  button.accordion small {    margin-right: 24px;}
  .vedouci-lekari .thumbnail {    height: auto;}
  .dalsi-lekari .thumbnail {    height: auto;}
  #price-list table.table-bordered {    width: 100%;}
  /*
  #kontakty iframe {     position: relative;    top: -762px;}
  .kontaktni-form { position: relative;    top: 167px;}
  */
  #o-klinice .fotka-vpravo {    padding-left: 15px; padding-bottom: 20px;}
  #o-klinice .fotka-vlevo {    padding-right: 15px;}
  #o-klinice .row:nth-child(4) .text-klinika {    padding-top: 0;}
  #o-klinice .img.img-responsive {max-width: 90%; margin: 0 auto;}
  #o-klinice .third .fotka-vpravo {    display: none;  }
  #o-klinice .row:nth-child(4) .text-klinika p {  font-size: 16px;}
}
@media screen and (max-width: 560px) { /*zobrazení pro mobil*/ 
  #cf3 span { left: 0%; font-family: 'Roboto', Arial, sans-serif; font-size: 1.5em;  font-style: italic;     padding: 16px 1px 20px 0px; }
  .logo img {    max-height: 113px; z-index: 1000;  position: relative;}
  .logo {  width: 200px;}
  header .follow-box .box2 {    padding-top: 0;}
  /* .navbar-default .navbar-toggle {    position: relative;    top: -128px;}*/

  #sluzby .textlists .span3 {    width: 91%;}
  #cf3 {    text-align: center;  }
  header .follow-box .box2 .tel {   font-size: 25px;}
  header .follow-box {width: 95%;min-height: 20px;z-index: 1000;}
  .navbar {  z-index: 200;}
  button.accordion:after {   margin-top: -108px;}
  iframe {    width: 100%;}
  #box-custom-footer {    margin: 0 auto -507px;}
  h1 {     margin-top: -2px;}
  header .follow-box {    border-bottom: 1px solid lightgrey;  z-index: 500;}
  .navbar-collapse.collapse.in {    margin-top: 24px;}
}
@media screen and (min-width: 768px) { /*zobrazení pro tablet*/
  .navbar-nav > li {  padding: 2px 10px;}
  #cf3 span {    left: 32%;}
  #cf3 {   height: 233px;}
  .logo {  width: 24%;}
  #sluzby .textlists .span3 {   width: 22%; }
  .dalsi-lekari .thumbnail {   height: 628px;}
  .vedouci-lekari .thumbnail {  height: 692px;}
  figure img {     max-height: 168px;  }
  #o-klinice img.img-responsive {    margin-top: 78px;}
  #box-custom-footer {     margin: 0 auto -162px;  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  /*
  .vedouci-lekari > div:first-child a.btn {       margin-top: 29px !important; }
  */
  .textlists > li {   margin: 12px 10px 20px 10px;}
}
@media screen and (min-width: 992px) { /*zobrazení pro malý notebook*/
  .navbar-nav > li {  padding: 2px 3px;}
  .navbar-nav > li:first-child {   padding: 2px 10px 8px;}
  .navbar-nav > li:last-child {   padding-right: 16px;}
  #cf3 span {    left: 48%;}
  #cf3 {   height: 305px;}
  .logo {  width: 25%;}
  #sluzby .textlists .span3 {   width: 21%; }
  #o-klinice img.img-responsive {    margin-top: 0;}
  #o-klinice .first.fotka-vpravo img.img-responsive {    margin-top: 60px;  }
  #o-klinice p, #o-klinice li {    font-size: 1.1em;  }
  .accordion-body p, .accordion-body li {   width: 100%;  }
  figure img {     max-height: 168px;  } /*sluzby obrazky*/
  .dalsi-lekari .thumbnail {   height: 585px;}
  .vedouci-lekari .thumbnail {  height: 628px;}
  /*
  .vedouci-lekari > div:first-child a.btn {  margin-top: 29px !important;}
  */
}
@media screen and (min-width: 1200px) { /*zobrazení pro monitor*/
  .navbar-nav > li {    padding: 2px 9px; }
  .navbar-nav > li:first-child { padding: 2px 15px 8px;}
  #cf3 span {    left: 48%;}
  #cf3 {   height: 369px;}
  #sluzby .textlists .span3 {   width: 22%; }
  #o-klinice p, #o-klinice li {   font-size: 1.2em; }
  #box-custom-footer {  margin: 0 auto -16px;}
  .dalsi-lekari .thumbnail {   height: 626px;}
  .vedouci-lekari .thumbnail {  height: 690px;}
  .accordion-body p, .accordion-body li {   width: 66%;  }
  figure img {     max-height: 210px;  }
  .vedouci-lekari > div:first-child a.btn {  margin-top: 8px !important;}
  #o-klinice .first.fotka-vpravo img.img-responsive {    margin-top: -5px;}
}

/*----------------- LAYOUT FIX -----------------*/
body {
  padding-bottom: 0;
}
#content {
  margin: 0 auto;
}
#box-custom-footer {
  position: relative;
  margin: 0 auto;
}

/*----------------- NAS TYM FIX -----------------*/
#nas-tym > .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#nas-tym .thumbnail {
  height: 100%;
}
#nas-tym a.btn {
  display: block;
  position: absolute;
  bottom: 17px;
  right: 15px;
  transform: translate(-50%, -50%);
}

/*----------------- INTRO SLIDER -----------------*/
.intro-slider .slide1 {
  animation: fade1 24s infinite;
  -webkit-animation: fade1 24s infinite;
} 
.intro-slider .slide2 {
  animation: fade2 24s infinite;
  -webkit-animation: fade2 24s infinite;
}
.intro-slider .slide3 {
  animation: fade3 24s infinite;
  -webkit-animation: fade3 24s infinite;
}

@keyframes fade1
{
  0% {opacity: 1}
  18% {opacity: 1}
  33% {opacity: 0}
  85% {opacity: 0}
  100% {opacity: 1}
}
@keyframes fade2
{
  0% {opacity: 0}
  18% {opacity: 0}
  33% {opacity: 1}
  51% {opacity: 1}
  66% {opacity: 0}
  100% {opacity: 0}
}
@keyframes fade3
{
  0% {opacity: 0}
  51% {opacity: 0}
  66% {opacity: 1}
  85% {opacity: 1}
  100% {opacity: 0}
}