/* 

  STYLE STRUCTURE

  -- GLOBAL STYLES
  
  -- HEADER STYLES

  -- FOOTER STYLES

  -- HOME STYLES

*/

/* GLOBAL STYLES */

* {
  box-sizing: border-box;
  font: normal 16px 'Open Sans', arial, sans-serif;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 0;
  position: relative;
  text-decoration: none;
}

a, a:focus, a:hover, a:active {
  color: inherit;
  outline: none;
  text-decoration: none;
}

.content {
  padding-bottom: 60px;
}

.no-display {
  display: none;
}

.page-container {
  min-height: 100vh;
}

select {
  border: 1px solid #0c1323;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  margin-left: 20px;
  padding: 5px 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  vertical-align: middle;
  width: 245px;
}

select option {
  color: black;
}

select option:first-child {
  color: gray;
  font-style: italic;
}


select:invalid {
  color: gray;
  font-style: italic;
}

.selectdiv {
display: inline-block;
position: relative;
width: 265px;
}

.selectdiv:after {
  border-left: 1px solid #0c1323;
  color: #0c1323;
  content: '\f078';
  font: normal normal normal 12px/1 FontAwesome;
  height: 21px;
  padding: 8px 0px 0px 8px;
  position: absolute;
  pointer-events: none;
  right: 10px;
  top: 0;
}

select:focus {
outline: none;
}

/* IE11 hide native button */
select::-ms-expand {
  display: none;
}

.pet-selection-container {
  padding-bottom: 20px;
}

.pet-selection-container h3 {
  display: inline-block;
  width: auto;
}

/* HEADER STYLES */

.logo-text {
    font: bold 15px 'Open Sans', Arial, sans-serif; /* Unified font-size and bold */
    letter-spacing: 3px;
    color: darkred; /* Redundant color removed, already specified */
    margin: 0;
    margin-left: 10px;
}

.dropdown {
    margin-bottom: 20px!important; /* Unified margin properties */
    height: 80px !important;
    position: relative;
    display: inline-block;
}

.dropdown li {
    padding: 20px 25px 0 25px;
    background-color: white;
}

.dropdown-content {
    display: none; /* Initial state hidden for dropdown, made visible on hover */
    background-color: white;
    box-shadow: 0.5px 0px 4px 1px;
    transition: 0.2s ease-out; /* Unified transition, removed vendor prefixes */
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    text-align: center;
    z-index: 1;
    width: 130px;
    max-width: calc(100vw - 40px); /* Responsive max-width */
}

.dropdown-content a {
    color: rgb(0, 0, 0);
    padding: 12px 2px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
    top: 80px;
    overflow: hidden;
    visibility: visible;
}

.dropdown-content a:hover {
    background-color: #ff0101;
    color: white;
}

.header {
    display: flex!important;
    justify-content: center;
    background-color: white;
    box-shadow: 0 0 16px 0; /* Moved box-shadow here from 'header' */
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.header__logo-container {
    display: flex; /* Updated to flex for better alignment */
    align-items: center; /* Center logo vertically */
    justify-content: start; /* Align logo to the start */
}

.header__logo-container img {
    height: 60px;
    margin-left: 50px; /* Adjusted only for desktop */
}

.header__nav {
    display: flex; /* Ensures nav is flex container */
    align-items: center; /* Center items vertically */
}

.header__nav--item {
    cursor: pointer;
    display: flex;
    align-items: center; /* Center items vertically */
    margin: 0 20px;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    position: relative;
}

.header__nav--item:after {
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    background: #ff0101;
    transition: width 0.3s ease, left 0.3s ease;
    width: 0;
    left: 50%;
    bottom: 30px;
}

.header__nav--item:hover:after {
    width: 100%;
    left: 0;
}

/* Responsive adjustments with media queries refined for clarity and necessity */
@media (max-width: 1300px) {
    .header__nav--item {
        margin: 0 10px;
    }
    .header__logo-container img {
        margin-left: 20px;
    }
}

@media (max-width: 920px) {
    .hamburger {
        display: block;
    }
    
    .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #333;
}

    .header__nav {
        display: none;
        position: absolute;
        flex-direction: column;
        top: 100px;
        left: 0;
        width: 100%;
        background-color: white;
        z-index: 20;
        box-shadow: 0 4px 5px rgba(0,0,0,0.2);
    }

    .header__nav.is-active {
        display: flex;
    }

    .header__nav--item {
        display: block;
        text-align: center;
    }
}


/*MOBILE NAV */
.topnav {
  overflow: hidden;
  background-color: white;
  position: relative;
}

.topnav #myLinks {
  display: none;
}

.topnav a {
  color: black;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

.topnav a.hamburger {
  background: white;
  display: block;
  position: absolute;
  right: 30px;
  top: 25px;
}

.topnav a:not(.no-hover):hover {
  background-color: #ddd;
  color: black;
}

#myLinks a{
    cursor:pointer;
}

.active {
  background-color: white;
  color: white;
}

.submenu-item {
    padding-left:25px!important;
}

/* Initially display the desktop menu and hide the mobile menu */
.header {
    display: block; /* or flex, based on your layout needs */
}

