/*** Structure ***/

.white-text {
    color: white !important;
}
.custom-builder-container {
    width: 100%; 
  }
  
  .custom-builder-container .custom-builder-column {
    
  }
  
  @media only screen and (min-width: 601px) {
      .custom-builder-container {
          display: table; /* Make the container element behave like a table */
          
          border-top:1px solid #3d4644;
          border-bottom:1px solid #3d4644;
      }
  
      .custom-builder-container .custom-builder-column {
          display: table-cell; 
          height:650px;
          border-right:1px solid #3d4644;
      }
  }
  
  
  .custom-builder-container .custom-builder-icon-column {
      background:#3d4644;
      padding:0;
  }
  
  /* hide all FABs to avoid conflict on mobile display */
  @media only screen and (max-width: 601px) {
      .fixed-action-btn {
          display: none !important;
      }
  }
  
  /*** Preview ***/
  .custom-builder-preview-column {
      padding: 0 !important;
      /*padding: 0 0 100px 0 !important;*/
      
  }
  
  .custom-builder-preview-column .custom-builder-preview-section {
      background: #f8f9fa;
      border:1px solid #ebeced;
      
  }
  @media only screen and (min-width: 601px) {
      .custom-builder-preview-column {
          position: relative;
      
      }
      .custom-builder-preview-column .custom-builder-preview-section {
          position:relative;
          height:650px;
      }
  }
  
  .custom-builder-preview-column .custom-builder-order-section {
      height: 80px;
      width: 100%;
      left: 0;
      border: 1px solid #ebeced;
      position: absolute;
      bottom: 0;
      background: white;
  }
  
  .custom-builder-preview-column .custom-builder-total {
      font-size: 1.44rem !important;
      line-height: 130% !important;
      margin: 0;
  }
  
  .custom-builder-preview-column .custom-builder-price-section {
      padding-top:0px;
  }
  
  .custom-builder-preview-column .input-field {
      margin:0;
      padding:0;
  }
  
  .custom-builder-preview-column .custom-builder-qty-section,
  .custom-builder-preview-column .custom-builder-price-section,
  .custom-builder-preview-column .custom-builder-add-to-cart-section {
      width:33%;
      text-align:center;
  }
  
  @media only screen and (max-width: 600px) {
  
      .custom-builder-preview-column .custom-builder-qty-section,
      .custom-builder-preview-column .custom-builder-price-section {
          width:50%;
      }
      
      .custom-builder-preview-column .custom-builder-add-to-cart-section {
          width:100%;
      }
  
  }
  
  .custom-builder-preview-column .custom-builder-qty-section .input-field {
      max-width:100px;
      display:inline-block;
  }
  
  .custom-builder-preview-column .custom-builder-qty-section input {
      padding-bottom:0;
      margin-bottom:0;
  }
  
  @media only screen and (max-width: 600px) {
      .custom-builder-preview-column .custom-builder-preview-label {
          min-height: 24px;
          font-weight:bold;
          padding-left:0;
          text-align:center;
          line-height:24px;
      }
      .custom-builder-preview-column .custom-builder-preview-section {
          /*
          position:fixed;
          bottom:100px;
          right: 10px;
          height:100px;
          width:100px;
          */
      }
      .custom-builder-preview-column .custom-builder-order-section {
          height: 80px;
          border: 1px solid #ebeced;
          position: static;
          background: white;
      }
      .custom-preview-zoom {
          position: absolute;
          top: 70%;
          left: 50%;
          transform: translate(-50%, -50%);
      }
  }
  
  
  
  .custom-builder-preview-label {
      padding-left:20px;
      line-height:50px;
  }
  
  .custom-builder-preview-panel-top, .custom-builder-preview-panel-bottom {
      min-height: 50px;
  }
  
  .custom-builder-preview-img-container {
      text-align: center;
  }
  
  .custom-builder-preview-img-container img {
      max-height: 500px;
  }
  
  /*** fly-in dialogs ***/
  .custom-builder-right-dialog {
      position: absolute; 
      right: 0;
      width: 30px;
      border:1px solid #3d4644;
      height: 240px;
      overflow:hidden;
      transition: width 1.5s;
  }
  
  .custom-builder-right-dialog:hover {
      width: 350px;
  }
  
  #custom-builder-design-summary {
      top: 20px;
  }
  
  #custom-builder-need-help {
      top: 280px;
  }
  
  .custom-builder-dialog-header {
      position:absolute;
      width: 30px;
      top:0;
      left: 0;
      background: #3d4644;
      height: 240px;
  }
  
  .custom-builder-dialog-header-text {
      color: white;
      white-space: nowrap;
      text-align: center;
      font-weight: bold;
      font-size: 16px;
      width: 240px; 
      height:30px;
      transform: rotate(270deg);
      transform-origin: top left;
      position: relative;
      top: 240px;
  }
  
  .custom-builder-dialog-content {
      padding: 10px 10px 10px 40px;
      background: white;
      width: 350px;
      height:240px;
      overflow: hidden;
  
  }
  #custom-builder-design-summary .custom-builder-dialog-content {
      overflow-y: auto;
  }
  
  .custom-builder-dialog-content .box-no-header {
      height: 160px;
      margin-top:25px;
  }
  
  .custom-builder-summary-link {
      display:block;
      margin-bottom: 4px;
  }
  
  .custom-builder-summary-link:hover {
      font-weight:bold;
  }
  
  .custom-builder-load-button {
      padding:5px;
      display:inline-block;
      
  }
  
  /*** Buttons ***/
  .custom-builder-button {
      color: #2196F3;
      border: 1px solid #2196F3;
      border-radius: 5px;
      font-size: 18px;
      padding:5px 15px;
      font-weight:bold;
      display:inline-block;
      margin-left: 10px;
      line-height: 32px;
  }
  .custom-builder-button i {
      vertical-align: bottom;
      
      line-height: 32px;
  }
  
  .custom-builder-button:hover {
      background: #2196F3;
      color: #ffffff;
  }
  
  /*** Text Controls ***/
  .custom-builder-text {
      max-width: 94%;
      margin: 0 auto;
  }
  
  .custom-builder-text .input-field {
      position:relative;
      top: -17px;
      margin-bottom: 10px;
  }
  
  .custom-builder-text-controls {
      background: #3d4644;
      color:white;
      padding: 5px 15px 5px 5px;
      border-radius: 5px 5px 0 0;
      position: relative;
  }
  
  .custom-flyin-toggle:hover,
  .custom-flyin-toggle.active {
      background:white;
      color: #3d4644;
      border-radius: 3px;
  }
  
  .custom-text-control-flyout {
      padding: 0 10px;
      background: #3d4644;
      color:white;
      position: absolute;
      top:-35px;
      height:35px;
      left: 0;
      right: 0;
      width:150px;
      border-radius: 10px 10px 0 0;
      margin:0 auto;
      overflow:hidden;
      transition: transform .3s;
      transform: scaleY(0);
      transform-origin: bottom;
  }
  
  .custom-text-control-flyout.active {
      transform: scaleY(1);
  }
  
  .custom-text-control-flyout.custom-size-range-container {
     
  }
  
  .custom-text-control-flyout.custom-text-color-control-container {
     padding:10px;
     top:-55px;
     height:55px;
     width:90%;
  }
  
  .custom-text-control-flyout.custom-text-color-control-container.active {
      overflow:visible;
      z-index:999;
  }
  
  
  .custom-builder-text-controls i:hover,
  .custom-builder-text-controls i.active {
      background:white;
      color: #3d4644;
      border-radius: 3px;
  }
  
  textarea.materialize-textarea.custom-builder-textarea {
      min-height:60px;
      max-height:60px;
      height: 60px;
      resize: none;
      overflow: auto;
  }
  
  
  /*** Steps ***/
  .custom-builder-step-link {
      display:block;
      padding: 10px;
      text-align:center;
      margin-bottom:10px;
  }
  
  .custom-builder-step-link .custom-builder-step-icon {
      width:40px;
  }
  
  /* 1 - 600px view */
  @media only screen and (max-width: 601px) {
      .custom-builder-container .custom-builder-icon-column {
          /*background:transparent;*/
          border-top: 0;
          display:flex; 
          flex-direction:row;
          border-radius: 5px;
      }
  
      .custom-builder-step-link {
          flex: 1 1 auto;
          margin-bottom: 0;
      }
  
      .custom-builder-step-link:first-child {
          border-radius: 5px 0 0 5px;
      }
  
      .custom-builder-step-link:last-child {
          border-radius: 0 5px 5px 0;
      }
  
      .custom-builder-step-link .custom-builder-step-icon {
          width:auto;
          height: 40px;
      }
      
  }
  
  .custom-builder-step-link label {
      font-weight: normal;
  }
  
  .custom-builder-step-link:hover,
  .custom-builder-step-link.active {
      background:#2196F3;
  }
  
  .custom-builder-instructions {
      margin-top: 40px;
      margin-bottom: 40px;
  }
  
  .custom-builder-step {
      
  }
  
  @media only screen and (min-width: 601px) {
      .custom-builder-step {
          height:630px;
          position: relative;
      }
  
      .custom-builder-next-button {
          position: absolute;
          bottom: 10px;
          right: 10px;
      }
  }
  
  @media only screen and (max-width: 601px) {
      .custom-builder-step {
          margin-bottom:40px;
          min-height:450px;
      }
  }
  
  
  
  /*** Modals ***/
  
  .modal.custom-builder-modal .modal-content {
      padding: 24px !important;
  }
  
  /*** Saved Projects ***/
  .custom-builder-saved-projects {
  
  }
  
  .custom-builder-saved-project-thumb {
      display: inline-block;
      width:20%;
      margin-left:2%;
      margin-right:2%;
      padding: 5px;
      height: 200px;
      text-align:center;
  }
  
  .custom-builder-saved-project-thumb img {
      max-height:180px;
  }
  
  /*** Orientation ***/
  .custom-builder-orientation-container {
      text-align:center;
      margin-bottom:40px;
  }
  
  .custom-builder-orientation-icon {
      display:block;
      border: 1px solid #3d4644;
      border-radius: 5px;
      margin: 0 auto;
  
  }
  
  .custom-builder-orientation-icon:hover,
  .custom-builder-orientation-icon.active {
      background: #2196F3;
  }
  
  #custom-builder-orientation-P {
      aspect-ratio: 14 / 20;
      max-width:100px;
  }
  
  #custom-builder-orientation-L {
      aspect-ratio: 20 / 14;
      max-height:100px;
  }
  
  @media only screen and (max-width: 601px) {
      #custom-builder-orientation-P {
          max-width:70px;
      }
  
      #custom-builder-orientation-L {
          max-height:70px;
      }
  }
  
  
  /*** PICTORIAL ***/
  
  .custom-builder-pictorial-selection-link {
      border:1px solid black;
      display:block;
      margin: auto;
      max-width: 80%;
      padding:20px;
      border-radius: 5px;
  }
  
  .custom-builder-pictorial-selection-link:hover {
      background: #2196F3;
  }
  
  #custom-builder-pictorial-section {
      min-height: 500px;
  }
  
  .custom-pictorial-selection {
      float: left;
      display: inline-block;
      width:21%;
      margin-left:2%;
      margin-right:2%;
      padding: 5px;
      text-align:center;
      margin-bottom:10px;
  }
  
  @media only screen and (min-width: 601px) {
      .custom-pictorial-selection {
          width:16%;
          margin-left:2%;
          margin-right:2%;
      }
  }
  
  @media only screen and (min-width: 991px) {
      .custom-pictorial-selection {
          width:10%;
          margin-left:1%;
          margin-right:1%;
      }
  }
  
  .custom-pictorial-selection:hover,
  .custom-pictorial-selection.active   {    
      background: #2196F3;
      border-radius: 4px;
  }
  
  #custom-builder-current-pictorial-display {
      min-height:141px;
  }
  
  /*** HEADER ***/
  
  .custom-builder-header-selection-link {
      border:1px solid black;
      display:block;
      margin: auto;
      max-width: 80%;
      padding:20px;
      border-radius: 5px;
  }
  
  .custom-builder-header-selection-link:hover {
      background: #2196F3;
  }
  
  #custom-builder-header-selection {
      height: 500px;
      text-align: center;
  }
  
  .custom-header-selection, 
  .custom-back-header-selection {
      height: 180px;
      width: 200px;
      float: left;
      display: inline-block;
      padding: 5px;
      margin: 5px;
  }
  
  .custom-header-selection:hover,
  .custom-header-selection.active,
  .custom-back-header-selection:hover,
  .custom-back-header-selection.active   {    
      background: #2196F3;
      border-radius: 4px;
  }
  
  /*** Header Mockup ***/
  .header-mockup {
      border:1px solid black;
      background: white;
      border-radius: 4px;
      text-align:center;
      color: black;
      height: 140px;
      width: 100%;
      display: inline-block;
      font-size: 24px;
  }
  
  .header-mockup .header-mockup-head {
      background: black;
      color: white;
      padding: 5px;
      text-align:center;
  }
  
  .header-mockup.header-CAUTION, 
  .header-mockup.header-PRECAUCION, 
  .header-mockup.header-MISE-EN-GARDE, 
  .header-mockup.header-ATTENTION
   {
      background: yellow !important;
  }
  
  .header-mockup.header-WARNING,
  .header-mockup.header-AVERTISSEMENT,
  .header-mockup.header-ADVERTENCIA
   {
      background: orange !important;
  }
  
  .header-mockup.header-SAFETY-FIRST  .header-mockup-head,
  .header-mockup.header-PIENSE  .header-mockup-head,
  .header-mockup.header-SEGURIDAD-PRIMERO  .header-mockup-head
   {
      background: green !important;
  }
  
  .header-mockup.header-DANGER .header-mockup-head,
  .header-mockup.header-PELIGRO .header-mockup-head,
  .header-mockup.header-DANGER .header-mockup-head
   {
      background: red !important;
  }
  
  .header-mockup.header-THINK .header-mockup-head,
  .header-mockup.header-AVIS .header-mockup-head,
  .header-mockup.header-AVISO .header-mockup-head,
  .header-mockup.header-NOTICE .header-mockup-head {
      background: blue !important;
  }
  
  .header-mockup.header-MISE-EN-GARDE, 
  .header-mockup.header-SEGURIDAD-PRIMERO,
  .header-mockup.header-AVERTISSEMENT,
  .header-mockup.header-SAFETY-FIRST {
      font-size: 18px;
  }


