﻿
.checkboxform {
  margin: auto;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}
.checkboxform span {
  display: inline-block;
  vertical-align: middle;
  transform: translate3d(0, 0, 0);
}
.checkboxform span:first-child {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  transform: scale(1);
  vertical-align: middle;
  border: 1px solid #9098A9;
  transition: all 0.2s ease;
}
.checkboxform span:first-child svg {
  position: absolute;
  top: 3px;
  left: 2px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: 16px;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  transform: translate3d(0, 0, 0);
}
.checkboxform span:first-child:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #506EEC;
  display: block;
  transform: scale(0);
  opacity: 1;
  border-radius: 50%;
}
.checkboxform span:last-child {
  padding-left: 8px;
}
.checkboxform:hover span:first-child {
  border-color: #506EEC;
}

.inp-checkboxform:checked + .checkboxform span:first-child {
  background: #506EEC;
  border-color: #506EEC;
  animation: wave 0.4s ease;
}
.inp-checkboxform:checked + .checkboxform span:first-child svg {
  stroke-dashoffset: 0;
}
.inp-checkboxform:checked + .checkboxform span:first-child:before {
  transform: scale(3.5);
  opacity: 0;
  transition: all 0.6s ease;
}

@keyframes wave {
  50% {
    transform: scale(0.9);
  }
}




