
/* ===== Theme Colours ===== */
.bg-primary {
    background-color: #13175a !important; /* Plum */
}
.bg-secondary {
    background-color: #EDF2EF !important; /* Light Gray */
}
.bg-tertiary {
    background-color: #006183 !important; /* Teal */
}
.bg-quaternary {
    background-color: #B86B1F !important; /* Mustard */
}
.bg-quinary {
    background-color: #497E5D !important; /* Mint */
}
.bg-sextary {
    background-color: #851B7E !important; /* Dark Plum */
}

.bg-light {
    background-color: #f5f5f5 !important;
}
.bg-dark {
    background-color: #313131 !important;
}

.btn-primary {
    background-color: #13175a !important;
    border-color: #13175a !important;
}
.list-group-item.active {
    background-color: #d0ccd0;
    border-color: #d0ccd0;
}
.nav-pills .nav-link.active {
    background-color: #851B7E;
    border-color: #851B7E;
}

/* ===== Generic class overrides / tools ===== */
.text-primary {
    color: #851B7E !important;
}
.text-grey {
    color: #ccc;
}
.modal-xlg {
    max-width: 80%;
}
.modal-overflow {
    overflow: auto;
}
.is-d-none {
    display: none;
}
.minh-150 {
    min-height: 150px;
}
.minh-200 {
    min-height: 200px;
}
.maxh-55vh {
    max-height: 55vh;
}
.h-100vh {
    height: 100vh;
}
.h-60vh {
    height: 60vh;
}
.h-40vh {
    height: 40vh;
}
.b-0 {
    bottom: 0;
}
.z-index-1 {
    z-index: 1;
}
.z-index-2 {
    z-index: 2;
}
.z-index-3 {
    z-index: 3;
}
.my-1p {
    margin-top: 1px !important;
    margin-bottom: 1px !important;
}
.undecorated {
    text-decoration: none !important;
}
.pt-7 {
    padding-top: 5rem;
}
.pt-100vh {
    padding-top: 100vh;
}
.mt--7 {
    margin-top: -5rem;
}
.overflow-hidden {
    overflow: hidden !important;
}
.w-5 {
    width: 5% !important;
}
.w-20 {
    width: 20% !important;
}

/* ===== Generic site tools ===== */
#growlHolder {
    z-index: 12000;
    top: 0;
    right: 0;
}

.drop-highlight {
    font-weight: bold;
    font-size: 1em;
    text-decoration: underline;

}

a {
    color: #851B7E;
}

/* ===== Document elements ===== */
body {
    font-family:  'Maven Pro', Arial, sans-serif;
    background-color: #EDF2EF;
    min-height: 100vh;
    position:relative;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}
body.non-app{
    padding-bottom: 100px !important;
}
body.internal {
    padding-bottom: 50px;
}
footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}


/* ===== Navbar Styles ===== */
.navbar-spacer {
    height: 120px;
}
.sub-navbar {
    margin-top: 101px;
    padding: .25rem 0.75rem;
}
.navbar-spacer-home {
    height: 76px;
}
nav.breadcrumb-nav {
    top: 76px;
}

.navbar .navbar-brand img {
    max-height: 50px;
}

.navbar + .breadcrumb-nav + div {
    margin-top: 0 !important;
    padding-top: 100px;
}
.navbar-nav .nav-item {
    background-color: red;
    width: 100px;
    text-align: center;
    display: inline-block;
    transform: skewX(-20deg);
}
.navbar-nav .nav-item .nav-link {
    color: #fff;
    transform: skewX(20deg);
}

