:host {
  --color-milk: #fff;
  --color-elephant-900: #12344d;
  --color-elephant-800: #264966;
  --color-elephant-700: #345c7c;
  --color-elephant-600: #447093;
  --color-smoke-700: #475867;
  --color-smoke-300: #92a2b1;
  --color-smoke-100: #cfd7df;
  --color-smoke-50: #ebeff3;
  --color-smoke-25: #f3f5f7;
  --color-jungle-800: #00795b;
  --color-jungle-500: #00a886;
  --color-jungle-100: #b4e5da;
  --color-jungle-50: #e0f5f1;
  --color-azure-800: #2c5cc5;
  --color-azure-100: #bbdcfe;
  --color-azure-50: #e5f2fd;
  --color-persimmon-900: #c82124;
  --color-persimmon-800: #d72d30;
  --color-persimmon-100: #ffd0d6;
  --color-persimmon-50: #ffecf0;
  --color-casablanca-700: #e86f25;
  --color-casablanca-300: #f8ab59;
  --color-casablanca-100: #fedcb3;
  --color-casablanca-50: #fef1e1;
  --border-color: var(--color-smoke-100);
  --border-success-color: var(--color-jungle-100);
  --border-info-color: var(--color-azure-100);
  --border-danger-color: var(--color-persimmon-100);
  --border-warning-color: var(--color-casablanca-100);
  --bg-dark: var(--color-elephant-900);
  --bg-success: var(--color-jungle-50);
  --bg-info: var(--color-azure-50);
  --bg-danger: var(--color-persimmon-50);
  --bg-warning: var(--color-casablanca-50);
  --radius: 4px;
  --radius-small: 2px;
}

:host {
  --font-stack: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-weight-400: 400;
  --font-weight-300: 300;
  --font-weight-500: 500;
  --font-weight-600: 600;
  --font-weight-700: 700;
  --font-size-10: 10px;
  --font-size-12: 12px;
  --font-size-14: 14px;
  --font-size-16: 16px;
  --font-size-18: 18px;
  --font-size-20: 20px;
  --font-size-24: 24px;
  --text-default: var(--color-elephant-900);
  --text-secondary: var(--color-smoke-700);
  --text-disabled: var(--color-smoke-300);
  --text-success: var(--color-jungle-800);
  --text-info: var(--color-azure-800);
  --text-danger: var(--color-persimmon-800);
  --text-warning: var(--color-casablanca-700);
  --text-link: var(--color-azure-800);
  --icon-primary: var(--color-smoke-700);
  --icon-primary-hover: var(--color-smoke-100);
}

