 /* HIDE DURING PAGE LOAD (show via JS)
-------------------------------------------------- */



/* CUSTOMIZE THE GLOBAL STYLES
-------------------------------------------------- */

* {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox */
    box-sizing: border-box;         /* Opera/IE 8+ */
}
:root {
    --text-shadow-base: 1px 1px 3px rgba(0,0,0,.25);
    --box-shadow-base: 1px 1px 10px rgba(0,0,0,.25);
    --form-shadow-base: 0 3px 10px rgba(0,0,0,.2);
    --color-base-darker: #000000;
    --color-base-dark: #4a4a49;
    --color-base-medium: #9d9d9c;
    --color-base-light: #d0d0d0;
    --color-base-lighter: #ffffff;
    --color-contrast-dark: #608515;
    --color-contrast-medium: #87b22f;
    --color-contrast-light: #d7ff52;
    --bg-black-transp: rgba(0,0,0,.7);
    --bg-white-transp: rgba(255,255,255,.85);
}
html {
    -webkit-text-size-adjust: 100%;
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

body {
    font-family: "montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    letter-spacing: 1px;
	color: var(--color-base-dark);
    background-color: var(--color-base-lighter);
    scroll-behavior: smooth;
}
html, body {
    margin: 0;
    padding: 0;
    max-width: 100vw;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all ease .5s;
}
p {
    text-align: justify;
}
p a {
    border-bottom: 1px solid var(--color-contrast-medium);
}
a i {
	color: var(--color-contrast-medium);
}
a:hover {
    color: var(--color-contrast-medium);
}
a,
a:focus,
a:hover,
a:active {
    outline: none;
}
h1 {
    font-weight: 800;
    font-style: normal;
    margin-top: 0;
}
h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
    font-style: normal;
}
h1, .h1 {  
    font-size: 2.6rem;
    text-transform: uppercase;
    letter-spacing: normal;
}
h2, .h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
	padding-top: 0;
    margin-top: 0;
    color: var(--color-contrast-medium);
}
@media (min-width: 800px) { 
    h2, .h2 {
        font-size: 2.1rem;
    }
}
h3, .h3 {  
    font-size: 1.8rem;
	padding-top: 1em;
}
h4, .h4 { 
    font-size: 1.4rem;
}
figure {
	margin: 0;
}

/* FORMS
-------------------------------------------------- */

/* HEADER
-------------------------------------------------- */

a#top {
    position: absolute;
    margin-top: -1px;
}
.siteHeader {
    position: absolute;
    z-index: 100;
    width: 100vw;
    height: 60px;
	top: 0;
	left: 0;
    transition: all ease 0s;
}
.persistent .siteHeader {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,.2);
    box-shadow: var(--box-shadow-base);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
@media (min-width: 800px) {
}
a#top {
    position: absolute;
    margin-top: -1px;
}

