:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

:root { 
  --background-color: #fafafa; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --header-back: #16212D; 
  --header-color: #fafafa;
  --accent-color: #929df9; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --orange-color: #C0A75D;
}
:root {
  scroll-behavior: smooth;
}
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  margin: 0;
  padding: 0;
  height: auto;
}
html {
  margin: 0;
  padding: 0;
  height: auto;
}
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}
.center {
  text-align: center;
}
.single {
  display: flex;
  width: 100%;
  min-height: 450px;
  margin-top: 50px;
}
.home {
  display: flex;
  flex-direction: column;
  color: var(--default-color);
  background-color: var(--surface-color);
  padding: 32px 32px 24px 32px;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}
.welcome {
  margin: auto;
}
.welcome img {
  display: block;
  margin: 0 auto;
  width: 350px;
}
.hidden { 
  visibility: hidden;
}
.nomin { 
  min-width: unset !important;
}
/* .title {
  font-size: 2em;
  letter-spacing: .25em;
} */
.document {
  margin: 0 0 0 auto;
}
.details {
  margin: 0 auto 0 0;
}
.logo {   
  width: 150px !important;
  padding: 0 0 0 0;
}

.container {
  display: block;
  width: 100%;
  height: calc(100vh - 87px);  /* 90%;  */
  margin-top: unset !important;
  align-content: stretch;
}
.child {
  flex: 1;
  padding: 5px;
  width: 100%;
  max-height: calc(100vh - 375px);
  min-height: unset;
}
.child:first-child {
  margin-right: unset !important;
}
#header {
  display: none;
}
#header_m {
  display: flex;
  border-radius: 0 !important;
  border: 0 !important;
}
.header_bar {
  display: flex;
  flex-direction: row;
  column-gap: 40px; /* Space between columns */
  /* Draws a vertical line precisely in the center of the gap */
  column-rule: 2px solid #ccc; 
  align-items: center;
  background-color: var(--header-back) !important;
  color: var(--header-color) !important;
}
section,
.section {
  color: var(--default-color);
  background-color: var(--surface-color);
  padding: 0px 0px 0px 0px;
  min-height: unset !important;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}
.section div {
  margin-top: 5px;
}
.section > div:first-of-type {
  margin-top: 4px;
}
.section_details {
  display: flex;
  flex-direction: column;
  height: 275px !important;
  max-height: 818px; /* 906px */
  padding: 10px 12px 10px 12px !important;
}
.order {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.card {
  width: unset !important;
  min-width: 240px !important;
} 
.initial {
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-rows: 1fr 20px;
  min-height: 100px;
}
.initial div:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.initial .cell-1 {
  grid-column: 2;
  grid-row: 1;
}
.initial .cell-2 {
  grid-column: 2;
  grid-row: 2;
}
.inital_box {
  border: solid 2px black;
  background-color: #F3F7FB !important;
  height: 80px;
  width: unset !important;
  max-width: 160px !important;
  padding: 2px;
  align-content: center;
  box-shadow: 0 1px 3px 0 #d4d4d5 !important; /* ,0 0 0 1px #C0A75D */
  border: dashed 1px #979797 !important;
}
.inital_box img {  
   border: 1px solid #ddd; 
   max-width: 72px;
}
.signature {
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-rows: 1fr 20px;
  min-height: 100px;
}
.signature > div:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-right: 5px;
}
.signature .cell-1 {
  grid-column: 2;
  grid-row: 1;
}
.signature .cell-2 {
  grid-column: 2;
  grid-row: 2;
}
.signature_box {
  background-color: #F3F7FB !important;
  height: 80px;
  width: unset !important;
  max-width: 250px;
  padding: 2px;
  align-content: center;
  box-shadow: 0 1px 3px 0 #d4d4d5 !important; /* ,0 0 0 1px #C0A75D */
  border: dashed 1px #979797 !important;
}
.signature_box img {
  border: 1px solid #ddd; 
  max-width: 185px;
}
#sig-canvas {
  height: 100px; 
}
.sign_detail {
  margin: 0 0 0 50px;
  align-content: center;
}
.sign_detail i {
  font-size: smaller;
}
.po_number {
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-rows: 1fr 20px;
}
.ui.modal>.tabs {
  background: #efefef;
  margin-top: 0 !important;
}
.ui.modal>.tab {
  margin-bottom: 0 !important;
}
.type_init {
  border: 1px dashed #ccc; 
  width: 200px; 
  height: 200px; 
}
#type-init { 
  font-family: 'Caveat' !important;
  font-size: 5em !important;
  padding: 5px !important;
  text-align: center !important;
  text-transform: uppercase;
}
#type-init::placeholder { font-family: sans-serif !important; font-size: 0.25em !important; text-transform: none;}
#type-init::-webkit-input-placeholder { font-family: sans-serif !important; font-size: 0.25em !important; text-transform: none;}
#type-init::-moz-placeholder { font-family: sans-serif !important; font-size: 0.25em !important; text-transform: none;}
#type-init:-ms-input-placeholder { font-family: sans-serif !important; font-size: 0.25em !important; text-transform: none;}


