/*
  tip: You may get an error during CSS compilation: "Function rgb is missing argument $green."
    - to recreate in development mode, use:  bundle exec rake assets:clobber assets:precompile RAILS_GROUPS=assets RAILS_ENV=beta RACK_ENV=beta
    - to resolve: (a) change rgb to rgba; (b) add commas; and (c) change the percentage opacity to a decimal.
    - e.g. "rgb(0 0 0 / 15%)" to "rgba(0, 0, 0 , 0.15)"
    - see https://stackoverflow.com/questions/66825515/getting-error-in-css-with-rgb0-0-0-15
*/
/* ############################################################################ */
/* Globals                                                                      */
/* ############################################################################ */
:root {
  --primary: #9f0618;
  --secondary: #313131;
  --background: #fff;
  --white: #fff;
  --black: #000;
  --light: #eee;
  --dark: #222;
  --border: #ccc;
}

body, html{
  font-family: 'Kanit', sans-serif;
  background-color: var(--background);
  height: 100%;
  min-height: 100%;
/*  overflow-x: hidden; i.e. removed because it messes up popup boxes*/
}
.pointer {cursor: pointer;}
.grow {transition: all 0.2s ease-in-out;}
.grow:hover {transform: scale(1.1);}
.grow-link {
  color: #eb0000;
  margin-right: 1rem;
  font-size: 22px;
  transition: all 0.2s ease-in-out;
}
.grow-link:hover {
  transform: scale(1.1);
  text-decoration: none;
}
.text-shadow{text-shadow: 2px 1px 2px rgba(0, 0, 3, 0.6);}
#desktopNav ul li.active a {color: #eb0000;}
.redText{color: var(--primary);}
.redBorder{border:solid 2px var(--primary);}

#getLabel a, #getLabel a:hover{text-decoration:underline;color:var(--white);}
#accordion a {text-decoration: none;}
.breadcrumb {background-color: transparent;}
#corvetteHdrText h1, #corvetteHdrText h2{margin-bottom: 0;}
.corvetteHdrTopMargin{margin-top:6rem;}
.scroll-icon {
  position: relative;
  left: 0;
  bottom: 2.2rem;
}

#cf {
  position:relative;
  width:100%;
  height: 500px;
  margin:0 auto;
}

#cf img {
  position:absolute;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

#cf img.top:hover {
  opacity:0;
}


/* #vinForm input.vin {
  border: none;
  font-family: monospace;
  font-size: 19px;
  letter-spacing: 20.6px;
  width: 530px;
  height: 26px;
  text-transform: uppercase;
  background: transparent url(http://beta.monroneylabels.com/../img/vin-placeholder.png) no-repeat;
  padding: 1px 0 0 6px;
} */

/* Content Section Backgrounds */
.bg-red {
  color: #fff;
  background-color: var(--primary);
  border: solid 1px var(--black);
  padding: 1rem;
  border-radius: 0.25rem;
}
.bg-gray{
  color: #fff;
  background-color: #394046;
  border: solid 1px var(--primary);
  padding: 1rem;
  border-radius: 0.25rem;
}



.car-create .form-control {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-family:monospace;
    line-height: 1.5;
    color: #495057;
    text-transform: uppercase;
    border: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    overflow-x:hidden;
    resize:none;
    text-align: center;
}


