/********************************************************
 * Common to all pages
 ********************************************************/
/* Custom elements default to "display:inline", so change to block for 100% width */
accept-invitation,
email-signature-modal,
media-library-modal,
pull-up-banner-modal,
site-search,
top-header,
upper,
lower {
  display: block;
}

top-header {
  background-color: var(--color-white);
}

body.modal-open #nav-container {
  /* Keep navbar padding stable when Bootstrap modal opens. */
  /* Otherwise, BS will add more padding to initial 12px. */
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5) !important;
}

#nav-container {
  border-bottom: 2px solid var(--color-teal);
}

#msd-logo {
  outline: none;
}

nav {
  max-height: 80px;
}

#nav-container ul.navbar-nav a.active:hover {
  cursor: pointer;
}

#nav-container nav .nav-item .nav-wrapper {
  height: 79px;
}

#nav-container nav ul li a.nav-link {
  border-bottom: 0;
  color: var(--color-blue);
  display: inline;
  line-height: 80px;
  margin-top: 2rem;
  margin-right: 2vw;
  padding: 0;
  text-decoration: none;
}

#nav-container a.border-animate:hover {
  color: var(--color-teal);
  transition: all 0.15s ease-in-out;
  border-bottom-width: 0px;
}

#nav-container a.border-animate.active {
  border-bottom: 4px solid var(--color-teal);
  cursor: default;
  color: var(--color-blue);
  font-weight: 700;
  padding-bottom: 24px;
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 1rem;
}

#nav-container .navbar-toggler {
  right: 0px;
  width: 40px;
  height: 40px;
  border: 2px solid #00857c;
  outline: none !important;
  background-image: url(../images/icons/menu.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100%;
	position: relative;
	right: 3%;
}

.navbar-toggler:not(.collapsed) {
  background-image: url(../images/icons/x.svg);
  background-size: 100%;
}

.navbar-toggler-icon {
	display: none;
}

#navbarNav {
  background-color: var(--color-white);
  height: var(--top-navbar-height);
}

#navbarNav.show {
  width: 100%;
}

/* Show focus ring when panel is expanded. This helps visually distinguish */
/* the panel's open state from potential confusion with the active */
/* tab state (teal underline) of the current page. */
/* .navbar-nav [aria-controls*="panel"]:not(.collapsed):focus, */
/* a[aria-controls*="panel"]:not(.collapsed):focus-visible { */
/*   box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .20); */
/* } */

/* When panel is collapsed, remove focus ring */
.navbar-nav [aria-controls*="panel"].collapsed:focus-visible {
  box-shadow: none;
}

#scroll_to_top {
	position: fixed;
	width: 50px;
	height: 50px;
	top: 90vh;
	left: calc(100vw - 85px);
	cursor: pointer;
	background-image: url(../images/icons/scroll-up.svg);
}

top-header lower {
  background-color: var(--color-off-white);
	border-bottom: 1px solid rgb(0 0 0 / 0.1);
  transition: height 0.15s ease !important;
}

top-header lower.collapsing {
  transition: height 0.1s ease !important;
}

top-header lower .row>.col:not(:first-child) {
  border-left: 1px solid var(--color-gray);
  padding-left: 4rem;
}

top-header lower:not(#panel-corptk) .row>.col:not(:first-child) {
  padding-left: 2.8rem;
}

top-header lower .controls.row {
  justify-content: end;
}

top-header lower .close-icon {
  cursor: pointer;
  display: inline-block;
  width: initial;
}

top-header lower .header,
top-header lower .header a {
  color: var(--color-blue);
  font-size: 0.875rem;
  font-weight: bold;
  padding-bottom: 1rem;
  text-decoration: none;
  text-transform: uppercase;
}

top-header lower .header a:hover {
  color: var(--color-teal);
  text-decoration: none;
}

top-header lower .items ul {
  /* Can't use column-count declaration here because hover boldface text */
  /* causes reflow and swapping of items from column 1 to column 2. */
  /* Must use CSS Grid instead and specify classes for max rows before column split. */
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  column-gap: 2rem;
  line-height: 2.5;
  padding-left: 0;
}

top-header lower .items ul.single-column {
  grid-template-columns: 1fr;
}

top-header lower .items ul.three-columns {
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 0;
}

top-header lower .items ul.max-4-rows {
  grid-template-rows: repeat(4, auto);
}

top-header lower .items ul.max-5-rows {
  grid-template-rows: repeat(5, auto);
}

top-header lower .items ul.max-6-rows {
  grid-template-rows: repeat(6, auto);
}

top-header lower .items ul li {
  list-style: none;
}

top-header lower .items a {
  /* Reserve space for hover border so layout doesn't shift */
  border-bottom: 2px solid transparent;
  color: var(--color-blue);
  padding-bottom: 0;
  text-decoration: none;
}

top-header lower .items a.active,
top-header lower .items a:hover {
  color: var(--color-teal);
}

top-header lower .items a.active {
  border-bottom: 2px solid var(--color-teal);
  font-weight: bold;
}

footer {
  font-size: 0.875rem;
  padding-top: 3em;
}

footer .legal {
  margin: 0 0 .5rem;
  padding: 0;
}

footer .legal li {
  list-style: none;
  display: inline-block;
  line-height: 1.5rem;
}

footer .legal li a {
  display: inline-block;
  padding: 0;
  color: var(--color-blue);
  text-decoration: none;
}

footer .legal li:not(:last-child):after {
  /* small bullet character */
  content: "\22C5";
  display: inline-block;
  margin: 0 .25rem;
}

footer #brc-footer #ot-sdk-btn.ot-sdk-show-settings {
  /* Override injected non-brand OneTrust colors from otSDKStub script */
  color: var(--color-blue) !important;
  padding: 0px !important;
  background: none !important;
  border: none !important;
  font-family: var(--invention) !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
}

footer #brc-footer #ot-sdk-btn.ot-sdk-show-settings:focus-visible {
  /* Displays border for pressing tab in screen readers */
  outline: -webkit-focus-ring-color auto 1px !important;
  outline-offset: 1px;
  border-radius: 0;
  transition: linear;
}

footer #ot-sdk-btn.ot-sdk-show-settings:hover {
  /* text-decoration: underline !important; */
}


/********************************************************
 * Login Pages, KeenTheme Form elements
 ********************************************************/
