.horse-scene-field-div {
  position: relative;
}
.horse-scene-field-div .horse-scene-field,
.csf-head .csf-active-label {
  height: 31px;
  background: #fff;
  border: 1px solid #b7b7b7;
  border-radius: 0;
  width: auto;
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  padding: 5px 16px 5px 5px;
  font-size: 14px;
  cursor: pointer;
}
.csf-head .csf-active-label {
  margin-bottom: 0;
  position: relative;
}
.csf-head .csf-active-label:before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  transform: rotate(45deg) translate(-1px, -1px);
  border-bottom: 1px solid;
  border-right: 1px solid;
  top: 0;
  bottom: 0;
  right: 5px;
  margin: auto;
}
.horse-scene-field-div.loaded.active .csf-head .csf-active-label:before {
  transform: rotate(225deg) translate(-1px, -1px);
}
.horse-scene-field-div .horse-scene-field.customize-select-field {
  max-width: 0;
  max-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden !important;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  position: absolute;
  bottom: 0;
  left: 0;
}
body .horse-scene-form {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  padding-left: 24px;
  background-image: url(../img/date_filter.png);
  background-repeat: no-repeat;
  background-position: 0 9px;
  background-size: 16px;
}
.csf-dropdown {
  color: #444;
  padding: 4px 4px 3px;
  background-color: white;
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 1010;
  width: 100%;
  border: 1px solid #aaa;
  border-top: 0;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border-radius: 0 0 4px 4px;
}
.csf-dropdown-input-div input.csf-dropdown-input {
  padding: 4px 20px 4px 5px;
  width: 100%;
  height: auto;
  border: 1px solid #b7b7b7;
  font-size: 1em;
  line-height: normal;
}
.csf-dropdown-input-div {
  margin-bottom: 3px;
  position: relative;
}
.csf-dropdown-input-div .csf-dropdown-btn {
  width: 13px;
  height: 13px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 3px;
  margin: auto;
  z-index: 1;
  pointer-events: none;
}
.csf-dropdown-input-div .csf-dropdown-btn:before {
  content: "";
  position: absolute;
  border: 1.5px solid #8b8b8b;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.csf-dropdown-input-div .csf-dropdown-btn:after {
  content: "";
  position: absolute;
  border: 1.5px solid #8b8b8b;
  border-bottom: 0;
  width: 6px;
  height: 0;
  bottom: 0;
  right: 0;
  transform: rotate(45deg) translate(-1px, 1px);
  transform-origin: bottom right;
}
.csf-dropdown-list {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  max-height: 210px;
}
.csf-dropdown-div .csf-dropdown-text {
  padding: 5px 6px;
  margin: 0;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.horse-scene-field-div.loaded:not(.active) .csf-dropdown {
  display: none;
}
.horse-scene-field-div.loaded.active .csf-head .csf-active-label {
  border-bottom-color: #ffffff00;
}
.csf-dropdown:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0.01em;
  top: 0;
  left: 0;
  background-color: #aaa;
  opacity: 0.2;
}
.csf-dropdown-div.active .csf-dropdown-text {
  font-weight: 700;
}
.form-submit-btn-div .form-submit-btn {
  color: #fff;
  background-color: #56236d;
  line-height: 23px;
  padding-left: 15px;
  padding-right: 15px;
  border: 1px solid #56236d;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.form-submit-btn-div .form-submit-btn:hover,
.form-submit-btn-div .form-submit-btn:focus {
  color: #56236d;
  background-color: white;
  border: 1px solid #56236d;
}
.csf-dropdown-div .csf-dropdown-text:hover {
  color: #fff;
  background-color: #56236d;
}
.horse-scene-sec {
  padding-left: 15px;
  padding-right: 15px;
}
.horse-scene-head {
  border-bottom: 1px dashed #ccc;
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.hsb-foot-link {
  width: 100%;
  height: 100%;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  word-break: break-word;
}
.hsb-foot-sec {
  border-top: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
  background-color: #f1f1f1;
  margin-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.hsb-foot-div {
  width: 25%;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}
.hsb-foot-content > * {
  margin-bottom: 0;
  font-size: 15px;
  color: #464646;
}
.hsb-foot-icon {
  width: 27px;
  height: 27px;
  min-width: 27px;
  background-image: url(../img/icon-video-play.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
}
.hsb-foot-div:hover {
  background-color: rgb(0 0 0 / 10%) !important;
}
.hsb-foot-link.active {
  font-weight: 700;
}
.hsb-head-date {
  display: inline-block;
  background: url(../img/datebg.png) no-repeat;
  background-size: contain;
  width: 68px;
  min-width: 68px;
  height: 99px;
  vertical-align: middle;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  padding-top: 15px;
  line-height: 1.2;
}
.hsb-head-date > * {
  margin-bottom: 0;
}
.hsb-head-date .hsb-day {
  font-size: 24px;
  font-weight: 700;
}
.hsb-head-sec {
  display: flex;
  align-items: center;
  gap: 53px;
  /* flex-wrap: wrap; */
  margin-bottom: 65px;
}
.hsb-conent-div > * {
  margin-bottom: 0;
  font-weight: 700;
}
.hsb-body-sec {
  padding-bottom: 40px;
  border-top: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  position: relative;
}
.hsb-body-sec:before {
  content: "";
  background-color: #e0e0e0;
  height: 1px;
  width: 100%;
  position: absolute;
  bottom: 15px;
  left: 0;
}
.hsb-conent-div .hsb-trainer-name {
  margin-top: 5px;
}
.hsb-conent-div .hsb-additional-text {
  margin-top: 20px;
  width: 100%;
  max-width: 600px;
  font-weight: 400;
}

/********************************* Debuging Styling *********************************/
.performance_record_btn_div {
  display: inline-block;
  position: relative;
}
.performance_record_btn_div > a {
  display: inline-block;
  line-height: 1.14;
}
.performance_record_btn_div .performance_record_overlay_btn {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  top: 0;
  left: 0;
  opacity: 0;
}
.performance_record_btn_div .performance_record_overlay_btn:hover + .button,
.performance_record_btn_div .performance_record_overlay_btn:focus + .button {
  background: #f80104;
  color: white;
}
.performance_record_btn_div.custom_loading > * {
  pointer-events: none;
  opacity: 0.5;
}
.performance_record_btn_div.custom_loading {
  cursor: progress;
}

/********************************* Debuging Styling end *********************************/

/********************************* Dividend Table *********************************/
.custom-dividend-table table {
  width: 100%;
  position: relative;
  border: 1px solid #ddd;
  padding: 5px 5px;
}
.custom-dividend-table {
  overflow-x: auto;
}
.custom-dividend-table th {
  background: #ccc !important;
  font-weight: 600;
  color: #333;
  padding: 5px;
}
.custom-dividend-table tr:nth-child(even) td {
  background-color: #fafafa;
  border: 1px solid #ccc;
}
.custom-dividend-table tr:hover td {
  background-color: #f1f1f1;
}
.custom-dividend-table td {
  color: #222;
  font-size: 14px;
  padding: 5px;
  border: 1px solid #ccc;
}
/********************************* Dividend Table End *********************************/

@media (min-width: 992px) {
  .hsb-foot-div:nth-child(8n + 1),
  .hsb-foot-div:nth-child(8n + 2),
  .hsb-foot-div:nth-child(8n + 3),
  .hsb-foot-div:nth-child(8n + 4) {
    background-color: white;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  .hsb-foot-div:nth-child(6n + 1),
  .hsb-foot-div:nth-child(6n + 2),
  .hsb-foot-div:nth-child(6n + 3) {
    background-color: white;
  }
}

@media (max-width: 767px) and (min-width: 1px) {
  .hsb-foot-div:nth-child(4n + 1),
  .hsb-foot-div:nth-child(4n + 2) {
    background-color: white;
  }
}

@media (max-width: 1199px) {
  .hsb-foot-link {
    padding: 12px 18px;
  }
}

@media (max-width: 991px) {
  .hsb-head-sec {
    gap: 20px;
    margin-bottom: 40px;
  }
  .hsb-head-date {
    width: 60px;
    min-width: 60px;
    height: 90px;
    padding-top: 12px;
  }
  .hsb-head-date .hsb-day {
    font-size: 20px;
  }
  .hsb-head-date > * {
    font-size: 13px;
  }
  .hsb-conent-div > * {
    font-size: 23px;
  }
  .hsb-body-sec {
    padding-bottom: 30px;
  }
  .hsb-body-sec:before {
    bottom: 12px;
  }
  .hsb-foot-div {
    width: 33.33%;
  }
  .horse-scene-field-div .horse-scene-field,
  .csf-head .csf-active-label {
    min-width: 100px;
  }
  body .horse-scene-form {
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .hsb-foot-div {
    width: 50%;
  }
  .hsb-foot-link {
    padding: 10px 12px;
  }
  .hsb-foot-content > * {
    font-size: 13px;
  }
  .hsb-foot-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-right: 6px;
  }
}
