.cbx {
  -webkit-perspective: 20;
  perspective: 20;
  position: absolute;
  top: 50%;
  left: 5%;
  margin: -12px;
  border: 2px solid #e8e8eb;
  background: #e8e8eb;
  border-radius: 4px;
  transform: translate3d(0, 0, 0);
  cursor: pointer;
  transition: all 0.3s ease;
}
.cbx:hover {
  border-color: #0b76ef;
}
.flip {
  display: block;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  position: relative;
  width: 20px;
  height: 20px;
}
#cbx {
  display: none;
}
#cbx:checked + .cbx {
 /* border-color: #0b76ef;*/
}
#cbx:checked + .cbx .flip {
  transform: rotateY(180deg);
}
.front,
.back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 2px;
}
.front {
  background: #fff;
  z-index: 1;
}
.back {
  transform: rotateY(180deg);
  /*background: #0b76ef;*/
  text-align: center;
  color: #fff;
  line-height: 20px;
  /*box-shadow: 0 0 0 1px #0b76ef;*/
}
.back svg {
  margin-top: 3px;
  fill: none;
}
.back svg path {
  stroke: #000;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body {
  -webkit-font-smoothing: antialiased;
}



#agreement_date {
  position: relative;
  height: 40px;
  color: white;
}

#agreement_date:before {
  position: absolute;
  top: 6px; left: 6px;
  content: attr(data-date);
  display: inline-block;
  color: black;
}

#agreement_date::-webkit-datetime-edit, #agreement_date::-webkit-inner-spin-button, #agreement_date::-webkit-clear-button {
  display: none;
}

#agreement_date::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 6px;
  right: 0;
  color: black;
  opacity: 1;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}
.form-control:focus {
  color: #495057;
  background-color: #fff;
  outline: 0;
  border-color:#ced4da;
  box-shadow: none
}
#video {
  position: relative;
  padding-bottom: 58.85%; /*83.55%;  16:9 */
  height: 0;
  margin-bottom:18%;
}

#video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
}
#video .unstarted-mode:not(.playing-mode) .ytp-cued-thumbnail-overlay:not([aria-hidden=true]), .ended-mode .ytp-cued-thumbnail-overlay:not([aria-hidden=true]) {
    transform:scale(1.35,1) !important;
}
@media screen and (min-width:800px) {
  #video {
  margin-bottom:13.75%;
}
}
select.form-control { color:#000; }
input[id="cbx12"]:checked + label::after {
content: '';
       position: absolute;
       width: 1.2ex;
       height: 0.4ex;
       background: rgba(0, 0, 0, 0);
       top: 0.9ex;
       left: 0.4ex;
       border: 3px solid blue;
       border-top: none;
       border-right: none;
       -webkit-transform: rotate(-45deg);
       -moz-transform: rotate(-45deg);
       -o-transform: rotate(-45deg);
       -ms-transform: rotate(-45deg);
       transform: rotate(-45deg);
}