#global-header {
  position: relative;
}

#global-header-wrapper {
  background: #8F001A;
  height: 50px;
}

#uottawa-global-header {
  position: relative;
  height: 50px;
}

@media (max-width: 735px) {
  #uottawa-global-header {
    height: auto;
  }
}

/* ----------------------------------------------------- uOttawa Logo (Start) */
#uottawa-global-header #uottawa-logo {
  position: absolute;
  top: 48px;
  background: #8F001A;
  width: 160px;
  height: 48px;
  z-index: 100;
}
#uottawa-global-header #uottawa-logo a {
  background: url(../../images/uottawa_site_icons.png) no-repeat -120px 0px;
  background: rgba(0,0,0,0) url(../../images/uottawa_site_icons.png) no-repeat -120px 0px;
  background-size: 245px;
  height: 48px;
  width: 124px;
  display: block;
  position: absolute;
  left: 18px;
}

@media (min-width: 736px) and (max-width: 995px) {
  #uottawa-global-header #uottawa-logo a {
    width: 140px;
  }
}
  
#uottawa-global-header #uottawa-logo a:hover,
#uottawa-logo a:active,
#uottawa-logo a:focus {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
}

#uottawa-global-header #uottawa-logo img {
  width: auto;
  display: none;
  margin: 0 auto;
}

.lt-ie9 #uottawa-global-header #uottawa-logo img {
  display: block;
}

@media (max-width: 995px) {
  #uottawa-global-header #uottawa-logo {
    top: 0;
    height: 50px;
    width: 125px;
  }
  #uottawa-global-header #uottawa-logo a {
    height: 50px;
    background-position: -120px 6px;
    left: 0px;
  }
}

@media (max-width: 735px) {
  #uottawa-global-header #uottawa-logo a {
    background-position: -120px 6px;
  }
}
/* ------------------------------------------------------- uOttawa Logo (End) */


/* ------------------------------------------------ Language Switcher (Start) */
#uottawa-text-resize-content,
#uottawa-text-resize,
#uottawa-ch-lang-url {
  position: relative;
  float: right;
  text-transform: capitalize;
  color: #5C5C5C;
  text-decoration: none;
  right: 0;
  top: 10px;
  font-size: 16px;
  font-size: 1rem;
  display:inline-block;
  vertical-align:middle;
  width: 30px;
  height: 30px;
  line-height:30px;
  text-align: center;
  background: rgb(250,250,250);  /*Old browsers*/
  background: -moz-linear-gradient(top,  rgba(250,250,250,1) 59%, rgba(224,224,224,1) 100%); /*FF3.6+*/ 
  background: -webkit-gradient(linear, left top, left bottom, color-stop(59%,rgba(250,250,250,1)), color-stop(100%,rgba(224,224,224,1))); /*Chrome,Safari4+*/
  background: -webkit-linear-gradient(top,  rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%); /*Chrome10+,Safari5.1+*/
  background: -ms-linear-gradient(top,  rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%); /*IE10+*/
  background: linear-gradient(to bottom,  rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);  /*W3C*/
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#e0e0e0',GradientType=0 ); /*IE6-9*/
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}

#uottawa-ch-lang-url:hover {
  color: #D50702;
}
/* -------------------------------------------------- Language Switcher (End) */


