.hidden {
    display: none !important;
    visibility: hidden !important;
}
.bg-purple {
    background-color: #2d0a4e;
}

.bg-purple-80 {
    background-color: rgba(45,10,78,0.8)
}

#topnav {
    position: relative;
    top: 20px;
    left: 175px;
    z-index: 50;
}

#topsocial {
    position: relative;
    top: -30px;
    z-index: 40;
    right: 0;
}

#tagline {
    color: #fff;
    font-size: .9rem;
    margin-left: 40px;
}
header {
    heightx: 94px;
}
/*
body {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
        'header'
        'main'
        'footerx';
}
body > header {
    grid-area: header;
}
    body > main {
        grid-area: main;
        overflow: auto;
        grid-template-rows: 1fr auto;
    }
    body > footer {
        grid-areax: footer;
        grid-area: 2 / 1 / 3 / 4;
    }
    */

main.hero {
    position: relative;
    top: -94px;
}

main.nohero {
    positionx: relative;
    topx: 5.9em;
    margin-top: 5.9em;
    min-height: 27em;
}

.btmmargin {
    margin-bottomx: 50px;
}

.pad20 {
    padding: 20px;
}

.pad30 {
    padding: 30px;
}

hr.light {
    border-top: 1px solid #666;
}

hr.white {
    border-top: 1px solid #fff;
}

.nav-item a {
    text-decoration: none;
}

.nav-link .current-link {
    color: #fff;
}

i.fa {
    margin-right: 5px;
}

/* Typography */
body {
    font-family: 'Raleway', sans-serif;
    line-height: initial !important;
}

h2, h4, h6, .serif {
    font-family: 'Source Serif Pro', serif;
}

h1 {
    font-size: 2.2rem;
}

.recruit-date {
    font-style: italic;
    font-size: 1rem !important;
}

.dark {
    color: #1e1e1e
}

.light {
    color: #fff;
}

a {
    color: #662d91;
    text-decoration: underline;
}

    a:hover {
        color: #666;
        text-decoration: none;
    }

.light a {
    color: #fff;
    text-decoration: underline;
}

    .light a:hover {
        color: #ccc;
        text-decoration: none;
    }

a.btn {
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #2D0A4E;
    border-color: #2D0A4E;
    border-radius: 0;
}

    .btn-primary:hover {
        background-color: #333;
    }

    .btn-primary:focus {
        color: #fff;
        background-color: #222;
        border-color: #222;
        box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5);
    }

.btn-lg {
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
}

.btn-secondary {
    color: #1e1e1e;
    background-color: #97CA46;
    border-color: #97CA46;
    border-radius: 0;
}

img.bfeed {
    margin: 24px 0;
}

.blogfeedtitle {
    height: 48px;
    overflow: hidden;
    margin-bottom: 16px;
}

.blogfeedexcerpt {
    height: 176px;
    overflow: hidden;
    margin-bottom: 16px;
}

.body-content {
    min-height: 18em;
}

/* Parallax rows */

.parallax {
    /* The image used */
    background-image: url("../images/bart-newsletter-subscribe-parallax.jpg");
    /* Set a specific height */
    height: auto;
    min-height: 300px;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.color-overlay {
    position: relative;
}

    .color-overlay:before {
        content: '';
        background: rgba(45, 10, 78, 0.64);
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1;
        display: block;
    }

.parallax .container {
    /* position content */
    padding-top: 100px;
    padding-bottom: 100px;
}

.plax-content {
    position: absolute;
    z-index: 100;
}

/* Footer */

footer {
    background: #333;
    color: #fff;
    font-size: .8rem;
    padding: 8px 0 5px 0;
    min-height: 13rem;
    width: 100%;
    marginx-top: 25px;
}
.footer-bottom {
    position: fixed;
    bottom: 0;
}
#footer-icons {
    list-style: none;
}

    #footer-icons li {
        display: inline;
        margin-right: 4px;
    }

footer a {
    color: #fff;
}

    footer a:hover {
        color: #666;
    }

footer .right {
    text-align: right;
}

/*Internal pages */
.titlebar {
    background-color: #bee15e;
    margin-bottom: 30px;
}

.pagetitle {
    font-family: 'Source Serif Pro', serif;
    margin: 30px 0 24px 0;
}

.vspace {
    height: 20px
}

.vspace-med {
    height: 30px;
}

.vspace-lrg {
    height: 60px;
}


/*Available Recruitment Grid Page */


