/*
Theme Name: Trinity Version 5
Theme URI: https://trinitydc.edu
Template: salient
Author: Timothy Russell
Description: An Ultra Responsive Multi-Purpose Theme. Modified for Trinity Washington University.
Version: 1.0.1675204651
Updated: 2023-01-31 22:37:31

*/

/*
 * ============================================================
 * [PRESERVE YOUR EXISTING THEME HEADER ABOVE THIS LINE]
 * Do not replace the Theme Name / Template / Version block
 * that is already at the top of this file.
 * ============================================================
 *
 * Trinity Washington University — Shared Network Styles
 * Child theme: salient-trinityv5
 *
 * All rules in this file load on every site in the network:
 * the primary site and all subsites.
 *
 * Rules marked FUTURE MIGRATION should be moved to the
 * indicated subsite's custom-css once that subsite is created,
 * then removed from this file.
 * ============================================================
 */


/* ============================================================
   Search overlay fix
   Prevents awesomplete search items near the top of the page
   from being unclickable when the overlay is hidden.
   A better long-term approach may be moving the overlay
   off-screen when hidden rather than forcing a size.
   ============================================================ */

#search {
    height: auto !important;
    padding: 60px 0 !important;
}


/* ============================================================
   Admin bar — hide unnecessary items network-wide
   ============================================================ */

#wp-admin-bar-salient-hook-locations,
#wp-admin-bar-duplicate-post,
#wp-admin-bar-updates,
#wp-admin-bar-customize,
#wp-admin-bar-comments,
#wp-admin-bar-tribe-events,
#ppc-admin-notices-toolbar-item {
    display: none !important;
}


/* ============================================================
   Hide Salient skip-to-content button
   ============================================================ */

.nectar-skip-to-content {
    display: none !important;
}


/* ============================================================
   ACF field instructions — admin UI highlight
   Applies to all sites using ACF fields
   ============================================================ */

.acf-instructions {
    background-color: #fff4cf !important;
}


/* ============================================================
   Hide backend instruction blocks from front-end
   Used in WPBakery rows/columns to guide content editors
   ============================================================ */

.backend-instructions {
    display: none;
}


/* ============================================================
   Responsive container breakpoints
   ============================================================ */

@media only screen and (max-width: 321px) {
    .container,
    .post-area.standard-minimal.full-width-content .post .inner-wrap,
    .slider-nav {
        max-width: 300px;
    }
}

@media only screen and (max-width: 479px) {
    .full-width-content .wpb_column.max_width_phone_420px.left_margin_phone_auto.right_margin_phone_auto {
        width: 320px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 690px) {
    .post-area.standard-minimal.full-width-content .post .inner-wrap,
    body .container,
    body .slider-nav {
        max-width: 460px;
        padding-right: 10px;
        padding-left: 10px;
    }
}


/* ============================================================
   Elegant zoom — reusable entrance animation utility
   Apply class .elegant-zoom to any element
   ============================================================ */

.elegant-zoom {
    animation: zoomSlow 5s ease-out forwards;
    z-index: -500 !important;
}

@keyframes zoomSlow {
    from {
        transform: scale(1.1);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* ============================================================
   Blog / post area
   ============================================================ */

div.row.heading-title.hentry {
    display: none;
}

.post-area:not(:has(article)) {
    padding-top: 40px;
}

.grav-wrap {
    display: none;
}

.news-list-item {
    padding-bottom: 10px;
    font-size: 15px;
    line-height: 18px;
}
.img-caption {
	font-size: 80%;
}

/* ============================================================
   Sidebar
   ============================================================ */

#sidebar {
    margin-top: 80px !important;
	background-color: #FFFFFF;
	filter: drop-shadow(0px 1px 6px #c9c9c9);
	padding: 10px 10px;
	border-radius: 10px;
}

/* ============================================================
   Testimonial carousel — fade-edge overlays
   #drag-me z-index keeps drag handle above the overlays
   ============================================================ */

.testimonial-carousel::before {
    content: '';
    z-index: 10000;
    top: -50px;
    padding-bottom: 30px;
    width: 10%;
    height: 100%;
    display: block;
    position: absolute;
    right: 0px;
    background: linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 50%);
}

.testimonial-carousel::after {
    content: '';
    z-index: 10000;
    top: -50px;
    padding-bottom: 30px;
    width: 10%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 50%);
}

#drag-me {
    z-index: 10001;
}


/* ============================================================
   WP Grid Builder — network-wide overrides
   ============================================================ */

.wpgb-card a {
    text-decoration: none !important;
}