.navbar-nav .nav-item.active,
.navbar-nav .nav-item .active {
   color: #fff !important;
}
.navbar-nav .nav-item .active {
   text-decoration: underline
}
.navbar-toggler {
    border: none;
}
.navbar-toggler-icon {
    color: white;
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* ===== Homepage Styles ===== */

.parallax {
   /* perspective: 1px;*/
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}
.parallax-front {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.parallax-back {
    transform: translateZ(-1px);
}


.cover-image {
     min-height: calc(100vh - 76px);
}
.cover-splash {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 100%;
    height: 50%;

}
.cover-logo {
    position:relative;
    min-height: 100%;
    background-image: url(../../images/dhubsystems_logo_dark.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 25%;
}
.cover-logo div {
    position:absolute;
    color: #777;
    font-size: 1.5em;
    bottom: 20%;
    width: 100%;
    text-align: center;
}
body.module-frontpage {
    background-image: url(../../images/cover-image.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /*background: rgb(10,197,168);
    background: radial-gradient(ellipse at top left, rgba(10,197,168,1) 0%, rgba(245,245,245,1) 100%);
    background-repeat: no-repeat;
    background-size: cover;*/
}

.carousel-inner,
.carousel-item {
    height: calc(100% - 30px);
}


.splash-development {
    background-image: url(../../images/splash_development.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;

}
.splash-content {
    background-image: url(../../images/splash_content.png);
    background-size: 75%;
    background-position: center;
    background-repeat: no-repeat;

}

.block-left-parent {
    margin-left: -7%;
}
.block-left {
    background-color: rgba(0,0,0,.25);

    transform: skewX(-10deg);
    padding: 1rem 3rem;
}
.block-left h2 {
    transform: skewX(10deg);
    font-size: 3em;

}


/* ===== Contact Form Styles ===== */
.form-field label {

    display: inline-block;
    width: 20%;
    color: #eee;
    padding: 0.5rem;

}

.form-field input ,
.form-field textarea {
    display: inline-block;
    width: 79%;
    padding: 1rem;
}

.g-recaptcha {
    width: 79%;
    display: inline-block;
}



/* ===== Portfolio Styles ===== */
.portfolio-outer {
    height: 100%;
}
.portfolio-wrapper {
    overflow: auto;
    max-height: 85vh;
}

.portfolio-desc {
    font-size: 1.3em;
}
.zoom-image {
    cursor: zoom-in;
}
.portfolio-quote {
    font-style: italic;
    font-size: 0.9em;
    border-left: 5px solid #ccc;
    padding-left: 1rem;
    margin-left: 0;
}


@media (max-width: 991.98px) {

    .modal {
        z-index: 10000;
    }

    /* ===== Navbar Styles ===== */
    .navbar-brand {
        max-width: 75%;
    }
    .navbar-brand img {
        max-width: 75%;
    }
    .navbar.nav-internal {
        padding-bottom: 0;
        min-height: 80px;
        z-index: 9999;
    }
    .sub-navbar {
        margin-top: 80px;
    }
    .navbar-spacer {
        height: 107px;
    }

    nav.navbar.shrunk .navbar-brand img {
        height: auto;
    }
    nav.breadcrumb-nav.shrunk {
        top: 80px;
    }

    /* ===== Breadcrumb ===== */
    nav.breadcrumb-nav {
        top: 80px;
        background-color: #efefef;
        font-size: 0.8em;
        width: 100%;
    }
    .breadcrumb {
        padding: 0.25rem 1rem;
        max-height: 27px;
    }
    .breadcrumb-item {
        display: none;
    }
    .breadcrumb-item:nth-last-child(2) {
        display: inline;
        padding-left: 0;
    }
    .breadcrumb-item:nth-last-child(2):before {
        content: '';
        padding:0;
    }

    .breadcrumb-item:nth-last-child(2) a:before {
        content: '< Back to ';
        color: #12175e;
    }



}




@media (min-width: 992px) {
    .w-lg-auto {
        width: auto !important;
    }
    .w-lg-75 {
        width: 75% !important;
    }
    .w-lg-25 {
        width: 25% !important;
    }
    .position-lg-fixed {
        position: fixed !important;
    }
    input[type="submit"] {
        margin-left: 20%;
    }
}


@media (max-width: 991px) {
    .block-left-parent {
        margin-left: 0;
        height: 12%;
    }
    .block-left-parent + div {
        height: 87%;
    }
    .block-left {
        padding: 1rem;
        transform: none;
    }
    .block-left h2 {
        font-size: 2em;
        transform: none;
    }
}


@media (max-width: 767px) {

    .navbar-nav .nav-item {
        transform: none;
    }
    .navbar-nav .nav-item .nav-link {
        transform: none;
    }

    .cover-logo {
        background-size: 50%;
    }

    .portfolio-wrapper {
        overflow: auto;
        height: 50vh;
    }

}


/* AOS animation definitions */

[aos="slide-background-right"] {
    background-position: center right;
}
[aos="slide-background-right"].aos-animate {
    background-position: center center;
}
