body {
  min-width: 320px;
}

.relative {
  position: relative;
}

.img-container .vertical-bottom {
  vertical-align: bottom;
}

.img-container .vertical-top {
  vertical-align: top;
}

.fixed-newsletter {
  position: absolute;
  transform: translate3d(50%, 50%, 0px) rotate(-90deg);
  top: 50%;
  right: 20px;
  cursor: pointer;
  font-size: 14px;

  animation: subscribe 2s alternate infinite;
  -webkit-transition: opacity .3s, right .3s;
  transition: opacity .3s, right .3s;
}

.fixed-application:hover {
  opacity: 0.6;
}

section.horizontal-center {
  position: absolute;
  top: 50%;
  padding-left: 30px;
  transform: translate(0, -50%);

}

.fixed-newsletter:before {
  content: " ";
  width: 15px;
  height: 1px;
  background: #000;
  display: inline-block;
}

.fixed-newsletter:after {
  content: " ";
  width: 15px;
  height: 1px;
  background: #000;
  display: inline-block;
}

/* @keyframes subscribe {
   0%   { opacity: 0; }
  100% { opacity: 1; }
} */
@-webkit-keyframes subscribe {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0.3;
  }
}

/* .fixed-newsletter:hover,
.fixed-application:hover {
  opacity: 0.6;
} */
/* grid background */
.bg-grid span {
  position: fixed;
  width: 1px;
  height: 100%;
  background: #ededed;
  z-index: -1;
}

.bg-grid span:nth-of-type(1) {
  left: 16.6%;
}

.bg-grid span:nth-of-type(2) {
  left: 33.3%;
}

.bg-grid span:nth-of-type(3) {
  left: 50%;
}

.bg-grid span:nth-of-type(4) {
  left: 66.7%;
}

.bg-grid span:nth-of-type(5) {
  right: 16.6%;
}

/* grid pages */
.grid-item-half {
  width: 50%;
  display: inline-block;
  vertical-align: top;
}

.press .grid-item-half {
  vertical-align: bottom;
}

.press .multi-image .grid-item-half {
  vertical-align: top;
}

.press .multi-image .grid-item-half:nth-of-type(2n) {
  vertical-align: top;
  padding-top: 31.4%;
}

.programme .grid-item-half {
  /* padding-bottom: 60%; */
}

.programme .grid-item-half:nth-of-type(2n) {
  margin-top: 30%;
}

.programme .grid-item-half:nth-of-type(4n) {
  margin-top: 30%;
}

#about .grid-item-half,
.gallery-animation .grid-item-one-third {
  display: inline-block;
}

.gallery-animation .grid-item-one-third {
  padding-left: 60px;
  vertical-align: middle;
}

.grid-item-one-third {
  width: 75%;
}

#about .grid-item-one-third {
  width: 75%;
  display: inline-block;
  text-align: right;
  padding: 0 30px 0 0px;
}

#about .grid-item-one-third:nth-of-type(1) {
  /* text-align: justify; */
}

#about section.grid-item-one-third.mr-left-one-half.justify {
  text-align: justify;
}

.line-animation {
  position: relative;
  height: 60px;
  width: 100%;
}

.line-animation:after {
  content: "";
  height: 0px;
  width: 1px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: #000;
  transition: height .3s;
  transition-delay: .4s;
}

#about section .grid-item-one.active .line-animation:after,
#about section:nth-of-type(2n) .grid-item-one.active .line-animation:after {
  height: 60px;
}

#about section:nth-of-type(2n) .grid-item-one .line-animation:after {
  content: "";
  height: 0px;
  width: 1px;
  position: absolute;
  bottom: 0px;
  left: auto;
  right: 0px;
}

#about section:nth-of-type(2n) .grid-item-one:after {
  float: right;
}

#about section:nth-of-type(2n) .grid-item-one-third {
  width: 75%;
  display: inline-block;
  float: right;
  padding: 0 0 0 30px;
  text-align: left;
}

#about .grid-item-one-third,
#about section:nth-of-type(2n) .grid-item-one-third {
  padding: 0 40px;
}

#about section .grid-item-one:after {
  content: "";
  width: 1px;
  height: 0px;
  display: block;
  background: #000;
  transition: height .5s;
  transition-delay: .8s;
}

#about section .grid-item-one.active:after {
  height: 60px;
}

/* #about section .grid-item-one:after {
  content: "";
  width: 1px;
  height: 0px;
  display: block;
  background: #000;
  transition: height .3s;
} */
/* #about section .grid-item-one.active:after {
  height: 60px;
} */

/* #about section:nth-of-type(2n) .grid-item-one:before {
  content: "";
  height: 60px;
  width: 1px;
  float: right;
  background: #000;
} */
#about section span {
  display: block;
}

.grid-item-third-one {
  width: 35%;
}

.grid-item-one {
  width: 25%;
  display: inline-block;
  vertical-align: top;
}

