.t-input {
	padding: 8px;
    height: auto;
	outline: none;
}

.checkbox-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 15px 0 0 10px;
    border-radius: 8px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    right: 3%;
}

.form-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 15px 0 0 10px;
    border-radius: 8px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    bottom: 25px;
    width: 45vw;
    right: 15%;
}

#checkboxContainer6 {
	width: 30vw;
    right: 13%;
}

.checkbox-container.error {
	-webkit-animation: shake 0.5s ease-in-out;
	        animation: shake 0.5s ease-in-out;
}

.checkbox-container.error2 {
	-webkit-animation: shake 0.5s ease-in-out;
	        animation: shake 0.5s ease-in-out;
}

.checkbox-container.error3 {
	-webkit-animation: shake 0.5s ease-in-out;
	        animation: shake 0.5s ease-in-out;
}

.checkbox-container.error4 {
	-webkit-animation: shake 0.5s ease-in-out;
	        animation: shake 0.5s ease-in-out;
}

.checkbox-container.error5 {
	-webkit-animation: shake 0.5s ease-in-out;
	        animation: shake 0.5s ease-in-out;
}

.checkbox-container.error6 {
	-webkit-animation: shake 0.5s ease-in-out;
	        animation: shake 0.5s ease-in-out;
}

.checkbox-container.valid {
	border-color: #2ecc71;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
  -webkit-text-fill-color: inherit;
  -webkit-box-shadow: 0 0 0px 1000px inherit inset;
  transition: background-color 5000s ease-in-out 0s;
}

#error1, 
#error2, 
#error3,
#error4,
#error5,
#error6 {
	color: #e74c3c;
	font-size: 1rem;
	margin: 5px 15px 25px 0;
	display: none;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

#error1, 
#error2,
#error3,
#error4,
#error6 {
    position: relative;
    top: 10px;
	font-family: 'Gilroy', Arial, sans-serif;
}

#error5 {
    position: relative;
    top: -12px;
    right: 45px;
	font-family: 'Gilroy', Arial, sans-serif;	
}

#error6 {
    position: relative;
    top: -18px;
    right: 40px;
	font-family: 'Gilroy', Arial, sans-serif;	
}

#checkForm1, 
#checkForm2, 
#checkForm3,
#checkForm4,
#checkForm5,
#checkForm6 {
	margin-right: 12px;
	width: 20px;
	height: 20px;
	cursor: pointer;
	-moz-appearance: none;
	     appearance: none;
	-webkit-appearance: none;
	border: 2px solid #bdc3c7;
	border-radius: 4px;
	outline: none;
	-webkit-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	position: relative;
}



#checkForm1:checked, 
#checkForm2:checked, 
#checkForm3:checked,
#checkForm4:checked,
#checkForm5:checked,
#checkForm6:checked  {
	background-color: rgb(251, 44, 7);
	border-color: rgb(251, 44, 7);
	border-radius: 50%;
}

#checkForm1:checked::after, 
#checkForm2:checked::after, 
#checkForm3:checked::after,
#checkForm4:checked::after,
#checkForm5:checked::after,
#checkForm6:checked::after {
	content: "✔";
	position: absolute;
	color: white;
	font-size: 14px;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	    -ms-transform: translate(-50%, -50%);
	        transform: translate(-50%, -50%);
}

#phoneFooter {
	width: 21vw;
}

.checkbox-label {
	color: #34495e;
	cursor: pointer;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	font-size: calc(.7rem + .1 * (100vw - 320px) / 880);
	line-height: 1.4;
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
	font-family: 'Gilroy', Arial, sans-serif;
}

.checkbox-label a {
	color: #3498db;
	text-decoration: underline;
	font-weight: 500;
}

.checkbox-label a:hover {
	text-decoration: underline;
}

.form__checkbox-label span {
	color: #000;
}

.form__checkbox-label a:hover {
	text-decoration: none;
}

.btn-form__footer {
	position: absolute;
	top: 360px;
}

button:hover {
	cursor: pointer;
}

button[type="submit"]:hover {
	background-color: #2980b9;
	-webkit-transform: translateY(-2px);
	    -ms-transform: translateY(-2px);
	        transform: translateY(-2px);
	-webkit-box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
	        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
}

button[type="submit"]:active {
	-webkit-transform: translateY(0);
	    -ms-transform: translateY(0);
	        transform: translateY(0);
}

.checkbox-container:hover {
	border-color: #3498db;
}

.check-page_container {
	width: 40vw;
    right: 2.4%;
}

.md-container {
	margin: 0 auto;
}