.alert {
  border-radius: .25rem;
}

.kt-form {
  margin: 4rem auto;
}

.kt-login__body {
  margin-top: 5rem;

  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.kt-login__form {
  width: 100%;
  max-width: 450px;
}

.kt-login__form .form-control {
  /* background-color: rgba(247, 247, 249, 0.7); */
  background-color: light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4));
  border: none;
  border-radius: 0;
  height: 50px;
  margin-top: 1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  transition: background-color 0.3s ease;
}

.kt-login__form .form-control.is-valid .form-control:valid {
  border-color: #28a745;
  padding-right: calc(1.5em + .75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.kt-login__form .form-control.is-invalid,
.kt-login__form .form-control:invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + .75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.kt-login__form .invalid-feedback {
  width: 100%;
  margin-top: .25rem;
  font-size: 80%;
  color: #dc3545;
}

.kt-login__form .kt-login__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0;
}

.kt-login__title {
  display: block;
  text-align: center;
  margin-bottom: 5rem;
  text-decoration: none;
}

.kt-login__title>h3 {
  color: var(--color-blue);
  font-size: 2rem;
}

.kt-login__options {
  display: flex;
  justify-content: space-between;
  max-width: 100%;
}

.kt-login__options>a {
  align-items: center;
  flex: 1;
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.kt-login__options>a:not(:last-child) {
  margin: 0 1.5rem 0 0;
}

.kt-login__options .btn {
  background-color: var(--color-off-white);
}

.kt-login__options .btn:hover {
  background-color: var(--color-gray-10);
}

/* To add spinning graphic to submitted form buttons, add the classes:
 * "kt-spinner kt-spinner--light kt-spinner--right"
 */
.kt-spinner {
  position: relative;
}

.kt-spinner:before {
  animation: kt-rotate 0.5s linear infinite;
  border: 2px solid black;
  border-radius: 50%;
  border-right: 2px solid transparent;
  content: "";
  margin-top: -0.75rem;
  position: absolute;
  top: 50%;
  width: calc(1.5 * var(--input-btn-padding-x));
  height: calc(1.5 * var(--input-btn-padding-x));
}

@keyframes kt-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

.kt-spinner.kt-spinner--light:before {
  border: 2px solid white;
  border-right: 2px solid transparent;
}

.kt-spinner.kt-spinner--right:before {
  left: auto;
  right: var(--input-btn-padding-x);
}

.kt-spinner.kt-spinner--right:not(.btn-block) {
  padding-right: calc(3.5 * var(--input-btn-padding-x));
}


/********************************************************
 * Left Nav Menu (Left Sticky Menu, Left Navbar)
 ********************************************************/
#menu_column {
  background-color: var(--color-off-white);
  border-right: 50px solid #ffffff;
  /* Make leftnav stable even when Bootstrap modal locks body scroll. */
  position: relative;
  min-height: 100vh;
}

#menu_scroll {
  /* Stop layout reflow when Bootstrap locks body scroll. */
  position: fixed;
  top: calc(20px + var(--top-navbar-height));
  height: calc(100vh - var(--top-navbar-height) - 20px);
  overflow-y: auto;
  /* Hide initially to allow setMenuScrollWidth() to adjust layout */
  opacity: 0;
}

#menu_scroll::-webkit-scrollbar,
.menu-scroll-inner::-webkit-scrollbar {
  background-color: transparent;
  width: 5px;
}

#menu_scroll::-webkit-scrollbar-thumb,
.menu-scroll-inner::-webkit-scrollbar-thumb {
  background-color: var(--color-muted-light);
  border-radius: 1rem;
}

@media screen and (-webkit-min-device-pixel-ratio: 1.5) and (min-resolution: 192dpi) {
  .menu-scroll-inner {
    scrollbar-width: thin;
    scrollbar-color: var(--color-muted-light) transparent;
  }
}

.menu-scroll-inner {
  display: flex;
  flex-direction: column;
  /* viewport height minus #menu_scroll top value */
  /* height: calc(100vh - 6.25rem); */
  overflow-y: auto;
  overflow-x: hidden;
  line-height: 2rem;
}

#menu_scroll li ul li {
  /* margin: -0.1em 0em; */
  margin-left: -0.3em;
}

#menu_scroll li.nav-item {
  /* padding-right: 1rem; */
}

#menu_scroll ul li a.nav-link {
  display: flex;
  align-items: center;
  border-left: 4px solid transparent;
  color: #72767b;
  font-size: 0.875rem;
  height: auto;
  line-height: 1.3;
  margin: 0;
  padding: 0.35rem 0.9rem 0.35rem 0.7rem;
  text-decoration: none;
  text-wrap: balance;
}

#menu_scroll ul li:first-child {
  /* border: 1px solid red; */
  margin-top: -0.15rem;
}

#menu_scroll ul li a:hover {
  color: var(--color-teal);
}

#menu_scroll ul li a.active {
  color: var(--color-teal);
  font-weight: bold;
  border-left-color: var(--color-light-teal);
}

#menu_scroll ul li a:not(.active)+ul.sub-nav {
  display: none;
}

#menu_scroll ul.sub-nav {
  margin-left: 10px;
}

#menu_scroll ul.sub-nav li:last-child {
  margin-bottom: 0;
}

#menu_scroll ul.sub-nav li a.active {
  font-weight: bold;
  border-left-color: transparent;
}

#menu_scroll ul.sub-nav.subn2 {
  display: block !important;
}

#scroll_nav li ul li {
  margin-bottom: 0.02rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.left-nav-title {
  font-size: 14px;
  padding-left: 15px;
  margin-bottom: 0.2em;
}

/* This is the leftnav download box, not the */
/* .cta-guidelines teal banners in body content */
#cta_guidelines {
  display: flex;
  flex-direction: column;
  align-self: self-start;
  margin-bottom: 3rem;
  margin-top: 1rem;
  border-width: 1px;
  border-style: solid;
  padding: 0.5rem 0.6rem;
}

#cta_guidelines p {
  margin: 0 0 0.5em 0;
  line-height: 1.5em;
}

#cta_guidelines .cta-title {
  font-size: 11px;
}

#cta_guidelines .cta-body {
  font-size: 14px;
  margin-bottom: 1.5em;
}

#cta_guidelines a.btn-light-teal {
  font-size: 12px;
  margin-right: 0.5em;
}

