.booking-success {
  padding-top: 50px;
  padding-bottom: 50px; }
  .booking-success .lead {
    font-family: "Roboto Condensed";
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 48px; }
  .booking-success .buttons {
    max-width: 400px;
    margin: auto; }

/**
 * Gallery.
 */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start; }

.gallery-item {
  color: #fff;
  overflow: hidden;
  padding: 0;
  position: relative;
  max-width: 50%;
  height: calc(100vw / 2);
  flex-shrink: 1;
  flex-grow: 1; }

@media only screen and (min-width: 600px) {
  .gallery-item {
    max-width: calc(100% / 3);
    height: calc(100vw / 3); } }

@media only screen and (min-width: 900px) {
  .gallery-item {
    max-width: 25%;
    height: calc(100vw / 2); } }

@media only screen and (min-width: 1200px) {
  .gallery-item {
    max-width: calc(100% / (1200 / 200));
    height: calc(100vw /  (1200 / 200)); } }

@media only screen and (min-width: 2100px) {
  .gallery-item {
    max-width: 350px;
    height: 350px; } }

.gallery-item a {
  display: block;
  height: 100%; }

.gallery-item img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  max-width: 350px;
  height: 100%; }

.gallery-item .details {
  background: rgba(74, 137, 123, 0.86);
  color: #fff;
  opacity: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity .4s;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

.no-touch .gallery-item:hover .details {
  opacity: 1; }

.input-subject {
  position: absolute;
  z-index: -1;
  right: 300vw; }

.perspective {
  -webkit-perspective: 1000px;
          perspective: 1000px; }

.button.flip {
  transition: all 250ms ease;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  border: none;
  background-color: transparent;
  padding: 0;
  height: 42px; }
  .button.flip .state-def, .button.flip .state-active {
    margin: 0;
    transition: background-color 250ms ease;
    display: block;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 42px;
    height: 42px; }
    @media (max-width: 480px) {
      .button.flip .state-def, .button.flip .state-active {
        padding-left: 10px;
        padding-right: 10px; } }
  .button.flip .state-def {
    -webkit-transform: translateZ(20px);
            transform: translateZ(20px); }
  .button.flip .state-active {
    -webkit-transform: rotateX(-90deg) translateZ(-22px);
            transform: rotateX(-90deg) translateZ(-22px); }
  .button.flip:hover {
    -webkit-transform: rotateX(89deg);
            transform: rotateX(89deg); }