.gallery-animation .grid-item-one {
  vertical-align: middle;
}

#about .grid-item-one {
  width: 25%;
  display: inline-block;
  vertical-align: top;
  margin-left: -1px;
}

#about .grid-item-one .img {
  transform: translate(0px, 100px);
}

#about .grid-item-one.active .img {
  transform: translate(0px, 0px);
  transition: transform .5s;
}

#about .grid-item-third-one {
  display: inline-block;
}

.grid-item-third {
  width: 33.3333%;
  display: inline-block;
  vertical-align: top;
}

.team .grid-item-third:nth-of-type(3n) {
  margin-left: 66.66%;
}

.friends .grid-item-third:nth-of-type(3n+1),
.friends .grid-item-third:nth-of-type(3n) {
  padding-top: 36%;
  display: inline-block;
  margin-left: 0px;
}

.photos .grid-item-third:nth-of-type(3n+1),
.photos .grid-item-third:nth-of-type(3n) {
  padding-top: 33.4%;
  display: inline-block;
  margin-left: 0px;
}

.grid-board {
  width: 25%;
  display: inline-block;
  vertical-align: bottom;
}

.grid-board:nth-of-type(2) {
  margin-top: 85px;
  margin-left: 25%;
}

.grid-participant {
  width: 50%;
  display: inline-block;
  vertical-align: bottom;
}

.grid-participant:nth-of-type(2) {
  margin-top: 0px;
  margin-left: 50%;
}

.grid-participant:nth-of-type(2n) {
  display: block;
  margin-left: 50%;
}

#board .grid-board:nth-of-type(2) {
  margin-top: 85px;
  margin-left: 0%;
}

.grid-board:nth-of-type(3) {
  display: block;
  margin-left: 25%;
}

.grid-board:nth-of-type(4),
.board .action {
  display: block;
  margin-left: 50%;
}

.grid-board:nth-of-type(2n+3) {
  display: block;
  margin-left: 25%;
}

.grid-board:nth-of-type(8n) {
  display: block;
  margin-left: 50%;
}

.grid-board:nth-of-type(6n) {
  display: block;
  margin-left: 50%;
}

/* grid 4*/
.grid-item-fourth {
  width: 25%;
  display: inline-block;
  vertical-align: top;
}

.prints .grid-item-fourth {
  height: 0px;
  padding-bottom: 30%;
}

.prints .grid-item-fourth:nth-of-type(2n) {
  padding-top: 30%;
}

.prints .grid-item-fourth:nth-of-type(4n) {
  padding-top: 30%;
}

.img-item.br-gray {
  border-top: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
  height: 0px;
  padding-bottom: 120%;
}

.img-item.br-dark-gray {
  border-top: 1px solid #dedcdc;
  border-bottom: 1px solid #dedcdc;
  border-left: 1px solid #dedcdc;
  border-right: 1px solid #dedcdc;
  height: 0px;
  padding-bottom: 60%;
}

.img-item.br-parallel {
  border-top: 1px solid #03feff;
  border-bottom: 1px solid #03feff;
  border-left: 1px solid #03feff;
  border-right: 1px solid #03feff;
  height: 0px;
  padding-bottom: 60%;
}

.programme .grid-info {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  padding: 15px;
  color: #000;
}

.programme .grid-info:hover .line {
  width: 50%;
  height: 100%;
}

.programme .grid-info:hover .pr-title {
  /*   color: #fff; */
}

.grid-info {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  padding: 15px;
  color: #fff;
  z-index: 100;
}

.programme .grid-info:after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 6px;
  height: 50%;
  background: transparent;
  z-index: -1;
}

.grid-info:after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: rgba(3, 254, 255, 0.4);
  z-index: -1;
}

.grid-info a {
  color: #fff;
}

.grid-info .clip-bottom {
  position: absolute;
  bottom: 10px;
  right: 15px;
  text-align: right;
}

/* .grid-item-fourth img,
.grid-item-fourth .img {
   transform: scale(0.6);
} */
.grid-item-fourth .img-item {
  background: transparent;
  cursor: pointer;
}

.grid-info h2 {
  font-size: 16px;
}

.grid-info h4 {
  font-size: 12px;
}

/* end grid 4 */
footer {
  padding-bottom: 35px;
  position: relative;
  overflow-y: hidden;
}

.footer-address {
  width: 83.4%;
  display: flex;
  justify-content: space-between;
}

.content {
  min-height: calc(100vh - 300px);
}

header,
.footer-address {
  padding-left: 35px;
}

main,
.container-main {
  padding-left: 16.6%;
  width: 83.4%;
}

.container-full--pd {
  padding-left: 16.6%;
}

main#full-width {
  width: 100%;
  padding: 0px;
}

.container {
  padding-left: 16.66%;
  width: 83.5%;
}

