/*
 Theme Name:     TSNE - Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    TSNE - Divi Child Theme
 Author:         Smitten Labs
 Author URI:     https://smittenlabs.co/
 Template:       Divi
 Version:        0.0.26
*/


/* =Theme customization starts here
------------------------------------------------------- */

/* Body Overflow - For Responsive */
body,
html {
    font-weight: 400;
    overflow-x: hidden;
}

body #page-container {
    overflow-x: hidden;
}

/* Divi Text Module */
body .et_pb_text_inner h1,
body .et_pb_text_inner h2,
body .et_pb_text_inner h3,
body .et_pb_text_inner h4,
body .et_pb_text_inner h5,
body .et_pb_text_inner h6 {
    padding-bottom: 15px;
}

body .et_pb_text_inner ul li {
    margin-bottom: 25px;
}


/* Blog Image Caption - Span Text */
body.single p.caption {
    font-size: 0.8em;
    line-height: 1.75em;
    margin-bottom: 25px;
}


/* Full Height Image Column */
body .full_height_column {
    height: 100%;
}

body .full_height_column .et_pb_image_wrap {
	height: 100%;
}

body .full_height_column .et_pb_image_wrap img {
    object-fit: cover;
	height: 100%;
}



/* Mailchimp Newsletter Signup */

/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */

body #mc-embedded-subscribe-form input.text, 
body #mc-embedded-subscribe-form input.title, 
body #mc-embedded-subscribe-form input[type=email], 
body #mc-embedded-subscribe-form input[type=password], 
body #mc-embedded-subscribe-form input[type=tel], 
body #mc-embedded-subscribe-form input[type=text], 
body #mc-embedded-subscribe-form select, 
body #mc-embedded-subscribe-form textarea {
    background-color: transparent;
    border-radius: 0;
    font-size: 1rem;
    padding: 10px;
    text-indent: 0;
}

body #mc-embedded-subscribe-form #mc_embed_signup .mc-field-group label {
    font-size: 0.9rem;
}

body #mc_embed_signup .helper_text {
    background-color: transparent;
}

body #mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
    background-color: transparent;
}

body #mc-embedded-subscribe-form .gdprRequired label {
    display: flex;
}

body #mc-embedded-subscribe-form .gdprRequired input[type=checkbox] {
    margin: 0 10px 0 0;
    width: 15px;
}


body #mc-embedded-subscribe-form input[type=checkbox] {
    display: inline; 
    margin-right: 10px;
    width: auto;
}

body #mc-embedded-subscribe-form #mergeRow-gdpr {
    margin-top: 20px;
}

body #mc-embedded-subscribe-form #mergeRow-gdpr fieldset label {
    font-weight: normal;
}

body #mc-embedded-subscribe-form #mc-embedded-subscribe-form .mc_fieldset{
    border:none;
    min-height: 0px;
    padding-bottom:0px;
}

body #mc_embed_signup .button {
    background-color: #54b6b8;
    clip-path: polygon(8% 0%,100% 0%,100% 63%,92% 100%,0% 100%,0% 37%);
    color: #1b365d;
    border-radius: 0px;
    border-width: 0px;
    font-size: 17px;
    font-weight: 600;
    height: auto;
    letter-spacing: 0.4px;
    padding: 15px 70px;
}

body #mc_embed_signup .button:hover {
    background-color: #EFBE79;
    color: #1b365d;
}




/* ------------------------------------------
    Form Assembly - Custom Styling
------------------------------------------ */

/* Date picker fix */
body .kalendae .k-days span {
	box-sizing:content-box;
}

body .wFormContainer .wForm {
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif !important;
    font-size: 1rem;
    padding: 0;
}

body .wFormContainer .wForm form {
    display: flex;
    flex-wrap: wrap;
}

body .wFormContainer .wForm form fieldset {
    border-color: #473699;
    width: 100%;
}


body .wFormContainer .wForm form br {
    display: none;
}

