@font-face {
    font-family: "Rubik";
    src: url("/resources/fonts/Rubik/Rubik-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Asleepytiming";
    src: url("/resources/fonts/Asleepy/Asleepytiming-1GaEZ.ttf") format("truetype");
}

@font-face {
    font-family: "Boomer";
    src: url("/resources/fonts/Boomer/BoomerTantrum.ttf") format("truetype");
}

/*
 * https://weblog.west-wind.com/posts/2016/Feb/15/Flexbox-Containers-PRE-tags-and-managing-Overflow
 *
 * Note that we only need min-width style.
 */

html, body, div, span,  object, iframe, table, caption, tbody, tfoot, thead, tr, th, td,
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, article, main, nav, ins {
    min-width: 0;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    height: 100%;
}
body {
    height: 100%;
    line-height: 1.7em;
}
@media (min-width: 48em) {
    body { font-size: 16px; }
}

a {
    color: var(--bg-vb-blue-main);
}
a:hover {
    color: var(--bg-main);
    background-color: var(--bg-vb-blue-main);
}

table {
    width: 100%;
    margin-bottom: 1em;
    border-collapse: collapse;
}
tbody tr:nth-child(odd) td, tbody tr:nth-child(odd) th {
    background-color: var(--bg-dim);
}
td, th { padding: .25em .5em; border: 1px solid var(--bg-alt); }

details {
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: .5em .5em 0;
}

summary {
    font-weight: bold;
    margin: -.5em -.5em 0;
    padding: .5em;
}

details[open] {
    padding: .5em;
}

details[open] summary {
    border-bottom: 1px solid #aaa;
    margin-bottom: .5em;
}

pre {
    font-size: 0.8rem;
    line-height: 1.4em;
    padding: 0.6em;
    overflow: auto;
}

img {
    height: auto;
    max-width: 100%;
}

img.icon {
    height: 20px;
    vertical-align: middle;
}


/**                                                 Menu **/
.ddmenu { display: flex; }
.ddmenu a:hover {
    cursor: pointer;
}
.ddmenu a, .ddmenu .ddgroup {
    padding: 15px;
    text-decoration: none;

    /* a transparent background, assuming the background is dark enough. */
    color: #eee;
    background-color: transparent;
}
/* on hover, highlight the menu item. */
.ddmenu a:hover, .ddmenu .ddgroup:hover {
    color: var(--bg-vb-blue-main);
    background-color: rgba(255,255,255,0.6);
}

@media screen and (min-width: 1024px) {
    .ddmenu {
        float: right;
        margin-right: 10%;
    }
    .ddmenu a, .ddmenu .ddgroup {
        padding: 14px 24px;
        white-space: nowrap;
    }
}

.ddmenu .ddgroup { position: relative;  }
.ddsub {
    top: 100%;
    right: 0;
    display: none;
    background-color: rgba(255,255,255,0.95);
}
@media screen and (min-width: 1024px) {
    .ddsub { position: absolute; }
}
.ddgroup a {
    color: var(--bg-vb-blue-main);
}
.ddsub a {
    display: block;
    box-sizing: border-box;
}
.ddmenu {
    align-items: center;
}
.ddmenu, .pure-menu-fixed { z-index: 3; }
.ddgroup:hover .ddsub { display: block; }
@media screen and (max-width: 640px) {
    .ddmenu { flex-wrap: wrap; }
    .ddsub {
        position: static;
        max-width: 70vw;
        margin: 18px auto 0 auto;
    }
}

#paid-service-back-menu {
    width: 100%;
    font-size: 1.2em;
    position: absolute;
    top: 75px;
    padding: 0 8vw;

}
.paid-service-menu {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#paid-service-top-menu-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 1.2rem;
}

#hamnav {
    width: 100%;
    font-weight: 500;
    z-index: 6;
}
#hamnav label, #hamburger {
    margin-top: 5px;
    display: none;
    color: #eee;
    cursor: pointer;
}
.hamnav-add-bg-color {
    color: #eee;
    background: var(--bg-vb-blue-main) !important;
}
.hamnav-add-bg-color label {
    color: #eee !important;
}
.heading-logo {
    float: left;
    height: 60px;
    margin-top: 0.25em; /* very bad hack to vertically align logo */
    margin-left: 5.5em;
}
.heading-logo:hover {
    color: var(--bg-vb-blue-main);
}
.heading-logo img {
    height: 90px;
    margin-top: -25px;
    vertical-align: middle;
}
/* hover on the heading-logo sets a background color, we don't want that. */
.heading-logo:hover {
    background-color: transparent !important;
}