@media (min-width: 770px){
  .car-create .form-control { /* e.g. chrome on windows*/ 
    background: transparent url(http://beta.monroneylabels.com/assets/layout-new/big-vin-placeholder-f57770352ac929acb86eccf5e5ddcd6eab07ead4737bb3bba8d041fd828a9e1b.png) no-repeat;
    background-position: center center;
    background-clip: unset;
    background-color: transparent;
    letter-spacing: 1.4em;
    text-align: left;
  }
  .mac-os .car-create .form-control { /* e.g. chrome on mac*/
    letter-spacing: 1.35em;
  }
  .Safari-13 .car-create .form-control { /* e.g. safari on mac*/
    letter-spacing: 1.8em;
  }
  .Safari-14 .car-create .form-control { /* e.g. safari on mac - not tested*/
    letter-spacing: 1.8em;
  }
  .Safari-15 .car-create .form-control { /* e.g. safari on mac*/
    letter-spacing: 1.9em;
  }
  
  /* VIN single inputs version */
  .vinField{
      display: block;
      width: 540px;
      margin: 1em auto;
  }

}

.menu-icon {
  margin: 8px 7px 0 auto;
}


.pageheader-container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.page-heading-download {
  background-image: url(http://beta.monroneylabels.com/assets/headings/heading-bg-download-3aada87c7c6b3197780d5abb95834d692e1e8513fdfe051d028d26abfe0d8a99.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  text-align: center;
  margin-top: 4rem;
}

.page-heading-dealers {
  background-image: url(http://beta.monroneylabels.com/assets/headings/heading-bg-dealers-e0618032d58313e385db783b42dce41cf7cd5d9dedc8c1c987047e9304a5942d.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  text-align: center;
  margin-top: 4rem;
}

.page-heading-account {
  background-image: url(http://beta.monroneylabels.com/assets/headings/heading-bg-account-00ef181f02a08def8189a85fe86a3fcfdb6ff8ffb3f0744cd684c0010fa64120.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  text-align: center;
  margin-top: 4rem;
}

.page-heading-login {
  background-image: url(http://beta.monroneylabels.com/assets/headings/heading-bg-login-2e016be7859c330652dada0c50173d13c86766851843dadfefed3d5ca3d7bc23.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  text-align: center;
  margin-top: 4rem;
}

.page-heading-brands {
  background-image: url(http://beta.monroneylabels.com/assets/headings/heading-bg-brands-03c9d874633a9083076f75f71127c5aad11bb405d033eedf7a64dd693749428a.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  width: 100%;
  text-align: center;
  margin-top: 4rem;
}

.page-heading-terms {
  background-image: url(http://beta.monroneylabels.com/assets/headings/heading-bg-terms-bd0ec993df4920a66f5501d69944cac0eb9ab578a92705a0607b908baf58165b.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  width: 100%;
  text-align: center;
  margin-top: 4rem;
}

.page-heading-cart {
  background-image: url(http://beta.monroneylabels.com/assets/headings/heading-bg-cart-32d2ffe10557ce31c0952b91518bf2955e07c72607deb8e0348b7d6c3ada0905.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  width: 100%;
  text-align: center;
  margin-top: 4rem;
}

.page-heading-extension {
  background-image: url(http://beta.monroneylabels.com/assets/headings/heading-bg-extension-95a77f0dba9065d93ee43d8f9efa070ea5aa57c1eaca0363e697f808be5bb752.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  width: 100%;
  text-align: center;
  margin-top: 4rem;
}

.page-heading-account .heading-content h1,
.page-heading-download .heading-content h1,
.page-heading-login .heading-content h1,
.page-heading-dealers .heading-content h1,
.page-heading-brands .heading-content h1,
.page-heading-terms .heading-content h1,
.page-heading-cart .heading-content h1,
.page-heading-extension .heading-content h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
  background-color: rgba(0, 0, 0, 0.52);
  display: inline-block;
  margin-bottom: 0;
  margin-top: 160px;
  padding: 13px 60px;
}

.page-heading-account .heading-content em,
.page-heading-download .heading-content em,
.page-heading-login .heading-content em,
.page-heading-dealers .heading-content em,
.page-heading-terms .heading-content em,
.page-heading-cart .heading-content em,
.page-heading-extension .heading-content em {
  font-style: normal;
  font-weight: 200;
}


/* Nav Bar */
#homeNav nav {
  height: 65px;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 300;
  background: none;
  box-shadow: none;
}

#homeNav nav a{color:#fff;text-shadow: 2px 1px 2px rgba(0, 0, 3, 0.6);}

nav .logo {
  float: left;
  margin-left: 5px;
  margin-top: .5rem;
}

nav {
  background: rgb(213, 213, 213);
  height: 65px;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 300;
  box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.5);
}

/* Desktop Nav */
#desktopNav ul li {
  display: inline-block;
  margin: 20px 10px 3px auto;
}

a{
  font-weight: 400;
  color: #eb0000;
  text-decoration: none;
  transition: all 0.5s;
}
a:hover {
  color: #000;
}

#desktopNav a{
  font-weight: 300;
  color: #000;
  text-decoration: none;
  transition: all 0.5s;
}
#desktopNav a:hover {
  color: #eb0000;
}

/* menu icon */
.menu-icon {
  background: transparent;
  border: 1px solid #db0126;
  width: 50px;
  height: 50px;
  margin: 15px 39px 0 auto;
  position: relative;
  cursor: pointer;
  transition: background 0.5s;
  border-radius: 5px;
}

.menu-icon span,
.menu-icon span:before,
.menu-icon span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 2px;
  width: 35px;
  background:#db0126;
  position: absolute;
  left: 15%;
  top: 50%;
  display: block;
  content: '';
  transition: all 0.5s ease-in-out;
}

.menu-icon span:before {
  left: 0;
  top: -10px;
}

.menu-icon span:after {
  left: 0;
  top: 10px;
}

.menu-icon.active {
  background: rgba(250,250,250,0.2);
}

.menu-icon.active span {
  background-color: transparent;
}

.menu-icon.active span:before,
.menu-icon.active span:after {
  top: 0;
}

.menu-icon.active span:before {
  transform: rotate(135deg);
}

.menu-icon.active span:after {
  transform: rotate(-135deg);
}

/* Nav Menu Overlay */
.overlay-menu {
  background: #fff;
  color: #000;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  height: auto;
  border: 1px solid rgba(0,0,0,.125);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding: 0;
  opacity: 0;
  text-align: center;
  transform: translateY(-100%);
  transition: all 0.5s;
}

.overlay-menu.open {
  opacity: 1;
  transform: translateY(0%);
}

.overlay-menu .main-menu {
  transform: translateY(50%);
  opacity: 0;
  transition: all 0.3s;
  transition-delay: 0s;
}

.overlay-menu.open .main-menu {
  transition: all 0.7s;
  transition-delay: 0.7s;
  opacity: 1;
  transform: translateY(0%);
}

.overlay-menu .main-menu:nth-child(2) {
  transition-delay: 0s;
}

.overlay-menu.open .main-menu:nth-child(2) {
  transition-delay: 1.25s;
}

.overlay-menu {
  overflow: scroll;
}

.overlay-menu::-webkit-scrollbar {
  display: none;
}

.overlay-menu ul {
  list-style: none;
  margin-top: 80px;
  padding: 0px;
  text-align: left;
}
.overlay-menu ul li {
  padding: 10px 0px;
}

.overlay-menu ul li a {
  font-size: 20px;
  font-weight: 300;
  color: #000;
  text-decoration: none;
  transition: all 0.5s;
}

.overlay-menu ul li a:hover {
  color: #9f0618;
}

.overlay-menu p {
  margin-top: 60px;
  font-size: 13px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 200;
  letter-spacing: 0.5px;
  text-align: center;
}

.popup-icon {
  position: fixed;
  bottom: 22px;
  right: 25px;
  z-index: 300;
  display: inline-block;
  width: 60px;
  height: 60px;
}

.popup-icon button {
  background-color: transparent;
  outline: none;
  border: none;
  cursor: pointer;
}

#modal .modal-btn img {
  width: 60px;
  height: 60px;
  cursor: pointer;
}

/* ############################################################################ */
/* Window Sticker Clicks                                                        */
/* ############################################################################ */
#TopCarsSwiper h1{color: var(--primary); font-weight: bold;}

#TopCars a {
  outline: none;
  color: var(--black);
  text-decoration: none;
}
#TopCars a:hover {
  outline: none;
  color: var(--black);
  text-decoration: none;
}

