/* COMMON */
.logo {
  height: 60px;
}

.inline-block {
  display: inline-block;
}

.file-icon {
  cursor: pointer;
  font-size: 14pt;
}

.file-icon:hover {
  color: #DEDEDE;
}

/* PAGER */
.pager_wrapper {
  margin-bottom: 4px;
}

.pager_wrapper .pager_buttons,
.pager_wrapper .pager_pages {
  visibility: hidden;
}

.pager_wrapper .pager {
  padding: 0;
}

.pager_wrapper .pager li {
  display: inline;
  cursor: pointer;
}

.pager_wrapper .pager li:hover {
  color: #dedede;
}

.pager_wrapper .pager li.selected {
  font-weight: bold;
}

.pager_wrapper button,
.pager_wrapper ul {
  display: inline-block;
}

.pager_pages,
.pager_buttons {
  display: inline-block;
}

/* FORM */
.custom_form {
  margin-bottom: 100px;
}

.custom_form .empty-group,
.custom_form .form-row,
.custom_form .form-group {
  margin-top: 6px;
}

.custom_form .form_group_label {
  width: 100%;
  padding: 5px;
  margin-bottom: 4px;
}

.custom_form .form_label,
.custom_form .form_group_label {
  font-weight: 600;
  font-size: 1.1rem;
}

.custom_form .col>.form-group {
  margin-bottom: 0;
}

.custom_form .form-group {
  margin-bottom: 0;
}

.custom_form .custom_form_title {
  margin: 0;
  margin-top: 24px;
}

.custom_form_hr {
  margin-top: 0;
  margin-bottom: 12px;
}

.divider_hr {
  margin-top: 22px;
  margin-bottom: 8px;
}

.custom_form .form_group_label {
  margin-top: 8px;
  margin-bottom: 4px;
}

.divtable_tilaukset .custom-table_header:hover {
  color: #757575;
  cursor: pointer;
}

.custom_form .form-buttons {
  margin-top: 32px;
}

.custom-table_sum_row {
  font-weight: 700;
}

.custom-table_sum_row .custom-table_small {
  border-top: 2px solid #d5d5d5;
}

.custom-table_row_cursor {
  cursor: pointer;
}

.custom-table_row_cursor:hover {
  color: #757575;
  cursor: pointer;
}

.div-table:hover {
  background-color: #f5f5f5;
}

.div-table:nth-of-type(2n+1):hover {
  background-color: #f2f2f2f2;
}

.table {
  background-color: #FFF;
  font-size: 1em !important;
}

.table th {
  padding-top: .2rem;
  padding-bottom: .2rem;
  font-size: 0.8em;
  /* font-weight: 400; */
  font-weight: bold;
  border-top: 0px;
  background-color: #FFF !important;
  border-bottom: 1px solid #e9e9e9;
  /* color: #8e8e8e; */
}

.boxed-row {
  background-color: #FFF;
  /*margin-bottom: 10px;*/
  padding-top: 10px;
  padding-bottom: 20px;
  border: 1px solid #e9e9e9;
}

.row {
  margin-top: 5px;
}

/* "tables" made with divs */
.div-th {
  padding-top: .3rem;
  padding-bottom: .2rem;
  font-size: 0.8em;
  font-weight: 400;
  border-top: 0px;
  border-bottom: 1px solid #e9e9e9;
  color: #8e8e8e;
}

.div-table>div {
  padding-top: .3rem;
  padding-bottom: .2rem;
  /* padding-left: 5px !important; */
}

.div-table:nth-of-type(2n+1) {
  background-color: rgba(0, 0, 0, .03);
}


/* TILAUKSET LISTA */
.divtable_tilaukset {
  margin-top: 14px;
}

/* FILEMANAGER */
#filemanager_files_input {
  display: none;
}

#fileupload_image {
  cursor: pointer;
}

.newfile {
  font-weight: 600;
}

/*  */
.filter_input {
  width: 250px;
  display: inline-block;
}

.filter_input_sm {
  width: 100px;
  display: inline-block;
}

.filter_date_wrapper {
  margin-top: 12px;
}

.filter_date_input {
  width: 250px;
  display: inline-block;
}

.status_filter,
.jalleenmyyja_filter {
  /*display: none;*/
}

.text_filter_button {
  display: none;
}

/*  */
.yhteyshenkilot_list .yhteyshenkilo_wrapper {
  margin-bottom: 20px;
}

.buttons {
  margin-top: 5px;
  margin-bottom: 5px;
}

.excel_link {
  margin-right: 10px;
}

.add_hautausmaa_button {
  margin-top: 7px;
}

.reset_filters_button {
  display: none;
}

/*  */
/* The search field */
.dropdown-search-input {
  box-sizing: border-box;
  background-position: 14px 12px;
  background-repeat: no-repeat;
  font-size: 16px;
  padding: 10px 20px 12px 20px;
  border: none;
  border-bottom: 1px solid #ddd;
}

/* The search field when it gets focus/clicked on */
.dropdown-search-input:focus {
  outline: 3px solid #ddd;
}

/* The container <div> - needed to position the dropdown content */
.dropdown-search {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-search-content {
  display: none;
  position: absolute;
  background-color: #f8f9fa;
  min-width: 230px;
  border: 1px solid #ddd;
  z-index: 1;
  /*max-height: 500px;*/
  overflow: hidden;
}

/* Links inside the dropdown */
.dropdown-search-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-search-content a:hover {
  background-color: #f1f1f1
}

.form-group .dropdown-search,
.form-group .dropdown-search-content {
  width: 100%;
}

.dropdown-search-invoice_product_name {
  min-height: 88px;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
  display: block;
}

/*Tooltips*/
.ttooltip {
  position: relative;
  display: inline-block;
  /*border-bottom: 1px dotted black;*/
}

.ttooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.ttooltip .ttooltiptext {
  visibility: hidden;
  min-width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;

  bottom: 125%;
  left: 50%;
  margin-left: -60px;
}

.ttooltip:hover .ttooltiptext {
  visibility: visible;
}

.redstyle {
  background-color: #f12;
}

.orangestyle {
  background-color: orange;
}

.mainbtncontainer .btn {
  margin: 2px 0;
}

.sticky-top {
  position: sticky;
  margin-top: 0;
  top: 0%;
  z-index: 10;
  background-color: white;
}

.scrollable-content {
  overflow-y: overlay;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}