#cta_guidelines .guidelines-downloads {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}


/********************************************************
 * Helpful Info Page
 ********************************************************/
.section-content {
  padding-top: 40px;
  padding-left: 0px;
}

#brand_bites .gray-border {
  border: 1px solid var(--color-light-gray);
}

#brand_bites .pre-head {
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}

#brand_bites .headline {
  color: var(--color-teal);
  font-size: 1.375rem;
  line-height: 28px;
}

#brand_bites .pub-date {
  font-size: 0.75rem;
}

#bb-acc .border-bottom-light-teal {
  border-bottom: 1px solid var(--color-light-teal);
}

#bb-acc .past-pub-date {
  font-size: 0.75rem;
}

a.btn-faq {
  color: var(--color-teal);
  display: block;
  padding: 1em 0;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: right 1.5em;
}

.accordion .card,
.accordion .card .card-header {
  border: 0;
  background-color: var(--color-white);
}

.accordion .card .card-header {
  padding: 0 1em;
  border-radius: 0;
  border-top: 1px solid var(--color-light-teal);
}

.accordion .card-body {
  color: var(--color-blue);
}

.accordion a.btn.btn-download-long {
  background-position: 95%;
}

a.btn-faq.collapsed {
  background-image: url(../images/icons/plus.svg);
}

a.btn-faq:not(.collapsed) {
  background-image: url(../images/icons/minus.svg);
}

a.btn-faq span {
  width: 90%;
  display: inline-block;
}

a.btn-faq:hover span {
  color: #00857c;
  text-decoration: underline;
}

#brc_faqs {
  border-bottom: 1px solid var(--color-light-teal);
}

#brc_faqs .card-body {
  padding-top: 0;
  margin-bottom: 2em;
}

#brc_faqs .cta-guidelines {
  margin: 0;
}

form#contact_us input,
form#contact_us select,
form#contact_us textarea {
  border-radius: 0;
  border: 1px solid var(--color-light-teal);
}

form#contact_us input:focus,
form#contact_us select:focus,
form#contact_us textarea:focus {
  box-shadow: -1px 0px 2px 2px rgba(110, 206, 178, 0.5);
}

form#contact_us label {
  margin: 0;
  font-size: 0.875rem;
}

form#contact_us .form-group {
  margin-bottom: 1rem;
  margin-left: 0.1rem;
}

form#contact_us textarea {
  height: 200px;
}


/********************************************************
 * Agency Access Registration, Invite Success Pages
 ********************************************************/
[class^="agc-access-reg-"] {
  padding-top: 4rem;
}

.agc-access-reg-pg h2 {
  font-weight: normal;
}

.agc-access-reg-pg .instructions.container {
  padding: 0;
}

.agc-access-reg-pg .mcs-form-label {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.agc-access-reg-pg input {
  width: 26rem;
  border: 1px solid var(--color-light-teal);
}

.agc-access-reg-pg .filter-wrapper label,
.agc-access-reg-pg select#status-select {
  font-size: 0.875rem;
}

.agc-access-reg-pg .filter-wrapper select {
  background-color: var(--color-off-white);
  width: 12.4rem;
  height: 2rem;
  margin-left: 1rem;
  padding: 0 .5rem;
}

.agc-access-reg-pg .filter-wrapper select:invalid {
  /* Set first "Please select" option as gray color */
  color: var(--color-gray-60);
}

.agc-access-reg-pg .add-user-repeat.row {
  align-items: center;
}

.agc-access-reg-pg .input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.agc-access-reg-pg .input-group {
  width: 80%;
}

.agc-access-reg-pg .add-user-repeat:not(:first-child) input.form-control,
.agc-access-reg-pg .add-user-repeat:not(:first-child) svg {
  margin-top: 0.7rem;
}

.agc-access-reg-pg svg.trash-icon {
  color: var(--color-teal);
  cursor: pointer;
  transition: color 0.2s ease-in;
}

.agc-access-reg-pg svg.trash-icon:hover {
  color: var(--color-dark-teal);
}

.agc-access-reg-pg .add-another-user-wrapper {
  font-size: 0.875rem;
  margin-top: 0.9rem;
}

.agc-access-reg-pg .add-another-user {
  color: var(--color-teal);
  display: inline-block;
}

.agc-access-reg-pg .add-another-user:hover {
  color: var(--color-dark-teal);
  transition: color 0.2s ease-in;
}

.agc-access-reg-pg .btn-wrapper .btn-teal {
  font-size: 0.875rem;
}

.agc-access-reg-pg .required-notice {
  color: var(--color-danger-5);
  padding-top: 1.5rem;
}


/********************************************************
 * Agency Access Dashboard, Agency Access Page
 ********************************************************/
#agencyaccess_page {
  padding-left: var(--min-page-padding-x);
  padding-right: var(--min-page-padding-x);
}

#agencyaccess_page section.intro {
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 2.5rem;
}

#agencyaccess_page section.intro {
  background-position-x: right 3%;
  background-position-y: center;
}

#agencyaccess_page #filter-input:not(:disabled) {
  border: 1px solid var(--color-teal);
}

#agencyaccess_page .filter-controls {
  padding-top: 2.0rem;
}

#agencyaccess_page table, th, td {
  /* border: 1px solid black; */
}

#agencyaccess_page table th:first-child {
  width: 16%;
}

#agencyaccess_page table th:nth-child(n+3) {
  min-width: 8rem;
}

#agencyaccess_page th {
  color: var(--color-teal);
  border-bottom: 3px solid var(--color-teal);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem .25rem;
}

#agencyaccess_page td {
  border-bottom: 1px solid var(--color-gray-40);
  height: 1px;
  /* Forces cell to minimum needed height */
  padding: 0.5rem .25rem;
  vertical-align: top;
}

#agencyaccess_page td div.user-status {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding: 0 0.5rem;
}

#agencyaccess_page th.sortable:hover {
  color: var(--color-light-teal);
  cursor: pointer;
  transition: color .2s ease-in;
}

#agencyaccess_page td.valign-middle {
  vertical-align: middle;
}

#agencyaccess_page .sort-icon-wrapper {
  padding-left: 0.4rem;
}

#agencyaccess_page th.sortable:hover svg {
  transform: rotate(180deg);
  transition: transform .2s ease-in;
}

#agencyaccess_page td {
  font-size: 0.875rem;
}

