/*
This file is responsible only for providing theme information that are displayed
in `Apperance > Themes`. Do not write in here any CSS declarations.

Theme Name: Purdue HHS Child Theme
Theme URI: https://marcom.purdue.edu/our-brand/digital/
Description: Child theme of the Purdue Branded Theme, built for use on the Purdue HHS site 
Template: purdue-wp-theme
Version: 1.0.0
Author: Purdue Marketing and Communicatons
Author URI: https://marcom.purdue.edu
Text Domain: purdue
License: GPLv3 License
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
*/

.mhs-contact-form > iframe{
    width: 100%;
    height: 950px;
}

.wp-block-embed-youtube .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    /* padding-bottom: 56.25%; */
}

.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.purdue-blocks__button__text {
    display: flex;
    align-items: center;
}

.contact-us-heading {
    display: flex;
    align-items: center;
    margin: 0 3.25rem !important;
}

.contact-us-heading>h2 {
    margin: 0px;
}

.social-buttons {
    display: flex;
    justify-content: end;
    margin: 0 3.25rem !important;
}

.social-buttons>.icon-group {
    padding: 0;
}

.social-buttons>.icon-group>.icon-item {
    margin-right: 50px;
    background: #fff;
    border-radius: 25%;
    height: 40px;
    width: 40px;
}

.social-buttons>.icon-group .icon-item-icon-placeholder {
    color: #000;
}

.social-buttons>.icon-group .icon-item:hover {
    background: #CFB991;
}

.contact-us-info .box {
    height: 100%;
}

.contact-us-info p {
    margin: 0px !important;
}

@media (max-width:767px) {
    .contact-us-heading {
          margin: 0 1.25rem !important;
    }

    .social-buttons {
          justify-content: flex-start;
          margin: 0 1.25rem !important;
          padding-top: 0;
    }

    .social-buttons>.icon-group>.icon-item {
          margin-right: 2rem;
    }
}

.sidebar-box__content>p {
    margin: 0px !important;
}

.sidebar-box__content a {
    text-decoration: none;
    font-weight: bold;
}

.major-table>table {
    text-align: center;
}

.wp-block-table.aligncenter td {
    vertical-align: middle;
}

th.has-text-align-center {
    vertical-align: middle !important;
}

td {
    padding: 5px !important;
}

td:first-child {
    text-align: left !important;
}

@media (max-width:1023px) {
    .desktop-only {
          display: none;
    }
}

.header-clear {
    clear: both;
}

.icon-column {
    flex: none !important;
    font-size: 1.25rem;
    color: #555960;
}

.accordion .accordion-title:after {
    top: 0.6rem;
}

.honor-program-table {
    width: 100% !important;
}

.full-width-video-16-9 .wp-block-embed__wrapper {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
}

.full-width-video-16-9 .wp-block-embed__wrapper iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.contact-header {
    padding: 0.9rem 2rem !important;
    margin-bottom: 0 !important;
}

.DesignedButton__button,
.DesignedButton__button:active,
.DesignedButton__button:focus,
.DesignedButton__button:hover {
    border: 1px solid #000 !important;
    font-family: United Sans;
    font-weight: 700 !important;
}

.DesignedButton__button {
    border: 1px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
}

.DesignedButton__button:hover {
    border: 1px solid #000 !important;
    background: #000 !important;
    color: #cfb991 !important;
}

.FeedHeader__info-row {
    line-height: 1.3;
}

@media (max-width:767px) {
    .DesignedButton__button {
          margin-top: 1rem !important;
    }
}

.adjusted-padding.section {
    padding-top: 6rem !important;
}

@media (max-width:1023px) {
    .adjusted-padding.section {
          padding-top: 3rem !important;
          padding-bottom: 0 !important;
    }
}

h2.feed-header,
.section>.container>h2 {
    font-size: 2rem !important;
    font-family: United Sans, Impact, Arial Black, sans serif !important;
    font-weight: 700 !important;
}