/* Hide scrollbar but keep scrolling */

/* Chrome, Safari, Edge */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Firefox */
html {
  scrollbar-width: none;
}

/* IE / old Edge */
body {
  -ms-overflow-style: none;
}

@media (min-width: 992px) {
    .custom-builder-preview-img-container img {
        min-height: 500px;
    }
}


/* New css for email proof */
 .custom-proof-consent-row {
    margin-top: 5px;
    margin-bottom: 10px;
}

.custom-proof-consent-line {
    margin: 0 0 10px 0;
}

.custom-proof-consent-line label {
    display: block;
    line-height: 1.5;
}

.custom-proof-consent-line label span {
    font-size: 14px;
    color: #222;
}

.custom-proof-legal-intro {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #555;
}

.custom-proof-legal-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

#custom-proof-send-button{
    height:44px;
}
#custom-proof-send-button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}



#custom-builder-proof-response .custom-proof-error {
    color: #721c24;
    padding: 10px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

#custom-builder-proof-response .custom-proof-success {
    color: green;
    padding: 10px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

#custom-proof-send-button[disabled] {
    background-color: rgba(33, 150, 243, 0.45) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}
.required-asterisk {
    color: #d32f2f !important;
    font-weight: 700;
}
.custom-proof-help-text {
    margin-top: 8px;
    font-size: 12px;
    color: #777;
}