body .wFormContainer {
    max-width: 100% !important;
    width: 100% !important;
}

body .wFormContainer .htmlSection {
    width: 100%;
}

body .wFormContainer .field-container-D {
    width: 100%;
}


body .wFormContainer .field-container-D label {
    display: block;
    margin-bottom: 5px;
    max-width: 100%;
    width: 100%;
}

body .wFormContainer .inputWrapper {
    display: block;
    max-width: 100%;
    width: 100%;
}

body .wFormContainer input[type=text],
body .wFormContainer textarea {
    padding: 10px 10px;
    width: 100%;
}

body .wFormContainer select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 13px 10px 13px;
    position: relative;
    width: 100%;
}

/* Select Arrow - Must target to ID from FormAssembly */
body .wFormContainer #tfa_196-D,
body .wFormContainer #tfa_296-D,
body .wFormContainer #tfa_303-D {
    position: relative;
}

body .wFormContainer #tfa_196-D:after,
body .wFormContainer #tfa_296-D:after,
body .wFormContainer #tfa_303-D:after {
    content: "\25BC";
    color: #000;
    display: block;
    position: absolute;
    right: 20px;
    top: 43px;
}

body .wFormContainer input[type=submit] {
    background-color: #54b6b8;
    clip-path: polygon(8% 0%,100% 0%,100% 63%,92% 100%,0% 100%,0% 37%);
    color: #1b365d;
    border-radius: 0px;
    border-width: 0px;
    font-size: 17px;
    font-weight: 600;
    height: auto;
    letter-spacing: 0.4px;
    padding: 15px 70px;
    transition: all 0.35s ease-in-out;
}

body .wFormContainer input[type=submit]:hover {
    background-color: #EFBE79;
    color: #1b365d;    
}

body .wFormContainer .errMsg {
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 500;
    margin-top: 5px;
}



/* Work With Us Form ID 4747597 */
body .wFormContainer #4747597 .field-container-D {
    width: 50%;
}

/* Website Field */
body .wFormContainer #tfa_106-D {
    width: 100%;
}

/* Textarea - Tell us about what brings you to TSNE and how we can help */
body .wFormContainer #tfa_107-D, 
body .wFormContainer *[id^="tfa_107["][class~="field-container-D"],
body .wFormContainer #tfa_107, 
body .wFormContainer *[id^="tfa_107["] {
    width: 100% !important;
}


body .wFormContainer #tfa_105-D, 
body .wFormContainer *[id^="tfa_105["][class~="field-container-D"] {
    width: 50% !important;
}

body .wFormContainer #tfa_105, 
body .wFormContainer *[id^="tfa_105["] {
    width: 100% !important;
}





/* Blog Category Menu */
body .blog_category_menu {
    display: flex;
    justify-content: center;
    width: 100%;
}

body .blog_category_menu .widget_nav_menu  {
    margin: 0 !important;
}

body .blog_category_menu #menu-blog-category-menu {
    display: flex;
    justify-content: center;
}

body .blog_category_menu #menu-blog-category-menu li {
    margin: 0;
}

body .blog_category_menu #menu-blog-category-menu li a {
    padding: 10px 15px;
}





/* Preloader */
body .dipi_preloader_wrapper_outer .dipi_preloader.square-spin>div {
    background-color: transparent !important;
    background-image: url(/wp-content/themes/tsne/images/tsne-icon.webp);
    background-size: cover !important;    

    height: 113px;
    width: 50px;
}

/* Hero Sub Pages */
body .hero_sub_pages:after {
    background-image: url(/wp-content/themes/tsne/images/hero-stripes-overlay.svg);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: contain;    
    content: " ";
    display: block;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}


