body, p, table {
  font-size: 12px;
  color: #58585a;
}

body.HomePage, .main-bg-color {
  background-color: #e5bfa0;
}

h1 {
    font-size: 12px;
    line-height: 22px;
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 20px;
    text-transform: lowercase;
    text-align: right;
}

h1:first-of-type {
    margin-top: -22px;
}

h3 {
    font-size: 12px;
    line-height: 22px;
    font-weight: bold;
    margin: 0;
    text-align: right;
}

h3:first-of-type {
    margin-top: -22px;
}

h4 {
    font-size: 12px;
    font-weight: normal;
    margin: 20px 0 10px 0;
}

#map {
  width: 100%;
  height: 400px;
}

#map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

aside {
}

nav ul li a {
  text-transform: lowercase;
}

nav.home {
    margin: 5px 0;
    padding: 5px 0;
    border-bottom: 1px solid #fff;
    border-top: 1px solid #fff;
}
nav.home > ul {
    padding: 0;
    margin: 0;
}
nav.home > ul > li {
  list-style: none;
}
nav.home > ul > li > a {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 22px;
  display: block;
  vertical-align: middle;
  text-transform: lowercase;
  margin: 5px 0;
  outline: none;
  outline: 0;
}
nav.home > ul > li > a:hover {
  text-decoration: none;
}
nav.home > ul > li > a > div {
  display: inline-block;
  height: 22px;
  margin-right: 5px;
}

div.home-image {
  text-align: center;
  margin-bottom: 80px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #58585a;
}

.navbar-default .navbar-toggle {
    border-color: #fff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #fff;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: #fff;
}

.navbar, .navbar-defaul {
    background-color: #e5bfa0;
    border: none;
    min-height: 100px;
}

.navbar-default .navbar-nav > li > a {
    color: #ffffff;
}

.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
    padding: 0;
    margin: 0;
}
.navbar-brand img {
    margin-bottom: -5px;
    position: absolute;
    bottom: 10px;
}

.tagline {
    margin-top: 100px;
    font-weight: bold;
}

.navbar .container {
    padding-top: 44px;
    position: relative;
}

ul.navbar-nav  {
    margin-top: 26px;
}

.navbar-nav li {
    border: 0 none;
}

.navbar-nav > li > a {
    font-weight: bold;
    text-transform: lowercase;
    font-size: 12px;
    line-height: 14px;
    padding: 5px 20px;
    text-align: center;
    border: 0 none;
    outline: none;
    outline: 0;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #58585a;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
    background-color: transparent;
}

.navbar-default .navbar-nav > .current > a,
.navbar-default .navbar-nav > .current > a:focus,
.navbar-default .navbar-nav > .current > a:hover,
.navbar-default .navbar-nav > .section > a,
.navbar-default .navbar-nav > .section > a:focus,
.navbar-default .navbar-nav > .section > a:hover {
    color: #58585a;
    background: none;
}

.home-link > a {
    height: 20px;
    background: transparent url(../images/home.png) no-repeat 10px 3px;
    margin-left: 10px;
}

.home-link > a:hover {
    background-image: url(../images/home_hvr.png)
}

.HomePage .home-link {
    display: none;
}

.nav-secondary nav {
    margin-bottom: 32px;
}

.nav-justified  li > a > img {
    width: 100%;
    height: auto;
    display: block;
    margin: 6px 0px;
}

.nav-justified  li.current > a,
.nav-justified  li > a:hover,
.nav-justified  li > a:focus {
    opacity: 1;
    filter: none;
    background: none;
}

.nav-justified  li.current > a > div,
.nav-justified  li > a:hover > div,
.nav-justified  li > a:focus > div {
    visibility: visible;
}

.nav-justified  li.current > a > img {
    opacity: 1;
    filter: none;
}

.nav-justified  li > a > div {
    visibility: hidden;
}

.nav-justified > li > a {
    padding: 0px 2px;
    color: #58585a;
    font-weight: bold;
    font-size: 12px;
    opacity: 0.15;
    filter: alpha(opacity=15);
    outline: none;
    outline: 0;
}

.nav-justified  li {
    width: 0;
    max-width: 200px;
}

.dropdown-menu {
    border: 0 none;
    min-width: 0;
    box-shadow: none;
    border-radius: 0;
}

.dropdown-menu > li > a {
    font-size: 12px;
    font-weight: bold;
    text-transform: lowercase;
    opacity: 0.4;
    filter: alpha(opacity=40);
    text-align: center;
    color: #58585a;
}

.dropdown-menu > .current > a,
.dropdown-menu > .current > a:hover,
.dropdown-menu > .current > a:focus,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus  {
    color: #58585a;
    opacity: 1;
    filter: none;
    background-color: transparent;
}

.top-padded {
    padding-top: 60px;
}

.title {
    margin-bottom: 5px;
    border-bottom: 1px solid #58585a;
}

.further-title {
    margin-bottom: -1px;
    border-bottom: 1px solid #58585a;
}

.data table {
    background-color:#FFFFFF;
    /*border:0px solid #FFFFFF;*/
    width:100%;
    line-height: 18px;
    border-bottom: 1px solid #58585a;
    border-top: 1px solid #58585a;
    margin-bottom: 8px;
}

.data table td {
    padding: 6px 0;
}

.data table:first-child {

}