/* --------------------------------------------------- Mobile Toggles (Start) */
@media (max-width: 735px) {
  
  #uottawa-global-header #uottawa-mobile-search-toggle,
  #uottawa-global-header #uottawa-mobile-nav-toggle {
    position: relative;
    float: right;
    top: 10px;
    width: 30px;
    height: 30px;
    margin-left: 10px;
    background: rgb(250,250,250);  /*Old browsers*/
    background: -moz-linear-gradient(top,  rgba(250,250,250,1) 59%, rgba(224,224,224,1) 100%); /*FF3.6+*/ 
    background: -webkit-gradient(linear, left top, left bottom, color-stop(59%,rgba(250,250,250,1)), color-stop(100%,rgba(224,224,224,1))); /*Chrome,Safari4+*/
    background: -webkit-linear-gradient(top,  rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%); /*Chrome10+,Safari5.1+*/
    background: -ms-linear-gradient(top,  rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%); /*IE10+*/
    background: linear-gradient(to bottom,  rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);  /*W3C*/
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#e0e0e0',GradientType=0 ); /*IE6-9*/
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
  }
  
  #uottawa-global-header #uottawa-mobile-nav-toggle,
  #uottawa-global-header #uottawa-mobile-search-toggle {
    -webkit-box-shadow: 1px 1px 3px #000 inset;
    box-shadow: 1px 1px 3px #000 inset;
  }
  
  #uottawa-global-header #uottawa-mobile-nav-toggle.uojs--hidden-nav,
  #uottawa-global-header #uottawa-mobile-search-toggle.uojs--hidden-search {
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  
  #uottawa-global-header #uottawa-mobile-nav-toggle:after,
  #uottawa-global-header #uottawa-mobile-search-toggle:after {
    content: '';
    display: block;
    height: 30px;
    width: 30px;
  }
  
  .lang-off #uottawa-global-header #uottawa-mobile-search-toggle {
    right: 0px;
  }
  
  #uottawa-global-header #uottawa-mobile-search-toggle:after {
    background: url(../../images/uottawa_site_icons.png) no-repeat -30px -30px;
    background: rgba(0,0,0,0) url(../../images/uottawa_site_icons.png) no-repeat -30px -30px;
    background-size: 367px;
  }
  
  #uottawa-global-header #uottawa-mobile-search-toggle:hover:after {
    background: url(../../images/uottawa_site_icons.png) no-repeat 0px -30px;
    background: rgba(0,0,0,0) url(../../images/uottawa_site_icons.png) no-repeat 0px -30px;
    background-size: 367px;
  }
  
  #uottawa-global-header #uottawa-mobile-nav-toggle:after {
    background: transparent url('../images/hamburger.svg') center center no-repeat;
  }
  
  #uottawa-global-header #uottawa-mobile-nav-toggle:hover:after {
    background: transparent url('../images/hamburger_hover.svg') center center no-repeat;
  }
}
/* ----------------------------------------------------- Mobile Toggles (End) */


/* ---------------------------------------------------- Global Search (Start) */
#uottawa-global-search {
  position: relative;
  float: right;
  margin-left: 10px;
  top: 10px;
  width: 240px;
}

#global-search-form:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
  overflow: hidden;
  visibility: hidden;
}

#uottawa-global-search-box {
  width: 210px;
  height: 30px;
  float:left;
}

#uottawa-global-search-box-label {
  position: absolute;
  visibility: hidden;
  top: -999px;
}

#uottawa-global-search-box-input {
  margin: 0;
  height: 30px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border: none;
  background: rgb(250,250,250);
  background: -moz-linear-gradient(top, rgba(250,250,250,1) 59%, rgba(224,224,224,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(59%,rgba(250,250,250,1)), color-stop(100%,rgba(224,224,224,1)));
  background: -webkit-linear-gradient(top, rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);
  background: -ms-linear-gradient(top, rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);
  background: linear-gradient(to bottom, rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);
  padding: 7px 5px;
  box-shadow: none;
  line-height: 1.4em;
}

#uottawa-global-search-options {
  display: none;
  position: absolute;
  top: 30px;
  z-index: 999999;
  padding: 10px;
  background: linear-gradient(to bottom, rgba(240,240,240,1) 59%,rgba(220,220,220,1) 100%);
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  width: 100%;
}

#uottawa-global-search.uojs--selected #uottawa-global-search-options {
  display: block;
}

#uottawa-global-search.uojs--selected #uottawa-global-search-box-input {
  border-bottom-left-radius: 0;
}

#uottawa-global-search.uojs--selected #uottawa-global-search-submit-wrapper{
  border-bottom-right-radius: 0;
}

@media (max-width: 735px) {
  #uottawa-global-search.uojs--selected #uottawa-global-search-options {
    display: none;
  }
  
  #uottawa-global-search #uottawa-global-search-box-input,
  #uottawa-global-search.uojs--selected #uottawa-global-search-box-input {
    border-radius: 3px;
  }
  
  #uottawa-global-search.uojs--selected #uottawa-global-search-submit-wrapper{
    border-bottom-right-radius: 3px;
  }
}

#uottawa-global-search-options.uojs--no-js {
  display: none;
}

#uottawa-global-search-options fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

#uottawa-global-search-options-close {
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;  
  background: transparent url('../images/close_search.png') right no-repeat;
  display: block;
  text-indent: -99999px;
}

#uottawa-global-search-options-close:hover {
  background: transparent url('../images/close_search_hover.png') right no-repeat;
}

#uottawa-global-search-submit-wrapper {
  height: 30px;
  width: 30px;
  float: left;
  background: rgb(250,250,250);
  background: -moz-linear-gradient(top, rgba(250,250,250,1) 59%, rgba(224,224,224,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(59%,rgba(250,250,250,1)), color-stop(100%,rgba(224,224,224,1)));
  background: -webkit-linear-gradient(top, rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);
  background: -ms-linear-gradient(top, rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);
  background: linear-gradient(to bottom, rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}

#uottawa-global-search-submit-wrapper:after {
  content: '';
  display:block;
  position: absolute;
  height: 26px;
  width: 30px;
  top: 3px;
  border-left: 1px solid #dedede;
}

