html, body {
  height: 100%;
}

body {
  font-family: 'Rubik', sans-serif;
  margin: 0;
  padding: 0;
  background: #eaeaea;
  color: #222;
}

h3 {
  font-weight: 400;
  font-size: 25px;
  color: #333;
}

a {
  text-decoration: none;
}

a.def {
  color: #2686ae;
}

a.def:hover {
  text-decoration: underline;
}

p {
  margin: 0;
}

p.text {
  line-height: 1.25em;
}

p.red-title {
  color: #dd4242;
  font-weight: bold;
  font-size: 19px;
}

p.img-text {
  overflow: hidden;
  margin-bottom: 35px;
}

p.img-text img[align="left"] {
  margin-right: 25px;
}

p.img-text img[align="right"] {
  margin-left: 25px;
}

img.img, img.lbox-img {
  border-radius: 3px;
}

img.lbox-img {
  border: 3px solid rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease;
}

img.lbox-img:hover {
  border-color: rgba(0, 0, 0, 0.5);
}

.page {
  padding: 35px 30px;
  line-height: 1.55em;
}

/* Main parts */

#main-cont {
  position: relative;
  background: #fff;
  width: 1000px;
  margin: 0 auto;
  margin-bottom: -205px;
  min-height: 100%;
}

#app-header {
  position: relative;
  background: #fff;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

#app-content {
  position: relative;
  background: #fff;
  min-height: 100%;
}

#app-footer {
  position: relative;
  background: #333;
  color: #eaeaea;
  font-weight: 300;
  z-index: 1;
}

#app-footer, #footer-push {
  height: 245px;
}

#app-footer > section {
  width: 1000px;
  height: 100%;
  margin: 0 auto;
  padding: 20px 10px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Header */

#menu {
  margin-left: 30px;
}

#menu > a {
  border: none;
  color: #666;
  border: 2px solid transparent;
  text-decoration: none;
  border-radius: 5px;
  padding: 7px 10px;
  transition: 0.2s ease;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 5px;
}

#menu > .pin {
  color: rgba(204, 58, 58, 1);
  border-color: rgba(204, 58, 58, 0.5);
}

#menu > .pin.purple {
  color: rgba(119, 0, 203, 1);
  border-color: rgba(147, 5, 248, 0.5);
}

#menu > .pin.purple::before,
#menu > .pin.orange::before {
  content: "ново";
  background: rgba(119, 0, 203, 1);
  color: #fff;
  border-radius: 3px;
  padding: 0 4px;
  margin-right: 7px;
  font-weight: normal;
}

#menu > .pin.orange {
  color: rgb(200, 125, 0);
  border-color: rgba(200, 125, 0, 0.5);
}

#menu > .pin.orange::before {
  background: rgb(200, 125, 0);
}

#menu > .pin.blue {
  color: rgb(0, 107, 200);
  border-color: rgba(0, 107, 200, 0.5);
}

#menu > .pin.blue::before {
  background: rgb(0, 107, 200);
}

#menu > a:hover {
  color: rgba(221, 133, 0, 0.7) !important;
  border-color: rgba(221, 133, 0, 0.7) !important;
}

/* Footer */

#app-footer p.menu-title {
  font-weight: 500;
  /*border-bottom: 1px solid rgba(255, 255, 255, 0.3);*/
  margin-bottom: 10px;
}

#app-footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#app-footer ul > li {
  margin: 3px 0;
}

#app-footer a {
  font-weight: lighter;
  color: #eaeaea;
  text-decoration: none;
}

#app-footer a:hover {
  text-decoration: underline;
}

#app-footer .copy {
  float: left;
}

#app-footer .right-sided {
  float: right;
  margin-left: 100px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 15px;
  min-height: 205px;
}

#pop-up-modal {
  position: fixed;
  background: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

#pop-up-modal.hidden {
  display: none;
}

#pop-up-modal > .pop-up {
  position: relative;
  animation: pop-in 0.3s ease;
  max-width: 90%;
}

#pop-up-modal img {
  border-radius: 10px;
  max-width: 100%;
  max-height: 90%;
  width: 800px;
}

#pop-up-modal .close {
  position: absolute;
  top: 4px;
  right: 10px;
  font-size: 25px;
  /* color: #073d4b; */
  color: #fff;
  cursor: pointer;
  text-shadow: 0 1px 0 #000, 0 -1px 0 #000, 1px 0 0 #000, -1px 0 0 #000;
}
