/* Nav Menu Newsletter Signup */
#top-menu li {
    vertical-align: middle;
}
a.newsletter-signup {
    height: 14px;
    width: 40px;
    background: url(/wp-content/themes/community/images/envelope-white-2.png) center / contain no-repeat;
}
.webp a.newsletter-signup {
    background: url(/wp-content/themes/community/images/envelope-white-2.webp) center / contain no-repeat;
}
#top-menu-nav a.newsletter-signup {
    margin-top: -5px;
    /*border: 1px solid red;*/
}
.mobile_nav a.newsletter-signup {
    width: auto;
    background: url(/wp-content/themes/community/images/envelope-black-2.png) center / contain no-repeat;
    background-size: 30px;
}

.webp .mobile_nav a.newsletter-signup {
    background: url(/wp-content/themes/community/images/envelope-black-2.webp) center / contain no-repeat;
}
/* Nav Menu Newsletter Signup Ends */

/* Community Newsletter Popup */
.newsletter-popup {
    text-align: center;
}
.newsletter-popup p {
    font-family: 'CircularStd-Bold';
    font-weight: 300;
    font-size: 1.4em;
    line-height: 1.75em;
    margin-bottom: 2em;
}
.newsletter-popup p input {
    width: 48.5%;
}
.newsletter-popup h1.title, .newsletter-popup input[type='submit'] {
    display: block;
    margin: 0 auto;
}
.newsletter-popup h1.title {
    font: normal 1.75em / 1.5 'CircularStd-Bold', Arial, sans-serif !important;
}
.newsletter-popup form input, .newsletter-popup input[type='submit'] {
    text-transform: lowercase;
    font-size: 13px;
    text-align: center;
}
.newsletter-popup label {
    float: left;
}
.newsletter-popup label + * {
    float: right;
}
.newsletter-popup input[type='email'] {
    width: 99%;
}
.newsletter-popup .input-wrapper {
    margin-bottom: 0.35em;
    display: block;
    overflow: hidden;
}
/* Community Newsletter Popup Ends */

/* Job Board Plugin Overrides */
.sjb-page {
    max-width: 1170px;
    margin: 0 auto;
}
.sjb-page header {
    position: initial;
}

.sjb-page h4 {
    font-weight: bold;
}
.sjb-page p {
    line-height: initial;
    font-family: 'CircularStd-Book';
    font-weight: 300;
}

.sjb-page .form-group {
    position: relative;
}
.sjb-page .sjb-detail {
    margin: 128px 0 28px;
}
.sjb-page, .sjb-page .list-data .job-description p, .sjb-page .sjb-detail .list-data ul li, .sjb-page .job-features td, .sjb-page .sjb-detail .jobpost-form label {
    color: #000;
    font-family: 'proxima_novalight' !important;
    font-size: 14px;
    letter-spacing: 0.075em;
    line-height: 1.7em;
    font-weight: 700;
}
.sjb-listing .job-title,
.sjb-listing .job-type,
.sjb-listing .job-location,
.sjb-listing .job-date {
    font-weight: 300;
    font-size: 1.075em !important;
    text-align: right !important;
    font-family: 'CircularStd-Bold' !important;
}
.sjb-listing .list-data .job-description p:last-child {
    text-align: right;
}
.sjb-listing .job-title {
    float: none;
}
.sjb-listing .list-data {
    border: none;
}

.sjb-listing .list-view .clearfix {
    margin: 0 20px;
    border-top: 1px solid #a1a1a1;
}

.sjb-page .sjb-detail .list-data ul li {
    margin-bottom: 0.5em;
}
.sjb-page .sjb-detail .list-data ul li::before {
    color: #fff;
}
.sjb-page .sjb-detail .list-data ul li::before {
    color: #000 !important;
    content: "\f111";
    font-size: 0.333em
}
.sjb-detail .company-logo img {
    display: none;
}
.sjb-detail h3 {
    text-decoration: none;
}
.sjb-detail .job-title {
    font-size: 2em;
    font-family: 'CircularStd-Bold' !important;
}
.sjb-detail p {
    letter-spacing: initial;
}