.recruitthumb {
    position: relative;
    width: 100%; /* for IE 6 */
    text-align: center;
}

    .recruitthumb h2 {
        positionx: absolute;
        topx: 150px;
        leftx: 15px;
        widthx: 100%;
        text-align: left;
    }
    .recruitthumb .textwrap {
        background: rgba(45,10,78,0.8);
        height: 47px;
        position: absolute;
        bottom: 0px;
        width: 100%;
        left: 0;
        display: inline-grid;
        align-content: center;
    }
    .recruitthumb h3 {
        positionx: absolute;
        topx: 190px;
        leftx: 15px;
        widthx: 100%;
        text-align: center;
        font: normal 0.8rem/0.85rem 'Raleway', sans-serif;
        padding: 10px;
        color: white;
    }

    .recruitthumb h2 span {
        color: white;
        font: normal 1rem/1rem 'Source Serif Pro', serif;
        background: rgb(45, 10, 78); /* fallback color */
        background: rgba(45,10,78,0.8);
        z-index: 10;
    }

    .recruitthumb h3 span {
        color: white;
        font: normal 0.8rem/0.85rem 'Raleway', sans-serif;
        background: rgb(45, 10, 78); /* fallback color */
        background: rgba(45,10,78,0.8);
        z-index: 10;
    }

    .recruitthumb h2 .pad10 {
        padding: 0.625em;
    }

    .recruitthumb h3 .pad10 {
        padding: 0.625em;
    }

@media (min-width: 985px) {
    .recruitthumb h2 span {
        font-sizex: 0.95rem !important;
    }

    .recruitthumb h3 span {
        font-sizex: 0.85rem !important;
    }
}

@media screen and (max-width:985px ) {
    .col-lg-4 {
        margin-bottom: 10px;
    }
    .recruitthumb h2 {
        text-align: center;
    }

    .recruitthumb h3 {
        text-align: center;
    }
}

.recruitthumb .hoverImg {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 20;
    opacity: 0.0;
    transition: 0.3s;
    max-height: 7.8em;
    text-align: center;
    width: 100%;
}

.recruitthumb:hover .hoverImg {
    display: block;
    opacity: 1;
}

.spacer {
    background: none !important;
}

/* Recruitment Detail Page */

#recruitment-hero-1 {
    background-image: url("../images/mtview-cityhall-hero.jpg");
    background-size: cover;
    padding: 300px 0;
}

#recruitment-hero-2 {
    background-image: url("../images/ventura-hr-director-hero.jpg");
    background-size: cover;
    padding: 300px 0;
}
/* image for each recruitment page should be uploaded by CMS user for this ID; 1800x1200px; same used for home page carousel and Available Recruitment grid page */

/* Team Page */

.team .tmember {
    position: absolute;
    left: 20px;
    bottom: 0;
    z-index: 20;
    color: #fff;
}

.tmember {
    font-weight: 600;
}

    .tmember a {
        color: #fff;
        text-decoration: none;
    }

.team {
    padding: 0
}

.emailteam {
    width: 26px;
    margin-left: 8px
}

.readbio {
    font-weight: normal;
    font-size: .8rem;
    cursor: pointer;
    background-color: #bee15e;
    color: #2d0a4e;
    padding: 2px;
}

.gotofor {
    font-style: italic;
    font-weight: initial;
    font-size: .8rem
}

/* Contact Page */
.panel {
    padding: 60px 30px;
    margin-top: -30px;
}

/*Client & Closed Recruitment Page */

#clientbg {
    background-image: url("../images/client-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.tableonbg {
    background-color: rgba(255,255,255,0.9);
}

    .tableonbg td {
        border: thin solid #ccc;
    }

    .tableonbg th {
        background-color: #2d0a4e;
        color: #fff;
    }

.caption {
    color: #000;
    font-size: 85%;
}

/* Apply Styles */

.modal-content {
    top: 50px;
}

#applyformimg {
    background-color: #666;
}

.form-container {
    padding: 20px;
    color: white;
    background-color: #666;
}


/* iPad adjustments */

@media only screen and (device-width: 768px) {
    /* For general iPad layouts */

    .readbio {
        display: none;
    }

    .sm-txtcenter {
        text-align: center !important;
    }
}


/*  Phone style adjustments */

@media (max-width: 480px) {

    footer, footer .right {
        text-align: center;
    }

    .slick-dots {
        display: none !important;
    }

    .parallax .container {
        /* position content */
        padding-top: 100px;
        padding-bottom: 260px;
    }

    #tagline {
        display: none;
    }

    .sm-txtcenter {
        text-align: center !important;
    }

    .small-nopad {
        padding: 0
    }

    .tableonbg td {
        font-size: .9rem
    }
}

/* NEW CSS ADDED 4/21/2021 UME FOR LOGGED IN BUTTONS */

#loggedinbtns {
    position: absolute;
    z-index: 100;
    top: 140px;
    right: 30px;
}

    #loggedinbtns a {
        margin-left: 3px;
    }

img.thumb {
    width: 50px;
    margin-top: 5px;
    margin-right: 5px;
}

.navbar-nav .nav-link {
    padding-left: 5px !important;
}