.topnav {
    display: none; /* Hide mobile navigation initially */
}



/* FOOTER STYLES */

footer {
    background-color: rgba(0, 0, 0, 0.8);
    bottom: 0;
    box-shadow: 0px -2px 5px black;
    color: #ff0101;
    font-size: 16px;
    height: 50px;
    line-height: 60px;
    position: absolute;
    text-align: center;
    width: 100%;
}

footer div {
    display: table;
    margin: auto;
}

footer div h5 {
    color: white;
    cursor: default;
    display: table-cell;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 2px;
    vertical-align: middle;
}

.footer--divider {
    border-right: 2px solid white;
    height: 30px;
    margin: 10px 20px;
}

/* HOME STYLES */

.video__container {
  height: auto;
  margin-bottom: -4px;
  width: 100%;
}

.video__container:after {
  background: rgba(0,0,0,0.6);
  content: '';
  color: #fff;
  position: absolute;
  width: 100%;
  height: 100%;
  top: -5px;
  left: 0;
  opacity: 1;
}

.video__text {
  font-size: 30px;
  font-weight: bold;
  color: white;
  letter-spacing: 0.2em;
  position: absolute;
  right: 5%;
  text-align: right;
  top: 10%;
  width: 30%;
  z-index: 1;
}

.video__container button {
  background-color: #ff0101;
  border: 2px solid white;
  color: white;
  cursor: pointer;
  font-size: 20px;
  left: 50%;
  padding: 12px 20px;
  position: absolute;
  top: 75%;
  transform: translate(-50%);
  z-index: 1;
}

.video__container button:hover {
  background-color: #ff0101;
}

.video__container img {
  max-height: 600px;
  width: 100%;
}

.services__container {
  height: auto;
  width: 100%;
}

.services__header {
  background-color: #ff0101;
  color: white;
  height: 60px;
  text-align: center;
  width: 100%;
}

.services__header h4 {
  font-size: 26px;
  line-height: 60px;
  text-transform: uppercase;
}

.services__row {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.services__item {
  cursor: pointer;
  width: 33.33%;
  height: 100%;
}

.services__item img {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.services__item:hover .middle {
  opacity: 1;
}

.services__item:hover img {
  opacity: 0.3;
}

.no-hover {
  cursor: default;
}

.no-hover:hover img {
  opacity: 1;
}

.text {
  background-color: #ff0101;
  color: white;
  font-size: 18px;
  padding: 12px 20px;
  text-transform: uppercase;
}

/* REQUEST A QUOTE STYLES */

.quote-buttons {
  float: left;
  margin: auto;
  text-align: center;
  width: 100%;
}

.quote-buttons button {
  background-color: #ff0101;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 20px;
  margin-left: 1%;
  margin-top: 2%;
  padding: 12px 20px;
}

.quote-buttons button:hover {
  background-color: #ff0101;
}

.quote-buttons button.previous-page {
  background-color: gray;
}

.quote-buttons button.previous-page:hover {
  background-color: #999999;
}

.quote-buttons button i.fa-arrow-left {
  margin-right: 10px;
}

.quote-buttons button i.fa-arrow-right {
  margin-left: 10px;
}

.quote-content {
  border: 1px solid black;
  border-radius: 5px;
  display: table;
  margin: auto;
  min-height: 500px;
  padding: 20px;
  text-align: center;
  width: 80%;
}

.quote-content--inner {
  display: table-cell;
  vertical-align: middle;
}

.quote-content--inner h3 {
  color: #ff0101;
  font-size: 24px;
  left: 50%;
  position: absolute;
  top: 20px;
  transform: translate(-50%);
}

.progressbar {
  counter-reset: step;
}

.progressbar li {
  color: #ddd;
  float: left; 
  font-size: 18px;
  font-variant: all-small-caps;
  position: relative;
  text-align: center;
  width: 33.33%;
}

.progressbar li:before {
  content: '\f111';
  font: normal normal normal 12px/1 FontAwesome;
  counter-increment: step;
  width: 30px;
  line-height: 30px;
  height: 30px;
  border: 1px solid #ddd;
  color: #ddd;
  display: block;
  text-align: center;
  margin: 0 auto 5px auto;
  border-radius: 50%;
  background-color: white;
}

.progressbar li:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #ddd;
  top: 15px;
  left: -50%;
  z-index: -1;
}

.progressbar li:first-child:after {
  content: none;
}

.progressbar li.active {
  color: #107910;
}

.progressbar li.active:before {
  border-color: #107910;
  background-color: #107910;
  color: white;
  content: '\f00c';
}

.progressbar li.active + li:after {
  background-color: #107910;
}

.progressbar li.next {
  color: #273341;
}

.progressbar li.next:before {
  border: 2px solid #273341;
  /* background-color: #273341; */
  content: '\f111';
  color: #273341;
}

.progressbar li.next + li:after {
  /* background-color: #273341; */
}

.progress-container {
  min-height: 120px;
  padding-top: 40px;
}

iframe#JotFormIFrame-240783568141056{
    height: 860px!important;
}

.form-all{
    box-shadow:none!important;
}

