/*
Name: D4Y Apps Qube GUI Styles
Plugin URI: https://d4ysolutions.com/
Description: A script to handle the display of Qube GUI elements and individual side templates.
Version: 3.5.3
Author: Albert Chosky
Author URI: https://d4ysolutions.com/
License: Copyright 2019-2021, Lionel Poizner. All rights reserved.
Text Domain: d4ysolutions
*/

:root {
    --cubeWidth: calc(75vmin);
    --cubeTransZ: calc((var(--cubeWidth) * 0.5));
    --botmenFontSize: 2.5em;
    --botmenHeight: 60px;
    --lastRotateY: 0deg;
    --initRotate: 1;
}

/* Disable WordPress 'edit' button at page bottom when logged in */
.edit-button {
    display: none !important;
}

html,
body {
    width: 100%;
    background-color: black;
}

a:hover {
    color: inherit;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
        sans-serif;
    font-weight: 300;
}

a {
    color: inherit;
}

footer {
    padding-bottom: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: unset;
}

/* 
    START hr with centered text 
    
    Use: <hr class="hr-text" data-content="SOME TEXT">
*/
.hr-text {
    margin: 0 0 12px 0;
    line-height: 1em;
    position: relative;
    outline: 0;
    border: 0;
    color: black;
    text-align: center;
    height: 1.5em;
    opacity: 0.9;
}

.hr-text:before {
    content: '';
    background: linear-gradient(to right, transparent, #999999, transparent);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

.hr-text:after {
    content: attr(data-content);
    position: relative;
    display: inline-block;
    color: black;
    padding: 0 0.5em;
    line-height: 1.5em;
    background-color: #fcfcfa;
}

img.alignleft {
    float: none !important;
    display: flex;
    margin-right: auto;
}

img.alignright {
    float: none !important;
    display: flex;
    margin-left: auto;
}

img.aligncenter {
    float: none !important;
    display: flex;
    margin: auto;
}

img.alignnone {
    float: none !important;
    display: flex;
    margin: unset;
}

/* END hr with centered text */

.close-button {
    margin-right: 10px;
    background-color: #b40000;
    padding: 8px 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 10px;
}

.close-button:hover {
    color: white;
    background-color: #000000;
}

.no-vertical-scroll {
    overflow-y: hidden !important;
}

/* START main */

#d4yqc-intro-anim {
    display: flex;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: #00000061;
    z-index: 99;
}

header {
    max-width: 800px;
    margin: auto;
}

input[type='reset'],
input[type='submit'],
button {
    background-color: #c80000;
    border-radius: 4px;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

input[type='reset']:hover,
input[type='submit']:hover,
button:hover {
    background-color: #c80000;
    box-shadow: 1px 1px 6px rgba(0, 0, 0);
}

#lottie-intro-demo {
    display: block;
    width: 80%;
    max-width: 800px;
}

main {
    max-width: 734px;
    margin: auto;
}

footer {
    max-width: 800px;
    margin: auto;
}

/* END main */

/* START open sides */

#open-sides-header {
    text-align: initial;
}

#open-sides-header__optional-webpage {
    text-align: initial;
    height: 75vh;
    height: calc(var(--vh, 1vh) * 75);
}

#open-sides-footer {
    top: 0px;
}

/* END open sides */

/* START splash screen */

.main-logo {
    width: auto;
    /* max-width: 60vmin; */
    /* max-height: 280px; */
    max-height: 30vh;
}

.main-logo-default {
    width: auto;
    max-width: 60vmin;
    max-width: 200px;
}

a.qc-side-banner {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 100%;
}

.qc-side-banner img {
    border-top: 3px solid white;
    border-left: 3px solid white;
    border-right: 3px solid white;
    border-radius: 10px 10px 0 0;
    height: 100%;
    max-height: 70px;
}

.qc-tiny-banner {
    display: flex;
    align-items: flex-end;
}

