html, body {
    font-family: 'Exo 2', sans-serif;
    font-size: 18px;
    line-height: 1.7;
}

.sites-bar {
    background: #ededed;
    text-align: center;
    color: #4c4c4c;
    font-size: 0.6rem;
    padding: 7px 0;
    display: none;
}

.sites-bar span {
    display: inline-block;
    margin-left: 20px;
}

.sites-bar select {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

.logo-bar .logo {
    text-align: center;
}

.logo-bar .logo img {
    text-align: center;
    margin: 15px 0;
    max-width: 90%;
    height: auto;
}

.logo-bar .tagline {
    text-align: center;
}

.logo-bar .tagline img {
    text-align: center;
    margin: 0 0 20px 0;
    text-align: right;
    max-width: 90%;
    height: auto;
}

nav {
    background: #005098;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: #005098;
    font-weight: 300;
    line-height: 1.4;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    margin-top: 1.2rem;
}

h1 {
    margin-bottom: 0.8rem;
}

a {
    color: #005098;
    font-weight: 400;
}


nav .nav-inner {
    padding: 15px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: normal;
    align-content: stretch;
}

nav .row {
    width: 100%;
}

nav .nav-inner a {
    font-size: 0.8rem;
    text-align: center;
    padding: 5px 10px;
    display: block;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
}

nav .nav-inner a:hover {
}

body.home nav .home,
body.software nav .software,
body.implementation nav .implementation,
body.support nav .support,
body.team nav .team,
body.contact nav .contact,
body.team nav .team
{
    background: #1a66ae;
    border-left: 2px solid #8db3d7;
    border-right: 2px solid #8db3d7;
}

body.homepages .homepage-banner {
    display: none;
}

body.homepages.home .homepage-banner {
    display: block;
}

body.homepages .homepage-banner {
    display: none;
}

body.home .banner {
    display: none;
}

.homepage-banner {
    padding: 20px;
    text-align: right;
}

.homepage-banner .overlay {
    background: rgba(0,0,0,.8);
    padding: 20px;
    display: inline-block;
    text-align: left;
    max-width: 650px;
    font-size: 0.8rem;
}

.homepage-banner .overlay h2 {
    font-size: 0.9rem;
    line-height: 1.3;
    color: white;
}

.homepage-banner .overlay p,
.homepage-banner .overlay ul {
    margin: 0;
    color: white;
    font-size: 0.6rem;
}

.homepage-banner .overlay p {
    margin-top: 15px;
    font-weight: bold;
}

ul {
    margin: 0;
    padding-left: 15px;
}

.homepage-banner .overlay li {
    font-weight: bold;
}

.homepage-banner {
    background-image: url("/images/homepage-banner.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #180f2f;
    aspect-ratio: 4/1;
}


.secondary-nav {
    display: flex;
    padding: 40px 0;
    font-weight: bold;
    flex-wrap: wrap;
}

.secondary-nav a {
    display: inline-block;
    color: #666;
    padding: 5px 15px;
    margin: 0 20px 0 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    white-space: nowrap;
    text-decoration: none;
}

.secondary-nav a.active {
    color: black;
    border-left: 5px solid #035299;
    border-right: 5px solid #035299;
}
/*
.secondary-nav:hover a {
    color: #808080;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.secondary-nav a:hover {
    color: black;
    border-left: 5px solid #035299;
    border-right: 5px solid #035299;
}
*/
.secondary-nav a:hover {
    color: black;
}


h1 {
    font-weight: 300;
    color: #005098;
    line-height: 1.3;
    font-size: 1.5rem;
}

p {
    margin: 0;
    margin-bottom: 1rem;
    color: #333333;
}

.footer,
.footer p,
.footer a {
    color: white;
}

.top-footer {
    background: #005098;
}

.middle-footer {
    background: #002f5d;
}

.bottom-footer {
    background: #3d7cb7;
    background: #3f719f; /* Darkened for accessibility */
}

.gray, .white {
    padding-top: 40px;
    padding-bottom: 50px;
}

.gray {
    background: #f3f3f3;
}

.gray h2, .white h2 {
    margin-bottom: 1rem;
}

.icon-block {
    margin-top: 20px;
    font-weight: bold;
}

.icon-block img {
    margin-right: 10px;
}

.container.white {
    padding-top: 40px;
    padding-bottom: 50px;
}

.container.intro {
    padding-top: 0;
}

.footer {
    padding: 30px 0;
}

.footer p {
    margin: 0;
}

.footer h4 {
    margin: 0 0;
    color: white;
    font-weight: 600;
}

.top-footer {
    margin-top: 100px;
}

.top-footer .row .logo img {
    margin: 0 0 10px 0;
    height: 60px;
}

.top-footer .row a {
    display: block;
    margin-bottom: 0px;
}

.middle-footer .col-sm-4 {
    display: grid;
    grid-template-columns: 90px auto;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    line-height: 1.2;
    font-size: 0.9rem;
}

.middle-footer img {
    grid-area: 1 / 1 / 2 / 2;
    margin: auto 0;
}

.middle-footer .col-sm-4 {
    margin-bottom: 20px;
}

.middle-footer .col-sm-4:last-child {
    margin-bottom: 0;
}

.middle-footer .col-sm-4 div {
    grid-area: 1 / 2 / 2 / 3;
    margin: auto 0;
}

.middle-footer h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: white;
}

.middle-footer img {
    width: 64px;
}

.bottom-footer {
    font-size: 0;
    text-align: center;
}

.bottom-footer a {
    text-align: center;
    font-size: 0.7rem;
    line-height: 1;
    display: inline-block;
    margin: 0 0 10px 0;
    padding: 5px 15px;
    border-right: 2px solid #002f5d;
}

.bottom-footer p {
    font-size: 0.9rem;
    text-align: center;
}

.bottom-footer a:last-of-type {
    border-right: 2px solid transparent;
}

a .link-icon {
    width: 16px;
    vertical-align: -1px;
}

/* Web Ad styles */

.web-ad-button .register-button {
    display: table;
    margin: auto;
    margin-top: 15px;
}

.register-button {
    background-color: #cc5c28;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    line-height: 15px;
    padding: 8px 16px;
    animation: pulse-mgorange 2s infinite;
}
.register-button:hover {
    color: #014b92;
    text-decoration: none;
    animation: unset;
}
.web-ad {
    padding: 16px 16px;
    background-image: url(/images/pcms-ugm-web-ad-BG.jpg) !important;
    background-position: 0 -30px !important;
    background-repeat: no-repeat;
    background: rgb(12,32,72);
    background: linear-gradient(90deg, rgba(12,32,72,1) 0%, rgba(7,64,127,1) 100%);
}
.web-ad h4 {
    margin: 0 0;
    text-align: center;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.8rem;
    text-transform: uppercase;
}

@keyframes pulse-mgorange {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(204, 92, 40, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(204, 92, 40,0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(204, 92, 40,0);
    }
}

/* Homepage styles */

body.home .industries {
    color: #333333;
}

body.home .industries img {
    width: 64px;
}

body.home .compliance .icon-block {
    margin: 20px 0 0 0;
    display: grid;
    grid-template-columns: 60px auto;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

body.home .compliance small {
    display: block;
    font-weight: normal;
    font-size: 0.8rem;
}

body.home .compliance img {
    width: 45px;
    grid-area: 1 / 1 / 2 / 2;
    margin: auto 0;
}

body.home .compliance .icon-block div {
    grid-area: 1 / 2 / 2 / 3;
    margin: auto 0;
}

body.home .summary li {
    margin-top: 10px;
    font-weight: bold;
}


.software-table {
    margin: 0 40px;
    padding: 0px;
    font-size: 0.9rem;
}

.software-table p {
    margin: 0;
    color: inherit;
}

.software-table h5 {
    font-size: inherit;
    padding: 5px 0;
    color: inherit;
}

.software-table h6 {
    font-size: inherit;
    color: #333333;
    font-weight: bold;
    margin-top: 1rem;
}

.software-table div {
    padding: 5px 30px;
    border-left: 1px solid rgba(0,0,0,.4);
    border-right: 1px solid rgba(0,0,0,.4);
}

.software-table .div10,
.software-table .div11,
.software-table .div12 {
    padding-top: 15px;
    padding-bottom: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,.4);
}

.software-table .type-label,
.software-table .type-label h5 {
    background: #1a66af;
    color: white;
    font-weight: bold;
}

.software-table .license-label,
.software-table .license-label h5 {
    background: #e8eff7;
    color: #333333;
    font-weight: bold;
}

.software-table .ideal-label,
.software-table .ideal-label h5 {
    background: #e8eff7;
    color: #333333;
    font-weight: bold;
}

body .banner {
    height: 294px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #1f446b
}

body.software .banner {
    background-image: url("/images/software-banner.jpg");
}

body.implementation .banner {
    background-image: url("/images/implementation-services-banner.jpg");
}

body.contact .banner {
    background-image: url("/images/contact-us-banner.jpg");
}

body.team .banner {
    background-image: url("/images/team-pcms-banner.jpg");
}

body.leadership .banner {
    background-image: url("/images/implementation-rbi-leadership-banner.jpg");
}

body.homepages .banner {
    background-image: url("/images/welcome-to-pcms-banner.jpg");
}

body .banner .overlay {
    float: left;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    background: rgba(0,0,0,.9);
    line-height: 1;
    padding: 20px 60px 20px 13%;
    width: 60%;
    text-align: left;
    margin-top: 85px;
}

.implementation .banner .overlay {
    width: 80%;
}

.leadership .banner .overlay {
    width: 75%;
}

/* Compare Versions page */
.compare-versions {
    width: 100%;
    font-size: 0.8rem;
    border-collapse: collapse;
}

.compare-versions th,
.compare-versions td {
    border: 1px solid rgba(26, 102, 175, 0.4);
    border-collapse: collapse;
    line-height: 1.3;
    padding: 5px;
}

.compare-versions th {
    text-align: left;
    vertical-align: middle;
}

.compare-versions tr:first-child th:first-child {
    width: 30%;
}

.compare-versions tr td:nth-last-child(-n + 3) {
    width: 16%;
    text-align: center;
}

.compare-versions tr:first-child th {
    background: #1a66af;
    color: white;
    border: 1px solid rgba(0, 0, 0, 0.4);
}

.compare-versions tr:nth-child(2) th {
    background: #eeeeee;
    color: #333333;
}

.compare-versions tr td:nth-child(1) {
    font-weight: bold;
}

.compare-versions tr:nth-child(2n) {
    background: #e8eff7;
}
    
    
/* Featured Modules Page */
.featured-modules .grid a {
    padding: 20px 25px;
    background-color: #eee;
    color: #333;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.featured-modules .grid {
}

.featured-modules .grid li {
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.featured-modules .grid h3 {
    font-weight: bold;
}

.featured-modules .grid a:hover {
    text-decoration: none;
}

.featured-modules .grid a h3 {
    grid-area: 1 / 1 / 2 / 4;
}


.featured-modules .grid a:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
}

.featured-modules .grid a:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
}

.featured-modules .grid a:nth-child(3) {
    grid-area: 2 / 1 / 3 / 2;
}

.featured-modules .grid a:nth-child(4) {
    grid-area: 2 / 2 / 3 / 3;
}

.featured-modules .grid a:nth-child(5) {
    grid-area: 3 / 1 / 4 / 2;
}

.featured-modules .grid a:nth-child(6) {
    grid-area: 3 / 2 / 4 / 3;
}

.featured-modules .grid a:nth-child(7) {
    grid-area: 4 / 1 / 5 / 2;
}

.featured-modules .grid a:nth-child(8) {
    grid-area: 4 / 2 / 5 / 3;
}


/* Module pages */

.module .main-content h2,
.module .main-content h3 {
    margin: 1rem 0 0.5rem 0;
}

.module ul {
    margin: 1rem;
}

#slideshow {
    margin: 0 0 20px 20px;
    float: right;
    text-align: center;
    cursor: pointer;
    color: #005098;
}

