/* Bootstrap 4/5 to Bootstrap 3 CSS Bridge for Contributte Datagrid */
.table-sm > thead > tr > th,
.table-sm > tbody > tr > th,
.table-sm > tfoot > tr > th,
.table-sm > thead > tr > td,
.table-sm > tbody > tr > td,
.table-sm > tfoot > tr > td {
  padding: 5px !important;
}
.form-control-sm,
.form-select,
.form-select-sm {
  display: block;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 30px !important;
  padding: 5px 10px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  border-radius: 3px !important;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.form-control-sm:focus,
.form-select:focus,
.form-select-sm:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.text-end {
  text-align: right !important;
}
.text-start {
  text-align: left !important;
}
/* Flexbox utilities for Bootstrap 3 */
.d-flex {
  display: flex !important;
}
.flex-wrap {
  flex-wrap: wrap !important;
}
.align-items-stretch {
  align-items: stretch !important;
}
.justify-content-between {
  justify-content: space-between !important;
}
/* Date range inputs styling */
[data-datagrid-name] .datagrid-col-filter-date-range {
  width: 100% !important;
  display: block !important;
}
[data-datagrid-name] .datagrid-col-filter-date-range > .input-group {
  display: inline-table !important;
  width: 45% !important;
  float: left !important;
}
[data-datagrid-name] .datagrid-col-filter-date-range > .datagrid-col-filter-range-delimiter {
  display: inline-block !important;
  width: 10% !important;
  float: left !important;
  text-align: center !important;
  line-height: 30px !important;
  padding: 0 !important;
}
/* input-group-text styling mapping to input-group-addon */
.input-group-text {
  display: table-cell !important;
  padding: 5px 10px !important;
  font-size: 12px !important;
  font-weight: normal;
  line-height: 1;
  color: #555;
  text-align: center;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
}
.input-group-sm > .input-group-text {
  padding: 5px 10px !important;
  font-size: 12px !important;
  border-radius: 3px !important;
}
/* Force inputs and selects inside datagrid table headers to stretch and have min-width */
[data-datagrid-name] table thead tr th input.form-control,
[data-datagrid-name] table thead tr th select.form-select {
  width: 100% !important;
  min-width: 80px !important;
  box-sizing: border-box !important;
}
[data-datagrid-name] table thead tr th.col-datumZmeny {
  min-width: 125px !important;
}
[data-datagrid-name] table tr td.col-mesicniMzdaOd,
[data-datagrid-name] table tr th.col-mesicniMzdaOd {
  white-space: nowrap !important;
  min-width: 95px !important;
}
/* Font Awesome 5/6 to Font Awesome 4 Bridge */
.fas,
.far,
.fal,
.fad,
.fab {
  font-family: 'FontAwesome' !important;
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Pagination styles matching hiedu.cz production */
.pagination {
  display: block !important;
  padding: 0 !important;
  margin: 5px 0 !important;
  text-align: center !important;
}
.pagination .page-item {
  display: inline-block !important;
  margin: 2px !important;
  float: none !important;
}
.pagination .page-item .page-link {
  display: inline-block !important;
  float: none !important;
  padding: 2px 6px !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
  border-radius: 3px !important;
  color: #333 !important;
  background-color: #fff !important;
  border: 1px solid #ccc !important;
  text-decoration: none !important;
}
.pagination .page-item .page-link:hover,
.pagination .page-item .page-link:focus {
  background-color: #e6e6e6 !important;
  border-color: #adadad !important;
  color: #333 !important;
}
.pagination .page-item.active .page-link,
.pagination .page-item.active .page-link:hover,
.pagination .page-item.active .page-link:focus {
  background-color: #eee !important;
  border-color: #ddd !important;
  color: #999 !important;
  font-weight: bold !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
.pagination .page-item.disabled .page-link {
  color: #bbb !important;
  background-color: #fff !important;
  border-color: #eee !important;
  cursor: not-allowed !important;
}
/* Datagrid footer column alignment and styles */
[data-datagrid-name] .row-grid-bottom {
  padding: 8px 15px !important;
  background-color: #f9f9f9 !important;
  border: 1px solid #ddd !important;
}
[data-datagrid-name] .row-grid-bottom .col-items,
[data-datagrid-name] .row-grid-bottom .col-pagination,
[data-datagrid-name] .row-grid-bottom .col-per-page {
  display: inline-block !important;
  vertical-align: middle !important;
  float: none !important;
  margin: 5px 0 !important;
}
[data-datagrid-name] .row-grid-bottom .col-items {
  width: 25% !important;
  text-align: left !important;
}
[data-datagrid-name] .row-grid-bottom .col-pagination {
  width: 50% !important;
  text-align: center !important;
}
[data-datagrid-name] .row-grid-bottom .col-per-page {
  width: 25% !important;
  text-align: right !important;
  display: inline-flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}
[data-datagrid-name] .datagrid-per-page-submit {
  display: none !important;
}
[data-datagrid-name] .row-grid-bottom .col-per-page select {
  display: inline-block !important;
  width: auto !important;
  margin-left: 5px !important;
  vertical-align: middle !important;
}
body {
  margin-top: 30px;
  background-color: #EEEEEE;
  font-size: 16px;
}
.container-fluid {
  max-width: 1140px;
  width: 100%;
}
.container-fluid .panel-body {
  position: relative;
}
#frontend-homepage-default .container-fluid,
#frontend-job-default .container-fluid,
#frontend-country-default .container-fluid {
  max-width: 1000px;
}
.grido th.column {
  min-width: 100px;
}
th.grid-header-description {
  text-align: center;
  min-width: 250px;
}
.grido .grid-cell-created {
  white-space: nowrap;
}
dl {
  margin-bottom: 50px;
}
dl dt {
  background: #f5f5f5;
  color: #555444;
  float: left;
  font-weight: normal;
  margin-right: 10px;
  padding: 5px;
  width: 220px !important;
}
dl dd {
  margin: 2px 0;
  padding: 5px 0;
  margin-left: 230px !important;
}
h2 {
  font-size: 22px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.rss {
  position: absolute;
  right: 10px;
  top: 5px;
}
a {
  color: #0000cc;
}
a:hover {
  color: blue;
}
@media only screen and (max-width: 800px) {
  body {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  h1 {
    font-size: 125%;
    text-align: center;
  }
  h2 {
    font-size: 115%;
    margin: 10px;
  }
  .row {
    margin: 0;
  }
  *,
  .grido table,
  .grido th,
  .grido td {
    margin: 0;
    padding: 0;
    border: none;
  }
  .grido table {
    padding: 0 0.3em;
  }
  /* Force table to not be like tables anymore */
  #no-more-tables table,
  #no-more-tables thead,
  #no-more-tables tbody,
  #no-more-tables tfoot,
  #no-more-tables th,
  #no-more-tables td,
  #no-more-tables tr {
    display: block;
  }
  /* Hide table headers (but not display: none;, for accessibility) */
  #no-more-tables thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  #snippet-grid-grid {
    width: 100%;
  }
  /* ======================== */
  .panel,
  .panel-default,
  .panel-body,
  .container-fluid,
  table {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  #frontend-job-default .panel-default {
    padding: 5px;
  }
  #frontend-job-default .panel-group .panel {
    font-size: 15px;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid silver;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  }
  #frontend-job-default .panel-group .panel .panel-heading {
    padding: 5px;
  }
  #no-more-tables table,
  #no-more-tables table.table-bordered {
    border: none !important;
    border-collapse: separate !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  #no-more-tables tbody {
    background: transparent !important;
    border: none !important;
  }
  #no-more-tables tr {
    display: block !important;
    margin: 0 0 20px 0 !important;
    border: none !important;
    box-shadow: 1px 1px 12px -1px rgba(0, 0, 0, 0.2) !important;
    background-color: #fff !important;
  }
  #no-more-tables tr.success {
    background-color: #dff0d8 !important;
  }
  #no-more-tables tr td {
    height: auto;
  }
  #no-more-tables tfoot {
    vertical-align: middle;
    border-color: inherit;
  }
  #no-more-tables tfoot tr {
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
  #no-more-tables tfoot tr td {
    padding: 0;
    text-align: center;
    margin: 0 auto;
    background: none;
  }
  #no-more-tables tfoot td:before {
    display: none;
  }
  #no-more-tables td[data-title="Salary"]:after {
    content: "\00a0";
  }
  /* ======================================== */
  #no-more-tables td {
    position: relative;
    text-align: left;
    margin: auto;
    border: none !important;
    background-color: #fff !important;
  }
  #no-more-tables tr.success td {
    background-color: #dff0d8 !important;
  }
  #no-more-tables td.text-end,
  #no-more-tables td.text-start {
    text-align: left !important;
  }
  #no-more-tables td:before {
    display: block;
    font-weight: 400;
    font-family: "FontAwesome", sans-serif !important;
    content: "\f0c9" ' ' attr(data-title);
    width: 100%;
    white-space: nowrap;
    text-align: left;
    vertical-align: middle;
    background: #f5f5f5;
    color: #aaa;
  }
  #no-more-tables td.grid-cell-datumZmeny:before {
    content: "\f073" ' ' attr(data-title);
  }
  #no-more-tables td.grid-cell-mvppaObec:before {
    content: "\f041" ' ' attr(data-title);
  }
  #no-more-tables td.grid-cell-okres_id:before {
    content: "\f041" ' ' attr(data-title);
  }
  #no-more-tables td.grid-cell-mesicniMzdaOd:before {
    content: "\f0d6" ' ' attr(data-title);
  }
  #no-more-tables td.grid-cell-zamestnavatelNazev:before {
    content: "\f0c0" ' ' attr(data-title);
  }
  #no-more-tables td.grid-cell-description {
    position: relative;
    text-align: left;
  }
  #no-more-tables td.grid-cell-detail {
    position: relative;
    white-space: normal;
    text-align: center;
    padding-left: 0;
    padding-right: 10px;
  }
  #no-more-tables td.grid-cell-detail button {
    margin-left: 5px;
  }
  #no-more-tables td.grid-cell-pozadovanaProfese:before {
    display: none;
  }
  #no-more-tables td.grid-cell-pozadovanaProfese {
    font-size: 115%;
    font-weight: bold;
  }
  #frontend-homepage-default .panel-body {
    padding: 10px;
  }
  #frm-jobGrid-form-count {
    pointer-events: none;
  }
  .count {
    display: none;
  }
  .rss {
    display: none;
  }
  #fksrch {
    font-family: "FontAwesome", sans-serif !important;
    border-radius: 5px;
    width: 80%;
    color: #0f0f0f;
    height: auto;
    border: 1px solid #ccc;
    margin: 0 auto;
  }
  #fksrch p:before {
    color: #ccc;
    font-weight: bold;
    content: "\f002";
    margin-right: 20px;
    text-align: left;
    margin-left: 1%;
  }
  #fksrch p {
    color: #337ab7;
    font-size: 16px;
    margin: 0;
    padding: 2px;
  }
  .mobsrchbox {
    margin-bottom: 15px;
  }
  .icon-close:before {
    font-family: "FontAwesome", sans-serif !important;
    content: "\f002";
  }
  .filter,
  .outer,
  .filter .outer {
    margin: 0;
    padding: 0;
  }
  #outfitItems {
    width: 95%;
    position: relative;
    left: 2.5%;
  }
  .grido .filter.outer .buttons {
    float: right;
    margin: 1em;
  }
  dl dt {
    width: 100% !important;
  }
  dl dd {
    margin-left: auto !important;
  }
  /* Mobile footer layout overrides */
  [data-datagrid-name] .row-grid-bottom {
    display: block !important;
    text-align: center !important;
    padding: 10px !important;
    background: none !important;
    border: none !important;
  }
  [data-datagrid-name] .row-grid-bottom .col-items,
  [data-datagrid-name] .row-grid-bottom .col-pagination,
  [data-datagrid-name] .row-grid-bottom .col-per-page {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 5px 0 !important;
  }
  [data-datagrid-name] .row-grid-bottom .col-items {
    display: none !important;
  }
  [data-datagrid-name] .row-grid-bottom .col-per-page {
    display: none !important;
  }
}
