#skiptocontent a, .sr-only, .visually-hidden {
  color: #000 !important;
  background-color: #fff !important;
}

#skiptocontent a {
  font-size: 16px;
  border: 1px dotted #000000 !important;
}

body {
  overflow-x: hidden;
}

.h1, .h2, .h3, .lead, h1, h2, h3, .card .nav-link-sm, h6 {
  text-transform: inherit;
}

.nav.nav-pills .nav-link {
  text-transform: inherit;
}

.lead {
  font-size: 20px;
  margin-bottom: 24px;
}

.section__header .lead p {
  line-height: 27px;
  font-size: 20px;
}

.sidebar .lead {
  font-size: 1.3rem;
  letter-spacing: .01em;
}

.sidebar .lead span {
  display: inline-block;
  vertical-align: text-top;
}

.sidebar .lead .status-text {
  margin-top: -6px;
}

.sidebar .dropdown-menu, .content-sidebar .sidebar {
  overflow: inherit;
}

h1 {
  margin-top: 24px;
}

.section__header h1 {
  margin-bottom: 24px;
  margin-top: inherit;
}

img {
  height: auto;
  max-width: 100%;
  line-height: 1;
}

section.search--hero.search--hidden, div.node--id-372 .content-sidebar--no-tabs h2, #news .pager {
  display: none;
}

section.search--hero input[type="text"] {
  line-height: 1.5rem;
}

.search--hero .navigation-menu {
  border-bottom: 1px solid #ddd;
  display: none;
}

.formElement.encoreplus {
  position: relative;
  max-width: 800px;
  margin: 24px auto;
}

#libSearchTabContent #search-btn-group .btn {
  background: #fff;
  color: #1a1c1d;
  border-color: #7a003c;
}

#libSearchTabContent #search-btn-group .btn.active {
  background: #7a003c;
  color: #fff;
}

section.search input[type=text], section.search--hero input[type=text] {
  border: 2px solid #c2cacf;
  border-radius: 50px;
  font-size: 1.3rem;
  line-height: 4.8rem;
  padding: 1rem 3rem;
  font-weight: 100;
  margin-bottom: 2.4rem;
}

section.search--hero input[type="text"] {
  line-height: 1.5rem;
}

.formElement.encoreplus input[type=text] {
  border-radius: 50px;
  margin-bottom: 0;
  width: 96%;
  font-size: 24px;
  padding-right: 90px;
}

.formElement.encoreplus .input-group-append {
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  margin-left: 15px;
}

.formElement.encoreplus .input-group-append button {
  border-radius: 0 50px 50px 0;
  margin: 0;
  width: 84px;
  backgrounD: #7a003c;
  height: auto;
}
section.search--hero .btn.btn-search::after, section.search--hero .btn-search::after {
  width: 28px;
  height: 28px;
}

.formElement.encoreplus .input-group-append button:after {
  top: 18px;
  right: 18px;
  background-image:url('data:image/svg+xml;charset=utf8,<svg id="b7ff402d-2e47-497f-ba2c-3db55e7b97ef" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="25px" height="25px" viewBox="-1 -1 30 30"> <circle style="fill:none;stroke:%23FFFFFF;stroke-width:3;stroke-linecap:round;stroke-miterlimit:10;" cx="10.8" cy="10.8" r="10"/><line style="fill:none;stroke:%23FFFFFF;stroke-width:3;stroke-linecap:round;stroke-miterlimit:10;" x1="17.8" y1="17.8" x2="24.8" y2="24.8"/></svg>');
  background-size: 72%;
}

#search18486 .col-md-6 {
  padding: 0px;
  border-right: 2px solid #f5f5f5;
}

#search18486 .col-lg-3 {
  padding-left: 30px;
}

#search18486 .nav-link.nav-link-sm {
  text-align: left;
}

#navbar-main > div:first-of-type {
  margin-right: auto !important;
}

nav.navbar.navbar-dark .navbar-nav .nav-item.open>a {
  color: #1a1c1d !important;
  background-color: #fff;
  position: relative;
  box-shadow: 0 5px 16px 0 rgba(0,0,0,.2);
}