#slideshow img {
    margin-bottom: 5px;
}

/* GLightbox */

body .glightbox-clean .gslide-title {
    color: white;
}

body .glightbox-clean .gslide-description {
    background: rgba(0,0,0,.5);
}

body .goverlay {
    background: rgba(0,0,0,.8);
}

body .glightbox-clean .gslide-title {
    margin-bottom: 0;
}

body.featured-modules .main-content h1:first-of-type,
body.featured-modules .main-content h2:first-of-type {
    margin-top: 0;
}

.third-level-nav {
    background: #eee;
    margin: 0 0 2rem 0;
    padding: 10px 0;
}

.third-level-nav strong {
    display: block;
    margin: 0 20px;
}

.third-level-nav row > div {
    margin: 0 10px;
}

.third-level-nav a {
    display: inline-block;
    margin: 0 20px;
}

.third-level-nav a.active {
    color: #333;
}

/* Implementation Services */

body.implementation .icon-links {
    margin: 20px;
}

body.implementation .icon-links a {
    display: block;
    margin: 0 -1px 0 0;
    padding: 30px 0;
    border: 1px solid #1a66af;
    text-align: center;
    cursor: pointer;
}

body.implementation .icon-links a {
    text-decoration: none;
}
    
body.implementation .icon-links img {
    height: 100px;
}