@media screen and (max-width: 1024px) {
    .ddmenu a, .ddmenu .ddgroup {
        color: var(--bg-vb-blue-main);
        background-color: rgba(255,255,255,0.85);
    }
    .heading-logo {
        text-align: center;
        float: none;
        margin-left: 0;
    }
    #hamitems span { display: none; }
    #hamitems a {
        box-sizing: border-box;
        display: block;
        width: 100%;
    }

    #hamnav label {
        display: inline-block;
        font-style: normal;
        font-size: 1.2em;
        padding: 10px;
        position: absolute;
        right: 0;
    }

    #hamitems { display: none; }
    #hamnav input:checked ~ #hamitems { display: block; }

    #paid-service-top-menu-center { display: none; }
    .paid-service-menu { display: inline-block; }
}

/* Content styles ************************************************************/
.web-and-mobile-apps-animation {
    margin-top: 1.5em;
    height: 300px;
    width: 100%;
}


/* body-contents: wraps the entire body (not the footer)
 * content: wraps specific sections
 * content-box: outer class for some sections (as cards)
 */
.body-contents {
    padding: 1em 2em;
    flex-grow: 1;
    background: white;
}
.content-box { padding: 1em 0; }
@media screen and (min-width: 35.5em) {
    .body-contents { padding: 2em 4%; }
    .content       { padding: 1em 0; }
    .content-box   { padding: 2em 0; }
}
@media screen and (min-width: 48em) {
    .body-contents { padding: 2.5em 6%; }
    .content       { padding: 1.5em 0; }
    .content-box   { padding: 2.2em 0; }
}
@media screen and (min-width: 64em) {
    .body-contents { padding: 3em 8%; }
    .content       { padding: 2.4em 0; }
    .content-box   { padding: 2.4em 0; }
}
@media screen and (min-width: 80em) {
    .body-contents { padding: 4em 10%; }
    .content-box   { padding: 2.5em 0; }
}

.body-contents.wide {
    padding: 0 4%;
}

.body-contents.wide .strip .text {
    padding: 3vw 15%;
    border-radius: 30px;
}

.body-contents.wide .strip.left .text {
    background-color: var(--bg-vb-blue-alt);
}

.body-contents.wide .strip.right .text {
    background-color: var(--bg-vb-blue-main);
    color: white;
}
.body-contents.wide .strip.right h4 {
    color: white;
}

.body-contents.wide .strip.right .text a {
    color: white;
}

.body-contents.wide .strip {
    margin-top: 4vw;
}

.body-contents.wide .illustration {
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .body-contents.wide .strip.left .illustration > div {
        position: relative;
        right: -10%;
    }

    .body-contents.wide .strip.right .illustration > div {
        position: relative;
        left: -10%;
    }
}

.body-contents.wide .tech-review-section {
    background-color: var(--bg-vb-alt);
    margin-top: 3vw;
    border-radius: 30px;
    padding: 3vw 5%;
}

.body-contents.wide .tech-review-section .pure-u-1:nth-child(2n+1) .is-card {
    background-color: white;
}