#uottawa-global-search-submit {
  text-indent: -9999px;
  height: 30px;
  width: 30px;
  background: url(../../images/uottawa_site_icons.png) no-repeat -30px -30px;
  background: rgba(0,0,0,0) url(../../images/uottawa_site_icons.png) no-repeat -30px -30px;
  background-size: 367px;
  position: relative;
  z-index: 99;
  margin: 0;
}
  
#uottawa-global-search-submit:hover {
    background: url(../../images/uottawa_site_icons.png) no-repeat 0px -30px;
    background: rgba(0,0,0,0) url(../../images/uottawa_site_icons.png) no-repeat 0px -30px;
    background-size: 367px;
}

#uotttawa-a-z-link {
  position: relative;
  float: right;
  top: 10px;
  width: auto;
  line-height: 30px;
}

#uotttawa-a-z-link a {
  color: #E6E6E6;
  font-size: 12px;
  font-size: 0.75rem;
  text-decoration: none;
}

#uotttawa-a-z-link a:hover {
  text-decoration: underline;
}

#uottawa-text-resize {
  position: relative;
  float: right;
  margin-left: 10px;
  text-transform: none;
  cursor: pointer;
}

#uottawa-text-resize:hover {
  color: #D50702;
}

@media (max-width: 995px) {
  #uottawa-text-resize {
    display:none;
  }
}

@media (max-width: 735px) {
  #uottawa-global-search {
    position: absolute;
    top: 50px;
    right: 0;
    margin-left: -10px;
    margin-right: -10px;
    width: auto;
    background: #000;
    color: #fff;
    padding: 8px 11px;
    left: 0px;
  }
  
  #uottawa-global-search.uojs--no-js:before {
    content: none;
  }
  
  #uottawa-global-search:before {
    display: block;
    bottom: 100%;
    right: 15px;
    content: '';
    height: 0;
    width: 0;
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 7px solid #000;
  }
  
  #global-search-form {
    padding: 7px 12px;
    background: #222;
    border-radius: 3px;
  }
  
  #uottawa-global-search.uojs--hidden-search {
    display: none;
  }
  
  #uottawa-global-search-options {
    display: none;
  }
  
  #uottawa-global-search-submit {
    width: 100%;
    text-indent: 0;
    background: #222;
    color: #fff;
    text-transform: lowercase;
    margin: 0;
  }
  
  #uottawa-global-search-submit-wrapper,
  #uottawa-global-search-submit:hover {
    background: none;
  }
  
  #uottawa-global-search-submit:hover {
    color: #ff0202;
  }
  
  #uottawa-global-search-submit-wrapper {
    width: 30%;
  }
  
  #uottawa-global-search-box {
    width: 70%;
  }
  
  #uottawa-global-search-submit-wrapper:after {
    content: none;
  }
  
  #uotttawa-a-z-link {
    display: none;
  }
}
/* ------------------------------------------------------ Global Search (End) */



/* --Text Resize */
a#text_resize_decrease,
a#text_resize_increase {
  position: absolute;
  z-index: 99;
  top: 10px;
  right: 345px;
  margin: 0;
  padding: 0;
  text-transform: capitalize;
  color: #5C5C5C;
  text-decoration: none;
  font-size: 16px;
  font-size: 1rem;
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: rgb(250,250,250);
  background: -moz-linear-gradient(top, rgba(250,250,250,1) 59%, rgba(224,224,224,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(59%,rgba(250,250,250,1)), color-stop(100%,rgba(224,224,224,1)));
  background: -webkit-linear-gradient(top, rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);
  background: -ms-linear-gradient(top, rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);
  background: linear-gradient(to bottom, rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#e0e0e0',GradientType=0 );
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  text-indent: 0;
}

a#text_resize_decrease {
  right: 380px
}

@media (max-width: 735px) {
  a#text_resize_decrease {
    right: 150px;
  }
  
  a#text_resize_increase {
    right: 115px;
  }
}

#uottawa-text-resize > span {
  display: block;
}

#uottawa-text-resize-content-close {
  float:right;
  width: auto;
  cursor: pointer;
  text-transform: none;
}
#uottawa-text-resize-content-close:hover {
  text-decoration: underline;
  color: #D50702;
}


#uottawa-text-resize-content {
  display: none;
  top: auto;
  right: 0;
  position: absolute;
  width: 600px;
  height: auto;
  z-index: 999;
  text-align: left;
  font-family: Verdana;
  font-size: 11px;
  padding:5px 10px;
}