body.implementation .icon-links h4 {
    display: block;
    font-weight: bold;
    margin-top: 1rem;
    font-size: 1.3rem;
}
body.implementation .icon-links small {
    font-weight: bold;
    margin-top: 0rem;
    font-size: 0.8rem;
    color: #333333
}

body.implementation .icon-links h3 br {
    display: none;
}

body.implementation .training-institute-logo {
    display: block;
    margin: 15px 0 15px 0;
    max-height: 100px;
}

.contact .fsBody, .contact .fsBody .fsForm {
    margin: 0;
    padding: 10px 0 0 0;
}

.contact .fsForm select.fsRequired,
.contact .fsForm textarea.fsRequired,
.contact .fsRowBody input[type="email"].fsRequired,
.contact .fsRowBody input[type="number"].fsRequired,
.contact .fsRowBody input[type="tel"].fsRequired,
.contact .fsRowBody input[type="text"].fsRequired,
.contact .fsForm select,
.contact .fsForm textarea,
.contact .fsRowBody input[type="email"],
.contact .fsRowBody input[type="number"],
.contact .fsRowBody input[type="tel"],
.contact .fsRowBody input[type="text"] {
    border: 1px solid gray;
    color: black;
}

.contact .fsBody .fsRowBody,
.contact .fsBody .fsFieldRow {
    margin-bottom: 10px !important;
}