:host {
  font-family: var(--font-stack);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

:host {
  position: relative;
}
:host * {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.mdp-container,
.mdp-range-container {
  float: left;
  position: absolute;
  left: 0;
  top: 40px;
  width: 300px;
  min-height: 336px;
  background: var(--color-milk);
  box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  overflow: hidden;
  padding: 14px;
  z-index: 1000;
}

.mdpc-footer,
.mdpc-range-footer {
  float: left;
  position: absolute;
  left: 0;
  top: 344px;
  width: 312px;
  padding: 8px;
  background: var(--color-smoke-25);
  border-top: 1px solid var(--color-smoke-50);
  margin-top: 15.5px;
  box-shadow: 4px 9px 20px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 5px 5px;
  z-index: 1000;
}
.mdpc-footer fw-button,
.mdpc-range-footer fw-button {
  float: right;
  margin-left: 7px;
}

.mdpc-range-footer {
  width: 612px;
}

.mdp-range-container {
  width: 600px;
}

.mdpc-head {
  height: 53px;
}

.mdpc-body {
  float: left;
  width: 100%;
}

.body-container {
  margin: 0 10px;
}
.body-container .mdpc-body {
  width: 48%;
}
.body-container .mdpc-body-right {
  float: right;
  border-left: 1px solid var(--color-smoke-50);
  padding-left: 10px;
}

/**
 * Controls
 */
.mdpch-button,
.mdpch-button-right {
  float: left;
  width: 30px;
  height: 100%;
  box-sizing: border-box;
  position: relative;
}

.mdpch-button-right {
  float: right;
}

.mdpchb-inner:hover {
  cursor: pointer;
  background: var(--color-smoke-50);
}

.mdpchb-inner {
  float: left;
  height: 20px;
  width: 20px;
  border-radius: 100%;
  line-height: 35px;
  text-align: center;
  position: absolute;
  top: 45%;
  left: 50%;
  margin-left: -17px;
  margin-top: -11px;
}

.mdpch-button-right .mdpchb-inner {
  left: 75%;
}

.mdpchbi-left-arrow,
.mdpchbi-left-arrows,
.mdpchbi-left-arrows::after,
.mdpchbi-right-arrow,
.mdpchbi-right-arrows,
.mdpchbi-right-arrows::after {
  display: block;
  float: left;
  width: 6px;
  height: 6px;
  border-left: 2px solid var(--color-smoke-300);
  border-bottom: 2px solid var(--color-smoke-300);
  position: absolute;
}

.mdpchbi-left-arrow,
.mdpchbi-left-arrows,
.mdpchbi-right-arrow,
.mdpchbi-right-arrows {
  transform: rotate(45deg);
  left: 50%;
  top: 50%;
  margin-left: -2px;
  margin-top: -4px;
}

.mdpchbi-right-arrow,
.mdpchbi-right-arrows {
  transform: rotate(225deg);
  margin-left: -4px;
}

.mdpchbi-left-arrows::after,
.mdpchbi-right-arrows::after {
  content: "";
  left: 3px;
  top: -5px;
}

.mdpchbi-left-arrows {
  margin-left: -5px;
}

.mdpchbi-right-arrows {
  margin-left: -2px;
}

.mdpch-container,
.mdpch-container-right {
  float: left;
  width: 200px;
  height: 100%;
}

.mdpch-container-right {
  float: right;
}
.mdpch-container-right .mdpchc-month,
.mdpch-container-right .mdpchc-year {
  float: right;
}

.mdpchc-year {
  float: left;
  height: 30px;
  font-size: 16px;
  color: var(--color-smoke-700);
  text-align: center;
  width: 90px;
}

.mdpchc-month {
  float: left;
  font-size: 16px;
  color: var(--color-smoke-700);
  text-align: center;
  margin-right: 10px;
  width: 90px;
}
.mdpchc-month fw-select .input-container-inner input {
  width: 98%;
}

/**
 *  Calendar
 */
.c-container,
.c-day-container,
.cc-body,
.cc-head,
.cch-name,
.cdc-day,
.cdc-day span {
  position: relative;
  display: block;
  float: left;
  box-sizing: border-box;
}

.c-container {
  width: 100%;
  height: 100%;
}

.cc-head {
  height: 30px;
  width: 100%;
}

.cch-name {
  width: 14.285%;
  height: 30px;
  line-height: 30px;
  font-weight: 700;
  color: var(--color-smoke-700);
  font-size: 13px;
  text-align: center;
}

.cc-body {
  height: 210px;
  width: 100%;
}

.c-day-container {
  width: 14.285%;
  height: 11.185%;
  margin-top: 10px;
}

.cdc-day {
  width: 100%;
  height: 100%;
  font-size: 12px;
  font-weight: 300;
  color: var(--color-smoke-700);
  text-align: center;
}

.cdc-day span:hover {
  cursor: pointer;
  background: var(--color-smoke-50);
}

.cdc-day span {
  width: 24px;
  height: 22px;
  font-size: 13px;
  margin-top: -11px;
  margin-left: -13px;
  left: 50%;
  top: 50%;
  font-weight: 400;
  border-radius: 10%;
  line-height: 20px;
  color: #12344d;
}

.c-day-container.disabled {
  pointer-events: none;
}

.date-input {
  width: 210px;
}

.c-day-container.disabled .cdc-day span {
  color: var(--color-smoke-100);
  background: var(--color-milk) !important;
}

.c-day-container.highlight:not(.disabled) .cdc-day span {
  border: 1px solid var(--color-smoke-100);
}

.c-day-container.highlight-blue:not(.disabled) .cdc-day span {
  background: var(--color-azure-800);
  color: var(--color-smoke-25);
}

.c-day-container.start-day .cdc-day {
  margin-left: 10px;
}
.c-day-container.start-day .cdc-day span {
  transform: translateX(-10px);
}

.c-day-container.end-day .cdc-day {
  margin-left: -10px;
}
.c-day-container.end-day .cdc-day span {
  transform: translateX(10px);
}

.c-day-container.highlight-range:not(.disabled) .cdc-day {
  background: #e4f2fd;
}

.overlay-show {
  background: transparent;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
}

.overlay-hide {
  display: none;
}