/*****************************************************************************/
/*****************************************************************************/
/************** start legacy app.css *****************************************/
/* -- Primary action colour -- */
a {
    color: #0098d5;
    text-decoration: none;
    cursor: pointer;
}
a:hover,
a:focus {
    color: #40b2e0;
    text-decoration: none;
}

.btn-primary {
    color: #fff !important;
    background-color: #0098d5;
    border-color: #0098d5;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    color: #fff !important;
    background-color: #40b2e0;
    border-color: #40b2e0;
}
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    background-color: #0098d5;
    border-color: #0098d5;
}

.bg-primary {
    background-color: #0098d5;
    color: #f4f3f9;
}
.bg-primary a {
    color: #ffffff;
}
.bg-primary a:hover {
    color: #fff;
}

.bg-white a {
    color: #0098d5;
}
.bg-white a:hover {
    color: #40b2e0;
}

.bg-dark {
    background-color: #0098d5;
}

a.bg-light:hover {
    color: #0098d5;
}
a.bg-primary:hover {
    background-color: #40b2e0;
}
a.text-primary:hover {
    color: #40b2e0;
}
.text-primary {
    color: #0098d5;
}

.bg-primary.dker,
.bg-primary .dker {
    background-color: #006e99; /* plus 10% */
}

.bg-primary.lter,
.bg-primary .lter {
    background-color: #40b2e0;
}

.stroke-primary {
    stroke: #0098d5;
}

.stroke-primary.dker,
.stroke-primary .dker {
    stroke: #006e99; /* plus 10% */
}

.stroke-primary.lter,
.stroke-primary .lter {
    stroke: #40b2e0;
}

.fill-primary {
    fill: #0098d5;
}

.fill-primary.dker,
.fill-primary .dker {
    fill: #006e99; /* plus 10% */
}

.fill-primary.lter,
.fill-primary .lter {
    fill: #40b2e0;
}

/* -- Header bar colour -- */

.navbar .nav > li:hover > a,
.navbar .nav > li:focus > a,
.navbar .nav > li.active > a {
    color: #3d4e57;
}
.navbar .nav > li > a,
.navbar support-link a {
    color: #3d4e57 !important;
    background-image: none !important;
}
.navbar .nav > li > a:hover,
.navbar .nav > li > a:focus,
.navbar support-link a:hover,
.navbar support-link a:focus {
    color: #3d4e57 !important;
    background-image: url(/content/assets/nav-hover.png) !important;
    background-repeat: repeat-x !important;
    background-position: 0% 100% !important;
}
.navbar .nav .open > a {
    background-color: transparent;
    color: #3d4e57;
}

/* -- Dropdown menu link colour -- */

.dropdown-menu {
    background-color: #ffffff;
}

.dropdown-menu > li > a {
    color: #3d4e57 !important;
    text-transform: none !important;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background-color: #ffffff !important;
    color: #0098d5 !important;
}

@media (max-width: 767px) {
    .navbar-right {
        height: auto !important;
    }
    .navbar-right li .navbar-link {
        height: 50px !important;
        padding: 15px 15px !important;
    }
    .dropdown-toggle .img-circle {
        margin-top: 5px;
    }
}

/**************** end legacy app.css *****************************************/
/*****************************************************************************/
/*****************************************************************************/
/* Page overides */

html {
    background-color: #ffffff;
}

body {
    color: #3d4e57;
    font-family:
        "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
}

h3,
.h3 h4,
.h4 {
    font-weight: bold !important;
    color: #0098d5 !important;
}

.navbar {
    background-color: #ffffff;
    border-top: 4px solid #0098d5;
}

.navbar-collapse .navbar-nav:first-child {
    visibility: hidden;
}

.navbar-nav a,
.navbar-right a {
    background-color: transparent !important;
    text-transform: uppercase !important;
}

.navbar-toggle {
    color: #3d4e57 !important;
    border: 0px none transparent;
    border-radius: 0px;
    margin: 0px !important;
    padding: 18px 25px !important;
}

.navbar-toggle:hover,
.navbar-toggle:focus,
.navbar-toggle.active {
    background-image: url(/content/assets/nav-hover.png) !important;
    background-repeat: repeat-x !important;
    background-position: 0% 100% !important;
}

.navbar-header {
    width: inherit;
}

/* Page specific overides */

#gamification .panel-heading,
#gamification .panel-footer {
    background-color: #0098d5 !important;
    color: #ffffff;
}

#gamification .col-xs-4 .h3,
#gamification .col-xs-4 .text-muted {
    color: #ffffff !important;
}

#gamification .dk {
    background-color: #006b32;
}

/* sign-in */

.app-public-access-signin,
.app-public-access-forgot,
.app-public-access-signup,
.app-public-access-recover,
.app-public-access-thanks,
.app-public-access-scope,
.app-public-access-verify {
    background-color: #3d4e57;
}