.news-feed {
    background: none;
}

h2.feed-header {
    text-align: center;
}

@media (max-width:767px) {
    .strip-background {
          background-image: url(https://hhs.purdue.edu/wp-content/uploads/2021/12/MicrosoftTeams-image-42.png) !important;
    }
}

.hhs-large-text-hero .hero.is-large .hero-body .background-image:before {
    content: none;
}

.faculty-profile-card .media .media-left {
    width: 30%;
}

h2.has-background {
    padding: 0.75em 1.5em;
}

h2.has-background.has-black-background-color {
    color: #CFB991 !important;
}

.column>.box {
    height: 100%;
}

.purdue-blocks__button {
    align-items: center;
}

.hhs-ordered-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.hhs-ordered-list li {
    margin: 0 !important;
    flex-basis: 20%;
    padding: 0 1.5rem 0.5rem 0;
}

@media (max-width:767px) {
    .hhs-ordered-list li {
          flex-basis: 100%;
    }
}

.department-research-faculty-list {
    list-style: disc inside !important;
}

.department-research-faculty-list a .name {
    display: inline;
}

.department-research-faculty-list .fa-circle {
    display: none;
}

#alm-filters-majorsearch {
    max-width: 888px;
}

#alm-filters-majorsearch .alm-filter.search .alm-filter--inner {
    width: 100%;
    padding-right: 0;
}

/* Major Program Cards - Expanded Excerpts */

.card.listed-post.listed-major .card-content .content-text {
    max-height: none !important;
    overflow: visible !important;
}

@media (-webkit-min-device-pixel-ratio: 0) {
    .card.listed-post.listed-major .card-content .content-text {
          display: block !important;
          -webkit-line-clamp: unset !important;
          -webkit-box-orient: initial !important;
          overflow: visible !important;
    }
}

#alm-filters-online_second {
    flex-direction: column;
}

#alm-filters-online_second .search {
    width: 50%;
}

#alm-filters-online_second .department {
    padding-right: 0 !important;
}

@media (max-width:767px) {
    #alm-filters-online_second .search {
          width: 100%;
    }
}

.fixed-width th:first-child {
    width: 66.7%;
}

.button-right {
    float: right;
}

.remove-margin {
    margin: 0px !important;
}

.purdue-blocks__button.purdue-blocks__button--height {
    align-items: center;
}

.xs-padding {
    padding: 1.25rem 0 !important;
}

.faculty-profile-card .media .media-content p {
    word-break: break-word;
}

.faculty-profile-card .media .media-content .content .column p {
    margin-bottom: 0;
}

#field_1_114 .gfield_list_header,
#field_1_74 .gfield_list_header,
#field_1_80 .gfield_list_header,
#field_1_75 .gfield_list_header,
#field_1_101 .gfield_list_header,
#field_1_77 .gfield_list_header,
#field_1_87 .gfield_list_header,
#field_1_112 .gfield_list_header,
#field_1_83 .gfield_list_header {
    display: none;
}

#field_1_15.gfield,
#field_1_18.gfield {
    margin-bottom: 0 !important;
}

.gfield {
    margin-bottom: 1.25rem !important;
}

.pu-profile-gallery--modal .modal--img-container .image {
    background-size: cover;
    background-position: center;
}

@media (min-width:768px) {
    .faculty-profile-card .media .media-left {
          margin-right: 1.5rem;
          width: 35%;
    }

    .faculty-profile-card .media {
          padding: 1.5rem;
    }
}

table.faculty-table {
    font-size: 15px !important;
}

.alm-filters-container .alm-filter.affi-D-area {
    display: none !important;

}

#alm-filter-6 {
    width: 50% !important;
}

.alm-filter.affiliation {
    width: 16% !important;
}

.alm-filter.hhs-department {
    width: calc(43% - 1.25rem) !important;
}

.alm-filter.faculty-titles {
    width: 16% !important;
}

