/* ML CHANGES  new */ 
:root {
    --primary-colour: #211b09;
    --secondary-colour: #9E5169;
    --tertiary-colour: #67551E;
	--tertiary-colour-light: #897129;
    --quaternary-colour: #2C4A31;
    --quaternary-colour-darker: #253E29;
    --bg-colour: #FDF3CB;

	--base-font: 'Cardo', sans-serif;
	--heading-font: 'Antic Didone', serif;
}
.single-content figure.wp-block-image {
	margin-bottom: 0 !important
}

.alignwide {
	margin-left: 15rem !important;
	margin-right: 15rem !important;
}

html {
	font-size: 18px;
	line-height: 36px;
	font-family: var(--base-font); 
}
body {
	line-height: 2rem;
}
a:where(:not(.wp-element-button)) {
	text-decoration: none!important;
}
@media only screen and (max-width: 1600px) {
	html {
		font-size: 16px;
	}
}

@media only screen and (max-width: 1440px) {
	html {
		font-size: 14px;
	}
}

@media only screen and (max-width: 1280px) {
	html {
		font-size: 16px;
	}
}


@keyframes blink {
	0% {
		transform: scale(initial);
	}

	50% {
		transform: scale(1);
	}

	100% {
		transform: scale(initial);
	}
}

@keyframes shrink-init {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(0.5);
	}
}

@keyframes shrink-end {
	0% {
		transform: scale(0.5);
	}

	100% {
		transform: scale(1);
	}
}


body {
	transition: .2s overflow;
	font-family: var(--base-font);
}

.scroll-stars figure img {
	transform: scale(0.5);
}

.scroll-stars figure:nth-of-type(2) img {
	transform: scale(1);
}

.scroll-stars figure:nth-of-type(2) img {
	animation: shrink-init 0.7s ease-in-out, blink 0.7s ease-in-out, shrink-end 0.7s ease-in-out;
	/* -webkit-animation:  shrink-init 0.7s ease-in-out, shrink-end 0.7s ease-in-out, shrink-init 0.7s ease-in-out, shrink-end 0.7s ease-in-out;	 */
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
	animation-delay: 1.5s, 3s, 4.5s;
}

.scroll-stars figure:last-of-type img {
	animation: blink 0.7s ease-in-out, blink 0.7s ease-in-out;
	/* -webkit-animation: blink 0.7s ease-in-out, blink 0.7s ease-in-out; */
	animation-delay: 2s, 3.5s;
}

.scroll-stars figure:first-of-type img {
	animation: blink 0.7s ease-in-out, blink 0.7s ease-in-out;
	/* -webkit-animation: blink 0.7s ease-in-out, blink 0.7s ease-in-out; */
	animation-delay: 2.5s, 4s;
}
body * {
	box-sizing: border-box;
}
body a {
	color: var(--tertiary-colour);
}
body h1, body h2, body h3, body h4, body h5, body h6 {
	font-family: 'Antic Didone', serif;
}
body h1 {
	font-size: 4.1rem;
	line-height: 1.3;
}
body h2 {
	font-size: 3.88rem;
	line-height: 1.28;
	margin: 2rem 0;
}
body h3 {
	font-size: 2.7rem;
	line-height: 1.28;
}
body h4 {
	font-size: 2rem;
	line-height: 1.1;
}
body h5 {
	font-size: 1.05rem;
	line-height: 1.1;
}
body h6 {
	font-size: 0.9rem;
	line-height: 1.1;
}
@media (max-width: 1023px) {
	body h1 {
		font-size: 35px;
		line-height: 42px;
	}
	body h2 {
		font-size: 35px;
		line-height: 42px;
		margin: 1rem 0;
	}
	body h3 {
		font-size: 25px;
		line-height: 27px;
	}
	body h4 {
		font-size: 22px;
		line-height: 24px;
	}
	body h5 {
		font-size: 20px;
		line-height: 22px;
	}
	body h6 {
		font-size: 18px;
		line-height: 20px;
	}
}