/* Cohort Testimonial Carousel */
body .cohort_carousel .dipi-testimonial-main .swiper-container .dipi-testimonial-item {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

body .cohort_carousel .dipi-testimonial-img {
    height: auto !important;
    position: relative;
    width: 15% !important;
}

body .cohort_carousel .dipi-testimonial-img:after {
    content: url(/wp-content/themes/tsne/images/team-triangle-mask-corner-purple.svg);
    height: 25px;
    right: -2px;
    position: absolute;
    top: -2px;
    width: 25px;
    z-index: 10;
}

body .cohort_carousel .dipi-testimonial-text {
    width: 80%;
}

body .cohort_carousel .dipi-testimonial-name {
    margin-top: 15px;
    width: 100%;
}

body .cohort_carousel .swiper-pagination-bullet {
    border: 1px solid #ffffff;
    height: 15px !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    width: 15px !important;
}

body .cohort_carousel .swiper-pagination-bullet.swiper-pagination-bullet-active-main {
    background-color: transparent !important;
}



/* Team Cohort Images - Slanted Corner */
body .team_corner_slant .et_pb_image_wrap:after {
    content: url(/wp-content/themes/tsne/images/team-triangle-mask-corner-white.svg);
    height: 25px;
    right: -3px;
    position: absolute;
    top: -3px;
    width: 25px;
    z-index: 10;
}


/* Team Grid - 3 Columns */
body .team_grid_3col .entry-header {
    margin: 15px 0 0 0;
    order: 1;
}

body .team_grid_3col .dp-dfg-custom-content {
    margin: 0;
    padding: 0;
    padding-bottom: 0 !important;
    order: 2;
}

body .team_grid_3col .read-more-wrapper {
    order: 3;
}


body .team_grid_3col .entry-thumb {
    margin: 0;
}

body .team_grid_3col .dp-dfg-image-link {
    position: relative;
}

body .team_grid_3col .dp-dfg-image-link:after {
    content: url(/wp-content/themes/tsne/images/team-triangle-mask-corner-grey.svg);
    height: 25px;
    right: 0;
    position: absolute;
    top: 0;
    width: 25px;
    z-index: 10;
}




/* Team Grid - 4 Columns */
body .team_grid_4col .entry-header {
    margin: 15px 0 0 0;
    order: 1;
}

body .team_grid_4col .dp-dfg-custom-content {
    margin: 0;
    padding: 0;
    padding-bottom: 0 !important;
    order: 2;
}

body .team_grid_4col .read-more-wrapper {
    order: 3;
}


body .team_grid_4col .entry-thumb {
    margin: 0;
}

body .team_grid_4col .dp-dfg-image-link {
    position: relative;
}

body .team_grid_4col .dp-dfg-image-link:after {
    content: url(/wp-content/themes/tsne/images/team-triangle-mask-corner-white.svg);
    height: 20px;
    right: 0;
    position: absolute;
    top: 0;
    width: 20px;
    z-index: 10;
}


/* Team Grid - No Photos */
body .team_grid_no_photo .dp-dfg-item {
    margin: 0;
    padding: 0;
}

body .team_grid_no_photo .dp-dfg-item .entry-header {
    padding: 0;
}

body .team_grid_no_photo .dp-dfg-item .entry-header .entry-title:after {
    content: ",";
}

body .team_grid_no_photo .dp-dfg-item .dp-dfg-custom-content {
    padding: 0;
}

body .team_grid_no_photo .dp-dfg-item .dp-dfg-cf-team_position {
    margin-bottom: 10px;
}

body .team_grid_no_photo .dp-dfg-item .dp-dfg-custom-content .dp-dfg-custom-field {
    padding: 0 !important;
}

body .team_grid_no_photo .dp-dfg-item .dp-dfg-cf-board_company {
    text-decoration: underline;
}

body .team_grid_no_photo .dp-dfg-cf-team_position span {
    font-family: 'Source Serif Pro',Georgia,"Times New Roman",serif;
    font-size: 1.8rem !important;
    font-weight: 500;
}




/* Event Header */
body.post-type-archive-tribe_events .event-header,
body.single-tribe_events .event-header {
    background-color: #483698;
    background-image: url(https://dev-tsne-2023.pantheonsite.io/wp-content/uploads/2023/10/hero-octo-bg.svg)!important;    
    background-position: right 0px center;
    background-repeat: no-repeat;
    background-size: contain;    
    padding: 7vw 5vw 7vw;
}

body.post-type-archive-tribe_events .event-header h1,
body.single-tribe_events .event-header h1 {
    color: #fff;
    font-size: 4.9rem;
}

body.post-type-archive-tribe_events .event-header h3,
body.single-tribe_events .event-header h3 {
    color: #000;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.36px;
    margin-bottom: 0;
    padding-bottom: 0;
    text-transform: uppercase;
}


/* The Events Calendar Styling */
body .tribe-events .tribe-events-c-search__button {
    background-color: #483698;
    border-radius: 5px;
}

body.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, 
body.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, 
body.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, 
body.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover, 
body .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, 
body .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, 
body .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, 
body .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #483698;
    border-radius: 5px;
}

body .tribe-events .tribe-events-c-search__button:focus, 
body .tribe-events .tribe-events-c-search__button:hover {
    background-color: #483698;
    border-radius: 5px;
}

body .tribe-common .tribe-common-c-btn-border, 
body .tribe-common a.tribe-common-c-btn-border {
    border-color: #483698;
    border-radius: 5px;
    color: #483698;
}






/* Case Study Grid - Desktop */

/* Case Study Grid - Divi Filter Grid  */
body .case_study_grid .dp-dfg-item {
    min-height: 270px;
}

body .case_study_grid .entry-thumb {
    align-items: center;
    display: flex;
    height: 75px;
}

body .case_study_grid .dp-dfg-content {
    position: absolute;
    top: 90px;
}

body .case_study_grid .read-more-wrapper {
    bottom: 15px;
    position: absolute;
}


/* Mobile Down */
@media (max-width: 767px) {

    body .case_study_grid .dp-dfg-item {
        margin-bottom: 25px;
        min-height: auto;
        padding: 0;
    }

    body .case_study_grid .entry-thumb {
        margin: 0 0 15px 0;
    }

    body .case_study_grid .dp-dfg-content {
        position: static;
    }
    
    body .case_study_grid .read-more-wrapper {
        position: static;
    }

}




/* Image Carousel - Top Stripe */
body .dipi_carousel .swiper-pagination .swiper-pagination-bullet {
    height: 12px;
    opacity: 1 !important;
    width: 12px;
}

body .dipi_carousel .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #fff !important;
    border: 1px solid #473699;
}