.wpgb-hover-accent-1:not(.nohover):hover {
    color: white;
}

.wpgb-card-9 .wpgb-block-1 {
    line-height: 16px !important;
}

/* Drop shadow on Grid Builder filter sidebar */
.wpgb-grid-6 .wpgb-sidebar.wpgb-sidebar-left {
    -webkit-box-shadow: 4px 4px 15px 4px rgba(0, 0, 0, 0.14);
    -moz-box-shadow: 4px 4px 15px 4px rgba(0, 0, 0, 0.14);
    box-shadow: 4px 4px 15px 4px rgba(0, 0, 0, 0.14);
}


/* ============================================================
   Success Profiles — hide inline images
   Visibility controlled via Trinity Success Profiles Manager
   ============================================================ */

.success_profile_content img {
    display: none;
}


/* ============================================================
   Utility — responsive show/hide
   ============================================================ */

.show-on-mobile {
    display: none;
}


/* ============================================================
   Utility — layout helpers
   ============================================================ */

.alignleft {
    border-radius: 8px;
}

.shadowed-basic {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.spaced-column-third {
    width: 31% !important;
    margin-left: 1% !important;
    margin-right: 1% !important;
}


/* ============================================================
   Sidebar color variants — reusable content blocks
   ============================================================ */

.sidebar-teal {
    border-radius: 10px;
    background-color: rgba(23, 135, 131, 0.1);
    padding: 20px 30px;
}

.sidebar-cream {
    border-radius: 10px;
    background-color: #fffbec;
    padding: 20px 30px;
    margin: 0px 20px;
}

.sidebar-light-green {
    border-radius: 10px;
    background-color: #e3e8d9;
    padding: 20px 30px;
    border: solid 1px #e3e8d9;
}


/* ============================================================
   Page submenu — sticky sub-navigation bar
   Used on school and program pages; expected on subsites
   ============================================================ */

.page-submenu {
    margin-bottom: 20px;
}

.page-submenu > .full-width-content {
    padding: 0px 0px;
}

body .page-submenu li a {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #4d306a;
}

.page-submenu a {
    font-size: 110% !important;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: underline;
}

.page-submenu.stuck {
    border: solid 1px black;
    border-color: rgba(20, 0, 20, 1) !important;
}

ul.sub-menu li.menu-item-has-children {
    font-weight: bold;
}


/* ============================================================
   Toggle / accordion
   ============================================================ */

h3.toggle-title {
    font-size: 24px !important;
}

div.toggles.accordion h3 {
    font-size: 20px !important;
}


/* ============================================================
   Buttons — reusable styles
   ============================================================ */

a.sixty-width-button.nectar-button {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 999px !important;
    display: block;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
}

a.school-explore-progs-button.nectar-button {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 999px !important;
    display: block;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
}

#program-page-header-request-info-button,
#program-page-header-apply-button {
    display: block;
    padding: 10px 10px;
    background-color: #4d306a;
    border-radius: 50px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}


/* ============================================================
   Page banner
   ============================================================ */

.page-banner {
    padding: 80px 0px 80px 20px;
    color: white;
}


/* ============================================================
   Program header image
   ============================================================ */

.program-header-image {
    border-radius: 999px;
}


/* ============================================================
   Personnel lists
   Developed for school pages; may be used on subsites
   ============================================================ */

td.col-personnel_portrait_photo {
    width: 80px !important;
}

.col-personnel_portrait_photo img {
    border-radius: 999px;
    -webkit-box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.37);
    -moz-box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.37);
    box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.37);
}


/* ============================================================
   FUTURE MIGRATION: move to /admissions/ subsite custom-css
   once that subsite is created, then remove from this file.
   ============================================================ */

.all-recruiters {
    width: 25%;
    float: left;
}


/* ============================================================
   Mobile overrides
   ============================================================ */

@media only screen and (max-width: 900px) {

    .spaced-column-third {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* FUTURE MIGRATION: move to /admissions/ subsite custom-css
       once that subsite is created, then remove from this file. */
    .all-recruiters {
        width: 100%;
        float: none;
    }

    .hide-on-mobile {
        display: none;
    }

    .show-on-mobile {
        display: block;
    }

    .sidebar-cream {
        border-radius: 10px;
        background-color: #fffbec;
        padding: 20px 30px;
        margin: 0px 0px;
    }

    body .page-submenu li a {
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0.5);
        -moz-box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0.5);
        box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0.5);
        background-color: rgba(77, 48, 106, 0.1);
        border-radius: 0px;
    }

}