#mymedi .carousel-inner .item {
	background: #ffffff;
}

#mymedi .generic td {
	color: #B94A48;
}

#mymedi .input-dose {
	height: 40px;
	text-align: right;
}
#mymedi .input-dose input {
	text-align: center;
}

#mymedi .distri {
	margin-right: 10px;
	display: inline;
}
#mymedi .distri img {
	height: 20px;
}

#mymedi .search-results {
	box-shadow: 0 3px 3px #ccc;
	margin: 0;
	border: 1px solid #ccc;
	border-top: none;
	position: absolute;
	background: #fff;
	z-index: 100;
    width: 100%;
	font-size: 14px;
}
#mymedi .search-results table {
	width: 100%;
}
#mymedi .search-results table tr td {
	padding: 5px;
}
#mymedi .search-results table tr:hover td, #mymedi .search-results table tr.active td {
	background: var(--brand-color-accent);
	color: #fff;
	cursor: pointer;
}
#mymedi tr.search-results-all td {
	border-top: 1px solid #ccc;
	background: #f2f2f2;
	font-weight: bold; 
}
#mymedi .search-results table tr.search-results-all:hover td {
	color: #666;
	background: #f2f2f2;
}
#mymedi .search-progress {
	padding: 10px 10px 0 10px;
}
#mymedi .search-article-active td {
	font-weight: bold;
}
#mymedi td.right, #mymedi th.right {
	text-align: right;
}
#mymedi td.center, #mymedi th.center {
	text-align: center;
}
#mymedi tr.first-tr td {
	border-top: 2px solid #ccc;
}
#mymedi tr.first-tr-down th {
	border-bottom: 2px solid #ccc;
}
#mymedi .clickable {
	cursor: pointer;
}

#mymedi .td-tooltip {
	cursor: default;
}
#mymedi td.alert, #mymedi th.alert {
	border-radius: none;
	border: none;
	border-top: 1px solid #DDD;
}
#mymedi .table-articles tr.active2 td {
	background: #DFF0D8;
}
#mymedi .table tr td.label, #mymedi .table tr.active td.label, #mymedi .table tr.active2 td.label {
	border-radius: 0;
}
#mymedi .table tr:hover td.label, #mymedi .table tr.active2 td.label, #mymedi .table tr.active2:hover td.label {
	background: #999999;
	color: #000000;
}
#mymedi .table tr:hover td.label-success, #mymedi .table tr.active td.label-success, #mymedi .table tr.active2 td.label-success, #mymedi .table tr.active2:hover td.label-success {
	background: #468847;
	color: #ffffff;
}
#mymedi .table tr:hover td.label-info, #mymedi .table tr.active td.label-info, #mymedi .table tr.active2 td.label-info, #mymedi .table tr.active2:hover td.label-info {
	background: #3A87AD;
	color: #ffffff;
}
#mymedi .table tr:hover td.label-important, #mymedi .table tr.active td.label-important, #mymedi .table tr.active2 td.label-important, #mymedi .table tr.active2:hover td.label-important {
	background: #B94A48;
	color: #ffffff;
}

#mymedi .table-articles tr.active td {
	background: #3A87AD;
	color: #ffffff;
}
#mymedi .table-articles tr.active:hover td {
	background: #3A87AD;
	color: #ffffff;
}
#mymedi .table-articles tr.active2:hover td {
	background: #DFF0D8;
}

#mymedi .modal-nav {
	position: fixed;
	width: 200px;
	margin-left: -200px;
	background: #ffffff;
	border-radius: 6px 0 0 6px;
	padding: 6px 0 6px 0;
	box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}

#mymedi .modal-pi .modal-header {
	border: none;
}

#mymedi .subnav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 12px 40px;
	background: var(--brand-color-bg-section-subtle);
	border-top: 1px solid var(--brand-color-border-default);
	border-bottom: 1px solid var(--brand-color-border-default);
}
#mymedi .subnav .nav {
	float: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
}
#mymedi .subnav .nav > li {
	float: none;
	margin: 0;
}
#mymedi .subnav .nav > li > a {
	padding: 8px 16px;
	font-size: 15px;
	white-space: nowrap;
	color: var(--brand-color-text-primary);
	border-radius: 999px;
}
#mymedi .subnav .nav > li > a:hover,
#mymedi .subnav .nav > li > a:focus,
#mymedi .subnav .nav > li.open > a {
	color: var(--brand-color-text-primary);
	background: var(--brand-color-primary-100);
}
#mymedi .subnav .dropdown-menu {
	padding: 8px 0;
	border: 1px solid var(--brand-color-border-default);
	border-radius: 12px;
	box-shadow: var(--brand-shadow-card);
}
#mymedi .subnav .dropdown-menu > li > a {
	padding: 8px 20px;
	color: var(--brand-color-text-primary);
}
#mymedi .subnav .dropdown-menu > li > a:hover {
	background: var(--brand-color-primary-100);
}

