.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: grey;
  text-align: center;
  align-items: center;
}

body.margin {
    margin-bottom: 50px;
}

.border-box {
  border-width: 1px 1px 1px 8px !important;
  border-right-color: #ddd !important;
  border-top-color: #ddd !important;
  border-bottom-color: #ddd !important;  
  border-style: solid
}

.text-katalog {color:#146152}
.text-kategorie {color:#44803F}
.text-sesje {color:#B4CF66}
.text-algorytmy {color:#FFD388}
.text-zrodla {color:#FFB35C}
.text-parsowania {color:#FF5A33}
.text-wykluczenia {color:#E3CF66}
.text-slowniki {color: #A870FA}
.text-szukanefrazy {color: #31B3CE}
.text-atrybuty {color:#539EF5}

.border-katalog {border-color:#146152}
.border-kategorie {border-color:#44803F}
.border-sesje {border-color:#B4CF66}
.border-algorytmy {border-color:#FFD388}
.border-zrodla {border-color:#FFB35C}
.border-parsowania {border-color:#FF5A33}
.border-wykluczenia {border-color:#E3CF66}
.border-slowniki {border-color: #A870FA}
.border-szukanefrazy {border-color: #31B3CE}
.border-atrybuty {border-color:#539EF5}

.border_page_header {
  border-width: 0px 0px 0px 8px !important;
  border-style: solid
}
body {
  font-family: 'Montserrat', sans-serif !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #007bff !important;
  font-size: .875rem !important;
  line-height: 1.5 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: transparent !important;
  text-decoration: underline !important;
  color: #007bff !important;
  border-color:white;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  text-decoration:none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  text-decoration:none !important;
  background:white;
  padding: .25rem .5rem !important;
  font-size: .875rem !important;
  line-height: 1.5 !important;
  border-radius: .2rem !important;
  border-color: #007bff !important;
  display: inline-block;
  font-weight: 400;
  color: #007bff !important;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background-color: #007bff !important;
  color:white !important;
}

[data-popper-placement="top-start"] .popover-arrow {
  left:0% !important;
}

.border-right-dark {
border-right-color: #343a40!important;
}

#histogram-header {
padding: .5rem .75rem;
margin-bottom: 0;
font-size: 1rem;
border-top-left-radius: calc(.3rem - 1px);
border-top-right-radius: calc(.3rem - 1px);
}

#histogram-content {
padding: .5rem .75rem;
color: #212529;
border: 1px solid #e2e3e5;
border-top:none;
border-bottom-left-radius: calc(.3rem - 1px);
border-bottom-right-radius: calc(.3rem - 1px);
}
.exclude {
background-color:#eee !important;
color:#aaa !important;
}
.exclude .product-name {
text-decoration: line-through;
}


#products .product {
border-radius: 4px;
margin-bottom:10px;
}

#products .product-header {
padding: 2px 0 0 8px;
border:1px solid transparent;
border-radius:0.25rem;
}

#products .product-exists {
background-color: #fff3cd;
color:#856404;
border-color:ffeeba;
}

#products .product-not-exists {
background-color: #d4edda;
border-color:#c3e6cb;
color:#155724;
}

#products .images {
  padding:10px;
}

#products .images img {
  width: 150px;
  height: 150px;
  margin-right: 30px;
}

#products .product-exists-border {
border-color: #FFEEA1;
}

#products .card {
border-radius: 0 0 .25rem .25rem;
border-top-width: 0;
}

#products .product-name {
padding: 0.75rem;
}

.helpPopup {max-width:500px !important;}

table.dataTable tbody tr.selected {
  background-color: #63ceff !important;  
  color: black;
}

table.dataTable tbody tr.selected a.btn-outline-danger {
color:#dc3545;
}

table.dataTable tbody tr.selected a.btn-outline-primary {
color:#007bff;
}

table.dataTable tbody tr.selected > *
{
box-shadow: none !important;
color: black;
}

.popover{
max-width: 100%; /* Max Width of the popover (depending on the container!) */
}
.dropdown-submenu {
position: relative;
}

.dropdown-submenu > .dropdown-menu {
left: 100%;
/* -6px gives dropdown-menu's padding+border */
top: -6px;
}

.dropdown-submenu:hover > .dropdown-menu, .dropdown-submenu > a:focus + .dropdown-menu {
/* :focus support is incomplete - pressing Tab sets focus to submenu, but that immediately hides submenu */
display: block;
}

.breadcrumb {background-color:white; padding-top:0.75rem; padding-bottom:0;}

.item_in_catalog {background-color:rgba(0,128,0,0.2) !important;}

.images-in-catalog-count { margin-left:20px; line-height:2; }
.images-in-catalog-count a {color:green; }

.minis {
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.minis div {
  width:100px;
  height:100px;
  padding:2px;
  box-sizing: content-box;
  border-radius:4px;
  border:1px solid #aaa;
  display:flex;
  align-items: center;
  justify-content: center;
  margin:10px;
}

.minis div img {
  max-width: 100px;
}