.qube-cards-id-container {
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    /* width: 100vw; */
    max-width: 800px;
    z-index: 99;
}

.qube-cards-id-paid {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    /* padding: 0 10px 0 10px; */
    height: 17px;
    width: 94%;
    /* border-radius: 8px 8px 0 0; */
    /* max-width: 800px; */
    /* background-color: white; */
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(255, 255, 255, 1) 33%,
        rgba(255, 255, 255, 1) 66%,
        rgba(0, 0, 0, 0) 100%
    );
    /* margin-right: 14px; */
}

.qube-cards-id-free {
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /* padding: 0 10px 0 10px; */
    height: 65px;
    width: 94%;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(255, 255, 255, 1) 33%,
        rgba(255, 255, 255, 1) 66%,
        rgba(0, 0, 0, 0) 100%
    );
}

@media (max-width: 410px) {
    .splash-title {
        font-size: 1.7em;
    }
}

.splash-title {
    margin: 10px 0 0 0;
    padding: 0 10px 0 10px;
    font-size: 2.2em;
    font-weight: 600;
    line-height: 1.3em;
    color: white;
}

@media (max-width: 410px) {
    .splash-title {
        font-size: 1.7em;
    }
}

#toggle-start {
    display: block;
    opacity: 1;
    -webkit-transition: opacity 0.35s;
    -moz-transition: opacity 0.35s;
    -o-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

#drag {
    text-align: center;
    cursor: pointer;
    color: #ffffff;
    background-color: #00366b;
}

#drag-start {
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    background: black;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.drag-start__center {
    display: table-cell;
    vertical-align: middle;
}

.drag-start__inner-overlay {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    width: 100%;
    height: 100vh;
}

.drag-start__overlay {
    display: flex;
    width: 100%;
    height: 100%;
}

.drag-start__powered-by {
    font-size: 0.7em !important;
    color: #000000 !important;
}

.drag-start__qube-logo {
    /* width: 100px !important; */
    height: 16px !important;
    border-radius: 10px 10px 0 0;
    /* margin-top: 8px; */
}

.drag-start__title {
    width: 90%;
    max-width: 700px;
    height: 60%;
    max-height: 60%;
    margin-top: 5%;
    overflow: hidden;
}

.drag-start__title h1 {
    letter-spacing: 0.05em;
    margin-bottom: 0;
    padding-bottom: 0;
}

.drag-start__title img {
    margin: 0;
    padding: 0;
}

.drag-start__title p {
    margin: 0;
    padding: 0;
}

.drag-start__updown {
    position: absolute;
    bottom: 30px;
    padding-top: 15px;
    box-sizing: border-box;
    height: 35%;
    max-height: 35%;
    overflow: hidden;
}

.drag-start__updown lottie-player {
    width: 97%;
    max-width: 300px;
}

@media only screen and (max-width: 375px) {
    .drag-start__updown lottie-player {
        max-width: 250px;
    }
}

@-webkit-keyframes ud {
    0% {
        top: -20px;
        left: 0;
    }
    20% {
        top: 0;
        left: -15px;
        -webkit-transform: rotate(10deg);
        transform: rotate(10deg);
    }
    80% {
        top: 0;
        left: 15px;
    }
    100% {
        top: -20px;
        left: 0;
    }
}

@-moz-keyframes ud {
    0% {
        top: -20px;
        left: 0;
    }
    20% {
        top: 0;
        left: -15px;
        -moz-transform: rotate(10deg);
        transform: rotate(10deg);
    }
    80% {
        top: 0;
        left: 15px;
    }
    100% {
        top: -20px;
        left: 0;
    }
}

@keyframes ud {
    0% {
        top: -20px;
        left: 0;
    }
    20% {
        top: 0;
        left: -15px;
        -webkit-transform: rotate(10deg);
        transform: rotate(10deg);
    }
    80% {
        top: 0;
        left: 15px;
    }
    100% {
        top: -20px;
        left: 0;
    }
}

