/*
Theme Name: Hamilton Funerals
Theme URI: https://www.hamiltonfunerals.com.au
Author: George Pacarski [BoxTM]
Author URI: https://www.gpacarski.com.au
Description: Theme by George Pacarski for Hamilton Funerals
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hamilton-funerals
Tags: Theme by George Pacarski for Hamilton Funerals
*/

/*
 * font definitions
 */
@import url("https://fast.fonts.net/t/1.css?apiType=css&projectid=f637775a-8b0e-44ce-bbfe-81e4361247b0");
@font-face{
    font-family:"Helvetica Neue LT W01_41488878";
    src:url("fonts/1b950d2a-907a-4888-8056-0d44e8e86338.eot?#iefix");
    src:url("fonts/1b950d2a-907a-4888-8056-0d44e8e86338.eot?#iefix") format("eot"),url("fonts/3a46542f-f429-4821-9a88-62e3be54a640.woff2") format("woff2"),url("fonts/50ac1699-f3d2-47b6-878f-67a368a17c41.woff") format("woff"),url("fonts/0be5590f-8353-4ef3-ada1-43ac380859f8.ttf") format("truetype"),url("fonts/82a4e1c2-7ffd-4c58-86fa-4010a6723c8e.svg#82a4e1c2-7ffd-4c58-86fa-4010a6723c8e") format("svg");
}
@font-face{
    font-family:"Helvetica Neue LT W01_65 Md";
    src:url("fonts/f95f9fc2-ffda-431c-9d6a-2c3668f5b20b.eot?#iefix");
    src:url("fonts/f95f9fc2-ffda-431c-9d6a-2c3668f5b20b.eot?#iefix") format("eot"),url("fonts/5b1fbd62-45dc-4433-a7df-a2b24a146411.woff2") format("woff2"),url("fonts/050b1948-f226-4d20-a65a-15d8ed031222.woff") format("woff"),url("fonts/beb88be6-2a60-46fe-914f-6892b3ae46ce.ttf") format("truetype"),url("fonts/e5567978-93ef-4de1-804d-1f0e3654a014.svg#e5567978-93ef-4de1-804d-1f0e3654a014") format("svg");
}

/*
 * global variables
 */
:root {
    --colour-white: #ffffff;
    --colour-light-grey: #b2b2b2;
    --colour-gold: #a79874;
    --colour-grey: #1a1a1a;
    --colour-black: #0a0a0a;
    --gap-1x: 5px;
    --gap-2x: calc(var(--gap-1x) * 2);
    --gap-3x: calc(var(--gap-1x) * 3);
    --gap-4x: calc(var(--gap-1x) * 4);
    --gap-5x: calc(var(--gap-1x) * 5);
    --gap-6x: calc(var(--gap-1x) * 6);
    --gap-8x: calc(var(--gap-1x) * 8);
    --gap-10x: calc(var(--gap-1x) * 10);
    --gap-16x: calc(var(--gap-1x) * 16);
    --line-height: 1.5;
    --font-normal: "Helvetica Neue LT W01_41488878", Helvetica, Arial, sans-serif;
    --font-bold: "Helvetica Neue LT W01_65 Md", Helvetica, Arial, sans-serif;
    --admin-height: 0px;
    --header-height: 92px;
    --scrolled-header-height: 46px;
    --txt-sm: 16px;
    --txt-md: 16px;
    --txt-lg: 24px;
}
body.logged-in {
    --admin-height: 46px;
}
body.scrolled {
    --header-height: var(--scrolled-header-height);
}
@media screen and (min-width: 560px) {
    :root {
        --txt-md: 20px;
        --txt-lg: 28px;
    }
}
@media screen and (min-width: 783px) {
    body.logged-in {
        --admin-height: 32px;
    }
}
@media screen and (min-width: 1024px) {
    :root {
        --gap-1x: 10px;
    }
}

/*
 * css reset
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, main,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, button, input, textarea {
    position: relative;
	margin: 0;
	padding: 0;
	border: 0;
    outline: 0;
	font-size: 100%;
	font: inherit;
    font-weight: 300;
    font-style: normal;
	vertical-align: baseline;
    box-sizing: border-box;
    border-radius: 0;
}
body {
    font-size: var(--txt-sm);
	font-family: var(--font-normal);
    line-height: var(--line-height);
    letter-spacing: 0.025em;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:subpixel-antialiased;
    -moz-osx-font-smoothing:auto;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    color: var(--colour-white);
    background-color: var(--colour-black);
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
    max-width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
table th, table td {
    padding-right: 20px;
}
button, input[type="submit"], input[type="reset"], select {
    background: none;
    color: inherit;
    cursor: pointer;
    outline: inherit;
    box-shadow: none;
    text-align: inherit;
    -webkit-appearance: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    appearance: none;
    user-select: none;
}
body.logged-in #wpadminbar {
    position: fixed;
}

/*
 * general
 */
