.nxr_form .p-order__dropzone {
  margin: 0;
  width: 100%;
}

.nxr_form .p-order__dropzone .dz-message {
  margin-top: 0;
}

.nxr_form .dz-max-files-reached .dz-message {
  display: none;
}

.nxr_form form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  max-width: 780px;
  color: #666;
  font: 100 12px/20px "Helios", sans-serif;
}

@media screen and (max-width: 769px) {
  .nxr_form form {
    font-size: 16px !important;
  }
}

.nxr_form form fieldset {
  margin: 20px 0;
  padding: 0;
  border: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.nxr_form form fieldset legend {
  padding: 0;
  font-weight: bold;
  margin: 20px 0;
  font: 400 16px/20px "Helios", sans-serif;
}

@media screen and (max-width: 769px) {
  .nxr_form form fieldset legend {
    font-size: 18px;
  }
}

.nxr_form form label {
  width: 100%;
  margin: 6px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media screen and (max-width: 769px) {
  .nxr_form form label {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
}

.nxr_form form textarea {
  width: 100%;
  height: 80px;
  resize: none;
}

.nxr_form form input:not([type="submit"]),
.nxr_form form textarea {
  font: 400 12px/20px "Arial", sans-serif !important;
  letter-spacing: 0 !important;
}

@media screen and (max-width: 769px) {
  .nxr_form form input:not([type="submit"]),
  .nxr_form form textarea {
    font-size: 16px !important;
  }
}

.nxr_form form input:focus,
.nxr_form form textarea:focus {
  color: #333;
  border-color: #d0112b;
  outline: none;
}

.nxr_form form input[type="submit"] {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.nxr_form form input:disabled {
  background: #e7e7e7;
  cursor: default;
  border-color: #e7e7e7;
}

.nxr_form form .race-captcha {
  margin: 10px 0;
}

@media screen and (max-width: 769px) {
  .nxr_form form .race-captcha {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.nxr_form form .race-captcha img {
  min-width: 180px;
}

@media screen and (max-width: 769px) {
  .nxr_form form .race-captcha .left-20 {
    margin-left: 0;
  }
}

.nxr_form form .searcher_race {
  display: block;
  position: relative;
  padding: 0 40px 0 18px;
  color: #999;
  font-size: 0;
  white-space: nowrap;
  background: #ffffff no-repeat left center;
  background-size: 36px 36px;
  border: 1px solid #999;
  border-radius: 18px;
}

.nxr_form form .searcher_race.open {
  color: #333;
  border-color: #d0112b;
  border-radius: 18px 18px 0 0;
  border-bottom-color: transparent;
}

.nxr_form form .searcher_race.open .searcher-input_race {
  border-bottom-color: #999;
}

.nxr_form form .searcher_race.open .searcher-drop_race {
  display: block;
}

.nxr_form form .searcher_race .searcher-input_race {
  display: block;
  width: 95%;
  padding: 7px 0 6px;
  border: none;
  border-bottom: 1px solid transparent;
  background: transparent;
  font: 400 12px/20px "Helios", sans-serif;
}

.nxr_form form .searcher_race .searcher-carret_race {
  display: block;
  float: right;
  height: 20px;
  width: 20px;
  margin: 8px -30px 0 0;
  background: transparent no-repeat center
    url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i0KHQu9C+0LlfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgMjAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGZpbGw9IiM5OTk5OTkiIGQ9Ik05LjQwMiwxMC42ODRjMi43NTQtMi43NTUsNC45NjktMy42MDMsNi45MTEtMi44ODJsLTYuMzEzLDYuMzEyIi8+PHBhdGggZmlsbD0iIzk5OTk5OSIgZD0iTTEwLjU5OCwxMC42ODRjLTIuNzU0LTIuNzU1LTQuOTY2LTMuNjAzLTYuOTEtMi44ODJMMTAsMTQuMTEzIi8+PC9zdmc+);
  background-size: 18px 18px;
  border: none;
  border-radius: 14px;
}

.nxr_form form .searcher_race .searcher-drop_race {
  display: none;
  position: absolute;
  top: 100%;
  left: -1px;
  right: -1px;
  max-height: 200px;
  padding: 10px 18px;
  background: #fff;
  border: solid 1px #d0112b;
  border-top-color: transparent;
  border-radius: 0 0 23px 23px;
  overflow: hidden;
  z-index: 1;
  font: 400 12px/20px "Arial", sans-serif !important;
  letter-spacing: 0 !important;
}

.nxr_form form .searcher_race .searcher-drop-list_race {
  max-height: 180px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
}

.nxr_form form .searcher_race .searcher-drop-list_race li {
  color: #333;
  text-overflow: initial;
  font-size: 12px;
  line-height: 26px;
  overflow: auto;
  white-space: pre-wrap;
  max-width: 100%;
  cursor: pointer;
  padding: 5px 0 !important;
  line-height: 1.5;
  background: none;
  margin: initial;
}

.nxr_form .first-col {
  width: 33%;
  min-width: 33%;
  display: inline-block;
  margin: 0;
  padding-right: 20px;
}

@media screen and (max-width: 769px) {
  .nxr_form .first-col {
    width: 100%;
    margin-bottom: 0.7rem;
  }
}

.nxr_form .form-line {
  margin: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

@media screen and (max-width: 769px) {
  .nxr_form .form-line {
    width: 100%;
  }
}

.nxr_form .req:after {
  content: "*";
  color: orangered;
}

.nxr_form #race-info .row_flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media screen and (max-width: 769px) {
  .nxr_form #race-info .row_flex > .first-col {
    display: none;
  }
}

.nxr_form #race-info .row_flex > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1rem;
}

@media screen and (max-width: 769px) {
  .nxr_form #race-info .row_flex > div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
  }
}

.nxr_form #race-info .row_flex > div input {
  -webkit-box-flex: 0.5;
  -ms-flex: 0.5;
  flex: 0.5;
  min-width: 40%;
}

.nxr_form #race-info .row_flex > div input.for-date {
  padding: 7px 15px;
}