.main-cont-txt {
  overflow: hidden;
}
.main-cont-txt .table-wrapper {
	overflow: hidden;
    max-width: 100%;
    display: grid;
}
.main-cont-txt .wp-block-table {
  overflow-x: auto;
  padding: 10px 0;
}
.main-cont-txt .wp-block-table::-webkit-scrollbar {
  width: 3px;
  height: 5px;
}
.main-cont-txt .wp-block-table::-webkit-scrollbar-track {
  background: #D1C7AC;
}
.main-cont-txt .wp-block-table::-webkit-scrollbar-thumb {
  background: #987D2D;
}
.main-cont-txt .wp-block-table::-webkit-scrollbar-thumb:hover {
  background: #987D2D;
}
.main-cont-txt .wp-block-table thead {
	border-bottom: 1px solid;
}
.main-cont-txt table {
  border: 1px solid #D1C7AC;
  border-collapse: collapse;
  margin: 0 auto;
}
.wp-block-table .has-fixed-layout {
    table-layout: initial!important;
    width: 100%;
}
.main-cont-txt table thead th,
.main-cont-txt table tfoot th {
  background: #FFFCED;
}
.main-cont-txt table caption {
  padding: 0.5em;
}
.main-cont-txt table th,
.main-cont-txt table td {
  padding: 7px 10px;
  border: 1px solid #D1C7AC;
}
.wp-block-table .has-fixed-layout td, .wp-block-table .has-fixed-layout th {
    word-break: normal;
    min-width: 115px;
}
@media (max-width: 1023px) {
  .main-cont-txt img {
    max-width: 100%;
    height: auto;
  }
}
.main-btn {
	text-transform: uppercase;
	font-size: 1rem;
	line-height: 1.4rem;
	padding: 9.5px 35px;
	border: 1px solid var(--tertiary-colour-light);
	color: var(--tertiary-colour);
	margin-top: 1rem;
	display: inline-block;
	letter-spacing: 3.6px;
	font-weight: 600;
	text-decoration: none;
}
.wp-element-button {
	text-transform: uppercase;
	font-size: 1rem;
	line-height: 1.4rem;
	padding: 9.5px 35px;
	border: 1px solid var(--tertiary-colour);
	color: var(--tertiary-colour);
	margin-top: 1rem;
	display: inline-block;
	letter-spacing: 3.6px;
}
@media only screen and (min-width: 1024px) {
	.main-btn {
		background: linear-gradient(to left, transparent 50%, var(--tertiary-colour-light) 50%);
		background-size: 200% 100%;
		background-position: right bottom;
		transition: all 0.4s ease;
	}
	.wp-element-button {
		background: linear-gradient(to left, transparent 50%, var(--tertiary-colour-light) 50%)!important;
		background-size: 200% 100%!important;
		background-position: right bottom!important;
		transition: all 0.4s ease!important;
	}
	.main-btn:hover {
		color: white;
		background-position: left bottom;
	}
	.wp-element-button:hover {
		color: white;
		background-position: left bottom!important;
	}
}
@media (max-width: 1023px) {
	.main-btn {
		font-size: 16px;
		line-height: 20px;
		padding: 12px 30px;
		text-align: center;
		background: var(--tertiary-colour-light);
		color: white;
	}
	.wp-element-button {
		font-size: 16px;
		line-height: 20px;
		padding: 12px 30px;
		text-align: center;
	}
}
.page-template-landing-page .main-btn {
	border: 1px solid var(--quaternary-colour);
	color: var(--quaternary-colour);
}
@media only screen and (min-width: 1024px) {
	.page-template-landing-page .main-btn {
		background: linear-gradient(to left, transparent 50%, var(--quaternary-colour) 50%);
		background-size: 200% 100%;
		background-position: right bottom;
		transition: all 0.4s ease;
	}
	.page-template-landing-page .main-btn:hover {
		color: white;
		background-position: left bottom;
	}
}
.main-btn.secondary-btn {
	padding: 9.5px 35px;
}
@media (max-width: 1023px) {
	.main-btn.secondary-btn {
		font-size: 16px;
		line-height: 20px;
		padding: 12px 30px;
	}
}
.gallery-section {
	background-repeat: repeat-x !important;
}

.wp-block-cover.offers-carousel-content>div {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 20px;
}

.gallery-section .splide__slide img {
	max-width: 390px !important;
}

.gallery-section .kb-splide .splide__arrow.splide__arrow--next {
	background: url(/wp-content/uploads/2024/09/carousel-arrow-right.svg);
	background-repeat: no-repeat;
	width: 80px;
	height: 80px;
	margin-right: 10px;
}

.gallery-section .kb-splide .splide__arrow.splide__arrow--prev {
	background: url(/wp-content/uploads/2024/09/carousel-arrow-left.svg);
	background-repeat: no-repeat;
	width: 80px;
	height: 80px;
	margin-left: 10px;
}

.gallery-section .slick-next:before,
.gallery-section .slick-prev:before {
	content: none;
}

.gallery-section .kb-splide .splide__arrow svg {
	display: none;
}

