/*
Switch

Switch styles from trimble css

Markup:
Switch:
<div class="switch">
        <input class="switch-input" id="exampleSwitch" type="checkbox" name="exampleSwitch">
        <label class="switch-paddle" for="exampleSwitch">
            &nbsp;
        </label>
</div>

Styleguide UI Elements.switch
*/
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

h1 {
  margin: 1rem 0;
  font-size: 1.5rem;
  font-weight: 300;
}

h2 {
  font-size: 1.25rem;
}

h3 {
  font-size: 1rem;
}

h4, p {
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

h5 {
  font-size: 0.75rem;
}

h4 {
  font-weight: 600;
}

/* @import url('https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'); */
/* @mixin border-radius{
  border-radius: 2px;
} */
/* box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2); */
.end {
  display: flex;
  justify-content: flex-end;
}

.align-center {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}

.switch {
  position: relative;
  outline: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.switch-input {
  position: absolute !important;
  margin-bottom: 0;
  opacity: 0;
}

input + .switch-paddle {
  margin: 0;
}

input:checked ~ .switch-paddle {
  background: #005F9E;
}

input:checked ~ .switch-paddle::after {
  left: 1.6rem;
}

.switch-paddle {
  position: relative;
  display: block;
  width: 2.75rem;
  height: 1.25rem;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  border-radius: 20px;
  background: #D0D0D7;
  -webkit-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
  font-weight: inherit;
  color: inherit;
  cursor: pointer;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.switch-paddle::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  border-radius: 50%;
  background: #FFFFFF;
  -webkit-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
  content: '';
}

.switch-label {
  margin-left: 1rem;
  color: #6A6976;
}