/* This is the class used for the main content headers (<h2>) */
.content-head, .content-head-without-transform  {
    color: var(--bg-vb-blue-main);
    font-weight: 400;
    letter-spacing: 0.1em;
    /* margin: 2em 0 1em; */
}
.head-transform { text-transform: uppercase; }
.content-head { text-transform: uppercase; }
.content-head-ribbon { color: white; }
.content-subhead { color: var(--bg-vb-blue-main); }
.content-subhead i { margin-right: 7px; }
.footer .content-head, .footer .content-sub-head { color: #fff; }

/* Advisory page */

.advisory-free-guide {
    margin: 3vw 0;
}

.card-background-dark {
    color: var(--bg-main);
    background: var(--bg-vb-blue-main);
}

.card-background-dark a,
.card-background-dark p,
.card-background-dark h3,
.card-background-dark h4 {
    color: var(--bg-main);
}
.card-background-light {
    background: var(--bg-vb-blue-alt);
}

.contents-centered {
    display: flex;
    align-contents: center;
}
.contents-vertically-centered {
    display: flex;
    flex-direction: column;
    align-contents: center;
}

/* Recent projects */

.recent-projects {
    color: var(--bg-vb-blue-main);
    padding-top: 0;
    padding-bottom:0;

}
.recent-projects button { top: 74% !important; }

.recent-projects-content {
    min-height: 500px;
    max-height: 500px;
    overflow: hidden;
    position: relative;
    mix-blend-mode: hard-light;
}
.read-more {
    width: 100%;
    margin: 0;
    padding-bottom: 10px;
    padding-left: 2ch;
}

.glider-slide {
    margin: 10px;
    box-shadow: 2px 2px 4px 3px #ddd;
    border-radius: 10px;
}

.glider-content h3, .glider-content .recent-projects-content {
    padding: 0 20px;
}

/* inverted fancy things - used on isdc2023 page */
.inverted-fancy-heading {
    color: #ffffff;
    background-color: var(--bg-vb-blue-main);
    padding: 1em;
    border-radius: 4em 0;
}
.inverted-fancy-div {
    color: #ffffff;
    background-color: var(--bg-vb-blue-main);
    padding: 1em;
    border-radius: 4em 0;
}
.inverted-fancy-div .content-head {
    color: #ffffff;
}
.inverted-fancy-div li {
    color: #ffffff;
    background: url('/resources/img/Star-White.svg') no-repeat left top;
}

/* content-wrapper, wraps the main body */
.content-wrapper {
    position: absolute;
    top: 100px;
    width: 100%;
    background: white;
    height: 100%;
    display:flex;
    flex-direction: column;
}
.content-wrapper ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.content-wrapper li {
    font-family: Rubik;
    background: url('/resources/img/Star.svg') no-repeat left top;
    background-size: 20px;
    padding-left: 32px;
    display: block;
    margin-top: 10px;
}
/* Modifications to li, ul */
.li-has-no-stars ul { padding-left: 4ch; }
.li-has-no-stars li { background: none; padding-left: 0; }

.li-default li { display: list-item; }
.li-has-disc li { display: list-item; list-style-type: disc; }

/* Used in Web & Mobile Apps */
.ul-has-some-top-padding ul { padding-top: 1ch; }
.ul-has-no-top-padding ul { padding-top: 0; }
.ul-has-no-left-padding ul { padding-left: 0; }
.li-has-ticks-before li:before { content: '✓ '; }

/* Used in case study module */
.li-has-icon img {
    max-height: 48px;
    vertical-align: middle;
}
.li-has-icon {
    display: block;
}

/* Landing header ************************************************************/
:root { --landing-header-height: 75vh }
@media screen and (min-height: 600px) {
    :root { --landing-header-height: 65vh }
}
@media screen and (min-height: 700px) {
    :root { --landing-header-height: 58vh }
}
@media screen and (min-height: 800px) {
    :root { --landing-header-height: 50vh }
}
@media screen and (min-height: 1600px) {
    :root { --landing-header-height: 800px }
}
.landing-header {
    position: fixed;
    width: 100%;
    text-align: center;
    background: #305f82;
    height: var(--landing-header-height);
    line-height: 50vh;
}
.landing-header + .content-wrapper {
    z-index: 4;
    top: var(--landing-header-height);
    position: absolute;
}

.landing-header .systems-illustration {
    position: absolute;
    bottom: 0;
    right: 10px;
    max-width: 25%;
    max-width: min(35vw, 40vh);
    z-index: 2;
}

.landing-header .circle-cutout {
    position: absolute;
    bottom: -5px;
    left: 0;
    z-index: -1;
    max-height: 100%;
    min-width: 100%;
}
.container3d {
    width: 100%;
    margin: auto;
    height: 100%;
}
.splash-head {
    color: #eee;
    font-family: verdana;
    border-radius: 5px;
    line-height: 1.5em;
    display: inline-block;
    /* vertical-align: middle; */
    text-align: left;

    position: absolute;
    top: calc(45% - 25px);
    left: calc(50% - 40vw);
    width: 65vw;
    z-index: 2;
    font-weight: normal;
}
.splash-head-heading {
    font-family: Boomer;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-align: center;
    font-weight: 700;
    font-size: 2.5em;
    width: 80vw;
    line-height: 1em;
}
.splash-head.text .splash-head-heading {
    text-align: left;
}

.splash-head.text {
    top: calc(40% - 80px);
    left: 10%;
    right: 10%;
}
@media (max-width: 800px) {
    .splash-head.text {
        top: calc(40% - 80px);
        width: auto;
    }
    @media (max-height: 300vw) {
        .splash-head.text {
            font-size: 14px;
            line-height: 1.2em;
        }
        .splash-head.text .splash-head-heading {
            font-size: 1.8em;
        }
    }
}
@media (max-width: 720px) {
    .splash-head.text {
        top: calc(40% - 100px);
    }
    .body-contents {
        padding: 1em 0.5em;
    }
    .glider-prev, .glider-next {
        display: none;
    }
}

@media (max-height: 600px) {
    .splash-head.text {
        font-size: 14px;
        line-height: 1.2em;
    }
    .splash-head.text h1 {
        margin-bottom: 0;
    }
}
.splash-img {
    max-width: 256px;
    margin-top: calc(25vh - 60px);
}

/* Card layout ***************************************************************/
.is-card {
    padding: 1.6em;
    margin: 1em;
    color: var(--bg-vb-blue-main);
    border-radius: 8px;
    box-shadow: 2px 2px 4px 3px #ddd;
    height: calc(100% - 32px);
}
.has-card-shadow, .pricing-card {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.has-card-shadow:hover, .pricing-card:hover {
    box-shadow: rgba(50, 50, 93, 0.1) 0px 13px 27px -5px, rgba(0, 0, 0, 0.15) 0px 8px 16px -8px;
}
.is-card .content-subhead { text-align: center; }
.is-card img { max-width: 36%; margin: auto; }

.linked-card a:link,
.linked-card a:visited,
.linked-card a:hover,
.linked-card a:active  {
    text-decoration: none;
}

.cards-section {
    justify-content: center;
}
.cards-section-animated {
    position: relative;
}

/* classes related to animating the cards */
.cards-animated {
    transition: all 1s cubic-bezier(0.68,-.55,.265,1.55);

    perspective: 1000;
    -ms-transform: perspective(1000px);
    -moz-transform: perspective(1000px);
    -ms-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
}

.cards-animation-positioning {
    position: absolute;
}

/* Pricing *******************************************************************/
.pricing .content-subhead {
    font-size: 150%;
    background-color: var(--bg-vb-blue-main);
    color: #fff;
    border-radius: 0.2em;
    padding: 1em;
    margin: 0.8em;
}
.pricing .is-card {
    text-align: left;
    padding: 0.64em;
    margin: 0.64em;
}
@media (min-width: 76em) {
    .pricing .is-card { margin: 2em; }
}
.pricing li { line-height: 2.4; }

/* Company *************************************************************/
.company-intro {
    line-height: 48px;
    padding-top: 80px;
}
.company-intro > div:nth-child(2) { margin-top: 40px; }
.company-intro > div + div { white-space: nowrap; }
.company-intro img, .company-we-have-a img {
    vertical-align: middle;
    max-height: 100px;
    display: inline;
}
.company-intro .big-blue, .company-we-have-a .big-blue {
    font-family: Asleepytiming;
    color: var(--bg-vb-blue-main);
    font-size: 48px;
}
.company-intro span { font-size: 22px; }
.company-we-have-a img { margin-top: 10px; }
.company-intro .content-head { text-transform: lowercase; }
.company-intro p, .company-we-have-a p { font-size: 1.6em; }

.company-commitment {
    text-align: center;
}

.company-commitment > div {
    text-align: left;
    display: inline-block;
    width: 500px;
}
.company-commitment p {
    white-space: nowrap;
}
.company-commitment p:nth-child(2) {
    margin-left: 5%;
}
.company-commitment p:nth-child(3) {
    margin-left: 10%;
}

.starter-packages > div {
    margin-top: 30px;
    font-weight: bold;
}
.starter-packages > div:nth-child(2) {
    font-style: italic;
    margin-left: 30px;
    font-weight: normal;
}

.management .quote {
    font-style: italic;
    font-size: 0.9em;
    display: inline-block;
}
.management .job-title {
    margin-top: -16px;
}

.avatar {
    width: 256px;
    margin: 10px;
    border-radius: 500px;
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
}

/* Step box ******************************************************************/
.step-box {
    height: 120px;
    width: 8%;
    background-color: rgb(0,100,130);
    display: inline-block;
    vertical-align: middle;
    border-radius: 0;
    padding: 5px;
    text-align: right;
    line-height: 100px;
}
.step-box.right { border-top-right-radius: 10px; }
.step-box.left { border-top-left-radius: 10px; }
.step-box.bottom-right { border-bottom-right-radius: 10px; }
.step-box.bottom-left { border-bottom-left-radius: 10px; }
.step-item {
    margin-left: 40px;
    display: inline-block;
}
@media screen and (max-width: 64em) {
    .step-box {
        display: none;
        width: 100px;
        background-color: transparent;
    }
    .step-box.right { display: inline-block; }
}


@media screen and (max-width: 720px) {
    .step-box {
        width: 14vw;
        height: 100px;
        line-height: 80px;
    }
    .company-intro img {
        width: 14vw;
    }
    .step-item {
        margin-left: 4vw;
    }
    .company-intro .big-blue {
        font-size: 6.8vw;
    }
    .company-intro span, .company-intro p {
        font-size: 4vw;
    }
}

@media screen and (max-width: 500px) {
    .step-box {
        width: auto;
        max-width: 14vw;
        height: 80px;
        line-height: 60px;
    }
    .company-intro img {
        width: 60px;
    }
    .company-intro .big-blue {
        font-size: 34px;
    }
    .company-intro span, .company-intro p {
        font-size: 20px;
    }
    .company-commitment > div {
        width: 100%
    }
}

/* Header background video ***************************************************/
#background-video {
    height: var(--landing-header-height);
    width: 100vw;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    object-fit: cover;
}
@media screen and (min-height: 1600px) and (min-width: 1422px) {
    #background-video {
        top: calc(400px - 28vw);
        min-height: calc(var(--landing-header-height) + abs(400px - 28vw));
        height: auto
    }
}