.sjb-container {
    width: 90% !important;
}












.sjb-detail .job-type,
.sjb-detail .job-location,
.sjb-detail .job-date,
.sjb-page .sjb-detail .list-data h3{
    font-size: 1.15em !important;
    font-family: 'CircularStd-Bold' !important;
    font-weight: 300 !important;
}

.sjb-detail .list-data {
    border: 0;
    padding-right: 33% !important;
}
.sjb-page .list-data .header-margin-top {
    margin: 16px 0 32px;
}

.sjb-page .sjb-detail .job-features .table td:first-child,
.sjb-page .sjb-detail .job-features .table tr:last-child td {
    border-right: 0;
}

/* Simple Job Board Button Overrides */
.sjb-page .btn-primary, .sjb-page .btn-primary:visited, .sjb-page .btn-primary:active,
.sjb-page .sjb-detail .jobpost-form .file div,
.sjb-page .sjb-detail .jobpost-form .app-submit {
    text-transform: lowercase;
    background-color: #ffffff !important;
    color: #000000 !important;
    border-radius: 0;
    padding: 10px 30px;
    margin: 0 auto;
    border: 1px solid #000000;
    height: auto;
    text-decoration: underline;
    font-family: 'CircularStd-Book';
    font-size: 13px;
    font-weight: 300;
    letter-spacing: normal;
}
.sjb-page .btn-primary:hover,
.sjb-page .sjb-detail .jobpost-form .file div.active,
.sjb-page .sjb-detail .jobpost-form .app-submit:hover
{
    background-color: #000 !important;
    color: #fff !important;
    text-decoration: underline;
    border: 1px solid #000;
}
/* Simple Job Board Button Overrides Ends */



.sjb-detail header div[class*='header'] .row > * {
    width: 33%;
}
.sjb-detail header div[class*='header'] .row > :first-child {
    display: none;
}




/* Job Application Form Starts */
.sjb-page label {
    font-weight: bold !important;
}
.sjb-page input, .sjb-page input:focus, .sjb-page select, .sjb-page textarea {
    border: 1px solid #cccccc !important;
}
.sjb-page input:focus {
    padding: 6px 12px;
}
.sjb-page .form-control, .sjb-page .form-control:active, .sjb-page .form-control:focus {
    border: 1px solid #a1a1a1 !important;
    border-radius: 0 !important;
    /* padding: 6px 12px !important; */
}
.sjb-page .sjb-detail .jobpost-form .file {
    border: none;
    box-shadow: none;
    overflow-wrap: break-word;
    position: initial;
    height: auto;
    margin-top: 16px;
    font-size: 0.75em;
}
.sjb-page .alert-success,
.sjb-page .alert {
    color: #000000;
    background-color: transparent;
    border: none !important;
    text-align: center;
    padding: 0;
}
/* Job Aplication Form Ends */

body.single-jobpost #main-header {
    background-color: black !important;
}
#sjb-form-padding-button {
    text-align: center;
}

/* Media Queries Start */
@media (max-width: 699px) {
    br.deskop {
        display: none;
    }
    .newsletter-popup {
        font-size: 0.85em;
    }
    .newsletter-popup form input {
        line-height: 1em;
    }
    .newsletter-popup p input {
        width: 47.5%;
    }
    .newsletter-popup input[type='email'] {
        width: 95%;
    }
    .vex.vex-theme-custom .vex-content {
        padding: 4em 7.5%;
    }
}

@media (max-width: 767px) {
    .sjb-listing .job-title,
    .sjb-listing .job-type,
    .sjb-listing .job-location,
    .sjb-listing .job-date {
        text-align: left !important;
    }
}

@media (max-width: 980px) {
    body.single-jobpost #main-header {
          background-color: transparent !important;
    }
    body.single-jobpost #main-header .container {
        background-color: black;
    }
    body.single-jobpost .application-form {
        margin-top: 0 !important;
    }
    .sjb-detail .list-data {
        padding-right: 0 !important;
    }
}