.gallery-section .splide__track {
	margin: 0 8rem !important;
}
.gform-theme {
width: 100%;
    overflow: hidden;
    max-width: 1100px;
    padding: 0 3rem;
    text-align: center;
    margin: 0 auto 4rem!important;
}
.gform-theme fieldset {
	text-align: left!important;
}
p.gform_description, .gform-theme legend, .gform-theme label {
	font-family: var(--base-font);
}
.gform-theme legend, .gform-theme label {
	text-transform: uppercase;
}
.gform-theme .gform-footer input.gform_button {
	text-transform: uppercase!important;
    padding: 14px 30px!important;
	border-radius: 0 !important;
}
.gform-theme h2 {
	font-size: 2rem;
    margin: 1rem 0;
}
.gform-theme .gform_fields {
	gap: 20px!important;
}
.post-password-form {
    padding: 10rem 30px 83px;
    text-align: center;
    background-color: white;
    font-size: 23px;
    font-family: var(--heading-font);
	position: relative;
}
form.post-password-form:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6.6%;
    height: 100%;
    background-image: url(/wp-content/themes/netaffinity-theme/assets/images/primary-content-pattern.png);
    background-size: 100% auto;
    z-index: 0;
}
.post-password-form input[type="password"] {
    height: 34px;
    display: block;
    margin: 10px auto;
    min-width: 270px;
}
.post-password-form input[type="submit"] {
	text-transform: uppercase;
    font-size: 1rem;
    line-height: 1.4rem;
    padding: 9.5px 35px;
    border: 1px solid var(--tertiary-colour);
    color: var(--tertiary-colour);
    margin-top: 1rem;
    display: inline-block;
    letter-spacing: 3.6px;
    background: white;
    cursor: pointer;
}
@media only screen and (min-width: 1024px) {
	.post-password-form input[type="submit"]  {
		background: linear-gradient(to left, transparent 50%, var(--tertiary-colour) 50%);
		background-size: 200% 100%;
		background-position: right bottom;
		transition: all 0.4s ease;
	}
	.post-password-form input[type="submit"]:hover {
		color: white;
		background-position: left bottom;
	}
}
@media (max-width: 1023px) {
	.post-password-form input[type="submit"]  {
		font-size: 16px;
		line-height: 20px;
		padding: 12px 30px;
		text-align: center;
	}
}
.gform_button {
	background-color: var(--tertiary-colour)!important;
}
.language-btn .wpml-ls-legacy-dropdown-click {
	width: auto;
}
.language-btn .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
    content: "";
    vertical-align: middle;
    display: inline-block;
    position: absolute;
    right: 15px;
    top: calc(50% - 0.25em);
	border: none;
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    height: 6px;
    width: 6px;
    transform: rotate(45deg);
}
.header-main.onscroll .language-btn .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
	border-bottom: 1px solid var(--primary-colour);
    border-right: 1px solid var(--primary-colour);
}
.language-btn .wpml-ls-statics-shortcode_actions .wpml-ls-current-language > a {
    color: white;
    background-color: transparent;
    text-transform: uppercase;
	border: none;
}
.header-main.onscroll .language-btn .wpml-ls-statics-shortcode_actions .wpml-ls-current-language > a {
    color: #211b09;
    background-color: #ffffff;
}
.header-main .language-btn .wpml-ls-statics-shortcode_actions .wpml-ls-current-language:hover>a, .language-btn .wpml-ls-statics-shortcode_actions .wpml-ls-current-language>a:focus {
	background-color: transparent;
	color: white;
}
.header-main.onscroll .language-btn .wpml-ls-statics-shortcode_actions .wpml-ls-current-language:hover>a, .header-main.onscroll .language-btn .wpml-ls-statics-shortcode_actions .wpml-ls-current-language>a:focus {
	background-color: white;
}
.language-btn .wpml-ls-legacy-dropdown-click a span {
	text-transform: uppercase;
}
.language-btn .wpml-ls-statics-shortcode_actions {
	background-color: transparent;
}
.header-main.onscroll .language-btn .wpml-ls-statics-shortcode_actions .wpml-ls-current-language:hover>a, .header-main.onscroll  .language-btn .wpml-ls-statics-shortcode_actions .wpml-ls-current-language>a:focus {
    color: var(--primary-colour);
}
.language-btn .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
    padding: 12px 45px 12px 20px;
    font-size: 18px;
}
@media (max-width: 1023px) {
	.header-right .language-btn {
		padding: 0 10px;
	}
	.header-main.onscroll .language-btn .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
		top: 4px;
	}
	.language-btn .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
		font-size: 14px;
		padding: 10px 12px;
	}
	.wp-block-post-content img {
		max-width: 100%;
		height: auto;
	}
	.wp-block-post-content iframe {
		max-width: 100%;
	}
}