/* Logo */
.siteLogo {
    position: absolute;
    z-index: 10;
    left: calc(50% - 120px);
    opacity: 1;
    top: 5px;
    width: 240px;
    transition: all ease 1.5s;
}
.persistent .siteLogo {
    top: -300px;
    opacity: 0;
}
.persistentSiteLogo {
    position: absolute;
    z-index: 10;
    left: -180px;
    top: 5px;
    width: 150px;
    background-color: transparent;
    opacity: 0;
    transition: all ease 1s;
}
.persistent .persistentSiteLogo {
    left: 20px;
    opacity: 1;
}
.siteLogo a {
    display: block;
    height: 200px;
    background-image: url("../img/logo-cactus-audiovisual.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all ease .5s;
}
.persistentSiteLogo a {
    display: block;
    height: 50px;
    background-image: url("../img/logo-cactus-audiovisual-txt.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.siteLogo span,
.persistentSiteLogo span {
	display: none;
}

/* Menus Container */
.compactMenu {
    position: absolute;
    top: 0;
    left: 0;
    width: 240px;
    background-color: transparent;
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
    transition: all ease .5s;
}
.persistent .compactMenu {    
}
@media (min-width: 800px) {
}

/* Top Bar Menu */
.topBarMenu {
    height: 60px;
    padding-left: 25vw;
    padding-right: 40px;
    display: none;
}
@media (min-width: 800px) {
    .topBarMenu {
        display: block;
        opacity: 1;
        transition: all ease 1s;
    }
   /* .persistent .topBarMenu {
        padding-left: 80px;
        position: absolute;
        z-index: auto;
        width: 100%;
        overflow: hidden;
        opacity: 0;
        top: -100px;
    }*/
}
.topBarMenu ul {
    list-style: none;
    text-align: right;
    margin: 0;
    padding: 0;
}
.topBarMenu ul li {
    display: inline;
}
.topBarMenu ul li a {
    line-height: 60px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    font-size: .7rem;
    font-weight: 600;
}
.topBarMenu ul li a span {
    padding: 5px;
    line-height: 1rem;
    display: inline-block;
    background-color: transparent;
    color: var(--color-contrast-medium);
    border: 3px solid var(--color-contrast-medium);
    border-radius: 20px;
    transition: all ease .5s;
}
.topBarMenu ul li.current-menu-item a:after {
    position: absolute;
    left: 50%;
    bottom: 10px;
    content: "";
    margin-left: -3px;
    width: 6px;
    height: 6px;
    border-left: 2px solid var(--color-contrast-medium);
    border-bottom: 2px solid var(--color-contrast-medium);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.topBarMenu ul li a:hover span,
.topBarMenu ul li.current-menu-item a span {
    background-color: var(--color-contrast-medium);
    color: var(--color-base-lighter);
}



/* navbar*/
.mobileMenu {
    cursor: pointer;
    position: relative;
    left: 20px;
    height: 60px;
    line-height: 60px;
    width: 60px;
    text-align: center;
	transition: all .7s ease;
}
.mobileMenu span {
    border-radius: 50%;
    padding: 1.2rem;
    background-image: url("../img/icon-cactus-audiovisual.png");
    background-repeat: no-repeat;
    background-size: contain;
}
.mobileMenu i {
	color: var(--color-base-medium);
	transition: all .7s ease;
}
.persistent .mobileMenu {
    color: var(--color-base-darker);
    left: 180px;
}
.persistent .mobileMenu span {
    box-shadow: none;
}
.persistent .mobileMenu i {
    color:  var(--color-contrast-medium);
}
.mobileMenu:hover span,
.mobileMenu:hover span i {
    color: var(--color-contrast-light);
}
header nav {
    position: fixed;
    z-index: 11;
    width: 0;
	height: 100vh;
    top: 0;
	left: -10vw;
    background-color: rgba(255,255,255,0);
    transition: all ease-in-out .2s;
}
header nav.fullWidth {
    width: 100vw;
	left: 0;
    background-color: var(--bg-black-transp);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.mobileMenuContainer {
	position: absolute;
	z-index: 12;
	top: 0;
	left: -100vw;
	background-color: var(--color-base-lighter);
	height: auto;
	min-height: 80vh;
	min-width: 40vw;
	max-width: 92vw;
	width: auto;
	margin-right: 0;
	display: inline-block;
	overflow-y: auto;
    transition: all ease 1s;
    border-bottom-right-radius: 20px;
}
.mobileMenuContainer.fullWidth {
	left: 0;
	min-width: 40vw;
	max-width: 92vw;
	width: auto;
}
.mainMenuClose {
	display: block;
	position: absolute;
	z-index: auto;
	right: 1.5rem;
	font-size: 2rem;
	color: var(--color-contrast-medium);
	top: 1.5rem;
	cursor: pointer;
    transition: all ease 1s;
}
.mainMenuClose:hover {
	color: var(--color-contrast-dark);
}
.mobileMenuContainer .scrollableMenu {
	padding: 40px;
    opacity: 0;
    transition: all ease 1s;
}
.mobileMenuContainer.fullWidth .scrollableMenu {
    opacity: 1;
}
.logoMenu {
    display: inline-block;
    height: 150px;
    width: 150px;
    margin-bottom: 20px;
    background-image: url("../img/icon-cactus-audiovisual.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.mainMenuContainer {
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
header nav li.menu-item-has-children {
}
header nav li a {
    display: block;
    text-decoration: none;
	border-top: 1px solid var(--color-contrast-medium);
    color: var(--color-base-darker);
    padding: 10px 20px;
    transition: all ease-in-out .5s;
}
header nav .mainMenuContainer li a {
    font-family: "impact", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    text-transform: uppercase;
    text-align: right;
}
@media (min-width: 800px) {
    header nav .mainMenuContainer li a {
    font-size: 3rem;
}
}
header nav li a .menuDesc {
    display: block;
    font-style: italic;
}
header nav li:first-of-type a {
    border-top: none;
}
header nav li li a {
    font-size: 1.4rem;
    padding: 5px 10px 5px 30px;
	text-shadow: none;
	border-top: none;
    color: var(--color-base-darker);
}
header nav li li:last-child {
	padding-bottom: 20px;
}
header nav a:hover {
	color: var(--color-contrast-medium);
}
header nav .current_page_item a, 
header nav .current_page_item a:hover {
    color: var(--color-contrast-dark);
    background-color: transparent;
    cursor: default;
}
header nav .current_page_item a:before {
    margin-left: -1rem;
    padding-right: 0.5em;
    content: "-";
    color: var(--color-contrast-medium);
}


/* FOOTER
-------------------------------------------------- */

.siteFooter {
    position: relative;
    border-top: 1px solid var(--color-base-light);
}

/* Back to top */
.totop {
	position: fixed;
	bottom: 0;
	right: 20px;
	z-index: 104400;
}
@media (max-width: 800px) {
    .subFooter.mutate .totop {
        display: none !important;
        opacity: 0;
        transition: all ease 1s;
    }
    .subFooter.mutate.is-inViewport .totop {
        display: inline !important;
        opacity: 1;
    }
}
.totop a, 
.totop a:visited {
	background-color: var(--color-contrast-medium);
	display: block;
    width: 40px;
	height: 40px;
	color: #fff;
	text-align: center;
	line-height: 40px;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    transition: all ease .5s;
}
.totop a:hover {
	color: #fff;
	background-color: var(--color-base-darker);
	text-decoration: none;
}
.totop a i {
	color: #fff;
}

/* Bottom Nav */
.bottomNav {
    position: relative;
    font-size: .8rem;
    background-color: var(--color-base-lighter);
    padding: 5px 70px 5px 30px;
    line-height: 40px;
}
.bottomNav nav {
    display: inline-block;
    padding-right: 20px;
}
.bottomNav nav li {
    display: inline-block;
}
.bottomNav nav li a {
    margin-right: 10px;
    border-bottom: 1px solid var(--color-contrast-medium);
}
.bottomNav nav li:last-child a {
    margin-right: 0;
}
@media (max-width: 800px) {
    .bottomNav nav {
        display: none;
    }
}

/* Copyright */
.refDYD,
.copyright {
    font-size: .6rem;
    letter-spacing: 0;
}

/* PAGE
-------------------------------------------------- */

.pageIntro {
    position: fixed;
    z-index: -3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.pageMain {
    min-height: 100vh;
}
.pageTitle,
.pageSplit { 
    display: none;
}
.mainBlack .pageContent { 
    color: var(--color-base-lighter);
}
.mainWhite .pageContent { 
    color: var(--color-base-darker);
}
@media (min-width: 800px) {
    .pageMain > article {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
    }
    .mainBlack .pageTitle {
        background-color: var(--color-base-darker);
        mix-blend-mode: multiply;
        display: block;
    }
    .mainWhite .pageTitle {
        background-color: var(--color-base-lighter);
        mix-blend-mode: lighten;
        display: block;
    }
    .pageMain > article .pageTitle {
        min-height: 100vh;
        width: 15vw;
        position: fixed;
    }
    .pageMain > article .pageSplit {
        min-height: 100vh;
        width: 20vw;
        display: block;
    }
    .pageMain > article .pageContent {
        min-height: 100vh;
        width: 65vw;
    }
    .mainBlack .pageContent { 
        background-color: var(--bg-black-transp);
    }
    .mainWhite .pageContent { 
        background-color: var(--bg-white-transp);
    }
    .pageTitle aside {
        position: absolute;
        top: 200px;
        right: .80em;
        margin: 0;
        padding: 0;
        transform: rotate(-90deg);
        transform-origin: right top;
        white-space: nowrap;
        font-family: "impact", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 10vw;
        letter-spacing: -3px;
        line-height: .85;
        text-align: center;
        text-transform: uppercase;
    }
    .mainBlack .pageTitle aside {
        color: var(--color-base-lighter);
    }
    .mainWhite .pageTitle aside {
        color: var(--color-base-darker);
    }
}
.mainBlack .pageContent .pageTop {
    display: block;
    padding-top: 220px;
    background-color: var(--color-base-darker);
    mix-blend-mode: multiply;
}
.mainWhite .pageContent .pageTop {
    display: block;
    padding-top: 220px;
    background-color: var(--color-base-lighter);
    mix-blend-mode: lighten;
}
@media (min-width: 800px) {
    .mainBlack .pageContent .pageTop,
    .mainWhite .pageContent .pageTop {
        padding-left: calc(15vw - 100px);
    }
}
.pageTop h1 {
    font-family: "impact", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    font-size: 3rem;
    letter-spacing: -3px;
    line-height: .85;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    position: relative;
    bottom: -2px;
    width: 100%;
    transition: font-size 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: none;
}
.pageTop h1.single-line {
    white-space: nowrap;
}
.pageTop h1.multi-line {
    white-space: normal;
    line-height: .85;
}
@media (min-width: 800px) {
    .pageTop h1 {
        text-align: justify;
    }
}

/* Blocks hacks */
.rounded {
    border-radius: 12px;
    box-shadow: var(--box-shadow-base);
}
.wp-block-group {
    padding: 20px 40px;
}

/* Masonry Galleries */
.masonryGallery.columns-default {
   -webkit-columns: 3;
   -moz-columns: 3;
   columns: 3;
}
.masonryGallery {
   display:block !important;
}
.masonryGallery .wp-block-image{
   width:100% !important;
   margin-bottom:var(--wp--style--unstable-gallery-gap) !important;
}
.masonryGallery.columns-1 {
   -webkit-columns: 1;
   -moz-columns: 1;
   columns: 1;
}
.masonryGallery.columns-2 {
   -webkit-columns: 2;
   -moz-columns: 2;
   columns: 2;
}
.masonryGallery.columns-3 {
   -webkit-columns: 3;
   -moz-columns: 3;
   columns: 3;
}
.masonryGallery.columns-4 {
   -webkit-columns: 4;
   -moz-columns: 4;
   columns: 4;
}
.masonryGallery.columns-5 {
   -webkit-columns: 5;
   -moz-columns: 5;
   columns: 5;
}
.masonryGallery.columns-6 {
   -webkit-columns: 6;
   -moz-columns: 6;
   columns: 6;
}
.masonryGallery.columns-7 {
   -webkit-columns: 7;
   -moz-columns: 7;
   columns: 7;
}
.masonryGallery.columns-8 {
   -webkit-columns: 8;
   -moz-columns: 8;
   columns: 8;
}

/* Lists Hack */
ul.wp-block-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
ul.wp-block-list li {
    padding-left: 2em;
    padding-bottom: 0.8em;
    line-height: 1.4em;
    text-indent: -2em;
}
ul.wp-block-list li:before {
    content: "°";
    color: var(--color-contrast-medium);
    padding-right: 0.55em;
    font-size: 2em;
    position: relative;
    top: .35em;
}

/* Youtube flux hacks */
.sb_youtube p {
    text-align: center;
}


/* HOME PAGE
-------------------------------------------------- */

/* Home Image BG */

.homeImg {
    position: fixed;
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center center;
    background-size: cover;
}

/* Home Slider BG */
.homeSlider {
    position: fixed;
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.dydHomeSlider {
    background-color: var(--color-base-lighter);
}
.dydHomeSlider .carousel-cell {
    width: 100%;
    height: 100vh;
    counter-increment: gallery-cell;
    position: relative;
    overflow: hidden;
}
.dydHomeSlider .carousel-cell figure {
    height: 100vh;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 1;
    width: 100%;
}


/* Home Video BG */
.homeVideo {
    position: fixed;
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* SINGLE
-------------------------------------------------- */

/* ARCHIVES
-------------------------------------------------- */