.app-public-access-signin .signin-panel,
.app-public-access-forgot .forgot-panel,
.app-public-access-signup .signup-panel,
.app-public-access-recover .recover-panel,
.app-public-access-thanks .thanks-panel,
.app-public-access-scope .scope-panel,
.app-public-access-verify .verify-panel {
    background-color: #ffffff;
    display: table !important; /*required to avoid display bug in Chrome*/
}

.app-public-access-signin .signin-panel a,
.app-public-access-forgot .forgot-panel a,
.app-public-access-signup .signup-panel a,
.app-public-access-recover .recover-panel a,
.app-public-access-thanks .thanks-panel a,
.app-public-access-scope .scope-panel a {
    color: #0098d5 !important;
}

.app-public-access-signin .signin-panel a:hover,
.app-public-access-forgot .forgot-panel a:hover,
.app-public-access-signup .signup-panel a:hover,
.app-public-access-recover .recover-panel a:hover,
.app-public-access-thanks .thanks-panel a:hover,
.app-public-access-scope .scope-panel a:hover {
    color: #40b2e0 !important;
}

.app-public-access-signin .signin-panel .brand img,
.app-public-access-forgot .forgot-panel .brand img,
.app-public-access-signup .signup-panel .brand img,
.app-public-access-recover .recover-panel .brand img,
.app-public-access-thanks .thanks-panel .brand img,
.app-public-access-scope .scope-panel .brand img {
    width: 100%;
}

@media (max-width: 767px) {
    .navbar-brand {
        margin-top: 4px;
    }

    .navbar-collapse .navbar-nav:first-child {
        visibility: visible;
    }

    .navbar .nav > li a {
        text-transform: none !important;
    }

    .navbar .nav > li a:hover,
    .navbar .nav > li a:focus,
    .navbar .nav > li a:active {
        color: #0098d5 !important;
        background-image: none !important;
    }

    .navbar .nav .img-circle {
        box-shadow: none !important;
    }

    .navbar-header {
        margin-bottom: -1px;
    }

    .navbar-collapse {
        margin-top: -1px;
        width: 100%;
    }
    .collapsing {
        border-top: 0px;
    }

    .navbar-collapse.in {
        overflow-y: initial;
    }
}

body {
    margin-bottom: 70px !important;
}

footer#site-footer {
    color: #3d4e57;
    background-color: #dadede;
}

#site-footer .row {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

/* Dashboard migration */

.app-private-dashboard .banner-item {
    height: 360px;
    padding: 0px;
}

.app-private-dashboard .banner-item::before {
    content: "";
    background-image: url(/content/assets/banner_banner-right-2.png);
    background-repeat: no-repeat;
    background-position: top 0px right 0px;
    background-size: contain;
    width: 500px;
    height: 360px;
    position: absolute;
    right: 0;
}

.app-private-dashboard .banner-text {
    height: 100%;
    position: relative;
    width: 354px;
    background-image: url(/content/assets/banner_banner-right.png);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    padding: 0px 15px 0px 50px;
    padding-top: 20px;
    line-height: normal;
}

.app-private-dashboard .banner-text h2 {
    line-height: inherit;
}

.app-private-dashboard .default-tile {
    height: 270px !important;
}

.app-private-dashboard .default-tile .panel-img-top {
    background-size: 150px !important;
    background-color: inherit !important;
}

.app-private-dashboard
    .container-widgets
    section
    > div:nth-child(1)
    .default-tile.panel,
.app-private-dashboard
    .container-widgets
    section
    > div:nth-child(3)
    .default-tile.panel {
    background-color: #0098d5;
}

.app-private-dashboard
    .container-widgets
    section
    > div:nth-child(2)
    .default-tile.panel,
.app-private-dashboard
    .container-widgets
    section
    > div:nth-child(4)
    .default-tile.panel {
    background-color: #3d4e57;
}

.app-private-dashboard
    .container-widgets
    section
    > div:nth-child(1)
    a:hover
    .default-tile.panel,
.app-private-dashboard
    .container-widgets
    section
    > div:nth-child(3)
    a:hover
    .default-tile.panel {
    background-color: #40b2e0;
}

.app-private-dashboard
    .container-widgets
    section
    > div:nth-child(2)
    a:hover
    .default-tile.panel,
.app-private-dashboard
    .container-widgets
    section
    > div:nth-child(4)
    a:hover
    .default-tile.panel {
    background-color: #6e7a81;
}

.app-private-dashboard .default-tile .tile-text {
    text-align: center;
    color: #ffffff;
}

@media (max-width: 414px) {
    .app-private-dashboard .banner-item::before {
        content: none;
    }

    .app-private-dashboard .banner-text {
        max-width: 100%;
        width: 100%;
    }
}