.custom-contact-form-block{
  margin:40px auto;
  padding:40px;
  background-color:#F2F2F2;
  border-radius:4px;
}
.custom-contact-form{

}
.custom-contact-form-block fieldset{
  border:none;
}
.custom-contact-form-block .form-group{
  margin-bottom:20px;
}
#page .custom-contact-form input,
#page .custom-contact-form textarea{
  display:block;
  width:100%;
  border:1px solid #AAA;
  border-radius:4px;
}
#page .custom-contact-form textarea{
  padding:10px;
}

#page .custom-contact-form label,
.custom-contact-form-block .text-muted{
  display:inline-block;
  line-height:1;
}
.custom-contact-form-block .text-muted{
  height:0px;
  width:0px;
  color:transparent;
}
.custom-contact-form-block .text-muted::before{
  content:'*';
  color:var(--ErrorColor);
  font-weight:bold;
}

#page .custom-contact-form-block .captcha .control-label{
  display:block;
  width:75%;
  margin:20px auto 20px;
  text-align:center;
}
#page .custom-contact-form-block img.ccm-captcha-image{
  width:50%;
  min-width:190px;
  max-width:300px;
  height:auto;
  margin:0px auto 20px;
}
.custom-contact-form-block #ccm-captcha-code{
  max-width:420px;
  display:block;
  margin:0px auto;
  text-align:center;
}
.contact-form-finish{
  display:block;
  width:100%;
  max-width:300px;
  margin:0px auto;
  padding:20px 80px;
  color:rgba(255,255,255,0.91);
  text-transform:uppercase;
  font-weight:bold;
  background-color:var(--MainColor);
  border:none;
  border-radius:8px;
  cursor:pointer;
  transition:background-color .1s ease-in-out,color .1s ease-in-out;
}
.contact-form-finish:hover{
  color:rgba(0,0,0,0.65);
  background-color:var(--AccentColor);
}
.custom-contact-form-block div.alert-error,
.custom-contact-form-block div.alert-danger{
  color:#FFF;
  font-weight:bold;
  border:none;
  background-color:var(--ErrorColor);
}