/* General *******************************************************************/
.is-center { text-align: center; }
.is-left-float { float: left; }
.is-left-spaced { padding-left: 8ch; }
.is-right-spaced { padding-right: 8ch; }
.is-centered-div {
    display: flex;
    justify-content: center;
}

.has-asleepytiming-font { font-family: Asleepytiming; }

.img-shrinked {
    max-width: 70%;
    margin: auto;
}
@media (max-width: 512px) {
    .img-shrinked {
        max-width: 60%;
        padding: 2ch;
    }
}
@media (min-width: 768px) {
    .img-padding-lg { padding: 8ch 1ch; }
}

.footer {
    display: block;
    text-align: center;
    margin: auto;
    padding: 6.4em 0;
    color: #DACCC3 !important;
    width: 100%;
}
.footer #powered-by {
    margin-top: 2rem;
}
.footer #powered-by-text {
    margin-right: 8px;
}
.footer img {
    position: absolute;
    max-width: 32px;
}

.is-hidden { display: none; }
.note {
    background-color: var(--cyan-subtle-bg);
    padding: 2ch 1ch;
    margin: 1ch 0;
}
.success { background-color: var(--green-subtle-bg); }
.failure { background-color: var(--red-subtle-bg); }

/* Download button on Point Drag Controls */
.download-button {
    white-space: normal !important;
}
@media screen and (min-width: 512px) {
    .counter {
        background-color: var(--cyan-subtle-bg);
        color: black;
        padding: 1.2ch;
    }
}

