/*Geneneral tooling*/

/*for links that were ocnverted to buttons*/
.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

/*for skipnavs when they have focus*/
.skipnav {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem !important;
  border: 0px solid #971d20;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  color: #971d20 !important;
  display: flex;
  font-family: inherit;
  font-size: 1rem !important;
  height: auto !important;
  justify-content: center;
  line-height: 1rem !important;
  margin: 1rem;
  opacity: 0;

  position: absolute;
  text-align: center;

  transform: translateY(-4rem);
  width: auto !important;	  width: 0 !important;
  padding: 0;
  overflow: hidden;

  z-index: 9000;
}
.skipnav:focus {
  opacity: 1;
      border: 5px solid #971d20;
  transition: opacity 100ms ease, transform 250ms ease;
  transform: translateY(0);
    width: auto !important;
  padding: 2rem;
}

/*HAMBURGER MENU*/
.glyphicon-menu-hamburger.no-padding {
  margin: 0;
}

.glyphicon-menu-hamburger {
  margin-top: 20px;
  border-radius: 4px !important;
  border: 1px solid transparent;
  transition: color 200ms ease, border-color 300ms ease;
}

.glyphicon-menu-hamburger:focus {
  border: 1px solid #971d20 !important;
  color: #971d20;
}

/*HAMBURGER MENU*/
.header #myNav .closebtn {
  padding: 0;
}

.header #myNav.hidden-menu {
  opacity: 0;
  transition: opacity 550ms ease;
}

.header #myNav.hidden-menu .closebtn,
.header #myNav.hidden-menu .overlay-content {
  display: none;
}

.header #myNav.visible-menu {
  display: block;
  opacity: 1;
}

.header #myNav .overlay-content a {
  box-sizing: border-box;
  border: 1px solid transparent;
}

.header #myNav .overlay-content ul {
  margin: 0.25rem 0;
}

.header #myNav .overlay-content a:focus {
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/*SEARCH*/
.header .toggle-search {
  display: block;
  color: #444;
  align-self: center;
  margin-left: auto;
  transition: color 500ms ease;
  box-sizing: border-box;
  padding-bottom: 6px;
  border-bottom: solid 5px transparent;
  margin-top: 6px;
}

.header .toggle-search:focus {
  color: #971d20 !important;
  border-bottom: solid 5px #971d20;
  border-radius: 0;
}

/*HEader IMg*/
.headerpar a {
  border-bottom: solid 5px transparent;
}
.headerpar a:focus {
  box-sizing: border-box;
  border-bottom: solid 5px #971d20;
}

.headerpar a .pb-5.image {
  padding-bottom: 0 !important;
}

/*COOKIE CONSENT*/
.cc-link {
  opacity: 0.8;
}

.cc-link:focus,
.cc-link:hover {
  opacity: 1;
  color: #fff !important;
}

/*This fixes the side-navigation appearance*/
.nav.nav-tabs > li > a:focus,
.nav.nav-tabs > li > a:focus-within {
  background: linear-gradient(#ffffff, #efefef) !important;
  text-decoration: underline;
}

.nav.nav-tabs > li > a:focus i,
.nav.nav-tabs > li > a:focus-within i {
  opacity: 1;
}

/*This fixes the blue buttons everywhere*/
.btn-group .btn:focus,
.btn-group .btn:focus a:focus-within {
  text-decoration: underline;
}

.ou-btn:focus,
.mcbox a:focus,
.mcbox a:focus-within {
  text-decoration: underline;
  background-color: #1970a4;
  border-bottom: 2px solid #126393;
}

/*Side Navigation menu Focus fixes*/
#main_navigation li a:focus {
  background-color: #ffffff;
  text-decoration: underline;
}

/*Breadcrumb*/

.breadcrumb,
.breadcrumb a,
.breadcrumb label {
  font-size: 12px;
  line-height: 18px;
  height: 18px;
  display: flex;
  padding: 0;
}

.breadcrumb label {
  cursor: auto;
}