.navbar-site .dropdown .nav-link::before {
  background-color: inherit;	
}

.navigation-menu {
  margin-top: 10px;	
}

nav.navbar a.dropdown-toggle>span>svg.svg--question, nav.navbar a.dropdown-toggle>span>svg.svg--search, nav.navbar a.dropdown-toggle>svg.svg--question, nav.navbar a.dropdown-toggle>svg.svg--search {
  height: auto;
  width: 14px;
  margin-right: 4px;
  margin-bottom: -2px;
}

.dropdown-item {
  background-color: #fff;
}

ul.social--links li {
  list-style: none;
  display: inline-block;
}

#site-footer h3, .banner-title, .banner-description, header#mcmaster-header .mcmaster-header__header-title.title-only, h3, h4, section.cta strong, .btn, .bw-button--solid {
  text-transform: inherit !important;
}

p.banner-description {
  margin-top: 24px;
}

.banner-text p {
  margin: auto;
}

.navbar-right .dropdown-toggle::after {
  background-image: none;
}

section.welcome .view-homepage-icons, section.welcome .view-content {
  display: flex;
  width: 100%;
}

section.welcome {
  padding-top: 1.0rem;
  padding-bottom: 2.0rem;
  border-top: .5rem solid #ebebeb;
  background-color: #f5f5f5;
  border-bottom: .5rem solid #ebebeb;
}

.node-highlight-boxes-content .card h3, .view-homepage-icons .col-five h3 {
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 3.2rem;
  margin-top: 1.6rem;
  margin-bottom: 2.4rem;
  text-transform: none;
  letter-spacing: 0;
}

.view-homepage-icons .col-five h3 {
  font-size: 1.0rem;
  line-height: inherit;
  margin-bottom: 1.0rem;
}

.node-highlight-boxes-content .card .rounded-circle, .view-homepage-icons .col-five img, .view-staff-pages img, .view-staff-pages .nostaffphoto, .node-staff-page .staffphoto, .node-staff-page .nostaffphoto {
  border: 3px solid #fdbf57;
  background-color: #fff;
  width: 120px;
  height: auto;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 0;
  margin-top: 24px;
}

.view-homepage-icons .col-five img {
  width: 72px;
}

section.search--hero {
  background-image: url(../img/jpg/mills-spring1200x800.jpg);
  padding-top: 0rem;
  padding-bottom: 0rem;
  background-position: center;
  background-size: cover;
  position: relative;
}

.search--hero .tab-content {
  z-index: 0;
  margin-bottom: 15px;
  margin-top: 15px;
  background: #fff;
}
.tab-content {
  max-width: 1400px;
  padding: 0px;
}

.tab-content .tab-pane {
  padding: 1.5rem;
}

.tab-content .tab-pane.active {
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
  background: #fff;
}

#tabMenu .nav.nav-pills a:first-of-type.active {
  margin-left: 3px;
}

a.btn.btn-admin, button.btn.btn-admin {
  background-color: #222;
  border-color: #222 !important;
  color: #fff;
  padding: 6px 9px !important;
  font-size: 12px !important;
  line-height: 12px !important;
  border-radius: 3px !important;
  position: relative;
  display: inline-block;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid #666;
  border-radius: 4px;
}

#banner .carousel-cell {
  position: absolute;
  left: 200%;
}

/* Ad Carousel */

.alert-carousel {
  background: #5e6a71;
}

.alert-carousel .carousel-cell {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.alert-carousel .btn {
  text-shadow: none;
}

.alert-carousel.text-white .banner-title,
.alert-carousel.text-white .banner-text,
.alert-carousel .text-white .banner-title,
.alert-carousel .text-white .banner-text, .navbar-dark .navbar-toggler {
  color: #fff;
}


.alert-carousel .flickity-page-dots {
  bottom: 0;
}

.bkgd-cover {
  min-height: 300px;
  background-position: bottom;
  background-size: cover;
}

ul.icon-menu {
  list-style: none;
  padding-left: 0;
}

ul.icon-menu li {
  font-size: 18px;
  line-height: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 0;
  padding-left: 24px;
  border-bottom: 1px solid #c8cfcf;
}

.card .card__meta span {
  font-size: .9rem;
  line-height: 1rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #1a1c1d;
  margin: 2.4rem 0;
  padding: .8rem 1rem;
  background: #ebebeb;
  display: inline-block;
}
section.research .research-row {
  margin-bottom: 3.0rem;
  box-shadow: 10px 10px 30px rgb(0 0 0 / 20%);
  position: relative;
}

section.research .research-row {
  border-bottom:2px solid #5e6a71;
}
section.research .research-row:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 72px solid transparent;
  border-right: 72px solid transparent;
  border-top: 72px solid #5e6a71;
  position: absolute;
  bottom: -72px;
  right: 10%;
  z-index:10;
}