.type_sign {
  border: 1px dashed #ccc; 
  width: 100%; 
  height: 200px; 
}
#type-sign { 
  /* font-family: 'Momo Signature' !important; */
  font-family: 'Allura' !important; 
  font-size: 5em !important;
  padding: 5px !important;
  text-align: center !important;
  line-height: 2;
}
#type-sign::placeholder { font-family: sans-serif !important; font-size: 0.25em !important; text-transform: none;}
#type-sign::-webkit-input-placeholder { font-family: sans-serif !important; font-size: 0.25em !important; text-transform: none;}
#type-sign::-moz-placeholder { font-family: sans-serif !important; font-size: 0.25em !important; text-transform: none;}
#type-sign:-ms-input-placeholder { font-family: sans-serif !important; font-size: 0.25em !important; text-transform: none;}

#tab_sign_draw { flex: unset }
#tab_sign_type { flex: unset }

.placeholder-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-family: sans-serif;
  font-size: 14px;
  pointer-events: none; /* Lets clicks/touches pass straight through to the canvas */
  user-select: none;
}
.placeholder-hint.hidden {
  display: none;
}
.hint_text {
  display: block;
  color: black;
  font-weight: bold;
}
.actions {
  margin: auto 0 0 0 !important; 
}
.options {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 5px;
  margin: unset !important;
}
.footer {
  display: grid;
  grid-template-columns: 2fr 3fr;
  margin-top: 0px !important;
}
.poweredBy {
  display: flex;
  font-size: 12px;
  vertical-align: baseline;
  margin-right: 0;
  justify-content: flex-end;
}
.poweredBy img {
  margin: 0px 20px 0px 10px;
  vertical-align: baseline;
  width: 93px;
  height: unset;
  padding: unset;
}
.thankyou {
  margin-top: 30px !important;
  flex-grow: 1;
}
.error {
  margin: auto !important;
} 
.ui.modal>.header {
  background: #efefef;
}
.ui.modal>.content {
  background: #efefef;
}
.ui.modal>.actions {
  background: #efefef;
}
.step-active {
  display: grid;
}
.step-inactive {
  display: none;
}
.button-mobile-hide {
  display: none !important;
} 
.button-mobile-show {
  display: block !important;
}
#buttonApprove {
  padding-left: 1em !important;
}
#textApprove {
  margin: 0 !important;
  padding-left: 5px !important;
  text-align: left;
}
.textQuote::before {
  font-size: 16px;
  font-weight: 600;
  content: "Approve";
}
.textQuote::after {
  display: none;
}
.textArtwork::before {
  font-size: 16px;
  font-weight: 600;
  content: "Approve";
}
.textArtwork::after {
  display: none;
}
#textNext::before {
  content: "Next";
}
#textNext::after {
  display: none;
}
#buttonNext {
  padding-left: 1em !important;
}
#textNext {
  margin: 0 !important;
  padding-left: 5px !important;
  text-align: left;
}
#textNext::before {
  font-size: 16px;
  font-weight: 600;
  content: "Next";
}
#buttonRevision {
  padding-left: 1em !important;
}
#textRevision {
  margin: 0 !important;
  padding-left: 5px !important;
  text-align: left;
}
#textRevision::before {
  font-size: 16px;
  font-weight: 600;
  content: "Request";
}
#textRevision::after {
  display: none;
}
#buttonReject {
  background-color: #fcadad50;
  padding-left: 1em !important;
}
#textReject {
  margin: 0 !important;
  padding-left: 5px !important;
  text-align: left;
}
.textRejectQuote::before {
  font-size: 16px;
  font-weight: 600;
  content: "Reject";
}
.textRejectQuote::after {
  display: none;
}
.textRejectArt::before {
  font-size: 16px;
  font-weight: 600;
  content: "Reject";
}
.textRejectArt::after {
  display: none;
}
#tabDrawInitals::before {
  content: "Draw";
}
#tabTypeInitals::before {
  content: "Type";
}
.your_approval {
  display: none !important;
}
.cust_card {
  display: none !important;
}
.cust_1024_card {
  display: none !important;
}
.icon_card {
  display: none;
}
.icon_card {
  align-content: center; 
  padding-left: 10px;
}
.cust_card {
  width: unset !important; 
  width: 270px !important;
  background-color: aliceblue !important;
}
.cust_card>.content {
  padding: 0.5em; 
  align-content: center;
}
.order_card {
  width: unset !important; 
  min-width: 145px !important;
  background-color: aliceblue !important;
}
.order_card>.content {
  padding: 0.5em; 
  align-content: center;
}
.event_card {
  min-width: 145px !important;
  width: 170px !important;
  background-color: #F9E8C6 !important;
  box-shadow: 0 1px 3px 0 #d4d4d5 !important; /* ,0 0 0 1px #C0A75D */
  border: solid 1px var(--orange-color) !important;
}
.event_card>.content {
  padding: 0.5em; 
  align-content: center;
}
.approval_mobile {
  width: 130px !important;
  font-size: 11px !important; 
  font-weight: 600 !important;
  line-height: normal;
  color: red !important;
}
.approval_text {
  display: none;
}
.sign_divider {
  display: none !important;
  margin: 1.5rem 0 1rem 0 !important;
}
.sig_card_content {
  padding: 0 !important;
}
.sig_card_icon {
  align-content: center; 
  text-align:center; 
  width: 50px;
}
#initial-event-date, #initial-ship-date, #signature-date {
  display: none !important;
}
.ui.three.cards>.card:first-of-type{
  /* margin-left: 1em !important; */
  margin-right: 0.5em !important;
}
.ui.three.cards>.card {
  margin-left: 0.5em !important;
  margin-right: 0.5em !important;
}
.ui.modal.right-offset {
  top: 40vh !important;
  /* margin-left: unset !important; */
}
.ui.modal.right-offset-sig {
  top: 40vh !important;
  /* margin-left: unset !important; */
}
.ui.modal>.close {
  top: 0.3rem !important;
  right: 0.3rem !important;
}
/* .ui.circular.steps:not(.vertical) .step .content {
  margin-top: -2em !important;
}
.content.center.aligned {
  margin-top: -2em !important;
} */
 .ui.steps:not(.circular) .step {
  align-items: start;
 }
 .ui.steps:not(.circular) .step.active {
  background-color: aliceblue !important;
 }
 .ui.steps:not(.active) .step {
  color:#555555 !important;
 }