/* Event and Space Tabs */ 
body .space_tabs .dipi-at-panel-text {
    display: flex;
    justify-content: space-between;
}

body .space_tabs .dipi-at-panel-text div.column {
    width: 45%;
}

body .space_tabs .dipi-at-tabs .dipi-at-tab:before {
    content: url(/wp-content/themes/tsne/images/triangle-mask-corner.svg);
    height: 20px;
    left: -2px;
    position: absolute;
    top: -2px;
    width: 20px;
    z-index: 10;
}


body .space_tabs .dipi-at-panel-text ul li {
    margin-bottom: 10px;
}




/* Service Cards */
body .serivce_card_column {
    position: relative;
}

body .serivce_card_column:before {
    background-color: #1B365D;
    content: " ";
    display: block;
    height: 100%;
    left: 0;
    opacity: 0.9;
    position: absolute;
    top: 0;
    transition: all 0.35s ease-in-out;
    width: 100%;
    z-index: 1;
}

body .serivce_card_column:hover:before {
    background-color: #855991;
}

body .serivce_card_column:after {
    background-color: #EFBE79;
    bottom: 0;
    content: " ";
    display: block;
    height: 75px;
    position: absolute;
    right: 0;
    width: 16px;
    z-index: 10;
}




/* Service Card Blurbs */
body .service_card_blurb:after {
    background-color: #EFBE79;
    bottom: 0;
    content: " ";
    display: block;
    height: 75px;
    position: absolute;
    right: 0;
    width: 16px;
    z-index: 10;
}