.breadcrumb {
  align-items: center;
  align-content: center;
  justify-content: flex-start;
  margin-left: 0;
}

.breadcrumb a,
.breadcrumb label {
  display: flex !important;
  box-sizing: border-box;
  padding: 0 6px;
  margin: 0;
}

.breadcrumb a:first-child {
  padding: 0;
  margin-right: 6px;
  z-index: -200;
}

.breadcrumb a:focus {
  text-decoration: none;
  border-bottom: 2.5px solid #971d20;
  margin-bottom: -2.5px;
}

/*CAROUSEL*/
.webcomm-carousel .carousel-indicators li {
  box-sizing: border-box;
  transition: box-shadow 300ms ease, background-color 150ms ease;
}
.webcomm-carousel .carousel-indicators li:focus {
  border: 1px solid #971d20;
  box-shadow: 0px 0px 4px 2px #971d20 !important;
}

.webcomm-carousel .carousel-control {
  box-sizing: border-box;
  transition: opacity 150ms ease, color 150ms ease;
  opacity: 0.9 !important;
  color: rgb(190, 190, 190) !important;
}

.webcomm-carousel .carousel-control:focus {
  text-decoration: underline;
  opacity: 1 !important;
  color: rgb(255, 255, 255) !important;
}

.webcomm-carousel .webcomm-carousel-actionLink {
  box-sizing: border-box;
}
.webcomm-carousel .webcomm-carousel-actionLink:focus {
  text-decoration: underline !important;
  background-color: #154765 !important;
  border-bottom: 2px solid #126393 !important;
}

/*This fixes the social icons in the footer*/
.footer .facebook,
.footer .twitter,
.footer .instagram,
.footer .youtube,
.footer .googleplus,
.footer .linkedin,
.footer .more {
  border: 1px solid transparent;
  border-radius: 10px;
  box-sizing: border-box;
}

.footer .facebook:focus,
.footer .facebook:focus-within {
  background-position: -46px 0 !important;
  border: 1px solid #fff;
}

.footer .twitter:focus,
.footer .twitter:focus-within {
  background-position: -46px -46px !important;
  border: 1px solid #fff;
}

.footer .instagram:focus,
.footer .instagram:focus-within {
  background-position: -46px -138px !important;
  border: 1px solid #fff;
}

.footer .youtube:focus,
.footer .youtube:focus-within {
  background-position: -46px -92px !important;
  border: 1px solid #fff;
}

.footer .googleplus:focus,
.footer .googleplus:focus-within {
  background-position: -46px -230px !important;
  border: 1px solid #fff;
}

.footer .linkedin:focus,
.footer .linkedin:focus-within {
  background-position: -46px -184px !important;
  border: 1px solid #fff;
}

.footer .more:focus,
.footer .more:focus-within {
  background-position: -46px -368px !important;
  border: 1px solid #fff;
}

/*footerBottom*/
.footerBottom a:focus {
  text-decoration: underline;
}

/*Search Page CSS fixes*/
a:focus {
  outline: none;
}

.closebtn {
  color: #fff;
}

#searchnav-page a:focus {
  background-color: #fff;
  border-radius: 0;
  border-bottom: 5px solid #971d20;
}

.gsc-wrapper a:not(.gs-image):focus {
  box-sizing: border-box;
  border-radius: 0;
  border-bottom: 2px solid #971d20;
}
.gsc-wrapper .gs-image img {
  box-sizing: border-box;
}

.gsc-wrapper .gs-image:focus img {
  border: 2px solid #971d20;
}

.gsc-cursor-page {
  padding: 4px;
  box-sizing: border-box;
}
.gsc-cursor-page:focus {
  border-bottom: 5px solid #971d20 !important;
}
.gsc-selected-option-container {
  box-sizing: border-box;
}
.gsc-selected-option-container:focus {
  border: 1px solid #971d20 !important;
}

.gsc-option-menu:focus {
  border: 1px solid #971d20 !important;
}

.pages li {
  box-sizing: border-box;
}