#TopCities h1{
  color: var(--primary);
  font-weight: bold;
  margin-bottom: -6px;
}

.swiper-pagination {
  position: relative;
  margin-top: 1rem;
}

/* Modal */
#modal .modal {
  background-color: rgba(0,0,0,.95);
  display: none;
  overflow: auto;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 210px);
  transform: all 0.6s;
  overflow: scroll;
}

#modal .modal::-webkit-scrollbar {
  display: none;
}

/* Modal Content */
.bg-overlay {background-color: #343a40f7 !important;}

#modal .modal-content {
  text-align: center;
  position: relative;
  top: 0;
  width: 100%;
  margin: 0 auto;
  background-color: transparent;
  border: none;
}
#modal .modal-animated-in {
  animation: totop-in .6s ease;
}
#modal .modal-animated-out {
  animation: totop-out .6s ease forwards;
}
#modal .modal-header {
  border-bottom: none;
}
#modal .modal-header h3 {
  color: #fff;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 64px;
  margin-top: 5%;
  border-bottom: none;
}

#modal .modal-header em {
  font-style: normal;
  font-weight: 200;
}

#modal .modal-content .close-btn {
  position: absolute;
  z-index: 99999999;
  color: #fff;
  right: 10px;
  top: 15px;
  width: 50px;
  height: 50px;
  text-align: center;
  cursor: pointer;
}

