:root {
  --red: #fb5858;
  --blue: #2da8b8;
  --green: #0cbf6c;
  --primary: #1c9fa8;
  --primary-highlight: #15767c;
  --primary-active: #3a8f96;
  --white: #ffffff;
  --primary-text: rgba(0, 0, 0, 0.87);
  --text-gray: #5e7578;

  --black: #000000;
  --save: #0cbf6c;
  --available: #0cbf6c;
  --font-dark: #012a30;
  --font-mid: #6e7883;
  --font-light: #ffffff;
  --font: var(--font-dark);
  --font-0: var(--black);
  --font-10: rgba(0, 0, 0, 0, 0.1);
  --font-60: rgba(0, 0, 0, 0, 0.6);
  --font-87: rgba(0, 0, 0, 0.87);
  --font-subtext: #363636;
  --font-secondary: #1c9fab;
  --font-label: #5e7578;
  --font-disabled: #808080;
  --disabled: #020202;
  --secondary-grey-1: #e5e5e5;
  --secondary-grey-2: #bbbbbb;
  --secondary-grey-3: #7c7c7c;
  --banner-background: #ffbb00;
  --report-border: #8f8f8f;

  --yellow: #ffbb00;
  --orange: #fa843b;

  --nav-height: 64px;
  --subnav-height: 48px;
  --footer-height: 120px;
  --large-icon-size: 40px;

  --font-default-size: 14px;
  --font-default-weight: 400;
  --font-default-line-height: 20px;

  --font-medium-weight: 500;
  --font-semi-weight: 600;
  --font-bold-weight: 700;

  --form-label-font-size: 10px;
  --form-label-line-height: 14px;
  --form-label-font-weight: var(--font-default-weight);

  --small-line-height: 16px;
  --font-heading-size: 22px;

  --h1-font-size: 20px;
  --h1-line-height: 24px;
  --h1-font-weight: var(--font-bold-weight);

  --h2-font-size: 18px;
  --h2-line-height: 22px;
  --h2-font-weight: var(--font-bold-weight);

  --h3-font-size: 16px;
  --h3-line-height: var(--font-default-line-height);
  --h3-font-weight: var(--font-bold-weight);

  --h4-font-size: var(--font-default-size);
  --h4-line-height: 18px;
  --h4-font-weight: var(--font-bold-weight);

  --h5-font-size: var(--font-default-size);
  --h5-line-height: 18px;
  --h5-font-weight: var(--font-medium-weight);

  --admin-form-label-font-size: var(--font-default-size);
  --admin-form-label-line-height: var(--font-default-line-height);
  --admin-form-label-font-weight: var(--font-medium-weight);

  --admin-h1-font-size: 36px;
  --admin-h1-line-height: 40px;
  --admin-h1-font-weight: var(--font-bold-weight);

  --admin-h2-font-size: 28px;
  --admin-h2-line-height: 36px;
  --admin-h2-font-weight: var(--font-bold-weight);

  --admin-h3-font-size: 24px;
  --admin-h3-line-height: 28px;
  --admin-h3-font-weight: var(--font-bold-weight);

  --admin-h4-font-size: 18px;
  --admin-h4-line-height: 24px;
  --admin-h4-font-weight: var(--font-bold-weight);
}

* {
  box-sizing: border-box;
}

body {
  background: rgba(231, 236, 236, 0.53);
  color: var(--font-mid);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  margin: 0;
}

main {
  display: block;
  width: 100%;
  margin-top: var(--nav-height);
  min-height: calc(100vh - (var(--nav-height) + var(--footer-height)));
}

main.subnav {
  margin-top: calc(var(--nav-height) + var(--subnav-height));
  min-height: calc(100vh - (var(--nav-height) + var(--subnav-height) + var(--footer-height)));
}

.noSelect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.cdk-overlay-container {
  z-index: 100010 !important;
}

