/*
base colors:
blue: #003e7e
red: #e31736
black: 
*/
body {
  cursor: default;
  padding-bottom: 5rem;
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: rgb(226, 226, 226);
}
body.admin {
  padding-top: 70px;
}
body.thankyou {
  background: white;
}

body.admin form > .container {
  max-width: 1700px;
}
body.admin .form-group.row > .col-md-6 {
  width: 35%;
  -ms-flex: 0 0 35%;
  flex: 0 0 35%;
  max-width: 35%;
}
body.admin .form-group.row > .col-md-6:last-child {
  width: 65%;

  -ms-flex: 0 0 65%;
  flex: 0 0 65%;
  max-width: 65%;
}

.text-primary {
  color: #003e7e !important;
}
.col-form-label {
  font-size: 0.9rem;
}

input[type="radio"],
input[type="checkbox"] {
  cursor: pointer;
}

label {
  margin-bottom: 0px;
}

.must-star {
  color: #e31736;
}

.error {
  color: #e31736;
}
label.error {
  font-style: italic;
  line-height: 1rem;
  line-height: 1.2;
  font-size: 0.8rem;

  display: block;
  width: 100%;
}

header {
  padding-top: 10px;

  border-bottom: solid 1px #ccc;

  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  z-index: 1000;

  background: white;

  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -ms-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
body.scrolled header {
  -webkit-box-shadow: 0 5px 10px 1px rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 10px 1px rgba(0, 0, 0, 0.1);
}
header .navbar {
  padding-left: 0px;
  padding-right: 0px;
  padding: 0.3rem 0px;
}
header .navbar-expand-lg .navbar-nav .nav-link {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

header .logo {
  display: block;
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 1000;
}
header .phone {
  margin-bottom: 0px;
}
header .navbar-brand {
  display: none;
}
@media screen and (max-width: 991px) {
  header .navbar-brand {
    display: inline-block;
  }
  .desctop-logo a {
    display: none;
  }
  .desctop-phone {
    display: block;
    width: 100% !important;
  }
  .desctop-phone .text-right {
    text-align: center !important;
  }
}
@media screen and (max-width: 400px) {
  header .navbar-brand img {
    max-width: 180px;
  }
  .desctop-phone .phone {
    font-size: 1rem;
  }
}

::-webkit-scrollbar {
  width: 0.5em;
}
@media (min-width: 1920px) {
  ::-webkit-scrollbar {
    width: 0.5vw;
  }
}
::-webkit-scrollbar-track {
  /*box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);*/
  background: #e8edf3;
}
::-webkit-scrollbar-thumb {
  background-color: #003e7e;
  outline: 1px solid slategrey;
}

::-moz-selection {
  background: #e31736;
  color: white;
}
::selection {
  background: #e31736;
  color: white;
}

.card {
  margin-bottom: 1rem;
}
.product-line-for-admin {
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
.product-line-for-admin:hover {
  background: #ccc;
  cursor: pointer;
}

.form-group {
  margin-bottom: 0.2rem;
}

label {
  cursor: pointer;
}

label.radio.image {
  border: solid 3px white;
}
label.radio.image input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
label.radio.image:hover,
label.radio.image.active {
  border-color: #003e7e;
}
label.radio.image.align {
  padding: 3px;
}
.cheques-colors {
  display: none;
}
.cheques-colors.cheques-colors-visible {
  display: block;
}

#chequeviewholder,
#idChequeHolderReviewBeforeSubmit {
  overflow: hidden;
  /*Initial size*/
  height: 0px;
  border-: solid 1px;
}
#chequeviewholder iframe,
#idChequeHolderReviewBeforeSubmit iframe {
  display: block;
  border: none;
  /*width: 100%;
  height: 900px;*/
  /*
  zoom: 2;  IE 
  -moz-transform: scale(2);  Firefox 
  -o-transform: scale(2); Opera 
  -webkit-transform: scale(2);  Safari And Chrome 
  transform: scale(2);  Standard Property 
  */

  -moz-transform-origin: 0px 0px;
  -ms-transform-origin: 0px 0px;
  -o-transform-origin: 0px 0px;
  -webkit-transform-origin: 0px 0px;
  transform-origin: 0px 0px;
}
#idChequeHolderReviewBeforeSubmit {
  border: dotted 1px;
}