/* Video on homepage */
.intro-text {
    color: rgba(80,120,150);
    text-shadow: 2px 2px 2px #ccc;
    font-size: 45px;
    margin: auto;
    line-height: 1.5;
}
.intro-text-parent {
    padding: 2ch;
    margin: auto;
}
.intro-text-parent .content-head {
    line-height: 1.4;
}

.has-some-padding {
    padding: 1em;
}

/* notes on isdc2023 page */
.has-small-font {
    font-size: 0.8rem;
    line-height: 1em;
}

.has-extra-left-indent {
    margin-left: 4ch;
}

/* Captcha */
.captcha-div {
    display: none;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 0.4em;
    padding: 0.4em;
    width: 100%;
    justify-content: center;
}
.captcha-div #captcha-solution {
    flex-grow: 1;
}
.captcha-div #captcha-image {
    max-width: 240px;
}
/* https://stackoverflow.com/questions/45086899/flexbox-item-wrap-to-a-new-line */
.captcha-div .line-break {
    width: 100%;
}
.captcha-options {
    width: 100%;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}
.captcha-option {
    flex-basis: 120px;
    /* border: 1px var(--bg-vb-blue-main) solid; */
    /* border-radius: 10px; */
    padding: 8px;
}
.captcha-option img {
    max-width: 85%;
    box-shadow: rgba(144, 204, 144, 0.4) 0px 4px, rgba(144, 204, 144, 0.2) 0px 8px, rgba(144, 204, 144, 0.1) 0px 12px;
}
/* HIDE RADIO */
.captcha-div [type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* IMAGE STYLES */
.captcha-div [type=radio] + img {
    cursor: pointer;
}

/* CHECKED STYLES */
.captcha-div [type=radio]:checked + img {
    outline: 4px dashed rgba(144, 204, 144, 0.8);
    outline-offset: 4px;
}

.status, .status-alt {
    padding: 0.8em;
    margin: 0.6em 0;
}
.isdc-banner {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 2rem 0;
    margin: 2em 0;
}

.account-login-form, .account-register-form {
    padding: 0 1em;
}

form .strength {
    width: 100%;
}
#submit-button {
    width: 100%;
}
.account-form {
    max-width: 40em;
    margin: auto;
    margin-top: 2.4em;
}