#mymedi .pull-right .dropdown-menu {
	left: auto;
	right: 0;
}

#mymedi .modal-pi table,
#mymedi .modal-pi table tr td,
#mymedi .modal-pi table tr th,
#mymedi .modal-pi-body table,
#mymedi .modal-pi-body table tr td,
#mymedi .modal-pi-body table tr th {
	font-family: Courier New;
}
#mymedi .modal-pi .modal-body a,
#mymedi .modal-pi .modal-body a:hover,
#mymedi .modal-pi-body a {
	color: #000;
	text-decoration: none;
}
#mymedi .modal-pi .modal-body p,
#mymedi .modal-pi-body p {
	margin: 0 0 10px;
	padding: 0;
}
#mymedi .modal-pi-body .monographie h1 {
	margin: 4px 0 8px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--brand-color-text-primary);
}
#mymedi .modal-pi .modal-body h2,
#mymedi .modal-pi-body h2 {
	font-size: 15px;
	line-height: 18px;
	padding: 10px 0 4px 0;
}
#mymedi .modal-pi .modal-body h3,
#mymedi .modal-pi-body h3 {
	font-size: 13px;
	line-height: 18px;
	padding: 10px 0 4px 0;
	color: #999999;
}

#mymedi .modal-pi .modal-body .footer,
#mymedi .modal-pi-body .footer {
	border-top: 1px solid #e5e5e5;
	margin: 10px 0 0 0;
	padding: 10px 0 0 0;
	color: #999999;
}
#mymedi .modal-pi .modal-body .header,
#mymedi .modal-pi-body .header {
	text-align: right;
	color: #999999;
	margin-bottom: 20px;
}
#mymedi .modal-pi .modal-body .ownerCompany,
#mymedi .modal-pi-body .ownerCompany {
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	margin: 10px 0 10px 0;
	padding: 10px 0 10px 0;
	color: #999999;
	font-weight: bold;
	font-size: 15px;
}

#mymedi .load-progress {
	width: 50%;
	margin: 100px auto;
}

#mymedi .well-articles {
	border-radius: 0 0 4px 4px;
	margin-top: -4px;
	padding-top: 23px;
	background-color: #fafafa;
}
#mymedi .well-articles-other {
	background-color: white;
	border: none;
	box-shadow: none;
}


#mymedi header {
	background: url(../img/header.png) repeat-x;
	height: 138px;
    margin-bottom: 30px;
}
#mymedi header .header-apps {
    padding-top: 55px;
}
#mymedi .brand-container {
    padding-top: 47px;
    position: relative;
}


#mymedi .footer-right p small {
	display: block;
	font-size: 10px;
	font-weight: bold;
}
#mymedi .footer-right, #mymedi .footer-right a {
	color: #999;
}
#mymedi .footer-right a {
	font-weight: bold;
}

.popover-bfu-sub {
	background: url(../img/logo_bfu.png) no-repeat -7px 5px;
	border-top: 1px solid #eee;
	padding: 7px 0 0 65px;
	margin-top: 7px;
	font-style: italic;
}

.popover-bpa-sub {
	background: url(../img/logo_bpa.png) no-repeat -7px 5px;
	border-top: 1px solid #eee;
	padding: 7px 0 0 65px;
	margin-top: 7px;
	font-style: italic;
}

.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1010;
  display: none;
  max-width: 400px;
  padding: 1px;
  text-align: left;
  white-space: normal;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
     -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
     -moz-background-clip: padding;
          background-clip: padding-box;
}

.popover.top {
  margin-top: -10px;
}

.popover.right {
  margin-left: 10px;
}

.popover.bottom {
  margin-top: 10px;
}

.popover.left {
  margin-left: -10px;
}

.popover-title {
  padding: 8px 14px;
  margin: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  -webkit-border-radius: 5px 5px 0 0;
     -moz-border-radius: 5px 5px 0 0;
          border-radius: 5px 5px 0 0;
}

.popover-title:empty {
  display: none;
}

.popover-content {
  padding: 9px 14px;
  font-size: 12px;
  line-height: 20px;
}

.popover .arrow,
.popover .arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.popover .arrow {
  border-width: 11px;
}

.popover .arrow:after {
  border-width: 10px;
  content: "";
}