.contact strong a {
    font-weight: bold;
}

.contact .fsRowBody input[type="checkbox"],
.contact .fsRowBody input[type="radio"] {
    border: 1px solid gray;
}

.contact .fsRowBody input[type="checkbox"]:checked,
.contact .fsRowBody input[type="radio"]:checked {
    border: none;
}

.contact .fsRowBody input[type="checkbox"]::before,
.contact .fsRowBody input[type="checkbox"]:checked::before,
.contact .fsRowBody input[type="radio"]::before,
.contact .fsRowBody input[type="radio"]:checked::before {
    cursor: pointer;
    position: absolute;
}

.contact .fsForm .ui-slider-handle:focus,
.contact .fsForm input:focus,
.contact .fsForm select:focus,
.contact .fsForm textarea:focus {
    box-shadow: none;
}

body.contact .fsForm .fsSubmit input.fsSubmitButton {
    font-size: 1.5rem !important;
    color: white;
    background: #005098 !important;
    padding: 20px 40px !important;
    font-weight: bold;
}

body.contact .fsForm .fsSubmit input.fsSubmitButton:hover {
    background: #002f5d !important;
}

/* Contact page */
body.contact .main-content .container {
    margin-top: 2rem;
}

body.contact .col-md-12 h3:first-child {
    margin-top: 1rem;
}
body.contact .col-lg-3 h3:first-child {
    margin-top: 0.5rem;
}


