/* Record found caption placed on top instead of below */
table {
    caption-side: top;
}

/* Header is align center if table view is used */
thead {
text-align: center;
}

/* Height of search box, submit button and drop-down menu, and margin between each other */
.pdb-searchform input[type=text], .pdb-searchform input[type=submit], .pdb-searchform select, .pdb-searchform label.checkbox {
    height: 40px;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Color and width of the submit button */
input[type="submit"] {
background-color: #343a40;
border-color: #343a40;
color: #ffff;
width: 100px;
}

/* Color of submit box on hover */
input[type="submit"]:hover {
background-color: #521413;
}

/* Width of the drop-down search menu */
.pdb-searchform select {
  width: 200px;
  padding-left: 5px;
}

/* Link should be underlined */
a {
    text-decoration: underline;
}

/* Hide "Group" title on single record view */
.pdb-group-title {
  display: none;
}

/* Resized the font size of the Record found caption */
.h5, h5 {
    font-size: 16px;
}

/* Resized the font size of the No Records Found */
.h4, h4 {
    font-size: 16px;
}

/* Margin between fields when shown in list flexbox */
.pdb-flexbox-list .pdb-field {
    margin-right: 2.5em;
    margin-bottom: 1em;
}

/* Set the length of textarea of Parties on list */
.pdb-list span.textarea {
     max-width: none;
     overflow: auto;
}

/* Set Parties and Subject text areas not to wrap on short lenght */
.textarea {
    white-space: normal;
}

/* Adjust padding of list pagination */
.pdb-flexbox-list .pdb-list .pagination li>span, .pdb-flexbox-list .pdb-pagination li>span, .pdb-flexbox-list .pdb-list .pagination a, .pdb-flexbox-list .pdb-pagination a {
    padding-right: 1em;
    padding-left: 1em;
}

/* Adjust the font of label of the field in the list */
.pdb-flexbox-list .pdb-field-title {
    font-size: 80%;
    font-style: italic;
    font-weight: bold;
    opacity: .7;
}

/* Adjust the flextbox list of judgments */
.pdb-flexbox-list section {
    background-color: #efe5e5;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid rgb(0 0 0 / .1);
    margin: .35em 0;
    margin-top: .35em !important;
}

.pdb-flexbox-list section:first-of-type {
    padding-top: 1.5em;
    border-top: 1px solid rgb(0 0 0 / .1);
}

/* Style the single record page */
.pdb-single-flex {
 background-color: #efe5e5;
 padding-top: 25px;
 padding-left: 25px;
 padding-right: 25px;
}

/* Style the advanced search helptext */
[class|="pdb"] .helptext {
    display: block;
    margin: unset;
    font-size: small;
    font-style: italic;
}


/* Style the legend label on Sort */
legend {
font-size: medium;
}

/* Style how the list of search results are presented */
.pdb-list section {
   
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    padding-left: 30px;
    padding-right: 30px;
    background-color: #efe5e5;
    
}

/* Set the textarea (Subject and Parties to have no width limit */
.pdb-list span.textarea {
    display: inline;
}

section {
    margin-top: 0 !important;
    margin-bottom: 1em !important;
}

.pdb-searchform input[type=text] {
    padding-left: 10px;
}

/* Width of the search box */
.pdb-searchform input[type=text] {
    width: 350px;
    padding-left: 5px;
}

.search-control-group {
    margin: .3em 0 !important;
    display: flex;
    flex-wrap: wrap;
}

/* Set the alignment of search boxes */
.multi-search-controls .search-control {
    display: flex !important;
    margin: 0.75em 0 !important;
    flex-wrap: wrap;
}


