@import url("https://fonts.googleapis.com/css?family=Roboto:400,300,500,700");

:root {
  --primary: #F7C300;
  --secondary: #FAFAFA;
  --success: #4CAF50;
  --n200: #CED4DA;
  --n200-old: #6C757D;
  --n300: #788084;
  --n400: #495057;
  --n500: #212529;
  --n50: #F5F5F5;
  --info: #2196F3;
  --border: #CED4DA;
  --white: #fff;
  --hover: #f9f9f9;
}

body {
  font-family: 'Roboto'; /* will move to page level after finishing all */
  font-style: normal;
  font-weight: 400;
}

.footer {
  display: none;
}

/* Page */

.page-header {
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  margin: 0;
}

.page-header .page-main-title {
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.0015em;
  color: var(--n300);
  margin-top: 0;
  margin-bottom: 20px;
  padding-top: 16px;
}

.page-header .page-sub-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 23px;
  display: flex;
  align-items: center;
  letter-spacing: 0.0015em;
  color: var(--n400);
  margin-top: 0;
  margin-bottom: 16px;
}

.page-content-wrapper {
  margin: 16px;
}

.page-main-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 16px;
  /* height: 95vh; */
  background: var(--white);
}

.page-main-content .left-content {
  /* width: calc(65% - 16px); */
  width: 100%;
}

/* .page-main-content .right-content {
  width: calc(35% - 16px);
  background: var(--white);
} */

.main-title {
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.0015em;
  color: var(--n400);
  padding: 27px 16px;
}

/* Dialog */

.center-dialog .modal-dialog {
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
}

.dialog-wrapper {
  border-radius: 8px;
  padding-left: 32px;
  padding-right: 32px;
  background: var(--white);
  white-space: nowrap;
}

.dialog-header {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--n200);
}

.dialog-header.no-border-bottom {
  border-bottom: none;
}

.dialog-header .icon {
  cursor: pointer;
}

.dialog-header-text {
  font-weight: 500;
  font-size: 20px;
  line-height: 23px;
  letter-spacing: 0.0015em;
  color: var(--n500);
}

.dialog-content {
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.005em;
  padding-bottom: 16px;
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid var(--border);
}

/* Component */

.divider {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.vertical-divider {
  width: 1px;
  background: var(--secondary);
  /* border-bottom: 1px solid var(--border); */
}

.vertical-divider-line {
  width: 100%;
  margin-top: 9px;
  margin-bottom: 9px;
  background: var(--n200);
  height: calc(100% - 18px);
}

/* New Button Style */

.md-button.md-raised.new-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  letter-spacing: 0.0125em;
  outline: none;
  margin: 0;
  box-shadow: unset !important; /* override material style */
  text-transform: none !important;  /* override material style */
}

.md-button.md-raised.new-btn .icon {
  width: 16px;
  height: 16px;
  min-height: 16px;
  min-width: 16px;
  line-height: 16px;
  margin-right: 12px;
}

.md-button.md-raised.new-btn-primary {
  background: var(--primary) !important; /* override material style */
  color: var(--white) !important; /* override material style */
}

.md-button.md-raised.new-btn-primary .icon {
  color: var(--white);
}

.md-button.md-raised.new-btn-secondary {
  background: var(--secondary);
  color: var(--n400);
  border: 1px solid var(--border);
}

.md-button.md-raised.new-btn-secondary .icon {
  color: var(--n400);
}

.md-button.md-raised.new-btn.new-btn-no-border {
  border: none;
}

.md-button.md-raised.new-btn.new-btn-no-bg {
  background: none;
}

/* New Input Style */

.new-input-wrapper, .new-input-wrapper .new-input-container,
.new-basic-select-wrapper, .new-basic-select-wrapper .new-basic-select-container {
  display: flex;
  position: relative;
  width: 100%;
}

.new-input-wrapper,
.new-basic-select-wrapper {
  flex-wrap: wrap;
}

app-input + .hints, app-select + .hints, app-basic-select + .hints {
  margin-top: 3px;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.004em;
  color: var(--n300);
}

.new-input-wrapper.has-prefix .new-input {
  padding-left: 54px;
}

.new-input-wrapper.has-suffix .new-input {
  padding-right: 54px;
}

.new-input-wrapper input,
.new-basic-select-wrapper select {
  font-size: 16px;
  line-height: 24px;
  width: 100%;
  outline: none;
  border: none;
  border-radius: 0px;
  padding: 24px 12px 8px 12px;
  transition: 0.1s ease-out;
  background: var(--secondary);
  /* border-bottom: 1px solid var(--border); */
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.15px;
  color: var(--n500)
}
.new-input-wrapper input[type="color"] {
  height: 56px;
}

