html {
  overflow-x: hidden;
}

body {
  color: white;
  margin: 0;
  border: 0;
  padding: 0;
  overflow-x: hidden;
}

#map {
  height: 100%;
  width: 100%;
  position: fixed;
}

#article {
  z-index: 1000;
  position: relative;
  background-color: rgba(0,0,0,0.6);
  color: white;
  width: 40%;
  padding: 18px 2%;
  left: 60%;
  font-size: 1em;
  /*line-height: 1.3em;*/
  margin-bottom: 1em;
  /*height: 1000px;*/
  /*overflow-y: hidden;*/
}

._collapsed, ._collapse {
  transition: left ease-in 1s, background-color ease-in 2s, height 0s ease-in 2s;
  /*-webkit-transition-timing-function: ease-in; !* Safari and Chrome *!*/
  /*transition-timing-function: ease-in;*/
}

#article._collapsed {
  left: 100%;
  /*height: 100px;*/
}

#social {
  position: fixed;
  padding-top: 0;
  z-index: 9999;
  left: 60%;
  margin-left: -85px;
}

#social._collapsed {
  left: 100%;
  margin-left: -7em;
  /*height: 100px;*/
}

#collapser {
  position: fixed;
  display: block;
  cursor: pointer;
  padding-left: 3px;
  padding-top: 10px;
  right: 0.5em;
  z-index: 9999;
}

#read-btn {
  display: none;
}

#cross-btn {
  display: inline-block;
  text-align: center;
  width: 1.28571em;
  line-height: 0.75em;
  vertical-align: -15%;
}

#collapser._collapsed #read-btn {
  display: inline-block;
}

#collapser._collapsed #cross-btn {
  display: none;
}

.art-img {
  width: 100%;
  margin: 0 0 10px;
}

h1 {
  font-weight: 800;
}

h3 {
  font-size: 1.3em;
}

h3 span {
  padding: 3px 2px;
  line-height: 1.6;
  /*background: rgba(220, 20, 60, 0.5);*/
  font-size: 20px;
  font-style: italic;
}

h3.header {
  /*margin-bottom: px;*/
  margin-top: 20px;
}

h3 {
  margin-top: 40px;
}

.legend {
  position: fixed;
  height: 52px;
  width: 192px;
  left: 10px;
  bottom: 15px;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.6);
  /*border-radius: 4px;*/
  /*border-bottom: none;*/
  padding: 7px 0 0 10px;
  line-height: 19px;
  font-size: 15px;
}

.circle {
  width: 12px;
  height: 12px;
  /*-webkit-border-radius: 6px;*/
  /*-moz-border-radius: 6px;*/
  /*border-radius: 6px;*/
  display: inline-block;
}

.old {
  background: crimson;
}

.new {
  background: #1090ff;
}

.leaflet-pelias-control.leaflet-bar.leaflet-control.leaflet-pelias-expanded {
  display: none;
}

.leaflet-left {
  left: 0;
  margin-right: 10px;
  margin-top: 40px;
}

.mz-bug-container,
.leaflet-control-locate
 {
  display: none;
}

.navbar-fixed-top {
  position: fixed;
}

/* ======== HEADER ======== */

.logo {
    position: fixed;
    margin: 15px 0 0 -5px;
    z-index: 1000;
}

.social-tw,
.social-fb,
#read-btn,
#cross-btn {
  background-color:rgba(82, 83, 87, 0.9);
  padding: 5px;
  color: #FFF;
  float: right;
  margin: 5px 10px 0 0;
  cursor: pointer;
}

.social-fb:hover {
  color: orange;
}

.single-share {
  color:#ccc;
  position: relative;
  margin-top: -2em;
}

@media (max-width: 1000px) {
  #article {
    width: 100%;
    left: 0;
    background-color: rgba(0,0,0,0.8);
  }

  #article._collapse,
  #social {
    left: 100%;
  }

  #social,
  #social._collapsed {
    margin-left: -112px;
  }

  #article._collapsed {
    left: 0;
  }

  #collapser._collapse #read-btn {
    display: inline-block;
  }

  #collapser._collapse #cross-btn {
    display: none;
  }

  #collapser._collapsed #read-btn {
    display: none;
  }

  #collapser._collapsed #cross-btn {
    display: inline-block;
  }
}

#article p {
  opacity: 1;
}

#article p.graph-scroll-active{
  opacity: 1;
}

#article p a {
  background: rgba(247, 122, 82, 0.0) none repeat scroll 0 0;
  transition: background ease-in 4s;
  text-decoration: underline dotted;
}

#article p a:focus,
#article p a:hover {
  color: #faa61a;
}

#article p.graph-scroll-active a {
  background: rgba(247, 122, 82, 0.5) none repeat scroll 0 0;
  transition: background ease-in 0.7s;
}

#article p.graph-scroll-active a:focus,
#article p.graph-scroll-active a:hover {
  color: rgba(0,0,0,0.6);
}

#article p.graph-scroll-active.my-buildings a {
  background: rgba(220, 20, 60, 0.5) none repeat scroll 0 0;
  transition: background ease-in 1s;
}

#article p.graph-scroll-active.my-buildings a:focus,
#article p.graph-scroll-active.my-buildings a:hover {
  color: black;
}

#article p.graph-scroll-active.construction a {
  background: rgba(16, 144, 255, 0.5) none repeat scroll 0 0;
  transition: background ease-in 1s;
}

/*додано 05.09*/
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  width: 100%;
  margin: auto;
}

.quay {color:#ffffff;font: 900 14px "Open sans";margin-bottom: 1em;}

#voloska, #port, #zmiyi, #rikhter {
  margin-bottom: 10px;
}

.support {
  margin-top: 25em;
  font-size: 0.7em;
}