/*---------------------------------------------------------------
                    STYLESHEET NAVIGATION
------------------------------------------------------------------*/
/* 
  1. VARIABLES
  2. GENERAL
  3. TYPOGRAPHY
  3. COLORS
  4. LAYOUT
  4. FORMS
  5 .BUTTONS
  6. MISC.
    6.1 TOPBAR
    6.2 NAVBAR
    6.3 PARALLAX
    6.2. LIGHTBOX
    6.3. CLIPPY
    6.4. EVERYTHING ELSE
  7. MEDIA QUERIES
  8. UTILITIES
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');

/*---------------------------------------------------------------
1. VARIABLES
------------------------------------------------------------------*/
:root {
  --straub-red: #ce000a;
  --btn-blue: #0074d9;
  --btn-green: #5cb65c;
  --btn-yellow: #ffdc00;
  --white: #ffffff;
  --gray-200: #f2f2f2;
  --gray-400: #e9e9e9;
  --ff-body: 'Noto Sans', sans-serif;

  --text-sm: 0.8rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
}

/*---------------------------------------------------------------
2. GENERAL
------------------------------------------------------------------*/
a {
  text-decoration: none;
}

/*---------------------------------------------------------------
3. TYPOGRAPHY 
------------------------------------------------------------------*/
.text-sm {
  font-size: var(--text-sm);
}

.text-base {
  font-size: var(--text-base);
}

.text-lg {
  font-size: var(--text-lg);
}

.text-xl {
  font-size: var(--text-xl);
}

.text-right-ml {
  padding-left: 55px;
}

.text-inline {
  display: inline-block;
  width: auto;
}

.text-right-ml:hover {
  background: #b8daff;
  color: white;
}

/*---------------------------------------------------------------
3. COLORS
------------------------------------------------------------------*/
.bg-gray-400 {
  background-color: var(--gray-400);
}

/*---------------------------------------------------------------
2. LAYOUT
------------------------------------------------------------------*/
body {
  overflow-x: hidden;
  background-color: var(--gray-200);
  font-family: var(--ff-body);
}

.flex-1 {
  flex: 1;
}

.wrapper {
  max-width: 72rem;
  width: 100%;
  margin: 0 auto;
  border: none;
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/*---------------------------------------------------------------
4. FORMS
------------------------------------------------------------------*/

.form-group input:focus {
  border: 1px solid gray;
  box-shadow: none;
}

.form-group textarea:focus {
  border: 1px solid gray;
  box-shadow: none;
}
/*---------------------------------------------------------------
5. BUTTONS
------------------------------------------------------------------*/

.btn-success {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}

.btn-success:hover {
  color: #fff;
  background-color: #218838;
  border-color: #1e7e34;
}

.custom-button {
  position: relative;
  vertical-align: top;
  padding: 0.5rem;
  font-size: 1rem;
  color: white;
  text-align: center;
  cursor: pointer;
  border: 0;
  opacity: 0.2;
}

.custom-button:hover {
  opacity: 0.8;
}

.custom-button-green {
  background: #27ae60;
}

.custom-button-yellow {
  color: #333;
  background: #ffd820;
}
.custom-button-blue {
  background: var(--btn-blue);
}
.custom-button-dark {
  background: #333;
}

.custom-button:active {
  top: 1px;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn-outline-primary {
  color: var(--btn-blue);
  border-color: var(--btn-blue);
}

.btn-outline-warning {
  border-color: var(--btn-yellow);
}

.btn-outline-success {
  color: var(--btn-green);
  border-color: var(--btn-green);
}

.image-shadow {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 6px 6px rgba(0, 0, 0, 0.5);
}

.btn-danger-straub {
  color: #fff;
  background-color: #cd010d;
  border-color: #cd010d;
}

.btn-danger-straub:hover {
  color: #fff;
  background-color: rgb(151, 5, 15);
  border-color: rgb(151, 5, 15);
}

/*---------------------------------------------------------------
6. MISC
------------------------------------------------------------------*/

thead {
  border-top: hidden;
}

.pointer:hover {
  cursor: pointer;
}

.bg-black {
  background-color: #000;
}

footer {
  font-family: var(--ff-body);
}

/*---------------------------------------------------------------
6.1 TOPBAR
------------------------------------------------------------------*/

.topbar--link {
  font-family: var(--ff-body);
  text-decoration: none;
  color: #ce020e;
}

.topbar--link:hover {
  text-decoration: none;
  color: #333;
  text-decoration: none;
}

/*---------------------------------------------------------------
6.2 NAVBAR
------------------------------------------------------------------*/

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  line-height: 1;
  background-color: transparent;
  transition: box-shadow 0.15s ease-in-out;
}

.nav--link {
  font-size: var(--text-base);
  text-align: left;
  padding-top: 0.5rem;
  text-decoration: none;
  color: var(--bs-dark);
}

.navbar-nav .nav--link:hover {
  color: var(--straub-red);
}

@media (min-width: 768px) {
  .nav--link {
    padding-left: 1rem;
  }
}

/*---------------------------------------------------------------
6.2 PARALLAX
------------------------------------------------------------------*/
.parallax {
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
}

.parallax--metal-grip {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('../img/misc/straub-couplings.jpg');
  height: 250px;
  color: var(--bs-white);
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .parallax--metal-grip {
    height: 400px;
  }
}

#parallax-couplings {
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url('../img/gallery/Straub Metal-Grip pipe coupling installed3.jpg');
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 20px #333;
}

.parallax-inner {
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  width: 80%;
  box-shadow: 0px 0px 20px #333;
}

h1.parallax-text {
  font-size: 3em;
  text-shadow: 3px 3px 1px #333;
}

h2.parallax-text {
  font-size: 2.5em;
  text-shadow: 3px 3px 1px #333;
}