body .service_card_blurb .et_pb_blurb_content {
    display: flex;
    flex-wrap: wrap;
    min-height: 250px;
}

body .service_card_blurb .et_pb_blurb_container {
    order: 1;
}

body .service_card_blurb .et_pb_main_blurb_image {
    bottom: 0;
    margin-bottom: 0;
    order: 2;
    position: absolute;
}






/* Footer CTA */ 
body .footer_cta:before {
    background-image: url(/wp-content/themes/tsne/images/footer-cta-before.svg);
    background-position: center left;
    background-repeat: no-repeat;
    background-size: contain;
    content: " ";
    display: block;
    height: 100%;
    max-width: 9vw;
    position: absolute;
    top: 0;
    width: 136px;
    z-index: 10;
}

body .footer_cta:after {
    background-image: url(/wp-content/themes/tsne/images/footer-cta-after.svg);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: contain;
    content: " ";
    display: block;
    height: 100%;
    max-width: 9vw;
    position: absolute;
    right: 0;
    top: 0;
    width: 136px;
    z-index: 10;
}


/* Footer CTA Button */
body .footer_cta_button {
    clip-path: polygon(8% 0%,100% 0%,100% 63%,92% 100%,0% 100%,0% 37%);
}




/* Mega Menu - Desktop */
@media (min-width: 1001px) {

    header #mega-menu-section .mega_menu_nav_row {
        justify-content: space-between;
    }

    header #mega-menu-section .logo_column {
        margin: 0 !important;
        width: 13% !important;
    }    

    header #mega-menu-section .nav_column {
      display: flex;
      justify-content: flex-end;
      margin: 0 !important;
      width: 87% !important;
    }
    
    header #mega-menu-section .tsne_logo {
        margin: 0 !important;
    }

    header #mega-menu-section .et_pb_widget_area {
      align-items: center;
      display: flex;
      justify-content: flex-end;    
      margin-bottom: 0 !important;
      margin-right: 0;
    }
  
    header #mega-menu-section .widget_nav_menu,
    body header .mega-menu .widget_nav_menu {
      margin: 0 !important;
      width: 100% !important;
    }
  
    /**/
    header #mega-menu-section #menu-primary-menu,
    header #menu-icims-header-menu {
      align-items: center;
      display: flex;
      min-width: 960px;
      justify-content: flex-end;
    }
    
  
    header #mega-menu-section #menu-primary-menu li,
    header #menu-icims-header-menu li {
      margin-bottom: 0;
      margin-left: 1vw;
    }
  
    header #mega-menu-section #menu-primary-menu li a {
        background-image: url(/wp-content/themes/tsne/images/nav-arrow-down-black.svg);
        background-repeat: no-repeat;
        background-position: right center;
        background-size: 13px;
        display: block;
        font-size: 15px;
        padding: 0 20px 0 0;
    }
    
    header #mega-menu-section #menu-primary-menu li a:hover {
        background-image: url(/wp-content/themes/tsne/images/nav-arrow-down-purple-stroke.svg);
    }

    body.dipi-mobile-cta-button header #mega-menu-section #menu-primary-menu li a.dipi-cta-button {
        background-image: none;
    }

    header .mega-menu .et_pb_widget li a {
        transition: all 0.35s ease-in-out;
    }
    
    header .mega-menu .et_pb_widget li a:hover {
        color: #efbe79 !important;
    }    
  
}
  
  
body:not(.wp-admin) header .mega-menu {
    opacity: 0;
    visibility: hidden;
}


body header .mega-menu {
    position: absolute !important;
    transition: all 0.35s ease-in-out;
    width: 100%;
}

