/*
Theme Name:     Child of the New Purdue Home Theme
Theme URI:      
Description:    Purdue-home-theme child theme.
Author:         WP-CLI
Author URI:     
Template:       purdue-home-theme
Version:        0.1.0
*/

/*###################
#####DIRECTORY#####
###################*/

@media screen and (max-width:767px) {
    .graduate_directory-template-default .is-hidden-mobile {
        display: none !important
    }
}

@media screen and (min-width:768px) {
    .graduate_directory-template-default .is-hidden-mobile {
        display: block !important
    }
}

.post-type-archive-graduate-directory .tabs ul {
    flex-wrap: wrap;
    flex-shrink: 1;
    justify-content: center
}

.post-type-archive-graduate-directory .tabs ul li {
    width: 48px;
    margin-bottom: 10px
}

.single-graduate-directory .purdue-blocks__button .shrink-padding {
    width: 1rem
}

.grad-directory-single-photo-container {
    display: flex;
    justify-content: flex-start
}

@media only screen and (min-width:768px) {
    .grad-directory-single-photo-container figure {
        width: 100% !important
    }
}

.grad-directory-single-content-container h1 {
    font-size: 3rem;
    color: #8e6f3e !important;
    margin-bottom: .75rem
}

.grad-directory-single-content-container h2.grad-directory-single-content-header {
    width: 100%;
    padding: .25rem 1rem;
    background-color: #000;
    color: #cfb991;
    text-transform: uppercase;
    font-size: 1.25em;
    margin-top: 0 !important;
    margin-bottom: 0 !important
}

.grad-directory-single-content-container h3.grad-directory-single-content-header {
    color: #8e6f3e;
    font-size: 1.25em;
    margin-top: 1em;
    margin-bottom: .25em;
}

.grad-directory-single-content-container div.grad-directory-single-content-body {
    width: 100%;
    padding: .25rem 1rem .25rem 1.5rem;
    margin-bottom: 1em !important;
}

.grad-directory-single-content-container * li {
    list-style-type: square;
    margin-left: 1em;
}

#directory-return .wp-block-button__link::after {
    top: 0px !important;
}

.grad-directory-archive-container {
    display: flex;
    justify-content: space-between;
    padding: .75rem;
    border-top: 1px solid #bbb;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center
}

@media only screen and (max-width:1215px) {
    .grad-directory-archive-content-container {
        max-width: 90%
    }
}

@media only screen and (max-width:748px) {
    .grad-directory-archive-content-container {
        max-width: 100%
    }
}

.grad-directory-archive-info {
    max-width: 70%;
    width: 100%
}

.grad-directory-archive-info .department {
    line-height: 1.5
}

@media only screen and (max-width:1215px) {
    .grad-directory-archive-info {
        max-width: 60%
    }
}

@media only screen and (max-width:768px) {
    .grad-directory-archive-info {
        max-width: 100%;
        margin-top: 1rem
    }

    .grad-directory-archive-info .position {
        margin: .25rem 0
    }
}

.grad-directory-archive-info a {
    text-decoration: none;
    display: inline-block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content
}

.grad-directory-archive-info a:focus,
.grad-directory-archive-info a:hover {
    text-decoration: underline
}

.grad-directory-archive-info h2 {
    color: #8e6f3e !important;
    font-size: 1.2em;
    margin-bottom: 0;
    font-weight: 400
}

.grad-directory-archive-contact {
    max-width: 25%;
    width: 100%
}

@media only screen and (max-width:1215px) {
    .grad-directory-archive-contact {
        max-width: 40%
    }
}

@media only screen and (max-width:768px) {
    .grad-directory-archive-contact {
        max-width: 100%
    }
}

@media only screen and (min-width:768px) {
    .grad-directory-archive-content-container {
        display: flex;
        width: 100%;
        justify-content: space-between
    }

    .grad-directory-archive-container {
        flex-direction: row;
        align-items: flex-start;
        text-align: left
    }
}

/*#####################
##THE EVENTS CALENDAR##
#######################*/
:root {
    --tec-color-button-primary: #8e6f3e;
    --tec-color-accent-primary: #8e6f3e;
    --tec-color-link-primary: #8e6f3e;
    --tec-color-link-accent-hover: #8e6f3e;
    --tec-color-background-events-bar-submit-button-hover: #8e6f3e;
}

/*#####################
#####TABLE STYLING#####
#######################*/
.wp-block-table table thead tr th {
    background-color: #000 !important;
    color: #cfb991 !important;
}

.wp-block-table tfoot {
    border-top: 3px solid !important;
}

.wp-block-table table tfoot tr td {
    background-color: #cfb991 !important;
    color: #000 !important;
}