.button-error {
    background-color: var(--red-subtle-bg);
}

/*
 * Blog Post
 * ---------------------------------------------------------------------
 */
.blogpost-entry-date {
    color: var(--fg-alt);
    font-size: 0.9em;
}
.blogpost-category, .blogpost-category-tags-post-page {
    color: var(--fg-special-warm);
    font-size: 0.9em;
}

.interactive-form {
    margin: 0 5%;
    padding: 20px 5%;
    background-color: rgb(250,250,250);
    border-radius: 5px;
}

.interactive-form-no-padding {
    padding: 0;
}

/*
 * Invoice
 * ---------------------------------------------------------------------
 */

.invoice-paper-print {
    margin: 40px 5%;
    padding: 40px 5%;
    box-shadow: 2px 2px 4px 4px #aaa;
}

.invoice-paper-print .invoice-table,
.invoice-paper-print .task-table,
.invoice-paper-print .client-section,
.invoice-paper-print .invoice-payment-details {
    font-size: 16px;
}
.invoice-paper-print .invoice-payment-details-title {
    font-size: inherit;
}

.invoice-tasks {
    margin-top: 1em;
    margin-bottom: 1em;
}

.content-wrapper .invoice-payment-details li {
    margin-top: 2px;
}


/* these queries are for dynamic-business-growth & tailored-web-automation */
@media screen and (min-width: 1422px) {
    .content-float-left { max-width: 58%; }
    .contact-form-float-right {
        float: right;
        max-width: 40%;
        margin-top: -150px;
    }
}

/* bottom-strip on homepage */
.home-bottom-strip .card {
    padding: 1.6em;
    margin: 1em;
    color: var(--bg-vb-blue-main);
    text-align: center;
}
.home-bottom-strip .card img {
    max-width: 36%;
    margin: auto;
}
.home-bottom-strip .img-card img {
    max-width: 75%;
}
.home-bottom-strip .img-card,
.home-bottom-strip .img-card > a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-bottom-strip .img-card a:hover {
    background: unset;
}

/* class for video card on homepage */
.home-video-card {
    max-width: 95%;
}

/* video cards on the homepage */
.home-video {
    grid-area: video;
    display: inline-block;
}
.home-text {
    grid-area: text;
    display: inline-block;
    display: flex;
    align-items: center;
}
.home-video-card-wrapper-right, .home-video-card-wrapper-left {
    display: grid;
    gap: 20px;
    grid-template-areas:
        "text"
        "video"
    ;
}
@media (min-width: 768px) {
    .home-video-card-wrapper-right {
        grid-template-columns: 1fr 2fr;
        grid-template-areas: "text video";
    }
    .home-video-card-wrapper-left {
        grid-template-columns: 2fr 1fr;
        grid-template-areas: "video text";
    }
}

.admin-invoice-action a {
  margin-right: 8px;
}