#modal .modal-body {
  text-align: center;
  margin: 0 auto;
}

#modal .modal-body input {
  border-radius: 5px;
  padding-left: 15px;
  font-size: 14px;
  font-weight: 200;
  background-color: rgb(250, 250, 250);
  outline: none;
  border: none;
  box-shadow: none;
  line-height: 40px;
  height: 40px;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}

#modal .modal-body textarea {
  border-radius: 5px;
  padding-left: 15px;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 200;
  background-color: rgb(250, 250, 250);
  outline: none;
  border: none;
  box-shadow: none;
  max-height: 220px;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  margin-bottom: 25px;
}

#modal .modal-body button {
  border-radius: 0px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  background-color: transparent;
  color: #fff;
  letter-spacing: 2px;
  border-bottom: 3px solid #fff;
  display: inline-block;
  padding: 0px 0px 3px 0px;
  transition: all 0.5s;
  border-top: none;
  border-right: none;
  border-left: none;
}

#modal .modal-body button:hover {
  color: rgb(255, 0, 0);
  border-color: rgb(250, 250, 250);
  outline: none;
}

#modal .modal-header {
  align-items: center;
  justify-content: center;
}

/* Keyframes */
@keyframes totop-in {
  0% {
    top: 600px;
    opacity: 0;
  }
  100% {
    top: 0%;
    opacity: 1;
  }
}

@keyframes totop-out {
  0% {
    top: 0px;
    opacity: 1;
  }
  100% {
    top: -100%;
    opacity: 0;
  }
}

/* Footer */
footer {
  position: relative;
  width: 100%;
  height: 80px;
  background-color: #313131;
  bottom: -20px;
}

footer p {
  text-align: center;
  color: #fff;
  font-weight: 200;
  font-size: 13px;
  text-transform: uppercase;
  padding-top: 33px;
  letter-spacing: 0.5px;
}

footer a {
  color: #aaa;
  text-decoration: none;
}

footer a:hover {
  text-decoration: none;
  color: #aaa;
}

@media (max-width: 580px)
{
  .menu-icon {
    margin: 8px 7px 0 auto;
  }
}

@media (min-width: 576px) and (max-width: 676px) {
  #desktopNav ul li {
    display: inline-block;
    margin: 25px 2px 2px 2px;
    font-size: 12px;
  }
}

@media (max-width: 530px) {
  #cf {
    height: 200px;
  }
  .scroll-icon {
    position: relative;
    bottom: 0.8rem;
  }
  nav .logo {
    float: left;
    margin-left: 4px;
    width: 55%;
    margin-top: 0.8rem;
  }
  #modal .modal-header h3 {
    margin-top: 15%;
  }

  #modal .modal-body input {
    width: 100%;
  }

  #modal .modal-body textarea {
    width: 100%;
  }

  #modal .modal-content {
    padding-bottom: 40px;
  }

  .page-heading .heading-content h1 {
    font-size: 2rem;
  }

  .container-fluid {
      padding-right: 0;
      padding-left: 0;
  }

  .display-3 {
    font-size: 1.7rem;
  }

  .display-4 {
    font-size: 1.2rem;
  }

  .h1, h1 {
    font-size: 2rem;
  }

  .h2, h2 {
    font-size: 1.3rem;
  }

  .h3, h3 {
    font-size: 1.25rem;
  }

  .page-heading-login, .page-heading-extension, .page-heading-dealers, .page-heading-account, .page-heading-download, .page-heading-brands, .page-heading-terms, .page-heading-cart {
    margin-top: 0;
  }

  .form-control {
    font-size: .74rem;
  }

  .bg-red {
    margin-top: 3rem;
  }

}


@media (max-width: 768px) {

  #video-container{display: none;}
  .bg-red {
    margin-top: 0rem;
  }
}
img.go2meeting {
  margin-top: 4em;
  opacity: 0.5;
  transition: opacity 1s ease-out 100ms
}
img.go2meeting:hover {
  opacity: 1;
}
/*#accordion .card ul {
  list-style: disc;
}
#accordion .card ul li{
  margin-left: 2em;
  padding-bottom: 1em;
}
*/