/**
* @section gray-form
*/
.gray-form-wrapper{
    margin-top: 30px;
    background-color: #e7e7e7;
    padding-top: 33px;
    padding-left: 35px;
    border: 2px solid #c7c4c4;
    border-radius: 5px;	
}
.gray-form-wrapper .section-title, .gray-form-wrapper .subtitle{
    text-align: left;
}
.gray-form-wrapper .subtitle{
    margin-bottom: 0;
    font-size: 15px;
}
.gray-form{
	margin-top: 15px;
	background-color: #e7e7e7;
	padding: 30px 42px 50px 0;
}
.gray-form__row{
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 15px;
}
.gray-form__row_first{
    align-items: flex-start;
    margin-top: 0;
}
.gray-form__label{
	text-align: right;
	flex-shrink: 0;
	width: 143px;
	color: #4a5156;
	font-weight: 500;
}
.gray-form__inputs{
	width: calc(100% - 163px);
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.gray-form__inputs select{
	width: 45%;
	margin-right: 20px;
	background-color: #ffffff;
}
.gray-form__inputs textarea{
	width: 100%;
	height: 65px;
}
.gray-form__inputs input[type="text"]{
	width: 100%;
}
.gray-form__inputs input[type="email"]{
	width: 100%;
}
.gray-form__row_last input[type="text"]{
	width: calc(33.3% - 13px);
	margin-right: 13px;
}
.gray-form__row_last input[type="submit"]{
	width: 33.3%;
}
.gray-form__checkbox{
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	align-items: center;
	padding-right: 10px;
	margin-bottom: 12px;
	min-width: 50%;
}
.gray-form__checkbox label {
  display: inline; }
.custom-checkbox {
  display: none; }

.custom-checkbox + label {
  background-color: #ffffff;
  border: 1px solid #cfcfcf;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  display: block;
  position: relative;
  -webkit-box-shadow: inset 0 4px 0 0 #f0f0f0;
  -moz-box-shadow: inset 0 4px 0 0 #f0f0f0;
  box-shadow: inset 0 4px 0 0 #f0f0f0;
  flex-shrink: 0;
  width: 19px;
  height: 19px; 
  cursor: pointer;
  }

.custom-checkbox:disabled + label {
  opacity: 0.3; }

.custom-checkbox:checked + label:after {
  content: '';
  top: 2px;
  left: 2px;
  position: absolute;
  display: block;
  width: 13px;
  height: 13px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  background-color: #f94d4d; 
}

.gray-form__checkbox-label{
	color: #8492af;
	margin-left: 25px;
    white-space: nowrap;	
}

.red-button, input[type="submit"]{
  font-family: "Fira Sans", sans-serif;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  padding: 9px 30px 7px 30px;
  border: none;
  border-bottom: 4px solid #b43128;
  -moz-transition: all 0.6s;
  -o-transition: all 0.6s;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  letter-spacing: 0.5px;
  text-align: center;
  background: #fe2a1b;
  background: -moz-linear-gradient(top, #fe2a1b 0%, #d33a2f 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fe2a1b), color-stop(100%, #d33a2f));
  background: -webkit-linear-gradient(top, #fe2a1b 0%, #d33a2f 100%);
  background: -o-linear-gradient(top, #fe2a1b 0%, #d33a2f 100%);
  background: -ms-linear-gradient(top, #fe2a1b 0%, #d33a2f 100%);
  background: linear-gradient(to bottom, #fe2a1b 0%, #d33a2f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fe2a1b', endColorstr='#d33a2f', GradientType=0 ); 
}

.red-button:hover, input[type="submit"]:hover{
  cursor: pointer;
  background: #d33a2f;
  background: -moz-linear-gradient(top, #d33a2f 0%, #fe2a1b 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d33a2f), color-stop(100%, #fe2a1b));
  background: -webkit-linear-gradient(top, #d33a2f 0%, #fe2a1b 100%);
  background: -o-linear-gradient(top, #d33a2f 0%, #fe2a1b 100%);
  background: -ms-linear-gradient(top, #d33a2f 0%, #fe2a1b 100%);
  background: linear-gradient(to bottom, #d33a2f 0%, #fe2a1b 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d33a2f', endColorstr='#fe2a1b', GradientType=0 ); 
}


.ink {
  display: block;
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 100%;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0); }

.animate {
  -webkit-animation: ripple 0.65s linear;
  -moz-animation: ripple 0.65s linear;
  -ms-animation: ripple 0.65s linear;
  -o-animation: ripple 0.65s linear;
  animation: ripple 0.65s linear; }

@-webkit-keyframes ripple {
  100% {
    opacity: 0;
    -webkit-transform: scale(2.5); } }
@-moz-keyframes ripple {
  100% {
    opacity: 0;
    -moz-transform: scale(2.5); } }
@-o-keyframes ripple {
  100% {
    opacity: 0;
    -o-transform: scale(2.5); } }
@keyframes ripple {
  100% {
    opacity: 0;
    transform: scale(2.5); } }
.gray-form__inputs input[type="text"], 
.gray-form__inputs textarea,
.gray-form__inputs input[type="email"], 
.gray-form__inputs input[type="password"],
.gray-form__inputs input[type="search"] {
  font-family: "Fira Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #656565;
  background-color: #ffffff;
  border: 1px solid #cfcfcf;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  padding: 9px 15px;
  -webkit-box-shadow: inset 0 4px 0 0 #f0f0f0;
  -moz-box-shadow: inset 0 4px 0 0 #f0f0f0;
  box-shadow: inset 0 4px 0 0 #f0f0f0; 
  }


 @media all and (max-width: 640px) {
  .video-grid__item {
    width: calc(50% - 30px);
  }
  .order-form form input[type="text"],
  .order-form form input[type="submit"]{
	width: 100%;
  }
  .section-bottom-form .section-inner form input[type="text"] {
    width: 100%;
    margin: 0 0 10px 0; }

  .section-bottom-form .section-inner form textarea {
    width: 100%; }

  .section-bottom-form .section-inner form .NFI-wrapper {
    position: relative;
    width: 100%;
    bottom: auto;
    left: auto; }

  .section-bottom-form .section-inner form input[type="submit"] {
    margin-top: 0; }
	.gray-form__row{
		flex-wrap: wrap;
	}
	.gray-form__label{
		text-align: left;
		width: 100%;
		margin-bottom: 12px;
	}
	.gray-form__inputs{
		width: 100%;
	}
	.gray-form__checkbox{
		padding-right: 0;
		min-width: 100%;
	}
	.gray-form__row_last .gray-form__inputs{
		justify-content: center;
	}
	.gray-form__row_last input[type="submit"] {
		width: auto;
	}
} 


@media all and (max-width: 767px) {

  .gray-form__row_last input[type="text"]{
	width: 100%;
    margin-right: 0;
    margin-bottom: 12px;
  }
 
}