@media screen and (max-width: 1215px) {
    .alm-filter.faculty-titles {
          width: 25% !important;
    }

    .alm-filter.affiliation {
          width: 25% !important;
    }
}

@media screen and (max-width: 767px) {
    .faculty-table--title:before {
          font-family: Font Awesome 5 Free;
          font-size: 14px;
          font-weight: 900;
          content: \f007;
          margin-right: 0.75rem;
    }

    .faculty-table--title[data-empty=true] {
          display: none;
    }

    .alm-filters.alm-filters-container {
          flex-direction: column;
    }

    #alm-filter-6 {
          width: 100% !important;
    }

    .alm-filter.affiliation {
          width: 100% !important;
    }

    .alm-filter.hhs-department {
          width: 100% !important;
    }

    .alm-filter.faculty-titles {
          width: 100% !important;
    }

}

@media screen and (min-width: 1216px) {

    #alm-filters-maindirectorylisting .alm-filter.hhs-department .alm-filter--inner,
    #alm-filters-maindirectorylisting .alm-filter.affiliation .alm-filter--inner {
          margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 1407px) and (min-width:768px) {

    #alm-filters-maindirectorylisting .alm-filter.hhs-department .alm-filter--inner,
    #alm-filters-maindirectorylisting .alm-filter.affiliation .alm-filter--inner {
          padding-right: 1.25rem;
    }
}

/* Any CSS placed in this text area will be placed inside of a style tag located in the head section of the page. */


form,
input,
select {
    padding: 0;
    margin: 0;
    outline: none;
    font-family: United Sans, Arial, sans-serif;
    font-size: 17px;
    color: #000000;
}

.main-block2 {
    display: flex;
    flex-direction: column;


    height: 100%;
    padding: 5px;
    background: rgba(0, 0, 0, 0);
}

.left-part,
form {
    padding: 10px;
}


.title {
    display: flex;
    align-items: left;
    margin-bottom: 20px;
}

.info {
    display: flex;
    flex-direction: column;
}

input,
select {
    padding: 5px;
    margin-bottom: 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #000000;
}

input::placeholder {
    color: #000000;
}

option:focus {
    border: none;
}

option {
    background: white;
    border: none;
}

.btn-items {
    padding: 20px 15px;
    margin-top: 20px;
    border-radius: 0px;
    border: none;
    background: #000000;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    display: inline-block;
}

.accordion .accordion-content a{
    color: #8e6f3e !important;
}

/* Undergraduate Certificate Generation Styles */

