/* Switching the from full text to short text when column is narrow to prevent text wrapping and elongation of row */
.short-text {
  display: none;
}
@media (max-width: 550px) {
  .short-text {
    display: inline-block;
  }
  .full-text {
    display: none;
  }
}

html {
  --background-color: #f4f7f8;
  --color-subtle: #ddd;
  --color-dark: #222;
  --color-black: black;
  background-color: var(--background-color);
  font-size: 10px;
}

/*\\@media screen and (max-width: 1350px) {
      html { font-size: 9px; }
    }

    @media screen and (max-width: 750px) {
      html { font-size: 7px; }
    }

    @media screen and (max-width: 550px) {
      html { font-size: 7px; }
    }*/

body {
  background-color: var(--background-color);
  font-family: europa;
}

div {
  border: none;
}

/* BUILD MODE */
/* div {
  border: 1px solid #d0d0d0;
} */

span:lang(ru) {
  font-family: roboto, sans-serif;
}

table {
  background-color: #0f0f0f;
  color: white;
  border-radius: 8px;
  /* border: 5px solid #bababa; */
  border-spacing: 0;
  width: 100%;
  border-collapse: unset;
}
th {
  font-family: europa;
  font-size: 8px;
}
td {
  font-family: source-sans-pro, sans-serif, sans;
  font-weight: 200;
  font-style: normal;
  font-size: 9px;
}
th,
td {
  border-right: 2px solid #0f0f0f;
  padding: 12px 2px;
  text-align: left;
  padding-right: 0px;
}

.t2pad {
  padding-left: 15px;
}

@media screen and (min-width: 350px) {
  th,
  td {
    padding: 12px 4px;
    padding-right: 0px;
  }
  th {
    font-size: 9px;
  }
  td {
    font-size: 10px;
  }
}

@media screen and (min-width: 650px) {
  th,
  td {
    padding: 13px 10px;
    padding-right: 0px;
  }
  th {
    font-size: 11px;
  }
  td {
    font-size: 12px;
  }
}

@media screen and (min-width: 992px) {
  th,
  td {
    padding: 13px 15px;
    padding-right: 0px;
  }
  th {
    font-size: 14px;
  }
  td {
    font-size: 15px;
  }
}

@media screen and (min-width: 1600px) {
  th,
  td {
    padding: 14px 25px;
    padding-right: 0px;
  }
  th {
    font-size: 16px;
  }
  td {
    font-size: 18px;
  }
}