.modal {
  z-index: 100000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal .content {
  background-color: white;
  width: 90%;
  height: 90%;
  overflow: scroll;
  border-radius: 4px;
  border: 1px solid #ecf0f0;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
  padding: 30px;
}

.modal .content.eighty {
  height: 80%;
}

.modal .form {
  background-color: white;
  width: 60%;
  max-height: 95%;
  overflow: scroll;
  border-radius: 4px;
  border: 1px solid #ecf0f0;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
  min-height: 250px;
}

.modal .viewEmail {
  background-color: white;
  width: 60%;
  max-height: 50%;
  overflow: scroll;
  border-radius: 4px;
  border: 1px solid #ecf0f0;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
  min-height: 300px;
}

.modal .search {
  position: fixed;
  background-color: white;
  width: 30%;
  overflow: scroll;
  border-radius: 4px;
  border: 1px solid #ecf0f0;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
  min-height: 300px;
}

.modal .test-loadbalancing-result {
  background-color: white;
  width: 30%;
  overflow: scroll;
  border-radius: 4px;
  border: 1px solid #ecf0f0;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
  min-height: 300px;
  min-width: 768px;
}

.modal .edit-connector {
  position: fixed;
  background-color: white;
  width: 30%;
  overflow: scroll;
  border-radius: 4px;
  border: 1px solid #ecf0f0;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
  min-height: 300px;
  min-width: 768px;
  &.paymentTerminal {
    width: 50%;
  }
}

.gm-ui-hover-effect {
  content: 'x';
}
/* 
::-webkit-scrollbar {
  display: none;
} */

* {
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.spacer {
  height: 64px;
}

.box {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  background: #fff;
  margin-bottom: auto;
}

.box.withPadding {
  padding: 20px;
  margin-bottom: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: inherit;
  font-weight: 700;
  line-height: 1.1;
  color: var(--font-dark);
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small,
.h1 small,
.h2 small,
.h3 small,
.h4 small,
.h5 small,
.h6 small,
h1 .small,
h2 .small,
h3 .small,
h4 .small,
h5 .small,
h6 .small,
.h1 .small,
.h2 .small,
.h3 .small,
.h4 .small,
.h5 .small,
.h6 .small {
  font-weight: 400;
  line-height: 1;
  color: #777777;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

h1 small,
.h1 small,
h2 small,
.h2 small,
h3 small,
.h3 small,
h1 .small,
.h1 .small,
h2 .small,
.h2 .small,
h3 .small,
.h3 .small {
  font-size: 65%;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-top: 10px;
  margin-bottom: 10px;
}

h4 small,
.h4 small,
h5 small,
.h5 small,
h6 small,
.h6 small,
h4 .small,
.h4 .small,
h5 .small,
.h5 .small,
h6 .small,
.h6 .small {
  font-size: 75%;
}

h1,
.h1 {
  font-size: 36px;
}

h2,
.h2 {
  font-size: 30px;
}

h3,
.h3 {
  font-size: 24px;
}

h4,
.h4 {
  font-size: 18px;
}

h5,
.h5 {
  font-size: 14px;
}

h6,
.h6 {
  font-size: 12px;
}

p {
  margin: 0 0 10px;
}

strong {
  font-weight: bold;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.text-nowrap {
  white-space: nowrap;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-capitalize {
  text-transform: capitalize;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 10px;
  margin-left: 18px;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin-bottom: 0;
}

p {
  line-height: 1.5;
  font-weight: 300;
}

.wrapper {
  display: block;
  width: 100%;
  padding: 30px 50px;
}

@media (max-width: 1200px) {
  .wrapper {
    padding: 30px 30px;
  }
}

@media (max-width: 700px) {
  .wrapper {
    padding: 30px 20px;
  }
}

@media (max-width: 500px) {
  .wrapper {
    padding: 30px 10px;
  }
}

.page-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 20px;
}

@media (max-width: 700px) {
  .page-header {
    flex-wrap: wrap;
  }
}

@media (max-width: 960px) {
  .page-header.large {
    flex-wrap: wrap;
  }
}

@media (max-width: 960px) {
  .page-header.large .page-actions {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 900px) {
  .page-header.large .page-actions {
    justify-content: flex-start;
  }
}

.page-header .page-title {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .page-header .page-title {
    width: 100%;
    margin-bottom: 20px;
    justify-content: center;
  }
}

.page-header .page-title a {
  display: inline-block;
  font-size: 20px;
  color: var(--primary);
  padding: 0 5px;
  margin-right: 5px;
  width: 27px;
}

.page-header .page-title a:hover,
.page-header .page-title a:active {
  color: var(--primary-highlight);
}

.page-header .page-title a i {
  margin: 0;
}

.page-header .page-title h1 {
  display: inline-block;
  font-size: 20px;
  margin: 0;
  color: var(--font-dark);
  width: auto;
}

@media (max-width: 700px) {
  .page-header .page-title h1 {
    width: auto;
    text-align: center;
  }
}

.page-header .page-title p {
  display: block;
  width: 100%;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 0;
  color: var(--font-label);
}

@media (max-width: 700px) {
  .page-header .page-title p {
    text-align: center;
  }
}

.page-header .page-actions {
  display: flex;
  flex-wrap: wrap;
  width: auto;
}

@media (max-width: 900px) {
  .page-header .page-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 700px) {
  .page-header .page-actions {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .page-header .page-actions {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
}

.page-header .page-actions .btn {
  margin-left: 3px;
}

@media (max-width: 900px) {
  .page-header .page-actions .btn {
    margin: 2px 2px;
  }
}

@media (max-width: 700px) {
  .page-header .page-actions .btn {
    width: calc((100% - 8px) / 2);
  }
}

@media (max-width: 600px) {
  .page-header .page-actions .btn {
    width: 100%;
    margin: 2px 0;
  }
}

.page-header .page-actions .btn:first-of-type {
  margin-left: 0;
}

.page-header .page-actions .switch-wrapper {
  margin: 0 15px;
  width: auto;
}

@media (max-width: 700px) {
  .page-header .page-actions .switch-wrapper {
    border: 0 !important;
    margin: 9px 0 !important;
    padding: 0 !important;
    width: 100%;
    justify-content: center;
    border-radius: 3px;
  }
}

.row-section .col-lg-3,
.row-section .col-md-3,
.row-section .col-xl-3 {
  margin-bottom: 30px;
}

.row-section .col-lg-4,
.row-section .col-md-4,
.row-section .col-xl-4 {
  margin-bottom: 30px;
}

.row-section .col-lg-6,
.row-section .col-md-6,
.row-section .col-xl-6 {
  margin-bottom: 30px;
}

.row-section .col-lg-12,
.row-section col-md-12,
.row-section .col-xl-12 {
  margin-bottom: 24px;
}

.pd-0 {
  padding: 0 0 !important;
}

.pd-t-0 {
  padding-top: 0;
}

.pd-b-0 {
  padding-bottom: 0;
}

.mg-0 {
  margin: 0 0 !important;
}

.mg-t-0 {
  margin-top: 0;
}

.mg-b-0 {
  margin-bottom: 0;
}

.safari-mobile .fill-screen {
  height: calc(100vh - 80px);
}

label,
.label {
  display: inline-block;
  margin-bottom: 5px;
  font-weight: 500;
  display: block;
  width: 100%;
  color: var(--font-dark);
}

.value {
  color: var(--font-label);
}

.field {
  /* display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 15px;
  min-height: 55px;
  padding: 0 5px;
  position: relative; */
}

.field.half-width {
  width: 50%;
}

@media (max-width: 600px) {
  .field.half-width {
    width: 100%;
  }
}

.field.check-field {
  min-height: 0;
}

.field.datepicker-field select {
  width: calc(100% - 40px);
}

.field.datepicker-field .date-picker-toggle {
  width: 36px;
  margin-left: 3px;
  background: #ffffff;
  text-align: center;
  padding: 0;
  border-radius: 5px;
  background: var(--primary);
}

.field.datepicker-field .date-picker-toggle i {
  margin: 0;
  text-align: center;
  color: var(--font-light);
}

.form-section {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.form-section h2 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--primary);
  padding: 0 5px;
  display: block;
  width: 100%;
}

.form-section .field.half-width input[type='text'],
.form-section input[type='password'],
.form-section select {
  max-height: 34px;
}

input,
select,
textarea,
button {
  font-family: 'Montserrat', sans-serif;
}
/* 
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
select,
textarea {
  border: 1px solid #e5e5e5;
  padding: 5px 10px;
  border-radius: 5px;
  width: 100%;
  display: block;
} */

input[type='text']::placeholder,
input[type='email']::placeholder,
input[type='password']::placeholder,
input[type='search']::placeholder,
select::placeholder,
textarea::placeholder {
  color: #c3c3c3;
}

input[type='text'].small,
input[type='email'].small,
input[type='password'].small,
input[type='search'].small,
select.small,
textarea.small {
  width: 50%;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='password']:focus,
input[type='search']:focus,
select:focus,
textarea:focus {
  color: var(--primary);
  font-weight: 500;
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='search'],
textarea {
  -webkit-appearance: none;
}

input[type='text'],
input[type='number'],
input[type='password'],
select {
  max-height: 34px;
}

input[type='checkbox'],
input[type='radio'] {
  box-sizing: border-box;
  padding: 0;
  transform: translateY(1px);
}

textarea {
  resize: none;
  overflow: auto;
  max-height: 200px;
  height: 100px;
}

.multi-btn {
  display: flex;
  margin: 0 -2px;
  width: 100%;
}

.multi-btn .btn {
  margin: 0 2px;
}

.switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.switch-wrapper .switch-title {
  margin-right: 10px;
}

.switch-wrapper .switch-title:nth-of-type(2) {
  margin-right: 0;
  margin-left: 10px;
}

.switch-wrapper.duo-switch .switch-label:last-of-type {
  margin-left: 8px;
  margin-right: 0;
}

.switch-wrapper.duo-switch .slider {
  background-color: var(--primary);
}

.switch-wrapper.duo-switch input:checked + .slider {
  background-color: var(--primary);
}

.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
  margin: 0;
}

.switch.push-right {
  margin-left: auto;
}

.switch-label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  margin-right: 8px;
  color: var(--black);
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 100px;
}

.slider:before {
  position: absolute;
  content: '';
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 100%;
}

input:checked + .slider {
  background-color: var(--available);
}

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

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

@media (max-width: 1400px) {
  .col-lg-4 .field.half-width {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .col-lg-4 .field.half-width {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .col-lg-4 .field.half-width {
    width: 100%;
  }
}

.mh-0 {
  min-height: 0;
}

.form-wrapper-small {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

/* Customize the label (the container) */

.checkcontainer {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 17px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkcontainer a {
  text-decoration: underline;
  color: var(--primary);
}

.checkcontainer a:hover {
  color: var(--primary-highlight);
}

/* Hide the browser's default checkbox */

.checkcontainer input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */

.checkmark {
  height: 20px;
  width: 20px;
  position: relative;
  background-color: rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border-radius: 100%;
}

/* On mouse-over, add a grey background color */

.checkcontainer:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */

.checkcontainer input:checked ~ .checkmark {
  background-color: var(--available);
}

/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
  content: '';
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */

.checkcontainer input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */

.checkcontainer .checkmark:after {
  left: 7px;
  top: 4px;
  width: 3px;
  height: 7px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.checkcontainer {
  display: flex;
  padding-left: 0;
  font-size: 100%;
}

.checkcontainer .label {
  order: 2;
  padding-top: 2px;
  padding-left: 5px;
  width: calc(100% - 25px);
}

.checkcontainer .checkmark {
  order: 1;
}

.form-actions {
  display: flex;
  width: 100%;
}

button,
.btn {
  display: inline-block;
  font-weight: 600;
  font-family: inherit;
  text-align: center;
  /*white-space: nowrap;*/
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 0;
  padding: 10px 15px;
  font-size: 100%;
  line-height: 1.5;
  border-radius: 100px;
  cursor: pointer;
  -webkit-appearance: none;
  transition: color 0.2s ease, background-color 0.5s ease, border-color 0.5s ease,
    box-shadow 0.5s ease;
  line-height: 1.15;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

button:focus,
button:hover,
button:active,
.btn:focus,
.btn:hover,
.btn:active {
  outline: 0;
  box-shadow: none;
}

button i,
.btn i {
  margin-left: 5px;
}

.btn-primary {
  background: var(--primary);
  color: var(--font-light);
}

.btn-primary:hover,
.btn-primary:active {
  background: var(--primary-highlight);
  color: var(--font-light);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:not([disabled]):hover,
.btn-secondary:not([disabled]):active {
  background: var(--primary);
  color: var(--font-light);
}

.btn-secondary:disabled {
  border: 1px solid var(--secondary-grey-2);
  color: var(--secondary-grey-2);
  cursor: not-allowed;
}

.btn-secondary:disabled {
  border: 1px solid var(--secondary-grey-2);
  color: var(--secondary-grey-2);
  cursor: not-allowed;
}

.btn-save {
  background: #0cbf6c;
  color: var(--font-light);
  min-width: 100px;
}

.btn-save:hover,
.btn-save:active {
  background: #098f51;
  color: var(--font-light);
}

@-moz-document url-prefix() {
  .dropdown-btn {
    display: flex;
    justify-content: center;
  }
}

.btn-small {
  padding: 8px 10px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
  display: block;
}

.more-actions {
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  background: #fff;
  z-index: 1;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
  margin-top: 5px;
  border-radius: 3px;
  display: none;
}

.more-actions .btn {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid #e5e5e5;
  color: var(--primary);
}

.more-actions .btn:active,
.more-actions .btn:hover {
  color: var(--font-dark);
  background: rgba(28, 159, 168, 0.07);
}

.more-actions .btn:last-of-type {
  border: 0;
}

.btn-clear {
  background: transparent;
  color: var(--primary);
}

.btn-clear:hover,
.btn-clear:active {
  color: var(--font-dark);
}

clenergy-text-field.field-lg input,
clenergy-dropdown-field.field-lg mat-select {
  width: 400px;
}

clenergy-text-field.field-sm input {
  width: 70px;
}

.form-field--invalid mat-select.mat-select-invalid {
  border-color: var(--red);
}
