/* custom css */

h4, h5, h6 {
  margin-bottom: 1rem;
}

th, td {
  padding: 1.2rem 1.25rem;
}

th a {
  color: #2f85ae;
}

td.url {
  word-break: break-all;
}

td.actions a {
  border: 1px solid lightgray;
  border-radius: 5px;
  padding: 0px 6px;
  margin-bottom: 0.5em;
  display: inline-block;
}

/* side nav */
.side-nav a.button {
  color: white;
}

/* header navigation */
header.top-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
header.top-nav .top {
  align-items: baseline;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}
header.top-nav .top .top-nav-links ul {
  display: flex;
  flex-direction: row;
  gap: 15px;
  list-style: none;
}
header.top-nav .top .top-nav-links ul li a {
  padding: 4px;
}
header.top-nav ul li a {
  color: #606c76;
}
header.top-nav ul li.current a {
  color: #d33c43;
  font-weight: bold;
}
header.top-nav .top .top-nav-links ul li.logout a {
  color: #d33c43;
  border: 1px solid #d33c43;
  border-radius: 5px;
  font-weight: bold;
}
header.top-nav .bottom {
  width: 100%;
}
header.top-nav .bottom nav.main ul {
  display: flex;
  flex-direction: row;
  gap: 15px;
  list-style: none;
  justify-content: space-between;
}


/* paginator */
.paginator {
  padding: 1em 0;
  opacity: 0.5;
}

.paginator:hover {
  opacity: 1;
}

.paginator p {
  text-align: center;
}

.paginator ul.pagination li.active {
  font-weight: bold;
}

body main.main .content {
  margin-bottom: 1em;
}

body footer#footer {
  padding: 0.25em;
  margin-bottom: 1.5em;
  text-align: center;
}

body footer#footer p {
  opacity: 0.5;
}

body footer#footer:hover p {
  opacity: 1;
}

form .input.error input {
  margin-bottom: 0.5rem;
}
form .input.error .error-message {
  color: #cc1f1a;
  margin-bottom: 1.5rem;
}

/* action button on index view */
.index .content > a.button.float-right {
  margin-left: 1em;
}

/* title */
body main .container .content.title h3 {
  margin-bottom: 0;
}

/* columns */
body main .container .content .columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1em;
}
body main .container .content .columns.cols-2 > * {
  flex-basis: 50%;
}

/* table */
body main .container .content .table-responsive table td.date {
  min-width: 117px;
}
body main .container .content .table-responsive td.company {
  width: 50%;
  word-wrap: break-word;
}

/* home */
body.pages.display.home main .container {
  max-width: 100%;
}
body.pages.display.home main .content table th,
body.pages.display.home main .content table td {
  padding: 1.25rem 4px;
}
body.pages.display.home main .content table td.sv {
  min-width: 220px;
}
body.pages.display.home main .content table td ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.pages.display.home main .content table td ul li {
  margin-bottom: 0;
}

/* form */
form .input.radio label[for] {
  font-weight: normal;
}
form input[type="radio"] {
  margin-bottom: 0;
  margin-right: 0.5em;
}
form textarea {
  min-height: 300px;
}

/* announcements search */
.announcements.index.search .form form table td {
  border: 0;
}
.announcements.index.search .form form table tr.submit td {
  padding-bottom: 0;
}
.announcements.index.search .form form table tr.submit td.submit-button {
  text-align: right;
}
.announcements.index.search .form form fieldset {
  margin: 0;
}
.announcements.index.search .form form fieldset legend {
  width: 100%;
}
.announcements.index.search .form form fieldset div.input {
  display: inline-block;
  height: 77px;
  padding: 0 0.25em;
  vertical-align: top;
  width: 100%;
}
.announcements.index.search .form form fieldset div.input.select,
.announcements.index.search .form form fieldset div.input.textarea {
  height: 166px;
}
.announcements.index.search .form form fieldset select,
.announcements.index.search .form form fieldset textarea {
  height: 70%;
  min-height: unset;
  width: 100%;
}
.announcements.index.search .form form fieldset button[type="submit"] {
  margin-bottom: 0;
}
.announcements.index.search .form form fieldset div.input label {
  margin: 0;
}

/* announcements: export */
.announcements.export td.actions.export_status {
  display: flex;
  gap: 1em;
}
.announcements.export td.actions.export_status input[type="radio"] {
  margin-bottom: 0;
}
.announcements.export td.actions.export_status label {
  font-size: 16px;
  margin-bottom: 2px;
}
.announcements.export tr td.actions a.toggle {
  margin: 0;
}
.announcements.export tr td.actions a.toggle span {
  display: block;
}
.announcements.export tr td.actions a.toggle.openend span {
  transform: rotate(90deg);
  translate: -2px;
}
.announcements.export tr.html {
  display: none;
}
.announcements.export form input[type="submit"] {
  margin-top: 3em;
}

/* company-search-volumes: index */
body.company-search-volumes.index main .container {
  max-width: 100%;
}
/* company-search-volumes: view */
body.company-search-volumes.view main .container table.monthly-search td {
  padding: 3px;
}
/* company-search-volumes: info */
body.company-search-volumes.info .content table th h4 {
  margin-bottom: 0;
}
body.company-search-volumes.info .content table td.spacer {
  border-bottom: none;
}


.entity-search {
  align-items: center;
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 0.5em;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1em;
  padding: 1em;
}
.entity-search form {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.entity-search form input,
.entity-search form button {
  margin-bottom: 0;
}
.entity-search .results .count {
  font-weight: bold;
}