:root {
    --mainColor: #28948A;
    --fieldBordercolor:#466d4f;
    --loadingProgressBar: #28948A;
    --mdc-outlined-text-field-focus-outline-color: red;
  }
  

.errorContainer {
    /* margin-top: -15px; */
    color: red;
    margin-bottom: 15px;
}
/* 
.checkboxField {
    margin-top: 30px;
} */

.attachmentItem:hover {
    background-color: #ececec96;
}

.attachmentItem td {
    padding-left: 5px;
}

.label {
    color: black;
}

.mat-mdc-tab .mdc-tab-indicator__content--underline {
    border-color: var(--mainColor) !important;
}

.mat-mdc-tab.mdc-tab .mdc-tab__text-label {
    font-weight: 600;
}

.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label {
    color: var(--mainColor) !important;
}

.mdc-tab:hover {
    background-color: #28948a14;
}

::ng-deep {

    .mat-ripple.mat-mdc-tab-ripple {
        background: white !important;

    }

    .mdc-tab-indicator,
    .mat-button-focus-overlay {
        background-color: white !important;
    }
}



.mat-mdc-select-arrow svg {
    color: black !important;
}

.mat-mdc-select {
    width: 100% !important;
}


.repeater .mdc-data-table__cell {
    padding: 0 5px 0 5px !important;
}


.repeater input,
.repeater textarea,
.repeater mat-select,
.attachment-list input {
    border-radius: 6px;
}

.recordList-row:hover{
    cursor: pointer;
}

.attachment-list input {
    border-style: solid !important;
    border-width: 1px;
    padding: 10px;
    width:100%;
}


.repeater input:focus,
.repeater textarea:focus,
.repeater mat-select:focus,
.attachment-list input:focus {
    border-color:  var(--fieldBordercolor) !important;
}

.mat-mdc-form-field.mat-form-field-appearance-fill.mat-focused:not(.mat-form-field-invalid) .mat-mdc-text-field-wrapper
{
    border-color:  var(--fieldBordercolor) !important;
}

.mat-mdc-progress-bar {
    /* default/primary color */
    --mdc-linear-progress-active-indicator-color: var(--loadingProgressBar) !important;
    --mdc-linear-progress-track-color: rgba(156, 39, 176, .25)
  }


input,select,mat-select{
    color:black !important;
}


.detail-header-button-container button + button{
    margin-left: 10px;
}


.recordlist-avatar{
    width: 40px !important;
}

.recordlist-avatar img,.recordlist-avatar-placeholder{
    width: 40px !important;
    height: 40px !important;

}


.items-90percent{
    width:90%;
    min-width: 90%;
    max-width: 90%;
}

.items-90percent textarea{
    margin: 10px;
    width: 90% !important;
}


.items-50percent{
    width:50%;
    min-width: 50%;
    max-width: 50%;
}

.items-50percent textarea{
    margin: 10px;
    width: 90% !important;
}

.items-80percent{
    width:80%;
    min-width: 80%;
    max-width: 80%;
}


.items-productcode,
.items-barcode,
.items-unit,
.items-Type,
.items-Condition{
    width:200px;
    min-width: 200px;
    max-width: 200px;
}

 .items-product{
    width:300px;
    min-width: 300px;
    max-width: 300px;
 }

 .items-colWidth200{
    width:200px;
    min-width: 200px;
    /* max-width: 200px; */
 }

 .items-questionPoolName{
    width:70%;
    min-width: 70%;
    max-width: 70%;
 }
 
 .items-notes{
    width:300px;
    min-width: 300px;
    max-width: 300px;
 }
.repeater input
{
    width:100% !important;
}


.selectionCheckbox{
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    padding-left: 0 !important;
}

html[dir='rtl'] .selectionCheckbox{
    padding-right: 0 !important;

}

.mdc-snackbar__surface{
    border-radius: 20px !important;
  }
  .error-snakbar .data{
    color: red !important;
    font-weight: bold;
  }
  .info-snakbar .data{
    color: green !important;
    font-weight: bold;
  }
  
  .mdc-snackbar__surface{
    background:#ffffff !important;
  }
  .mdc-snackbar__surface .flex {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }

/* 
tr:nth-child(even) {
    background-color: #d0dde9;
} */

.termsAndConditionLink{
    text-decoration: underline;
    color: blue;
}



.avatar {
    width: 40px;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 8px 0 0;
    border-radius: 50%;
    font-size: 17px;
    font-weight: 600;
    text-align: center
}

.avatar.square {
    border-radius: 0
}

.avatar.small {
    width: 20px;
    min-width: 20px;
    height: 20px;
    line-height: 20px
}

.avatar.big {
    width: 72px;
    min-width: 72px;
    height: 72px;
    line-height: 72px
}

.avatar.huge {
    width: 96px;
    min-width: 96px;
    height: 96px;
    line-height: 96px
}

.avatar-wrapper {
    position: relative
}

.avatar-wrapper .avatar {
    margin-top: 0;
    margin-bottom: 0
}

.avatar-wrapper mat-icon.status {
    position: absolute;
    top: 28px;
    left: 28px
}



.shakeit {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    animation-iteration-count:infinite;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}


.mdc-data-table__cell, 
.mdc-data-table__header-cell{
    padding:5px !important;
}

.mdc-data-table__cell:first-child,
.mdc-data-table__header-cell:first-child {
  padding-left: 10px !important;
}

.mdc-data-table__cell:last-child,
.mdc-data-table__header-cell:last-child {
  padding-right: 10px !important;
}



.custom-button{
    padding: 10px !important;
    border-radius: 20px !important;
    background-color: green !important;
    color: white !important;
}

.custom-button:disabled{
    background-color: rgb(169, 221, 169) !important;
    color: white !important;
}

.Date .mdc-text-field--outlined .mat-mdc-form-field-infix,
.date .mdc-text-field--outlined .mat-mdc-form-field-infix
{
    padding:10px 0 0 0 !important;
}

.Checkbox[ng-reflect-appearance="outline"] .mat-mdc-form-field-infix{
    padding: 5px 0 0 0;
}


.Checkbox:not([ng-reflect-appearance="outline"]){
    padding-top: 23px;
}


.mat-mdc-form-field-subscript-wrapper{
    height:0;
}

.searchCriteiraFieldLeft .mat-mdc-form-field-subscript-wrapper{
    height:5px;
}

a {
    color: #1a73e8;        /* Google blue */
}
a:hover {
    color: #0b5ed7;        /* darker blue on hover */
    text-decoration: underline;
    cursor: pointer;
}

/* -------------------------- */

body[dir='rtl']{
    .mdc-data-table__cell:first-child,
    .mdc-data-table__header-cell:first-child {
    padding-right: 10px !important;
    }

    .mdc-data-table__cell:last-child,
    .mdc-data-table__header-cell:last-child {
    padding-left: 10px !important;
    }
}

