


/*Стиль кнопки, вызывающее модальное окно*/
.linkButton123{
  cursor: pointer;
}
/*модальное окно начало*/
 /* Стили модального окна */
.modalRe-header h2 {
    color: #555;
    font-weight: normal;
    line-height: 1;
    margin: 0;
	font-size: 20px;
	text-align: center;
}
.modalRe-header h4 {
    color: #555;
    font-weight: normal;
    line-height: 1;
    margin: 0;
	font-size: 18px;
	text-align: center;
}
/* кнопка закрытия окна */
.modalRe .btn-close {
    color: #aaa;
    cursor: pointer;
    font-size: 30px;
    text-decoration: none;
    position: absolute;
    right: 5px;
    top: 0;
}
.modalRe .btn-close:hover {
    color: red;
}
/* слой затемнения */
.modalRe-wrap:before {
    content: "";
    display: none;
    background: rgba(0, 0, 0, .7);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
}
.modalRe-overlay {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 102;
}
/* активация слоя затемнения и модального блока */
.modalRe-open:checked ~ .modalRe-wrap:before,
.modalRe-open:checked ~ .modalRe-wrap .modalRe-overlay {
    display: block;
}
.modalRe-open:checked ~ .modalRe-wrap .modalRe-dialog {
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 20%;
}
/* элементы модального окна */
.modalRe-dialog {
    background: #fefefe;
    border: none;
    border-radius: 5px;
    position: fixed;
    width: 80%;
    max-width: 500px;
    left: 50%;
    top: -100%;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-transform: translate(-50%, -500%);
    -ms-transform: translate(-50%, -500%);
    -o-transform: translate(-50%, -500%);
    transform: translate(-50%, -500%);
    -webkit-transition: -webkit-transform 0.4s ease-out;
    -moz-transition: -moz-transform 0.4s ease-out;
    -o-transition: -o-transform 0.4s ease-out;
    transition: transform 0.4s ease-out;
    z-index: 103;
}
.modalRe-body {
  padding: 20px;
}
.modalRe-body p {
    margin: 0;
}
.modalRe-header,
.modalRe-footer {
    padding: 20px 20px;
}
.modalRe-header {
    border-bottom: #eaeaea solid 1px;
}
.modalRe-footer {
    border-top: #eaeaea solid 1px;
    text-align: right;
}
/* адаптивные картинки в модальном блоке */
.modalRe-body img {
    max-width: 100%;
    height: auto;
}
/* кнопки */
.btnRe {
    background: #fff;
    border: #555 solid 1px;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    padding: 8px 15px;
    text-decoration: none;
    text-align: center;
    min-width: 60px;
    position: relative;
}
.btnRe:hover, .btnRe:focus {
    background: #f2f2f2;
}
.btnRe-primary {
    background: #428bca;
    border-color: #357ebd;
    color: #fff;
}
.btnRe-primary:hover{
    background: #66A1D3;
}
/*модальное окно конец*/
#thirdForm{
	margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 20px;
	}
/*Область формы*/
.formTitle {
    font-size: 1.125rem;
    color: #9c298c;
    margin-bottom: 15px;
}
.msgs {
    font-size: 1.125rem;
    color: rgb(33, 167, 63);
    text-align: center;

}
.filled {
	text-align:center;
	}
.ui-input {
	position: relative;
    display: inherit;
    width: 80%;
     border: 0;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}
