﻿
input.mat-input-element {
    line-height: 10px;
}

.mat-form-field-placeholder {
    overflow: visible !important;
}

.mat-radio-label {
    font-weight: normal !important;
}

.mat-checkbox-label {
    font-weight: normal !important;
}

.mat-select-placeholder {
    white-space: nowrap;
}

.mat-select-panel .mat-optgroup-label, .mat-select-panel .mat-option {
    height: auto !important;
}

.mat-header-row {
    background-color: #f9f9f9;
}

.mat-form-field {
    width: 100%;
    padding-right: 15px;
}

.mat-raised-button, .mat-mini-fab {
    border-radius: 5px !important
}

/* .mat-slide-toggle + .mat-hint {
    font-size: 12px !important;
} */

.mat-hint, .mat-error {
    font-size: 12px !important;
}

.mat-slide-toggle + .mat-hint > .mat-icon {
    font-size: inherit;
}
.mat-form-field-underline {
    background-color: #e6e6e6;
}
.mat-raised-button, .mat-mini-fab {
    box-shadow: none !important;    
}
.mat-raised-button.mat-accent, .mat-raised-button.mat-primary {
    color: white !important;
}

.crms-cd .mat-dialog-container {
    min-width: 300px;
}

/* fix for material dialog shrink in size for ie, fix works for IE/Edge ≥ 10 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and ( max-width: 599px ) {
    .mat-dialog-container {
        min-width: 95vw;
    }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and ( min-width: 600px ) and ( max-width: 959px ) {
    .mat-dialog-container {
        min-width: 600px;
    }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and ( min-width: 960px ) and ( max-width: 1279px ) {
    .mat-dialog-container {
        min-width: 600px;
    }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and ( min-width: 1280px ) {
    .mat-dialog-container {
        min-width: 1280px;
    }
}

/*Expansion Panel*/
.mat-slide-toggle-content {
    font-family: 'Montserrat', sans-serif !important;
}

.mat-button-toggle {
    font-family: 'Montserrat', sans-serif !important;
}

.mat-expansion-panel-header {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
}

.mat-expansion-panel-content {
    font-family: 'Montserrat', sans-serif !important;
    padding: 15px 0;
}
.mat-tab-link {
    background-color: #f7f7f7;
}

.mat-tab-label-active {
    background-color: #dff2ff;
    color: #0071bc;
}

/*.grid-option .mat-select-panel .mat-option {
    line-height: 2em !important;
    height: unset !important;
}*/

.grid-option {
    line-height: 2em !important;
    height: unset !important;
}

.grid-option .mat-option-text {
    /* display: inline-block !important; */
    /* overflow: auto !important; */
    /* white-space: pre-wrap !important; */
    white-space: normal;
}

td .mat-select-value-text {
    white-space: pre-wrap !important;
}