body {
    font-family: 'Roboto',  "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #fafafa;
}
a {
    color: #766200;
    cursor: pointer;
}

h1,
.h1 {
  font-size : 24px;
}

h2,
.h2 {
  font-size : 20px;
}

h3,
.h3 {
  font-size : 18px;
}

a:active,
a:focus,
a:hover {
    color: #988400;
}
.relative {
  position : relative;
}
.custom-navbar {
    border-radius: 0;
    background: #fff;
    border: 0;
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    z-index : 9;
}
.custom-navbar .navbar-nav>li {
  padding : 0;
}
.custom-navbar .navbar-nav>li>a {
   color: #766200;
}
.custom-navbar .navbar-nav>li>a:active,
.custom-navbar .navbar-nav>li>a:focus,
.custom-navbar .navbar-nav>li>a:hover {
    color: #988400;
}

.custom-navbar .navbar-nav>li.lang {
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #555;
    position: relative;
    font-weight: bold;
}
.custom-navbar .navbar-nav>li.lang ul {
  list-style-type : none;
  padding-left : 0;
}
.custom-navbar .navbar-nav>li.lang li {
  display: inline-block;
}
.custom-navbar .navbar-nav>li.lang a {
    text-transform: uppercase;
    padding: 10px 5px;
    font-size: 12px;
    color: #555;
    position: relative;
    font-weight: bold;
    display: block;
}


.custom-navbar .navbar-nav>li>ul>li.lang>a.active {
    font-weight: normal;
    cursor: default;
}

@media (min-width: 768px) {
    .custom-navbar .navbar-nav>li {
        margin : 45px 5px 5px 5px;
    }
    .custom-navbar .navbar-nav>li.lang {
        position: absolute;
        right: 15px;
    }
    .custom-navbar .navbar-nav > li.lang  a.active:before {
        content: ' ';
        position: absolute;
        background: #e8d766;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        bottom: 6px;
        left: 43%;
    }
    .custom-navbar .navbar-nav {
      min-width : 150px;
      min-height : 40px;
    }
}



.custom-navbar > .container .navbar-brand {
    padding: 15px 20px;
    margin-left: 0;
    background: url("../assets/logo-big-icon.svg") no-repeat;
    background-position: center bottom;
    min-width: 50px;
}

@media (min-width: 992px) {
    .custom-navbar > .container .navbar-brand {
        padding: 60px 30px 30px 30px;
        background: url("../assets/logo-big.svg") no-repeat;
        background-position: bottom center;
        min-width: 185px;
    }
}


@media (min-width: 768px) {
    .custom-navbar > .container .navbar-brand {
        padding: 60px 30px 30px 30px;
    }
}

@media (max-width: 767px) {
    .custom-navbar > .container .navbar-brand {
        background-position: center center;
        min-width: 90px;
        background-size: 62%;
    }
}

.sub-menu {
    padding: 0 0 0 10px;
    min-width: 100%;
    display: none;
}
.sub-menu a {
  display: block;
  padding : 4px 15px;
}
.sub-menu a:hover {
  background :#EAEAEA;
  text-decoration: none;
}
.custom-navbar.navbar-default .navbar-nav>.active>a {
  background: none;
  color: #AB9421;
}
.open-submenu {
  position: absolute;
  top: 7px;
  right: 15px;
  border: 1px solid #766200;
  padding: 5px;
  color : #766200;
}
.sub-menu .active a  {
  color : #AB9421;
}

@media (min-width: 768px) {
    .custom-navbar .navbar-nav>li:hover .sub-menu {
      display: block;
    }
   .sub-menu {
      position: absolute;
      padding: 10px 0;
      top: 50px;
      right: 0;
      background: #fff;
      white-space: nowrap;
      text-align: right;
      -webkit-box-shadow: 0px 0px 8px 0px rgba(107,107,107,1);
      -moz-box-shadow: 0px 0px 8px 0px rgba(107,107,107,1);
      box-shadow: 0px 0px 8px 0px rgba(107,107,107,1);
  }
}
@media (max-width: 767px) {
    .show-menu > .sub-menu {
       display: block;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
   .navbar-nav>li:first-child .sub-menu {
    right: -40px;
  }
}
#intro {
    background: url("../images/ambromed-psuhhiaatriakliinik.jpg") no-repeat;
    background-size: cover;
}
#serviceInfo {
  padding: 40px 0 20px;
}
#service {
    background: url("../images/teenused.jpg") no-repeat;
    background-size: cover;
    font-size: 24px;
}
.intro-text {
    padding: 50px 20px;
}
#intro .intro-text {
    padding: 200px 20px;
}
.intro-text {
    color: #fff;
    text-shadow: 2px 3px 6px rgba(0,0,0,.8);
}
.intro-big-text {
  font-size: 30px;
}
.block-link {
  cursor: pointer;
}
.block-link .caption a {
  color : #333;
}
.block-link:active .caption a , 
.block-link:focus .caption a ,
.block-link:hover .caption a  {
    color : #988400;
    text-decoration : underline;
}