.new-input-wrapper label,
.new-basic-select-wrapper label {
  position: absolute;
  font-size: 16px;
  font-weight: 400;
  left: 12px;
  right: 12px;
  top: calc(50% - 10px);
  color: var(--n300);
  transition: 0.1s ease-out;
  transform-origin: left top;
  pointer-events: none;
  margin-bottom: 0;
}

.new-input-section,
.new-basic-select-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.new-input-wrapper.has-prefix .icon {
  position: absolute;
  top: 18px;
  left: 18px;
}

.new-input-wrapper.has-suffix .icon,
.new-basic-select-wrapper .icon {
  position: absolute;
  top: 18px;
  right: 18px;
}

.new-input-wrapper.icon-by-input .icon {
  top: 24px;
}

/* New BASIC Select Style Animation */

.new-basic-select-wrapper select {
  padding: 18px 12px 14px 18px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

/* New Input Style Animation */

.new-input-section input ~ .bottom-divider-1,
.new-basic-select-section select ~ .bottom-divider-1 {
  background: var(--border);
}

.new-input-section input ~ .bottom-divider-2,
.new-basic-select-section select ~ .bottom-divider-2 {
  background: transparent;
}

.new-input-section input:focus ~ .bottom-divider-1,
.new-basic-select-section select:focus ~ .bottom-divider-1 {
  background: var(--primary);
}

.new-input-section input:focus ~ label,
.new-input-section input:not(:placeholder-shown) ~ label {
  top: 6px;
  font-size: 12px;
}

.new-input-section input:focus ~ label {
  color: var(--primary) !important;
}

.new-input-section input:not(:placeholder-shown) ~ label {
  color: var(--n300);
}

.new-input-wrapper.has-prefix label {
  left: 54px;
}

.new-input-wrapper.has-suffix label {
  right: 54px;
}

.new-input-wrapper input:disabled, .new-input-wrapper input:disabled ~ .label,
.new-basic-select-wrapper select:disabled, .new-basic-select-wrapper select:disabled ~ .label {
  opacity: 0.5;
}

/* iOS Switcher */

.ios-switcher .toggle {
  background-color: var(--n300);
  width: 20px;
  height: 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.ios-switcher.large .toggle {
    width: 35px;
    height: 17px;
}

.ios-switcher input {
  display: none;
}

.ios-switcher .slider {
  height: 10px;
  width: 10px;
  background-color: var(--white);
  border-radius: 50%;
  margin: 1px;
}
.ios-switcher.large .slider {
    height: 15px;
    width: 15px;
}
.ios-switcher input:checked + .toggle {
  background-color: var(--success);
}
.ios-switcher input.yellow:checked + .toggle {
  background-color: var(--primary);
}

.ios-switcher input:checked + .toggle > .slider {
  align-self: flex-end;
}

/* Accordion */

.accordion-wrapper {
	position: relative;
	display: flex;
	background-color: var(--white);
	flex-wrap: wrap;
}

.accordion-wrapper:hover .accordion-header {
	background-color: var(--hover);
}

/* .accordion-wrapper:hover .accordion-divider {
	left: 0;
	width: 100%;
} */

.accordion-wrapper .accordion-header {
	margin: auto;
  text-align: left;
	background-color: transparent;
  font-weight: 500;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: 0.0125em;
	color: var(--n400);
	cursor: pointer;
	padding: 20px;
	width: 100%;
	border: none;
	outline: none;
	transition: 0.4s;
}

.accordion-wrapper .accordion-header .icon {
	color: var(--n400);
  margin-top: -4px;
	margin-right: 4px;
}

.accordion-wrapper .accordion-content {
  padding: 20px;
  background-color: var(--white);
  overflow: hidden;
}

/* Table */

.new-table {
  width: 100%;
}

.new-table tr {
  box-shadow: inset 0px -1px 0px rgba(0, 0, 0, 0.12);
}

.new-table th {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.001em;
  color: var(--n300);
  padding: 16px;
}

.new-table td {
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.0025em;
  color: var(--n500);
  padding: 16px 24px;
}
.bg-review-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  left: 10px;
  bottom: 13px;
}
.new-input-wrapper .new-input.color-picker {
  padding-left: 35px;
}
.new-input-section-color {
  position: relative;
}