.custom-select {
  position: relative;
}

.custom-select * {
  font-size: 15px;
}

.custom-select-fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

.custom-select-options label {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  position: relative;
}

.custom-select-options input[type="checkbox"],
.custom-select-options input[type="radio"] {
  display: none;
}

.custom-select-options input[type="checkbox"] + label,
.custom-select-options input[type="radio"] + label {
  padding-left: 34px;
}

.custom-select-options input[type="checkbox"] + label::before,
.custom-select-options input[type="radio"] + label::before {
  content: "";
  display: block;
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: #ccc;
  margin-right: -20px;
  top: 9px;
  left: 10px;
}

/*.custom-select-options input[type="checkbox"] + label::before {
  border-radius: 3px;
  content: "\2713";
  font-weight: bold;
  color: #ccc;
  width: unset;
  height: unset;
  padding: 2px 3px 0 3px;
  font-size: 14px;
  line-height: 15px;
}

.custom-select-options input[type="radio"] + label::before {
  border-radius: 50%;
}

.custom-select-options input[type="checkbox"]:checked + label::before {
  color: #fff;
}

.custom-select-options input[type="checkbox"]:checked + label::before, .custom-select-options input[type="radio"]:checked + label::before {
  background-color: #0084ff;
}*/

.custom-select-options input[type="checkbox"] + label::after {
  position: absolute;
  width: 12px;
  height: 12px;
  left: 12px;
  top: 11px;
  display: block;
}

.custom-select-options input[type="checkbox"]:checked + label::after {
  background-color: #d52819;
}

.custom-select-options label:hover,
.custom-select-options label.hover {
  background-color: #f7f4f2;
}

.custom-select-trigger {
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
  position: relative;
  /*border: 1px solid #ddd;*/
  padding: 10px 10px 10px 0;
  box-sizing: border-box;
  border-bottom: 1px solid #45796f;
}

.custom-select-trigger::after {
  content: "";
  top: 50%;
  transform: translate3d(0, -50%, 0);
  width: 14px;
  height: 14px;
  background: url("../images/down_arrow.svg") top left no-repeat;
  background-size: 100%;
  position: absolute;
  display: block;
  transition: all 0.3s;
  right: 10px;
}

.custom-select-trigger.arrow-up::after {
  transform: translate3d(0, -50%, 0) rotate(180deg);
}

.custom-select-options {
  margin-top: 8px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s;
  position: absolute;
  /*padding: 10px;*/
  background-color: #fff;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.2);
  width: 100%;
  box-sizing: border-box;
  top: 102%;
  border-radius: 4px;
}

.custom-select-options.show,
.custom-select label + input:focus + div {
  visibility: visible;
  opacity: 1;
  padding-bottom: 6px;
  z-index: 1000;
}