/* END splash screen */

/*
    START initial cube rotation
*/

.initRotationIn {
    animation: cube-rotate-in 6s linear infinite;
}

@keyframes cube-rotate-in {
    0% {
        transform: rotateX(156deg) rotateY(42deg);
    }
    100% {
        transform: rotateX(156deg) rotateY(401deg);
    }
}

/*
    END initial cube rotation
*/

/* 
    START run in portrait
*/

.run-in-portrait {
    display: none;
    background-color: #000000;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;
    z-index: 12;
}

.run-in-portrait__text {
    padding: 0 20px;
    margin: auto;
    color: #ffffff;
    font-size: 1.8em;
    text-align: center;
}

@media screen and (pointer: coarse) {
    @media screen and (orientation: landscape) {
        .run-in-portrait {
            position: absolute;
            display: flex;
        }

        .qube {
            display: none;
        }
    }
}

@media screen and (pointer: coarse) {
    @media only screen and (orientation: portrait) {
        .run-in-portrait {
            display: none;
        }

        .qube {
            display: block;
        }
    }
}

/* 
    END run in portrait 
*/

/* START Main */

#nav {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100%;
}

.nav__viewport {
    display: table-cell;
    vertical-align: middle;
    -webkit-perspective: 2330px;
    -moz-perspective: 2330px;
    -ms-perspective: 2330px;
    -o-perspective: 2330px;
    perspective: 2330px;
    -webkit-perspective-origin: 50% 200px;
    -moz-perspective-origin: 50% 200px;
    -ms-perspective-origin: 50% 200px;
    -o-perspective-origin: 50% 200px;
    perspective-origin: 50% 200px;
}

#qube {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;
    display: none;
    opacity: 0;
    -webkit-transition: opacity 0.35s;
    -moz-transition: opacity 0.35s;
    -o-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

.qube__background {
    height: 100%;
    width: 100%;
    background: #000000;
}

/* END Main */

/* START cube previews */

.preview__content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.preview__content-preview img {
    position: absolute;
    left: 1%;
    top: 1%;
    width: 98%;
    height: 98%;
}

.preview__content-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.preview__content-title {
    box-sizing: border-box;
    width: 98%;
    padding: 5px;
    margin-bottom: 5vmin;
    font-size: 9vmin;
    text-align: center;
    line-height: initial;
    color: black;
    background-color: #ffffffc7;
    z-index: 1;
}

.preview__stop-click {
    width: 100%;
    height: 100%;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
}

.preview__btn {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    appearance: none;
    outline: none;
    border: none;
    background: none;
}

.preview__btn:hover {
    background-color: transparent;
    color: transparent;
    box-shadow: none;
    transform: none;
}

/* END cube previews */

/* START Qube header */

.qube__header {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    max-width: 770px;
    margin: auto;
    padding: 10px 15px;
    z-index: 9;
}

.qube__header-account-btn {
    display: flex;
    align-items: flex-start;
    margin: 0 5px 0 0;
    font-size: 3em;
    color: #fff7ec;
}

.qube__header-account-btn i {
    margin: 10px 0 0 15px;
}

.qube__header-btn {
    cursor: pointer;
}

.qube__header-share-btn {
    margin-right: 5px !important;
}

.qube__header-exit-btn {
    font-size: 35px;
    border-radius: 4px;
    padding: 4px;
    color: white;
    background-color: #850000;
}

#qube__header-help {
    float: right;
    position: relative;
    margin-right: 14px;
    top: -14px;
    font-size: 3em;
    color: #fff7ec;
    cursor: pointer;
}

.qube__header-logo {
    margin: 6px 0 0 0;
    width: auto;
    height: 53px;
    z-index: 0;
}

.qube__header-logo-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.qube__header-logo-text {
    margin-top: 15px;
    font-family: sans-serif;
    font-size: 1.9em;
    color: #fff7ec;
}