.popover.top .arrow {
  bottom: -11px;
  left: 50%;
  margin-left: -11px;
  border-top-color: #999;
  border-top-color: rgba(0, 0, 0, 0.25);
  border-bottom-width: 0;
}

.popover.top .arrow:after {
  bottom: 1px;
  margin-left: -10px;
  border-top-color: #ffffff;
  border-bottom-width: 0;
}

.popover.right .arrow {
  top: 50%;
  left: -11px;
  margin-top: -11px;
  border-right-color: #999;
  border-right-color: rgba(0, 0, 0, 0.25);
  border-left-width: 0;
}

.popover.right .arrow:after {
  bottom: -10px;
  left: 1px;
  border-right-color: #ffffff;
  border-left-width: 0;
}

.popover.bottom .arrow {
  top: -11px;
  left: 50%;
  margin-left: -11px;
  border-bottom-color: #999;
  border-bottom-color: rgba(0, 0, 0, 0.25);
  border-top-width: 0;
}

.popover.bottom .arrow:after {
  top: 1px;
  margin-left: -10px;
  border-bottom-color: #ffffff;
  border-top-width: 0;
}

.popover.left .arrow {
  top: 50%;
  right: -11px;
  margin-top: -11px;
  border-left-color: #999;
  border-left-color: rgba(0, 0, 0, 0.25);
  border-right-width: 0;
}

.popover.left .arrow:after {
  right: 1px;
  bottom: -10px;
  border-left-color: #ffffff;
  border-right-width: 0;
}

#mymedi .pagination {
    margin: 0 0 10px 0;
}


#mymedi .article-show-details h2 {
    margin-top: 0;
}

#mymedi .percent {
    font-weight: bold;
}

#mymedi .search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin: 0 0 24px;
}
#mymedi .search-form:before,
#mymedi .search-form:after {
    display: none;
}
#mymedi .search-form > [class*="col-"] {
    float: none;
    width: auto;
    padding: 0;
}
#mymedi .search-form > .col-md-8 {
    flex: 1 1 320px;
    position: relative;
}
#mymedi .search-form > .col-md-4 {
    flex: 0 0 auto;
    margin-left: auto;
}

#mymedi .modal-body {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

#mymedi .footer-right {
	font-size: 13px;
	line-height: 1.8;
	color: var(--brand-color-text-secondary);
}
#mymedi .footer-right a {
	font-weight: normal;
	color: var(--brand-color-text-secondary);
	text-decoration: underline;
	text-underline-offset: 3px;
}
#mymedi .footer-right a:hover,
#mymedi .footer-right a:focus {
	color: var(--brand-color-accent);
}

@media(max-width: 768px) {
    #mymedi .well-articles-other {
        padding: 0;
    }

    #mymedi .well-article-details {
        padding: 12px;
    }
    #mymedi .well-articles {
        padding: 12px;
    }

    #mymedi .well-articles h2 {
        margin-top: 0;
    }

    #mymedi .well-articles table {
        margin-bottom: 0;
    }

    #mymedi .article-show-details {
        padding-top: 12px;
    }

    #mymedi header .brand-container {
        margin: 0 auto;
    }
}

@media(max-width: 500px) {
    #mymedi header .brand-container,
    #mymedi header .brand img {
        width: 250px;
    }
    #mymedi header .brand-container .back {
        top: 86px;
        left: 58px;
    }
}

#mymedi .input-dose {
	display: none;
}

#mymedi .page-header {
	border: none;
	margin: 0;
	padding: 0;
}

#mymedi {
	font-size: 16px;
	line-height: 1.5;
	padding: 24px 0 40px;
}
#mymedi .well {
	padding: 24px 32px;
}
#mymedi .footer-bottom {
	margin-top: 20px;
}
#mymedi p {
	font-size: inherit;
	line-height: inherit;
}

.text > .cmp-text-wrapper:has(#mymedi) {
	width: 100% !important;
	max-width: var(--brand-content-max-wide, 1188px);
}

.modal-backdrop {
	z-index: 1150;
}
#mymedi .modal,
.tooltip {
	z-index: 1200;
}


/* Concordia quick-wins, tokens from the AEM site CSS */

#mymedi .input-search {
	height: 64px;
	padding: 0 28px;
	font-size: 18px;
	color: var(--brand-color-text-primary);
	background: #fff;
	border: 1px solid var(--brand-color-primary-200);
	border-radius: 16px;
	box-shadow: none;
}
#mymedi .input-search:focus {
	border-color: var(--brand-color-accent);
	box-shadow: var(--brand-shadow-focus);
}
#mymedi .search-results {
	margin-top: 4px;
	font-size: 15px;
	border: 1px solid var(--brand-color-primary-200);
	border-radius: 16px;
	box-shadow: var(--brand-shadow-card);
	overflow: hidden;
}
#mymedi .search-results table tr td {
	padding: 8px 16px;
}
#mymedi tr.search-results-all td,
#mymedi .search-results table tr.search-results-all:hover td {
	color: var(--brand-color-text-primary);
	background: var(--brand-color-primary-50);
	border-top-color: var(--brand-color-border-default);
}