@-webkit-keyframes shake {
	0%, 100% { -webkit-transform: translateX(0); transform: translateX(0); }
	20%, 60% { -webkit-transform: translateX(-5px); transform: translateX(-5px); }
	40%, 80% { -webkit-transform: translateX(5px); transform: translateX(5px); }
}

@keyframes shake {
	0%, 100% { -webkit-transform: translateX(0); transform: translateX(0); }
	20%, 60% { -webkit-transform: translateX(-5px); transform: translateX(-5px); }
	40%, 80% { -webkit-transform: translateX(5px); transform: translateX(5px); }
}


@media screen and (width <= 1308px) {
	#checkboxContainer6 {
		width: 22vw;
	}	
}


@media screen and (width <= 1080px) {
    .modal-content {
		max-width: 380px;
	}
	
	.modal-title p {
		font-size: clamp(1.7rem, 2rem, .8rem);
	}
	
	.modal-title span {
		font-size: clamp(1.2rem, 2rem, .9rem);
	}
	
	.modal-input input {
		max-width: 280px;
	}
	
	.btn-submit {
		max-width: 285px;
	}
	
	#checkboxContainer3 {
		margin: 0 auto;
		right: 0;
		flex-direction: column;
	}
	
	#checkboxContainer6 {
		width: auto;
	}
	
	#error1,
    #error2,
    #error3,
    #error4	{
		padding: 0;
		width: auto;
		bottom: 15px;
		font-size: .8rem;
	}
	
	#error6 {
		font-size: .8rem;
        right: 17px;
	}
	
	input[type="checkbox"]:checked + label, input[type="checkbox"]:not(:checked) + label, input[type="radio"]:checked + label, input[type="radio"]:not(:checked) + label {
	  padding-left: 0;
	  font-size: calc(.81rem + .1 * (100vw - 320px) / 880);
	}
	
	#error2 {
        width: auto;
        position: relative;
        bottom: 15px;
        color: red;
        font-size: .8rem;
        right: 0;
	}	
	
}

@media screen and (width <= 480px) {
    #checkboxContainer6 {
		width: auto;
	}
	
	.modal-content {
		max-width: 220px;
	}
	
	.modal-box {
		width: 83%;
		padding: 15px 10px 15px 15px;
	}
	
	.modal-title p {
		font-size: clamp(1.4rem, 2rem, .8rem);
	}
	
	.modal-title span {
		font-size: clamp(1rem, 2rem, .9rem);
	}
	
	.modal-input input {
		max-width: 220px;
	}
	
	.btn-submit {
		max-width: 220px;
	}	
	
	input[type="checkbox"]:checked + label, input[type="checkbox"]:not(:checked) + label, input[type="radio"]:checked + label, input[type="radio"]:not(:checked) + label {
	  padding-left: 0;
	  font-size: calc(.7rem + .1 * (100vw - 320px) / 880);
	}	
	
	#error1,
    #error2,
    #error3,
    #error4	{
	    width: 100%;
		font-size: .61rem;
	}

	#error6 {
		font-size: .8rem;
        right: 17px;
	}	
	
	.mb-input {
		height: 56px;
	}
	
}

@media screen and (width <= 390px) {
	.checkbox-container {
		right: 5%;
	}	
	
    .modal-content {
		max-width: 280px;
	}
	
	.modal-title p {
		font-size: clamp(1rem, 2rem, .8rem);
	}
	
	.modal-title span {
		font-size: clamp(.89rem, 2rem, .87rem);
		padding-top: 7px;
	}
	
	.modal-input input {
		max-width: 200px;
		height: 40px;
	}
	
	.btn-submit,
    .btn-price,
    .btn-call	{
		max-width: 190px;
		height: 55px;
		font-size: 16px;
	}

    .btn-call {
		max-width: 200px;
	}	
	
	.btn-submit:after {
		width: 50px;
        height: 45px;
		bottom: 6px;
	}
	
	input[type="checkbox"]:checked + label, input[type="checkbox"]:not(:checked) + label, input[type="radio"]:checked + label, input[type="radio"]:not(:checked) + label {
	  padding-left: 0;
	  font-size: calc(.73rem + .1 * (100vw - 320px) / 880);
	}

    .modal-box {
		padding: 15px 10px 15px 15px;
	}	
	
	#error1 {
	    width: 100%;
		font-size: .61rem;
	}	
	
	#checkboxContainer3 {
		margin: 0;
        right: 5% !important;
        flex-direction: unset;
	}
	
    #checkboxContainer6 {
		width: auto;
	}	
	
	.btn-price:after {
		width: 95px;
		height: 75px;
		right: -35px;
	}
	
	.mb-input {
		height: 56px;
	}
	
	.rait {
		bottom: 5px!important;
	}
	
}
