@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

/*
####################################################
M E D I A  Q U E R I E S
####################################################
*/


/*
::::::::::::::::::::::::::::::::::::::::::::::::::::
Bootstrap 4 breakpoints
*/


/*
Extra small devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap because it is "mobile first"
*/

@media (min-width: 320px) {
    a.mobile-contact-button {
        margin-left: 0 !important;
    }
}

@media (min-width: 416px) {
    a.mobile-contact-button {
        margin-left: 20% !important;
    }
}

@media (min-width: 500px) {
    a.mobile-contact-button {
        /*margin-left: 32% !important;*/
    }
}


/* Small devices (landscape phones, 576px and up) */

@media (max-width: 530px) {
    /* a.mobile-contact-button {
        margin-left: 30% !important;
    } */
}


/* Small devices (landscape phones, 576px and up) */

@media (max-width: 576px) {
    .navbar-brand {
        padding-left: 15px;
    }
    .wp-block-cover__inner-container {
        width: auto !important;
    }
}


/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */

@media (max-width: 767px) {
    .wp-block-cover__inner-container {
        line-height: 1.2;
    }
    .header-contact-buttons {
        display: none;
    }
    a.mobile-contact-button {
        color: #005487;
        border-color: #005487;
        border-radius: 15px;
        width: 130px;
        margin-left: 40%;
    }
    .dropdown-toggle::after {
        display: none;
    }
    .mobile-menu-expander {
        display: inline;
        padding-left: 10px;
    }
}

@media (min-width: 768px) {
    a.mobile-contact-button {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .header-or {
        display: none;
    }
    .header-request-info-button {
        margin-top: 5px;
        margin-bottom: 5px;
    }
}


/* Large devices (desktops, 992px and up) */

@media (min-width: 992px) {
    .header-or {
        display: inline;
    }
    .menu-item-has-children .menu-item-has-children:hover>.dropdown-menu {
        /*display: inline-block;*/
        left: 9em;
        top: -1ex;
    }
    .nav-link.nav-search {
        display: block !important;
    }
    .navbar-search .input-group #s {
        display: none;
    }
    .navbar-search:hover #s,
    .navbar-search .nav-search:hover #s,
    .navbar-search .nav-search:active #s,
    .navbar-search #s:focus {
        display: block;
    }
    .navbar-search {
        position: relative;
    }
    .navbar-search #s {
        position: absolute;
        top: 2.5em;
        right: 0;
        width: 12em;
        height: 1.8em;
    }
}


/* Extra large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {}


/**
GENERAL STYLES
**/

body {
    color: #38373D;
    font-family: 'Open Sans', sans-serif;
}

a,
a:visited {
    color: #37718e;
    text-decoration: none;
}

a:hover {
    color: #197bbd;
    text-decoration: none;
}

.text-size-lg {
    font-size: 2em;
}

.text-size-xl {
    font-size: 2.7em;
}

.gray-background {
    background-color: #f4f4f4;
}

#error-404-wrapper h2,
#single-wrapper h2,
#search-wrapper h2,
#archive-wrapper h2 {
    font-size: 24px;
}

#error-404-wrapper h3,
#single-wrapper h3,
#search-wrapper h3,
#archive-wrapper h3 {
    font-size: 20px;
}


/** Pagination **/

.page-item.active .page-link {
    background-color: #015388;
}

.page-item .page-link {
    color: #015388;
}


/** Blog listing **/

.ptam-block-post-grid-image {
    float: left;
    margin-top: 0 !important;
    margin-right: 1em;
    margin-bottom: 0;
}

.ptam-block-post-grid-title {
    font-size: 24px !important;
    font-weight: bold;
}

.ptam-block-post-grid-link:hover {
    text-decoration: none !important;
}

.ptam-block-post-grid-link {
    color: #37718e !important;
    ;
    font-size: 1rem !important;
    font-weight: normal !important;
    transition: none !important;
    ;
}

#right-sidebar ul li {
    list-style-type: none;
    line-height: 1.5em;
}