#about .container {
  padding-left: 16.7%;
}

main#staff-bio,
main#about,
main#application {
  padding-left: 0%;
  width: 100%;
}

#staff-bio .em p {
  font-size: 24px;
  line-height: 30px;
}

/* grid margin */
.mr-top-xlg {
  margin-top: 500px;
}

.mr-top-lg {
  padding-top: 300px;
}

.mr-top-md {
  margin-top: 120px;
}

.mr-top-xs {
  margin-top: 30px;
}

.mr-top-xxs {
  margin-top: 20px;
}

.mr-top {
  margin-top: 15px;
}

.pd-left-xxs {
  padding-left: 20px;
}

.mr-left-xxs {
  padding-left: 20px;
}

.pd-left-sm {
  padding-left: 40px;
}

.bug {
  margin-top: 120px;
}

.mr-left-one {
  margin-left: 25%;
}

.mr-left-small {
  margin-left: 60px;
}

.mr-left-one-half {
  margin-left: 12.5%;
}

.mr-left-two {
  margin-left: 50%;
}

.mr-left-three {
  margin-left: 66.66%;
}

a.read-more-minimal {
  text-decoration: none;
}

/* action style */
.gallery-animation .action.absolute {
  position: absolute;
  width: 100%;
  bottom: 0px;
  left: 18.5%;
}

.action {
  margin-top: 40px;
  position: relative;
  z-index: 100;
  z-index: 1;
}

.read-more {
  background: #ededed;
  font-size: 14px;
  display: inline-block;
  bordeR: none;
}

.read-more-catalogue a {
  background: #02e30c;
  border: 1px solid #02e30c;
  padding: 10px 10px;
  color: inherit;
  display: block;
  transition: all .3s;
  transform-origin: bottom left;
  transform: rotate(-90deg);
  margin-left: 33px;
}

.fixed-application {
  position: fixed;
  transform: rotate(-90deg);
  transform-origin: center;
  top: 195px;
  left: -28px;
  z-index: 100;
  transition: opacity .4s ease-in-out;
}

.read-more-application a {
  /* background: #00ffff;
  border: 1px solid #00ffff; */
  /* background: #00d009;
  border: 1px solid #00d009; */
  background: #02e40c;
  border: 1px solid #02e40c;
  padding: 10px 10px;
  color: inherit;
  display: block;
  transition: all .3s;
}

.read-more-catalogue a:hover {
  background: #fff;
  border: 1px solid #ccc;
  opacity: 1;
}

/* .action.absolute.applic .read-more-focus a {
  background: #00ffff;
  border: 1px solid #00ffff;
  padding: 10px 10px;
  color: inherit;
  display: block;
  transition: all .3s;
  transform: rotate(0deg) translate(-20px,10px);
  transform-origin: bottom right;
} */
span.arrow {
  background: url(../svg/arrow-right-long.svg);
  background-size: 35px 10px;
  width: 35px;
  height: 10px;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}

.read-more a {
  background: #ededed;
  border: 1px solid #ededed;
  padding: 17px 35px 14px 35px;
  display: block;
  transition: all .3s;
}

.read-more a:hover,
.read-more-focus a:hover {
  background: #fff;
  cursor: pointer;
  color: #666;
  border: 1px solid #ededed;
}

article a {
  color: #999;
  text-decoration: underline;
  transition: opacity .3s;
}

article a:hover {
  opacity: 0.6;
}

.newsletter-msg {
  display: inline-block;
  position: relative;
}

.msg-sucsses {
  color: #fff;
  background: #000;
  display: inline-block;
  font-size: 12px;
  padding: 12px;
}

.msg-error {
  color: #fff;
  background: red;
  display: inline-block;
  font-size: 12px;
  padding: 12px;

}

.msg-sucsses,
.msg-error {
  display: none;
}

/*  .msg-sucsses span.close {
    position: absolute;
    width: 38px;
    height: 38px;
    background: #000;
    top: 0px;
    right: -38px;
} .msg-error span.close {
    position: absolute;
    width: 38px;
    height: 38px;
    background: red;
    top: 0px;
    right: -38px;
}
span.close:before {
    content: "";
    width: 21px;
    height: 1px;
    background: #fff;
    display: block;
    transform: rotate(45deg) translate(16px, 9px);
}
span.close:after {
    content: "";
    width: 21px;
    height: 1px;
    background: #fff;
    display: block;
    transform: rotate(-45deg) translate(-9px, 15px);
} */
/* color and animation */
.taf-color {
  /* color: #00ffff; */
  color: #00d009;
}

.bg-white {
  background: #ffffff;
}

.clr-gray {
  color: #666666;
}

.img {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
}

a .img-height {
  position: static;
  padding-bottom: 70%;
}

a .img-square {
  position: static;
  padding-bottom: 100%;
}

#about .about .img {
  position: static;
  height: auto;
  clear: both;
}