#mymedi .search-links {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	padding-right: 4px;
}
#mymedi .search-links br {
	display: none;
}
#mymedi .search-links a {
	font-size: 15px;
	color: var(--brand-color-text-primary);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: var(--brand-color-primary-200);
	white-space: nowrap;
}
#mymedi .search-links a:hover,
#mymedi .search-links a:focus {
	color: var(--brand-color-accent);
	text-decoration-color: currentColor;
}
#mymedi .btn,
#mymedi .btn-default {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 48px;
	padding: 10px 24px;
	font-size: 15px;
	line-height: 1.3;
	color: var(--brand-color-text-primary);
	background: #fff;
	border: 1px solid var(--brand-color-blue-600);
	border-radius: 999px;
	box-shadow: none;
	text-decoration: none;
	white-space: nowrap;
	transition: color 150ms, border-color 150ms, background-color 150ms;
}
#mymedi .btn:hover,
#mymedi .btn:focus,
#mymedi .btn-default:hover,
#mymedi .btn-default:focus {
	color: var(--brand-color-accent);
	background: #fff;
	border-color: var(--brand-color-accent);
	text-decoration: none;
	outline: none;
}
#mymedi .btn-primary,
#mymedi .btn-primary:hover,
#mymedi .btn-primary:focus {
	color: #fff;
	background: var(--brand-color-action-primary-fill);
	border-color: var(--brand-color-action-primary-fill);
}
#mymedi .btn-primary:hover,
#mymedi .btn-primary:focus {
	background: var(--brand-color-primary-700);
	border-color: var(--brand-color-primary-700);
}
#mymedi .modal-header .close {
	margin-top: 0;
}

#mymedi h2 {
	margin: 0 0 12px;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--brand-color-text-primary);
}
#mymedi h4 {
	font-size: 16px;
	font-weight: normal;
	color: var(--brand-color-text-secondary);
}

#mymedi .well {
	background: var(--brand-color-bg-section-subtle);
	border: 1px solid var(--brand-color-border-card);
	border-radius: 16px;
	box-shadow: none;
}
#mymedi .well-article-details {
	border-radius: 16px 16px 0 0;
	border-bottom: none;
}
#mymedi .well-articles {
	margin-top: 0;
	background: #fff;
	border-top: none;
	border-radius: 0 0 16px 16px;
}
#mymedi .well-articles-other {
	padding: 0;
	background: #fff;
	border: none;
}

#mymedi .table > thead > tr > th {
	font-weight: 600;
	color: var(--brand-color-text-secondary);
	border-bottom: 2px solid var(--brand-color-border-default);
}
#mymedi .table > tbody > tr > td,
#mymedi .table > tbody > tr > th,
#mymedi .table > tfoot > tr > td {
	border-top-color: var(--brand-color-border-default);
}
#mymedi .table-striped > tbody > tr:nth-of-type(odd) {
	background: var(--brand-color-primary-50);
}
#mymedi .table-hover > tbody > tr:hover {
	background: var(--brand-color-primary-100);
}
#mymedi .cat-rx {
	background: var(--brand-color-neutral-beige-200);
}
#mymedi .cat-otc {
	background: var(--brand-color-primary-100);
}
#mymedi .label.cat-rx,
#mymedi .label.cat-otc {
	color: var(--brand-color-text-primary);
}
#mymedi .table > tbody > tr > td.danger,
#mymedi .table-hover > tbody > tr > td.danger:hover,
#mymedi .table-hover > tbody > tr:hover > .danger {
	color: var(--brand-color-error);
	background: rgba(205, 31, 31, 0.08);
}
#mymedi .table > tbody > tr > td.success,
#mymedi .table-hover > tbody > tr > td.success:hover,
#mymedi .table-hover > tbody > tr:hover > .success {
	color: var(--brand-color-green);
	background: rgba(0, 90, 93, 0.08);
}
#mymedi .table > tbody > tr > td.info,
#mymedi .table > tbody > tr.info > td,
#mymedi .table-hover > tbody > tr > td.info:hover,
#mymedi .table-hover > tbody > tr:hover > .info,
#mymedi .table-hover > tbody > tr.info:hover > td {
	background: var(--brand-color-primary-100);
}
#mymedi .label {
	padding: 3px 9px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 999px;
}
#mymedi .label-success {
	background: var(--brand-color-green);
}
#mymedi .label-default,
#mymedi .label-inverse {
	background: var(--brand-color-blue-700);
}
#mymedi .label.sb-10 {
	color: #fff;
	background: var(--brand-color-green);
}
#mymedi .label.sb-40 {
	color: var(--brand-color-text-primary);
	background: var(--brand-color-champagne);
}

