@import url("https://fonts.googleapis.com/css?family=Roboto");

html,
body,
#root {
  height: 100%;
  width: 100%;
  /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
  font-family: Roboto;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}
@media screen and (max-width: 1300px) {
  html {
    font-size: 16px;
  }
}
input[type="date"],
input[type="datetime-local"],
input[type="datetime"],
input[type="week"],
input[type="time"],
input[type="month"] {
  display: -webkit-flex;
}
input::-webkit-inner-spin-button {
  display: inline-block;
}

/* input::-webkit-calendar-picker-indicator, */
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  display: none;
  -webkit-appearance: none;
}
input[type="month"]::-webkit-clear-button {
  display: none;
  -webkit-appearance: none;
}
/* Hide spin button when input type=number*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
}

::placeholder {
  /* white-space: pre-line; */
  position: absolute;
  top: -16px;
  text-overflow: ellipsis;
}

/*List Service*/
.icon-edit-list-service {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.edit-service-text-field {
  width: 80%;
}

.edit-service-submit {
  width: 20%;
}

.edit-service-submit-active {
  width: 100%;
  display: flex;
  box-sizing: border-box;
  /* margin-top: 24px; */
}

.img-flag {
  height: 16px;
  padding-right: 4px;
}

/* Switch React */
.rc-switch {
  float: right;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  width: 45px;
  height: 24px;
  line-height: 20px;
  vertical-align: middle;
  border-radius: 20px 20px;
  border: 1px solid #ccc;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.35, 0, 0.25, 1);
}
.rc-switch-inner {
  color: #fff;
  font-size: 12px;
  position: absolute;
  left: 24px;
}
.rc-switch:after {
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 1px;
  border-radius: 50% 50%;
  background-color: #fff;
  content: " ";
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
  transform: scale(1);
  transition: left 0.3s cubic-bezier(0.35, 0, 0.25, 1);
  animation-timing-function: cubic-bezier(0.35, 0, 0.25, 1);
  animation-duration: 0.3s;
  animation-name: rcSwitchOff;
}
.rc-switch:hover:after {
  transform: scale(1.1);
  animation-name: rcSwitchOn;
}
.rc-switch:focus {
  box-shadow: 0 0 0 2px #d5f1fd;
  outline: none;
}
.rc-switch-checked {
  border: 1px solid #4cd964;
  background-color: #4cd964;
}
.rc-switch-checked .rc-switch-inner {
  left: 6px;
}
.rc-switch-checked:after {
  left: 22px;
}
.rc-switch-disabled {
  cursor: no-drop;
  background: #ccc;
  border-color: #ccc;
}
.rc-switch-disabled:after {
  background: #9e9e9e;
  animation-name: none;
  cursor: no-drop;
}
.rc-switch-disabled:hover:after {
  transform: scale(1);
  animation-name: none;
}
.rc-switch-label {
  display: inline-block;
  line-height: 20px;
  font-size: 14px;
  padding-left: 10px;
  vertical-align: middle;
  white-space: normal;
  pointer-events: none;
  user-select: text;
}
@keyframes rcSwitchOn {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1.1);
  }
}
@keyframes rcSwitchOff {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Custom react-datetime*/
.rdtPicker {
  /* position: relative; */
}
#splashScreen {
  position: fixed;
  top: 50%;
  left: 50%;
}