.shadow-datapicker {
  -webkit-box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}

#modal_form {
  width: 370px;
  height: 500px;
  border-radius: 0;
  background: #fff;
  position: fixed;
  top: 45%;
  left: 50%;
  margin-top: -300px;
  margin-left: -185px;
  display: none;
  opacity: 0;
  z-index: 35;
  padding: 20px 0 0;
  border: 1px solid #d0112b;
  max-height: 90%;
}

#modal_form .modal-wrap {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  padding-left: 20px;
  padding-right: 10px;
  padding-bottom: 10px;
}

#modal_form p {
  font-size: 12px;
  line-height: 16px;
  text-indent: 20px;
  text-align: justify;
}

#modal_form #modal_close {
  display: block;
  position: absolute;
  top: 5px;
  right: -27px;
  width: 18px;
  height: 18px;
  background: url(/local/img/close_popup.png) no-repeat 0 0;
  cursor: pointer;
}

#modal_form .mCSB_inside > .mCSB_container {
  margin-right: 20px;
}

#modal_form .mCSB_inside > .mCSB_container p:first-child {
  margin-top: 0;
}

#overlay {
  z-index: 3;
  position: fixed;
  background-color: #000;
  opacity: 0.8;
  -moz-opacity: 0.8;
  filter: alpha(opacity=80);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  display: none;
}

.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.45);
}

.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.5);
}

.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.55);
}

.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.55);
}

.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,
.mCS-dark-thin.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.55);
}

.caption {
  padding: 4px 10px;
  background: #2577b1;
  color: #fff;
}

.searcher_race2 {
  flex: 1;
  min-width: 40%;
}

.nxr_form form .searcher_race2 .searcher-input_race {
  width: 95%;
}
.nxr_form form .searcher_race2 .searcher-carret_race {
  min-width: unset!important;
}
@media (max-height: 600px) {
  #modal_form {
    margin-top: 0;
  }
}

@media (max-width: 440px) {
  #modal_form {
    margin: 0;
    left: 5%;
    width: 90%;
    height: 90%;
    padding-top: 30px;
  }
  #modal_form #modal_close {
    top: 4px;
    right: 4px;
  }
}


#main_content .nxr_form form .searcher_race {
  display: block;
  position: relative;
  padding: 0 40px 0 18px;
  color: #999!important;
  font-size: 0;
  white-space: nowrap;
  background: #ffffff no-repeat left center!important;
  background-size: 36px 36px;
  border: 1px solid #999;
  border-radius: 18px;
}

#main_content .nxr_form form .searcher_race.open {
  color: #333!important;
  border-color: #d0112b!important;
  border-radius: 18px 18px 0 0;
  border-bottom-color: transparent;
}

#main_content .nxr_form form .searcher_race.open .searcher-input_race {
  border-bottom-color: #999;
}

#main_content .nxr_form form .searcher_race.open .searcher-drop_race {
  display: block;
}

#main_content .nxr_form form .searcher_race .searcher-input_race {
  display: block;
  width: 95%;
  padding: 7px 0 6px;
  border: none;
  border-bottom: 1px solid transparent;
  background: transparent!important;
  font: 400 12px/20px "Helios", sans-serif;
}

#main_content .nxr_form form .searcher_race .searcher-carret_race {
  display: block;
  float: right;
  height: 20px;
  width: 20px;
  margin: 8px -30px 0 0;
  background: transparent no-repeat center
    url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i0KHQu9C+0LlfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgMjAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGZpbGw9IiM5OTk5OTkiIGQ9Ik05LjQwMiwxMC42ODRjMi43NTQtMi43NTUsNC45NjktMy42MDMsNi45MTEtMi44ODJsLTYuMzEzLDYuMzEyIi8+PHBhdGggZmlsbD0iIzk5OTk5OSIgZD0iTTEwLjU5OCwxMC42ODRjLTIuNzU0LTIuNzU1LTQuOTY2LTMuNjAzLTYuOTEtMi44ODJMMTAsMTQuMTEzIi8+PC9zdmc+)!important;
  background-size: 18px 18px;
  border: none;
  border-radius: 14px;
}

#main_content .nxr_form form .searcher_race .searcher-drop_race {
  display: none;
  position: absolute;
  top: 100%;
  left: -1px;
  right: -1px;
  max-height: 200px;
  padding: 10px 18px;
  background: #fff!important;
  border: solid 1px #d0112b!important;
  border-top-color: transparent;
  border-radius: 0 0 23px 23px;
  overflow: hidden;
  z-index: 1;
  font: 400 inherit/inherit "Arial", sans-serif !important;
  letter-spacing: 0 !important;
}

#main_content .nxr_form form .searcher_race .searcher-drop-list_race {
  max-height: 180px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
}

#main_content .nxr_form form .searcher_race .searcher-drop-list_race li {
  color: #333!important;
  text-overflow: initial;
  font-size: inherit;
  line-height: 26px;
  overflow: auto;
  white-space: pre-wrap;
  max-width: 100%;
  cursor: pointer;
  padding: 5px 0 !important;
  line-height: 1.5;
  background: none!important;
  margin: initial;
}

#main_content .form-checkbox input {
  width: 40px;
}

#content a {
  color: #d0112b !important;
}