@charset "utf-8";

@import "../initial";
@import "variables";

html {
  font-size: 100%;
}

body {
  font-family: $sub-font;
  margin-top: 40px;
  border-top: solid 7px $body-border;
  font-size: 0.9em;
  padding: 0;
}

#layout-navigation a:link,
#layout-navigation a:visited {
  color:#31422d;
}

#layout-navigation a:hover,
#layout-navigation a:focus {
  color:#fff;
  text-decoration: underline;
}
a:link,
a:visited {
  color:$theme-color-main;
}

a:hover,
a:focus {
  color:$theme-color-second;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.admin-edit {
  clear: both;
}

// override bootsrap settings
th,
td {
  padding: 0.5em .5rem;
}

.borderless > tbody > tr > td,
.borderless > tbody > tr > th,
.borderless > tfoot > tr > td,
.borderless > tfoot > tr > th,
.borderless > thead > tr > td,
.borderless > thead > tr > th {
  border: none !important;
}

a.btn-primary {
  color: $theme-white;
  // border-color: transparent;
  // background-color: transparent;
  // font-size: 0.8125rem;

  // &:hover {
  //   background-color: transparent;
  //   border-color: transparent;
  // }
}

// Page heading
.page-module-title {
  @extend .unity-title;

  margin-bottom: 1.125em;
}

.view-count {
  font-size: 0.75rem;
}

.view_count {
  > i {
    font-size: 0.75rem;

    &:before {
      margin-right: 0.5em;
    }
  }
}

// // Take care of exceeding content
// body[data-module="page_content"],
// body[data-module="announcement"] {
//   .layout-content {
//     overflow-x: auto;
//   }
// }