aside.widget_categories ul li:before {
    margin: 3px 9px 0 0;
    color: #111;
    content: "\203A";
    font-family: sans-serif !important;
}

aside.widget_categories h3 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    padding: 0;
    margin: 3px 0 0 0 !important;
}

aside.widget_categories ul {
    padding: 0 !important;
    margin: 0 !important;
}


/**
LOGO & NAVIGATIONAL STYLES
**/

#wrapper-navbar {
    padding-bottom: 1em;
    border-bottom: 1px solid #cecece;
}

.custom-logo-link img {
    max-width: 120px !important;
}

.blue-top {
    font-size: .9em;
    line-height: 1.5em;
    background-color: #005487;
    color: #fff;
    padding: 10px;
}

.blue-top a {
    font-weight: bold;
    color: #fff;
}


/* By default, we don't need to hide the search bar for mobile, only on desktop. */

.nav-link.nav-search {
    display: none;
}

a.nav-link {
    color: #111;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
}


/**
Header
 */

.header-request-info-button,
a.header-request-info-button {
    background-color: #005487;
    color: #FFFFFF;
    line-height: 2em;
}

.header-schedule-demo-button {
    background-color: #FFFFFF;
    color: #005487;
    border-color: #005487;
    line-height: 2em;
}

.entry-footer {
    margin-top: 3.2em;
}

.footer-schedule-demo-button {
    background-color: #bcc1c5;
}

a.footer-schedule-demo-button {
    color: #232D37;
}

a.footer-schedule-demo-button:visited {
    color: #232D37;
}

.header-or {
    z-index: 2;
    position: relative;
}

h1.blog-header {
    font-size: 2.3em;
}


/**
EXTENDED COLUMN SUPPORT
**/

.container-fluid.container-max-three-fourth {
    max-width: 75%;
}


/**
FOOTER STYLES
*/

.sub-footer {
    background-color: #232d37;
    color: #fff;
    font-size: 0.8em;
}

.sub-footer h4 {
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 1.3em;
    margin-bottom: 1.3em;
}

.sub-footer p {
    color: #bcc1c5;
}

.container-fluid.sub-footer .container-fluid {
    max-width: 70%;
}

.sub-footer ul.menu,
.sub-footer ul.social-networks {
    list-style-type: none;
    list-style-position: inside;
    padding: 0 0 20px 0;
    margin: 0;
}

.sub-footer ul.social-networks {
    overflow: hidden;
}

.sub-footer ul.menu li {
    padding: 0.25em 0;
}

.sub-footer ul.menu li:first-child {
    padding-top: 0;
}

.sub-footer ul.menu li>a {
    color: #5f8cb4;
    font-size: 1.1em;
}

.sub-footer ul.menu li>a:hover {
    color: #fff;
}

.sub-footer ul.social-networks li {
    float: left;
}

.sub-footer ul.social-networks li .fa-fw {
    text-align: left;
}

.sub-footer ul.social-networks li>a {
    color: #bcc1c5;
    font-size: 1.1em;
}

.sub-footer ul.social-networks li>a:hover {
    color: #fff;
}

.sub-footer ul.social-networks li:first-child {
    margin-left: 0;
}

.sub-footer ul.social-networks li:last-child {
    margin-right: 0;
}

.footer {
    background-color: #fff;
    color: #2d3e52;
    font-size: 0.8em;
}


/**
HOMEPAGE STYLING
 */

.featured-rewards {
    min-height: 500px;
    background-color: #7F9BAF;
}

.featured-rewards h2,
.featured-rewards p,
.featured-rewards a.qubely-block-btn-anchor {
    color: #fff;
    border-color: #fff;
}

.featured-rewards .shadow-box {
    background: #fff;
    padding: 1em 2em;
    border: 1px solid #616161;
    -webkit-box-shadow: 0px 0px 8px 2px rgba(97, 97, 97, 1);
    -moz-box-shadow: 0px 0px 8px 2px rgba(97, 97, 97, 1);
    box-shadow: 0px 0px 8px 2px rgba(97, 97, 97, 1);
    margin-top: 2em;
    margin-bottom: 2em;
}