.pages li:focus {
  border: 1px solid #971d20 !important;
}

/*Global Header CSS Fixes*/
/*Global Header - LEGACY*/
.tip:focus span::before {
  content: '';
  width: 100%;
  display: block;
  background-image: url(http://www.ou.edu/content/dam/common/design2013/ou-globalheader-tiparrow.png);
  background-repeat: no-repeat;
  background-position: top center;
  bottom: 100%;
  left: 0;
  height: 9px;
  position: absolute;
}

.tip:focus span {
  position: absolute;
  z-index: 25;
  top: 135%;
  left: -3.75em;
  width: 8em;
  text-align: center;
  color: #fff;
  font-size: 90%;
  white-space: nowrap;
  display: block;
  margin: 0;
  padding: 0.25em 1em;
  border: 1px solid #444;
  background-image: url(http://www.ou.edu/content/dam/common/design2013/bg_black.gif);
  background-repeat: repeat;
}
.tip.home:focus {
  background-position: 0 -30px !important;
}

.tip.search:focus {
  background-position: -30px -30px !important;
}
/*Global Header - LEGACY*/
.tip:hover,
.tip:focus {
  background-color: #e8e8e8;
  color: #000 !important;
  border-radius: 0 !important;
}

/*QUICKLINKS*/
.quicklinks a:focus {
  color: #444444;
  opacity: 1;
  text-decoration: underline;
}

/*Image.. link?*/

/* .image.parbase a,
.textimage.parbase a {
  box-sizing: border-box;
  border: 2px solid transparent;
}
.image.parbase a:focus,
.textimage.parbase a:focus {
  border: 2px solid #fff;
} */

.image.parbase a img,
.textimage.parbase a img {
  box-sizing: border-box;
  border: 4px solid transparent;
}

.image.parbase a:focus img,
.textimage.parbase a:focus img {
  border: 4px solid #971d20;
}

/*Search Input*/
/*Smooth animation tween and better contrast*/
#search-open input,
#search-open,
#ouwebsearch,
#ouwebsearch .search-bar {
  display: flex;
  flex-grow: 1;
}

#search-open {
  overflow: hidden;
}

#search-open.collapse {
  height: 0;
  transition: height 500ms ease;
}
#search-open.collapsing,
#search-open.collapse.in {
  height: 68px !important;
}

#ouwebsearch .search-bar .searchbox,
#ouwebsearch .search-bar .searchimage {
  background-color: transparent !important;
}

#ouwebsearch .search-bar,
#search-open input {
  background-color: #eeeeee;
  transition: background-color 500ms ease, border-color 250ms ease;
  font-size: 20px;
  display: flex;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

#ouwebsearch .search-bar {
  border-left: 1px solid #eaeaea;
  border-right: 1px solid #eaeaea;
}

#ouwebsearch .search-bar:focus-within,
#search-open input:focus {
  background-color: #f8f8f8;
  color: #111111;
  border-top: 1px solid #971d20;
  border-bottom: 1px solid #971d20;
}

#ouwebsearch .search-bar:focus-within {
  border-left: 1px solid #971d20;
  border-right: 1px solid #971d20;
}

/* New Template Hotfixes (/apply page) */
@media (max-width: 991px) {
  .navbar .nav-item.dropdown .dropdown-menu .dropdown-item {
    display: none;
  }

  .navbar .nav-item.dropdown.show .dropdown-menu .dropdown-item,
  .navbar .nav-item.dropdown.showing .dropdown-menu .dropdown-item,
  .navbar .nav-item.dropdown.hiding .dropdown-menu .dropdown-item {
    display: flex !important;
  }

  .navbar .navbar-toggler {
    border: 1px solid transpparent;
    transition: border-color 500ms ease, background-color 500ms ease;
  }

  .navbar .navbar-toggler:hover,
  .navbar .navbar-toggler:focus {
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
  }

  .navbar .navbar-toggler.toggled:hover,
  .navbar .navbar-toggler.toggled:focus {
    background-color: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.7);
  }
}