.qube__header-logo-text-under {
    margin: 5px 0 0 6px;
    line-height: 1.4em;
    font-family: sans-serif;
    color: #fff7ec;
}

/* END Qube header */

/* START help screen */

.help-sign-up-btn {
    color: white !important;
    background-color: #b40000 !important;
    border-radius: 4px !important;
    margin-bottom: 10px !important;
    padding: 10px !important;
    text-align: center !important;
    font-weight: 600 !important;
}

#help-screen {
    display: none;
    overflow: hidden;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    position: absolute;
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background-color: #0b1f33;
    z-index: 11;
    animation: slide-help 0.6s ease;
}

@keyframes slide-help {
    0% {
        opacity: 0.2;
        -webkit-transform: rotateY(150deg) scaleX(0.1) scaleY(0.2);
        transform: rotateY(150deg) scaleX(0.1) scaleY(0.2);
    }
    70% {
        transform: scale(1.15);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.help-screen__acrdn-row {
    display: block;
    margin-bottom: 20px;
    height: 80vh;
    height: calc(var(--vh, 1vh) * 80);
}

.help-screen__acrdn-row .help-screen__acrdn-col {
    /* width: 94%; */
    max-width: 800px;
    flex: 1;
}

.help-screen__acrdn-row .help-screen__acrdn-col:last-child {
    margin: auto;
}

/* Accordion styles */
.help-screen__acrdn-tabs {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}

.help-screen__acrdn-tab {
    width: 100%;
    color: white;
    overflow: hidden;
}

.help-screen__acrdn-tab-label {
    box-sizing: border-box;
    width: 100%;
    padding: 1em;
    background: #0e365a;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    /* Icon */
}

.help-screen__acrdn-tab-label:hover {
    background: #11508e;
}

.help-screen__acrdn-tab-content {
    padding: 20px 1em;
    color: #2c3e50;
    background: rgb(255 246 231);
    font-size: 1em;
}

.help-screen__acrdn-tab-close {
    display: flex;
    justify-content: flex-end;
    padding: 1.4em;
    font-size: 0.75em;
    background: #2c3e50;
    cursor: pointer;
}

.help-screen__acrdn-tab-close:hover {
    background: #11508e;
}

.help-screen__header {
    display: flex;
    align-items: flex-start;
    margin-top: 90px;
    margin-bottom: 2em;
}

.help-screen__scroll {
    overflow-x: hidden;
    overflow-y: auto;
}

.help-screen-title {
    font-size: 1.8em;
}

/* END help screen */

/* START share screen */

#share-screen {
    display: none;
    overflow: hidden;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    position: absolute;
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background-color: #0b1f33;
    z-index: 11;
    animation: slide-help 0.6s ease;
}

.share-content {
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    height: 80vh;
    height: calc(var(--vh, 1vh) * 80);
    width: 94%;
    max-width: 800px;
    /* margin: auto; */
    background: #ffffff80;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 2px;
}

.share-screen__header {
    display: flex;
    align-items: flex-start;
    margin-top: 90px;
    margin-bottom: 2em;
}

.share-screen__scroll {
    overflow-x: hidden;
    overflow-y: auto;
}

.share-screen-title {
    font-size: 1.8em;
}

/* END share screen */

/*
    START bottom menu
*/

#botmenu {
    cursor: pointer;
}

#botmenu-checkbox {
    opacity: 0;
}

#botmenu-checkbox:checked ~ #botmenu-content {
    transform: translateY(0);
}

#botmenu-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -70px;
    box-sizing: border-box;
    height: auto;
    /* width: 90%; */
    max-width: 550px;
    margin: auto;
    overflow: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 10;
    transition: bottom 2s;
}

#botmenu-content__body {
    padding: 10px 10px 5px 10px;
    border-top: 2px solid #ffffff82;
    border-radius: 10px 10px 0 0;
    background-color: #000000c9;
    overflow-y: hidden;
}