.footnotes {
    font-size: 11px;
    width: 100%;
    padding: 5px 0;
    margin-bottom: 15px;
}

.further-info {
    line-height: 15px;
}

.further-info img {
    width: 100%;
    height: auto;
}

.full-size {
    width: 100%;
    height: 100%;
}

.further-info img:last-of-type {
    margin-bottom: 10px;
}

article p {
    line-height: 20px;
}

article img {
    width: 100%;
    height: auto;
}

aside .images-wrapper img {
    width: 100%;
    height: auto;
}

aside .images-wrapper img {
    width: 100%;
    height: auto;
}

.certificate-image-wrapper {
    text-align: center;
    padding: 10px 0;
}

.certificates {
    margin: 40px 0;
    width: 100%;
    border-top: 1px solid #58585a;
}

ul.news {
  padding: 0;
}
ul.news > li {
  list-style: none;
  border-bottom: 1px solid #58585a;
  padding-bottom: 8px;
  margin-bottom: 30px;
}

ul.news > li > a.readMoreLink {
  line-height: 24px;
}

ul.news > li > p {
  margin: 5px 0 2px 0;
}
ul.news > li > a {
  color: #58585a;
  font-weight: bold;
  font-size: 12px;
}

footer {
    width: 100%;
    font-size: 11px;
    padding: 10px 0 50px 0;
}

@media (min-width: 768px) {
  .navbar-brand img {
    width: 220px;
    height: auto;
  }

  .nav-justified  li {
       padding-bottom: 4px;
  }
}

@media (min-width: 992px) {
  .navbar-brand img {
    width: 293px;
    height: auto;
  }
}

@media (min-width: 1200px) {
  .navbar-brand img {
    width: 360px;
    height: auto;
  }
}

@media (min-width: 768px) {
    li.language {
        position: absolute;
        top: 10px;
        right: 0;
    }
    li.language > a {
        font-size: 11px;
    }

    .image-controls {
        float: right;
    }

    .full-height-row {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }

    .full-height-col {
        flex-direction: column;
        align-items: center;
    }

    aside {
        display: table;
        height: 100%;
        width: 100%;
    }

    .side-certificate {
        padding-bottom: 30px;
    }

    .certificate-image-wrapper {
        text-align: center;
        display: table-cell;
        height: 100%;
        width: 100%;
        vertical-align: middle;
    }

    .vertical-align {
        display: flex;
        align-items: center;
    }
}


@media (max-width: 767px) {

    nav.home {
      margin: 5px 0 10px 0;
    }

    .navbar {
        min-height: 60px;
    }
    .navbar .container {
        padding-top: 5px;
    }

    .navbar-brand {
        position: relative;
        width: 220px;
        height: 46px;
    }
    .navbar-brand img {
        display: block;
        width: 100%;
        height: auto;
        position: absolute;
        left: 10px;
        bottom: 8px;
    }

    .tagline {
        margin: 20px 0 0 0;
    }

    li.home-link {
        display: none;
    }

    .navbar-nav > li > a {
         font-size: 12px;
         line-height: 20px;
         padding: 12px 20px;
         text-align: left;
    }
    .nav-justified  li > a > img {
        display: none;
    }

    .nav-justified  li > a {
       padding: 10px;
       text-align: left;
       padding-left: 6px;
    }
    .nav-justified  li > a > div {
       visibility: visible;
    }
    .nav-justified  li {
        width: auto !important;
        max-width: none;
    }

    .nav-justified > li > a {
        opacity: 0.6;
        filter: alpha(opacity=60);
    }

    .dropdown-menu > li > a {
        text-align: left;
        padding-left: 20px !important;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > .current > a,
    .navbar-default .navbar-nav .open .dropdown-menu > .current > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > .current > a:focus {
        color: #58585a;
        background-color: transparent;
    }

    .data table:first-child {
        border-top: 1px solid #58585a;
    }

    .certificate-image-wrapper {
        border-bottom: 1px solid #58585a;
    }
}

.images-wrapper {
    display: none;
    margin: 0 0 10px 0;
}
.images-wrapper > img {
    display: none;
    width: 100%;
    height: auto;
}

.image-descriptions > span {
    height: auto;
    display: none;
    text-align: center;
    width: 100%;
    padding: 3px 10px;
}

.image-descriptions {
    display: block;
    margin-bottom: 30px;
}

.image-controls {
    display: none;
    margin-bottom: 10px;
    text-align: center;
}

span.counter {
    font-weight: bold;
    margin: 0 2px 0 0;
}

.image-controls > div, div.next, div.prev, div.toggle, div.more {
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: #58585a;
    color: #fff;
    text-align: center;
    line-height: 22px;
    font-weight: bold;
    margin-right: 2px;
    cursor: pointer;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.HomePage div.next {
    float: right;
    background-color: #fff;
    color: #e5bfa0;
}

div.prev {
    content: "<";
}
div.next {
    content: ">";
}

div.further-info {
    width: 100%;
    height: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #58585a;
    line-height: 22px;
}

.certificate-content {
    margin: 15px 0;
}

.expander p{
    margin: 0;
}

.expander {
    margin-bottom: -1px;
}

.aditional {
    display: none;
}
.toggle, div.more {
    float: right;
}
div.prev {
    content: "<";
}
div.next {
    content: ">";
}