#mymedi .pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 16px;
}
#mymedi .pagination > li > a,
#mymedi .pagination > li > span,
#mymedi .pagination > li:first-child > a,
#mymedi .pagination > li:last-child > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	float: none;
	min-width: 38px;
	height: 38px;
	margin: 0;
	padding: 0 12px;
	font-size: 14px;
	color: var(--brand-color-text-secondary);
	background: #fff;
	border: 1px solid var(--brand-color-border-default);
	border-radius: 999px;
	transition: color 0.2s ease, border-color 0.2s ease;
}
#mymedi .pagination > li > a:hover,
#mymedi .pagination > li > a:focus {
	color: var(--brand-color-text-primary);
	background: #fff;
	border-color: var(--brand-color-border-hover);
}
#mymedi .pagination > .active > a,
#mymedi .pagination > .active > a:hover,
#mymedi .pagination > .active > a:focus {
	color: #fff;
	background: var(--brand-color-action-primary-fill);
	border-color: var(--brand-color-action-primary-fill);
}

#mymedi div.alert {
	padding: 16px 24px;
	color: var(--brand-color-text-primary);
	background: var(--brand-color-primary-100);
	border: 1px solid var(--brand-color-primary-200);
	border-radius: 16px;
}
#mymedi div.alert-warning {
	background: var(--brand-color-neutral-beige-100);
	border-color: var(--brand-color-neutral-beige-300);
	border-left: 4px solid var(--brand-color-accent);
}
#mymedi div.alert-danger {
	color: var(--brand-color-error);
	background: rgba(205, 31, 31, 0.08);
	border-color: var(--brand-color-error);
}

#mymedi .modal-content {
	border: none;
	border-radius: 16px;
	box-shadow: var(--brand-shadow-2xl);
	overflow: hidden;
}
#mymedi .modal-header {
	padding: 32px 40px 0;
	border-bottom: none;
}
#mymedi .modal-header h3,
#mymedi .modal-title {
	margin: 0;
	font-size: 22px;
	font-weight: 500;
	color: var(--brand-color-text-primary);
}
#mymedi .modal-body {
	padding: 16px 40px 24px;
	line-height: 1.6;
}
#mymedi .modal-footer {
	padding: 8px 40px 32px;
	border-top: none;
}
@media (min-width: 768px) {
	#mymedi .modal-dialog {
		width: 760px;
	}
}
#mymedi .modal-pi .modal-body h2,
#mymedi .modal-pi .modal-body h3 {
	margin: 20px 0 4px;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--brand-color-text-secondary);
}
#mymedi .modal-footer .btn + .btn {
	margin-left: 8px;
}
#mymedi .close {
	opacity: 1;
	font-weight: normal;
	color: var(--brand-color-text-primary);
	text-shadow: none;
}
#mymedi .close:hover,
#mymedi .close:focus {
	opacity: 1;
	color: var(--brand-color-accent);
}
#mymedi .modal-nav {
	border-radius: 16px 0 0 16px;
}

#mymedi .dl-horizontal dt {
	width: 200px;
	padding: 3px 0;
	overflow: visible;
	white-space: normal;
	text-overflow: clip;
	font-weight: 600;
	color: var(--brand-color-text-secondary);
}
#mymedi .dl-horizontal dd {
	margin-left: 224px;
	padding: 3px 0;
}
#mymedi .dl-horizontal .label {
	vertical-align: 1px;
}

#mymedi #modal-privacy table,
#mymedi #modal-privacy table tr td,
#mymedi #modal-privacy table tr th {
	font-family: inherit;
}

#mymedi .subnav-carousel {
	justify-content: center;
	padding: 8px 12px;
	border-top: none;
	border-radius: 0 0 12px 12px;
}
#mymedi .subnav-carousel li {
	width: auto !important;
	text-align: center;
}

@media (max-width: 767px) {
	#mymedi .well-articles-other,
	#mymedi .well-articles,
	#mymedi .well-article-details {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	#mymedi .table-articles {
		min-width: 600px;
	}
	#mymedi .search-links {
		flex-direction: row;
		gap: 16px;
	}
}
