@import './main.scss';

//Table head style
.table-head {
    width: 100%;
    height: 79px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: $lotion;
    padding-bottom: 10px;
  }
  
 //Count dropdown style
.count-dropdown {
    display: flex;
    flex-direction: column;
    margin-right: 7px;
}
  
.count-dropdown-label {
    font-family: Lato;
    font-size: 14px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: $davysGrey;
    margin: 10px 22px 6px 0;
    width: 55px;
    height: 17px;
    margin-bottom: -9px;
}
  
.count-dropdown-field {
    width: 65px;
    height: 36px;
}

//Table title style
.labels {
    display: flex;
    flex-direction: row;
}
  
.table-title {
    height: 19px;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: bolder;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: $davysGrey;
    margin: 33px 0 0 17px;
}
  
.table-title-text {
    font-family: Montserrat;
    font-size: 16px;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: $davysGrey;
    margin: 33px 0 0 12px;
}
  
.table-header {
    height: 35px;
    margin: 0 0 64px;
    padding: 7px 15px 9px 12px;
    background-color: $lightPink;
}
  
.table-header-col {
    font-family: Lato;
    font-size: 14px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: $davysGrey;
    padding-left: 8px;
}
  
:host ::ng-deep .table-header-menu {
    padding-right: 0px !important;
}
  
.table-input {
    height: 36px;
    margin: 10px 8px;
    border-radius: 5px;
    border: solid 1px $brownGrey-opacity-40;
    font-family: Lato;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: $davysGrey;
}
  
.table-input-text-small {
    width: 70px;
}
  
.table-input-text-medium {
    width: 110px;
}
  
.table-input-text-large {
    width: 140px;
}
  
.table-input-file {
    width: 40px;
    height: 40px;
    margin: 0 17px 0 0;
    padding: 0px;
    border-radius: 5px;
    border: solid 1px $azure-alter;
    background-color: $white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.table-input-checkbox {
    height: 20px;
}
  
.image-loaded {
    width: 46px;
    height: 46px;
    border: solid 1px transparent;
}

#fileImage {
    width: 100%;
    height: 100%;
}
  
.details-table {
    border-collapse: collapse;
    overflow-x: scroll;
    width: 100%;
}
  
.table-body {
    overflow-x: scroll;
    padding-bottom: 25px;
}
  
//remove cell table border lines
:host td.mat-cell {
    border-bottom-style: none;
}
  
//Row quantity selector
.rowSelector {
    width: 58px;
    height: 36px;
    border-radius: 5px;
    border: solid 1px $brownGrey-opacity-40;
    background-color: $white;
    font-size: 15px;
    padding: 0px 0px 0px 7px;
}
  
.content-manager {
    margin-top: -8px;
    margin-left: 19px;
    display: flex;
    align-items: center;
}
  
.content-manager-button-disabled {
    border: none;
    background: none;
    font-family: Lato;
    font-size: 14px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: $brownGrey;
}

:host ::ng-deep .mat-select-min-line {
    margin-bottom: 1px;
}
  
//*Scrollbar style
.details-table::-webkit-scrollbar {
    border-radius: 50px;
    background-color: $lightPink;
    width: 6px;
    -webkit-appearance: none;
}
  
.details-table::-webkit-scrollbar-thumb {
    background-color: white;
}
  
//*Scrollbar style
.table-body::-webkit-scrollbar {
    background-color: white;
    height: 8px;
}
  
.table-body::-webkit-scrollbar-thumb {
    border-radius: 50px;
    background-color: $lightPink;
    width: 6px;
    -webkit-appearance: none;
}
  
//End Scrollbar style
  
:host ::ng-deep .mat-header-row {
    height: 35px;
    margin: 0 0 64px;
    padding: 7px 15px 9px 12px;
    background-color: $lightPink;
    min-height: 35px !important;
}
  
.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
  
.icon-info {
    color: $brownGrey;
    margin-left: 10px;
}
  
.icon-error {
    color: $rustyRed;
    margin-top: 30px;
    margin-left: 10px;
}

div.divDropDown {
    margin-top: 10px;
    ::ng-deep ff-autocomplete-dropdown#ffAutoComplete form.autocompleteDropdown {
        mat-form-field.formDropdown {
            .mat-form-field-wrapper {
                .mat-form-field-flex {
                    height: 45px !important;
                }
            }
        }
    }
}

:host::ng-deep.mat-form-field-appearance-outline {
    .mat-form-field-infix {
        padding: 1em !important;
    }

    .mat-form-field-outline {
        display: flex;
        position: absolute;
        top: 0.8em !important;
        bottom: 4px !important;
        pointer-events: none;
    }
}
      
:host::ng-deep .dp-keyboard {
    .mat-form-field-appearance-outline .mat-form-field-flex {
        height: 55px!important;
        margin: 0px 10px 0px;
        padding-top: 10px;
        width: 200px!important;
        font-size: 13px;
        bottom: 3.25px;
    }

    .mat-form-field-wrapper {
        padding-bottom: 0px;
    }
}

:host::ng-deep .filterDropdown {
    mat-form-field.formFilterDropdown .mat-form-field-wrapper .mat-form-field-flex {
        height: 55px!important;
        padding-top: 7px;
        bottom: 7px;
    }

    .mat-form-field-wrapper {
        padding-bottom: 0px;
    }
}