#agency-acc .user-email {
  font-size: 0.75rem;
  overflow-wrap: break-word;
}

#agency-acc .has-expired {
  background-color: #f8d6dc;
  width: 90%;
  height: 100%;
}

#agency-acc .will-expire {
  background-color: #fef6b4;
  width: 90%;
  height: 100%;
}

#agency-acc .edit-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: start;
}

#agency-acc .relative-expiration-date {
  font-size: 0.75rem;
}

#agency-acc .pen-icon {
  color: var(--color-teal);
}

#agency-acc .pen-icon:hover {
  color: var(--color-dark-teal);
  cursor: pointer;
}


/********************************************************
 * Agency Access Edit User, Edit Agency User, User Editor
 * Register 1 of 2, Register 2 of 2
 ********************************************************/
.agc-access-reg-edit-user-pg {
  padding-left: var(--min-page-padding-x);
  padding-right: var(--min-page-padding-x);
}

.agc-access-reg-edit-user-pg .grid-wrapper {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 4rem;
  row-gap: 1rem;
  align-items: start;
  font-size: 0.875rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.agc-access-reg-edit-user-pg input {
  border: 1px solid var(--color-teal);
  border-radius: 0;
  max-width: 26rem;
}

.agc-access-reg-edit-user-pg select {
  background-color: var(--color-off-white);
  height: 2rem;
  padding: 0 .5rem;
  max-width: 15rem;
}

.agc-access-reg-pg .filter-wrapper select,
.agc-access-reg-edit-user-pg select,
#downloads_page select#icon-collection-select,
#contact_us select {
  /* Hide browser's default down arrow icon */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Custom down chevron icon */
  background-image: url("data:image/svg+xml,%3Csvg width='21' height='22' viewBox='0 0 21 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.41178 7.65L10.3418 11.685L14.2968 7.62L15.5038 8.862L10.3328 14.187L5.19678 8.902L6.41178 7.65Z' fill='%230C2340'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.20rem center;
}

.agc-access-reg-edit-user-pg label[for^="user-status"] {
  min-height: 6rem;
}

.agc-access-reg-edit-user-pg select#user-status-select {
  align-self: start;
}

.agc-access-reg-edit-user-pg .actions-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 26rem;
  padding-top: 3rem;
}

.agc-access-reg-edit-user-pg .actions-wrapper .btn,
.agc-access-reg-user-succ-pg .btn {
  min-width: 7.5rem;
}

.agc-access-reg-user-step1-pg .sponsor-name {
  font-weight: 700;
}

.agc-access-reg-user-step1-pg .gray-border-top {
  border-top: 2px solid #9DA7B2;
}

.agc-access-reg-user-step1-pg .create-account-wrapper {
  padding-top: 2rem;
  max-width: 30rem;
}

.agc-access-reg-user-step1-pg .create-account-wrapper input {
  border: 1px solid #ced4da;
  border-radius: 0;
}

.custom-control {
  position: relative;
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5rem;
}

.custom-control-input {
  position: absolute;
  left: 0;
  z-index: -1;
  width: 1rem;
  height: 1.25rem;
  opacity: 0;
}

.custom-control-label::before {
  position: absolute;
  top: .25rem;
  left: -0.1rem;
  display: block;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  content: "";
  background-color: #fff;
  border: #adb5bd solid 1px;
}

.custom-control-label::before, .custom-file-label, .custom-select {
  transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.custom-checkbox .custom-control-label::before {
  border-radius: .25rem;
}

.custom-control-input.is-invalid~.custom-control-label::before,
.was-validated,
.custom-control-input:invalid~.custom-control-label::before,
.custom-control-input[is-invalid]~.custom-control-label::before {
  /* Make the checkbox pseudo-element have red border on invalid state */
  border-color: #dc3545;
}

.custom-control-input.is-invalid~.custom-control-label {
  /* Don't make the whole paragraph red on invalid state */
  /* color: red; */
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

.custom-control-label::after {
  position: absolute;
  top: .25rem;
  left: -0.1rem;
  display: block;
  width: 1rem;
  height: 1rem;
  content: "";
  background: no-repeat 50%/50% 50%;
}

.custom-control-input:checked~.custom-control-label::before {
  color: #fff;
  border-color: var(--color-teal);
  background-color: var(--color-teal);
}

.custom-control-input.is-valid:checked~.custom-control-label::before {
  border-color: var(--color-teal);
  background-color: var(--color-teal);
}


/********************************************************
 * Agency Access Register User Step 1, Step 2
 ********************************************************/
[class^="agc-access-reg-user"] {
  padding-left: var(--min-page-padding-x);
  padding-right: var(--min-page-padding-x);
}

[class^="agc-access-reg-user"]~.footer.container {
  padding-left: var(--min-page-padding-x);
  padding-right: var(--min-page-padding-x);
}


/********************************************************
 * Home Page
 ********************************************************/
#home_page a#scroll_to_top {
  display: none;
}

#home_page h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin: 0;
}

.tile-text-wrapper {
  min-height: 12.5rem;
  padding: 1.3rem 0 2.1rem 0;
}

.home-link {
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
}

.home-link:hover {
  text-decoration: none;
}

.teal-link {
  display: block;
  color: var(--color-teal);
  text-align: left;
  background-image: unset;
  margin-bottom: -0.2rem;
}

.teal-link:hover {
  color: var(--color-dark-teal);
}

