/* You can add global styles to this file, and also import other style files */
@import "~bootstrap/dist/css/bootstrap.css";
@import "~@angular/material/prebuilt-themes/indigo-pink.css";
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
@import "~@ng-select/ng-select/themes/ant.design.theme.css";
@import "~font-awesome/css/font-awesome.css";
@import "https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap";

/* regular style toast */
@import "~ngx-toastr/toastr";

@import "ag-grid-community/dist/styles/ag-grid.css";
@import "ag-grid-community/dist/styles/ag-theme-balham.css";



html,
body {
  margin: 0;
  /* font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif !important; */
  font-family: "Open Sans", sans-serif !important;
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
  /* line-height: 1.42857143; */
  height: 100%;
  line-height: 14px;
  color: #58666e;
  background-color: transparent;
  overflow: hidden;
}
.required-field::before {
  content: "*";
  color: red;
  font-size: 16px;
  font-weight: bold;
  padding-right: 5px;
}
.btn.disabled,
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.dialogC {
  position: relative !important;
}
.close-icon {
  float: right;
  top: -24px;
  right: -24px;
  cursor: pointer;
}
.add-icon {
  color: deepskyblue;
  font-size: 2em;
  cursor: pointer;
}
.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.btn-info {
  color: #ffffff !important;
  background-color: #23b7e5;
  border-color: #23b7e5;
}
.btn-rounded {
  padding-right: 15px;
  padding-left: 15px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.btn-info:active:focus,
.btn-info:active:hover,
.open > .dropdown-toggle.btn-info.focus,
.open > .dropdown-toggle.btn-info:focus,
.open > .dropdown-toggle.btn-info:hover {
  color: #fff;
  background-color: #269abc;
  border-color: #1b6d85;
}

.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
  background-color: #23b7e5;
  border-color: #23b7e5;
}

.form-control:focus {
  border-color: #23b7e5;
}
.form-control,
.form-control:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}
.no-data {
  width: 100% !important;
  text-align: center !important;
  font-weight: bold;
  font-size: 20px;
  padding: 50px 0;
}
.form-control.ng-invalid {
  border: 1px solid red;
}

.loader {
  width: 120px;
  height: 120px;
  margin-top: 20%;
}

.overlay {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: lightgrey;
  opacity: 0.8;
  text-align: center;
}

