/*navbar class from default Bootstrap, modified to fix position of the header*/

.navbar {
  position: fixed;
  min-height: 64px;
  margin-bottom: 21px;
  border: 1px solid transparent;
  width: 100%;
  transition: background .35s ease;
  background-color: transparent !important;
}

body {
  margin: 0;
  /*font-family: "Poppins", sans-serif;*/
  /*overflow-x: hidden;*/
}

.site-logo {
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--text);
  text-decoration: none;
}

header {
  --text: #f4f4f4;
  --text-inverse: #333;
  --background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2em 3em;
  transition: background 250ms ease-in;
  background: var(--background);
  color: var(--text);
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav__link {
  --spacing: 1em;
  text-decoration: none;
  color: inherit;
  display: inline-block;
  padding: calc(var(--spacing) / 2) var(--spacing);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.nav__link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--spacing);
  right: var(--spacing);
  height: 2px;
  background: currentColor;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  transition: -webkit-transform 150ms ease-in-out;
  transition: transform 150ms ease-in-out;
  transition: transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out;
}

.nav__link:hover::after {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.nav__link--btn {
  border: 1.5px solid currentColor;
  border-radius: 2em;
  margin-left: 1em;
  transition: background 250ms ease-in-out;
  letter-spacing: 1px;
  padding: 0.75em 1.5em;
}

.nav__link--btn:hover {
  background: var(--text);
  color: var(--text-inverse);
  border-color: var(--text);
}

.nav__link--btn::after {
  display: none;
}

.nav__link--btn--highlight {
  background: limegreen;
  border-color: limegreen;
  color: #333;
}

.nav__link--btn--highlight:hover {
  background: var(--text);
  border-color: var(--text);
}

.nav-scrolled {
  --text: #333;
  --text-inverse: #f4f4f4;
  --background: #f4f4f4;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
  background-color: #000000 !important;
}

.home-intro {
  padding: 20vh 0vh 20vh 0vh;
  /*background: #123 url(https://unsplash.it/900);*/
  background: #1256 url(/20220621ElliotRossMediaDrivesR1SOn-Road1327.jpg);
  background-size: cover;
  background-blend-mode: multiply;
  color: white;
  text-align: center;
}

.home-about {
  padding: 4em 0;
  max-width: 900px;
  margin: 0 auto;
}

.columns {
  display: flex;
}

.col + .col {
  margin-left: 1.5em;
}

.fade-in {
  opacity: 0;
  /*transition: opacity 250ms ease-in;*/
   transition: opacity 500ms ease-in;
}

.fade-in.appear {
  opacity: 1;
}

.more-stuff-grid {
  background: #f4f4f4;
  padding: 4em 0;
  display: grid;
  grid-gap: 2em;
  align-items: center;
  grid-template-columns: minmax(1em, 1fr) repeat(2, minmax(200px, 400px)) minmax(
      1em,
      1fr
    );
}

.from-left {
  grid-column: 2 / 3;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.from-right {
  grid-column: 3 / 4;
  -webkit-transform: translateX(50%);
  transform: translateX(50%);
}

.from-left,
.from-right {
  /*transition: opacity 250ms ease-in, -webkit-transform 400ms ease-in;
  transition: opacity 250ms ease-in, transform 400ms ease-in;
  transition: opacity 250ms ease-in, transform 400ms ease-in,
    -webkit-transform 400ms ease-in;*/
  transition: opacity 500ms ease-in, -webkit-transform 500ms ease-in;
  transition: opacity 500ms ease-in, transform 500ms ease-in;
  transition: opacity 500ms ease-in, transform 500ms ease-in,
    -webkit-transform 500ms ease-in;
  opacity: 0;
}

.from-left.appear,
.from-right.appear {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
}

/*Custom classes*/
.noBackground{
  background-image: none !important;
  background-color: transparent !important;
}

.col-md-4.columnBlockLayout:hover{
  opacity: 0.7;
}

/**General CSS*/

.homeIcons{
  border-radius: 50%;
  height: 50px;
  width: 50px;
  line-height: 26px;
  display: inline-block;
  text-align: center;
  margin-right: 6px;
  margin-bottom: 6px;
  color: #ffffff;
}

.circularNumbers{
  background: #FFAC00;
    border-radius: 50%;
    height: 26px;
    width: 26px;
    line-height: 26px;
    display: inline-block;
    text-align: center;
    margin-right: 6px;
    margin-bottom: 6px;
    color: #ffffff;
}

.circularWarning{
  background: #d58103;
  border-radius: 50%;
  height: 26px;
  width: 26px;
  line-height: 26px;
  display: inline-block;
  text-align: center;
  margin-right: 6px;
  margin-bottom: 6px;
  color: #ffffff;
}

.circularDanger{
  background: #dc3127;
  border-radius: 50%;
  height: 26px;
  width: 26px;
  line-height: 26px;
  display: inline-block;
  text-align: center;
  margin-right: 6px;
  margin-bottom: 6px;
  color: #ffffff;
}


.alert-warning {
  background-color: #ffe6b3 !important;
  border-color: #faebcc !important;
  color: #c58604 !important;
}

.alert-danger {
  background-color: #fbd9d9 !important;
  border-color: #f9f1f1 !important;
  color: #bb4c51 !important;
}

.table-borderless tr td:first-child{
  border-right: solid 4px #FFAC00;
  text-align: right;
  font-size: large;
}
.table-borderless tr td{
  border-top: none !important;
}
.table-darkHeader tr th{
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  min-width: 95px;
}


/*zoom in image**/
.myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: transform .2s;
}

.myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.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.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation on zoom in */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button on Zoom in */
.close {
  position: sticky;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

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

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

/** Scroll to top **/
.back-to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  border-radius: 100%;
  background: var(--portalThemeColor4);
  padding: 0.5rem;
  border: none;
  cursor: pointer;
  opacity: 100%;
  transition: opacity 0.5s;
  z-index: 1000;
}
.hidden {
  display: none;
  opacity: 0%;
}

.back-to-top-icon {
  width: 5rem;
  height: 5rem;
  color: #ffffff;
}
.back-to-top:hover {
  opacity: 60%;
}

/***********Brand Fonts*******************/

@font-face {
  font-family: 'Larsseit';
  src: url('https://assets.rivian.com/2md5qhoeajym/6OmgFd12saVkqayIC3MXQ7/b3c261286f2101de5aa7547e4b5081d7/Larsseit-Regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Larsseit';
  src: url('https://assets.rivian.com/2md5qhoeajym/6LOKbfuWO3aD6UIUOAGLQO/e2da7c8f6d5c70527b166a362c2d4307/Larsseit-Bold.otf') format('truetype');
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: 'Canela';
  src: url('https://assets.rivian.com/2md5qhoeajym/2VyPWxvgm9D2fugOqQ0MB9/4898f176dad34d64220a57ac42c8cb0d/Canela-Regular.otf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Sohne';
  src: url('https://assets.rivian.com/2md5qhoeajym/7jJr8RKxrWrhxqyIlDZQ86/aa01e0b8c62f164df2fe03afbfcd0f1e/soehne-buch.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Sohne';
  src: url('https://assets.rivian.com/2md5qhoeajym/1CfeQbd9zdXMU4MEQbjMxU/dc61826a4ea077a1d09a7af5777735f6/soehne-leicht.woff2') format('woff2');
  font-display: swap;
  font-weight: 300;
}

@font-face {
  font-family: 'Sohne';
  src: url('https://assets.rivian.com/2md5qhoeajym/ML1MJhn1l886qQRyiNZyu/13f31ed74c13ea12f678f5f6fb00b24c/soehne-kraftig.woff2') format('woff2');
  font-display: swap;
  font-weight: 500;
}

@font-face {
  font-family: 'Sohne Mono';
  src: url('https://assets.rivian.com/2md5qhoeajym/2QXGry5V0WOrgoazpzVRXU/8d2308753885aa7ed5bb319170a6b685/soehne-mono-buch.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Sohne Mono';
  src: url('https://assets.rivian.com/2md5qhoeajym/EY48cO0PuOstB5DcOZQDt/29dd019cd107799fdb6b8668cf495bed/soehne-mono-kraftig.woff2') format('woff2');
  font-display: swap;
  font-weight: 500;
}

button {
  font-family: 'Sohne','Larsseit','HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif;
}

body, html, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, p, a , ul, li {
  font-family: 'Sohne','Larsseit','HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif !important;
}

.navbar-static-top.navbar .menu-bar > .navbar-nav > li > a {
   font-family:  'Sohne','Larsseit','HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif !important;
}

footer p, footer a, #faq span, #faq h5, #faq .h5 {
  font-family: 'Sohne Mono','Courier New',monospace !important ;
  font-size: 1.5rem !important;
}

.large_button {
  color: #ffffff;
  border-radius: 2px;
  font-size: 14px;
  padding: 6px 20px;
  width: fit-content;
  border-style: solid;
  background-color: #000000;
  }
