/*-=Tablet screens=-*/
@media only screen and (max-width: 1024px) {
  /*max-width 1024px, tablet screens*/
  /* TOP BAR Mobile STYLING */
  .title-bar {
    background-color: #0D284B;
    /* collapsed menu bar color */
    padding: 0;
    line-height: 45px;
  }
  .title-bar .title-bar-title {
    vertical-align: top;
  }
  .title-bar .menu-icon {
    position: relative;
    display: inline-block;
    padding: 0;
    width: 20px;
    height: 45px;
    background-color: transparent;
    vertical-align: top;
    cursor: pointer;
    outline: none;
  }
  .title-bar .menu-icon::after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background: #fefefe;
    top: 50%;
    left: 0;
    margin-top: -9px;
    box-shadow: 0 7px 0 #fefefe, 0 14px 0 #fefefe;
  }
  .top-bar {
    display: none;
    height: auto;
    padding: 0;
    background: #0D284B;
    /* menu list background color */
  }
  .top-bar ul {
    background: transparent;
    margin: 0;
    list-style: none;
    padding: 0;
  }
  .top-bar ul li > a {
    display: block;
    font-family: "Quicksand", sans-serif;
    color: white;
    /* menu item text color */
    font-size: 14px;
    background: #0D284B;
    /* menu item background color */
    line-height: 45px;
    padding: 0 15px;
  }
  .top-bar ul li > a:hover {
    background: #091c35 !important;
    /* menu item background color on hover */
  }
  .top-bar ul li.current-menu-item > a, .top-bar ul li.current_page_ancestor > a {
    background: #113461 !important;
    /* current/parent menu item background color */
  }
  .top-bar ul li.has-dropdown a:after {
    display: none;
  }
  .top-bar ul li.has-dropdown .accordion-toggle {
    display: block;
    position: absolute;
    width: 50px;
    height: 45px;
    right: 0;
    top: 0;
    color: #fff;
    /* dropdown arrow color */
    z-index: 100;
    text-align: center;
  }
  .top-bar ul li.has-dropdown .accordion-toggle i.fa {
    font-size: 13px;
    line-height: 1;
    height: 13px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  .top-bar ul li[aria-expanded="true"] > a {
    background: #0b213e;
    /* menu item background color on open dropdown */
  }
  .top-bar ul li[aria-expanded="true"] > a .accordion-toggle i.fa {
    transform: rotate(90deg);
  }
  .top-bar ul li .submenu a {
    padding-left: 25px;
  }
}

/*-=Small screens=-*/
@media only screen and (max-width: 640px) {
  html {
    font-size: 80%;
  }
  .alignright, .alignleft, .aligncenter, .alignnone {
    float: none;
    margin: 0 0 1em;
  }
  .sidebar-container {
    margin-bottom: 15px;
  }
  .header-link {
    float: none;
  }
}

/* max-width 640px and lower. Use this for mobiles only */
/*-=Medium screens=-*/
@media only screen and (min-width: 641px) {
  /* Align Menu to the right
     .top-bar .header-menu { float:right; }*/
  /* Align Menu to the center
     .top-bar .header-menu { text-align: center; }
     .top-bar .header-menu > li{ float: none; display: inline-block; } */
}

/* min-width 641px */
@media only screen and (min-width: 641px) and (max-width: 1024px) {
  /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
}

/*-=Large screens=-*/
@media only screen and (min-width: 1025px) {
  /*min-width 1025px, large screens*/
  /* TOP BAR STYLING */
  .title-bar {
    display: none;
  }
  .top-bar {
    padding: 0;
    background-color: transparent;
    /* Dropdown item styling */
  }
  .top-bar ul {
    padding-top: 15px;
    background: transparent;
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
  }
  .top-bar .header-menu li {
    display: inline-block;
    background-color: transparent;
    margin: 0 0;
  }
  .top-bar .header-menu li > a {
    /* Regular menu item style */
    display: block;
    padding: 0 15px;
    background: transparent;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    color: #512311;
    font-family: "Quicksand", sans-serif;
    transition: font-weight 0.3s ease;
    position: relative;
  }
  .top-bar .header-menu li > a:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 0;
    background-color: #512311;
    left: 0;
    top: calc( 100% + 10px);
  }
  .top-bar .header-menu li > a:hover {
    /* menu item style on hover */
    font-weight: 300;
  }
  .top-bar .header-menu li > a:hover:before {
    height: 2px;
  }
  .top-bar .header-menu li.current-menu-item > a, .top-bar .header-menu li.current_page_ancestor > a {
    /* Style of Current page and Ancestor page */
  }
  .top-bar .header-menu li.current-menu-item > a:before, .top-bar .header-menu li.current_page_ancestor > a:before {
    height: 2px;
  }
  .top-bar .header-menu li.has-dropdown > a {
    /* Style of item with dropdown */
    padding: 0 15px;
  }
  .top-bar .header-menu li.has-dropdown > a::after {
    /* Hide dropdown arrow */
    display: none !important;
  }
  .top-bar .header-menu li.has-dropdown > a:hover {
    /* Hover state for dropdown link */
  }
  .top-bar .header-menu li.has-dropdown.is-active > a:before {
    height: 2px;
  }
  .top-bar .header-menu::after {
    content: '';
    display: table;
    clear: both;
  }
  .top-bar ul li:hover > a {
    /* Parent link style on dropdown hover */
  }
  .top-bar .submenu {
    display: none;
    border: none;
    padding: 10px;
    margin-top: 15px;
    margin-left: -10px;
    text-align: left;
    background-color: #fff;
    min-width: 150px;
  }
  .top-bar .submenu.js-dropdown-active {
    display: block;
  }
  .top-bar .submenu li {
    display: block;
  }
  .top-bar .submenu li > a {
    /* Regular link in dropdown */
    color: #512311;
    font-size: 1rem;
    padding: 5px 0;
    white-space: nowrap;
  }
  .top-bar .submenu li > a:before {
    width: 0;
  }
  .top-bar .submenu li > a:hover {
    /* Dropdown link on hover */
    color: #6795c0;
  }
  .top-bar .submenu li.current-menu-item > a, .top-bar .submenu li.current_page_ancestor > a {
    color: #6795c0 !important;
  }
  .top-bar .is-dropdown-submenu .is-dropdown-submenu {
    margin-top: 0;
  }
  .top-bar .is-dropdown-submenu .is-dropdown-submenu li a {
    /* Styles for 2nd level dropdown menu link */
  }
  .header--home .submenu {
    background-color: transparent;
  }
  .top-bar ul {
    background: transparent;
    text-align: right;
    padding-top: 24px;
    padding-right: 15px;
    padding-left: 90px;
  }
  .top-bar .header-menu > li > a {
    /* Regular menu item style */
    font-size: 21px;
  }
}

@media only screen and (min-width: 1201px) {
  /* min-width 1201px, large screens*/
}

@media only screen and (min-width: 1201px) and (max-width: 1280px) {
  /* min-width 1201px and max-width 1280px, use when QAing MacBook issues */
}