.inline-chevron::after {
  content: '';
  background-image: url(/frontend/assets/images/icons/chevron-teal.svg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  width: 27px;
  height: 27px;
  display: inline-block;
  margin-left: 8px;
  position: relative;
  top: 8px;
}

.right-chevron::after {
  content: '';
  background-image: url(/frontend/assets/images/icons/chevron-teal.svg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  width: 27px;
  height: 27px;
  display: inline-block;
}

.dl-icon {
  background-image: url(/frontend/assets/images/icons/dl_teal.png);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  width: 21px;
  height: 21px;
  display: inline-block;
  margin-left: 10px;
  position: relative;
  top: 3px;
}

.middle.tile-text.container,
.end.tile-text.container {
  padding: 0 3rem;
}

.middle.tile-text .headline,
.end.tile-text.container {
  font-size: 18px;
}

.divider {
  border-bottom: 2px solid var(--color-teal);
  margin: 4rem 0 3rem 0;
}

.secondary.container .tile-wrapper {
  min-height: 11.8rem;
}

.secondary.container .start.tile-wrapper {
  padding: 1.1rem 3rem 0rem 3rem;
  min-height: 12.2rem;
}

.secondary.container .tile-text.container {
  padding: 0 3rem;
}

.secondary.container .headline-link {
  font-size: 24px;
  text-decoration: none;
  color: var(--color-white);
}

.secondary.container .headline-link:hover {
  color: var(--color-light-teal);
}

.secondary.container .inline-chevron::after {
  background-image: url(/frontend/assets/images/icons/chevron-white.svg);
}

.secondary.container .right-dl-icon::after {
  content: '';
  background-image: url(/frontend/assets/images/icons/dl_teal.png);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 4px;
}

.secondary.container .headline {
  font-size: 18px;
  /* font-family: 'inventionbold'; */
  font-weight: bold;
  color: var(--color-teal);
}

.secondary.container .rule-above {
  border-top: 1px solid var(--color-light-gray);
}

.secondary.container .rule-below {
  border-bottom: 1px solid var(--color-light-gray);
}

.secondary.container .home-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-blue);
  width: 100%;
  padding: 0.66rem 0;
}

.secondary.container .home-link:hover {
  color: var(--color-teal);
}

/* SVG icon in start tile */
svg.devices-icon-wrapper {
  width: 82px;
  height: 83px;
}

/* These rules are for the "wide footer" on home page only */
#navmerck #ot-sdk-btn.ot-sdk-show-settings {
  border: none;
  background-color: transparent;
  padding: 0px;
  outline: none;
  color: rgb(12, 35, 64);
  font-size: 0.875rem;
}

#home_page footer {
  font-size: 0.875rem;
  padding-top: 1rem;
}

/********************************************************
 * Corporate Toolkit Page
 ********************************************************/
h3.body-h3 {
  padding-top: 79px;
}

.dlsec h3, .gray-section h3 {
  margin: 1rem 0 2rem;
}

.dls2 p {
  margin-bottom: 1rem;
}

.dlsec p {
  margin-bottom: 1rem;
}

.colors-grid {
  display: grid;
  column-gap: 0.4em;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.grid-item-bottom {
  position: absolute;
  bottom: 0px;
}

.palette-grid-item {
  padding: 1em;
  height: 175px;
  position: relative;
}

.palette-grid-item.bg-light-teal p::selection,
.palette-grid-item.bg-light-teal ::selection {
  background-color: var(--color-teal);
}

.accent-color-palette .palette-grid-item {
  height: 140px;
}

.font-invention p:first-child {
  font-size: 50px;
  margin-top: 1em;
}

.font-weight-bold {
  font-family: 'Invention';
  font-weight: bold;
}

.typography-box {
  border: 1px solid var(--color-teal);
  font-family: 'invention';
  font-size: 1.625rem;
  font-weight: 300;
}

.typography-box.variant-2 {
  font-size: 2.813rem;
  line-height: 1.4;
}

.typography-box p {
  line-height: 3rem;
  margin-bottom: unset;
}

.check-icon {
  padding-left: 30px;
  background-image: url(../images/icons/icon_usage.svg);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 20px;
}

.dont-icon {
  padding-left: 30px;
  background-image: url(../images/icons/icon_donts.svg);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 20px;
}

.font-arial p:first-child {
  font-size: 50px;
  font-family: var(--arial);
  margin-top: 1em;
}

.font-arial-bold p:first-child {
  font-size: 50px;
  font-weight: bold;
  font-family: var(--arial);
  margin-top: 1em;
}

.default-list {
  margin-left: 1px;
}

.default-list li {
  padding-bottom: 0.5em;
}

.gragh-charts-colors,
.gragh-charts-colors-names {
  display: grid;
  column-gap: 2px;
  grid-template-columns: repeat(auto-fill, minmax(12%, 1fr));
}

.gragh-charts-colors div {
  color: var(--color-white);
  font-size: 40px;
  padding-top: 5px;
  line-height: 2.5em;
  text-align: center;
  margin-bottom: 10px;
  font-family: "invention";
  font-weight: 300;
}

.gragh-charts-colors div.bg-lemon {
  color: #0c2340;
}

.gragh-charts-colors-names div p {
  margin: 0;
  padding: 0.2em 0;
  font-size: 12px;
  line-height: 12px;
  font-weight: bold;
}

.custom-image-journal-ads {
  margin-top: 50px;
}

.custom-image-journal-ads .custom-image-journal-ads-content {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
}

.custom-image-journal-ads .right-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.right-content .image-group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.right-content .text-content {
  margin-left: 23px;
  max-width: 485px;
}

.text-content h3 {
  font-size: 1rem;
}

.custom-image-journal-ads .custom-image-journal-ads-footer {
  margin-top: 34px;
}

.custom-image-journal-ads-footer ul {
  margin-bottom: 5px;
  margin-top: 5px;
}

#modal_button_container_ja {
  padding: 3% 0px;
}

#journal-ads-modal a.btn.mail {
  padding-right: 3em;
  background-image: url("/frontend/assets/images/icons/mail.svg");
  background-repeat: no-repeat;
  background-position: 90% center;
}

#journal-ads-modal .btn-outline-white.blue.mail:hover {
  color: rgb(12, 35, 64);
  background-image: url("/frontend/assets/images/icons/mail-blue.svg");
}


/********************************************************
 * Animal Health Page
 ********************************************************/
.font-arial p:last-child {
  font-size: 1.125rem;
  font-family: var(--arial);
  margin-top: 1em;
}

.font-arial-bold p:last-child {
  font-size: 1.125rem;
  font-family: var(--arial);
  font-weight: bold;
}

#ah-photography .img-fluid {
  padding-bottom: 1rem;
}

section.pairing-with-brands-root-element .row.logo-spacing li {
  padding-bottom: .6em;
}

#ah_page .img-fluid {
  padding-bottom: 1rem;
}

#ah_page #ah-esig .img-fluid {
  padding: .5rem 0;
  background-color: var(--color-white);
}

hr.gray-thin {
  height: 2px;
  background: #72767B;
  opacity: 0.9;
}


/********************************************************
 * Downloads Page
 ********************************************************/
.btn-blue-outline {
  color: #0c2340;
  background-color: #ffffff;
  border: 1px solid #0c2340;
}

