img .mx-auto .d-block{
    margin:5px;
}
.float-start{
    float:left;
    margin-right:10px;
    margin-bottom:5px;
    margin-top:5px;
}
.float-end{
    float:right;
    margin-left:10px;
    margin-bottom:5px;
    margin-top:5px;
}
.breadcrumb{
    font-size: 16px;
}
.AF_c_content_main{
    font-size: 18px;
}
.t4-col.component.col-md.video-background:has(.GLAVVRACH) {
    display: none;
}
.AF_c_content_main img{
    max-width: unset;
}
.desc-article table:not([class]) tr:first-child td {
    border-top: none;
}
.desc-article table:not([class]) tr:last-child td {
    border-bottom: none;
}
.desc-article table:not([class]) {
    width: unset;
}
table img{
    max-width: unset;
    height: unset;
}
.filters{
display: flex;
justify-content: end;
}
.filters legend{
display: flex;
justify-content: end;
}
.sr-only{
    border: 0;
  clip: rect(0, 0, 0, 0);
  height: min-content;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: unset;
  width: max-content;
}
.t4-header .search{
    margin-left: auto;  margin-right: auto;  width: min-content;
}
.item-page.layout-1 .top-article-info{
    text-align: unset;
}
.mod-finder__search
{
    width: 300px;
    margin-top: 15px;
}
.center-vertical{
  display: flex;
  align-items: center; /* Center vertically */
}
.mfp_default_title{
    height: 75px;
}
.navbar-brand{
  margin-left: auto;
  width: 140px;
  margin-right: auto;
}
.item-page.layout-1 .top-article-info {
  max-width: 1250px;
}
.item-page.layout-default.no-sidebar .top-article-info{
    max-width: 1250px;
}
.navbar-brand.logo-control img.logo-img {
  max-height: 130px !important;
  width: auto !important;
  /*max-width: 200px;*/
}
.menu-button-ds {
  color: #3a9495;
  border: 2px solid #3a9495;
  border-radius: 25px; /* Rounded corners */
  padding: 5px 10px;
  cursor: pointer;
  background-color: transparent; /* No background color */
  transition: color 0.3s ease, border-color 0.3s ease;
}

.menu-button-ds:hover {
  color:#266364; /* Darker text color on hover */
  border-color: #266364; /* Darker border color on hover */
}
.background-cyan{
    background-color: #3A9495;
}
.background-orange{
    background-color: #D17125;
}

.t4-offcanvas .t4-off-canvas-body .navbar .dropdown-menu .dropdown-item{
    text-wrap: auto;
}
.item-page.layout-default.no-sidebar .top-article-info{
    text-align: justify;
}

/*.doctors-photos {
float : left;
width : 149px;
height : 221px;
border : solid 1px;
border-width : 1px;
max-width: none;
}*/
.doctors-photos{
    width: 150px; /* Adjust as needed */
    height: 150px; /* Ensures a perfect circle */
    object-fit: cover; /* Ensures the image fills the circle without distortion */
    border-radius: 50%; /* Makes it round */
    overflow: hidden; /* Hides overflow from non-square images */
    display: block;
    float : left;
    margin-right: 10px;
    object-position: center top;
    overflow: hidden;
}
.AF_c_side_menu {
display : block;
width : 300px;
float : left;
padding: 4px;
margin-right:4px;
margin-bottom:4px;
}
.AF_c_content_main {
display : block;
}
.AF_main_ul {
list-style-type: none;
line-height: 110%;
margin-bottom: 2px;
}
.AF_child_ul {
list-style-type: none;
line-height : 100%;
}
.AF_li_highlighted {
line-height : 120%;
background-color : #ddffff;
border : #2196F3 solid 1px !important ;
padding : 0.01em 16px;
border-radius : 6px;
}
/* Media query for portrait mode (height > width) */
@media (max-aspect-ratio: 1/1) {
  .AF_c_side_menu {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  .AF_c_content_main {
    clear: both;
    width: 100%;
  }
}
/* Target only tables without classes */
table:not([class]) {
    border-collapse: collapse;
    width: 100%;
    margin: 25px 0;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 151, 91, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Style table headers */
table:not([class]) th {
    background-color: #3B975B;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 3px solid #2e7a47;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Style table cells */
table:not([class]) td {
    padding: 12px 18px;
    border-bottom: 1px solid #e6f0ea;
    vertical-align: top;
    color: #333;
}

/* Add hover effect for rows */
table:not([class]) tr:hover {
    background-color: #f5faf7;
    transition: background-color 0.3s ease;
}

/* Style alternate rows */
table:not([class]) tr:nth-child(even) {
    background-color: #fafdfc;
}

/* Add secondary color accents */
table:not([class]) tr:first-child td {
    border-top: 2px solid #d65d5d;
}

table:not([class]) tr:last-child td {
    border-bottom: 2px solid #d65d5d;
}

/* Make it responsive */
@media screen and (max-width: 600px) {
    table:not([class]) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table:not([class]) th,
    table:not([class]) td {
        min-width: 130px;
    }
}
.sms_gnomed{
  border:1px solid;
  border-collapse: collapse;
  border-color:black;
}
.sms_gnomed tr{
  border:1px solid;
  border-collapse: collapse;
  border-color:black;
}
.sms_gnomed td{
  border:1px solid;
  border-collapse: collapse;
  border-color:black;
  padding: 4px;
  font-family: "Times New Roman", Times, serif;
  font-size:14px;
}