$info-color: #4daeec;
$clear: #949494;
$eye-color: #979797;

[pvm-form] .mat-form-field {
  display: block;
}

[pvm-form] .info {
  color: $info-color;
}

[pvm-form] .text-font {
  font-size: 14px;
}

[pvm-form] .text-font-error {
  font-size: 11px;
}

[pvm-form] textarea {
  user-select: auto;
}

[pvm-form] textarea .info-tag {
  left: -1rem;
  top: -3rem;
}

[pvm-form] .clear {
  color: $clear;
}

[pvm-form] .eye-color {
  color: $eye-color;
}

[pvm-form] .pointer {
  cursor: pointer;
}

[pvm-form] .mat-form-field-appearance-outline .mat-form-field-infix {
  padding: 0 0 .7em 0 !important;
}

[pvm-form] .mat-form-field-appearance-outline .mat-form-field-subscript-wrapper {
  padding: 0 .5em !important;
}

[pvm-form] .mat-form-field-appearance-outline .mat-form-field-flex {
  padding: 0 .5em 0 .5em !important;
}

[pvm-form] .mat-form-field-appearance-outline .mat-form-field-suffix {
  top: .5em !important;
}

[pvm-form] .mat-form-field-appearance-outline .mat-select-arrow-wrapper {
  transform: translateY(15%) !important;
}

// popup alert dialog start
$success-color: #43a047;
$error-color: #d0021b;
$warning-color: #fecf33;

[pvm-alert] .success-border-color {
  border-color: $success-color !important;
}

[pvm-alert] .error-border-color {
  border-color: $error-color !important;
}


[pvm-alert] .warning-border-color {
  border-color: $warning-color !important;
}

//popup alert dialog end

//message component start
$back-color-warning: #ffc;
$back-color-success: #e1f7ec;
$back-color-error: #f1dee6;
$color: #8b0000;

[pvm-message] .warning-border-color {
  background-color: $back-color-warning;
  border-color: $back-color-warning;
  color: $color;
}

[pvm-message] .success-border-color {
  background-color: $back-color-success;
  border-color: $back-color-success;
}

[pvm-message] .error-border-color {
  background-color: $back-color-error;
  border-color: $back-color-error;
  color: $color;
}

//message component end


// button component start

$chat-icon-bg-color: #0091ea;

pvm-button .trim-rounded-left {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

pvm-button .trim-rounded-right {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

pvm-button .link-height {
  line-height: 1.8em;
}

pvm-button .pvm-chat-icon {
  background-color: $chat-icon-bg-color;
  bottom: 3rem;
  position: fixed;
  right: 3rem;
}

//iPhone and android device
@media only screen and (min-device-width: 320px) and (max-device-width: 767px) {
  pvm-button .pvm-chat-icon {
    background-color: $chat-icon-bg-color;
    bottom: 15%;
    position: fixed;
    right: 1.2rem;
  }
}

//iPad and tab
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  pvm-button .pvm-chat-icon {
    bottom: 6.8rem;
  }
}

//iPad pro
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
  pvm-button .pvm-chat-icon {
    bottom: 8rem;
  }
}


pvm-button .pvm-chat-icon:focus {
  outline: none;
}

pvm-button .mat-raised-button {
  transition: unset;
}

pvm-button .mat-button:focus {
  outline: none;
}

pvm-button .mat-button-wrapper {
    align-items: center;
    display: flex;
    justify-content: center;
}


// button component end

.mw-100 {
  max-width: 100%;
}

.mw-50 {
  max-width: 50%;
}

.mw-25 {
  max-width: 25%;
}

.mw-75 {
  max-width: 75%;
}

.success-bar-container {
  min-width: 0 !important;
}