@keyframes slideIn {
    from {
        transform: translateY(50%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-50%);
        opacity: 0;
    }
}

.hall-of-achievement-card {
    display: flex;
    animation: slideIn 0.5s ease-in-out;

    position: relative;
    padding: 1.6em;
    margin: 1em;
    color: var(--bg-vb-blue-main);
    border-radius: 8px;
    /* box-shadow: 2px 2px 4px 3px #ddd; */
    height: calc(100% - 32px);
}

.hall-of-achievement-card h4 {
    margin-bottom: 0;
}

.hall-of-achievement-profile {
    display: flex;
    text-align: left;
    gap: 15px;
}


.award-container {
    display: table;
    text-align: left;
}

.award-container > div {
    display: table-row;
}

.award-container > div > div {
    display: table-cell;
    vertical-align: top;
}

.award-container > div > div:first-child {
    width: 100px;
    padding-right: 15px;
}


.hall-of-achievement-profile img { width: 120px; margin: auto; }

.hall-of-achievement-card.hide {
    animation: slideOut 0.5s ease-in-out;
}
.achievement-avatar {
    border-radius: 500px;
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
    width: 100%;
}

/*.award-container {
    width: 100px;
    position: absolute;
    top: 20px;
    right: 0px;
}*/

.hall-of-achievement-card .profile-subtext {
    font-style: italic;
    font-size: 0.9em;
    max-width: 500px;
    display: inline-block;
}
@media (max-width: 48em) {
    .hall-of-achievement-profile {
        text-align: left;
    }
    .hall-of-achievement-profile img {
        margin-left: unset;
    }
    .award-container { right: 10px; }
}

.advisory-guide-pdf {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.advisory-guide-pdf a:hover {
    background-color: transparent;
}

/* Booking Form */

.booking-form-inline {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    max-width: 100%;
    display: flex;
    align-items: stretch;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.booking-form-inline .form-group {
    margin-bottom: 0;
    flex: 1;
    flex-basis: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.booking-form-inline .price-summary-group {
    min-width: 150px;
}

.booking-form-inline .price-summary {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.booking-form-inline .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.booking-form-inline .final-price {
    padding-top: 15px;
    border-top: 1px solid var(--bg-alt);
    font-weight: bold;
}

.booking-form-inline .project-size-group {
    min-width: 150px;
}

.booking-form-inline .size-selector-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-form-inline .project-description {
    font-size: 0.85em;
    font-style: italic;
    margin-bottom: auto;
}

.booking-form-inline .radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-form-inline .radio-item {
    display: flex;
    align-items: center;
}

.booking-form-inline .radio-item input[type="radio"] {
    margin-right: 10px;
}

.booking-form-inline .payment-info {
    font-size: 0.9em;
}

.booking-form-inline button {
    width: 100%;
    margin-top: auto;
}

.booking-form-inline .content-head {
    flex-basis: 100%;
    margin: 0;
    margin-bottom: -20px;
    text-align: left;
}

.is-card .booking-form-inline {
  background: rgba(0,0,0,0.05);

}
.card-background-dark .booking-form-inline {
    color: white;
    background: rgba(0,0,0,0.1);
}

.is-card .booking-form-inline .final-price {
    border-top: 1px solid var(--fg-alt)
}
.card-background-dark .booking-form-inline .final-price {
    border-top: 1px solid var(--bg-alt)
}

.cards-section-vertical {
    flex-direction: column;
    justify-content: center
}
.linked-card.management > div {
    display: flex;
    padding: 1.6em;
    margin: 1em;
    color: var(--bg-vb-blue-main);
    height: calc(100% - 32px);
}
.linked-card.management .avatar-link {
    display: flex;
    align-items: center;
}
.linked-card.management .avatar-link:hover {
    background-color: unset;
}
.linked-card.management img.avatar {
    height: 120px;
    width: 120px;
}
.linked-card.management > div .text-section {
    flex: 1;
    margin-left: 25px;
}

div.workshop.payment-widget {
    float: right;
    margin: 0 0 30px 30px;
    min-height: 400px;
}
div.workshop.payment-widget.fully-booked,
div.workshop.payment-widget.registration-closed {
    font-weight: 600;
    border: 1px dashed black;
    padding: 10px;
    min-height: 150px;
}
