/*
Theme Name: The Binary
Theme URI: https://vvibration.com
Description: The Binary theme. Built from scratch with a custom framework :)
Author: Oliver Gwyther
Author URI: https://og.codes
Version: 1.0
*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
  margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
  background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
  border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
  display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
  display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
  display: none;
}

/*

HELLO TRISTAN

'block' elements are just container DIV's for INSIDE each section.

CLASS ORDER FOR ELEMENTS WHEN STYLING:
1. Standard Elemnt Classes (e.g. 'block-50')
2. Effects (e.g. 'shadow')
3. Custom Identifiers (e.g. 'about')

Example: class="block-50 shadow blurb"
Where block-50 sets the width, shadow gives it the shadow class for the shadow effect, and blurb gives it custom styling because it is the blurb section.

*/

/* TYPOGRAPHY */

@font-face {
  font-family: GT-Pressura;
  src:
    url("https://thebinary.london/wp-content/themes/the-binary-wp/fonts/gt-pressura-regular-web-webfont.eot")
      format("embedded-opentype"),
    url("https://thebinary.london/wp-content/themes/the-binary-wp/fonts/gt-pressura-regular-web-webfont.woff")
      format("woff"),
    url("https://thebinary.london/wp-content/themes/the-binary-wp/fonts/gt-pressura-regular-web-webfont.ttf")
      format("truetype"),
    url("https://thebinary.london/wp-content/themes/the-binary-wp/fonts/gt-pressura-regular-web-webfont.svg")
      format("svg");
}

