@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');

html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  padding-top: 75px; /*offset to clear navbar */
  font-family: 'Open Sans', sans-serif;
  background-color: rgb(230,230,230);
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', sans-serif;
}
h2 {
  font-size:calc(1.125rem + .9vw);
}

.rtx-bg-primary {background-color: rgba(255,205,0,1.00);}

.accordion-button {
  font-family: 'Open Sans', sans-serif;
  color:black;
}
.accordion-button:not(.collapsed) {
  background-color: rgba(255,205,0,.75);
  color:black;
}
.accordion-button:focus {
  box-shadow: 0 0 0 .25rem rgba(255,205,0,.75);
}

.btn {
  text-transform: uppercase;
  border-width: 2px;
  border-radius: .3rem;
  border-color: #ffc107;
  padding-top: .25rem;
  padding-bottom: .25rem;
  padding-right: .5rem ;
  padding-left: .5rem;
}

.btn:hover {
  background-color: #ffc107;
  color: black;
}

.btn:focus {
  box-shadow: 0 0 0 .25rem rgba(255,205,0,.75);
}

.btn-yellow {
  background-color: #ffc107;
  color: black;
  text-transform: uppercase;
  border-width: 2px;
  border-radius: .3rem;
  border-color: #ffc107;
  padding-top: .25rem;
  padding-bottom: .25rem;
  padding-right: .5rem ;
  padding-left: .5rem;
}

.btn-yellow:hover,.btn-gray:hover {
  background-color: #ffc107;
  border-color: #c7ac62;
}

.btn-gray {
  color: black;
  border-color: rgb(180,180,180);
}

.card-dark-border {
  border-color:rgb(190,190,190);
}
.card-footer-dark-bg {
  background-color:rgb(230,230,230);
}

.form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 .25rem rgba(255,205,0,.75);
}



#quote-box {
  top:75px;
  z-index: 100;
  background-color: rgb(255,205,0);
  box-shadow: 0 0px 0px rgba(0,0,0,0.16), 0 5px 5px rgba(0,0,0,0.23);
}
#quote-box .btn {
  border-color: rgb(255,255,255);
  background-color: rgb(255,231,128);
  font-size: 1.4rem !important;
  padding: 0.2rem 2rem;
  font-weight: bold;
}
#quote-box .btn:hover {
  background-color: rgb(255,255,255);
}

#quote-box-time {
  
}


/* BREADCRUMBS */

.rtx-breadcrumbs {
  list-style: outside none;
  padding-left: 0px;
}
.rtx-breadcrumbs > li {
  font-size: 0.9rem;
  vertical-align: top;
}
.rtx-breadcrumbs > li,
.rtx-breadcrumbs > li > a {
  display: inline-block;
}
.rtx-breadcrumbs > li > a {
  /*color: #07d;*/
  text-decoration: none;
}
.rtx-breadcrumbs > li > a:hover {
  text-decoration: underline;
}
.rtx-breadcrumbs > li:nth-child(n+2)::before {
  display: inline-block;
  margin: 0 8px;
  content: "/";
}
.rtx-breadcrumbs > li:not(:last-child) {
  color: #999;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-top:0px;
  margin-bottom: 0rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 25rem;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  width: 100%;
  /*height: 25em;*/
  height:100%;
  object-fit: cover;
  overflow: hidden;
  /*height: 32rem;*/
}

/*.carousel .carousel-inner img {
  width: 100%;
  height: 25em;
  object-fit: cover;
  overflow: hidden;
}*/
.rtx-interior-header {
  background-color: rgb(179,179,179);
  }
.rtx-interior-header h2 {
    text-transform: uppercase;
  }
.rtx-list-columns {
  columns: 3; -webkit-columns: 3; -moz-columns: 3;
}
.rtx-product-card {
  margin-top:2px !important;
  margin-bottom:2px !important;
}
.rtx-product-card:hover {
  box-shadow: 0 15px 10px -10px rgba(31, 31, 31, 0.5) !important;
  transition: all 0.3s ease;
  margin-top:1px !important;
  margin-bottom:3px !important;
}
.rtx-product-card a {
  text-decoration: none;
  color:black;
}
.rtx-product-card a:focus {
  box-shadow: 0 0 0 .25rem rgba(255,205,0,.75);
}
.rtx-quote-header {
  background-color: rgb(255,205,0);
  }
.rtx-quote-header h2 {
    text-transform: uppercase;
  }

.rtx-shortcut-menu {
  background-color: rgb(179,179,179);
  clear: both;
}
.rtx-shortcut-menu-box {
  
}
.rtx-shortcut-menu-link {
  text-decoration: none;
  color: rgb(60,60,60);
}
.rtx-shortcut-menu-link:hover {
  color: black !important;
}
.rtx-shortcut-menu-img {
  padding-bottom: 0.2rem;
}
.rtx-shortcut-menu-text {
  font-size: 0.9rem;
}