.featured-rewards .shadow-box>.wp-block-qubely-image {
    margin-top: -4em;
}

.featured-rewards .shadow-box h3 {
    font-size: 1.3em;
}

.featured-rewards .shadow-box a.qubely-block-btn-anchor {
    color: #111;
}

.featured-rewards .qubely-image-media {
    text-align: center;
}

h2.qubely-block-text-title {
    font-size: 1.7rem;
}

.homepage-featured-group h3 {
    font-size: 1.7rem;
}

.our-services a.qubely-block-btn-anchor {}

.blue-header {
    background-color: #015388 !important;
    margin-bottom: 30px;
}

.blue-header h1 {
    margin: 0 auto;
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
}

@media (max-width: 586px) {
    .our-services-row-2 {
        margin-top: -28px;
    }
}

@media (min-width: 782px) {
    .our-services-row-2 {
        padding-top: 20px;
    }
}

.programs-we-support .wp-block-cover__inner-container {
    position: relative;
}

.pipedriveformwrapper {
    border-radius: 15px;
    border: solid 1px rgb(0 0 0 / 20%);
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0 0 10px rgb(0 0 0 / 30%);
    -o-box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    padding: 25px;
}


/**
 * Contact Page
 */

.contact-form-wrapper {
    background-color: #f2f2f2;
}

.contact-form-wrapper .frm_button_submit {
    background-color: #015388!important;
    color: #FFF!important;
}


/**
 * Resources Page /resources-adr/
 */

.resource-buttons .qubely-block-btn {
    text-align: right;
}

.collapse.in {
    display: block;
}

@media (min-width: 782px) {
    .mobile-menu-expander {
        display: none !important;
    }
}


/**
 * Contact Sidebar template button
 */

.qubely-block-424604 {
    z-index: 0;
}

.qubely-block-424604 {
    position: relative;
}

.qubely-block-424604 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.qubely-block-424604 .qubely-block-btn-anchor {
    background-image: none;
    background-color: #005586;
}

.qubely-block-424604 .qubely-block-btn-wrapper {
    text-align: center;
}

.qubely-block-424604 .qubely-block-btn-wrapper {
    text-align: center;
}

.qubely-block-424604 .qubely-block-btn-anchor {
    color: #fff;
}

.qubely-block-424604 .qubely-block-btn-anchor {
    border-radius: 4px;
}

.qubely-block-424604 .qubely-block-btn-anchor {
    border-width: 1px;
    border-color: #005487;
    border-style: solid;
}

.qubely-block-424604 .qubely-block-btn-anchor {
    width: 170px;
}

.qubely-block-btn-anchor.is-large {
    padding: 13px 20px;
    font-size: 18px;
}


/**
 * Mega Menu
 */

.custom-logo-link {
    display: inline-block;
}

#wrapper-navbar {
    padding-bottom: 0px;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
    border-bottom: 3px solid transparent;
}

#mega-menu-primary>li.mega-toggle-on>.mega-menu-link {
    border-bottom: 3px solid #005487 !important;
    background: url('https://digitalreward.wpengine.com/wp-content/themes/understrap/img/mega-selected-bg.svg') no-repeat center bottom !important;
    background-size: 16px 8px !important;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children>a.mega-menu-link>span.mega-indicator:after {
    margin: 0 0 0 1px;
}

.navbar-toggler {
    display: none;
}

@media (max-width: 990px) {
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
        padding: 20px 5px 80px 5px;
    }
}

@media (max-width: 768px) {
    #mega-menu-primary>li.mega-toggle-on>.mega-menu-link {
        background-image: none !important;
    }
    .navbar-brand {
        width: 60%;
        margin: 0px;
        padding: 0px;
    }
    #wrapper-navbar {
        padding-bottom: 20px;
    }
    #wrapper-navbar .navbar {
        padding: 0px 15px !important;
    }
    .header-schedule-demo-button {
        width: 40% !important;
        margin: 0px !important;
    }
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
        border: none;
    }
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
        padding: 5px 15px 5px 15px;
        height: auto;
    }
}