section.research .research-row:last-child:after {
  display: none;
}

.bkgd-cover {
  min-height:300px;
  background-position:bottom;
}

.dbazlist {
  padding: 20px 0px;
  margin-left: -20px;
}

ul.azlist li {
  float: left;
  list-style: none;
  padding-right: 10px;
  font-size: 1.2em;
}

.card__thumbnail-text {
  font-size: .9rem;
  line-height: inherit;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #1a1c1d;
  position: absolute;
  top: 0;
  left: 0;
  background: #ffbc3d;
  padding: .8rem 1.6rem;
}

.card__thumbnail-wrapper {
  position: relative;
}

.card ul.card__info {
  padding-left: 0;
  list-style-type: none;
}

.ticker-carousel .carousel-cell {
  position: absolute;
  left: 200%;
}

.section__header .sidebar .card {
  padding: 1.2rem;
  background: #f5f5f5;
}

.sidebar .card {
  border: 1px solid rgba(0,0,0,.125);
}

ul.social--links li a svg * {
  fill: #5e6a71;
}

ul.social--links li a:hover svg * {
  fill: #fdbf57;
}

#site-footer ul.social--links li a svg * , #site-footer ul.social--links li a:hover svg * {
  fill: #fff !important;
}

ul.social--links li a {
  display: inline-block;
  margin-right: 20px;
}

.service-disruptions .card-lg .card-title::after, .service-disruptions .card .card-title::after {
  background: none;
}

.section__header a, .section-content a, .ticker-carousel a, #libSearchTabContent .bottom_text a, #site-footer a, .service-disruptions a, .node-service-disruption .field-name-body a, .page-justask #main-content a, .dyk-card .field-name-body a, .card-body a, .banner-text a, .modal-body a {
  text-decoration: underline;
}

.technology .section__header div:first-of-type {
  width: 100%;
}

.view-databases .views-field-title, .view-databases .views-field-field-url2, .view-databases .views-field-field-url3 {
  font-size: 1.2rem;
}

.view-databases h2 {
  font-size: 24px;
}

.view-databases .views-field-title {
  margin-top: 10px;
  font-weight: bold;
  display: inline-block;
}

.view-databases .views-field-field-url2, .view-databases .views-field-field-url3 {
  font-weight: bold;
}

.view-databases .views-row {
  border-bottom: 1px solid #5e6a71;
  padding-top: 10px;
}

.view-databases .col-md-3 .views-row, .bestbets .views-row  {
  border-bottom: 0px;
}

#views-exposed-form-databases-page-1 .form-inline .form-control, .geospatial-search #edit-keys {
  width: 99%;
}

#views-exposed-form-databases-page-1 .btn-search::after {
  filter: invert(1);
}

#views-exposed-form-databases-page-1 .accessibility-filter .form-inline label {
  display: inline;
}

.geospatial-search #edit-keys {
  margin-bottom: 0px;
}

section.search input[type=text] {
  margin: 1rem;
  height: 48px;
  width: 99%;
}

.input-group-append {
  position: absolute;
  right: 0px;
  top: 16px;
}

.pirate-search .input-group-append {
  top: 40px;
}

.views-field.views-field-created, .views-field.views-field-field-trial, .field--label-inline .field__label, .field--label-inline .field__item, .webform-element--title-inline .form-text {
  display: inline-block;
}

form.webform-submission-form a {
  text-decoration: underline;
}

.field--label-inline .field__item {
  margin-bottom: 10px;
}