.btn-blue-outline.active, .btn-blue-outline:hover {
  color: #ffffff;
  background-color: #0c2340;
}

a.btn.btn-blue-outline.active {
  cursor: default;
}

.download-box {
  font-size: 1.5em;
  width: 200px;
  height: 90px;
  text-align: center;
  line-height: 2em;
  border-width: 1px;
  border-style: solid;
  display: inline-block;
  position: relative;
}

.download-box .download-mask {
  z-index: 1;
}

.download-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
  z-index: 0;
}

#downloads_page input#filter-icon-input {
  border: 1px solid #898989;
  border-radius: 0;
	margin-left: 0.2rem;
}

/* For "X" icon to reset text in input element, change cursor upon hover */
#icons input::-webkit-search-cancel-button,
#illustrations input::-webkit-search-cancel-button,
#photos input::-webkit-search-cancel-button,
site-search input::-webkit-search-cancel-button,
#videos input::-webkit-search-cancel-button
{
	cursor: pointer;
}

#icons input#filter-icon-input:not(:focus):not(.has-value) {
  /* magnifying glass icon */
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2716%27%20height%3D%2716%27%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M0.239083%2015.1107C0.400416%2014.9207%200.616365%2014.6824%200.887032%2014.3957C1.1577%2014.1091%201.46763%2013.7887%201.81696%2013.4347C2.16563%2013.0807%202.52633%2012.7174%202.89899%2012.3447C3.27166%2011.9721%203.64177%2011.6054%204.0091%2011.2447C4.37644%2010.8827%204.71466%2010.5494%205.02399%2010.2447C5.33333%209.94006%205.60004%209.67972%205.82404%209.46372L6.27302%209.01872C5.86714%208.52786%205.54777%207.97162%205.32819%207.37373C5.10892%206.77441%204.99774%206.14089%205.00007%205.50272C4.99709%204.52789%205.25613%203.57017%205.75007%202.72973C6.2318%201.91455%206.91194%201.23445%207.72712%200.752724C8.56831%200.259822%209.52559%200%2010.5006%200C11.4755%200%2012.4328%200.259822%2013.274%200.752724C14.0891%201.23449%2014.7693%201.91458%2015.251%202.72973C15.7438%203.57095%2016.0037%204.52829%2016.0037%205.50323C16.0037%206.47817%2015.7438%207.4355%2015.251%208.27673C14.7695%209.09207%2014.0893%209.7722%2013.274%2010.2537C12.578%2010.6601%2011.8013%2010.9086%2010.9986%2010.9815C10.1959%2011.0544%209.38685%2010.95%208.62897%2010.6757C8.03136%2010.4562%207.47564%2010.1367%206.98518%209.73073L0.85212%2015.8557C0.806695%2015.9032%200.752022%2015.9408%200.691475%2015.9662C0.630929%2015.9917%200.565746%2016.0044%200.500069%2016.0037C0.430339%2016.0069%200.360919%2015.9938%200.297188%2015.9653C0.233458%2015.9368%200.177245%2015.8938%200.133126%2015.8397C0.0450948%2015.7317%20-0.00205895%2015.5961%206.8997e-05%2015.4567C0.0564994%2015.327%200.137693%2015.2094%200.239083%2015.1107ZM12.2471%209.64973C13.3253%209.19187%2014.1839%208.33368%2014.6422%207.25572C14.8769%206.70214%2014.9979%206.10701%2014.9979%205.50572C14.9979%204.90444%2014.8769%204.3093%2014.6422%203.75572C14.1839%202.67776%2013.3253%201.81958%2012.2471%201.36172C11.6936%201.12701%2011.0984%201.00605%2010.4971%201.00605C9.89586%201.00605%209.30072%201.12701%208.74714%201.36172C7.66869%201.81914%206.80998%202.67746%206.35212%203.75572C6.1174%204.3093%205.99641%204.90444%205.99641%205.50572C5.99641%206.10701%206.1174%206.70214%206.35212%207.25572C6.81007%208.33392%207.66875%209.19223%208.74714%209.64973C9.30073%209.88439%209.89586%2010.0053%2010.4971%2010.0053C11.0984%2010.0053%2011.6935%209.88439%2012.2471%209.64973Z%27%20fill%3D%27%23898989%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.90rem center;
}

#icons .icon-controls-wrapper .separator {
  border: 0.8px solid var(--color-teal);
  margin: 0 1rem;
}

#icons select#icon-collection-select {
  border-color: #898989;
  padding: 0 .5rem;
  width: 33rem;
}

#icons select#icon-collection-select:focus {
  border-color: var(--color-teal);
  outline: none;
}

#icons .icons-grid-wrapper {
  display: grid;
  /* 100px is the minimum column width */
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  max-width: calc((100px + 1rem) * 8);
  column-gap: 0.2rem;
  row-gap: 1.1rem;
  margin: 0 auto;
  padding: 1rem 0;
}

#icons .icons-grid-wrapper .download-mask {
  /* background-image: url(../images/icons/download.svg); */
  /* Add stroke and stroke-width to original MCS 'Download' .svg icon, then change stroke-width to thicken */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23ffffff' stroke='%23ffffff' stroke-width='1.5' d='M15.1426,23.5586l.7148-.7002c.0447,.0461,4.2448,4.3135,7.6426,6.7013V4h1V29.5597c3.3978-2.3878,7.5979-6.6552,7.6426-6.7013l.7148,.7002c-.2031,.2065-4.9971,5.0811-8.5889,7.3633l-.2686,.1704-.2686-.1704c-3.5918-2.2822-8.3857-7.1567-8.5889-7.3633Zm24.3574-5.5586h-6.5v1h6.5c1.9297,0,3.5,1.5703,3.5,3.5v17c0,1.9297-1.5703,3.5-3.5,3.5H8.5c-1.9297,0-3.5-1.5703-3.5-3.5V22.5c0-1.9297,1.5703-3.5,3.5-3.5h6.5v-1h-6.5c-2.4814,0-4.5,2.0186-4.5,4.5v17c0,2.4814,2.0186,4.5,4.5,4.5h31c2.4814,0,4.5-2.0186,4.5-4.5V22.5c0-2.4814-2.0186-4.5-4.5-4.5Z'/%3E%3C/svg%3E");
  background-size: 40%;
}