.card-title {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  min-height: 3rem;
  font-size:1.2rem;
}
.card-title a {
  text-decoration: none;
  color:inherit;
}
.card-title a:hover {
  text-decoration: underline;
}

.rtx-product-image-float-right {
  margin-top:-70px !important;
  float:right;
  display: inline-block;
}

.rtx-product-page-header-h2 {
  font-size:1.5rem;
  text-transform: uppercase;
}
.rtx-product-page-header-h3 {
  font-size:1.2rem;
  text-transform: uppercase;
}
.rtx-product-page-header-h4 {
  font-size:1.1rem;
  text-transform: uppercase;
}
.rtx-product-page-punchout-hidden-image {
  width:500px;
  height:1px;
}
.rtx-product-page-punchout-shown-image {
  position:absolute;
  width:400px;
  height:314px;
}
.rtx-product-page-list {
  margin-top:0px;
}
.rtx-product-page-list li {
  font-size: 1.0rem;
  line-height: 1.2rem;
  margin-bottom: 1.0rem;
  list-style: none;
}

.rtx-subcategory-page-header {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-top: 0px;
}

.rtx-home-title {
  font-size: 1.9rem;
  text-transform: uppercase;
}

/* RTX TIPS & NEWS */
.rtx-article-title {
  font-size: 1.9rem;
}
.rtx-article-topic2 {
  font-size: 1.4rem;
  margin-top: 1.9rem;
}

/* RTX NORMAL PAGES */
 .rtx-page-header-h2 {
  font-size: 1.5rem;
  margin-top: 1.9rem;
}
 .rtx-page-header-h3 {
  font-size: 1.2rem;
  margin-top: 1.4rem;
  margin-bottom: 0.1rem;
}


@media (max-width: 1200px) {
  h2 {
    font-size:1.8rem;
  }
  .rtx-product-page-punchout-hidden-image {
    width:350px;
    height:1px;
  }
  .rtx-product-page-punchout-shown-image {
    position:absolute;
    width:350px;
    height:auto;
  } 
}

/*mobile interface mods */
@media (max-width: 991.98px) {
  body {
    padding-top: 65px;
  }
  .offcanvas-collapse {
    position: fixed;
    top: 65px; /* Height of navbar */
    bottom: 0;
    left: -100%; /* Change to 100% for right-to-left */
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(100%); /* Change to -100% for right-to-left */
  }

  .rtx-list-columns {
  columns: 2; -webkit-columns: 2; -moz-columns: 2;
}
  
  #quote-box {
    top:65px;
  }
  #quote-box-time {
    padding-bottom: 1.5rem;
  }
  
  
  /* BREADCRUMBS */

  .rtx-breadcrumbs {
    list-style: outside none;
    padding-left: 0px;
  }
  .rtx-breadcrumbs > li {
    font-size: 0.9rem;
    vertical-align: top;
  }
  .rtx-breadcrumbs > li,
  .rtx-breadcrumbs > li > a {
    display: inline-block;
  }
  .rtx-breadcrumbs > li > a {
    /*color: #07d;*/
    text-decoration: none;
  }
  .rtx-breadcrumbs > li > a:hover {
    text-decoration: underline;
  }
  .rtx-breadcrumbs > li:nth-child(n+2) {
    display:none;
  }
  .rtx-breadcrumbs > li:first-child::before {
    display: inline-block;
    margin: 0 8px;
    content: "<<";
  }

  
  
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }
  
  .carousel-item {
    height: 20rem;
  }
  
  .carousel .carousel-inner img {
     height: 20em;
  }
  
  .rtx-product-image-float-right {
    margin-top:20px;
  }  
  .rtx-product-page-punchout-hidden-image {
    width:250px;
    height:1px;
  }
  .rtx-product-page-punchout-shown-image {
    /*position:relative;*/
    width:320px;
    height:auto;
  } 
  
}


@media (max-width: 767px) {
  .rtx-product-page-punchout-hidden-image {
    width:320px;
    height:200px;
  }
  .rtx-product-page-punchout-shown-image {
    position:absolute;
    width:350px;
    height:auto;
  } 
}

@media (max-width: 600px) {
  .rtx-product-page-shipping-map {
    width:90% !important;
  }  
}

@media (max-width: 450px) {
  body {padding-top: 65px; }

  .rtx-list-columns {
  columns: 1; -webkit-columns: 1; -moz-columns: 1;
}
  #rtx-logo {height:26px;}
  #quote-box {top:65px;}
  #quote-box .btn {
    font-size: 1.2rem !important;
    padding: 0.5rem 3rem;
    background-color: rgb(255,231,128);
    box-shadow: 0 .125rem .25rem rgba(0,0,0, .075);
  }
  #quote-btn {
    border-width: 2px;
    border-radius: .3rem;
    font-size: 0.9rem;
    padding-top: .25rem;
    padding-bottom: .25rem;
    padding-right: .5rem ;
    padding-left: .5rem;
  }
  .rtx-product-page-shipping-map {
    width:100% !important;
  }  

  
}