.field__label {
  font-weight: bold;
}

.nostaffphoto, .highlightbox .fa {
  font-size: 60px;
  height: 100px !important;
  color: #5e6a71;
  padding-top: 40px;
}

.highlightbox.card-body {
  margin-bottom: inherit;
}

.pager__item, .js-pager__items li {
  display: inline-block;
  padding: 0.5em;
}

li.pager__item.is-active {
  font-weight: bold;
  color: #000;
  border: dotted #5e6a71 1px;
}

.status-text {
  text-transform: capitalize;
}

.closing-soon, .status-closed .fa, .status-closed .status-text {
  color: #d10000 !important;
}

.status-open .fa, .status-open .status-text, .view-areas .card ul.card__info span {
  color: #007b4b;
}

.view-searchareas a h3 {
  color: #7a003c;
}

#site-footer .status-closed .status-text, #site-footer .status-closed .fa, #site-footer .status-open, #site-footer .status-open .status-text, #site-footer .status-open .fa {
  color: #fff !important;
}

.node--type-finding-aid .content-sidebar--no-tabs .sidebar {
  overflow: hidden;
  padding-left: 80px;
}

.node--type-finding-aid .content-sidebar--no-tabs .field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item {
  width: 100%;
}

.node--type-finding-aid .dropdown-menu.admin-sidebar-menu.show {
  position: relative;
}

.tab-pane .expand-accordions:not(:first-of-type), .view-data-stats .card .card-link::after, .section-content .accordion .collapse, .content-sidebar--no-tabs .expand-accordions:not(:first-of-type), [data-drupal-form-fields*="edit-actions-wizard-prev"] #edit-intro2 {
  display: none;
}

.section-content .accordion .show {
  display: block; 
}

.view-data-stats .card {
  border: 0px;
}

.modal-dialog {
  max-width: 700px;
}

nav.navbar ul.navbar-nav > li > a, nav.navbar ul.navbar-nav > li > a:focus {
  text-transform: inherit;
  font-size: 16px;
}

.navbar-site button {
  width: 65px;
}

button[id^=s-lc-whw-prev-], button[id^=s-lc-whw-next-], button.s-lc-w-next, button.s-lc-w-previous, .s-lc-mhw-header button.btn-sm {
  color: #222;
  background-color: #fdbf57;
  border-color: #fdbf57;
}

.s-lc-whw-cont {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 12px;
}

.s-lc-whw-cont td {
  padding: 3px;
}

.s-lc-whw-head-date {
  color: #5E6A71 !important;
}

th.s-lc-whw-today-h .s-lc-whw-head-date {
  color: #000 !important;
}

.webform-element-help {
  background: #5E6A71;
}

.edit-links.py-5 a:first-of-type {
  background-color: #222;
  color: #fff;
  padding: 6px 9px;

}

.technology .sidebar .btn.btn-primary {
  display: flex;
  margin-top: 1rem;
}

#helpModal .fontawesome-icons, #helpModal .fontawesome-icon, .gethelp .fontawesome-icons, .gethelp .fontawesome-icon, .views-field-field-num-simusers p.field-content {
  display: inline-block;
}

.event h3.card-title  {
  font-size: 1.0em;
  color: #7a003c;
  font-weight: 600;
}

.events .card-img-mask-top img, .event .card-img-mask-top img {
  width: 100%;	
}

.events .card-img-mask-top img:hover, .event .card-img-mask-top img:hover {
  width: 105%;		
}

section.search input[type="text"] {
  padding: 1rem;
  margin-bottom: inherit;
  font-size: inherit;
  line-height: inherit;
}

#tabMenu {
  margin-left: -15px;
}

.libraryh3lp a {
  color: #fff !important;
  background:#7a003c !important;
  border-color:#7a003c !important;
  padding:18px 24px !important;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  font-size:14px !important;
  letter-spacing:2px;
  font-family: 'Roboto Condensed', sans-serif !important;
  right:24px !important;
  transition: padding 0.3s ease-out;
}

