/* Style the breadcrumb */
ul.breadcrumb {
  padding: 10px 0;
  list-style: none;
}

/* Display list items side by side */
ul.breadcrumb li {
  display: inline;
  color: var(--color3);
  font-size: 18px;

}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
  padding: 8px;
  color: var(--color4);
  content: "/\00a0";
}

/* Add a color to all links inside the list */
ul.breadcrumb li a {
  color: var(--color4);
  text-decoration: none;
}

/* Add a color on mouse-over */
ul.breadcrumb li a:hover {
  color: var(--color2);
  text-decoration: underline;
}

#loader {
  width: 350px;
  margin-top: 25px;
  margin-left: auto;
  text-align: center;
}


.contacts-page {
  background-color: #e9e8e6;
  overflow: hidden;
  background-image: url("../img/bg-5.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 120px 0;
  min-height: 619px;
}

.contacts-page__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding-left: 35px;
  padding-right: 20px;
}

.contacts-page__subtitle {
  max-width: 80%;
  margin-top: 40px;
  margin-bottom: 56px;
}

/* .contacts-page__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
} */
.contacts-page__form {
  width: 100%;
  margin: 0 auto;
  margin-top: 4%;
}

.contact-input {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #a3a3a3;
  background-color: rgba(0, 0, 0, 0.6);
}

.conttextareaact-input {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #a3a3a3;
}

 .textarea-text {
  resize: none;
  display: block;
  min-height: 7em;
} 

.contact-form {
  width: 100%;
  justify-content: space-between;
  align-items: start;
}
.wrapper__contact-form{
display: flex;
}
.form__one {
  width: 100%;
  margin-right: 2%;
}

.form__two {
  width: 100%;
  margin-left: 2%;
}


.formitem__contact {
  width: 100%;
}

/* //// цвета плейсхолдера, в том числе и для выбора селект */
.formitem__contact>select {
  background: green;
  color: #757575;
}

input::-webkit-input-placeholder {
  color: #757575;
}

input::-moz-placeholder {
  color: #757575;
}

input:-ms-input-placeholder {
  color: #757575;
}

input::-ms-input-placeholder {
  color: #757575;
}

input::placeholder {
  color: #757575;
}

textarea::-webkit-input-placeholder {
  color: #757575;
}

textarea::-moz-placeholder {
  color: #757575;
}

textarea:-ms-input-placeholder {
  color: #757575;
}

textarea::-ms-input-placeholder {
  color: #757575;
}

textarea::placeholder {
  color: #757575;
}

/* ////////// конец цветов плейсхолдера */

.check__subscribe-contact {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin-right: 5px;

}

.form-check-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.policy__link-contact {
  text-decoration: none;
  color: var(--color2);
  font-size: 12px;
}

.policy__link-contact:hover {
  color: var(--color2);
  text-decoration: underline;
}

.primary-btn.contact-form__btn {
  
    border: 2px solid var(--color4);
    text-transform: uppercase;
    padding: 16px 40px;
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    color: var(--color3);
    background-color: var(--color2);
    border-radius: 35px;
    cursor: pointer;
    
}
.formsubmit{
display: block;
    text-align: center;
}

.primary-btn.contact-form__btn:hover {
  color: var(--color4);
  background-color: #ffae00;
  border: 2px solid #ffae00;
  transition: all 0.5s;
}

.form__error {
  color: #f03c3c;
  text-align: left;
  font-size: 13px;
  display: block;
  margin-top: 0px;
  margin-bottom: 15px;
  display: none;
}

input:invalid:not(:placeholder-shown) {
  border-color: #f03c3c;
  color: #f03c3c;
}

input:valid:not(:placeholder-shown) {
  border-color: green;
}

input:invalid:not(:placeholder-shown)+.form__error {
  display: block;
}

input{
  color: #ffffff;
}
textarea{
  color: #fff;
}
.policy-point {
  display: flex;
  align-items: center;
}

.contact-form__btn {
  margin-top: 15px;
}

.checkbox {
  margin-right: 10px;
}

#btncheck[disabled] {
  background-color: rgba(241, 218, 189, 0.244);
  pointer-events: none;
  border-color: rgba(255, 196, 0, 0.475);
  color: hsla(46, 100%, 50%, 0.475);
}

.case-page__wrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;

}
.case-page__wrapper-part{
  width: 50%;
}



@media (max-width: 1181px) {
  .form-check-label {
    display: flex;
    align-items: t;
    flex-wrap: wrap;
    justify-content: flex-start;
}
  .policy-point{
    flex-wrap: wrap;
    flex-basis: 85%;
    margin-left: 20px;
  }
}
@media (max-width: 768px) {
  .wrapper__contact-form {
    display: block;
}
.form__two{
  margin-left: 0;
}
}


/* CSS для секции "Пользовтельское соглашение" */
.form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5em;
}

.form-check-input.is-invalid,
.was-validated .form-check-input:invalid {
  border-color: #dc3545;
}