@media (min-width: 981px) {
    body.single-jobpost .application-form {
        position: absolute;
        top: 0;
        right: 0;
        width: 30%;
        padding: 0 1.5%;
        margin-top: 50px;
        border: 1px solid #a1a1a1;
    }
    .application-form {
        border: 3px solid black;
    }
    .application-form h3 {
        background-color: black;
        color: white !important;
        text-align: center;
        padding: 6%;
        margin: 0 -6% 20px !important;
        letter-spacing: 0.075em;
    }
}

.et_pb_video_play{
    text-decoration: none !important;
}



/* mark@fiberdesign.ca - Category **************/





.callout-grid{
    width: 100%;
    display: block;
    font-size: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Force last item to left */
.callout-grid::after {
    content: '';
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    width: calc(33.33333% - 0.75rem);
}

.callout-grid article{
    height: 72vw;
    width: 100%;
    background-size: cover !important;
    background-origin: content-box !important;
    display: inline-block;
    vertical-align: middle;
    border-top: 0.15rem solid white;
    border-bottom: 1rem solid white;
    position: relative;
}

@media only screen and (min-width: 768px){
    .callout-grid article{
        height: 35vw;
        width: calc(50% - 0.5rem);
    }
}

@media only screen and (min-width: 959px){
    .callout-grid article{
        height: 24vw;
        width: calc(33.33333% - 0.75rem);
    }
}



.callout-grid article a{
    position: absolute;
    top: 0;
    left: 0;
    background: black;
    height: 100%;
    width: 100%;
    display: block;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    -moz-transition: opacity .2s ease-in;
    -o-transition: opacity .2s ease-in;
    -webkit-transition: opacity .2s ease-in;
    transition: opacity .2s ease-in;
    text-align: center;
}

.callout-grid article a:hover,
.callout-grid article a:focus{
    opacity: 1;
}


.callout-grid article a::after{
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.callout-grid article a .callout-text{
    color: white !important;
    font-family: circularstd-book;
    font-size: 21px;
    text-decoration: underline;
    display: inline-block;
    vertical-align: middle;
}




/** Single Case Study What's Next **********/

.next-heading{
    text-align: center;
    margin-bottom: 5rem;
    margin-top: 2rem;
}

.next-heading p{
    font-size: 21px;
    font-family: circularstd-book;
    font-weight: 400;
    letter-spacing: -0.005em;
}

.nav-single .comm-case{
    display: none;
}

.callout-grid.whats-next{
    text-align: center;
}

.callout-grid.whats-next article{
    width: 100%;
    height: 72vw;
    border: none !important;
}

.comm-more-work .et_pb_row_fullwidth{
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (min-width: 768px){
    .callout-grid.whats-next article{
        height: 35vw;
        width: 50%;
    }
}


/* Work Page category selector */


#cat-navigation{
    margin-top: -1.5rem;
    margin-bottom: 3.5rem;
    text-align: center;
    padding: 0 1rem;
}

#cat-navigation a{
    color: black !important;
    text-decoration: none !important;
    padding: 0 0.25rem;
    padding-left: 0.5rem;
}

#cat-navigation a::before{
    content: "/";
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.9em;
}

#cat-navigation a:first-child::before{
    display: none;
}

#cat-navigation a.active,
#cat-navigation a:hover,
#cat-navigation a:focus{
    text-decoration: underline !important;
}


.page-template-page-work .callout-grid{
    margin-bottom: -1rem;
}

span.logo_helper{
    display: none;
}

.logo_container a{
    display: inline-block;
    max-width: 100%;
}
#logo{
    max-width: 100% !important;
    margin: 0;
    margin-left: 45%;
    margin-top: 1.5rem;
    width: 70px;
}

/* footer */
footer .fbimg img {
    width: 115px;
    margin-left: 4px;
}