.checkbox-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    right: 3%;
}

.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.valid {
	border-color: #2ecc71;
}

#error1, 
#error2, 
#error3 {
	color: #e74c3c;
	font-size: 14px;
	margin: 5px 15px 25px 15px;
	display: none;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	width: 29vw;
}

#error1 {
	bottom: 15px;
    position: relative;
}

#error2 {
	right: 20px;
	bottom: 15px;
    position: relative;
}

#error3 {
	position: relative;
    bottom: 25px;
    color: #fff;
}

#checkForm1, 
#checkForm2, 
#checkForm3 {
	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 {
	background-color: #3498db;
	border-color: #3498db;
}

#checkForm1:checked::after, 
#checkForm2:checked::after, 
#checkForm3: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%);
}

.checkbox-label {
	color: #34495e;
	cursor: pointer;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	font-size: calc(.81rem + .1 * (100vw - 320px) / 880);
	line-height: 1.4;
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}

.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[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 only screen and (min-width: 768px) and (max-width: 1239px) {
    .check-page_container {
		width: auto;
	}
	
	.l-main--advice {
		height: 620px;
	}
	
	.b-form--advice {
        width: 100%;
    }
	
	.b-form, .b-form--advice, .form__col-btn {
		width: 100%;
	}
	
	.btn-form__footer {
		margin: 80px 0;
		top: 340px;
		width: 100%;
	}
	
	#checkboxContainer3 {
		margin: 0 auto;
		right: 0;
		flex-direction: column;
	}
	
	.mb-check {
		width: 40vw;
	}
	
	#error3 {
		padding: 25px 0;
		width: auto;
		bottom: 15px;
	}
	
	.b-form--measurement, .form__col-agree {
		width: 100% !important;
	}
}

@media (max-width: 767px) {
	.check-page_container {
		flex-direction: column;
	}
	
	.checkbox-container, #error {
	   width: auto;
	   right: 2%;
	}

	.mb-check {
		text-align: left;
        width: 87vw;
	}
	
	input[type="checkbox"]:checked + label, input[type="checkbox"]:not(:checked) + label, input[type="radio"]:checked + label, input[type="radio"]:not(:checked) + label {
	  padding-left: 35px;
	  font-size: calc(.81rem + .1 * (100vw - 320px) / 880);
	}
	
	.mobile__btns {
	  width: 100%!important;
	}
	
	#error1 {
	    width: auto;
        position: relative;
        bottom: 15px;
	}
	
	#error2 {
       width: auto;
       position: relative;
       bottom: 15px;
       color: white;
       right: 0;
	}
	
	.error3 {
	   width: auto!important;
	   bottom: 5px !important;
	   padding-top:20px;
	   right: 23%;
	}
	
	.btn-form__footer {
		position: relative;
		top: -45px;
	}

}

