/***************************
 * OLD STYLING!
 ***************************/

body {
  font-family: 'Open Sans', sans-serif;
}

h1,h2,h3,h4,h5 {
  font-family: 'Open Sans', sans-serif;
}

.td_yes-no,
.td_drukvast,
.td_debiet_measure,
.td_last_sealed,
.td_fabrication_year {
  text-align: center;
}

.select2-container--default .select2-selection--single {
  border-radius: 0;
  height: 2.465rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 37px;
}

.fa-btn {
  margin-right: 6px;
}

.textgreen {
  color: #0B9F5D;
}

.bggreen {
  background-color: #0B9F5D !important;
}

.bgred {
  background-color: #ec5840 !important;
}

.textwhite {
  color: #fff;
}
.textblue {
  color: #2199e8;
}

.textred {
  color: #ec5840;
}

.tdred {
  background-color: #ec5840;
  color: white;
  border-radius: 5px;
}

.gijsenblue {
  color: #0f75bc;
}

.gijsenblue_bg {
  background-color: #0f75bc !important;
}

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(232, 98, 86, 0.8) url('/images/cd-top-arrow.svg') no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}
@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}

th.sort-header::-moz-selection {
  background: transparent;
}
th.sort-header::selection {
  background: transparent;
}
th.sort-header {
  cursor: pointer;
}
table th.sort-header:after {
  content: '';
  float: right;
  margin-top: 7px;
  border-width: 0 4px 4px;
  border-style: solid;
  border-color: #404040 transparent;
  visibility: hidden;
}
table th.sort-header:hover:after {
  visibility: visible;
}
table th.sort-up:after,
table th.sort-down:after,
table th.sort-down:hover:after {
  visibility: visible;
  opacity: 0.4;
}
table th.sort-up:after {
  border-bottom: none;
  border-width: 4px 4px 0;
}

/***************************
 * NEW STYLING!
 ***************************/

/* Pagination */
nav a,
nav span[aria-disabled=true],
nav span[aria-current=page] {
  border: 1px solid #eee;
  border-radius: 3px;
  display: inline-block;
  padding: .5em;
  background: #f7f7f7;
}

nav a svg,
nav span[aria-disabled=true] svg {
  width: 1em;
}

/* Styling to add a sort of "indeterminate" state to Foundation's switch */
input[type=checkbox].indeterminate + label {
  background: url('/images/foundation-indeterminate.gif') no-repeat;
}
input[type=checkbox].indeterminate + label::after,
input[type=checkbox].indeterminate + label > span {
  opacity: 0
}

.warning i {
  color: #ec5840;
  display: none;
  font-size: 1.5em;
}
.warning.show-warning i {
  display: inline;
}

/* New page header styling. */
.top-bar {
  background: #bfe5ff;
  border-radius: 8px;
  margin-top: 5px;
}
.top-bar .logo {
  max-width: 137px;
}
.top-bar ul {
  background: #bfe5ff;
}
.top-bar a {
  color: black;
}
.top-bar .submenu a:hover {
  background: rgba(255, 255, 255, 0.3);
}