body header .mega-menu .close {
    align-items: center;
    cursor: pointer;
    display: flex;
    height: 50px;
    justify-content: center;
    position: absolute;
    right: 50px;
    top: 15px;
    width: 40px;
    z-index: 1000;
}


/* Mega Menu - Desktop 
@media (min-width: 1100px) {

    header #mega-menu-section #menu-primary-menu li {
        margin-left: 1.5vw;
    }

    header #mega-menu-section #menu-primary-menu li a {
        font-size: 14px;
    }

}
*/


/* Mega Menu - Large Desktop 
@media (min-width: 1200px) {

    header #mega-menu-section #menu-primary-menu li {
        margin-left: 1.75vw;
    }

    header #mega-menu-section #menu-primary-menu li a {
        font-size: 15px;
    }

}
*/

/* Mega Menu - Large Desktop 
@media (min-width: 1300px) {

    header #mega-menu-section #menu-primary-menu li {
        margin-left: 2vw;
    }

    header #mega-menu-section #menu-primary-menu li a {
        font-size: 16px;
    }

}
*/


body header .mega-menu button.close_icon {
    background-color: transparent;
    background-image: url(/wp-content/themes/tsne/images/icon-close-x.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    cursor: pointer;
    display: block;
    height: 25px;
    position: absolute;
    right: 25px;
    top: 25px;
    width: 25px;
    z-index: 100;
}

body header .mega-menu.open {
    opacity: 1;
    visibility: visible;
}
  
body #mega-menu-section button.burger {
    background-color: transparent;
    background-image: url(/wp-content/themes/tsne/images/burger-blue.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    cursor: pointer;
    display: block;
    height: 20px;
    position: absolute;
    right: 25px;
    top: 30px;
    width: 20px;

    display: none;
    z-index: 100;
}
  
body #mega-menu-section button.burger.open {
    background-image: url(/wp-content/themes/tsne/images/icon-close-bar-blue.svg);
}
  

/* icims Header Menu */
header #menu-icims-header-menu li.button a {
    background-color: #54b6b8;
    font-weight: 600;
    clip-path: polygon(8% 0%,100% 0%,100% 63%,92% 100%,0% 100%,0% 37%);
    display: inline-block;
    padding: 10px 50px;
}

header #menu-icims-header-menu li.button a:hover {
    background-color: #855991;
    color: #ffffff !important;
}


/* icims Footer Menu */
footer #icims-footer-menu .widget_nav_menu {
    margin: 0 !important;
    width: 100% !important;
}

footer #icims-footer-menu .widget_nav_menu #menu-icims-footer-menu {
    align-items: center;
    display: flex;
    justify-content: flex-end;
}

footer #icims-footer-menu .widget_nav_menu #menu-icims-footer-menu li a {
    font-size: 14px;
    letter-spacing: 0.33;
    padding: 5px 10px;
}


