/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root {
	--hover-color: #4338ca;
	--focus-color: #3730a3;
	--error-color: #dc2626;
	--success-color: #16a34a;
	--placeholder-color: #9ca3af;
}

.input-container {
	width: 100%;
	max-width: 600px;
	position: relative;
	margin: 8px 0;
}

.input-label {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	font-weight: 500;
	color: #fff;
	font-size: clamp(14px, 2vw, 16px);
	font-family: Montserrat;
	padding: 5px 0;
}

.input-field {
	width: 100%;
	padding: 12px 16px;
	font-size: clamp(14px, 2vw, 16px);
	border: none;
	border-radius: 4px;
	background-color: white;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	outline: none;
}

.input-field::-webkit-input-placeholder {
	color: var(--placeholder-color);
	font-size: clamp(13px, 2vw, 15px);
}

.input-field::-moz-placeholder {
	color: var(--placeholder-color);
	font-size: clamp(13px, 2vw, 15px);
}

.input-field:-ms-input-placeholder {
	color: var(--placeholder-color);
	font-size: clamp(13px, 2vw, 15px);
}

.input-field::-ms-input-placeholder {
	color: var(--placeholder-color);
	font-size: clamp(13px, 2vw, 15px);
}

.input-field::placeholder {
	color: var(--placeholder-color);
	font-size: clamp(13px, 2vw, 15px);
}

.input-field:hover {
	border-color: var(--hover-color);
}

.input-message {
	margin-top: 8px;
	font-size: clamp(12px, 2vw, 14px);
	display: none;
}

.input-error {
	color: var(--error-color);
	display: block;
}

.input-success {
	color: var(--success-color);
	display: block;
}

.input-icon {
	position: absolute;
	right: 16px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
	color: var(--placeholder-color);
	pointer-events: none;
}

::-webkit-input-placeholder {
   font-family: Montserrat;
}

::-moz-placeholder {
   font-family: Montserrat;
}

:-ms-input-placeholder {
   font-family: Montserrat;
}

::-ms-input-placeholder {
   font-family: Montserrat;
}

::placeholder {
   font-family: Montserrat;
}

@media (max-width: 480px) {
	.input-field {
		padding: 8px 12px;
	}
}

.checkbox-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 8px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    width: 30vw;
    margin: 10px auto 0;
}

.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;
}

#checkboxContainer1 {
	width: 100%;
}

#checkboxContainer2 {
	padding: 20px 0 10px 0;
    text-align: center;
}

#checkboxContainer3 {
	margin: 20px auto 0 auto;
	text-align: center;
}

#checkboxContainer2 label {
	color: #000;
}

#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 {
	top: 25px;
    position: relative;
	color: #fff;
}

#error2 {
	top: 10px;
    position: relative;
    text-align: center;
	width: auto;
}

#error3 {
	position: relative;
    right: 15px;
    color: #fff;
    text-align: center;
    width: auto;
    top: 10px;
}

#checkForm2 {
	margin-right: 0;
}

#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: #fff;
	cursor: pointer;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	font-size: .8rem;
	line-height: 1.4;
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
	margin-right: 10px;
	text-align: center;
}

.checkbox-label a {
	color: #b3c6d2;
	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: 57vh;
}

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;
}

.mobile__btn {
	position: relative;
    bottom: 5px;
    width: 40vw;
}

@-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 style */
@media (max-width: 1370px) {
	.b-form .form__col-btn {
		width: auto;
	}
}

@media (max-width: 1024px) {
	.b-form .form__col-btn {
		width: auto;
		margin: 0 auto;
	}
	
	.checkbox-container {
		width: 40vw;
	}
	
	.checkbox-label {
		font-size: calc(.81rem + .1 * (100vw - 320px) / 880);
	}
	
	#checkForm1 {
		margin-right: 5px;
	}
	
	#checkForm2 {
		position: relative;
        left: 0;
	}
	
	#checkboxContainer2 {
		padding: 20px;
	}
}

@media (max-width: 767px) {
	.input-field {
		padding: 10px 14px;
	}	
	
	.checkbox-container, #error {
	   width: auto !important;
	   right: 2%;
	}
	
	#checkboxContainer3 {
		right: 0;
		margin: 0;
		/* left: 15px; */
	}
	
	.checkbox-label {
		font-size: calc(.8rem + .1 * (100vw - 320px) / 880);
	}
	
	#checkForm1 {
		margin-right: 0;
		margin-left: 12px;
	}
	
	#checkForm2 {
        position: relative;
        left: 20px;
    }
	
	#checkForm3 {
		left: 30px;
		margin-right: 9px;
	}
	
	.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: 0;
	}
	
	.mobile__btns {
	  width: 100%!important;
	}
	
	#error1 {
	    width: auto;
        position: relative;
        bottom: 15px;
		top: 15px;
	}
	
	#error2 {
       width: auto;
       position: relative;
       bottom: 15px;
       color: white;
       right: 0;
	}
	
	#error3 {
		right: 0;
	}
	
	.error3 {
	   width: auto!important;
	   bottom: 5px !important;
	}
	
	.btn-form__footer {
		position: relative;
		top: 0;
	}
	
	.modal__title {
		font-size: calc(1.4rem + .1 * (100vw - 320px) / 880);
	}
	
	.modal__form-input {
        width: 75vw !important;
        padding: 15px !important;
    }

}

@media (max-width: 670px) {
    .modal__title {
		font-size: 1.4rem;
	}	
}