.wrap {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--admin-height));
}
a {
    color: var(--colour-white);
    text-decoration: none;
}
.hidden, form.hidden {
    display: none;
    overflow: hidden;
}
.container, .container-column {
    display: flex;
    margin: 0 auto;
    width: 1500px;
    max-width: 100%;
    height: 100%;
    padding-inline: var(--gap-4x);
    gap: var(--gap-4x);
}
.container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.container-column {
    flex-direction: column;
}
.container.align-top {
    align-items: flex-start;
}
.container.half-vgap {
    row-gap: var(--gap-2x);
}
.container.no-gap, .container-column.no-gap {
    gap: 0;
}
.bg-black {
    background-color: var(--colour-black);
}
.bg-grey {
    background-color: var(--colour-grey);
}
.txt-white {
    color: var(--colour-white);
}
.txt-grey {
    color: var(--colour-light-grey);
}
.txt-gold {
    color: var(--colour-gold);
}
.txt-sm {
    font-size: var(--txt-sm);
}
.txt-md {
    font-size: var(--txt-md);
}
.txt-lg {
    font-size: var(--txt-lg);
}
.txt-normal {
    font-family: var(--font-normal);
}
.txt-bold {
    font-family: var(--font-bold);
}
.tint {
    background-color: rgba(0,0,0,0.75);
}
.fade {
    -webkit-transition: opacity 500ms linear;
    -moz-transition: opacity 500ms linear;
    -o-transition: opacity 500ms linear;
    -ms-transition: opacity 500ms linear;
    transition: opacity 500ms linear;
}
.fade-slide {
    opacity: 0;
}
.fade-slide.active {
    opacity: 1;
}
a .tint {
    opacity: 0;
}
a:hover .tint, a:active .tint {
    opacity: 1;
}
.y-centred-abs {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.img-fit {
    display: block;
    overflow: hidden;
}
.img-fit img {
    width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center center;
}
.vpadding {
    padding-block: var(--gap-10x);
}
.column-grid {
    row-gap: var(--gap-8x);
    padding-block: var(--gap-8x);
}
.column-grid-item {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: var(--gap-4x);
}
.column-grid-item > h3 {
    margin-bottom: var(--gap-2x);
}

/*
 * header
 */
.header {
    position: fixed;
    top: var(--admin-height);
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--colour-black);
    z-index: 1000;
}
.header .container {
    flex-wrap: nowrap;
}
.brand a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.brand-logo-1 {
    height: 60px;
    margin-right: 12px;
}
.brand-logo-2 {
    height: 12px;
}
body.scrolled .brand-logo-1 {
    display: none;
}

/*
 * menu
 */
.header .main-menu {
    display: none;
    flex-direction: row;
    margin-right: calc(var(--gap-2x) * -1);
}
.menu-item a {
    display: block;
    padding: var(--gap-2x);
    white-space: nowrap;
}
body.scrolled .header .menu-item a {
    padding-block: var(--gap-1x);
}
.menu-item a:hover, .menu-item a:active {
    color: var(--colour-gold);
}

/*
 * mobile navigation
 */
.mobile-nav-toggle {
    height: 32px;
    width: 32px;
}
.mobile-nav {
    position: fixed;
    width: 100%;
    left: 0;
    top: calc(var(--header-height) + var(--admin-height));
    z-index: 50;
    max-height: 0px;
    background-color: var(--colour-grey);
    overflow: hidden;
    -webkit-transition: max-height 500ms linear;
    -moz-transition: max-height 500ms linear;
    -o-transition: max-height 500ms linear;
    -ms-transition: max-height 500ms linear;
    transition: max-height 500ms linear;
}
body.show-mobile-nav .mobile-nav {
    max-height: 1000px;
}
.mobile-nav .main-menu {
    display: flex;
    flex-direction: column;
    padding-block: var(--gap-2x);
    border-bottom: 2px solid var(--colour-gold);
}


/*
 * footer
 */
