/*
Theme Name: Rubiix
Description: website theme for Rubiix, based on Neve theme
Author: Ascona
Author URI: https://www.ascona.co.nz/
Template: neve
Version: 100.0.0
*/

body, body.custom-background {}

strong{ font-weight: 800; }

a {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.nv-comment-content a, .nv-content-wrap a:not(.button):not(.wp-block-file__button) {
    text-decoration: none;
}
a:focus, a:hover {
    text-decoration: none;
    color: #30cce3;
}

h1, h2, h3, h4, h5, h6 {
	color: #b3d135;
	margin-bottom: 0.75em;
}
h1:first-child:not(.entry-title), h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
    margin-top: -0.25em;
}
h1:last-child:not(.entry-title), h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child {
    margin-bottom: 0;
}

p:last-child { margin-bottom: 0; }

i { font-size: 0.9em; margin-right: 0.5em; }
a i { margin-right: 0; }

.larger { font-size: 125%; }
.large { font-size: 150%; }

.has-medium-font-size { font-size: 1.15em; line-height: 1.2em; }
.has-large-font-size { font-size: 1.25em; line-height: 1.2em; }
.has-huge-font-size { font-size: 1.45em; line-height: 1.2em; }

.button, .wp-block-button .wp-block-button__link, .wp-block-button.is-style-secondary .wp-block-button__link {
    line-height: 1.4em;
    font-size: 1em;
}

.opacity-70 { opacity: 0.7; }
.wp-block-media-text.opacity-70 { opacity: 1; }
.wp-block-media-text.opacity-70 .wp-block-media-text__media { opacity: 0.7; }


.nv-single-page-wrap { margin-bottom: 0; }
h1 + .wp-block-spacer, h2 + .wp-block-spacer, h3 + .wp-block-spacer, h4 + .wp-block-spacer, h5 + .wp-block-spacer, h6 + .wp-block-spacer, 
p + .wp-block-spacer, ul + .wp-block-spacer, ol + .wp-block-spacer { margin-top: -0.75em; }

.widget_media_image img { width: auto; }

.wp-block-columns { justify-content: center; }

