/* ====================== TABLET ====================== */

@media only screen and (max-width: 1024px) {

  .mw980 {
    width: 90%;
  }

  #sign-in {
    font-size: 11px;
  }

  .section-divider h2 {
    width: 45%;
  }

  nav#main-nav li {
    font-size: 16px;
  }

  #search-door.garage-doors.open {
    height: 100px;
  }

  #garage-doors-wrapper #search form {
    padding: 30px 0;
  }

  .magazine-landing-page #campus-news li {
    width: 40%;
  }

  .magazine-landing-page #campus-news li h3 {
    font-size: 14px;
  }

  .page-taxonomy-term h3, .cover-story h3, .teaser h3 {
    line-height: normal;
  }

} /* END TABLET */


/* ====================== MOBILE ====================== */

@media only screen and (max-width: 767px) {

  #garage-doors-wrapper i.fa-search {
    top: 0;
    right: 0;
  }

  nav #toggle,
  #mb-search {
    display: block;
  }

  a#mb-search {
    float: right;
    display: block;
    position: absolute;
    top: 12px;
    right: 0;
    color: #fff;
  }

  header {
    text-align: left;
  }

  header div.menu {
    padding: 5px;
    min-height: inherit;
    position: relative;
  }

  nav#main-nav #mb-logo {
    width: 100px;
    margin: 0 auto;
    display: block;
  }

  nav#main-nav #mb-logo img {
    vertical-align: -webkit-baseline-middle;
  }

  nav#main-nav li:first-of-type {
    padding-left: 10px;
  }

  nav#main-nav li:last-of-type {
    padding-right: 5px;
  }

  .page-magazine-search header input#edit-search-magazine {
    width: 250px;
  }

  #footer section {
    width: 100%;
  }

  #footer [class*='col-'] {
    padding-left: 0;
    padding-right: 0;
  }

  #footer [class*='col-'].mb-section {
    display: block;
    width: 100%;
    border-bottom: 1px solid #b1b1b1;
  }

  #footer nav {
    margin-top:  0;
  }

  #footer img {
    display: none;
  }

  #footer nav ul {
    display: none;
  }

  #footer h4,
  #footer nav li {
    font-size: 13px;
    font-weight: normal;
  }

  #footer .mb-section.active h4 {
    font-weight: 600;
  }

  #footer nav .mb-section.active ul {
    display: block;
  }

  #footer h4 {
    padding: 10px 0;
    cursor: pointer;
  }

  #footer h4:after {
    content: '+';
    float: right;
    font-size: 14px;
    font-weight: normal;
    margin-top: -2px;
    margin-right: 8px;
    -webkit-transition: -webkit-transform .3s ease;
    transition: -webkit-transform .3s ease;
    transition: transform .3s ease;
    transition: transform .3s ease, -webkit-transform .3s ease

  }

  #footer .mb-section.active h4:after {
    -webkit-transform: rotate(45deg) scale(1.08);
    -ms-transform: rotate(45deg) scale(1.08);
    transform: rotate(45deg) scale(1.08);
  }



  /* MOBILE HAMBURGER NAV */
  #toggle {
    position: absolute;
    z-index: 3;
    width: 1.8571428571em;
    height: 1.8571428571em;
    top: 0;
    left: 0;
    margin: 10px 0 0 10px;
    cursor: pointer;
  }
  #toggle span {
    display: block;
    position: absolute;
    width: 100%;
    height: 0.2em;
    margin: 1em 0 0 0;
    background: #eee;
    -webkit-transition: 350ms ease all;
    -moz-transition: 350ms ease all;
    transition: 350ms ease all;
  }
  #toggle span:before, #toggle span:after {
    content: " ";
    position: absolute;
    width: 100%;
    height: 0.2em;
    background: #eee;
    -webkit-transition: 350ms ease all;
    -moz-transition: 350ms ease all;
    transition: 350ms ease all;
  }
  #toggle span:before {
    margin: -.75em 0 0 0;
  }
  #toggle span:after {
    margin: .75em 0 0 0;
  }
  #toggle.open span {
    background-color: transparent;
  }
  #toggle.open span:before, #toggle.open span:after {
    margin: 0;
  }
  #toggle.open span:before {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  #toggle.open span:after {
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }

  #menu {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background: #001a57;
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    transform: scale(1.5);
    -webkit-transition: 350ms ease all;
    -moz-transition: 350ms ease all;
    transition: 350ms ease all;
  }
  #menu.opened {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 350ms ease all;
    -moz-transition: 350ms ease all;
    transition: 350ms ease all;
  }
  #menu span#title {
    display: block;
    margin: 10px auto;
    width: 100px;
  }
  #menu ul {
    list-style: none;
    margin: 0 auto;
  }
  #menu ul li {
    display: block;
    width: 90%;
    height: 65px;
    margin: 0 auto 0.5em auto;
  }
  #menu ul li:after {
    content: " ";
    position: absolute;
    width: 0%;
    height: 65px;
    margin: -65px 0 0 7%;
    left: 0;
    background: #fff;
    border-radius: 0.25em;
    -webkit-transition: 350ms ease all;
    -moz-transition: 350ms ease all;
    transition: 350ms ease all;
  }
  #menu ul li:hover:after {
    width: 86%;
  }
  #menu ul li a {
    position: relative;
    z-index: 4;
    display: block;
    width: 100%;
    height: 65px;
    line-height: 65px;
    margin: 0 auto;
    color: #fff;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 0.2em;
    -webkit-transition: 350ms ease all;
    -moz-transition: 350ms ease all;
    transition: 350ms ease all;
  }

  #menu #sign-in {
    color: #fff;
    padding: inherit;
    font-size: 16px;
  }

  #menu ul li a:hover {
    color: #001a57;
    border-color: #fff;
  }


  #search-door.garage-doors.open {
    height: 70px;
  }

  #garage-doors-wrapper #search form {
    padding: 10px 0;
  }

  #garage-doors-wrapper #search fieldset {
    width: 300px;
  }

  #garage-doors-wrapper #search input#edit-searchmag {
    width: 300px;
  }

  .mb-hide {
      display: none !important;
    }

  .node-duke-magazine-articles.node-teaser,
  .mw980,
  .mb90 {
    width: 90% !important;
  }

  .mag-issue-info img,
  .img100 {
    width: 100%;
  }

  .teaser-image {
    margin-right: 0;
    float: none;
  }

  .page-magazine-search h3 {
    margin-top: 10px
  }

  .teaser-image img,
  .img-block img {
    width: 100% !important;
    height: auto;
  }

  .teaser-info h3 {
    line-height: normal;
  }

  .section-divider h2 {
    width: 75%;
  }

  /* taxonomy */
  .mag-issue-info #left {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    border-bottom: 3px solid #000;
    padding-bottom: 20px;
  }

  .mag-issue-info #left img {
    width: 40%;
    display: inline-block;
  }

  .mag-issue-info #left a.fa-file-text {
    width: 40%;
    display: inline-block;
    vertical-align: top;
    text-align: center;
  }

  .mag-issue-info #right {
    width: 100%;
  }

  .teaser-image,
  .img-block {
    float: none;
    margin-right: 0;
    margin: 0 auto;
    width: 75%;
  }

  .teaser-image img {
    width: 100%;
  }

  .page-taxonomy-term h3, .cover-story h3 {
    line-height: inherit;
  }

  .author img {
    width: 100px;
    height: 100px;
    margin-right: 10px;
  }

  .archive-result {
    width: calc(100%/3);
  }

  /* END taxonomy */

  .magazine-landing-page [class*='homepage-'] .mw980 {
    margin-top: 25px;
  }

  .magazine-landing-page #left {
    display: none;
  }

  .magazine-landing-page #right {
    width: 100%;
    text-align: center;
  }

  #dk-user-logged-in {
    margin-right: 30px;
    width: auto;
    margin-left: 3px;
}

#dk-user-logged-in > a span {
    display: none;
}

#dk-user-logged-in > .dk-tooltip {
    width: 100%;
    background-color: #001a57;
    color: #fff;
    display: block;
    left: 0;
    top: 42px;
    border-width: 0;
    border-top: 1px solid #fff;
}

.homepage-other-content .region {
  width: 50%;
}

.homepage-other-content img {
  width: auto;
  height: auto;
}

.article-heading h1 {
  font-size: 50px;
}

.featured .article-heading h2 {
  font-size: 30px;
}

/* #banner,
#jssor_1,
#jssor_1 div {
  height: 50vh !important;
}

#banner .slides img {
  height: 50vh !important;
} */

} /* END MOBILE */