tr:nth-child(even) {
  background-color: #000000;
}
tr:nth-child(odd) {
  background-color: #111111;
}
.d01 {
  background-color: rgb(26, 26, 26);
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
}
.d02 {
  background-color: rgb(30, 30, 30);
  border-bottom: 2px dashed #111111;
  border-top: 2px dashed #111111;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
}
.d03 {
  background: -webkit-linear-gradient(#b6b6b6, #757575);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.d04 {
  border-right: 2px solid -webkit-linear-gradient(#5b5b5b, #222222);
  background: -webkit-linear-gradient(#5b5b5b, #222222);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.d05 {
  background: linear-gradient(rgb(26, 26, 26), rgb(18, 18, 18));
  color: #a8a8a8;
}
.d06 {
  background: linear-gradient(rgb(22, 22, 22), #000000);
  color: #616161;
}

a {
  font-family: europa, source-code-pro;
}

h1 {
  margin-bottom: 0.5em;
  font-family: europa, source-code-pro;
  font-weight: 400;
  font-size: 2.7vw;
}

@media screen and (min-width: 2000px) {
  h1 {
    font-size: 60px;
  }
}

@media screen and (max-width: 1350px) {
  h1 {
    font-size: 3vw;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 4.5vw;
  }
}

@media screen and (max-width: 650px) {
  h1 {
    font-size: 6vw;
  }
}

.nmr-nav-logo {
  width: 20rem;
}
@media screen and (max-width: 550px) {
  .nmr-nav-logo {
    width: 15rem;
  }
}

a.nmr-link {
  box-sizing: border-box;
}

a:hover.nmr-link {
  text-decoration: none;
  color: grey;
}

.nmr-nav-link {
  font-family: erbaum, roboto, sans-serif;
  font-weight: normal;
  font-style: normal;
  text-transform: uppercase;
  color: #7d7d7d;
  padding: 0 0px;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.nmr-nav {
  /*margin-top: 6em;
      margin-bottom: 7em;*/
  padding: 0;
  justify-content: space-between;
  align-items: center;
  /*flex-wrap: wrap;*/
  margin: 0px;
}

.menuBt {
  box-sizing: border-box;
  color: black;
  font-family: europa;
  font-weight: 600;
  /* background-color: white; */
}

/* .menuBt:hover {
      color: white;
      background-color: black;
    } */

.text-hero {
  font-weight: 400;
  font-style: normal;
}

.text-hero-paid {
  color: #a5a5a5;
}

.row-hero {
  min-height: 80rem;
  margin: 0em;
  padding: 0px;
}

@media screen and (max-width: 550px) {
  .row-hero {
    min-height: 45rem;
  }
}

.text-hero-signup {
  /* border-bottom: 0.2em solid black; */
  color: black;
  font-size: 0.8em;
  font-family: erbaum, europa, roboto, sans-serif;
}

:hover.text-hero-signup {
  /* border-bottom: 0.2em solid black; */
}

.text-copy {
  color: #a5a5a5;
  font-size: 0.7em;
  line-height: 1.4em;
  margin: 1em 0;
  font-weight: 400;
}

@media screen and (max-width: 991px) {
  .nmr-copy-container {
    margin-bottom: 4em;
  }
}

.nmr-copy-link {
  margin-bottom: 4em;
  border-bottom: 0.2em solid white;
  color: black;
  font-size: 0.7em;
}

.nmr-paper {
  -webkit-box-shadow: 19px 14px 72px -19px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 19px 14px 72px -19px rgba(0, 0, 0, 0.75);
  box-shadow: 19px 14px 72px -19px rgba(0, 0, 0, 0.75);
  border-radius: 13px;
  overflow: clip;
  padding: 0px;
  border: 5px solid #bababa;
}

.nmr-code-container {
  /* max-height: 54rem; */
  overflow: auto;
  padding: 1em;
  background-color: #000;
  border-radius: 13px;
  font-size: 1.4rem;
  border: 5px solid #bababa;
}

.nmr-code-container pre {
  margin-bottom: 0;
}

@media screen and (max-width: 750px) {
  /* .nmr-code-container { max-height: 45rem; } */
}

.nmr-row {
  /*padding: 10em 0 10em 0;*/
  margin: 0px;
}

.nmr-signup-container {
  margin-top: 4rem;
}

.nmr-foot-link {
  font-family: erbaum, europa, roboto, sans-serif;
  /* font-weight: 700; */
  font-style: normal;
  text-transform: uppercase;
  color: white;
  margin: 0 0px;
  padding: 0 0px;
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
}

.nmr-foot-link-row {
  margin: 1.5em 0 1.5em 0;
}

.nmr-foot-title {
  font-family: source-code-pro, monospace;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  color: white;
  margin: 0 0px;
  padding: 0 0px;
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
}

.medium-hover {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
  /*-webkit-transition-duration: 2s;
      transition-duration: 2s;*/
}

.medium-hover:hover {
  -webkit-filter: unset;
  filter: unset;
}

@media screen and (min-width: 992px) {
  .model {
    background-image: url('/homepage/img/modelBig.png');
    background-size: cover;
    background-position: center;
  }
}

.mid-row {
  min-height: 150px;
}

.rowOnT2a {
  width: 13%;
}

.rowOnT2b {
  width: 62%;
  border-left: 2px dashed #c7c7c7;
  border-top: 2px dashed #c7c7c7;
}

.rowUnderT2a {
  width: 13%;
}

.rowOnModela {
  width: 13%;
}

.rowOnModelb {
  width: 50%;
}

@media screen and (max-width: 1199px) {
  .rowOnT2a {
    width: 17%;
  }
  .rowOnT2b {
    width: 58%;
  }
  .rowUnderT2a {
    width: 17%;
  }
  .rowOnModela {
    width: 17%;
  }
  .rowOnModelb {
    width: 46%;
  }
}

.medium-pic {
  width: 50%;
  cursor: pointer;
}

@media screen and (min-width: 575px) {
  .medium-pic {
    width: 33.33%;
  }
}

.news {
  background-color: #000000;
  padding: 70px 0;
  border-bottom: 1px solid white;
}
.newsblock {
  text-align: center;
  font-style: italic;
  margin-bottom: 100px;
}
.newsblock:last-of-type {
  margin-bottom: 0px;
}
.press-image {
  max-height: 40px;
  border: 10px solid black;
  border-radius: 4px;
  margin-left: -10px;
  transition-duration: 0.2s;
}
.newsquote {
  color: white;
  margin-top: 10px;
  text-decoration: none;
  font-size: 28px;
}
.news a:hover {
  text-decoration: none;
}
.newsquote:hover {
  text-decoration: underline;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

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

@media screen and (max-width: 991px) {
  .news {
    padding: 70px 30px;
  }
  .newsblock {
    margin-bottom: 70px;
  }
  .newsquote {
    font-size: 24px;
  }
  .press-image {
    max-height: 37px;
  }
}

@media screen and (max-width: 575px) {
  .news {
    padding: 70px 30px;
  }
  .newsblock {
    margin-bottom: 70px;
  }
  .newsquote {
    font-size: 18px;
  }
  .press-image {
    max-height: 35px;
  }
}

.media-icons {
  max-width: 40px;
  padding-top: 10px;
}

@media screen and (min-width: 550px) {
  .media-icons {
    max-width: 42px;
  }
}

@media screen and (min-width: 850px) {
  .media-icons {
    max-width: 45px;
  }
}

.no-padding {
  padding: 0px;
}

.no-margins {
  margin: 0px;
}

/* input[type=text], select {
      width: 49%;
      padding: 12px 20px;
      margin: 0;
    }

    input[type=submit] {
      width: 49%;
      color: white;
      cursor: pointer;
      padding: 12px 20px;
    }

    input[type=submit]:hover {
      background-color: #45a049;
    } */

@media screen and (min-width: 2000px) {
  .mainRestraint {
    max-width: 1800px;
  }
}

.submitBtn {
  border-bottom: 3px solid white;
  padding: 9px;
  width: 100%;
  border-radius: 0px;
  background-color: black;
  color: white;
  font-family: source-code-pro, monospace;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
}

.submitBtn:hover {
  background-color: #e7e7e7;
  color: black;
}

.newsletter {
  border: none;
  padding: 22px 22px;
  border-radius: 0px;
  background-color: white;
  font-family: source-code-pro, monospace;
  font-weight: 300;
  font-style: normal;
  text-transform: uppercase;
  color: black;
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
}

.subresponse {
  color: grey;
  text-align: center;
  font-weight: 400;
}

@media screen and (min-width: 691px) {
  .subresponse {
    text-align: left;
  }
}

.action-button {
  outline: 0;
  border: 0;
  font-size: 0.8em;
  padding: 0.4em 0.8em;
  background-color: var(--color-dark);
  color: white;
  border-radius: 4px;
  transition: all 0.2s 0s;
  text-transform: uppercase;
  font-family: erbaum, europa, roboto, sans-serif;
  font-weight: 300;
}

:hover.action-button {
  transform: translate(0px, -1px);
  box-shadow: 4px 4px 18px #0006;
}

.signup-button {
  font-size: 0.8em;
}

/* .action-button {
  outline: 0;
  border: 0;
  padding: 0.4em 0.8em;
  background-color: var(--color-dark);
  color: white;
  transition: background-color 0.2s 0s;
  border-radius: 4px;
} */

/* Info Modal and Info Button */
.learnButton {
  font-family: erbaum, europa, roboto, sans-serif;
  font-size: 0.6em;
  border: none;
  outline: none !important;
  background-color: var(--background-color);
  margin-left: 0.8em;
}
.learnButton:hover {
  color: #4e4e4e;
}
.modal {
  display: none; /* Visible by default */
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.45); /* Black w/ opacity */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
}
.bottomModal {
  position: fixed;
  max-height: 100%;
  overflow: auto;
  bottom: 0;
  background-color: #f1f1f1;
  width: 100%;
  box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.25);
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
  padding: 50px 140px 10px 180px;
  display: flex;
  justify-content: center;
}
.modalContentContainer {
  display: flex;
  width: 100%;
  max-width: 1800px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.modalContent {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  color: rgb(70, 70, 70);
  margin-right: 40px;
  margin-bottom: 40px;
}
.modalContentImage {
  margin-top: 25px;
  max-width: 220px;
  object-fit: cover;
}
.modalContentDivider {
  height: 18px;
  border-bottom: 1px solid rgb(65, 65, 65);
  width: 40%;
  transition: width 0.3s;
}
.modalContent:hover {
  cursor: pointer;
  color: black;
  text-decoration: none;
}
.modalContent:hover .modalContentDivider {
  width: 60%;
}
.modalClose {
  font-size: 40px;
  line-height: 0.5;
  position: fixed;
  right: 50px;
  transition: text-shadow 0.1s;
}
.modalClose:before {
  content: '';
  position: absolute;
  left: -10px;
  top: -6px;
  height: 40px;
  width: 40px;
  background-color: #f1f1f1;
  opacity: 0.5;
  border-radius: 50%;
  z-index: -1;
}
.modalClose:hover {
  cursor: pointer;
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.45);
}
@media screen and (max-width: 1263px) {
  .modalContentContainer {
    justify-content: left;
  }
  .bottomModal {
    padding: 40px 0px 0px 40px;
  }
  .modalContent {
    margin-right: 40px;
    font-size: 16px;
  }
  .modalContentImage {
    max-width: 180px;
  }
}
@media screen and (max-width: 599px) {
  .learnButton {
    display: none;
  }
  .modal {
    display: none;
  }
  .modalContentContainer {
    flex-direction: column;
  }
  .modalContent {
    flex-direction: row;
    justify-content: space-between;
    font-size: 16px;
  }
  .modalContentImage {
    max-width: 100px;
    margin-top: 0px;
  }
  .modalContentDivider {
    display: none;
  }
}
/* Add Animation */
@-webkit-keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    bottom: -300px;
  }
  to {
    bottom: 0;
  }
}

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

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