.ui.steps>.step {
  max-width: 20%;
  padding: 8px !important;
}
.ui.steps .step .header {
  min-height: 42px;
  max-width: 112px;
  color: black;
  font-weight: 600;
  align-content: center;
}
.ui.steps .step .content {
  min-height: 130px;
}
.ui.steps .step .description {
  margin-top: 0.5em !important;
  font-size: 0.8em;
}
i.bigger.bigger.bigger.icon,i.bigger.bigger.bigger.icons {
    font-size: 2.5em;
    vertical-align: middle
}
.lifecycle { 
  display: none;
}
@media (max-width: 370px) {
  .ui.three.cards>.card {
    margin-left: 0 !important;
    max-width: 150px !important;
  }  
  .sign_icon {
    display: none !important;
  }
  .inital_box {
    min-width: 180px !important; 
  }
  .signature_box {
    min-width: 180px !important;
    padding-left: 10px !important;
  }
  .action_button {    
    padding-left: 0.1em !important;
    padding-right: 0.1em !important;
  }
}
@media (max-width: 375px) {  
  .action_button i {
    display: none !important;
  }
} 
/* @media (max-width: 661px) {  
  .sign_icon {
    display: none !important;
  }
} */
@media (min-width: 399px) AND (max-width: 661px) { 
  .ui.three.cards {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .signature_box img {
    max-width: 42vw;
  }
}
@media (min-width:622px) {  
  .approval_mobile {
    display: none;
  }
  .approval_text { 
    display: block;
    font-size: 14px !important; 
    font-weight: 600 !important;
    line-height: normal;
    color: red !important;
  }
}
@media (min-width:700px) {   
  .lifecycle { 
    display: inline-flex;
  }  
}
@media (min-width:662px) AND (max-width:1023px) {
  .cust_card {
    display: flex !important;
    width: 270px !important;
    background-color: aliceblue !important;
  }
  .signature_box img {
    max-width: 48vw;
  }
  .ui.steps {
    width: 100%;
  }
  .ui.steps>.step {
    max-width: unset;
  }
  .ui.steps .step .title {
    display: none;
  }
  .ui.steps .step .header {
    max-width: unset;
    min-height: unset;
    margin-top: -5px;
    line-height: 0.75em !important;
  }
  .ui.steps .step .description {
    display: none;
  }
  .ui.steps .step .content {
    min-height: unset;
  }
  .ui.card .meta, .ui.cards>.card .meta {
    margin-top: 0;
  }
  /* .ui.modal.right-offset {
    top: 40vh !important;
    -- margin-left: unset !important; --
  }  */
}
@media (min-width:1024px) AND (max-width:1439px) {
  .cust_1024_card {
    display: flex !important;
    background-color: aliceblue !important;
  }
}
@media (min-width: 1024px) {
  .container {
    display: flex;
    flex-wrap: wrap;
    height: calc(100vh - 48px); /* Full viewport height */
  }
  .child {
    padding: 0px;
    width: 40%;
    max-width: 680px;
    min-height: calc(100vh - 48px);
  }
  .child:first-child {
    margin-right: 10px !important;
  }
  #header {
    display: flex;
  }
  #header_m {
    display: none;
  }
  section,
  .section {
    padding: 24px 32px 24px 32px;
    min-height: 750px;
  }
  .section > div:first-of-type {
    margin-top: 0px;
  } 
  .section_details {
    height: calc(100% - 65px) !important;
  }
  .signature_box {
    max-width: unset !important;
  }
  #sig-canvas {
    height: 200px; 
  }
  #tabDrawInitals::before {
    content: "Draw Initals";
  }
  #tabTypeInitals::before {
    content: "Type Initals";
  }
  #tab_init_draw { flex: 1 }
  #tab_init_type { flex: 1 }
  #tab_sign_draw { flex: 1 }
  #tab_sign_type { flex: 1 }
  .options {
    grid-template-columns: 5fr 4fr 4fr;
    column-gap: 10px;
    margin: 20px 0 !important; 
  }
  .footer {
    grid-template-columns: 1fr 1fr;
    margin-top: auto !important; 
  }
  .order_card {
    display: flex !important;
    min-width: 160px !important;
    margin-right: unset !important;
  }   
  .icon_card {
    display: block !important;
  }
  .event_card {
    width: unset !important; 
    min-width: 195px !important;
  }
  .sign_divider {
    display: block !important;
  }
  .sig_card_icon {
    width: 80px !important;
  }
  .your_approval {
    display: flex !important;
    max-width: unset !important;
  }
  .ui.three.cards  {
    margin-left: -0.5em !important;
    margin-right: -1em !important;
  }
  .ui.modal>.close {
    top: -2.5rem !important;
    right:-2.5rem !important;
  }