.toast-message {
  min-height: 45px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.pagination-align {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 20px;
}

.page-item.active .page-link[aria-label="Previous"] {
  z-index: 3;
  color: #fff;
  background-color: #23b7e5;
  border-color: #23b7e5;
}

.page-link[aria-label="Previous"] {
  position: relative;
  display: block;
  margin-right: 3px;
  color: #fff;
  background-color: #23b7e5;
  border-color: #23b7e5;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  min-width: 102px;
  text-align: center;
  border-radius: 2px;
}

.page-item.disabled .page-link[aria-label="Previous"] {
  color: #fff;
  background-color: #23b7e5;
  border-color: #23b7e5;
  box-shadow: none;
  opacity: 0.65;
}

.page-item.active .page-link[aria-label="Next"] {
  z-index: 3;
  color: #fff;
  background-color: #23b7e5;
  border-color: #23b7e5;
}

.page-link[aria-label="Next"] {
  position: relative;
  display: block;
  margin-right: 3px;
  color: #fff;
  background-color: #23b7e5;
  border-color: #23b7e5;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  width: 100px;
  text-align: center;
  border-radius: 2px;
}

.page-item.disabled .page-link[aria-label="Next"] {
  color: #fff;
  background-color: #23b7e5;
  border-color: #23b7e5;
  box-shadow: none;
  opacity: 0.65;
}

.page-item.active .page-link[aria-label="Last"] {
  z-index: 3;
  color: #fff;
  background-color: #23b7e5;
  border-color: #23b7e5;
}

.page-link[aria-label="Last"] {
  position: relative;
  display: block;
  margin-right: 3px;
  color: #fff;
  background-color: #23b7e5;
  border-color: #23b7e5;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  width: 100px;
  text-align: center;
  border-radius: 2px;
}

.page-item.disabled .page-link[aria-label="Last"] {
  color: #fff;
  background-color: #23b7e5;
  border-color: #23b7e5;
  box-shadow: none;
  opacity: 0.65;
}

.page-item.active .page-link[aria-label="First"] {
  z-index: 3;
  color: #fff;
  background-color: #23b7e5;
  border-color: #23b7e5;
}

.page-link[aria-label="First"] {
  position: relative;
  display: block;
  margin-right: 3px;
  color: #fff;
  background-color: #23b7e5;
  border-color: #23b7e5;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  width: 100px;
  text-align: center;
  border-radius: 2px;
}

.page-item.disabled .page-link[aria-label="First"] {
  color: #fff;
  background-color: #23b7e5;
  border-color: #23b7e5;
  box-shadow: none;
  opacity: 0.65;
}

.paging-double-arrow {
  width: 30px;
  height: 30px;
  margin: -6px -10px;
  position: relative;
  float: left;
  margin-right: 12px;
  line-height: 30px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 2px 0 0 2px;
}
.page-link:focus {
  box-shadow: none !important;
}
.page-link {
  display: none;
}
.text-danger {
  margin-top: 5px;
}
.mat-dialog-container {
  padding: 0 24px !important;
  overflow: inherit !important;
}

/* table Custom CSS Style */
table {
  width: 98%;
  border-collapse: collapse;
  margin-left: 1%;
  background-color: transparent;
}
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 8px 15px;
  border-top: 1px solid #eaeff0 !important;
  line-height: 1.42857143;
  vertical-align: top;
}

th {
  background-color: #1fa4ce;
  color: white;
  font-weight: bold;
}

td,
th {
  padding: 5px 10px;
  border-bottom: 1px solid #ccc;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
}

.table-hover > tbody > tr:hover {
  background-color: #f5f5f5;
}

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media only screen and (max-width: 760px),
  (min-device-width: 768px) and (max-device-width: 1024px) {
  table {
    width: 100%;
  }

  /* Force table to not be like tables anymore */
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  tr {
    border: 1px solid #ccc;
  }

  td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
  }

  td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    /* Label the data */
    content: attr(data-column);

    color: #000;
    font-weight: bold;
  }
}

/* search input style */

.input-group {
  width: 30%;
  height: 20px;
  margin: 15px 15px 30px 10px;
}
.input-group-addon {
  background-color: #edf1f2 !important;
  border-color: #cfdadd !important;
}

