@import "variables";
@import "datatable";

button, .button {
  color: black;
  text-decoration: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.4;
  margin: 0.5em 1em 0.5em 0;
  padding: 0.5em 1.25em;
  border: 1px solid #999;
  background: #ebebeb;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, .75);
  background: linear-gradient(to bottom,  #dedede 0%,#f9f9f9 100%);

  &:hover, &:focus, &:active {
    border-color: #333;
    color: #333333;
    text-decoration: none;
    background: linear-gradient(to top,  #dedede 0%, #f9f9f9 100%);
  }

  &:active {
    background: #ddd;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, .25);
  }
}

@mixin button-tint($color) {
  background: linear-gradient(to top, lighten($color, 20) 0%, $color 100%);
  color: darken($color, 40);
  border-color: currentColor;

  &:hover, &:focus, &:active {
    background: linear-gradient(to bottom, lighten($color, 20) 0%, $color 100%);
    color: darken($color, 45);
  }

  &:active {
    box-shadow: inset 0 2px 2px darken($color, 10);
  }
}

button.warning {
  @include button-tint(#ff9a87);
}

button.success {
  @include button-tint(#aede6c);
}

.as-label {
  color: #286f94;
  font-size: 17px;
  margin-top: 14px;
  font-family: Avenir Next, Proxima Nova, 'proxima-nova', Segoe UI, Helvetica Neue, sans-serif;
}

#main {
  margin: 36px 0;
}

#main-content {
  padding-top: 0;

  .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1em;
  }
}

.adsr-icon {
  font-size: 15em;
  color: #bbbbbb;
}

#site-header .container {
  display: block;
}

nav#main-navigation {
  display: table;

  .list-menu {
    padding-left: 0;

    a {
      padding: 0.75em 1.5em 0.65em;
    }
  }
}

body > footer.band a {
  text-decoration: underline;

  &:hover, &:focus {
    color: #dbe3ec !important;
  }

  &:active {
    color: white !important;
  }
}

#quick-search-query {
  &:focus {
    box-shadow: 0 0 1px 3px #b5def9;
  }
}

#cu-search-band form{
  margin: 0 1em;
}

#search-form-query {
  &:focus {
    box-shadow: 0px 0px 0px 4px -webkit-focus-ring-color;
    box-shadow: 0px 0px 0px 4px Highlight;
    outline: none;
    border-radius: 0.25em;
  }
}

%sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sr-only {
  @extend %sr-only;
}