.libraryh3lp {
  padding:18px 24px !important;
  background-color: #7a003c !important;
  border:none !important;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  font-size:14px !important;
  letter-spacing:2px;
  font-family: 'Roboto Condensed', sans-serif !important;
  right:24px !important;
  transition: padding 0.3s ease-out;
}
.libraryh3lp a:hover {
  padding-bottom:30px !important;
}
.libraryh3lp a:hover {
  text-decoration: none;
}

.libraryh3lp-offline, a.libraryh3lp-offline {
  background: rgba(94, 106, 113, 1) !important;
}

.libraryh3lp a.libraryh3lp-offline {
  border-color: #5e6a71 !important;
}

.libraryh3lp .fa {
  margin-right:6px;
  font-size:18px;
}

.node--id-22515 .libraryh3lp, .node--id-22515 .libraryh3lp a {
  background-color: #fff !important;
  color: #000;
  box-shadow: none;
}

span.light {
  color: #6c757d;
}

progress {
  background: red;
  height: 2em;
}
progress::-moz-progress-bar { background: green; }

progress::-webkit-progress-bar { background: red; }

progress::-ms-fill {background-color: green; }

#groupdesc {
  font-weight: 300;
}

#grouplabel {
  font-weight: bold;
}


.js-form-item {
  margin-bottom: 15px;
}

#views-exposed-form-databases-page-1 .js-form-item, .area-search .js-form-item, .data-stats-search .js-form-item, .staff-search .js-form-item, .pirate-search .js-form-item {
  margin-bottom: 10px;
  width: 100%;
}

.form-required::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0.3em;
  content: "";
  vertical-align: super;
  background-image: url('/core/misc/icons/ee0000/required.svg');
  background-repeat: no-repeat;
  background-size: 7px 7px;
}

.st-custom-button[data-network] {
  background-color: #fff;
  display: inline-block;
  padding: 5px 10px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
  border: 2px solid #f3bf5d;
  margin-right: 1em;
}

.st-custom-button[data-network]:hover, .st-custom-button[data-network]:focus {
  color: #fff;
  background-color: #000;
  border-color: #000;
}

.st-custom-button .fa {
  width: 15px;
  height: 15px;
  
}

.st-custom-button i.fa.fa-facebook {
  padding-left: 2px;
}

div#edit-actions {
  margin: 10px 0px;
}

.modal-body {
  .card-body {
    padding: 1.6rem 1.25rem;
  }
}

.see-all {
  background: #fdbf57;
  font-weight: 800;
  position: relative;
  font-size: 14px;
}

.see-all:hover {
  background:#dbdbdd !important;
}
.see-all:after {
  transition: background-color .15s ease-in-out;
  content: '';
  display: block;
  position: absolute;
  top: 3px;
  right: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: center center;
  background-image: url('data:image/svg+xml;charset=utf8,<svg data-name="ButtonArrow" xmlns="http://www.w3.org/2000/svg" width="13" height="6.7" viewBox="0 0 13 6.7"><line style="fill:none;stroke:%23222222;stroke-linecap:round;stroke-miterlimit:10;stroke-width:0.8;" x1="0.5" y1="3.3" x2="12.2" y2="3.3"/><polyline style="fill:none;stroke:%23222222;stroke-linecap:round;stroke-miterlimit:10;stroke-width:0.8;" points="9.4,0.5 12.2,3.3 9.4,6.2 "/></svg>');
  background-color: transparent;
}

.see-all.active:after {
  background-image: url('data:image/svg+xml;charset=utf8,<svg data-name="ButtonArrow" xmlns="http://www.w3.org/2000/svg" width="13" height="6.7" viewBox="0 0 13 6.7"><line style="fill:none;stroke:%23FFFFFF;stroke-linecap:round;stroke-miterlimit:10;stroke-width:0.8;" x1="0.5" y1="3.3" x2="12.2" y2="3.3"/><polyline style="fill:none;stroke:%23FFFFFF;stroke-linecap:round;stroke-miterlimit:10;stroke-width:0.8;" points="9.4,0.5 12.2,3.3 9.4,6.2 "/></svg>');
}

nav.navbar .dropdown-item.see-all {
  padding-right: 60px;
}