#icons .icon-tile-wrapper:hover .icon-label {
  color: var(--color-teal);
}

#icons .icon-tile-wrapper a {
  color: var(--color-blue);
}

#icons .icon-tile-wrapper a:hover {
  color: var(--color-teal);
  text-decoration: none;
}

#icons .icon-preview {
  background-color: var(--color-off-white);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  /* Become nearest ancestor for download-mask stretching */
  text-align: center;
}

#icons .icon-preview img {
  max-width: 80%;
  max-height: 80%;
}

#icons .icon-label {
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.3;
  padding-top: 0.6rem;
}

#icons #icons-reveal-wrapper.collapse {
  display: block;
  visibility: visible;
  overflow: hidden;
  /* min-height: 23.5rem; */
  /* min-height: 23.5rem; */
  /* height: 23.5rem; /1* default collapsed height *1/ */
}

#icons #icons-reveal-wrapper.collapse.show {
  /* height: auto; */
}

#icons #icons-reveal-wrapper.collapsing {
  /* Override Bootstrap's default height of 0 to avoid flash */
  /* min-height: 23.5rem; */
}

#icons .icon-controls-wrapper {
  display: flex;
  flex-direction: row;
  /* gap: 1rem; */
  font-size: 0.875rem;
}

#icons .show-icons-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.sm-label {
  font-size: .815rem;
  text-align: center;
}

#icons hr.content-divider {
  margin-top: 0;
  margin-bottom: 3rem;
  opacity: 0;
}

.offset-scroll-top {
  /* Account for fixed top navbar covering top section of page for anchor links */
  scroll-margin-top: var(--top-navbar-height);
}

.row-btm-p {
  padding-bottom: 3rem;
}

.nav.content-tabs {
  border-bottom: 1px solid #6eceb2;
}

.nav.content-tabs li {
  margin-left: 1em;
  margin-right: 1em;
}

.nav.content-tabs li a {
  color: var(--color-blue);
  padding-left: 0px;
  padding-right: 0px;
  border-bottom: 0px solid var(--color-teal);
}

.nav.content-tabs li a:hover {
  color: var(--color-blue);
  border-bottom-width: 0px;
  text-decoration: none;
}

.nav.content-tabs li a.active {
  border-bottom-width: 4px;
  color: var(--color-blue);
  font-weight: bold;
}

.tab-content {
  padding-top: 2em;
}

/*
.tab-pane .row {
  padding-bottom: 5em;
}
*/
.tab-pane img.border {
  margin: 2em 0;
}

#downloads_page .form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + .75rem + 2px);
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#downloads_page .form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

#downloads_page [id^="image_search"] {
  margin-left: 0.2rem;
}

.library-category-photos,
.library-category-videos,
.library-category-illustrations {
  margin-bottom: 2em;
  display: none;
}

.library-category-photos.active,
.library-category-videos.active,
.library-category-illustrations.active {
  display: grid;
  column-gap: 1em;
  row-gap: 1em;
  grid-template-columns: 32% 32% 32%;
}

.library-item-photos,
.library-item-videos,
.library-item-illustrations {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.outer_image {
  background-color: #eee;
  height: 177px;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.library-item-photos img {
  min-width: 100%;
}

.outer_image>img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.library-category-illustrations .outer_image img {
  object-fit: cover;
  object-position: center top;
}

.library-category-illustrations .video-preview {
  object-fit: cover;
  object-position: center top;
}

.outer-video-container.library-item-illustrations {
  height: 178px;
}

.outer_image.video-preview {
  height: 100%;
  position: relative;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.download-mask-photos,
.download-mask-videos,
.download-mask-illustrations {
  position: absolute;
  top: -1px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  background-image: url(../images/icons/download-logo.svg);
  background-size: 55%;
  background-repeat: no-repeat;
  background-position: center center;
  /* display: none; */
  text-align: center;
}

.library-item-photos .download-mask-photos,
.library-item-videos .download-mask-videos,
.library-item-illustrations .download-mask-illustrations {
  background-size: 40%;
}

.library-item-photos .download-mask-photos.download-image,
.library-item-videos .download-mask-videos.download-image,
.library-item-illustrations .download-mask-illustrations.download-image {
  background-image: url(../images/icons/view-details.svg);
  background-size: 45%;
}

.img-pagination {
  display: flex;
  align-items: center;
}

.img-pagination button {
  border: none;
  background-color: var(--color-off-white);
  color: #00857c;
  padding: 3px;
  width: 30px;
  display: inline-block;
  text-align: center;
  height: 34px;
  font-size: 1.1rem;
}

.img-pagination button:hover {
  color: var(--color-white);
  background-color: var(--color-teal);
}

.img-pagination button.first-step {
  background-image: url(../images/icons/arrows/dblarrw-left-teal.svg);
  background-size: 30px;
  background-position: center;
  background-repeat: no-repeat;
}

.img-pagination button.first-step:hover {
  background-image: url(../images/icons/arrows/dblarrw-left-wt.svg);
}

.img-pagination button.previous-step {
  background-image: url(../images/icons/arrows/arrow.svg);
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
}

.img-pagination button.previous-step:hover {
  background-image: url(../images/icons/arrows/arrow-ko.svg);
}

.img-pagination input {
  width: 27px;
  text-align: center;
  border: 1px solid #ced4da;
  padding: 0 3px;
  font-size: .9rem;
  border-radius: 5px;
  height: 26px;
  margin-right: 6px;
  /* position: relative; */
}

.img-pagination .num-page {
  /* position: relative; */
}

.img-pagination button.next-step {
  background-image: url(../images/icons/arrows/arrow.svg);
  background-size: 22px;
  transform: rotate(180deg);
  background-position: center;
  background-repeat: no-repeat;
}

.img-pagination button.next-step:hover {
  background-image: url(../images/icons/arrows/arrow-ko.svg);
}

.img-pagination button.last-step {
  background-image: url(../images/icons/arrows/dblarrw-left-teal.svg);
  transform: rotate(180deg);
  background-size: 30px;
  background-position: center;
  background-repeat: no-repeat;
}

.img-pagination button.last-step:hover {
  background-image: url(../images/icons/arrows/dblarrw-left-wt.svg);
}

.templates_ah-tab-section.powerpoint_deck_section .download-mask-wrapper {
  /* Override the Bootstrap class on same element */
  margin-bottom: 0 !important;
}

.download-mask-wrapper a {
  padding: 0;
}

.icon-container p.icon-label, div.icon-label, .thmb-label {
  text-wrap: balance;
  font-size: 0.8em;
  padding-top: 0.7em;
  line-height: 1.3em;
  margin: 0;
  color: var(--color-blue);
}

/********************************************************
 * Hidden Animations Page
 ********************************************************/
hr.content.blue {
	border-top: 0;
	opacity: 1;
}


/********************************************************
 * Debugging
 ********************************************************/
.red-box {
  /* For visual debugging */
  border: 1px solid red !important;
}


/********************************************************
 * Modals
 ********************************************************/
#media-modal .modal-content {
  border-radius: 0;
  border-width: 1px;
  border-style: solid;
}

#media-modal #media-modal-image-preview {
  width: 100%;
  max-height: 540px;
  -o-object-fit: contain;
  object-fit: contain;
  background-color: #eee;
}

#media-modal .modal-video-preview {
  width: 100%;
}