/*   .ui.modal.tiny {
    width: 45vw !important;
  }  */
}
@media (min-width: 1440px) {
  .cust_card {
    display: flex !important;
    width: 265px !important;
    background-color: aliceblue !important;
  }
  .textQuote::before {
    content: "Approve Quote";
  }
 .textQuote::after {
    display: inline;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5em;
    content: "\a Looks good, proceed to next step";
    white-space: pre-wrap;
  }
  .textArtwork::before {
    content: "Approve Artwork";
  }
  .textArtwork::after {
    display: inline;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5em;
    content: "\a Looks good, proceed to production";
    white-space: pre-wrap;
  }
  #textNext::before {
    content: "Next Step";
  }
  #textNext::after {
    display: inline;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5em;
    content: "\a Move to Next Approval";
    white-space: pre-wrap;
  }
  #textRevision::before {
    content: "Request Revision";
  }
  #textRevision::after {
    display: inline;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5em;
    color: #555555;
    content: "\a I'd like some changes";
    white-space: pre-wrap;
  }
  .textRejectQuote::before {
    content: "Reject Quote";
  }
  .textRejectQuote::after {
    display: inline;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5em;
    color: #555555;
    content: "\a Do not proceed";
    white-space: pre-wrap;
  }
  .textRejectArt::before {
    content: "Reject Artwork";
  }
  .textRejectArt::after {
    display: inline;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5em;
    color: #555555;
    content: "\a Do not proceed";
    white-space: pre-wrap;
  }
}
@media (min-width: 1440px) AND (min-height: 850px) {
  .button-mobile-hide {
    display: block !important;
  }
  .button-mobile-show {
    display: none !important;
  }
  .step-inactive {
    display: grid;
  }
  #initial-event-date, #initial-ship-date, #signature-date {
    display: block !important;
  }
  .signature_box img {
    max-width: 292px;
  }
  .ui.modal.right-offset {
    top: 40vh !important;
    margin-left: 4vw !important;
  } 
  .ui.modal.right-offset-sig {
    top: 40vh !important;
    /* margin-left: unset !important;
    width: 47vw !important;
    max-width: 670px !important; */    
  } 
}
@media (min-width: 371px) AND (max-width: 1023px) {
  .ui.three.cards>.card {
    margin-left: 1.25em !important;
  }
  .action_button {    
    padding-left: 1em !important;
    padding-right: 1em !important;
  }
}
@media (max-width:767px) {  
  /* .lifecycle { 
    display: none;
  } */
}
@media (max-width: 1023px) {
  /* Stays in here ONLY mobile */
  .section_detail {
    margin: unset !important;
  }
  .order {
    margin-top: 5px !important;
  }
  #sign_doc { 
    height: calc(100vh - 375px);
    width: 100%;
  }
  .order_card {
    margin-right: unset !important;
  } 
  .event_card {
    margin-right: unset !important;
  }
  .sign_detail {
    font-size: smaller;
    margin: unset !important;
  }
  .ui.three.cards>.card>.content {
    padding: 0.5em !important;
  }
  .ui.three.cards>.card>.content>.description, .approval_text {
    margin-top: 0 !important;
  }
  body.dimmed.dimmable {
    margin-right: 0px !important;
  }
}