.form-check-input {
  width: 1em;
  height: 1em;
  vertical-align: top;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid rgba(0, 0, 0, .25);
  border-radius: 0.25em;

  -webkit-appearance: none;

     -moz-appearance: none;

          appearance: none;

}

.form-check .form-check-input {
  float: left;
  margin-left: -1.5em;
}

.form-check-input.is-invalid~.form-check-label,
.was-validated .form-check-input:invalid~.form-check-label {
  color: #dc3545;
}

.form-check-input:checked[type=checkbox] {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3e%3cpath d='M27 4 12 19l-7-7-5 5 12 12L32 9z'/%3e%3c/svg%3e");
}

.form-check-input:checked {
  border-color: var(--color2);
  background-color: var(--color2);
}


.polisy_block a{
  text-decoration: none;
  color: #bebebe;
  font-size: 88%;
}
.polisy_block a:hover{
  text-decoration: unset;
  color: var(--color2);
}

/* сообщение об успешной отправки формы */
.form-success {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  text-align: center;
  align-items: center;
  background: rgba(0, 0, 0, .7);
  font-size: 1.25rem;
  border-radius: 0.25rem;
}

.form-success_hide {
  display: none;
}

.form-success__message {
  position: relative;
  padding: 1rem;
  background-color: #fafafa;
}

.form-success__btn {
  font-weight: 400;
  color: #0d6efd;
  text-decoration: underline;
  border: none;
  background-color: transparent;
  display: inline;
  padding: 0;
}

@media (max-width: 506px) {
  .check__subscribe-contact {
    margin: 0;
    
  }
  .form-check-input{
    margin-right: 10px;
  }
  .policy-point {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
  }
}

.slide-wrapper{
  display: block;
  background-color: #283039;
  width: 100%;
  height: 100%;
  border-radius: 2%;
}

.white-popup2 {
  position: relative;
  background: hsla(0, 0%, 0%, 0.667);
  padding: 20px;
  width: auto;

  margin: 20px auto;
}
.video{
  display: block;
    height: 100vh;
    -o-object-position: center;
       object-position: center;
    width: 100%;
    -o-object-fit: contain;
       object-fit: contain;
}
.mfp-close-btn-in .mfp-close {
  color: #ffc400;
}

.popup-content{
  display: block;
  text-decoration: none;
}


.video-subscribe{
  text-align: center;
  text-decoration: none;
  color: #fdebb1;
  display: block;
  margin-top: 30px;
  width: 100%;
}
.video-subscribe:hover{
  color: #ffc400;
  text-decoration: underline;
}

.reviews-video {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  overflow: hidden;
}

.reviews-video img {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center center;
  object-position: center center;
  transition: all ease 0.7s;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}



.reviews-video:after {
  content: "";
  display: none;
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: url("../img/eye.svg");
  background-repeat: no-repeat;
  z-index: 2;
}

.reviews-video:hover:after {
  display: block;
  transition: all ease 0.5s;
}
.reviews-content{
  display: block;
  text-decoration: none;
  padding: 10%;
}

.title-white-sub{
  font-size: calc(22px + 7*((100vw - 320px) / 880));
  font-weight: 400;
}
#user-surname__contact{
  display: none;
}

.thanks-page {
  background: rgb(255,255,255);
   height: auto;
overflow: hidden;

}
.thanks-page__text{
  display: block;
  text-align: center;
  font-size: 20px;
  font-family: "PTSerif", serif;
  color: #2a7d00;
  font-weight: 700;
  font-size: calc(20px + 25 * ((50vw - 320px) / 880));
  width: 100%;
  margin-bottom: 2%;
  line-height: 0.9;
}

.button-thanks.button-center {
  position: relative;
  display: block;
    margin-bottom: 20px;
  text-align: center;
  margin: 0 auto;
  margin-top: 5%;
}

.button-thanks a {
    border: 2px solid var(--color2);

    padding: 10px 59px;
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    color: var(--color2);
    background-color: transparent;
    border-radius: 8px;
    cursor: pointer;

}

.button-thanks a:hover {
  color: var(--color4);
  background-color: #fff;
  border: 2px solid var(--color3);
}




.thanks-page__text-wrap {
  padding: 6rem 0;
  
 /*  width: 100%;
  height: 100%;
  display: flex;
  width: 100%;
	height: 320px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch; */
}


.thanks-page__picture {
  display: flex;
    justify-content: center;
  align-items: center;
  width: 65%;
  max-height: 200px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.thanks-page__picture img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  z-index: 1;
}
@media (max-width: 768px) {

  .thanks-page__text-wrap {
    padding: 3rem 0;
}
  .button-thanks.button-center  {
    display: block;
    width: 100%;
    text-align: center;
  }
  .button-thanks a {
    border: 2px solid var(--color2);
    padding: 12px 37px;
    font-weight: 400;
    font-size: 0.7rem;
    text-decoration: none;
    color: var(--color2);
    background-color: transparent;
    border-radius: 8px;
    cursor: pointer;
}

}