.footer {
    margin-top: auto;
    padding: var(--gap-2x) var(--gap-4x);
}


/*
 * main
 */
.main {
    margin-top: calc(var(--scrolled-header-height) + 14px);
}
.main .container {
    display: grid;
    grid-template-columns: 1fr;
}
.white-logo-bg > *,
.white-logo-bg-left > *,
.white-logo-bg-right > * {
    z-index: 1;
}
.content-image img {
    width: 100%;
    height: auto;
}
.white-logo-bg::after,
.white-logo-bg-left::after,
.white-logo-bg-right::after {
    position: absolute;
    background-image: url(img/hamilton-bg.svg);
    background-repeat: no-repeat;
    content: "";
    opacity: 0.1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
}
.white-logo-bg::after {
    background-size: cover;
}
.white-logo-bg-left::after {
    background-position: left center;
    background-size: auto 120%;
}
.white-logo-bg-right::after {
    background-position: right center;
    background-size: auto 120%;
}
.content-text {
    display: flex;
    flex-direction: column;
    row-gap: var(--gap-2x);
}
.content-titles {
    display: flex;
    flex-direction: column;
    row-gap: var(--gap-1x);
}
.content-entry p {
    margin: var(--gap-2x) 0;
}
.content-entry > p:first-child {
    margin-top: 0px;
}
.content-entry > p:last-child {
    margin-bottom: 0px;
}
.content-entry p ~ ul, .content-entry p ~ ol {
    margin-top: var(--gap-1x);
}
.content-entry ul, .content-entry ol {
    padding-left: var(--gap-3x);
}
.content-entry li {
    text-indent: calc(var(--gap-2x)*-1);
}
.content-entry ul li::before {
    content: "\2022";
    padding-right: var(--gap-1x);
    color: var(--colour-gold);
}
.content-entry ol {
    counter-reset: LIST-ITEMS 0;
}
.content-entry ol li::before {
    content: counter( LIST-ITEMS ) ".";
    counter-increment: LIST-ITEMS;
    padding-right: calc(var(--gap-1x)/5);
    color: var(--colour-gold);
}
.content-entry strong, .content-entry b {
    font-family: var(--font-bold);
}
.view-link, .back-to-home {
    align-self: flex-start;
}
body.page-template-default .main,
body.page-template-default .main > div {
    display: flex;
    flex-direction: column;
    flex: 1;
}
body.page-template-default .content-main {
    flex: 1;
}

/*
 * services
 */
.services-grid {
    padding-block: var(--gap-6x);
    align-items: start;
}
.service-icon {
    height: 40px;
}
.service-icon img {
    height: 100%;
    width: auto;
}
.one-service {
    display: flex;
    flex-direction: column;
    row-gap: var(--gap-2x);
}
#service-slideshow {
    display: block;
    height: 33.3vh;
    z-index: 1;
}
#hp-service-slides {
    aspect-ratio: 3/2;
}
.service-slide {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.service-slide img {
    height: 100%;
    width: auto;
}
.hp-service-link {
    display: block;
}
.hp-service-link.active::before {
    content: "\2014\2002";
}
.mobile-service img {
    width: 100%;
    height: auto;
}

/*
 * pricing
 */
.one-price {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: var(--gap-4x);
    border-bottom: 1px solid var(--colour-gold);
    padding-block: var(--gap-2x);
}
.one-price:first-of-type {
    border-top: 1px solid var(--colour-gold);
}


/*
 * testimonials
 */
.testimonials {
    row-gap: var(--gap-8x);
    padding-block: var(--gap-8x);
}
.one-testimonial {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: var(--gap-4x);
}
.one-testimonial > h3 {
    margin-bottom: var(--gap-2x);
}
#hp-testimonials-outer {
    overflow: hidden;
}
#hp-testimonials-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: var(--gap-4x);
    width: 100%;
    margin-left: 0;
    -webkit-transition: margin-left 500ms ease-out;
    -moz-transition: margin-left 500ms ease-out;
    -o-transition: margin-left 500ms ease-out;
    -ms-transition: margin-left 500ms ease-out;
    transition: margin-left 500ms ease-out;
}
.hp-testimonial {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    row-gap: var(--gap-2x);
    flex: 1 1 0;
}
.nav-hp-test {
    padding: 10px 10px 14px;
}
.nav-hp-test-prev {
    left: 0;
}
.nav-hp-test-next {
    right: 0;
}


/*
 * contact page
 */