blockquote { font-size: 1.2em; line-height: 1.35; font-style: italic; }
blockquote:after, blockquote:before { background-color: #b3d135; }
blockquote cite { font-size: .75em; font-style: normal; }

/*
.wrapper {
    max-width: 1440px;
    margin: 0 auto;
}*/
.container { padding-left: 25px; padding-right: 25px; }
.alignfull { padding: 0 25px; }
.wp-block-media-text.is-image-fill .wp-block-media-text__media { margin-left: -25px; margin-right: -25px; }
.wp-block-cover-image .wp-block-cover__inner-container, .wp-block-cover .wp-block-cover__inner-container { color: inherit; }

.nv-html-content { font-weight: 800; }

/* FORMS */
form { width: 600px; max-width: 100%; }
input[type=color], input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], textarea {
    border: 3px solid #ebe9e7;
    border-radius: 0;
	margin: 0.25em 0;
	color: #443320;
	font-family: Blinker;
    font-size: 0.9em;
}
input[type=color]:focus, input[type=date]:focus, input[type=datetime-local]:focus, input[type=datetime]:focus, input[type=email]:focus, input[type=month]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=time]:focus, input[type=url]:focus, input[type=week]:focus, textarea:focus {
    border: 3px solid #fff;
    border-radius: 0;
	outline: none;
}
.input-text:placeholder, 
input[type=text]:placeholder, 
input[type=email]:placeholder, 
input[type=url]:placeholder, 
input[type=password]:placeholder, 
input[type=search]:placeholder, 
input[type=tel]:placeholder, 
body textarea:placeholder, 
body select {
    color: #443320 !important;
	opacity: 1;
	font-weight: 800;
}
[placeholder]::-webkit-input-placeholder{ color: #443320 !important; opacity: 1; font-weight: 800;}
.btn:hover, .button.button-primary:hover, button:hover, input:hover[type=button], input:hover[type=submit] {
    text-decoration: none;
    background-color: #30cce3;
    color: #ffffff;
    opacity: 1 !important;
}
input[type=button], input[type=submit] {
    font-size: .85em;
    letter-spacing: 1px;
	padding: 12px 20px;
}
body .nf-field-element input, body .nf-field-element select, body .nf-field-element textarea {
	margin: 0.25em 0 !important;
}
body .nf-form-title h3 { font-size: 1.25em; }
input:hover[type=button], input:hover[type=submit] {
    opacity: .75;
}
body .nf-error.listimage-wrap .nf-field-element ul, body .nf-error .ninja-forms-field {
    border: 3px solid #f82929;
}
body .nf-error-msg, body .ninja-forms-req-symbol {
    color: #f82929;
}
body .nf-fu-progress {
    height: 10px;
    margin-bottom: 10px;
	background-color: #3a2d1f;
}
#ninja_forms_required_items, .nf-field-container { margin: 0.25em 0 !important; }
body .nf-form-fields-required { margin-bottom: 0.75em; }


/* HEADER */
.hfg_header.site-header { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
.builder-item { margin-top: 0; }

.header--row .header--row-inner, .header--row .header--row-inner .container .row { align-items: center !important; }
.hfg_header .header-menu-sidebar .header-menu-sidebar-bg { background-color: #443320; }

.builder-item--logo .site-logo img { width: 100%; }

.caret { margin-left: 0; }
.caret svg {
    width: 0.75em!important;
    height: 0.75em!important;
}
.hfg_header .header-top-inner .nav-ul .sub-menu {
    background-color: #443320;
	padding: 15px 0;
}
.hfg_header .header-top-inner .nav-ul .sub-menu li {
    background-color: transparent;
}
.builder-item--primary-menu .nav-menu-primary .sub-menu li:hover > a,
.builder-item--primary-menu .nav-menu-primary .sub-menu li.current-menu-item > a, 
.builder-item--primary-menu .nav-menu-primary .sub-menu li.current_page_item > a, 
.builder-item--primary-menu .nav-menu-primary .sub-menu li.current_page_item > .has-caret > a { color: #b3d135 !important; }

.header-menu-sidebar-inner .nav-ul {
    padding-left: 0;
    font-size: 1.25em;
}
.header-menu-sidebar-inner .nav-ul li { padding: 10px 0; }
.nav-ul .sub-menu li .has-caret, .nav-ul .sub-menu li>a {
	text-transform: none;
	font-size: 0.9em;
	letter-spacing: 0.025em;
}
.header-menu-sidebar .header-menu-sidebar-bg, .header-menu-sidebar .header-menu-sidebar-bg a:not(.button), .header-menu-sidebar .header-menu-sidebar-bg .navbar-toggle {
    color: #fff;
}
.builder-item--nav-icon .navbar-toggle .icon-bar, .header-menu-sidebar .close-sidebar-panel .navbar-toggle .icon-bar {
    background-color: #b3d135;
}
.header-menu-sidebar .header-menu-sidebar-bg .icon-bar { background-color: #ffffff; }

.nav-toggle-label { font-size: 21px; }
.icon-bar { height: 3px; }

.nv-html-content .line1, .nv-html-content .line3 { color: #b3d135; }
.nv-html-content .line2 { font-weight: 900; }
.nv-html-content .line3 { font-size: 1.0625rem; }
	
/**/
/*
.page .nv-page-title-wrap {
	margin: 0;
	background-color: #373534;
	position: relative;
}
.nv-page-title-wrap:before, .nv-page-title-wrap:after {
	background-color: #373534;
    content: " ";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    right: -100%;
	top: 0;
}
.nv-page-title-wrap:before {
    right: auto;
    left: -100%;
}
.nv-page-title-wrap.nv-big-title .nv-page-title {
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: none;
    margin-bottom: 0;
}
.nv-page-title-wrap.nv-big-title .nv-page-title h1 { 
	line-height: 1.15em; 
	text-align: center; 
	font-size: 24px; 
    letter-spacing: 0.025em;
}
*/

/**/
.img-width-80 { width: 80%; }

.page .nv-page-title-wrap { 
	margin-top: 0; 
	background: #f1f1f0; 
	margin-bottom: 3rem; 
}
.nv-page-title-wrap.nv-big-title .nv-page-title {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}
.nv-page-title-wrap.nv-big-title .nv-page-title h1 {
	font-size: 1.875rem;
    text-align: center;
    padding: 0.75rem;
    text-transform: lowercase;
    color: #c3c0bb;
    letter-spacing: 0.0125em;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { padding-left: 0; }

/* ABACUS */
.wp-block-kadence-tabs.abacus .kt-tabs-title-list li { margin-right: 0; position:relative; }
.wp-block-kadence-tabs.abacus .kt-tabs-title-list li a.kt-tab-title { 
    border-bottom: 7px solid #4b3905;
    border-left: none;
    border-right: none;
    border-top: none;
    border-radius: 0;
	padding: 30px 10px 15px 10px;
    font-weight: 800;
    color: #4b3905;
	text-align: center;
    line-height: 1.2;
}
.wp-block-kadence-tabs.abacus .kt-tabs-title-list li:after { 
	content: " ";
	width: 32px;
	height: 31px;
	position: absolute;
	bottom: -12px;
	left: calc(50% - 16px);
	background-color: #fbd814;
	background: linear-gradient(90deg, #f9d614 0%, #ffe44f 44%, #ffe44f 56%, #f9d614 100%);
	border-radius: 14px;
}
.wp-block-kadence-tabs.abacus .kt-tabs-wrap .wp-block-kadence-tab {
    border: none;
    padding: 20px 0;
}


.wp-block-kadence-tabs.abacus .wp-block-image img { 
	border-radius: 35px; 
	transform: rotate(5deg);
}
.wp-block-kadence-tabs.abacus .wp-block-image { 
    position: relative;
    z-index: 1;
    width: 380px;
    max-width: 93%;
    margin: 0 auto;
}
.wp-block-kadence-tabs.abacus .wp-block-image:after { 
	content: " ";
    width: 78%;
    height: 107%;
    position: absolute;
    bottom: -5%;
    left: 21%;
    background-color: #ffdb14;
    z-index: -1;
    transform: rotate(14deg);
}
.wp-block-kadence-tabs.abacus .kt-tabs-title-list li:hover a.kt-tab-title { color: #f6d315; }
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab h2, .wp-block-kadence-tabs.abacus .wp-block-kadence-tab h3, 
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab h4, .wp-block-kadence-tabs.abacus .wp-block-kadence-tab h5 {
    color: #f6d315;
	margin-bottom: 0.5em;
}
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab .wp-block-button__link {
    background: #f7d413;
	background: linear-gradient(90deg, #f7d413 0%, #ffdf2c 30%, #ffdf2c 70%, #f7d413 100%);
	text-transform: none;
	color: #443320;
}
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab .wp-block-button__link:hover {
    transform: scale(1.05);
}
/**/
.wp-block-kadence-tabs.abacus .kt-tabs-title-list li:nth-child(2):after {
	background-color: #f62727;
	background: linear-gradient(90deg, #f62727 0%, #fd5c5c 44%, #fd5c5c 56%, #f62727 100%);
}
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(2) .wp-block-button__link {
    background: #f62727;
	background: linear-gradient(90deg, #f62727 0%, #fd5c5c 30%, #fd5c5c 70%, #f62727 100%);
	color: #fff;
}
.wp-block-kadence-tabs.abacus .kt-tabs-title-list li:nth-child(2):hover a.kt-tab-title,
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(2) h2, .wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(2) h3, 
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(2) h4, .wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(2) h5 {
    color: #f93f3f;
}
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(2) .wp-block-image:after { background-color: #f93f3f; }
/**/
.wp-block-kadence-tabs.abacus .kt-tabs-title-list li:nth-child(3):after {
	background-color: #afcc34;
	background: linear-gradient(90deg, #afcc34 0%, #c5dc66 44%, #c5dc66 56%, #afcc34 100%);
}
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(3) .wp-block-button__link {
    background: #afcc34;
	background: linear-gradient(90deg, #afcc34 0%, #c5dc66 30%, #c5dc66 70%, #afcc34 100%);
}
.wp-block-kadence-tabs.abacus .kt-tabs-title-list li:nth-child(3):hover a.kt-tab-title,
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(3) h2, .wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(3) h3, 
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(3) h4, .wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(3) h5 {
    color: #b3d135;
}
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(3) .wp-block-image:after { background-color: #bed756; }
/**/
.wp-block-kadence-tabs.abacus .kt-tabs-title-list li:nth-child(4):after {
	background-color: #30cae2;
	background: linear-gradient(90deg, #30cae2 0%, #63dbed 44%, #63dbed 56%, #30cae2 100%);
}
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(4) .wp-block-button__link {
    background: #30cae2;
	background: linear-gradient(90deg, #30cae2 0%, #63dbed 25%, #63dbed 75%, #30cae2 100%);
}
.wp-block-kadence-tabs.abacus .kt-tabs-title-list li:nth-child(4):hover a.kt-tab-title,
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(4) h2, .wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(4) h3, 
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(4) h4, .wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(4) h5 {
    color: #30cae2;
}
.wp-block-kadence-tabs.abacus .wp-block-kadence-tab:nth-child(4) .wp-block-image:after { background-color: #57d7ea; }

/**/
.tilted { position: relative; z-index: 1; margin-top: 25px !important; }
.tilted:before { 
    content: " ";
    width: 80%;
    height: 107%;
    position: absolute;
    bottom: -5%;
    left: 20%;
    background-color: #443320;
    z-index: -1;
    transform: rotate(11deg);
}
.tilted span {
	display: block;
	padding: 35px 25px;
    background-color: #ffdb14;
	box-shadow: 2px 2px 7px rgba(0,0,0,0.1);
	border-radius: 5px; 
	transform: rotate(5deg);
	font-weight: 900;
}
h1.tilted, h2.tilted, h3.tilted, h4.tilted, h5.tilted { 
	color: #443320;
	padding:0;
}

/* FOOTER */
.footer-top .container { padding-top: 3em; padding-bottom: 2em; }
.copyright {
    font-size: 1.1rem;
    padding: 3.5rem 0;
    color: #9e9a95;
    background-color: #3a2d1f;
	border-top: 2px solid #504130;
}
.copyright a { color: #9e9a95; }
.copyright a:hover { color: #b3d135; }

@media (min-width: 480px) {
	.builder-item--custom_html .nv-html-content { line-height: 1.3; }
	.nv-html-content .line1 { font-size: 1.125rem; }
	.nv-html-content .line2 { font-size: 0.6875rem; }
	.nv-html-content .line3 { font-size: 0.8125rem; }
}
@media (min-width: 576px) {
	.builder-item--custom_html .nv-html-content { line-height: 1.4; }
	.nv-html-content .line1 { font-size: 1.4375rem; }
	.nv-html-content .line2 { font-size: 0.875rem; }
	.nv-html-content .line3 { font-size: 1.0625rem; }
}
@media (min-width: 601px) {
	.wp-block-media-text.is-image-fill .wp-block-media-text__media { margin-left: -25px; margin-right: 0; }
	.wp-block-media-text.is-image-fill.has-media-on-the-right .wp-block-media-text__media { margin-left: 0; margin-right: -25px; }
}
@media (min-width: 768px) {
	.builder-item--custom_html .nv-html-content { line-height: 1.5; padding-left: 1.5em; }
	.nv-html-content .line1 { font-size: 1.8125rem; }
	.nv-html-content .line2 { font-size: 1.125rem; }
	.nv-html-content .line3 { font-size: 1.3125rem; }
	
	.wp-block-kadence-tabs.abacus .kt-row-column-wrap { padding: 35px 0 35px 0; }
	.wp-block-kadence-tabs.abacus .kt-tabs-title-list { position: relative; justify-content: space-between; }
	.wp-block-kadence-tabs.abacus .kt-tabs-title-list:after {
		content: " ";
		width: 100vw;
		height: 7px;
		position: absolute;
		bottom: -1px;
		left: 50%;
		transform: translateX(-50%);
		background-color: #4b3905;
		z-index: -1;
	}
	.wp-block-kadence-tabs.abacus .kt-tabs-title-list li a.kt-tab-title { font-size: 1.05em; }
}

@media (min-width: 920px) {
	.width-60 { width: 75%; margin-left: auto; margin-right: auto; }
	.width-70 { width: 85%; margin-left: auto; margin-right: auto; }
}

@media (min-width: 960px) {
	
	.hide-on-desktop { display: none !important; }
	
	.nav-ul .sub-menu li {
		min-width: 100px;
		width: 250px;
	}
	.nav-ul .sub-menu li .has-caret, .nav-ul .sub-menu li>a {
		justify-content: flex-start;
		white-space: normal;
		text-align: left;
		line-height: 1.1;
		font-size: 0.85em;
		padding: 8px 20px;
	}
	.header-menu-sidebar-inner .nav-menu-primary .nav-ul>li>.sub-menu {
		padding: 15px 20px;
	}
	.builder-item--primary-menu .nav-menu-primary > .nav-ul > li.current-menu-item, 
	.builder-item--primary-menu .nav-menu-primary > .nav-ul > li.current_page_item { position:relative; z-index: 1; }
	.builder-item--primary-menu .nav-menu-primary > .nav-ul > li.current-menu-item:after, 
	.builder-item--primary-menu .nav-menu-primary > .nav-ul > li.current_page_item:after {
		content: " ";
		width: calc(100% + 20px);
		height: 230%;
		position: absolute;
		bottom: -50%;
		left: -10px;
		background-color: #a3c127;
		background: linear-gradient(0deg, #a3c127 0%, #b3d135 50%);
		z-index: -1;
		transform: rotate(5deg);
		box-shadow: 2px 2px 15px rgb(0 0 0 / 7%);
	}
	.builder-item--primary-menu .nav-menu-primary > .nav-ul > li.current-menu-item > a, 
	.builder-item--primary-menu .nav-menu-primary > .nav-ul > li.current_page_item > a, 
	.builder-item--primary-menu .nav-menu-primary > .nav-ul > li.current_page_item > .has-caret > a {
		text-shadow: 1px 1px 3px rgb(0 0 0 / 10%);
	}
	.builder-item--primary-menu .nav-menu-primary > .nav-ul > li.current-menu-item:hover > a, 
	.builder-item--primary-menu .nav-menu-primary > .nav-ul > li.current_page_item:hover > a, 
	.builder-item--primary-menu .nav-menu-primary > .nav-ul > li.current_page_item:hover > .has-caret > a {
		color: #fff;
	}
	.nav-ul>.menu-item-has-children>.sub-menu { left: -20px; right: auto; }
	
	.builder-item--custom_html .nv-html-content { padding-left: 3.5rem; }
	.nv-html-content .line1 { font-size: 2.25rem; }
	.nv-html-content .line2 { font-size: 1.375rem; }
	.nv-html-content .line3 { font-size: 1.6875rem; }
	
}

@media (min-width: 1100px) {
	.builder-item--logo { margin: 50px 0px 40px 0px; }
	h2 { font-size: 44px; }
	h3 { font-size: 38px; }
	h4 { font-size: 32px; }
	h5 { font-size: 28px; }
	h5 { font-size: 20px; }
	
	.builder-item--custom_html .nv-html-content { padding-left: 4rem; }
	.nv-html-content .line1 { font-size: 2.5rem; }
	.nv-html-content .line2 { font-size: 1.5rem; }
	.nv-html-content .line3 { font-size: 1.875rem; }
	
	.builder-item--primary-menu .nav-ul > li:not(:last-of-type) { margin-right: 40px; }
	
	.wp-block-kadence-tabs.abacus .kt-row-column-wrap { padding: 45px 0 45px 0; }
}

@media (min-width: 1200px) {
	
	.builder-item--custom_html .nv-html-content { padding-left: 4.5rem; }
	.nv-html-content .line1 { font-size: 2.75rem; }
	.nv-html-content .line2 { font-size: 1.6875rem; }
	.nv-html-content .line3 { font-size: 2rem; }
	
	.builder-item--primary-menu .nav-ul > li:not(:last-of-type) { margin-right: 50px; }
	
}

@media (min-width: 1440px) {
	
	.width-60 { width: 60%; }
	.width-70 { width: 70%; }
	
	h1, .single h1.entry-title { font-size: 2.5em; }
	h2 { font-size: 48px; }
	h3 { font-size: 40px; }
	h4 { font-size: 34px; }
	h5 { font-size: 30px; }
	h5 { font-size: 22px; }

	.has-medium-font-size { font-size: 1.25em; }
	.has-large-font-size { font-size: 1.4em; }
	.has-huge-font-size { font-size: 1.7em; }
	
	.alignwide { 
		width: 80vw;
		max-width: 80vw;
		margin-left: calc(50% - 40vw);
	}
	
	.builder-item--logo { margin: 60px 0px 50px 0px; }

	.builder-item--custom_html .nv-html-content { padding-left: 3rem; }
	.nv-html-content .line1 { font-size: 3rem; }
	.nv-html-content .line2 { font-size: 1.875rem; }
	.nv-html-content .line3 { font-size: 2.1875rem; }
}

@media (min-width: 1680px) {
	
	h1, .single h1.entry-title { font-size: 2.75em; }
}

@media (min-width: 1920px) {
}

@media (max-width: 1439px) {
	.alignwide { 
		width: 90vw;
		max-width: 90vw;
		margin-left: calc(50% - 45vw);
	}
}

@media (max-width: 1199px) {
	.alignwide { 
		width: 100vw;
		max-width: 100vw;
		margin-left: calc(50% - 50vw);
	}
}

@media (max-width: 959px) {
	.hide-on-tablet { display: none !important; }
}

@media (max-width: 600px) {
	.wp-block-media-text:not(.alignwide) .wp-block-media-text__content { padding: 0; }
}

@media (max-width: 575px) {
	.hide-on-mobile { display: none !important; }
}
@media (max-width: 479px) {
	.header--row .builder-item { max-width: 100%; flex: 0 0 100%; margin-left: 0; }
}
@media (min-width: 601px) and (max-width: 767px) {
	.wp-block-media-text{
		-ms-grid-columns: 40% 1fr;
		grid-template-columns: 40% 1fr;
	}
	.wp-block-media-text.has-media-on-the-right {
		-ms-grid-columns: 1fr 40%;
		grid-template-columns: 1fr 40%;
	}
}