.input-group-append span.btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-color: #93939A;
  border-left-width: 0;
  min-width: 0;
  text-align: center !important;
}

figcaption.newsimage {
  margin-bottom: 30px;
  color: #5e6a71;
}

.node-type-maps-collection-with-indexes img[usemap] {
  border: none;
  height: auto;
  max-width: 100%;
  width: auto;
}

.lowercase {
  width: inherit !important;
}

.webform-progress-tracker .progress-step .progress-text {
  color: #000;
}

.news a h3 {
  color: #7d0040;
}

.navbar-site .dropdown-menu {
  width: inherit;
}

.nav .dropdown-menu {
  min-width: 216px;
}

#density .full, .space-info .full {
  border: 1px solid #7a003c;	
}

#density .warning, .space-info .warning {
  border: 1px solid #fdbf57;	
}

#density .good, .space-info .good {
  border: 1px solid #007B4B;
}

#density p i, .space-info p i {
  font-size: 1.5em;
  line-height: 1.5em;
  padding: 10px;  
}

.space-info p i {
  font-size: 1.0em;
  line-height: 1.0em;
  padding: 10px;  
}

#density i, .space-info i {
  color: #fff;
  margin-right: 10px;
}

#density .warning i, .space-info .warning i {
   background-color: #FDBF57;	
}

#density .good i, .space-info .good i {
   background-color: #007B4B;
}

#density .full i, .space-info .full i {
	 background-color: #7a003c;
}


#density progress[value] {
  /* Reset the default appearance */
  -webkit-appearance: none;
   appearance: none;
   width: 100%;
}

#density progress[value]::-webkit-progress-bar {
  background-color:  #007B4B;
}

#density progress[value]::-webkit-progress-value {
  background-color: #7a003c;
}

#density progress::-moz-progress-bar { 
  background:  #7a003c;
}

#density progress {
  background: #007B4B;
}

button.s-lg-btn-api-drop.btn.btn-default {
  margin-bottom: 20px;
  background-color: #7a003c;
}

button.s-lg-btn-api-drop.btn.btn-default:hover {
  color: #fff;
  background-color: #000;
}

@media (min-width: 1480px) {
  .container {
    max-width: 1400px;
  }
}

@media (min-width: 1200px) {
  #site-footer span.lg-down-only {
    display: none;
  }
}

@media (max-width: 767px) and (min-width: 0px) {
  section.search--hero {
    background-image: url(../img/jpg/mills-spring1000x667.jpg);
  }
}

@media (min-width: 768px) {
  .section__header .sidebar {
    border-left: 1px solid #ebebeb;
    padding-left: 2rem;
  }

 .node--type-finding-aid .col-md-4.sidebar.background--gradient {
    postion: -webkit-sticky;
    position: sticky;
    top: 75px;
    right:0px;
    align-self: flex-start;
    height:auto;
  }

  .node--type-finding-aid .col-md-4.sidebar.background--gradient .card .nav-link {
    padding: 16px;
  }

  .node--type-finding-aid .col-md-4.sidebar.background--gradient .card .nav-link-sm {
    font-size: 16px;
  }
}
.node--type-page .content-sidebar--no-tabs .col-md-4.sidebar.background--gradient {
    margin-top: 20px;
}

.node--type-news .section-content figure img {
  object-fit: cover;
  width: 980px;
}

.breadcrumb {
  padding-left: 10px;
}

@media (min-width: 992px) {
  #site-footer .col--logo {
    margin-right: 54px;
  }
}

@media (min-width: 768px) and (max-width: 1466px) {
  nav.navbar .collapse {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  nav.navbar .collapse ul.navbar-nav, #navbar-main div:first-child,  #navbar-main div:first-child, #navbar-main div:nth-child(2) {
    width: 100%;
  }
  #navbar-main div.dropdown-menu {
	width: inherit;
  }
  nav.navbar .collapse ul.navbar-nav:not(.navbar-right) {
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  nav.navbar .collapse ul.navbar-nav.navbar-right {
    border-top: 1px solid #fff;
    margin-top: -1px;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  #navbar-main .nav-item:nth-child(6) .dropdown-menu {
    left: -200px;
  }
}
