body {
  position: relative;
  font-family: Verdana, Arial, sans-serif;
}

.maininner { min-height: 350px; }

@media (max-width: 767px) {
  body { margin-top: 50px; }
  .mainouter { margin-top: -50px;  padding-top: 50px; }
  .mainmid   { padding-top: 10px;  padding-bottom: 20px; }
  .maininner { font-size: 12px; }
  .maininner h2 { font-size: 16px; }
  .maininner h3 { font-size: 14px; font-weight: bold; }
  .maininner h4 { font-size: 13px; font-style: normal; }
}
@media (min-width: 768px) {
  body { margin-top: 135px; }
  .mainouter { margin-top: -135px; padding-top: 135px; }
  .mainmid   { padding-top: 10px;  padding-bottom: 30px; }
  .maininner { font-size: 13px; }
  .maininner h2 { font-size: 26px; margin-bottom: 20px; }
  .maininner h3 { font-size: 20px; margin-bottom: 20px; }
  .maininner h4 { font-size: 16px; margin-bottom: 20px; margin-top: 20px; }
}
@media (min-width: 992px) {
  body { margin-top: 150px; }
  .mainouter { margin-top: -150px; padding-top: 150px; }
  .mainmid   { padding-top: 20px;  padding-bottom: 40px; }
  .maininner { font-size: 16px; }
}
@media (min-width: 1200px) {
  body { margin-top: 170px; }
  .mainouter { margin-top: -170px; padding-top: 170px; }
  .mainmid   { padding-top: 30px;  padding-bottom: 60px; }
  .maininner { font-size: 16px; }
}
.navbar-default {
  background-color: #fbfbfb;
}
.navbar-header {
  position: relative;
  text-align: center;
}
.navbar-toggle {
  position: absolute;
  right: 0px;
  top: 0px;
}
.navbar-brand {
  float: none;
  height: auto;
  padding: 0px;
  margin: 0px auto;
  width: 100%;
  font-size: 14px;
  font-weight: bold;
}
.navbar-brand .contact-info {
  color: #333;
}
.phone {
  color: #f00;
}

@media (max-width: 639px) {
  .hidden-xxs  { display: none  !important; }
}
@media (min-width: 640px) {
  .visible-xxs { display: none  !important; }
}

/* z falš */
@media                        (max-width: 339px) { .logo-sm { padding-right: 64px; } }
@media (min-width: 340px) and (max-width: 360px) { .logo-sm { padding-right: 32px; } }
@media (min-width: 640px) and (max-width: 680px) { .logo-sm { padding-right: 64px; } }