body.admin header {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  background: white;
  border-bottom: solid 2px #ccc;
  padding: 0px;
}

body.admin {
  font-size: 0.9rem;
  line-height: 1.2;
}

body.admin h4 {
  font-size: 1.2rem;
}
body.admin h5 {
  font-size: 1rem;
}
body.admin .card {
  margin-bottom: 0.2rem;
}
body.admin hr {
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}
body.admin .card-body {
  padding: 0.5rem;
}

div.fixed-header-table-holder table th,
div.fixed-header-table-holder table td,
div.fixed-header-table-holder table td * {
  font-size: 0.7rem;
}
div.fixed-header-table-holder table th,
div.fixed-header-table-holder table td {
  padding: 5px !important;
}
div.fixed-header-table-holder a[type="button"] {
  font-size: 1.2rem;
}

.sticky-wrap .sticky-intersect th,
.sticky-wrap th {
  background: white;
  color: black;
}

.pagination-custom a,
.pagination-custom strong {
  display: inline-block;
  padding: 5px;
}
.pagination-custom ul {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}
.pagination-custom li {
  margin: 0px 2px;
}
.pagination-custom li a {
  display: block;
  padding: 5px;
  border: solid 1px #ccc;
  min-width: 25px;
}
.pagination-custom li a:hover {
  background: #ccc;
}
.pagination-custom li.active a {
  cursor: default;
  color: inherit;
  font-weight: bold;
  border: none !important;
  background: none !important;
}
.pagination-custom li.active a:hover {
  text-decoration: none;
}

.preloader {
  background-color: rgba(255, 255, 255, 0.7);
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  z-index: 999999;
  display: none;
}
.preloader-content {
  text-align: center;
  position: fixed;
  left: 0px;
  width: 100%;
  top: 50%;
  z-index: 9999999;
  display: none;
}
body.preloading .preloader,
body.preloading .preloader-content {
  display: block;
}

div.block {
  position: relative;
}
div.block:after {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  content: " ";
  display: none;
}
div.block.disabled:after {
  display: block;
}

._inputs {
  position: relative;
}
._inputs:after {
  display: none;
  content: " ";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
}
._inputs.disabled:after {
  display: block;
}
.select.disabled:after {
  background-color: rgba(255, 255, 255, 0);
}
.select.disabled select {
  background-color: silver;
}

.multiselect-native-select button {
  white-space: break-spaces;
  text-align: left;
}
.multiselect-container {
  max-height: 90vh;
  overflow: auto;
}

.trumbowyg-editor {
  height: 60vh;
  min-height: 500px;
}

/*.sortable start*/
ul.sortable,
ul.sortable li {
  margin: 0px;
  padding: 0px;
  list-style: none;
}
body.dragging,
body.dragging * {
  cursor: move !important;
}

.dragged {
  position: absolute;
  opacity: 0.5;
  z-index: 2000;
}

ol.example li.placeholder {
  position: relative;
  /** More li styles **/
}
ol.example li.placeholder:before {
  position: absolute;
  /** Define arrowhead **/
}
/*.sortable end*/

/*.productionTable start*/
.productionTable tr {
  cursor: pointer;
}
.productionTable tr:hover {
  background-color: #ccc !important;
}
.productionTable-holder {
  height: 40vh;
  width: 50vw;
  width: 1075px;
}
@media only screen and (max-width: 1200px) {
  .productionTable-holder {
    width: 70vw;
  }
}
@media only screen and (max-width: 670px) {
  .productionTable-holder {
    width: 80vw;
  }
}
/*.productionTable end*/

.express-view {
  background-color: white;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;

  padding: 50px 30px;
}
.inputs-row {
  margin-bottom: 30px;
}
.inputs-row.x2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.inputs-row.x2 > * {
  width: calc(50% - 30px / 2);
}

