/* ===== Base ===== */

html {
  position: relative;
  min-height: 100%;
  font-size: 13px;
}
body {
  margin-bottom: 200px;
}

body > .container {
  padding: 45px 15px 0;
}

a {
  color:#31A4B5;
  text-decoration:none;
}

a:hover, a:visited {
  color:#31A4B5;
  text-decoration:none;
}

p.without-bottom, .blog-title-small {
  margin: 0;
}


.top-buffer-2 {
  margin-top: 2em;
}

.top-buffer-3 {
  margin-top: 3em;
}

.top-buffer-4 {
  margin-top: 4em;
}

.navbar-brand {
  background-image: url('../img/mapproxy.png');
  background-repeat: no-repeat;
  height: 45px;
  width: 200px;
  margin-top: 5px;
  background-size: 200px 40px;
}


@media (min-width: 768px) {
  .navbar-brand {
   background-size: 180px 36px;
   margin-top: 10px;

  }
  .navbar-nav > li > a {
    padding-top: 25px;
  }
}


@media (min-width: 992px) {
  .navbar-brand {
   background-size: 249px 50px;
   width: 250px;
  }

  .navbar-nav > li > a {
    padding-top: 35px;
  }

}


@media only screen and (-webkit-min-device-pixel-ratio: 2) {
  .navbar-brand {
    background-image: url('../img/mapproxy.png');
    background-repeat: no-repeat;
    background-size: 200px 40px;
  }
}



#select-language {
  margin-top: 5px;
  float: right;
}

#select-language a {
  color: #777777;
  margin-right: 5px;
}

#select-language a:hover {
  color: #333333;
}


.title {
  padding: 0;
  margin-bottom: 0.1em;
  text-align: left;
}

.title .normal {
  font-weight: normal;
}

.title small {
    display: block;
    font-size: 15px;
}

.colored {
  color: #31A4B5;

}

.content-row h4 {
  margin-top: 1.3em
}

.panel-heading h4 {
  margin-top: 0;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 180px;
  border-top: 1px solid #e7e7e7;
  background-color: #f8f8f8;
  padding-top: 30px;
}

.footer hr {
  margin-top: 30px;
  margin-bottom: 10px;
  border-top-color: #ccc;
}

.footer .last-bottom {
  margin: 0;
  color: grey;
}

ul.social {
  padding: 0;
  display: block;
  margin-bottom: 0;
}

ul.social li {
  display: inline-block;
  list-style-type: none;
  margin-top: 0.8em;
  margin-right: 1.5em;
}

ul.social li a {
  text-decoration: none;
}

.icon-rounded {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: block;
  text-align: center;
  font-size: 26px;
  color: #31A4B5;
  border: 1px solid #31A4B5;
  padding-top: 7px;
}

.icon-rounded:hover {
  background-color: #31A4B5;
  color: white;
}

.image-right {
float: right;
margin-left: 1.05em;
}


/* ===== Index ===== */

#map {
  height: 400px;
}

/* ===== Callout blocks from bootstrap ===== */
.bs-callout {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #eee;
    border-image: none;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px 1px 1px 5px;
    margin: 20px 0;
    padding: 20px;
}
.bs-callout h4 {
    margin-bottom: 5px;
    margin-top: 0;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout + .bs-callout {
    margin-top: -5px;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}


/* ===== Blog CSS ===== */
.blog-arcticle {
  margin-bottom: 40px;
  position: relative;
}
h3.blog-title {
  line-height: 22px;
  color: #31A4B5;
}
.blog-text {
  line-height: 1.8;
}
.blog-arcticle > img {
  border: 1px solid #ddd;
  margin: 10px;
  padding: 10px;
  width: 350px;
}


/* ===== Tags for Blog ===== */
.tags > a {
  padding: 3px 4px;
  margin: 4px 4px 4px 0;
  background: #f5f5f5;
  border: 1px solid #dedede;
  border-width: 0 1px 1px 0;
  color: #515151;
  text-decoration: none;
  font-size: 0.9em;
  white-space: nowrap;
  display: inline-block;
}

.tags > a:hover {
  background: #00B4FF;
  color: white;
  border-color: #00B4FF;
}

.tags > a:before {
  font-family: FontAwesome;
  content: "\f02b";
  margin-right: 5px;
  color: #999999;
}

.tags > a:hover:before {
  color: white;
}


/* ===== OpenLayers 2.13.1 ===== */

div.olMap {
    z-index: 0;
    padding: 0px!important;
    margin: 0px!important;
    cursor: default;
}

div.olMapViewport {
    text-align: left;
}

div.olLayerDiv {
   -moz-user-select: none;
}

.olControlAttribution {
  font-size: 0.7em;
  color: black;
  right: 3px;
  bottom: 0.3em;
  position: absolute;
  display: block;
  background-color: #CCCBC6;
  opacity: 0.80;
}

.olHandlerBoxZoomBox {
    border: 2px solid red;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}

.olImageLoadError {
    background-color: pink;
    opacity: 0.5;
    filter: alpha(opacity=50); /* IE */
}

.olControlLayerSwitcher {
    position: absolute;
    top: 25px;
    right: 0px;
    width: 20em;
    font-family: sans-serif;
    font-weight: bold;
    margin-top: 3px;
    margin-left: 3px;
    margin-bottom: 3px;
    font-size: smaller;
    color: white;
    background-color: transparent;
}

.olControlLayerSwitcher .layersDiv {
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 75px;
    background-color: #3F3F3F;
    width: 100%;
    height: 100%;
}

.olControlLayerSwitcher .layersDiv .baseLbl,
.olControlLayerSwitcher .layersDiv .dataLbl {
    margin-top: 3px;
    margin-left: 3px;
    margin-bottom: 3px;
}

.olControlLayerSwitcher .layersDiv .baseLayersDiv,
.olControlLayerSwitcher .layersDiv .dataLayersDiv {
    padding-left: 10px;
    width: 170px;
}

.olControlLayerSwitcher .layersDiv .baseLayersDiv label {
  display: inline;
  margin-left: 5px;
}

.olControlLayerSwitcher .maximizeDiv,
.olControlLayerSwitcher .minimizeDiv {
    top: 5px;
    right: 0px;
}

.olHandlerBoxZoomBox {
  border: 2px solid black;
  position: absolute;
  background-color: white;
  opacity: 0.50;
  font-size: 1px;
  filter: alpha(opacity=50);
}

@media (max-width: 767px) {
  .navbar-brand {
   margin-top: 5px;
  }
  .navbar-nav > li > a {
    padding-top: 15px;
  }
  body {
      margin-bottom: 260px;
    }

  .footer {
    height: 250px;
  }
}