.wp-block-table table tbody tr td:first-child,
.wp-block-table table tbody tr th:first-child {
    font-family: acumin-pro, "Franklin Gothic", sans-serif !important;
    text-transform: none !important;
    font-weight: normal !important;
    letter-spacing: normal !important;
}

.wp-block-table table tbody tr td,
.wp-block-table table tbody tr th {
    padding: 0.5rem !important;
}

/*##############################
#####BACK TO NEWS/DIRECTORY#####
################################*/
#news-return a::after,
#directory-return a::after {
    all: unset;
}

#news-return a::before,
#directory-return a::before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 448 512%27%3E%3C%21--%21 Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license %28Commercial License%29 Copyright 2023 Fonticons, Inc. --%3E%3Cpath fill=%27%23000000%27 d=%27M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z%27/%3E%3C/svg%3E");
    left: -0.25rem;
    top: 2px;
    margin-right: .5rem;
    height: 1.25rem;
    width: 1.125rem;
    transform: rotate(-180deg);
    background-repeat: no-repeat;
    background-size: cover;
    transition: translate .3s ease;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    box-sizing: inherit;
}

#news-return a:hover::before,
#directory-return a:hover::before {
    translate: -3px 0px;
    transform: rotate(-180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 448 512%27%3E%3C%21--%21 Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license %28Commercial License%29 Copyright 2023 Fonticons, Inc. --%3E%3Cpath fill=%27%23cfb991%27 d=%27M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z%27/%3E%3C/svg%3E");
    color: #cfb991;
}

/*######################
#####DETAILS BLOCKS#####
########################*/
/*Bolds the details block*/
.wp-block-details summary {
    font-weight: bold;
}

/*Adjusts margins when using the h3 and h4 styling on details blocks*/
.details-has-h3-style> :nth-child(2) {
    margin-top: 1rem;
}

.details-has-h4-style> :nth-child(2) {
    margin-top: .5rem;
}

.details-has-h3-style {
    margin-bottom: 1rem;
}

.details-has-h4-style {
    margin-bottom: .5rem;
}

/*####################
#####MISC STYLING#####
######################*/
/*Fix padding for left-floated images*/
.wp-block-image .alignleft {
    float: left !important;
    display: table !important;
    padding: .5rem 1.5rem 0 0 !important;
    width: initial !important;
}

/*Fixes text and link color when using the Tabs block w/ a white background*/
.has-white-background.purdue-home-tabs ul,
.has-white-background.purdue-home-tabs-horizontal ul,
.has-white-background.purdue-home-tabs summary,
.has-white-background.purdue-home-tabs-horizontal summary {
    color: #000 !important;
}

.has-white-background.purdue-home-tabs a,
.has-white-background.purdue-home-tabs-horizontal a {
    color: #8e6f3e !important;
}

/*Fixes table body color when used in a Tabs block*/
.purdue-home-tabs tbody,
.purdue-home-tabs-horizontal tbody {
    color: #000 !important;
}

/*Removes padding-top from Horizontal Tabs block*/
.purdue-home-tabs-horizontal>.section {
    padding-top: 0px !important;
}

/*Removes border from white background Mosaic Cards*/
.purdue-home-proofpoint.has-white-background {
    border: none !important;
}

/*#######################
#####UTILITY CLASSES#####
#########################*/
.has-h2-style {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    font-family: acumin-pro, "Franklin Gothic", sans-serif !important;
    line-height: 1.167 !important;
}

.has-h3-style {
    font-size: 1.625rem !important;
    font-weight: 700 !important;
    font-family: acumin-pro, "Franklin Gothic", sans-serif !important;
    line-height: 1.15 !important;
}

.has-h5-style {
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    font-family: "United Sans Condensed", Impact, "Arial Black", "sans serif" !important;
    line-height: 1.3 !important;
    letter-spacing: .1875rem !important;
    text-transform: uppercase !important;
}

.is-hidden {
    display: none !important;
}

.pbs-padding-bottom-none>.section {
    padding-bottom: 0px !important;
}

.pbs-padding-top-none>.section {
    padding-top: 0px !important;
}

.pbs-padding-x-none>.section {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.pbs-margin-y-none>.section {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.details-has-h3-style summary {
    font-size: 1.625rem;
    font-weight: 700;
    font-family: acumin-pro, "Franklin Gothic", sans-serif;
    line-height: 1.15;
}

.details-has-h4-style summary {
    font-weight: 500;
    font-size: 1.375rem;
    font-family: acumin-pro, "Franklin Gothic", sans-serif;
    line-height: 1.27;
    font-weight: bold;
}

.link-hero-font-size-large p.purdue-home-link-hero__subtext {
    font-size: 1.5rem !important;
}