/* Team PCMS page */
body.team .main-content .container {
    margin-top: 2rem;
}

body.team .team-box {
    margin: 0 0 30px 0;
    border: 1px solid gray;
    padding: 20px;
    min-height: 160px;
    cursor: pointer;
}

body.team .team-box img {
    margin: 0 20px 0 0;
    float: left;
}

body.team .team-box h3 {
    font-size: 1.2rem;
    line-height: 1.2;
}

body.team .team-box h4 {
    margin-top: 10px;
    font-size: 0.8rem;
}

body.team .ginlined-content {
    padding: 40px;
}

body.team .ginlined-content h3 {
    margin-top: 0;
}

body.team .ginlined-content img {
    float: left;
    margin: 28px 30px 0 0;
}

body.industries .industry {
    margin-top: 40px;
}

body.industries .industry img {
    float: left;
    margin: 10px 20px 40px 0;
    height: 150px;
}

body.industries .industry::after {
    content: "";
    clear: both;
    display: table;
}

body.new .col-md-6 {
    margin: 20px 0 0 0;
}

body.new .col-md-6 img {
    float: right;
    margin: 0 0 20px 10px;
}

body.new .col-md-6 li {
    font-size: 0.9rem;
}

body.new .item {
    margin: 0 0 20px 0;
}

body.new h3 {
    margin-top: 1rem;
}

body.new .item::after {
    content: "";
    clear: both;
    display: table;
}

body.new .item {
    border: 1px solid #ddd;
    margin: 0px 0 20px 0;
    padding: 20px;
    background: #fafafa;
}

body.heritage h2 {
    margin-bottom: 1rem;
}

body.heritage h3 {
    font-size: 1.2rem;
}

body.customers .logogroup {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}

body.customers .logogroup img {
    margin: 2%;
    width: 21%;
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
}


/* Implementation & RBI Leadership PCMS page */
body.leadership .main-content .container {
    margin-top: 2rem;
}

body.leadership .team-box {
    margin: 0 0 30px 0;
    border: 1px solid gray;
    padding: 20px;
    min-height: 160px;
    cursor: pointer;
}

    body.leadership .team-box img {
        margin: 0 20px 0 0;
        float: left;
    }

    body.leadership .team-box h3 {
        font-size: 1.2rem;
        line-height: 1.2;
    }

    body.leadership .team-box h4 {
        margin-top: 10px;
        font-size: 0.8rem;
    }

    body.leadership .team-box:hover h5 {
        background-color: #002f5d;
    }
    body.leadership .team-box h5 {
        margin-top: 30px;
        font-size: 0.8rem;
        position: relative;
        background-color: #005098;
        width: fit-content;
        padding: 5px 10px 5px 10px;
        color: white;
        float: left;
    }
    body.leadership .team-box h5.double-line {
        margin-top: 9px;
    }

body.leadership .ginlined-content {
    padding: 40px;
}

    body.leadership .ginlined-content h3 {
        margin-top: 0;
    }

    body.leadership .ginlined-content img {
        float: left;
        margin: 28px 30px 0 0;
    }