/*
Buttons

Buttons styles from trimble css

Markup:
<div>
<button class="button default">default button</button>
</div>
<br/>
<div>
<button class="button small">small button</button>
</div>
<br/>
<div>
<button class="button expanded">expanded button</button>
</div>
<br/>
<div>
<button class="button small">
    <i class="icon add"></i>icon button
</button> 
</div>
<br/>
<div>
<button class="button default" disabled="disabled">Disabled button</button>
</div>
<br/>
<div>
<button class="button secondary">Secondary button</button>
</div>

Styleguide Form Elements.button
*/
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;
}

button, .button {
  background-color: #005F9E;
  color: #FFFFFF;
  outline: 0;
  border: none;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  border-radius: 2px;
  text-transform: uppercase;
  margin-left: 0.5rem;
  font-size: 0.75rem;
  display: flex;
  cursor: pointer;
  justify-content: center;
}

button:hover, .button:hover {
  background-color: #197CB6;
}

button:focus, .button:focus {
  background-color: #07599B;
}

button.clear, .button.clear {
  height: 40px;
  line-height: 40px;
  background: none;
  border: none;
  padding: 0;
  color: #005F9E;
  font-size: 0.875rem;
}

button.clear:hover, .button.clear:hover {
  background-color: transparent;
}

button.clear:focus, .button.clear:focus {
  background-color: transparent;
}

button.default, .button.default {
  height: 40px;
  line-height: 40px;
  padding: 0 2rem;
  font-size: 0.875rem;
}

button.small, .button.small {
  height: 32px;
  line-height: 32px;
  padding: 0 1rem;
}

button.expanded, .button.expanded {
  height: 40px;
  line-height: 40px;
  padding: 0 2rem;
  font-size: 0.875rem;
  width: 100%;
}

button.secondary, .button.secondary {
  height: 40px;
  line-height: 40px;
  padding: 0 2rem;
  font-size: 0.875rem;
  background-color: #363545;
  color: #F3F3F7;
}

button.icon-w-text, .button.icon-w-text {
  padding-left: 0;
}

button i, .button i {
  width: 32px;
  height: 32px;
}

button i.add, .button i.add {
  background-image: url("../images/Icons/icon_add.svg");
  background-repeat: no-repeat;
  filter: grayscale(100%) brightness(5);
}

.disabled, .button:disabled, button[disabled] {
  opacity: .4;
  cursor: not-allowed;
}
