  /* Portrait tablets and small desktops: MD */
@media only screen and (min-width: 768px) and (max-width: 992px) {

/*   .section {
    padding: 40px 0;
  } */

  .interior .content h2 {
    text-align: left;
  }

  .restrict {
    padding: 0 15%;
  }

  .ou-search-container {
    width: 100% !important;
  }

  #sidebar .navbar .row {
    width: auto;
  }

  #sidebar .navbar {
    margin: 0;
  }

  #sidebar {
    padding: 10px;
  }
}

/* Landscape phones and portrait tablets: SM */
@media only screen and (max-width: 767.5px) {
  .video-caption-button {
    left: 55px;
    bottom: 65px;
  }

/*   .section {
    padding: 20px 0;
  }
 */
  .restrict {
    padding: 0 15%;
  }

  .card.scale:hover {
    transform: none;
  }

  .calendar-item:hover {
    transform: none;
  }

  .border-on-mobile {
    border-bottom: 10px solid var(--primary-color);
    margin-bottom: 10px;
  }

  .nav-tabs .nav-link {
    display: block;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid var(--white);
  }

  .nav-pills {
    border: none;
  }

  .nav-pills .nav-link {
    padding: 2px;
    border-bottom: none;
  }

  .news .article .card .figure {
    float: none;
    width: 100%;
  }

  .news .article .card .figure img {
    margin: 0 0 10px 0;
  }

  .ou-search-container {
    width: 100% !important;
  }

  .feature .feature-wrap {
    display: block;
    margin-top: 50px;
    width: 100%;
  }

  .feature .feature-content {
    padding: 1rem;
    display: block;
  }

  #sidebar .navbar .row {
    width: auto;
  }

  #sidebar .navbar {
    margin: 0;
  }

  #sidebar {
    padding: 10px;
  }

  aside .navbar-nav .nav-link {
    padding: 5px;
    line-height: 24px;
    margin: 5px 0;
  }

  div.dataTables_wrapper div.dataTables_length,
  div.dataTables_wrapper div.dataTables_filter,
  div.dataTables_wrapper div.dataTables_info,
  div.dataTables_wrapper div.dataTables_paginate {
    text-align: left !important;
  }

  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center !important;
  }

  .font-size-xl {
    font-size: 46px;
  }

  .bg-image {
    position: relative;
  }

  .col-sm-6 + .col-sm-6 {
    padding-left: 15px;
  }
}

/* Portrait phones and smaller: XS */
@media only screen and (max-width: 480px) {
}

/*IE Issue Fixes*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #ou-search-results .ou-search-input {
    padding-bottom: 15px !important;
  }
}

@media only screen and (max-width: 992px) {
  /* Force table to not be like tables anymore */
  #directory-list table,
  #directory-list thead,
  #directory-list tbody,
  #directory-list th,
  #directory-list td,
  #directory-list tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  #directory-list thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  #directory-list tr {
    border: 1px solid #ccc;
    padding: 10px;
  }

  #directory-list td {
    border: none;
    position: relative;
    white-space: normal;
    text-align: left;
    padding: 0;
  }

  #directory-list td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }

  .table.directory tfoot {
    display: none;
  }

  .dataTables_wrapper .dataTables_info {
    white-space: normal !important;
  }

  /*
      Label the data
      */
  #directory-list td:before {
    content: attr(data-title);
  }

  .sidenav-accordion .sidenav-heading {
    cursor: pointer;
  }

  .sidenav-accordion .sidenav-heading:not(.collapsed)::after,
  .sidenav-accordion .sidenav-heading::after {
    display: block;
  }

  /* events box - start */
  .events-box {
    background: var(--light-gray);
    padding: 40px 20px;
  }

  .events-box .events-col {
    border-bottom: 2px solid var(--hilite-color);
    border-right: none;
    padding: 20px;
  }

  .events-box .events-col:last-of-type {
    border-bottom: none;
  }

  /* events box - end */

  /* program banner */
  .buttons-wrap {
    flex-flow: column nowrap;
  }

  .buttons-wrap .btn.btn-default {
    margin-right: 0;
  }

  .program-search form {
    margin: 0.75rem auto;
  }

  .program-search input[type="text"] {
    width: calc(100% - 24px);
  }
  /* program banner - end */
}

/* // Extra large devices (extra large desktops, 1370px and up) */
@media (min-width: 1370px) {
  .ou-search-container {
    width: 100% !important;
  }
}

/* // Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1369px) {
  .ou-search-container {
    width: 100% !important;
  }
}

/* Landscape tablets and medium desktops: LG */
@media (min-width: 992px) and (max-width: 1199px) {
/*   .section {
    padding: 40px 0;
  } */

  .sub-header h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 20px;
    line-height: 1.35em;
  }

  .btn-default {
    min-width: 110px;
  }

  .restrict {
    padding: 0 15%;
  }

  .ou-search-container {
    width: 100% !important;
  }
}

@media (min-width: 992px) {
  .sidenav-accordion .sidenav-heading {
    cursor: auto;
  }

  .sidenav-accordion .sidenav-heading:not(.collapsed)::after,
  .sidenav-accordion .sidenav-heading::after {
    display: none;
  }
}