.input-group-addon {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #555;
  text-align: center;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.input-group-addon,
.input-group-btn {
  margin-right: -2px;
}

/* End of search input style */

.i-checks {
  padding-left: 20px;
  cursor: pointer;
}

.i-checks > i {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-top: -2px;
  margin-right: 4px;
  margin-left: -20px;
  line-height: 1;
  vertical-align: middle;
  background-color: #fff;
  border: 1px solid #cfdadd;
}
.i-checks input:checked + i {
  border-color: #23b7e5;
}
.i-checks input:checked + i:before {
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  background-color: #23b7e5;
}
.i-checks > i:before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: transparent;
  content: "";
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.i-radio {
  padding-left: 20px;
  cursor: pointer;
}

.i-radio > i {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-top: -2px;
  margin-right: 4px;
  margin-left: -17px;
  line-height: 1;
  vertical-align: middle;
  background-color: #fff;
  border: 1px solid #cfdadd;
  border-radius: 50%;
}
.i-radio input:checked + i {
  border-color: #23b7e5;
}
.i-radio input:checked + i:before {
  top: 6px;
  left: 6px;
  width: 10px;
  height: 10px;
  background-color: #23b7e5;
  border-radius: 50%;
}
.i-radio > i:before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: transparent;
  content: "";
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.m-n {
  margin: 0 !important;
}
.font-thin {
  font-weight: 300;
}
.input-sm {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
label {
  font-weight: bold;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 25px;
}

/* Hide default HTML checkbox */
.switch input {
  display: none;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ded8d8;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 1px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: darkseagreen;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(54px);
  -ms-transform: translateX(54px);
  transform: translateX(54px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*Toggle start*/

.switch1 {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 26px;
  font-weight: 300 !important;
}

.switch1 input {
  display: none;
}

.slider1 {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #008000;
  -webkit-transition: 0.4s;
  transition: 0.6s;
}

.slider1:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  background-color: white;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

input:checked + .slider1 {
  background-color: #f05050;
}

input:focus + .slider1 {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider1:before {
  -webkit-transform: translateX(82px);
  -ms-transform: translateX(82px);
  transform: translateX(82px);
}

/*------ ADDED CSS ---------*/
.onslider {
  display: none;
}

.onslider,
.offslider {
  color: white;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  font-size: 12px;
  font-family: Verdana, sans-serif;
}

input:checked + .slider1 .onslider {
  display: block;
}

input:checked + .slider1 .offslider {
  display: none;
}

/*--------- END --------*/

/* Rounded sliders */
.slider1.round {
  border-radius: 34px;
}

.slider1.round:before {
  border-radius: 50%;
}

/*Toggle end*/

.toolbar-inner {
  background-color: #f6f8f8;
  border-radius: 2px 2px 0 0;
  height: 45px;
  width: 98%;
  margin-left: 1%;
  padding: 0%;
  color: black;
  border-color: #edf1f2;
  margin-top: 20px;
}
input[type="date"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  display: none;
}

/* custom css style for ng-multi-select dropdown */

.ng-select .ng-select-container {
  color: #333;
  background-color: #fff;
  border-radius: 4px;
  border: 0 !important;
  min-height: 0 !important;
  align-items: center;
  min-height: 20px !important;
  padding-left: 0 !important;
  height: auto;
}
.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-placeholder {
  /* top: 10px !important; */
  left: 0;
  color: gray;
}

.ng-dropdown-panel .ng-dropdown-panel-items {
  margin-left: -10px;
}
.ng-select {
  height: 100%;
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container {
  padding-top: 0px !important;
}

.ng-select.ng-select-opened > .ng-select-container {
  box-shadow: none !important;
}

.ng-select.ng-select-multiple .ng-select-container .ng-value-container {
  padding-bottom: 0 !important;
}

.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-value
  .ng-value-icon {
  float: right;
}
.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-input {
  margin-top: 0 !important;
}
.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input {
  top: 0 !important;
  padding-left: 0 !important;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked {
  background-color: #f5f5f5 !important;
}
.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-value {
  white-space: pre-wrap !important;
  background-color: #ffffff;
  height: 100%;
  min-width: 50px;
  color: #333;
}
.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-value
  .ng-value-label {
  display: flex;
  padding: 0 5px;
}
.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-value:hover {
  color: #58666e !important;
  background-color: #edf1f2;
  border-color: #c7d3d6;
}

.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-value
  .ng-value-icon {
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: 0.2;
  font-size: 1.6em;
  line-height: 0.75;
}
.ng-select .ng-clear-wrapper {
  height: 20px !important;
  right: 0 !important;
}
.ng-dropdown-panel .ng-dropdown-panel-items {
  padding-bottom: 10px;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label {
  font-size: 12px !important;
}

/* End of custom css style for ng-multi-select dropdown */

/* bs datepicker custom css style */
body .bs-datepicker-container .bs-datepicker-head {
  background-color: #fff;
}
body .bs-datepicker-container .bs-datepicker-head * {
  color: #000;
}

.bs-datepicker-head {
  height: 30px !important;
  padding: 0px !important;
}
.bs-datepicker-body table th {
  color: #000 !important;
  background: transparent !important;
  font-weight: 700 !important;
}
.bs-datepicker-container {
  padding: 0 !important;
}
.theme-green .bs-datepicker-body table td span.selected,
.theme-green .bs-datepicker-body table td.selected span,
.theme-green .bs-datepicker-body table td span[class*="select-"]:after,
.theme-green .bs-datepicker-body table td[class*="select-"] span:after {
  color: #ffffff !important;
  background-color: #19a9d5 !important;
  border-color: #189ec8;
  border-radius: 0px;
}
.bs-datepicker-body table td span {
  border-radius: 0px;
}
.bs-datepicker-body table.days span {
  width: 100%;
  height: 25px;
  line-height: 25px;
}
td.week {
  width: 35px;
}
.theme-green .bs-datepicker-body table td.week span {
  color: #000 !important;
  /* font-style: italic; */
}
.bs-datepicker-body {
  padding: 0px !important;
  border: none;
  min-height: 175px !important;
  min-width: 175px !important;
}
.pointer {
  cursor: pointer;
}
.ng-select .ng-select-container .ng-value-container .ng-placeholder {
  color: #495057 !important;
  font-size: 12px !important;
}
.ng-select.ng-select-opened > .ng-select-container {
  padding-left: 4px !important;
}
.mat-dialog-title {
  margin: 10px 0 10px 0px !important;
  font-size: 18px;
  color: #58666e;
  font-weight: 400;
}
hr {
  margin: 10px -25px;
}
.ng-select.ng-select-disabled
  > .ng-select-container
  .ng-value-container
  .ng-value {
  color: rgba(0, 0, 0, 0.65) !important;
}

.progress {
  height: 0.5rem !important;
  margin-bottom: 10px;
}
.progress-bar {
  background-color: #23b7e5 !important;
}

.ng-select.ng-select-single .ng-select-container .ng-value-container,
.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value {
  white-space: inherit !important;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.mat-dialog-content {
  display: block !important;
  max-height: 58vh !important;
  border-bottom: solid 1px #ccc;
}
.mat-dialog-actions {
  padding: 8px 0 0 0 !important;
  min-height: 35px !important;
  margin-bottom: 0 !important;
}
.cdk-global-overlay-wrapper {
  height: auto;
  min-height: 220px;
  margin-top: 30px;
  align-items: flex-start !important;
}

.bs-datepicker-body .days.weeks {
  position: relative;
  z-index: 1;
  margin: 0px;
}
.bs-datepicker-body table td {
  padding: 0;
  border-left: solid 1px #ccc;
}

.cdk-global-overlay-wrapper {
  height: auto;
  min-height: 220px;
  margin-top: 30px;
  align-items: flex-start !important;
}

.ng-select .ng-select-container .ng-value-container .ng-value {
  font-size: 12px !important;
}
.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-value {
  margin-top: 0px !important;
  line-height: 18px !important;
}
app-add-goal-plan-template input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
  vertical-align: top;
}

.ag-theme-alpine .ag-paging-panel {
  padding-right: 200px !important;
}
.ag-theme-alpine .ag-row {
  font-size: 14px;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #58666e !important;
}
.ag-theme-alpine .ag-row-odd {
  background-color: #f3f3f3 !important;
  border-color: #f3f3f3 !important;
}
.ag-theme-alpine .ag-cell {
  border-color: transparent !important;
}
.ag-theme-alpine .ag-row:hover {
  background-color: transparent !important;
}
.ag-theme-alpine .ag-row-odd:hover {
  background-color: #f3f3f3 !important;
  border-color: #f3f3f3 !important;
}
ag-grid-angular {
  margin-left: 10px;
  height: 480px;
  overflow: auto;
  width: 98%;
}
.ag-body-viewport-wrapper.ag-layout-normal {
  overflow-y: scroll !important;
}