.contact-map {
    height: 40vh;
}
.association-logo img {
    width: 60px;
    height: auto;
}
.enquiry-form {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: var(--gap-2x);
    column-gap: var(--gap-4x);
    padding-block: var(--gap-1x);
}
.enquiry-form.sending > * {
    opacity: 0.075;
}
.enquiry-form.sending::before,
.enquiry-form.sending:before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(img/loader.gif);
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
}
#submit-message {
    margin-top: 20px;
}
.input-group input, .input-group select, .input-group textarea {
    background: transparent;
    color: var(--colour-white);
    border-style: solid;
    border-color: var(--colour-gold);
    width: 100%;
}
.input-group input, .input-group select {
    border-width: 0 0 1px 0;
    padding: 6px 0;
    min-height: 43px;
}
.input-group textarea {
    border-width: 1px;
    padding: 6px;
    resize: none;
}
.input-group input::-webkit-input-placeholder {
    color: var(--colour-white);
    opacity: 1;
}
.input-group input:-moz-placeholder {
    color: var(--colour-white);
    opacity: 1;
}
.input-group input::-moz-placeholder {
    color: var(--colour-white);
    opacity: 1;
}
.input-group input:-ms-input-placeholder {
    color: var(--colour-white);
    opacity: 1;
}
.input-group input::placeholder {
    color: var(--colour-white);
    opacity: 1;
}
.input-group select {
    background-image: url(img/drop-down.png);
    background-repeat: no-repeat;
    background-size: auto;
    background-position-x: 100%;
    background-position-y: center;
}


@media screen and (orientation: landscape) {
    #service-slideshow {
        height: 50vh;
    }
    .contact-map {
        height: 60vh;
    }
}
@media screen and (min-width: 560px) {
    .enquiry-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(calc(50% - var(--gap-2x)), 1fr));
    }
    .input-group-full-width {
        grid-column: 1/3;
    }
}
@media screen and (max-width: 1023px) {
    .home-main {
        padding-top: var(--gap-16x);
    }
}
@media screen and (min-width: 1024px) {
    .main .container,
    .column-grid-item {
        grid-template-columns: repeat(2, minmax(calc(50% - var(--gap-2x)), 1fr));
    }
    .main .container .full-width {
        grid-column: 1/3;
    }
    .home-main .content-image {
        display: flex;
        flex-direction: column;
        margin-top: 25vh;
        justify-content: flex-end;
    }
}
@media screen and (min-width: 1280px) {
    body:has(.main-menu-md) .header .main-menu {
        display: flex;
    }
    body:has(.main-menu-md) .mobile-nav-toggle,
    body:has(.main-menu-md) .mobile-nav,
    body.show-mobile-nav:has(.main-menu-md) .mobile-nav {
        display: none;
    }
}
@media screen and (min-width: 1380px) {
    body:has(.main-menu-lg) .header .main-menu {
        display: flex;
    }
    body:has(.main-menu-lg) .mobile-nav-toggle,
    body:has(.main-menu-lg) .mobile-nav,
    body.show-mobile-nav:has(.main-menu-lg) .mobile-nav {
        display: none;
    }
}
@media screen and (min-width: 1480px) {
    body:has(.main-menu-xl) .header .main-menu {
        display: flex;
    }
    body:has(.main-menu-xl) .mobile-nav-toggle,
    body:has(.main-menu-xl) .mobile-nav,
    body.show-mobile-nav:has(.main-menu-xl) .mobile-nav {
        display: none;
    }
}
@media screen and (min-width: 1580px) {
    body:has(.main-menu-2xl) .header .main-menu {
        display: flex;
    }
    body:has(.main-menu-2xl) .mobile-nav-toggle,
    body:has(.main-menu-2xl) .mobile-nav,
    body.show-mobile-nav:has(.main-menu-2xl) .mobile-nav {
        display: none;
    }
}
@media screen and (min-width: 1680px) {
    body:has(.main-menu-3xl) .header .main-menu {
        display: flex;
    }
    body:has(.main-menu-3xl) .mobile-nav-toggle,
    body:has(.main-menu-3xl) .mobile-nav,
    body.show-mobile-nav:has(.main-menu-3xl) .mobile-nav {
        display: none;
    }
}
@media screen and (max-width: 1599px) {
    .nav-hp-test {
        background-color: rgba(255,255,255,0.1);
    }
    .nav-hp-test:hover, .nav-hp-test:active {
        background-color: rgba(255,255,255,0.5);
    }
}