/* Mega Menu - Tablet and DOWN */
@media (max-width: 1000px) {

    header #mega-menu-section .logo_column {
        margin-bottom: 0 !important;
    }

    header #mega-menu-section .nav_column {
        background-color: #fff;
        left: -6%;
        opacity: 0;
        padding: 15px 5%;
        position: absolute !important;
        top: 92px;
        transition: all 0.35s ease-in-out;
        visibility: hidden;
        width: 112% !important;
        z-index: 200;
    }

    header #mega-menu-section .nav_column.open {
        margin-left: 0;
        opacity: 1;
        visibility: visible;
    }

    body #mega-menu-section button.burger {
        display: block;
    }

    body header .mega-menu button.close_icon { 
        right: 25px;
        top: 20px;
    }

    body #mega-menu-section .menu-mega-menu-primary-container {
        padding: 0 15px 15px;
    }

    header #mega-menu-section .et_pb_widget_area {
        margin: 0 !important;
    }

    header #mega-menu-section .widget_nav_menu,
    body header .mega-menu .widget_nav_menu {
        margin: 0 !important;
        width: 100%;
    }

    header #mega-menu-section #menu-primary-menu li a {
        border-bottom: 1px solid rgba(0,0,0,.09);
        color: #002068;
        display: block;
        font-size: 14px;
        font-weight: 500;
        margin: 10px 0;
        padding: 10px 0;
        text-transform: uppercase;
    }  

    header #mega-menu-section #menu-primary-menu li a:after {
        content: url(/wp-content/themes/tsne/images/nav-arrow-down-black.svg);
        display: inline-block;
        left: 5px;
        position: relative;
        top: 0;
        transform: rotate(-90deg);
    }  

    body header .mega-menu i.close {
        background-size: contain;
        content: "x";
        height: 25px;
        left: 5%;
        right: auto;
        top: 3%;
        width: 25px;
    }

    body header .mega-menu {
        top: 98px;
        z-index: 100;
    }

    body header .mega-menu.open {
        opacity: 1;
        visibility: visible;
        z-index: 1000;
    }

    /* Shawn bug fix */
    body header #mega-menu-section #menu-primary-menu li a:focus {
        background-image: none;
    }

}


/* Button Slant CSS - Took from Joe's build - Not yet available on all browsers */
body li.dipi-cta-button-menu-item {
    clip-path: polygon(8% 0%,100% 0%,100% 63%,92% 100%,0% 100%,0% 37%);
    position: relative;
}

header #mega-menu-section #menu-primary-menu .dipi-cta-button {
    color: #183964 !important;
}

header #mega-menu-section #menu-primary-menu .dipi-cta-button:hover {
    color: #ffffff !important;
}


/* Footer Menus */
footer .widget_nav_menu {
    margin-bottom: 15px !important;
}


footer .legal_menu .widget_nav_menu {
    margin: 0 !important;
    width: 100% !important;
}

footer #menu-footer-legal-menu {
    display: flex;
    justify-content: flex-end;
}

footer #menu-footer-legal-menu li {
    margin-bottom: 0;
    margin-left: 10px;
}

footer #menu-footer-legal-menu li a {
    display: block;
    padding: 15px 5px;
}




/* Mobile Menu 

body #mobile_menu li.menu-item-home a {
    border-radius: 0;
    display: block;
    margin: auto;
    max-width: 300px;
}

body #mobile_menu li.menu-item-has-children {
    border-bottom: 1px solid #ffffff !important;
}

body #mobile_menu li:nth-last-of-type(2) {
}

body .et_mobile_menu li > .sub-menu {
    margin-bottom: 25px;
}

body .et_mobile_menu li > .sub-menu > li {
    margin-bottom: 0 !important;
}

body .et_mobile_menu li.menu-item-has-children > a, 
body .et-menu li.menu-item-has-children > a,
body .et_mobile_menu li > .sub-menu > li > a {
    font-family: bilo,sans-serif;
    font-size: 16px !important;
    margin-bottom: 0 !important;
}

html body.dipi-collapse-submenu-mobile .et-l--header .et_mobile_menu li .sub-menu:before, 
body .et_mobile_menu li > .sub-menu:before {
    height: 0 !important;
}

html body.dipi-collapse-submenu-mobile .et-l--header .et_mobile_menu li .sub-menu:after, 
body .et_mobile_menu li > .sub-menu:after {
    height: 0 !important;
}

body .et_mobile_menu .dipi-cta-button-menu-item {
    margin-top: 50px;
}

*/









/* Laptop and DOWN */
@media (max-width: 1300px) { 

}


/* Laptop and DOWN */
@media (max-width: 1100px) { 

    /* Footer Menus */
    footer #menu-footer-legal-menu {
        justify-content: center;
    }

}