@media (max-width: 767px) {
  .navbar-brand .contact-info {
    font-size: 12px;
    width: 100%;
  }
  .navbar-brand .phone {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .navbar-brand .contact-info {
    font-weight: bold;
    line-height: 1.6;
  }
  .logo-lrg                              { width: auto; height: 65px; }
  .navbar-brand .contact-info.pull-right { padding-right: 30px; font-size: 14px; }
  .navbar-brand .contact-info.pull-left  { padding-left:  30px; font-size: 14px; }
  .navbar-brand .phone                   { line-height:    1.2; font-size: 20px; }
}
@media (min-width: 992px) {
  .logo-lrg                              { width: auto; height: 80px; }
  .navbar-brand .contact-info.pull-right { padding-right: 50px; font-size: 18px; }
  .navbar-brand .contact-info.pull-left  { padding-left:  50px; font-size: 18px; }
  .navbar-brand .phone                   { line-height:    1.2; font-size: 24px; }
}
@media (min-width: 1200px) {
  .logo-lrg                              { width: auto; height: 100px; }
}

@media (min-width: 768px) {
  .navbar-header {
    float: none;
  }
  .navbar-brand {
    padding: 15px 30px 5px 30px;
  }
  .navbar > .container .navbar-brand,
  .navbar > .container-fluid .navbar-brand {
    margin-left: 0px;
  }
}

@media (min-width: 768px) {
  .navbar-nav {
    width: 100%;
    text-align: center;
    background-color: #00c9fb;
  }
  .navbar-nav > li {
    float: none;
    display: inline-block;
  }
  .navbar-nav > li.navbar-right {
    float: right;
  }
}

.fb-link-nav a {
  line-height: 15px !important;
  padding-bottom: 10px !important;
}
.fb-link-nav img {
  margin-top: -2px;
}

.navbar-default .navbar-nav > .active > a {
  color: #333;
  background-color: #2cec00;
}
.navbar-default .navbar-text {
  color: #555;
}
.navbar-default .navbar-nav > li > a {
  color: #555;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #000;
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #000;
  background-color: #2cec00;
}

.vertal-container {
  display: table;
  table-layout: fixed;
}
@media (min-width: 640px) and (max-width: 767px) {
  .vertal-container { padding-right: 64px; }
}

.vertal-top, .vertal-middle, .vertal-bottom {
  display: table-cell;
  float: none;
}
.vertal-top    { vertical-align: top;    }
.vertal-middle { vertical-align: middle; }
.vertal-bottom { vertical-align: bottom; }

.darker { background-color: #ddd; }

.sig { text-align: right; }

.maininner .biography { 
  margin: 8px 8px 16px 8px;
}
.maininner .biography img {
  display: block;
  float: left;
  width: 180px;
  height: 224px;
  padding: 2px;
  margin-right: 16px;
}
@media (max-width: 767px) {
  .maininner .biography img {
    width: 92px;
    height: 114px;
  }
  .maininner .contact-info {
    padding-bottom: 32px;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
  }
  .maininner .contact-info h3 {
    font-weight: bold;
  }
}
@media (min-width: 768px) {
  .maininner .contact-info {
    padding-bottom: 32px;
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 600;
    text-align: center;
  }
  .maininner .contact-info h3 {
    font-weight: bold;
  }
}

.wave-left, .wave-right {
  min-height: 140px;
  margin-top: 16px;
}
.wave-left h3, .wave-right h3 {
  margin: 8px;
}
.wave-left {
  padding: 6px 40% 6px 30px;
  text-align: left;
}
.wave-right {
  padding: 6px 30px 6px 40%;
  text-align: right;
}

@media (max-width: 767px) {
  .wave-left  { padding-right: 20%; }
  .wave-right { padding-left:  20%; }
}

@media (max-width: 767px) {
  .wave-bg1 { background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,1), /*rgba(255,255,255,1),*/ rgba(255,255,255,0)), url(../img/wavebg-1s.jpg) no-repeat right center / auto 100%; }
  .wave-bg2 { background: linear-gradient(to left,  rgba(255,255,255,1), rgba(255,255,255,1), /*rgba(255,255,255,1),*/ rgba(255,255,255,0)), url(../img/wavebg-2s.jpg) no-repeat left  center / auto 100%; }
  .wave-bg3 { background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,1), /*rgba(255,255,255,1),*/ rgba(255,255,255,0)), url(../img/wavebg-3s.jpg) no-repeat right center / auto 100%; }
  .wave-bg4 { background: linear-gradient(to left,  rgba(255,255,255,1), rgba(255,255,255,1), /*rgba(255,255,255,1),*/ rgba(255,255,255,0)), url(../img/wavebg-4s.jpg) no-repeat left  center / auto 100%; }
  .wave-bg5 { background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,1), /*rgba(255,255,255,1),*/ rgba(255,255,255,0)), url(../img/wavebg-5s.jpg) no-repeat right center / auto 100%; }
  .wave-bg6 { background: linear-gradient(to left,  rgba(255,255,255,1), rgba(255,255,255,1), /*rgba(255,255,255,1),*/ rgba(255,255,255,0)), url(../img/wavebg-6s.jpg) no-repeat left  center / auto 100%; }
  .wave-bg7 { background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,1), /*rgba(255,255,255,1),*/ rgba(255,255,255,0)), url(../img/wavebg-7s.jpg) no-repeat right center / auto 100%; }
  .wave-bg8 { background: linear-gradient(to left,  rgba(255,255,255,1), rgba(255,255,255,1), /*rgba(255,255,255,1),*/ rgba(255,255,255,0)), url(../img/wavebg-8s.jpg) no-repeat left  center / auto 100%; }
}

@media (min-width: 768px) {
  .wave-bg1 { background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,0)), url(../img/wavebg-1l.jpg) no-repeat right center; }
  .wave-bg2 { background: linear-gradient(to left,  rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,0)), url(../img/wavebg-2l.jpg) no-repeat left  center; }
  .wave-bg3 { background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,0)), url(../img/wavebg-3l.jpg) no-repeat right center; }
  .wave-bg4 { background: linear-gradient(to left,  rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,0)), url(../img/wavebg-4l.jpg) no-repeat left  center; }
  .wave-bg5 { background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,0)), url(../img/wavebg-5l.jpg) no-repeat right center; }
  .wave-bg6 { background: linear-gradient(to left,  rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,0)), url(../img/wavebg-6l.jpg) no-repeat left  center; }
  .wave-bg7 { background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,0)), url(../img/wavebg-7l.jpg) no-repeat right center; }
  .wave-bg8 { background: linear-gradient(to left,  rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,0)), url(../img/wavebg-8l.jpg) no-repeat left  center; }
}

#foreword-carousel .carousel-caption {
  font-weight: bold;
  color: #ffffff;
  font-style: italic;
  text-shadow: 0 2px 3px rgba(0,0,0,.8);
  text-align: left;
}
#foreword-carousel .carousel-caption h2 { font-weight: inherit; }

@media(max-width: 339px) {
  #foreword-carousel .carousel-caption { font-size: 11px; }
  #foreword-carousel .carousel-caption h2 { font-size: 14px; }
}
@media(max-width: 399px) {
  #foreword-carousel .carousel-caption {
    left: 5%;
    right: 5%;
    bottom: 5%;
    padding-bottom: 10px;
  }
}
@media(min-width: 400px) {
  #foreword-carousel .carousel-caption {
    left: 10%;
    right: 10%;
    top: 10%;
    bottom: auto;
  }
}
@media (min-width: 1200px) {
  #foreword-carousel .carousel-caption {
    left: 10%;
    right: 10%;
    top: 5%;
    bottom: auto;
    font-size: 30px;
    font-weight: normal;
  }
  #foreword-carousel .carousel-caption h2 {
    font-size: 36px;
    font-weight: bold;
  }
}

.map-container {
  padding-top: 4px;
}
.map-iframe-container {
  position: relative;
  width: 100%;
  padding-top: 37%;
  padding-bottom: 37%;
}
.map-iframe-container > * {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}