#cid_7, li.form-line:not(.form-line-column) .form-input-wide[data-layout=half] {
    width:100%!important;
    
}

@media (max-width:620px){
    iframe#JotFormIFrame-240783568141056 {
        height: 950px!important;
    }
}


/* COMPANY INFO STYLES */

.companyinfo__container {
  display: inline-block;
  margin-right: -4px;
  padding-bottom: 40px;
  vertical-align: top;
  width: 50%;
}

.companyinfo__container h4 {
  color: #ff0101;
  font-size: 32px;
  font-variant: all-small-caps;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 30px 40px;
}

.companyinfo__text {
  font-size: 20px;
  line-height: 1.5em;
  margin: auto;
  padding-bottom: 40px;
  text-align: justify;
  width: 80%;
}

.companyinfo__material {
  display: inline-block;
  font-size: 18px;
  margin: auto;
  padding-bottom: 10px;
  text-align: center;
  width: 33%;
}

.last-item {
  padding-bottom: 40px;
}

.companyinfo__material a {
  color: #ff0101;
  text-decoration: underline;
}

.companyinfo__text-separator {
  border-bottom: 2px dashed #ff0101;
  margin: auto;
  width: 70%;
}

/* CONTACT US STYLES */

.contact__container {
  margin: auto;
  width: 70%;
}

.contact__separator {
  border-left: 2px solid #ff0101;
  display: inline-block;
  height: 460px;
  margin-top: 40px;
  padding-right: 20px;
}

.contact__side {
  color: black;
  display: inline-block;
  margin-right: -6px;
  min-height: 500px;
  text-align: left;
  vertical-align: top;
  width: 25%;
}

.contact__side:first-child {
  width: 70%;
}

.contact__side form button {
    background-color: #ff0101;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 20px;
    margin-left: 1%;
    margin-top: 2%;
    padding: 12px 20px;
}

.contact__side form button:hover {
  background-color: #ff0101;
}

.contact__side form h2, .contact__side h2 {
  font-size: 24px;
  padding-bottom: 20px;
  padding-top: 50px;
}

.contact__side div h4 {
  font-size: 18px;
  padding: 20px 0 5px 20px;
}

.contact__side div p, .contact__side div a {
  font-size: 14px;
  padding: 5px 50px;
}

.contact__side div a {
  color: #ff0101;
  font-style: italic;
  padding-top: 10px;
}

.contact__side div a:hover {
  color: #ff0101;
  text-decoration: underline;
}

.contact__side form input, .contact__side form textarea {
  height: 40px;
  border: 2px solid #ff0101;
  color: black;
  padding: 10px;
  font-size: 14px;
  margin: 2% 1%;
  margin-right: -4px;
  min-height: 40px;
  width: 40%;
}

.company-input, .contact__side form textarea {
  width: 81% !important;
}

.contact__side form textarea {
  min-height: 80px !important;
}


/*MOBILE STYLES*/

@media (max-width: 920px) {
    footer {
        height:60px;
    }
    .video__text {
        font-size: 30px;
        font-weight: bold;
        color: white;
        letter-spacing: 0.2em;
        position: absolute;
        left: 50%; /* Center horizontally: Move the left side of the element to the center of the container */
        top: 50%; /* Adjust as needed for vertical positioning */
        width: 60%; /* Adjust based on your preference */
        z-index: 1;
        text-align: center;
        /* Use transform to adjust the position accurately for centering */
        transform: translate(-50%, -50%); /* Shift it back by 50% of its own width */
    }
    
    .top20 h3{
        font-size: 30px;
        font-weight: bold;
        color: white;
        letter-spacing: 0.2em;
        position: absolute;
        left: 50%; /* Center horizontally: Move the left side of the element to the center of the container */
        top: 20%!important; /* Adjust as needed for vertical positioning */
        width: 100%; /* Adjust based on your preference */
        z-index: 1;
        text-align: center;
        /* Use transform to adjust the position accurately for centering */
        transform: translate(-50%, -50%); /* Shift it back by 50% of its own width */
    }
    .companyinfo__container{
        width:100%;
    }
    body, html {
        overflow-x: hidden;
    }
    .contact__side, .contact__side:first-child {
    width: 100%!important;
    }
    .contact__separator{
        display:none;
    }
    .contact__side form input{
        width:49%;
    }
    .contact__side form textarea, .company-input {
    width: 99.5% !important;
    }
    .services__row{
        flex-direction:column;
    }
    .services__item{
        width:100%;
    }
    .contact__container {
    margin: auto;
    width: 80%;
    }
    .header {
        display: none!important; /* Hide desktop navigation on mobile */
    }
  
    .topnav {
        display: block; /* Show mobile navigation */
    }
}


/* SCROLLBAR STYLES */

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: black;
  -webkit-box-shadow: none;
  transition: background-color 5000s ease-in-out 0s;
}

::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1; 
    margin-bottom: 20px;
    margin-top: 20px;
  }

  body::-webkit-scrollbar-track {
    margin-bottom:0;
    margin-top: 0;
}
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #484848; 
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #484848; 
  }

  /* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* MEDIA QUERIES */

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