#uottawa-text-resize-content span {
  font-weight: bold;
  margin-bottom: 0;
}

#uottawa-text-resize-content p {
  margin-top: 0;
  line-height: 1.2em;
}

#uottawa-text-resize-content.uojs--shown,
.uojs--no-js #uottawa-text-resize:hover #uottawa-text-resize-content {
  display: block;
}

#uottawa-text-resize-content {
  text-transform: none;
}

#uottawa-text-resize .uoe--text-resize-small {
  font-size: 10px;
}
.uoe--language-switcher {
  height: 30px;
  position: relative;
  float: right;
  top: 10px;
  margin-left: 10px;
  width: auto;
}

/*
 * Language Switcher Styling
 */

.uoe--language-switcher:hover .uoe--switch,
html.js .uoe--language-switcher.uos--active .uoe--switch {
  border-radius: 3px 3px 0px 0px;
}
.uoe--language-switcher:hover .uoe--language-list,
html.js .uoe--language-switcher.uos--active .uoe--language-list {
  display: block;
}
.js .uoe--language-switcher:hover .uoe--switch {
  border-radius: 3px;
}
.js .uoe--language-switcher:hover .uoe--language-list {
  display: none;
}
.uoe--language-switcher .uoe--switch {
  position: relative;
  height: 30px;
  float: right;
  padding: 0px 10px 0px 4px;
  line-height: 30px;
  background: #fafafa;
  background: -moz-linear-gradient(top, rgba(250,250,250,1) 59%, rgba(224,224,224,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(59%,rgba(250,250,250,1)), color-stop(100%,rgba(224,224,224,1)));
  background: -webkit-linear-gradient(top, rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);
  background: -ms-linear-gradient(top, rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);
  background: linear-gradient(to bottom, rgba(250,250,250,1) 59%,rgba(224,224,224,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#e0e0e0',GradientType=0 );
  border-radius: 3px;
  z-index: 10000;
  font-size: 13px;
}
.uoe--language-switcher .uoe--switch .uos--invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.uoe--language-switcher .uoe--switch:link,
.uoe--language-switcher .uoe--switch:visited {
  color: #242424;
}
.uoe--language-switcher .uoe--switch:hover,
.uoe--language-switcher .uoe--switch:active {
  color: #8F001A;
}
.uoe--language-switcher .uoe--language-list {
  position: absolute;
  width: 100%;
  top: 29px;
  background-color: #F2F2F2;
  z-index: 9999;
  box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.15);
  border-radius: 0px 0px 3px 3px;
  display: none;
}
.uoe--language-switcher .uoe--language-list a:link,
.uoe--language-switcher .uoe--language-list a:visited {
  display: block;
  padding: 4px;
  border-top: 1px solid #E0E0E0;
  font-size: 12px;
  padding: 9px;
  position: relative;
}
.uoe--language-switcher .uoe--language-list a:hover,
.uoe--language-switcher .uoe--language-list a:active {
  background-color: #E0E0E0;
}
.uoe--language-switcher .uoe--language-list a.active {
  font-weight: bold;
  background-color: #E0E0E0;
  //display: none;
}
.uoe--language-switcher .uoe--globe-icon {
  background-image: url(../../images/icons-spritesheet.png);
  background-size: 200%;
  background-repeat: no-repeat;
  background-position: 0px -456px;
  margin: -7px 4px -7px 2px;
  position: relative;
  text-indent: 100%;
  display: inline-block;
  width: 24px;
  height: 24px;
  overflow: hidden;
  opacity: 0.8;
}
.uoe--language-switcher .uoe--close .uos--close-icon {
  background-image: url(../../images/icons-spritesheet.png);
  background-size: 200%;
  background-repeat: no-repeat;
  background-position: 0px -48px;
  margin: -11px;
  position: absolute;
  text-indent: -500px;
  white-space: nowrap;  
  display: inline-block;
  width: 24px;
  height: 24px;
  overflow: hidden;
  opacity: 0.8;
  right: 14px;
  top: 50%;
}

/*
 * Language Switcher Mobile Optimisation
 */

@media (max-width: 735px) {
  .uoe--language-switcher .uoe--text {
    display: none;
  }
  .uoe--language-switcher .uoe--switch {
    padding: 0px 0px 0px 2px;
  }
  .uoe--language-switcher .uoe--language-list {
    position: absolute;
    width: 100px;
    top: 35px;
    border-radius: 3px;
    display: none;
    overflow: hidden;
    right: 0px;
  }
  .uoe--language-switcher:hover .uoe--switch,
  html.js .uoe--language-switcher.uos--active .uoe--switch {
    border-radius: 3px;
  }
}