@font-face {
  font-family: GT-Pressura-Light;
  src:
    url("https://thebinary.london/wp-content/themes/the-binary-wp/fonts/gt-pressura-light-web-webfont.eot")
      format("embedded-opentype"),
    url("https://thebinary.london/wp-content/themes/the-binary-wp/fonts/gt-pressura-light-web-webfont.woff")
      format("woff"),
    url("https://thebinary.london/wp-content/themes/the-binary-wp/fonts/gt-pressura-light-web-webfont.ttf")
      format("truetype"),
    url("https://thebinary.london/wp-content/themes/the-binary-wp/fonts/gt-pressura-light-web-webfont.svg")
      format("svg");
}
html {
  scroll-behavior: smooth;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1 {
  /* Titles */
  color: #fff;
  font-size: 64px;
  letter-spacing: 4px;
}
h2 {
  /* Subtitle */
  font-family: GT-Pressura;
  font-size: 24px;
  line-height: 48px;
  letter-spacing: 1.3px;
  word-spacing: 5px;
  padding-right: 40px;
  font-weight: 700;
  margin: 0;
}
h3 {
  /* Block  Captions UPPERCASE */
  font-family: GT-Pressura;
  font-size: 22px;
  letter-spacing: 1.3px;
  word-spacing: 5px;
  text-transform: uppercase;
  font-weight: normal;
  margin: 0;
  padding: 35px 40px;
}
h4 {
  /* Block Captions LOWERCASE*/
  font-family: GT-Pressura;
  font-size: 24px;
  letter-spacing: 1.3px;
  word-spacing: 5px;
  text-transform: none;
  font-weight: normal;
  padding: 35px 40px;
  margin: 0;
}
h5 {
  padding-bottom: 0px;
}
p {
  font-family: GT-Pressura;
  font-size: 18px;
  line-height: 36px;
  letter-spacing: 1.3px;
  word-spacing: 5px;
  font-weight: 100;
  margin: 0;
  padding-bottom: 20px;
  padding-right: 40px;
}

/* CORE */
body {
  background-color: #252525;
  color: #fff;
  margin: 0;
  padding: 0;
  font-family: GT-Pressura;
}

.wrapper {
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  margin: 0;
  height: auto;
}

.content {
  box-sizing: border-box;
  padding: 0 20px;
  width: 100%;
}

section {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  position: relative;
  margin-bottom: 140px;
}
@media screen and (max-width: 500px) {
  section {
    max-width: 500px;
  }
}

/* KEY COMPONENTS */
/* .shadow {
  -webkit-box-shadow: 0px 3px 7px 1px rgba(46,46,46,0.2);
  -moz-box-shadow: 0px 3px 7px 1px rgba(46,46,46,0.2);
  box-shadow: 0px 3px 7px 1px rgba(46,46,46,0.2);
} */

.button-black {
  background-color: #000;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #000;
  display: inline-block;
  cursor: pointer;
  color: #fff;
  font-family: GT-Pressura-Light;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1.5px;
  padding: 15px 40px;
  margin-bottom: 20px;
  margin-right: 20px;
  -webkit-transition:
    background 0.5s,
    color 1s;
  transition:
    background 0.5s,
    color 1s;
}
.button-black:hover {
  background-color: #fff;
  color: #000;
}
.button-black:active {
  position: relative;
  top: 1px;
}

.btn-container {
  padding-bottom: 20px;
}
.block-100 {
  box-sizing: border-box;
  border-radius: 3px;
  width: 84vw;
  margin-bottom: 40px;
}
.block-50:first-child {
  margin-left: 0;
  padding-left: 20px;
}
.block-50 {
  box-sizing: border-box;
  border-radius: 3px;
  margin-left: 2vw;
  width: 40vw;
  float: left;
  position: relative;
  margin-bottom: 40px;
}
@media screen and (max-width: 1400px) {
  .block-50 {
    min-width: 560px;
    margin-left: 0px;
    width: 84vw;
  }
}
.block-40 {
  box-sizing: border-box;
  border-radius: 3px;
  margin-left: 2vw;
  width: 20vw;
  float: left;
  position: relative;
  margin-bottom: 40px;
  background-color: #000;
}
.block-60 {
  box-sizing: border-box;
  border-radius: 3px;
  margin-left: 2vw;
  width: 60vw;
  float: left;
  position: relative;
  margin-bottom: 40px;
  background-color: #000;
}
/* THIS IS NECESSARY THANKS TO A STUPID FUCKING BUG */
.block-33-first {
  margin-left: 0 !important;
}
.block-33 {
  box-sizing: border-box;
  border-radius: 3px;
  margin-left: 3vw;
  width: 26vw;
  float: left;
  position: relative;
  margin-bottom: 40px;
  min-width: 30%;
  min-height: 240px;
}

.block-caption {
  box-sizing: border-box;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  width: 100%;
  height: auto;
}
.block-caption-100 {
  box-sizing: border-box;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  width: 84vw;
  height: auto;
  position: absolute;
  bottom: 0px;
  background-color: #000;
  margin-bottom: 40px;
}
.block-caption-50 {
}
.block-caption-33 {
}

.hide-me {
  -webkit-animation: fadeOut 2s forwards;
  animation: fadeOut 2s forwards;
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
  background: #252525;
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* BLOCK IMAGES */
.block-33 img {
  width: 100%;
  height: auto;
}

.block-50 img {
  width: 100%;
  height: auto;
}

.travel {
  padding-top: 20px;
  padding-bottom: 20px;
}

.block-100 img {
  width: 100%;
  height: auto;
}

section.carousel-100 {
  box-sizing: border-box;
  width: 100%;
  background-color: #252525;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  height: auto;
}
section.binary-blocks {
  box-sizing: border-box;
  width: 100vw;
  height: auto;
  overflow: hidden;
  padding-left: 8vw;
  padding-right: 8vw;
  margin-bottom: 80px;
  padding-top: 80px;
}
.no-margin {
  margin-bottom: 0px !important;
}
.block-overlay {
}
.top-block {
  padding-top: 50px;
}
.carousel-standard {
  min-height: 550px;
  position: relative;
}
.smb {
  /* SMB = Small Margin Bottom */
  margin-bottom: 20px;
}

/* HEADER */

header {
  box-sizing: border-box;
  width: 100%;
  height: 90px;
  position: relative;
}
nav.header-nav {
  box-sizing: border-box;
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  z-index: 9000;
  background-color: #252525;
}
.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #252525;
}

.topnav a {
  display: block;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 36px 10px;
  font-family: GT-Pressura;
  font-size: 18px;
  line-height: 18px;
  letter-spacing: 1.3px;
  word-spacing: 5px;
  text-transform: uppercase;
  font-weight: normal;
  margin-right: 40px;
  -webkit-transition: color 03s;
  transition: color 0.3s;
}
.topnav a:first-child {
  display: block;
  color: #fff;
  text-align: center;
  margin-left: 40px;
  text-decoration: none;
  float: left;
  padding: 26px 0;
  font-family: GT-Pressura;
  font-size: 24px;
  letter-spacing: 1.3px;
  word-spacing: 5px;
  text-transform: none;
  font-weight: bold;
  margin-right: 40px;
}
.topnav a:hover:not(.active) {
  color: #ccc;
}
.topnav .right {
  float: right;
}
.topnav .icon {
  display: none;
}
@media screen and (max-width: 1300px) {
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
    margin-right: 40px;
  }
}

@media screen and (max-width: 1300px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
    margin-right: 40px;
  }
  .topnav.responsive a:first-child {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: right;
  }
  ul {
    direction: ltr;
  }
}