#media-modal #media-modal-video-preview {
  display: none;
}

#media-modal #modal_button_container {
  padding: 5% 0;
}

#media-modal .btn.btn-outline-white {
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

#media-modal .btn.btn-outline-white:hover {
  background-color: var(--color-white);
}

#media-modal .btn-outline-white.blue.download {
  background-position-x: 92%;
}

#media-modal .btn-outline-white.blue.download:hover {
  color: var(--color-blue);
  background-image: url(../images/icons/download-blue.svg);
}

#media-modal .modal-column .modal-category {
  font-size: 0.8125rem;
  padding: 0.25em 1em;
  display: inline-block;
}

#media-modal .photo-details {
  max-height: 350px;
  overflow: auto;
}

#media-modal .modal-column p.modal-title {
  font-size: 0.75rem;
  font-weight: bold;
  margin: 0;
}


/********************************************************
 * Media Queries, Breakpoints
 ********************************************************/
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container.navigation, .container.navigation .col, .container.navigation .navbar {
    padding: 0;
  }

  #msd-logo {
    margin-left: 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  #navbarNav {
    /* padding-left: 135px; */
    justify-content: center;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

@media (max-width: 865px) {

  .middle.tile-text.container,
  .end.tile-text.container {
    padding: 0 1.4rem;
  }

  .tile-text-wrapper {
    min-height: 10.6rem;
  }

  .secondary.container .tile-wrapper {
    min-height: unset;
  }

  .secondary.container .tile-text.container {
    padding: 0;
  }

  .secondary.container .start.tile-wrapper {
    padding: 1rem 1.4rem;
  }

  .secondary.container svg.devices-icon-wrapper {
    width: 70px;
  }

  .secondary.container .headline-link {
    font-size: 20px;
  }

  .teal-link,
  .home-link {
    font-size: 0.8rem;
    padding: 0 0.5rem 0.8rem 0.5rem;
    line-height: 1.5;
  }

  .inline-chevron::after,
  .right-chevron::after,
  .secondary.container .right-dl-icon::after {
    display: none;
  }

  .middle.tile-text .headline,
  .end.tile-text .headline,
  .secondary.container .headline {
    font-size: 14px;
  }
}

@media (max-width: 820px) {
	/* Tablet portrait mode */
	#nav-container {
		padding-top: 0.8rem;
		padding-bottom: 0.8rem;
	}
}

@media (max-width: 575px) {
  .inline-chevron::after,
  .secondary.container .right-chevron::after,
  .secondary.container .right-dl-icon::after {
    display: inline-block;
  }
}


/****************************
 * Mega Menu
 ****************************/
top-header,
upper,
lower {
  display: block;
}

top-header {
  background-color: var(--color-white);
}

#nav-container nav .nav-item .nav-wrapper {
  height: 79px;
}

#nav-container nav ul li a.nav-link {
  border-bottom: 0;
  color: var(--color-blue);
  display: inline;
  line-height: 80px;
  margin-top: 2rem;
  margin-right: 2vw;
  padding: 0;
  text-decoration: none;
}

#nav-container a.border-animate:hover {
  color: var(--color-teal);
  transition: all 0.15s ease-in-out;
  border-bottom-width: 0px;
}

#nav-container a.border-animate.active {
  border-bottom: 4px solid var(--color-teal);
  cursor: default;
  color: var(--color-blue);
  font-weight: 700;
  padding-bottom: 25px;
}

top-header lower {
  background-color: var(--color-off-white);
  transition: height 0.15s ease !important;
}

top-header lower.collapsing {
  transition: height 0.1s ease !important;
}

top-header lower .row>.col:not(:first-child) {
  border-left: 1px solid var(--color-gray);
  padding-left: 4rem;
}

top-header lower:not(#panel-corptk) .row>.col:not(:first-child) {
  padding-left: 2.8rem;
}

top-header lower .controls.row {
  justify-content: end;
}

top-header lower .close-icon {
  cursor: pointer;
  display: inline-block;
  width: initial;
}

top-header lower .header,
top-header lower .header a {
  color: var(--color-blue);
  font-size: 0.875rem;
  font-weight: bold;
  padding-bottom: 1rem;
  padding-right: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  text-wrap: balance;
}

top-header lower .header a:hover {
  color: var(--color-teal);
  text-decoration: none;
}

top-header lower .items ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  column-gap: 2rem;
  line-height: 2.5;
  padding-left: 0;
}

top-header lower .items ul.single-column {
  grid-template-columns: 1fr;
}

top-header lower .items ul.three-columns {
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 0;
}

top-header lower .items ul.max-4-rows {
  grid-template-rows: repeat(4, auto);
}

top-header lower .items ul.max-5-rows {
  grid-template-rows: repeat(5, auto);
}

top-header lower .items ul.max-6-rows {
  grid-template-rows: repeat(6, auto);
}

top-header lower .items ul li {
  list-style: none;
}

top-header lower .items a {
  border-bottom: 2px solid transparent;
  color: var(--color-blue);
  padding-bottom: 0;
  text-decoration: none;
}

top-header lower .items a.active,
top-header lower .items a:hover {
  color: var(--color-teal);
}

top-header lower .items a.active {
  border-bottom: 0;
  font-weight: bold;
  text-decoration: 2px underline;
  text-underline-offset: 0.3rem;
}
