/**
 * Allows you to use retina images at various pixel densities.
 * Examples:
 *
 *   @include retina(/images/mypic.jpg, 2);
 *   @include retina(/images/mypic.jpg, 3, 100px 100px, left top no-repeat transparent);
  @include retina('/images/title-zfgl.jpg', 2, cover, center center no-repeat);
 *
 * @param  {Value}  $path               The path to the file name minus extension.
 * @param  {Number} $cap:    2          The highest pixel density level images exist for.
 * @param  {Value}  $size:   auto auto  The intended width of the rendered image.
 * @param  {Value}  $extras: null       Any other `background` values to be added.
 */
html {
  font-size: 16px;
}

@media only screen and (max-width: 576px) {
  html {
    font-size: 14px;
  }
}

h1,
h2,
h3 {
  font-weight: 700;
}

a:link,
a:visited {
  color: #161616;
  text-decoration: none;
}

a:hover {
  color: #a5231d;
}

.button-primary {
  color: #fff !important;
}

.gshadow {
  -webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  border-radius: 0.5rem;
}

.gshadow:hover {
  -webkit-box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
}

.bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.morelink {
  margin-top: auto;
  margin-bottom: auto;
  min-width: 1.5rem;
  text-align: center;
  display: block;
  opacity: 0.7;
}

.morelink:hover {
  opacity: 1;
}

.bgcover, .jumbotron {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.fsection {
  background-color: #f8f9fa;
  padding-top: 1.125rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid #dee2e6;
}

.fsection .section-title {
  color: #134857;
  font-size: 1.64rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.fsection .section-title:after {
  display: block;
  content: "";
  clear: both;
  height: 0;
  margin-bottom: 0;
  visibility: hidden;
}

.fsection:after {
  display: block;
  content: "";
  clear: both;
  height: 0;
  margin-bottom: 0;
  visibility: hidden;
}

.fsection p:after {
  display: block;
  content: "";
  clear: both;
  height: 0;
  margin-bottom: 0;
  visibility: hidden;
}

.link-primary {
  font-size: 1.25rem;
  color: #144a74 !important;
}

.b-bar {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.b-bar:after {
  display: block;
  content: "";
  clear: both;
  height: 0;
  margin-bottom: 0;
  visibility: hidden;
}

.jumbotron {
  background-image: url(/images/bg-reply-texture.jpg);
}

.promos-section {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}

.promos-section .row > div {
  margin-bottom: 1rem;
}

.promos-section img {
  max-width: none;
  border-radius: 4px;
  width: 100%;
}

.promos-section h3 {
  font-size: 1rem;
  text-align: center;
  margin-top: 1rem;
}

.breadcrumb {
  padding: 0.3rem 0;
  margin: 0 .5rem;
}

@media (max-width: 768px) {
  .breadcrumb {
    margin: 0;
  }
}

.breadcrumb a {
  color: #adb5bd;
}

.breadcrumb a:last-child {
  color: #134857;
}

.breadcrumb a:hover {
  color: #a5231d;
}

.breadcrumb a + a:before {
  display: inline-block;
  padding-right: 0.8rem;
  padding-left: 0.5rem;
  color: #6c757d;
  content: '/';
}

@media only screen and (max-width: 576px) {
  .breadcrumb a + a:before {
    padding-left: 0;
    padding-right: 0.5rem;
  }
}

@media (max-width: 991px) {
  .order-lg {
    order: -1;
  }
}

.table-list {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

.table-list th {
  background-color: #ececec;
  border: 1px solid #d2d2d2;
  padding: 5px 8px;
  text-align: center;
  font-size: 16px;
}

.table-list td {
  background-color: #fff;
  padding: 5px 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  word-break: break-word;
}

.table-list div {
  word-break: break-all;
}

.table-list .tb-row td {
  background-color: #f5f5f5;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -50%, 0);
    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
  }
  to {
    opacity: 1;
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    -ms-transform: none;
  }
}

.navbar-subject {
  background-color: #8a360c;
}

.theme-yearbook .section-title {
  color: #8a360c;
}

.theme-yearbook .section-title::before {
  background-color: #8a360c;
}

.theme-yearbook .link-primary {
  color: #111 !important;
}

.theme-yearbook .link-primary:hover {
  color: #8a360c !important;
}

.theme-yearbook .qrcode {
  max-width: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