.cheque-design {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.cheque-design > label {
  display: block;
}
.cheque-design > label img {
  border: solid 3px white;
  display: block;
  margin: 3px;
}
.cheque-design > label input:checked + img,
.cheque-design > label:hover img {
  border-color: #003e7e;
}
.cheque-design > label input {
  display: none;
}

.form-label span {
  color: rgb(var(--bs-danger-rgb));
}

.file-image-control-preview img {
  display: block;
  width: 100%;
  height: 250px;

  object-fit: contain;
  object-position: center;
  -o-object-fit: contain;
  -o-object-position: center;
}

.btn-submit-reorder-express {
  padding: 15px 50px;

  font-weight: 700;
  text-transform: uppercase;
}

.personal-layout-thumbnail {
  width: 40%;
  position: relative;
  border: none !important;
}
.personal-layout-thumbnail > img {
  display: block;

  border: solid 5px white;

  width: 100%;
  height: auto;
}
.personal-layout-thumbnail.active > img {
  border-color: #003e7e;
}

.btn-submit-reorder-express {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-submit-reorder-express .spinner-border {
  margin-left: 10px;
}

.YYC_DateChanger-holder.disabled {
  opacity: 0.7;
  pointer-events: none;
}

/* 
============================
ENHANCED NAVIGATION BUTTONS
============================
*/

/* Navigation Container */
.navigation-container {
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Progress Bar */
.nav-progress {
  height: 8px;
  background-color: #e9ecef;
  border-radius: 30px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  overflow: hidden;
}

.nav-progress .progress-bar {
  background: linear-gradient(to right, #003e7e, #0056b3);
  border-radius: 30px;
  transition: width 0.5s ease;
}

/* Enhanced Buttons */
.btn-nav {
  position: relative;
  min-width: 130px;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.nav-icon {
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

/* Previous Button */
.btn-prev {
  background: #f8f9fa;
  color: #003e7e;
  border: 1px solid #dee2e6;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.btn-prev:hover {
  background: #edf2f7;
  color: #002850;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.btn-prev:hover .nav-icon-wrapper {
  transform: translateX(-5px);
}

/* Next Button */
.btn-next {
  background: linear-gradient(135deg, #003e7e, #002850);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 62, 126, 0.3);
}

.btn-next:hover {
  background: linear-gradient(135deg, #002850, #001830);
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 62, 126, 0.5);
}

.btn-next:hover .nav-icon-wrapper {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.3);
}

.btn-nav:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Focus States for Accessibility */
.btn-nav:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 62, 126, 0.25);
}

/* Mini Progress for Mobile */
.mini-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.mini-progress-dots {
  display: flex;
  gap: 8px;
}

.mini-progress-dots .dot {
  width: 8px;
  height: 8px;
  background-color: #dee2e6;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mini-progress-dots .dot.active {
  background-color: #003e7e;
  transform: scale(1.25);
}

/* Media queries for better responsiveness */
@media (max-width: 576px) {
  .btn-nav {
    min-width: 110px;
    padding: 10px 15px;
  }

  .nav-text {
    font-size: 0.9rem;
  }

  .mini-progress-dots .dot {
    width: 6px;
    height: 6px;
  }
}

.strike-notice {
  background: linear-gradient(to right, #ffeeba, #fff3cd);
  border-left: 5px solid #e0a800;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  margin: 15px 0;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.strike-notice:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.alert-icon {
  align-items: center;
  background-color: #e0a800;
  color: #fff;
  display: flex;
  font-size: 24px;
  justify-content: center;
  padding: 0 20px;
}

.alert-content {
  flex: 1;
  padding: 15px 20px;
}

.alert-content h4 {
  color: #856404;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px 0;
}

.alert-content p {
  color: #666;
  font-size: 15px;
  margin: 0 0 8px 0;
}

.learn-more-link {
  color: #0056b3;
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.learn-more-link:hover {
  color: #003d7a;
  text-decoration: underline;
}

.learn-more-link i {
  font-size: 12px;
  margin-left: 4px;
}

@media (max-width: 576px) {
  .strike-notice {
    flex-direction: column;
  }
  
  .alert-icon {
    padding: 10px;
    width: 100%;
  }
}
