.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@font-face {
  font-family: 'mc-mark-narrow-medium';
  src: url('./fonts/mark/MarkForMCNarrowW00-Medium.woff') format('woff')
      ,url('./fonts/mark/MarkForMCNarrowW00-Medium.ttf') format('truetype')
      ,url('./fonts/mark/MarkForMCNarrowW00-Medium.svg') format('svg');
}
  
@font-face {
  font-family: 'mc-mark-narrow-book';
  src: url('./fonts/mark/MarkForMCNarrowW00-Book.eot') format('eot')
      ,url('./fonts/mark/MarkForMCNarrowW00-Book.woff') format('woff')
      ,url('./fonts/mark/MarkForMCNarrowW00-Book.ttf') format('truetype')
      ,url('./fonts/mark/MarkForMCNarrowW00-Book.svg') format('svg');
}
    
@font-face {
  font-family: 'MarkForMC';
      src: url('./fonts/MarkForMC.woff2') format('woff2')
}
    
.mcfont {
  font-family: 'MarkForMC', sans-serif !important;
}

.table-row-light {
  background-color: #ffffff !important;
}
.table-row-dark {
  background-color: #fbfbfb !important;
}

.outdated-row {
  background-color: rgb(255 247 237) !important;
}

.outdated-row .ant-table-column-sort {
  background: rgb(255 247 237) !important;
}

.ant-btn-primary:not([disabled]) {
  background:#faad14 !important;
}

.p-treeselect:not(.p-disabled).p-focus {
  box-shadow: 0 0 0 1px #faad14 !important;
  border-color: #faad14 !important;
}

.success-modal .ant-btn-primary {
  background-color: #f97316 !important;
  border-color: #f97316 !important;
  font-weight: 800 !important;
  font-family: 'MarkForMC', sans-serif !important;
}

/* .ant-table table { 
  font-family: 'MarkForMC', sans-serif !important;
  font-weight: 600 !important;
 } */


.ant-select-selection-search-input {
  box-shadow: none !important;
}

.product-title {
  display: -webkit-box; 
  -webkit-line-clamp: 3; /* number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.5em; /* height based on your line-height, e.g. 1.5em line-height x 3 lines */
  text-overflow: ellipsis;
}