/* Tablet and DOWN */
@media (max-width: 980px) { 


    /* Responsive Column Order */
    body .flex_swap,
    body .flex_row {
        display: flex;
        flex-wrap: wrap;
    }
    
    body .flex_swap .et_pb_column,
    body .flex_row .et_pb_column {
        margin: 0;
        width: 100%;
    }

    body .flex_swap .et_pb_column:first-of-type {
        order: 2;
    }    
    
    body .flex_swap .et_pb_column:last-of-type {
        order: 1;
    }

    
    /* Cohort Testimonial Carousel */
    body .cohort_carousel .dipi-testimonial-img {
        width: 25% !important;
    }

    body .cohort_carousel .dipi-testimonial-text {
        width: 70%;
    }

    body .cohort_carousel .dipi-testimonial-name {
        margin-top: 10px;
    }



    /* Hero Sub Pages */
    body .hero_sub_pages:after {
        background-size: cover;    
    }    
    
    /* Event and Space Tabs */ 
    body .space_tabs .dipi-at-panel-text {
        flex-wrap: wrap;
    }

    body .space_tabs .dipi-at-panel-text div.column {
        width: 100%;
    }    

    /* icims Header Menu */
    header #menu-icims-header-menu li.button a {
        margin-top: 15px;
    }    


    /* icims Footer Menu */
    footer #icims-footer-menu .widget_nav_menu #menu-icims-footer-menu {
        justify-content: center;
    }


    /* Event Header */
    body.post-type-archive-tribe_events .event-header h1,
    body.single-tribe_events .event-header h1 {
        font-size: 3.5rem;
    }


}

/* Mobile Down */
@media (max-width: 767px) {

    /* Cohort Testimonial Carousel */
    body .cohort_carousel .dipi-testimonial-img {
        margin-bottom: 25px;
        width: 50% !important;
    }

    body .cohort_carousel .dipi-testimonial-text {
        width: 100%;
    }

    body .cohort_carousel .dipi-testimonial-name {
        margin-top: 10px;
    }

    /* Event Header */
    body.post-type-archive-tribe_events .event-header h1,
    body.single-tribe_events .event-header h1 {
        font-size: 2.5rem;
    }        
    
}


@media (max-width: 625px) {
    
}


/* Mobile Down */
@media screen and (max-width: 480px) {

    /* Blog Single */
    body.single img.alignright {
        float: none;
        margin-bottom: 15px;
        margin-left: 0;
    }

}






/* Adobe Typekit */

/* 
body .source-serif-pro {
    font-family: "source-serif-pro", serif;
    font-weight: 700;
    font-style: normal;
}

Source Serif Pro ExtraLight
font-family: "source-serif-pro", serif;
font-weight: 200;
font-style: normal;

Source Serif Pro ExtraLight Italic
font-family: "source-serif-pro", serif;
font-weight: 200;
font-style: italic;

Source Serif Pro Light
font-family: "source-serif-pro", serif;
font-weight: 300;
font-style: normal;

Source Serif Pro Light Italic
font-family: "source-serif-pro", serif;
font-weight: 300;
font-style: italic;

Source Serif Pro Regular
font-family: "source-serif-pro", serif;
font-weight: 400;
font-style: normal;

Source Serif Pro Italic
font-family: "source-serif-pro", serif;
font-weight: 400;
font-style: italic;

Source Serif Pro Semibold
font-family: "source-serif-pro", serif;
font-weight: 600;
font-style: normal;

Source Serif Pro Semibold Italic
font-family: "source-serif-pro", serif;
font-weight: 600;
font-style: italic;

Source Serif Pro Bold
font-family: "source-serif-pro", serif;
font-weight: 700;
font-style: normal;

Source Serif Pro Bold Italic
font-family: "source-serif-pro", serif;
font-weight: 700;
font-style: italic;

Source Serif Pro Black
font-family: "source-serif-pro", serif;
font-weight: 900;
font-style: normal;

Source Serif Pro Black Italic
font-family: "source-serif-pro", serif;
font-weight: 900;
font-style: italic;
*/