.ui-input input {
	width: 100%;
  display: block;
  border: 1px solid;
  border-radius: 5px;
  border-color: #228e3a;
  background: none;
  padding: 16px;
  font-size: 16px;
  outline: 0;
  /* line-height: 3; */
  tap-highlight-color: transparent;
  touch-callout: none;
}
.ui-input input + label {
  position: relative;
  display: block;
  padding: 8px 0 8px 0;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: .0875em;
  font-weight: 500;
  text-align: centr;
}
.ui-input input + label::before, .ui-input input + label::after {
  position: absolute;
   /* top: 0;
    left: 0;*/
    content: "";
    width: 100%;

}
.ui-input input + label::before {
  background-color: rgba(255, 255, 255, 0.2);
}
.ui-input input + label::after {
  transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.ui-input input + label {
  position: relative;
  color: rgba(255, 255, 255, 0.2);
  transition: color 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.ui-input input + label::after {
  content: '';
    position: absolute;
    overflow: hidden;
    /*left: 0;*/
    transform: scaleX(1);
    white-space: nowrap;
    color: #fff;
    background-image: linear-gradient(to right, #229954 50%, rgba(255, 255, 255, 0) 0%);
    background-position: 100% 50%;
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    backface-visibility: hidden;
    perspective: 1000;
    transform: translateZ(0);
    transition: background-position 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.ui-input input:focus + label::after,
.ui-input input.error + label::after,
.ui-input input:invalid + label::after,
.ui-input input.filled + label::after {
  transform: scaleX(1);
  transform-origin: left;
}
.ui-input input:focus + label::after,
.ui-input input.error + label::after,
.ui-input input:invalid + label::after,
.ui-input input.filled + label::after {
  background-image: linear-gradient(to right, white 50%, rgba(255, 255, 255, 0) 0%);
  background-position: 0% 50%;
}

.ui-input input.filled {
  color: rgb(33, 167, 63);
}
.ui-input input.filled + label::after {
  background-color: #fff;

}
.ui-input input.filled + label::after {
  background-image: linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 0%);
  background-position: 0% 50%;
  border-color: linear-gradient(to right, #229954 50%, rgba(255, 255, 255, 0) 0%);
}

.ui-input input:focus {
  color: rgb(33, 167, 63);
  border-color: rgb(33, 167, 63);
}
.ui-input input:focus + label::after {
  background-color: #670f56;
  border-color: linear-gradient(to right, rgb(33, 167, 63) 50%, rgba(255, 255, 255, 0) 0%);
}
.ui-input input:focus + label::after {
  background-image: linear-gradient(to right, rgb(33, 167, 63) 50%, rgba(255, 255, 255, 0) 0%);
  background-position: 0% 50%;
  border-color: linear-gradient(to right, rgb(33, 167, 63) 50%, rgba(255, 255, 255, 0) 0%);
}

.ui-input input.error,
.ui-input input:invalid {
  color: red;
  border-color: red;
}
.ui-input input.error + label::after,
.ui-input input:invalid + label::after {
  background-color: red;
  background-image: linear-gradient(to right, red 50%, rgba(255, 255, 255, 0) 0%);

}
.ui-input input.error + label::after,
.ui-input input:invalid + label::after {
  background-image: linear-gradient(to right, red 50%, rgba(255, 255, 255, 0) 0%);
  background-position: 0% 50%;
}
.form-footer{
  margin-top: 40px;
}
.formBtn {
  	display: block;
    border: 0;
    cursor: pointer;
    background-color: rgb(33, 167, 63);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    width: 60%;
    padding: 20px 0;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: .0875em;
    font-weight: 500;
    border-radius: 4px;
    outline: 0;
    box-shadow: 0 0 5px rgba(5, 19, 41, 0.5);
    transition: background-color 300ms cubic-bezier(0.215, 0.61, 0.355, 1), color 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.formBtn:hover {
  	box-shadow: 0 5px 10px rgba(33, 167, 63, 0);
    transition: .2s;
    zoom: 1.005;
}

.formBtn form input[type="submit"] {
    display: block;
    width: auto;
    margin: 10px auto;
    padding: 5px 10px;
    
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
}

.formCreator{
  text-align: center;
  margin-top: 10px;
}
.formCreator a{
  font-size: .8rem;
  color: #4e596a;
  text-decoration: none;
}

.btnRe:focus, .btnRe:active,
.btnRe:hover {
  background-color: #670f56;
  color: white;
}

.__first, .__second, .__third, .__fourth {
  animation-name: fadeIn;
  animation-duration: 180ms;
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

.__first {
  animation-delay: 0;
}

.__second {
  animation-delay: 80ms;
}

.__third {
  animation-delay: 180ms;
}

.__fourth {
  animation-delay: 360ms;
}
.promo{
	color: #ffffff;
}
.inputform{
	font-size: 16px;
    padding: 16px;
    border: 1px solid;
    border-radius: 15px;
    border-color: white;
    background: none;
    color: white;
    text-align: center;
}
.inputform:focus {
  color: #670f56;
  border-color: #670f56;
  outline: none;
}
.inputform input.filled {
  color: #fff;
}
.ac-container label{
    padding: 5px 20px;
    position: relative;
    z-index: 20;
    display: block;
    height: 30px;
    cursor: pointer;
    color: #ffffff;
    line-height: 33px;
    font-size: 19px;
    background: linear-gradient(top, #ffffff 1%,#eaeaea 100%);
}


.ac-container label:hover:after,
.ac-container input:checked + label:hover:after{
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: 13px;
    top: 7px;

}

.ac1 {
    display: none;
}

.ac-container article{

    margin-top: -1px;
    overflow: hidden;
    height: 0px;
    position: relative;
    z-index: 10;
    transition:
        height 0.3s ease-in-out,
        box-shadow 0.6s linear;
}
.ac-container input:checked ~ article{
    transition:
        height 0.5s ease-in-out,
        box-shadow 0.1s linear;

}

.ac-container article p{
    font-style: italic;
    color: #777;
    line-height: 23px;
    font-size: 14px;
    padding: 20px;

}

.ac-container input:checked ~ article.ac-small{
    height: 60px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, -25%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {}


/*================================= Кнопка вызова ================================*/

.kon_btn{
    margin: 0 auto;
    width: 300px;
    background-color: rgb(50, 133, 51);
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(124, 202, 145, 0.3411764705882353);
    font-size: 200%;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    line-height: 30px;
    color: rgb(255, 255, 255);
    margin-top: 60px;
}
.kon_btn:hover{

    background-color: #ffff;
    color: rgb(50, 133, 51);
    box-shadow: 0 0 25px rgb(13, 147, 73);
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
  .kon_btn{
    margin-bottom: 40px;
    margin-top: 40px;
    width: 285px;
  }
}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  .kon_btn{
    margin-bottom: 40px;
    margin-top: 40px;
    width: 285px;
  }
  /* Extra Small Devices, Phones */
  @media only screen and (max-width : 486px) {
    .kon_btn{
      margin-bottom: 40px;
      margin-top: 40px;
      width: 260px;
      font-size: 180%;
    }
} 
}