.deanslist-table td {
            font-size: 18px !important;
            Vertical-align: middle !important;
        }

        .cert-btn,
        .deanslist-clear-btn,
        .deanslist-search-btn,
        .pagination .page-link {
            background-color: #87693b !important;
            color: #fff !important;
            border: none !important;
        }

        .deanslist-table td:nth-child(5){
            text-align: center !important;
            vertical-align: middle !important;
        }

        .cert-btn {
            width: 150px !important;
            justify-content: center !important;
            align-items: center !important;
        }

        .page-item {
            width: 50px !important;
        }

        .cert-btn:hover,
        .deanslist-clear-btn:hover,
        .deanslist-search-btn:hover,
        .pagination .page-link:hover {
            background-color: #000 !important;
            color: #fff !important;
        }

        .pagination .page-item.active .page-link {
            background-color: #000 !important;
            color: #fff !important;
            border: none !important;
        }

        .pagination .page-item.disabled .page-link {
            background-color: #ccc !important;
            color: #666 !important;
        }

        .page-item:nth-child(1){
            margin-top: 8px !important;
        }

        /* Mobile Card View for <768px */
        @media (max-width: 767px) {
            .deanslist-table {
                border: none !important;
            }

            .deanslist-table thead {
                display: none;
            }

            .deanslist-table tr {
                display: flex;
                flex-direction: column;
                background: #fff;
                padding: 12px;
                border: 1px solid #ddd;
                border-radius: 8px;
                margin-bottom: 3rem;
                box-shadow: 5px 5px 12px;
            }

            .deanslist-table.table-striped > tbody > tr:nth-of-type(odd) > * {
                background-color: #fff !important;
            }

            .deanslist-table td {
                display: block;
                width: 100%;
                text-align: center !important;
                border: none !important;
                font-size: 16px;
                padding: 6px 0 !important;
                background-color: #fff !important;
            }

            .deanslist-table td:nth-child(1) {
                order: 2;
            }

            .deanslist-table td:nth-child(2) {
                order: 1;
                font-size: 24px !important;
                font-weight: bold;
            }

            .deanslist-table td:nth-child(3),
            .deanslist-table td:nth-child(4) {
                order: 3;
            }

            .deanslist-table td:nth-child(5) {
                order: 4;
                margin-top: 8px;
            }

            .deanslist-table .cert-btn {
                width: 100% !important;
            }

            .deanslist-table.table-striped > tbody > tr:nth-of-type(odd),
            .deanslist-table.table-striped > tbody > tr:nth-of-type(odd) > td,
            .deanslist-table.table-striped > tbody > tr:nth-of-type(odd) > th,
            .deanslist-table > tbody > tr:nth-of-type(odd),
            .deanslist-table > tbody > tr:nth-of-type(odd) > td {
                background-color: #fff !important;
            }

            .deanslist-table td {
                background-color: #fff !important;
            }

            /* 🧭 Reorder form: show Search first, then Award/Semester, then Clear */
            form.row.g-3.align-items-end.mb-4 {
                display: flex;
                flex-wrap: wrap;
            }

            form.row .col-md-4 { 
                order: 1; 
                width: 100%;
                position: relative;
                z-index: 1; /* Lower than the Award filter */
            }

            form.row .col-md-4 .input-group {
                display: flex;
                flex-direction: row;
                gap: 3px;
            }

            form.row .col-md-4 .input-group input[type="text"] {
                flex: 0 0 69%;
                max-width: 69%;
            }

            form.row .col-md-4 .input-group .deanslist-search-btn {
                flex: 0 0 30%;
                max-width: 30%;
                white-space: nowrap;
            }

            form.row .col-md-3 select {
                position: relative;
                z-index: 1;
            }

            form.row .col-md-4 .input-group {
                position: relative;
                z-index: 0;
            }

            form.row .col-md-3:nth-child(1) { 
                order: 2; 
                width: 100%;
                position: relative;
                z-index: 3; /* Award filter comes above all */
            }

            form.row .col-md-3:nth-child(2) { 
                order: 3; 
                width: 100%;
            }

            form.row .col-md-3:nth-child(1) select.form-select {
                margin-top: 2px !important;
            }

            form.row .col-md-3:nth-child(1) label.form-label {
                margin-bottom: 2px !important;
            }

            form.row .col-md-2 { 
                order: 4; 
                width: 100%;
            }

            .deanslist-search-btn {
                width: 100%;
            }
        }

/* Ambassador Profile Button */

.ambassador-profile-link{
  margin-top:20px;
}

.ambassador-profile-button{
  display:inline-block;
  background:#cfb991;
  border:1px solid #8e6f3e;
  color:#000;
  text-decoration:none;
  font-weight:700;
  letter-spacing:1px;
  padding:10px 20px;
  text-transform:uppercase;
  transition:all .2s ease;
  font-family: United Sans, Impact, Arial Black, "sans serif";
  font-size: 14px !important;
}

.ambassador-profile-button:hover{
  background:#fff;
  color:#000;
  border:2px solid #8e6f3e;
}

/* Add spacing above bio sections except the first one */

.student-ambassador-card .info p {
  margin-bottom: 4px !important;
}

/* Add space above each section except hometown */

.student-ambassador-card .info p:not(:first-of-type) {
  margin-top: 0px !important;
}