/* 6.2 LIGHTBOX */
.thumbnail {
  width: 90px;
  height: 90px;
}

img.thumbnail:hover {
  background-color: rgba(0, 0, 0, 1);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
}

.lightbox img {
  /** Pad the lightbox image */
  max-width: 50%;
  max-height: 50%;
  margin-top: 10%;
}

.lightbox:target {
  /** Remove default browser outline */
  outline: none;
  /** Unhide lightbox **/
  display: block;
}

/* 6.3 CLIPPY PLAST PRO */
#plast-family {
  -webkit-clip-path: polygon(0 18%, 100% 5%, 100% 100%, 0% 100%);
  clip-path: polygon(0 18%, 100% 5%, 100% 100%, 0% 100%);
}

/* 6.4 EVERYTHING ELSE */
.cursor-pointer {
  cursor: pointer;
  background: transparent;
}

.dropdown-item-dark:hover {
  color: #f8f9fa;
  text-decoration: none;
  background-color: #16181b;
}

/*---------------------------------------------------------------
8. UTILITIES
------------------------------------------------------------------*/
.mt-5 {
  margin-top: 3rem;
}

/*---------------------------------------------------------------
7. MEDIA QUERIES
------------------------------------------------------------------*/
@media (min-width: 800px) {
  .btm {
    position: absolute;
    width: 100%;
    bottom: 0;
  }

  /* .container-main {
    width: 100%;
    margin: 0 auto;
    border: none;
    background: #fff;
  } */
}

@media (min-height: 1200px) {
  .btm-4k {
    position: absolute;
    width: 100%;
    bottom: 0;
  }
} /* x-Small devices (landscape phones, 575px and down) */
@media (max-width: 575px) {
  .pp-5 {
    padding: 1rem 3rem;
  }

  .lightbox img {
    max-width: 100%;
    max-height: 100%;
    margin-top: 5%;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 575px) {
  #parallax {
    height: 200px;
  }

  #manual-cover {
    width: 190px;
  }

  #parallax2-title {
    margin-right: 0.2rem;
  }

  .md-pt-1 {
    padding-top: 1rem;
  }

  .pp-5 {
    padding: 1rem 5rem;
  }

  .lightbox img {
    max-width: 80%;
    max-height: 80%;
    margin-top: 5%;
  }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .pp-5 {
    padding: 1rem 10rem;
  }

  #parallax2-title {
    margin-right: 2rem;
    padding-top: 2.5rem;
    text-shadow: 0px 1px 2px #333;
  }

  #manual-cover {
    width: 200px;
  }

  #parallax-couplings2 {
    margin-bottom: 40px;
  }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 991px) {
  #parallax-couplings2 {
    margin-bottom: 80px;
  }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* .container-main {
    width: 100%;
    margin: 0 auto;
    border: none;
  } */
  .pt-100 {
    padding-top: 100px;
  }
  .pp-5 {
    padding: 2rem;
  }

  #manual-cover {
    width: 290px;
  }
}

/* // Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1500px) {
  /* .container-main {
    width: 70%;
    margin: 0 auto;
    padding: 0;
    /* box-shadow: 0px 0px 20px #333; */
  /* z-index: 1; */
  /* }  */

  #parallax-couplings2 {
    margin-bottom: 80px;
  }
  .navbar-collapse {
    height: 100%;
  }

  .nav-item {
    padding-top: 1.5rem;
    width: 6em;
    text-align: center;
  }

  .nav-item-active {
    border-bottom: var(--straub-red);
  }

  .pt-8 {
    padding-top: 4rem;
  }

  .pp-5 {
    padding: 3rem;
  }

  #manual-cover {
    width: 290px;
  }
}

/* /////////////////////////////////////////////////////////////////////////////// */
#manual-cover {
  box-shadow: 5px 5px 5px #333;
  height: auto;
}

.img-width {
  width: 160px;
  height: auto;
}

.bg-light-custom {
  background: #e9ecef;
}

.link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.link:hover {
  text-decoration: none;
  color: #666;
}

.rotate {
  transition: 0.2s ease-in;
}

.rotate:hover {
  transform: rotate(-10deg);
}

.highlight-on-hover:hover {
  transform: scale(1.05);
}

.is-checked {
  opacity: 1;
}

.img-width-1 {
  width: 100px;
  height: auto;
}

.nav-tabs .nav-item {
  margin-bottom: -1px;
  color: #fff;
  font-size: 20px;
  letter-spacing: 1.3px;
}

#tabs {
  box-shadow: 0px 0px 15px #333;
}

.blog .carousel-indicators {
  left: 0;
  top: auto;
  bottom: -40px;
}

/* The colour of the indicators */
.blog .carousel-indicators li {
  background: #a3a3a3;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.blog .carousel-indicators .active {
  background: #707070;
}

.cover-shadow-border {
  background: rgba(0, 0, 0, 0.048);
  border-radius: 20px;
}

.img-shadow {
  box-shadow: 10px 10px 15px #000;
}

.link-downloads {
  text-decoration: none;
  color: #333;
}

.link-downloads:hover {
  text-decoration: underline;
  color: #666;
}

.blue-bg {
  color: #0174df;
}

.blue-bg:hover {
  text-decoration: none;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* Working at the moment */
.opt {
  opacity: 0.5;
}

.opt:hover {
  opacity: 1;
}

.full-opt {
  opacity: 1;
  border: 2px dotted #333;
}

.scale15 {
  font-size: 1.5rem;
}

.is-checked-form-btn {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}

.btn-outline-dark.focus,
.btn-outline-dark:focus {
  box-shadow: none;
}

.text15 {
  font-size: 1.5rem;
}

.img-lifted {
  box-shadow: 5px 5px 5px #333;
}