#botmenu-content__header {
    margin: auto;
    width: 60%;
    border-top: 4px solid #ffffff82;
    border-radius: 10px 10px 0 0;
    background-color: #000000c9;
}

.botmenu-content__row {
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
}

.botmenu-content__row-share {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    width: 80%;
    margin: auto;
}

#botmenu-content__row-01 {
    color: #fff7ec;
}

#botmenu-content__row-02 {
    color: #fff7ec;
    margin: 0 0 20px 0;
}

.botmenu-content__row i {
    font-size: var(--botmenFontSize);
}

#botmenu-bar {
    display: flex;
    align-items: center;
    font-size: var(--botmenFontSize);
    font-weight: bold;
    height: var(--botmenHeight);
}

.botmenu-content__icons {
    cursor: pointer;
}

#botmenu-content__icons-share {
    padding: 6px 30px;
    margin: 2px 0 10px 0;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 3px;
    border-radius: 10px;
    color: #000;
    background-color: #fff;
}

.botmenu-content__icons i {
    padding: 0 8px 8px 8px;
}

#botmenu-bar__menu {
    display: flex;
    align-items: center;
    line-height: var(--botmenHeight);
    padding: 0 10px;
    margin: auto;
    color: #fff7ec;
}

#botmenu-bar__menu i {
    font-size: 1.3em;
}

#botmenu-bar__share {
    padding: 0 10px;
    color: #fff7ec;
    font-size: var(--botmenFontSize);
    cursor: pointer;
}

/* END bottom menu */

/* START sides */

.side-modal {
    display: none;
    overflow: hidden;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    position: fixed;
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background-color: white;
    z-index: 11;
    animation: slide-side 0.6s ease;
}

@keyframes slide-side {
    0% {
        opacity: 0.2;
        -webkit-transform: rotateY(150deg) scaleX(0.1) scaleY(0.2);
        transform: rotateY(150deg) scaleX(0.1) scaleY(0.2);
    }
    70% {
        transform: scale(1.15);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.side-modal__close-btn {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.side-modal__header {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 14vh;
    height: calc(var(--vh, 1vh) * 14);
}

.side-modal__header-inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;
    max-width: 770px;
    margin: 0 0 -20px 0;
    height: 14vh;
    height: calc(var(--vh, 1vh) * 14);
}

.side-modal__title {
    font-size: 1.8em;
    text-align: center;
    margin: 20px auto 15px auto;
    word-wrap: break-word;
    width: 90vw;
}

@media only screen and (max-width: 450px) {
    .side-modal__header-inner h1 {
        width: 100%; /* IE6 needs any width */
    }

    .side-modal__title {
        margin: 30px auto 15px auto;
    }
}

.side-modal__header-btn {
    font-size: 2.6em;
    color: #000000;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 2px;
}

.side-modal__header-exit-btn {
    font-size: 30px;
    border-radius: 4px;
    padding: 4px;
    color: white;
    background-color: #850000;
}

.side-modal__header-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    background-color: white;
    border-radius: 30px;
}

.side-modal__header-nav-left {
    border-right: 2px solid #cfcfcf;
}

.side-modal__header-nav-right {
    border-left: 2px solid #cfcfcf;
}

.side-modal__body {
    box-sizing: border-box;
    display: block;
    position: relative;
    margin: 0 10px 0 10px;
}

.side-modal__body header {
    box-sizing: border-box;
    text-align: center;
    position: relative;
    top: 10px;
    padding: 10px;
    border-radius: 2px;
    color: black;
    background-color: #d6d6d6;
    box-shadow: 0 1px 6px #00000088;
    z-index: 1;
}

.side-modal__body header * {
    box-sizing: border-box;
}

.side-modal__body main {
    box-sizing: border-box;
    position: relative;
    /* width: 94%; */
    margin: 10px auto 0 auto;
    padding: 10px;
    color: white;
    background-color: #4a4a4a;
    box-shadow: 0 1px 6px #00000088;
    border: 3px solid #000000;
    border-radius: 2px;
    z-index: 2;
}

.side-modal__body main * {
    box-sizing: border-box;
}

.side-modal__body footer {
    box-sizing: border-box;
    position: relative;
    padding: 10px;
    /* top: -10px; */
    border-radius: 2px;
    color: black;
    background-color: #d6d6d6;
    box-shadow: 0 1px 6px #00000088;
    z-index: 1;
}

/* .side-modal__body footer.side-six {
    margin-bottom: -10px;
} */

.side-modal__body footer * {
    box-sizing: border-box;
}

.side-modal__body-scroll {
    height: 86vh;
    height: calc(var(--vh, 1vh) * 86);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 10px 0 0 0;
}

.side-modal.is-active {
    display: flex;
}

.side-modal__overlay {
    width: 100%;
    background-color: #ffffff00;
}

/* END sides */

/* START Side 01 */

#s01-main div p {
    margin: 0;
    font-size: 1.1em;
}

