/* Adding (& overriding) default bootstrap css  where necessary */

/* Add some space above and below the page title */
.page-header {
    padding-top: 20px;
    padding-bottom: 10px;
}

/* fixed hieght for first row of all pages - allows for form on edit records, but keeps all pages the same if this is absent */
.first-row {
  height: 45px;
}

th.table-primary {
    padding: 12px;
    font-size: 16px
}

.table-sub-heading {
    font-weight: bold;
}

td {
    font-size: 16px
}

/* Heading hyperlinks should be black */
.table-sm th a {
  color: black;
}

.import_table {
    width: 100%;
  }

.import_table th, td {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
  }

/*The new bootstrap v4 small buttons are not small enough*/
.btn-sm {
    padding-top: 0px;
    padding-bottom: 0px;
    /*height: 25px;*/
}

a.question-page-links {
    text-decoration: none;
    color: black;
}

/*Override width of btn-sm for specific forms*/
.scoring_buttons {
    width: 60px !important;
}
.category_buttons {
    width: 100px !important;
}

/*Used in 'all variants' & all scores tables*/
.pre-table-padding {
    padding-bottom: 10px;
}

/* Scoring dashboard elements */
.overview_panel {
    border:1px solid #dddddd;
    padding: 10px 10px 10px 10px;
    border-radius: 10px;
}

.prov_score {
    font-size: 120%;
}

.path_score {
    font-size: 170%;
}

/* used in category_form.html */
.form-group > ul {
    list-style: none;
}

.childDiv{
   width:49%;
   display: inline-block;
   vertical-align:top;
}

/* All hyperlinks are now using the same colour as 'table-primary' bootstrap colour scheme */
a {
  color: #4482b8;
}

/* Using this to override the progress bar bottom margin for the variant_category_detail.html */
.category-breakdown {
    margin-bottom: 0px;
}

/* Add some additional padding at the bottom of a var_category box */
.var_cat_padding {
    padding: 0px 0px 15px 0px;
}

/* category_question.html text box */
.fixed-panel {
    height: 200px;
}
.addscrollbar {
    overflow-y: scroll;
}
.second_row_padding {
    padding-top: 20px;
}

/* Form validation error messages across whole site */
.errorlist {
    color: red;
    font-weight: bold;
    list-style:none;
    padding-left:0;
}

/* No padding: used for the scoring category card headers */
.no_padding {
    padding: 5px 15px 5px 15px;
}

.box-padding {
    padding: 20px;
}

/* Stops wrapping of tooltips */
.tooltip-inner {
    max-width: 500px;
}

/* Used by DataTables #allscores table */
.truncate {
    max-width:200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .custom-radio-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Used by generate multichoice forms with no bullet points */
.no-bullet-list {
    list-style-type: none;
}

.required > label::before {
    content: '*';
}
