

/* CUSTOM SLIDER */
.slider {
  -webkit-appearance: none;
  height: 10px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 16px;
  background:steelblue;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 10px;
  height: 16px;
  background:steelblue;
  cursor: pointer;
}

/* TITLES AND BODY */
h1 {
  text-align: center;
  font-weight: bold;
}

h4 {
  text-align: center;
}

p {
  font-size: 10pt;
  text-align: justify
}

ol {
  font-size: 10pt
}

/* The Modal (background) */
/*http://www.w3schools.com/howto/howto_css_modals.asp*/
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 4.5%; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 70%; /* Full width */
  height: 70%; /* Full height */
}

/* The Close Button */
.close {
  color: rgb(0,0,0);
  float: left;
  font-size: 15px;
}
.close:hover,
.close:focus {
  cursor: pointer;
}

/* Table */
#table_resistance {
  border-collapse: collapse;
  font-size: 9pt;
}

#table_resistance td, #table_resistance th {
  border: 1px solid #ddd;
  padding: 2px;
}

#table_resistance tr:nth-child(even){background-color: #f2f2f2;}

#table_resistance tr:hover {background-color: #ddd;}

#table_resistance th {
  padding-top: 3px;
  padding-bottom: 3px;
  background-color: steelblue;
  color: white;
}


/* Select ships */
.cc-selector input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.cc-selector-2 input {
  position: absolute;
  z-index: 999;
}

.cat {
  background-image: url("../img/frigate.jpg");
}

.dog {
  background-image: url("../img/xbow.jpg");
}

.cc-selector-2 input:active +.drinkcard-cc,
.cc-selector input:active +.drinkcard-cc {
  opacity: .9;
}

.cc-selector-2 input:checked +.drinkcard-cc,
.cc-selector input:checked +.drinkcard-cc {
  -webkit-filter: none;
  -moz-filter: none;
  filter: none;
}

.drinkcard-cc {
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 400px;
  height: 200px;
  -webkit-transition: all 100ms ease-in;
  -moz-transition: all 100ms ease-in;
  transition: all 100ms ease-in;
  -webkit-filter: brightness(1.8) grayscale(1) opacity(.7);
  -moz-filter: brightness(1.8) grayscale(1) opacity(.7);
  filter: brightness(1.8) grayscale(1) opacity(.7);
}

.drinkcard-cc:hover {
  -webkit-filter: brightness(1.2) grayscale(.5) opacity(.9);
  -moz-filter: brightness(1.2) grayscale(.5) opacity(.9);
  filter: brightness(1.2) grayscale(.5) opacity(.9);
}

/* Extras */
a:visited {
  color: steelblue
}

a {
  color: steelblue;
  text-decoration: none;
}