/*
* @file uza_base.css
*/
/* Overrides system.base.css to fix an issue where whitespace was added at the bottom of all pages */
.clearfix:after {
  content: '' !important;
}

.marker,
.form-message {
  color: #A00 !important;
}

/* Skip Links */

.skip-links ul li:before {
  content: '';
  display: inline;
}

.skip-links ul {
  margin: 0;
  padding: 0;
}

.skip-links ul li {
  margin: 0;
}

/* New HTML5 elements default */
article, aside, footer, header, hgroup, main, nav, section,
figure, figure > a, figcaption, details, summary {
  display: block;
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  background: #F2F2F2
}

body {
  margin:0;
  padding:0;
  word-wrap: break-word;
}

@media (max-width: 995px) {
  body {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    -webkit-hyphenate-limit-after: 3;
    -webkit-hyphenate-limit-before: 4;
    -ms-hyphenate-limit-zone: 70%;
  }
}

div {
  width: 100%;
}

summary {
  cursor: pointer;
}

main {
  padding-bottom: 50px;
}

.uos--landing main {
  padding-top: 45px;
}

/* Link Styles (Start) */
.uos--pseudo-link,
a, a:visited, a:active {
  text-decoration: underline;
  color: #8F001A;
}

.uos--pseudo-link:hover,
.uos--pseudo-link:hover *,
a:hover,
a:hover * {
  text-decoration: none;
  cursor: pointer;
}
/* Link Styles (End) */

hr {
  border: none;
  height: 1px;
  background-color: #dedddd;
  margin-top: 15px;
  margin-bottom: 15px;
}

p {
  margin: 1em 0;
}

sup, sub {
  line-height: 12px;
}

figure {
  padding: 0;
  margin: 1em 0;
}

img {
  border: 0;
  width: 100%;
  display: block;
}

dt {
  font-weight: bold;
}

figure img {
  height: auto;
}

/* Blockquote Styles (Start) */
blockquote:before, blockquote:after {
  content: "";
}

blockquote {
  width: 100%;
  margin: 0;
  padding-left: 1.5em;
}
/* Blockquote Styles (End) */

/* Footer always at bottom & background image */
#page-wrapper {
  min-height: 100%;
  position: relative;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat:no-repeat;
}

/* Toolbar Fixes (Start) */
#toolbar,
#toolbar div {
  width: auto;
  float: none;
}

#toolbar * {
  width: auto;
}

#toolbar ul li:before {
  content: '';
  display: inline;
}
/* Toolbar Fixes (End) */

/* Drupal Status Fixes (Start) */
/* To be moved to system.messages.css when the time comes */
#drupal-status ul li {
padding-left: 0;
}

#drupal-status ul li:before {
  content: '';
  display: inline;
}

#drupal-status img {
  width: auto;
}

/*Views pager modification*/
ul.pager > li:before {
  content: none;
  display: inline;
}

ul.pager > li {
  margin: 0;
}

/* Padding override used for DCL in page navigation */
.uodv-col--right{
  padding-left: 9px;
}

/* Text decoration override for uottawa_location small-block */
.uottawa-map-poi--small-block
.uos--pseudo-link,
a, a:visited, a:active {
  text-decoration: none;
  color: #8F001A;
}

/* Header h* centering */
.uos--header-center h1,
.uos--header-center h2,
.uos--header-center h3,
.uos--header-center h4,
.uos--header-center h5,
.uos--header-center h6 {
  margin-right: auto;
  margin-left: auto;
  text-align : center;
  background-color: rgba(0, 0, 0, 0);
  border: none;
  color: #000;
  font-size: 2.8125rem;
}

/* Focus-related styling */
.not-touch-screen *:focus {
  outline: none;
}

.uos--tab-focus-outline,
*:focus.uos--tab-focus-outline,
#global-navigation .uos--tab-focus-outline {
  outline: 2px solid #ff9000;
  outline-offset: 1px;
  position: relative;
  transition-property: none;
  z-index: 9999999;
}
