/* BASE STYLES */
html,
body {
	scroll-behavior: smooth;
}

/* MODAL STYLES */
.modal {
	max-width: 800px;
	max-height: 90%;
	overflow-y: scroll;
}

.modal a.close-modal {
	top: 6px;
	right: 10px;
}

.blocker {
	z-index: 10000;
}

/* FOOTER STYLES */
footer.footer {
	width: 100%;
	display: block;
	padding: 20px;
	color: white;
	text-align: center;
	background-color: black;
	font-family: inherit;
}

footer.footer p {
	color: white;
	font-size: 16px;
	padding-bottom: 0;
}

footer.footer button,
footer.footer a {
	display: inline-block;
	padding: 6px;
	font-size: 14px;
	outline: none;
	border: none;
	color: white !important;
	text-decoration: underline;
	background-color: transparent;
	transition: 0.2s all;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
}

footer.footer a:hover,
footer.footer button:hover {
	opacity: 0.5;
	text-decoration: underline;
}

/* CONTACT US MODAL STYLES */
.captcha-error {
	display: none;
	color: red;
	font-size: 12px;
}

.submit-success {
	display: none;
	color: green;
	font-size: 12px;
}

#contact-form textarea,
#contact-form input {
	display: block;
	margin-bottom: 15px;
	padding: 10px 15px;
	background-color: #fff;
	width: 400px;
	max-width: 100%;
	border: 1px solid #9b9b9b;
	border-radius: 4px;
	font-family: inherit;
	outline: none;
	resize: none;
}

#contact-form button {
	width: 400px;
	max-width: 100%;
	margin-top: 15px;
	padding: 20px 15px;
	border: 1px solid #b9b9b9;
	background-color: #b9b9b9;
	border-radius: 4px;
	font-family: inherit;
	transition: 0.2s all;
}

#contact-form button:hover {
	background-color: #8a8a8a;
}

@media (max-width: 430px) {
	.g-recaptcha {
		transform: scale(0.75);
		-webkit-transform: scale(0.75);
		transform-origin: 0 0;
		-webkit-transform-origin: 0 0;
	}
}

/* ticker */

.ticker {
	position: relative;
	height: 40px;
	padding: 10px 0;
	background-color: red;
	overflow-x: hidden;
}

.ticker__text {
	position: absolute;
	top: 8px;
	right: -560px;
	width: 560px;
	display: inline-block;
	font-size: 18px;
	font-weight: bold;
	color: white;
	white-space: nowrap;
	animation: ticker linear 20s infinite;
}

@keyframes ticker {
	0% {
		right: -560px;
	}
	100% {
		right: 100%;
	}
}

@media (max-width: 768px) {
	.ticker__text {
		animation: ticker linear 15s infinite;
	}
}
