/* Модальная форма консультации */
.modal-form {
   padding: 25px;
   background-color: #f2f2f2;
   border: 2px solid #000;
   border-radius: 10px;
   position: fixed;
   top: 150%;
   left: 50%;
   transform: translate(-50%, -50%);
   opacity: 0;
   z-index: 1000000001;
   transition: .3s ease-out;
   min-width: 340px;
   width: 70%;
   max-width: 700px;
 }
 
 .modal-form.modal-open {
   opacity: 1;
   top: 50%;
 }
 
 .close-popup {
   position: absolute;
   top: 10px;
   right: 10px;
   font-size: 28px;
   line-height: 1;
   transition: .3s ease;
 }
 .close-popup:hover {
   cursor: pointer;
   color: #1348AF;
 }
 
 body {
   position: relative;
 }
 
 .hide-content::before {
   position: fixed;
   content: "";
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(161, 161, 161, 0.788) !important;
   z-index: 1000000000;
 }
 
 /*Кастомная форма консультанта*/ 
 .consultant-form {
  background: #fff;
  padding: 25px;
  box-shadow: inset 0 0px 3px 1px #6b6b6b;
 }
 .form-header {
   display: flex;
   align-items: center;
   font-size: 24px;
   font-weight: bold;
   line-height: 1.3;
   margin-bottom: 15px;
   color: #300A15;
   border-bottom: 2px solid #5A3F36;
   padding-bottom: 25px;
 }
 
 .consultant-heading {
   margin-left: 15px;
 }
 
 .consultant-logo {
   width: 60px;
   height: 60px;
   background: url(/logo-mfc.png) no-repeat;
   background-size: contain;
   flex-shrink: 0;
 }
 
 .field-group { 
   position: relative;
   }
 
 .customize-label { 
   color: black; 
   font-size: 16px; 
   font-weight: 300;
   }
 
 .consultant-bottom {
   display: flex;
   margin-top: 15px;
   align-items: flex-start;
 }
 .consultant-bottom button.btn {
   background: #0045BA !important;
   font-size: 16px;
   border-color: #0045BA;
   padding: 14px 20px !important;
   padding-bottom: 30px;
   border-radius: 5px;
   transition: .3s ease;
   position: relative;
   overflow: hidden;
   text-transform: uppercase;
 }
 
 .consultant-bottom button.btn::before {
   content: "";
   position: absolute;
   width: 40px;
   height: 100%;
   background-image: linear-gradient(to right bottom, transparent 15px, #fff 25px, #bcd1fe 30px, transparent 35px);
   left: 0;
   top: 0;
   transform: translate(-25px);
   opacity: 0;
   animation: btn linear 5s infinite;
 }
 
 @keyframes btn {
   0% {opacity: 0;}
   10% {opacity: 1; transform: translate(250px);}
   100% {opacity: 1; transform: translate(250px);}
 }
 
 .consultant-bottom button.btn:hover {
   background: #007236 !important;
   border-color: #007236;
 }
 
 .customize-input { 
   width: 100%; 
   background: #fff; 
   border: 2px solid #000 !important; 
   border-radius: 3px; 
   padding: 7px 10px !important; 
   transition: .2s all;
   }
 
 .customize-input::placeholder { 
   color: black;
   }
 
 .customize-input:focus { 
   background: white; 
   border: 2px solid #DC511C !important; 
   box-shadow: 0 0 1px 4px rgba(220, 82, 28, 0.178) !important;
   }
 
 .customize-input:focus::placeholder { 
   color: #000; 
   opacity: .5;
   }
 
 @media (max-width: 575.98px) { 
   .customize-input { 
   margin-bottom: 12px; 
   width: 100%; 
   max-width: 100%;
   } 
 }
 
 .customize-textarea { 
   margin-top: 5px; 
   width: 100%; 
   max-width: 100%; 
   padding: 7px 10px !important; 
   background: #fafafa; 
   border: 2px solid #000 !important;
   border-radius: 3px 3px 0 0; 
   resize: vertical; 
   transition: .2s all; 
   box-sizing: border-box;
   }
 
 .customize-textarea:focus { 
   background: #fdfdfd !important; 
   border: 2px solid #DC511C !important; 
   box-shadow: 0 0 1px 4px rgba(220, 82, 28, 0.178) !important;
   }
 
 .customize-textarea::placeholder { 
   color: black;
   }
 
 .customize-textarea:focus::placeholder { 
   color: #000; 
   opacity: .5;
   }
 
 .question-example { 
   padding: 5px; 
   padding-left: 10px;
   background: #000; 
   color: #fff; 
   font-size: 16px; 
   font-weight: 400; 
   border-radius: 0 0 3px 3px; 
   }
 
 .inputs-wrapper { 
   transition: .2s all;
   }
 
 .example-accent { 
   font-weight: 600; 
   color: #ffff;
   }
 
 .wrong-input { 
   border: 1px solid #ff0000;
   }
 
 .tooltip { 
   z-index: 9999; 
   position: absolute; 
   background: #fa3f3f; 
   color: #fff; 
   font-weight: bold;
   border-radius: 4px; 
   font-size: 14px; 
   bottom: -28px; 
   padding: 4px 8px; 
   box-shadow: 0 0 12px rgba(0, 0, 0, 0.39);
   }
 
 .tooltip:after { 
   top: -15px; 
   display: block; 
   position: absolute; 
   content: ''; 
   width: 0px; 
   height: 0px; 
   border-top: 8px solid #FA4C3F; 
   border-right: 8px solid transparent; 
   border-bottom: 8px solid transparent; 
   border-left: 8px solid transparent; 
   transform: rotate(180deg);
   }
 
 .privacy-text { 
   font-size: 14px;
   margin-top: 10px;
   color: rgb(48, 48, 48);
   line-height: 1.2;
   }
 .privacy-text a {
   color: #3865A7;
   font-size: 14px !important;
   transition: .3s ease;
 }
 
 .privacy-text a:hover {
   color: #DC511C;
 }
 
 .second-step { 
   display: none;
   }
 
 .fadingOutRight { 
   position: absolute; 
   animation: fadingOUT .3s ease-in-out;
   }
 
 .fadingInLeft { 
   animation: fadingOUT .4s reverse ease-in-out;
   }
 
 .success-notification { 
   display: none; 
   padding: 15px; 
   border-radius: 3px; 
   color: #FF1100;
   text-align: center;
   }
 
 .success-notification .yurist-number {
   display: block;
   font-weight: bold;
   color: #696969;
   margin: 0 auto !important;
   max-width: 400px !important;
 }
 
 .success-notification .yurist-number a span {
   font-size: 15px;
 }
 
 .success-notification .yurist-number a {
   line-height: 1.3;
 }
 
   .success-notification p {
     text-align: center !important;
     font-weight: bold;
   }
 
   .success-notification p span {
       font-size: 13px;
       color: #000000;
   }
 
   .success-notification .consultant-logo {
     margin: 0 auto;
   }
 
 .success-notification__title { 
   font-size: 22px; 
   font-weight: 600; 
   margin-bottom: 8px;
   }
 
 @keyframes fadingOUT { 
   from { 
   opacity: 1;
   }
   to { 
     opacity: 0;
     transform: scale(0);
     } 
 }
 
 .bottom-group {
   max-width: 325px;
   margin-right: 10px;
 }
 
 @media (max-width: 1025px) {
   .consultant-bottom {
     justify-content: space-between;
   }
   .privacy-text {
     line-height: 1.2;
     margin-top: 10px;
   }
 }
 
 @media (max-width: 860px) {
   .consultant-bottom .yurist-number {
     margin-left: 0;
     margin-top: 10px;
   }
 }

 @media (max-width: 660px) {
   .form-header {
     font-size: 20px;
   }
   .consultant-logo {
     width: 50px;
     height: 50px;
   }
   .consultant-bottom {
     flex-direction: column;
     align-items: center;
   }
   .privacy-text {
     text-align: center;
     margin-top: 10px;
     line-height: 1.2;
   }
   .consultant-heading span {
     display: none;
   }
   .consultant-bottom button.btn {
     margin-left: 0;
   }
   .yurist-number {
     margin-right: 0 !important;
     margin-top: 10px;
     max-width: 100%;
   }
   .bottom-group {
     text-align: center;
     margin-right: 0;
   }
 }
 
 @media (max-width: 460px) {
   .inline-field {
     flex-direction: column;
     align-items: center;
   }
   .field-inline-group:nth-child(2) {
     margin-left: 0 !important;
   }
   .field-inline-group {
     width: 100% !important;
   }
   .consultant-bottom .yurist-number {
     flex-direction: column;
     align-items: center;
     text-align: center;
   }
   .consultant-bottom .yurist-number b {
     margin-right: 0;
   }
 }
 
 .consultant .entry-content {
   display: none;
 }
 
 .success-phone a:hover {
   text-decoration: underline;
   color: #CA0000;
 }
 
 .yurist-number {
   display: flex;
   align-items: center;
   margin-left: auto;
   line-height: 1.3;
   color: #000;
   flex-shrink: 0;
 }
 
 .yurist-number span {
   margin-right: 10px;
   color: #333333;
 }
 
 .yurist-number a {
   font-size: 30px;
 }
 
 .yurist-number b {
   margin-right: 10px;
 }
 
 .yurist-number i {
   color: #FE0000;
   animation: colorChange 2s ease infinite;
 }
 
 @keyframes colorChange {
   33% {color: #DC9951;}
   66% {color: #209b10;}
 }
 
 .page-template-page-pravoved-template .main-inner {
   margin-right: 0 !important;
   padding-right: 0 !important;
 }
 
 .inline-field  {
   display: flex;
   align-items: center;
   margin-bottom: 20px;
 }
 
 .field-inline-group {
   width: 45%;
 }
 
 .field-inline-group:nth-child(2) {
   margin-left: auto;
 }