/* END Side 01 */

/* START Side 02 */

#s02-header {
    /* top: -5px; */
    padding: 5px 5px 0 5px;
}

.fa-social::before {
    color: #717f98;
    font-size: 55px;
}

#share-container {
    display: flex;
    background-color: #dbdbdb;
    padding: 20px;
    flex-direction: column;
    margin-bottom: 20px;
}

#share-container p {
    color: black;
}

#share-email {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

#share-email input {
    opacity: 1;
    z-index: 0;
    position: static;
}

.share-email-btn {
    color: white !important;
    background-color: #8b7211 !important;
    border-radius: 4px !important;
    margin-bottom: 10px !important;
    padding: 10px !important;
    text-align: center !important;
    font-weight: 600 !important;
}

.share-email-btn:hover {
    color: white !important;
    background-color: #8b7211 !important;
}

.social-btn {
    color: white;
    background-color: #2959b3;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

.social-tabs {
    margin: 30px 0 0 0;
}

#social-fb-tab,
#social-tw-tab,
#social-follow-tab {
    display: flex;
    justify-content: center;
}

.social-content {
    text-align: center;
    overflow-x: hidden;
    left: 0;
    background: white;
    right: 0;
    padding: 20px;
    border: 1px solid #ccc;
}

.social-follow {
    overflow-y: auto;
}

.social-follow__button {
    margin: 3% 0 3% 0;
    padding: 0;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    background-color: #0059b4;
}

.social-follow__button-even {
    background-color: #909ead;
}

.social-follow__button-link {
    width: 80%;
}

.d4yqc-share-title {
    font-weight: 600;
}

@media (max-width: 450px) {
    .social-follow__button {
        margin: 5% 0 5% 0;
    }

    .social-follow__button-link {
        width: 98%;
    }
}

#social-follow-tab .social-content {
    display: flex;
    flex-direction: column;
    align-content: space-between;
    align-items: center;
    width: 100%;
    border-radius: 30px 0 30px 0px;
}

#social-follow-tab .social-content button:hover {
    color: #ffffff;
    background-color: black;
}

#social-fb-tab iframe,
#social-tw-tab iframe {
    height: 100% !important;
}

#social-fb-tab label,
#social-tw-tab label,
#social-follow-tab label {
    box-sizing: border-box;
    background: #c8c8c8;
    padding: 0 2px;
    border: 1px solid #ccc;
    margin-left: -1px;
    position: relative;
    left: 1px;
    width: 70px;
    display: inline-block;
    text-align: center;
}

#social-fb-tab [type='radio'],
#social-tw-tab [type='radio'],
#social-follow-tab [type='radio'] {
    display: none;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
}

[type='radio']:checked ~ label {
    background: white !important;
    z-index: 2;
}