#partners {
  padding: 15px 0;
}
 .service-description {
    padding: 15px 0;
}
@media (min-width: 992px){
  .service-description {
    padding: 60px 15px;
  }
  #partners {
    text-align: center;
    padding: 50px 20px;
  }
}
.service-heading {
  padding-top: 12px;
  padding-left: 70px;
  margin-bottom: 10px;
  min-height : 43px;
  background: url(../images/logo-small.png) top left no-repeat;
}

.service-heading h1,
.service-heading h2,
.service-heading h3,
.service-heading h4{
  font-size: 18px;
  margin-top: 0;
}

.page-content {
  position: relative;
  padding-top: 20px;
  padding-bottom: 50px;
  margin-top: -80px;
  background: #fff;
  min-height: 40%;
}
.page-content-image {
  min-height: 160px;
  background: url("../images/intro.jpg") center center no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.page-content img {
  max-width : 100%;
  width: auto;
  height : auto;
}
.page-title {
  margin-top: 0;
}
.post {
  margin-top : 15px;
  margin-bottom : 15px;
}
.post-title {
  margin-top: 0;
}
.post-date {
  font-style: italic;
}
.news-date {
  display: inline-block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
}
.news-title {
  margin: 10px 0 20px;
  font-size : 16px;
  font-weight : 400;
}
.news-desc {
  font-style: italic;
}
.news-bg {
  position : relative;
}
#news {
  overflow: hidden;
}
#news article {
  margin-bottom: 20px;
}
@media (min-width: 992px) {
    .news__heading {
        font-size: 24px;
        margin-top: 40px;
        margin-bottom: 30px;
    }
}
.news__heading {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.news-intro {
    position: relative;
}
  #news .container {
    padding-bottom : 20px;
}
@media (min-width: 768px) {
    #news .container {
        border-left: 1px solid rgba(118, 98, 0, 0.51);
        border-left: 1px solid rgba(118, 98, 0, 0.51);
        padding-bottom : 20px;
    }
    .news-intro:before {
        content: ' ';
        position: absolute;
        height: 14px;
        width: 14px;
        border-radius: 50%;
        background: #766200;
        left: -7px;
        top: 12px;
    }
}
@media (min-width: 992px ){
      .news-bg:before {
      content : ' ';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height : 1800px;
      background : #fff;
    }
}
#news  img {
    max-width: 100%;
    width: auto;
    height: auto;
}

@media (max-width: 767px) {
    .intro-text  {
        padding: 50px 20px;
    }

    #intro .intro-text {
        padding: 100px 20px;
    }

    .img-holder {
        max-height: 200px;
    }
}


@media (max-width: 992px) {
    .custom-navbar .container{
        width: 100%;
    }
}
.display-block {
  display: block;
}
tr[data-toggle="collapse"] {
  cursor: pointer
}
tr[data-toggle="collapse"]:hover {
  text-decoration: underline;
}

.form_field {
  margin-bottom: 10px;
}
.form_field textarea,
.form_field select,
.form_field input {
  width: 100%;
}
.form_submit {
  text-align: right;
}
.form_submit input{
  padding: 4px 8px;
  background : #766200;
  color : #fff;
  border: none;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .form_field:after {
    content: ' ';
    display: block;
    width : 100%;
    clear: both;
  }
  .form_field label{
    width : 25%;
    float : left;
    text-align: right;
    padding-right: 15px;
  }
  .form_field textarea,
  .form_field select,
  .form_field input {
    float: left;
    width: 60%;
    max-width : 100%;
  }
  .form_submit {
    width : 85%;
  }
}
.footer {
    position: relative;
    padding : 60px 0;
    background: #222222;
    color: #ede9d1;
}
.footer-content {
  padding-top : 10px;
  padding-bottom : 20px;
  position: relative;
  z-index : 2;
  font-size : 16px;
  background : #222222;
  background: rgba(34, 34, 34, 0.83)
}
.footer a {
  color: #fff;
}
.googleMapWrapper {
  position : relative;
  z-index: 1;
  margin: 15px auto;
  height : 300px;
  width: 90%;
}
.footer-bg {
  display :none;
  position: absolute;
  top: 0;
  left : 50%;
  width: 50%;
  height: 100%;
  background : url('/images/ambromed.png') bottom right no-repeat;
}
@media (min-width: 992px) {
  .googleMapWrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height : 100%;
    margin: 0;
  }
  .footer-bg {
    display: block;
  }
  .footer-content-insidemap {
    z-index: 0;
  }
}
#googleMap {
  position: absolute;
  left : 0;
  top : 0;
  right : 0;
  bottom : 0;
}
#toggleMapButton {
  position: absolute;
  right: 50px;
  top: 8px;
  border-radius : 0;
}
