/* common css code here */

/* fixes oldstyle psa joint scoring */
#schemata_doctor_upper_left68 {
  width: auto;
  height: auto;
  zoom: 95%;
}
#schemata_doctor_upper_right68 {
  width: auto;
  height: auto;
  zoom: 95%;
}

.portalMessage.success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
table.noborder {
  border: 0px;
}

#schemata_doctor_upper_right,
#schemata_doctor_upper_right68,
#schemata_doctor_ultrasound_right {
  float: left;
  padding: 0 0 0 10px;
  background-color: #ffffff;
}

.picker__select--year {
  width: 28% !important;
}

.picker__select--month {
  width: 35% !important;
}
.selectedmode {
  background: #aaffaa !important;
}

.plone-modal-title {
  margin: 0px !important;
}

/* Topbar container fixed at top */
ul.nav.flex-column.plone-toolbar-main {
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  list-style: none;
  background-color: #333;
  height: 50px;
  font-family: Arial, sans-serif;

  position: fixed; /* fix to top */
  top: 0;
  left: 0;
  width: 100%; /* full width */
  z-index: 9999; /* above all content */
}

/* Top-level menu items */
ul.nav.flex-column.plone-toolbar-main > li.nav-item {
  position: relative;
}
ul.nav.flex-column.plone-toolbar-main a.dropdown-toggle {
  color: #fff;
}

/* Links */
ul.nav.flex-column.plone-toolbar-main > li.nav-item > a.nav-link {
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: white;
  text-decoration: none;
  height: 50px;
}

ul.nav.flex-column.plone-toolbar-main > li.nav-item > a.nav-link:hover {
  background-color: #555;
}

/* Icons */
ul.nav.flex-column.plone-toolbar-main svg.plone-icon {
  margin-right: 5px;
  fill: white;
}

/* Dropdown menu below main menu */
li.dropend > ul.dropdown-menu {
  display: none;
  position: relative;
  top: 10px; /* directly below parent */
  left: 0; /* align left with parent */
  background-color: #fff;
  min-width: 180px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Show dropdown on hover */
li.dropend:hover > ul.dropdown-menu {
  display: block;
}

/* Dropdown links */
ul.dropdown-menu > li > a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
}

ul.dropdown-menu > li > a:hover {
  background-color: #f1f1f1;
}

/* Hide vertical dividers from vertical layout */
li.border-top.my-2 {
  display: none;
}
.personaltools-wrapper {
  position: fixed;
  z-index: 200;
  left: 15px;
  bottom: 15px;
}
.toolbar-header {
  display: none !important;
}
.field {
  margin-bottom: 15px;
  clear: both;
  width: 100%;
}
input[type="radio"],
input[type="checkbox"] {
  padding-right: 4px;
}
#form-buttons-savetoinactive {
  background-color: #1e87f0;
  color: white;
  margin-top: 20px;
}
#form-buttons-savetoprivate {
  background-color: #1e87f0;
  color: white;
  margin-top: 20px;
}

@media (min-width: 400px) and (max-width: 768px) {
  #portal-anontools {
    float: left !important;
  }
  #portal-anontools ul {
    padding-left: 3px !important;
  }
  #portal-anontools li {
    margin: 0px;
  }
  #portal-anontools a {
    padding: 4px 6px !important;
  }
}