[type='radio']:checked ~ label i::before {
    color: #0059b4;
}

[type='radio']:checked ~ label ~ .social-content {
    z-index: 1;
}

/* END Side 02 */

/* START Side 06 */

#qube__contact-map {
    padding: 6px;
}

#map-address {
    text-align: center;
    margin-top: 20px;
}

#map-address__header {
    float: left;
    padding: 5px;
    font-size: 0.9em;
}

#map-container {
    background-color: #00000066;
    margin-top: 20px;
    border-radius: 0 0 20px 20px;
}

#map-address__content {
    clear: both;
    padding: 0;
    font-size: 1.1em;
}

#map-address__content p {
    padding: 0;
    margin: 0;
}

.contact-btn {
    display: block;
    color: white;
    background-color: #2959b3;
    border: 2px solid #1a3e7b;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

.contact-hours-time {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    color: rgb(0, 0, 0);
    padding-left: 20px;
    padding-right: 20px;
}

.contact-instructions {
    padding: 20px;
}

.contact-photo {
    margin: auto;
    width: 70%;
    border-radius: 2px;
}

.contact-snail-mail {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 100%;
    max-width: 100%;
    border-top: 4px solid #2959b3;
    border-bottom: 4px solid #2959b3;
    background-color: #ffffffb8;
    padding: 20px 20px 0 20px;
    margin: 5px 0 15px 0;
    color: #2959b3;
}

.contact-text {
    font-size: 0.85em;
    font-weight: 600;
    padding: 10px;
    color: #ffe7b2;
}

.contact-field-fmt {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

.contact-field-fmt span {
    width: 94%;
    text-align: center;
}

/* END Side 06 */

/* START WP Frontend Admin styles */

.wpfa-floating-edit-button {
    margin: 70px 5vmin;
    max-width: 50px;
    max-height: 50px;
    outline: 5px solid white;
    background-color: #891010 !important;
}

.wpfa-floating-edit-button span {
    line-height: 50px !important;
}

/* END WP Frontend Admin styles */

/* START cube */

.viewport__cube {
    position: relative;
    margin: 0 auto;
    height: var(--cubeWidth);
    width: var(--cubeWidth);
    max-height: 75vmin;
    max-width: 75vmin;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateX(136deg) rotateY(45deg);
    -moz-transform: rotateX(136deg) rotateY(45deg);
    -ms-transform: rotateX(136deg) rotateY(45deg);
    -o-transform: rotateX(136deg) rotateY(45deg);
    transform: rotateX(136deg) rotateY(45deg);
}

/* Bottom button icon rotation animation */
.viewport__cube-animate {
    transition: transform 1s;
    transition-timing-function: ease-out;
}

.viewport__cube > div {
    position: absolute;
    opacity: 1;
    height: 100.2%;
    width: 100.2%;
    background-color: #b2c1d8;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.viewport__cube > div > .side__preview {
    width: var(--cubeWidth);
    height: var(--cubeWidth);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: color 300ms;
    -moz-transition: color 300ms;
    -o-transition: color 300ms;
    transition: color 300ms;
}

.viewport__cube > div:hover {
    cursor: pointer;
}

.viewport__cube > div:active {
    cursor: pointer;
}

.viewport__cube > div:first-child {
    -webkit-transform: rotateX(90deg) translateZ(var(--cubeTransZ));
    -moz-transform: rotateX(90deg) translateZ(var(--cubeTransZ));
    -ms-transform: rotateX(90deg) translateZ(var(--cubeTransZ));
    -o-transform: rotateX(90deg) translateZ(var(--cubeTransZ));
    transform: rotateX(90deg) translateZ(var(--cubeTransZ));
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

.viewport__cube > div:nth-child(2) {
    -webkit-transform: translateZ(var(--cubeTransZ));
    -moz-transform: translateZ(var(--cubeTransZ));
    -ms-transform: translateZ(var(--cubeTransZ));
    -o-transform: translateZ(var(--cubeTransZ));
    transform: translateZ(var(--cubeTransZ));
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

.viewport__cube > div:nth-child(3) {
    -webkit-transform: rotateY(90deg) translateZ(var(--cubeTransZ));
    -moz-transform: rotateY(90deg) translateZ(var(--cubeTransZ));
    -ms-transform: rotateY(90deg) translateZ(var(--cubeTransZ));
    -o-transform: rotateY(90deg) translateZ(var(--cubeTransZ));
    transform: rotateY(90deg) translateZ(var(--cubeTransZ));
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

.viewport__cube > div:nth-child(4) {
    -webkit-transform: rotateY(180deg) translateZ(var(--cubeTransZ));
    -moz-transform: rotateY(180deg) translateZ(var(--cubeTransZ));
    -ms-transform: rotateY(180deg) translateZ(var(--cubeTransZ));
    -o-transform: rotateY(180deg) translateZ(var(--cubeTransZ));
    transform: rotateY(180deg) translateZ(var(--cubeTransZ));
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

.viewport__cube > div:nth-child(5) {
    -webkit-transform: rotateY(-90deg) translateZ(var(--cubeTransZ));
    -moz-transform: rotateY(-90deg) translateZ(var(--cubeTransZ));
    -ms-transform: rotateY(-90deg) translateZ(var(--cubeTransZ));
    -o-transform: rotateY(-90deg) translateZ(var(--cubeTransZ));
    transform: rotateY(-90deg) translateZ(var(--cubeTransZ));
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

.viewport__cube > div:nth-child(6) {
    -webkit-transform: rotateX(-90deg) rotate(180deg) translateZ(var(--cubeTransZ));
    -moz-transform: rotateX(-90deg) rotate(180deg) translateZ(var(--cubeTransZ));
    -ms-transform: rotateX(-90deg) rotate(180deg) translateZ(var(--cubeTransZ));
    -o-transform: rotateX(-90deg) rotate(180deg) translateZ(var(--cubeTransZ));
    transform: rotateX(-90deg) rotate(180deg) translateZ(var(--cubeTransZ));
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

/* END cube */

@media (min-width: 721px) {
    .nav__viewport {
        -webkit-transform: scale(0.5, 0.5);
        -moz-transform: scale(0.5, 0.5);
        -ms-transform: scale(0.5, 0.5);
        -o-transform: scale(0.5, 0.5);
        transform: scale(0.5, 0.5);
        -webkit-perspective-origin: 50% 160px;
        -moz-perspective-origin: 50% 160px;
        -ms-perspective-origin: 50% 160px;
        -o-perspective-origin: 50% 160px;
        perspective-origin: 50% 160px;
    }
}

@media (max-width: 720px) {
    .nav__viewport {
        -webkit-transform: scale(0.7, 0.7);
        -moz-transform: scale(0.7, 0.7);
        -ms-transform: scale(0.7, 0.7);
        -o-transform: scale(0.7, 0.7);
        transform: scale(0.7, 0.7);
        -webkit-perspective-origin: 50% 180px;
        -moz-perspective-origin: 50% 180px;
        -ms-perspective-origin: 50% 180px;
        -o-perspective-origin: 50% 180px;
        perspective-origin: 50% 180px;
    }
}

@media (max-width: 450px) {
    .nav__viewport {
        /* -webkit-transform: scale(0.8, 0.8);
        -moz-transform: scale(0.8, 0.8);
        -ms-transform: scale(0.8, 0.8);
        -o-transform: scale(0.8, 0.8);
        transform: scale(0.8, 0.8); */
        -webkit-perspective-origin: 50% 200px;
        -moz-perspective-origin: 50% 200px;
        -ms-perspective-origin: 50% 200px;
        -o-perspective-origin: 50% 200px;
        perspective-origin: 50% 200px;
    }
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    #drag:after {
        display: block;
    }
}
