html, body {
  min-height: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Andante;
  position: relative;
}

img {
  border: none;
}

.nobr {
  white-space:nowrap;
}

.bgvid { 
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background: url('../video/part0_video_bg_poster.png') no-repeat;
  background-size: cover; 
}

#top-panel {
  z-index: 1500;
  background-color: #fff;
  color: #424242;
  display: none;
  background-image: url('../img/part_bg_1.jpg');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

#top-panel > .parts-links {
  list-style: none;
}

#top-panel > .parts-links > li {
  display: inline;
  padding: 1% 2%;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

#top-panel > .parts-links > li.selected,
#top-panel > .parts-links > li:hover {
  background-color: #424242;
}

#top-panel > .parts-links > li > a {
  color: #424242;
}

#top-panel > .parts-links > li.selected > a,
#top-panel > .parts-links > li:hover > a {
  color: #fff;
}

#top-panel > .exhibition-name {
  font-weight: bold;
}

#part0 {
  position: fixed;
  left: 0;
  top: 0;
  min-width: 600px;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,.4)
}

#top-panel > .exhibition-name,
#part0 > .exhibition-name {
  font-family: "Akrobat-Thin";
}

#top-panel > .exhibition-name {
  font-size: 24pt;
}

#part0 > .exhibition-name {
  position: absolute;
  bottom: 5%;
  text-align: center;
  font-weight: normal;
  width: 50%;
  left: 25%;
  font-size: 40pt;
}

#part0 > .quote {
  font-weight: bold;
  font-style: italic;
  text-align: right;
  padding-right: 15px;
  padding-top: 15px;
}

#part0 > .quote > .author {
  font-weight: normal;
}

#part0 .view-button-container {
  position: fixed;
  left: 50%;
  top: 50%;
}

#part0 .view-button-container > .view-button {
  position: relative;
  left: -50%;
  top: -50%;
  border-style: solid;
  border-width: 10px;
  border-color: #424242;
  padding: 10pt 20pt;
  font-family: "Akrobat-ExtraBold";
  font-size: 48pt;
  cursor: pointer;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

#part0 .view-button-container > .view-button > a {
  color: #252525;
}

#part0 .view-button-container > .view-button:focus > a,
#part0 .view-button-container > .view-button:hover > a {
  color: #fff;
}

#part0 .view-button-container > .view-button:focus,
#part0 .view-button-container > .view-button:hover {
  border-style: solid;
  border-width: 10px;
  border-color: #424242;
  background-color: #424242;
  left: -45%;
}

.part-container {
  display: none;
  position: relative;
  width: 60%;
  background-color: #fff;
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-size: 14pt;
  width: 60%;
  margin-left: 15%;
  margin-top: 10%;
  margin-bottom: 5%;
  padding: 5%;
  min-width: 600px;
}

.part-container > h2 {
  text-align: center;
  font-family: 'Akrobat-ExtraBold';
  font-size: 24pt;
}

.part-container > .authors {
  font-size: small;
  font-weight: bold;
  text-align: center;
}

#top-panel {
  overflow: hidden;
  position: fixed;
  width: 60%;
  top: 0;
  left: 20%;
  text-align: center;
  min-width: 600px;
}

@media only screen and (max-width: 3000px) {
  #part0 > .exhibition-name {
    font-size: 40pt;
  }

  .part-container {
    width: 60%;
    margin-left: 15%;
    margin-top: 10%;
    margin-bottom: 5%;
    padding: 15% 5% 5% 5%;
  }

  #top-panel {
    width: 60%;
    left: 15%;
    padding: 5%;
  }
}

@media only screen and (max-width: 1400px) {
  #part0 > .exhibition-name {
    font-size: 30pt;
    bottom: 2%;
  }

  #top-panel {
    width: 70%;
    left: 10%;
    padding: 5%;
  }

  .part-container {
    width: 70%;
    margin-left: 10%;
    margin-top: 10%;
    padding: 15% 5% 5% 5%;
  }
}

@media only screen and (max-width: 1000px) {
  #part0 > .exhibition-name {
    font-size: 24pt;
    bottom: 2%;
  }

  #top-panel {
    width: 80%;
    left: 5%;
    padding: 5%;
  }

  .part-container {
    width: 80%;
    margin-left: 5%;
    margin-top: 10%;
    padding: 25% 5% 5% 5%;
  }
}

/* Блок с изображениями */
.fancybox-title a {
  color: #fff;
}

.images-container {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

.images-container > p {
  margin: 0 0 1em 0;
  font-size: small;
}

.images-container > a {
  display: inline-block;
  padding: 1%;
}

.images-container > a > img {
  display: inline-block;
  max-width: 100%;
  box-shadow: 3px 2px 4px rgba(0, 0, 0, .6);
}

.images-container.single > a {
  width: 97.5%;
}

.images-container.double > a {
  width: 47%;
}

.images-container.triple > a {
  width: 30%;
}

.images-container.quadro > a {
  width: 22%;
}
/* !Блок с изображениями */