.logo-header {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -225px;
  margin-top: -270px;
  width: 450px;
  height: auto;
  overflow: hidden;
  z-index: 1000;
  -webkit-animation: fadein 8s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 8s; /* Firefox < 16 */
  -ms-animation: fadein 8s; /* Internet Explorer */
  -o-animation: fadein 8s; /* Opera < 12.1 */
  animation: fadein 8s;
}

@media screen and (max-width: 1400px) {
  .logo-header {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -125px;
    margin-top: -145px;
    width: 250px;
    height: auto;
    overflow: hidden;
    z-index: 1000;
    -webkit-animation: fadein 8s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 8s; /* Firefox < 16 */
    -ms-animation: fadein 8s; /* Internet Explorer */
    -o-animation: fadein 8s; /* Opera < 12.1 */
    animation: fadein 8s;
  }
}

.logo-header img {
  width: 100%;
  height: auto;
}

#logo-fade {
  -webkit-animation: 2s ease 0s normal forwards 1 fadein;
  animation: 2s ease 0s normal forwards 1 fadein;
  animation-delay: 4s;
  opacity: 0;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fabrix-logo {
  position: absolute;
  left: 50px;
  bottom: 100px;
  width: auto;
  height: auto;
}

.fabrix-logo img {
  width: 150px;
  height: auto;
}

/* Always set the map height explicitly to define the size of the div
 * element that contains the map. */
#map {
  height: 100%;
}

.text-center {
  text-align: center;
  padding: 0;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* CONTACT MODAL */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* HOME SPECIFIC ELEMENTS */

#lottie {
  background-color: #252525;
  width: auto;
  height: 100%;
  display: block;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  text-align: center;
  opacity: 1;
  margin-left: auto;
  margin-right: auto;
  max-height: 110vh;
}
.lottie-container {
  max-height: 110vh;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  background-color: #252525;
}

.blurb {
}
.blurb p {
  padding-bottom: 40px;
  font-family: GT-Pressura;
  font-size: 20px;
  line-height: 36px;
  letter-spacing: 1.3px;
  word-spacing: 5px;
  padding-right: 40px;
  font-weight: normal;
  margin: 0;
}
.about {
  width: 100%;
  height: auto;
}
.top-carousel {
}
.rent {
  background-image: url("https://thebinary.london/wp-content/themes/the-binary-wp/images/binary-street-view.jpg");
  background-size: cover;
  min-height: 550px;
  padding: 0;
}
.home-features {
  background-image: url("https://thebinary.london/wp-content/themes/the-binary-wp/images/binary-interior-02.jpg");
  background-size: cover;
  min-height: 650px;
}
.transport {
  background-image: url("https://thebinary.london/wp-content/themes/the-binary-wp/images/transport-links.png");
  background-size: cover;
}
.explore {
  background-image: url("https://thebinary.london/wp-content/themes/the-binary-wp/images/borough-market.jpg");
  background-size: cover;
}
.floorplan {
  background-image: url("https://thebinary.london/wp-content/themes/the-binary-wp/images/binary-street-view.jpg");
  background-size: cover;
  min-height: 550px;
}

/* MATTERPORT */

.iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}

.iframe-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* AGENTS SECTION */
.agents-container {
  display: flex;
  gap: 20px;
}

.agent-column {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.agent-logo {
  height: 150px;
  display: flex;
  align-items: center;
}

.agent-logo img.usp-logo {
  width: 150px;
}

.agent-logo img.ingleby-logo {
  width: 250px;
}

.agent-info {
  width: 50%;
  margin-left: 0;
}

@media screen and (max-width: 768px) {
  .agents-container {
    flex-direction: column;
  }

  .agent-column {
    width: 100%;
  }

  .agent-info {
    width: 100%;
  }
}

/* CONTACT FORM */
input[type="text"],
[type="email"] {
  background-color: #ccc !important;
  padding: 10px !important;
  border: none !important;
}
textarea {
  background-color: #ccc;
  padding: 10px;
  border: none;
}

input[type="button"],
input[type="submit"],
input[type="reset"] {
  background-color: #000;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #000;
  display: inline-block;
  cursor: pointer;
  color: #fff;
  font-family: GT-Pressura-Light;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1.5px;
  padding: 15px 40px;
  margin-bottom: 20px;
  margin-right: 20px;
  -webkit-transition:
    background 0.5s,
    color 1s;
  transition:
    background 0.5s,
    color 1s;
}

/* RENT THIS SPACE ELEMENTS */

/* FOOTER  */

footer {
  box-sizing: border-box;
  width: 100vw;
  height: auto;
  background-color: #252525;
  padding-top: 20px;
  padding-left: 20px;
}

.transparent {
  opacity: 0;
}

.vtour {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
