/*
Theme Name:     Purdue Child Theme with Custom Features by Jackson Sky 
Theme URI:      
Description:     Purdue-home-theme child theme. Use to customize the functions, CSS, templates, etc. of Purdue-home-theme, made by Jackson Sky.
Author:         Jackson Sky
Author URI:     www.jacksonsky.com
Template:       purdue-home-theme
Version:        0.1.01
*/

/*********** Main Navigation *********/
li.wayfinding > a{
    pointer-events: none;
    cursor: default;
}

/*********** Header with Link ************/
.wp-block-custom-header-with-link{padding-bottom: 3em !important;}
/*** head-w-link - Header styles ***/
.wp-block-custom-header-with-link .header-with-link__heading{border-top: 1px solid #000; padding-top: 0 !important; }
.wp-block-custom-header-with-link h2{background-color:#000; color:#fff; flex:none !important; font-family: "United Sans Condensed", Impact, "Arial Black", "sans serif"; font-size: 18px; text-transform: uppercase; font-weight: 900; padding: .65em 1em; letter-spacing: .1em; position: relative; display: inline-block !important; } 

.wp-block-custom-header-with-link h2:before{
 position: absolute;
    top: 0;
    left: -6px;
    height: 100%;
    content: "";
    background: inherit;
    z-index: -1;
    width: calc(100% + 12px);
    transform: skewX(-15deg)}

/*** head-w-link - Link Style ***/
.wp-block-custom-header-with-link span{text-decoration: none !important; color:#fff !important; }
.wp-block-custom-header-with-link .header-with-link__link a{background-color:#000; color:#fff; border-radius: 4px; text-decoration: none; text-transform: uppercase; font-size:18px; font-family: "United Sans Condensed", Impact, "Arial Black", "sans serif"; padding: .65em 1em; border: 1px solid #cfb991;}
.wp-block-custom-header-with-link .header-with-link__link a:hover{background: #cfb991 !important; color:#000;}

.wp-block-custom-header-with-link .header-with-link__link a:after{
	padding-left: .25em;
	font-family: "Font Awesome 6 Free";
	color: #cfb991;
	content: ' \f061';
    }
.wp-block-custom-header-with-link .header-with-link__link a:hover:after{color: #000;}

/******* Home Page *********/
/*** slideshow dark background ****/
.purdue-home-cta-card.purdue-home-cta-card--horizontal.purdue-home-cta-card-carousel--story {
    position: relative; /* establishes positioning context for overlay */
}

.purdue-home-cta-card.purdue-home-cta-card--horizontal.purdue-home-cta-card-carousel--story::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* adjust darkness/color as needed */
    z-index: 1;
    pointer-events: none; /* lets clicks pass through to elements below */
}
.purdue-home-cta-card.purdue-home-cta-card--horizontal.purdue-home-cta-card-carousel--story .purdue-home-cta-carousel__card-content,
.purdue-home-cta-card.purdue-home-cta-card--horizontal.purdue-home-cta-card-carousel--story .purdue-home-cta-carousel__card-image {
    position: relative;
    z-index: 2;
}
/***** Home Page Headers *****/
.home .purdue-home-teritary-hero h1.second-level-page-heading, .home .purdue-home-cta-stack__intro h2.purdue-home-intro-text__header, .home .purdue-home-search-bar h2.purdue-home-search-bar__header{font-size: 2.75rem; font-weight: 700;}

/*********** Call to Action ******************/
.purdue-home-cta-stack__intro h2.purdue-home-cta-stack__header{font-size: 2.75rem; font-weight: 700;}

/*************** RSS Feed ***************/
.main-content .section ul.wp-block-rss{list-style: none;}
.main-content .section ul.wp-block-rss li{padding-bottom:2rem; }
.main-content .section ul.wp-block-rss li time{font-size:12px; text-transform: uppercase; font-family: "United Sans", "Arial Black", "sans serif"; line-height: 1.1;}
.main-content .section ul.wp-block-rss li a{font-size:24px; color: #000; font-weight: 700; text-decoration: none; line-height: 1.2;}
.main-content .section ul.wp-block-rss li a:hover{text-decoration: underline;}

/*************** RSS Feed (core reset, now theme-owned) ***************/
.wp-block-rss {
    list-style: none;
    padding: 0;
}
.wp-block-rss__item-author,
.wp-block-rss__item-publish-date {
    display: block;
    font-size: .8125em;
}

/******* DataTables default *********/
.dataTable ul.dtr-details{width: 100%;}

#customDirectoryTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
#directoryTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
#publicationTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before{
    content: '+' !important;
    display: inline-block;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    line-height: 18px;      /* slightly less than height to vertically center the glyph */
    text-align: center;
    border-radius: 50%;
    background-color: #8e6f3e;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    border: none;           /* in case theme CSS is adding a border that skews it */
    padding: 0;              /* kill any inherited padding that's stretching one axis */
    margin-right: 8px;
    vertical-align: middle;
}

#customDirectoryTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before,
#directoryTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before,
#publicationTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before {
    content: '-' !important;
}

#directoryTable.dtr-inline.collapsed td.dirName,
#customDirectoryTable.dtr-inline.collapsed td.dirName
{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65vw;   /* adjust to taste */
	hyphens: none;
}
#publicationTable.dtr-inline td.pubItem {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 30vw;   /* adjust to taste */
    hyphens: none;
}
#publicationTable.dtr-inline.collapsed td.pubtitle{min-width:50vw;}

/************** Publications ***********/
table#publicationTable{font-size: 14px;}
#pubList .pubPrint{text-align: end; color:#757575;}
/*************** Publication Listing Page ****************/
#publicationTable_wrapper{padding-top: .5em;}
table.publicationTable {border-bottom:1px solid #F4E9D3; margin-bottom:20px; padding-top: 1em;}
table.publicationTable tr{ vertical-align:top; border-bottom:1px solid #F4E9D3;}
table.publicationTable tr th{background:#F4E9D3; text-align:left; padding:8px 1%; cursor:pointer;}
table.publicationTable tr th:hover{ background:#dcc79e;}
table.publicationTable td{padding:4px 1%; line-height:1.4;}
table.publicationTable .pubTitle{width:24%;}
table.publicationTable .pubAuthor{width:15%;}
table.publicationTable .pubItem{width:10%;}
table.publicationTable .pubSize{width:12%;}
table.publicationTable .pubEdit{width:11%;}
table.publicationTable .pubPrice{width:13%;}
table.publicationTable .pubCat{width:15%;}
.page-template-template-publication h2.screen-reader-text{font-size:18px; margin-bottom:2px;}
.page-template-template-publication a.page-numbers{background:#F4E9D3; display:inline-block; padding:4px 6px; margin:1px;}
.page-template-template-publication a.page-numbers:hover{ text-decoration:none; background:#F7F4ED;}
.page-template-template-publication .page-numbers{border:1px solid #F4E9D3; display:inline-block; padding:3px 6px; margin:1px; background:#fff;}
#sorttable_sortfwdind, #sorttable_sortrevind, .goneArrow{font-size:26px; line-height:.8; float:right; display:inline-block;}
.sorttable_sorted .goneArrow, .sorttable_sorted_reverse .goneArrow{display:none;}
/*** JE Fix styles ***/
#pubList #searchField{ padding:3px; margin:0 0 15px 0;}
#pubList #DataTables_Table_0_length{margin-bottom:15px;}
#pubList table.dataTable thead th{border-bottom:1px solid #f4e9d3;}
#pubList .even{background:#fcf8f2;}
#pubList table.dataTable.no-footer{ border-bottom:1px solid #f4e9d3;}
#pubList .dataTables_wrapper .dataTables_paginate .paginate_button:hover{ background:#8E6F3E; border:1px solid #3F3F3F;}
#pubList a.paginate_button.previous.disabled:hover{color:#fff !important;}
#pubList table.dataTable thead .sorting{background-image:url(images/publication/sort_both.png);}
#pubList table.dataTable thead .sorting_asc{ background-image: url(images/publication/sort_desc.png);}
#pubList table.dataTable thead .sorting_desc{ background-image:url(images/publication/sort_asc.png);}
#pubList table.dataTable thead .sorting_desc:hover, #pubList table.dataTable thead .sorting_asc:hover, #pubList table.dataTable thead .sorting:hover{ background-repeat:no-repeat; background-position:right center;}

/******* Publications Mobile fix *******/
.wp-container-core-columns-is-layout-8f761849 {
    flex-wrap: wrap;
}

.page-layout-main {
    min-width: 0;
    flex-basis: 100%;
}

/****** Gavity Forms *******/
#page h2.gform_title{padding-bottom: .5em;}
#page .gform_wrapper .gform_button{color: #000;
    font-family: "United Sans Condensed",Impact,"Arial Black","sans serif";
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: .5px;
    line-height: 1.5;
    border-radius: 4px;
    background-color: #cfb991;
    box-shadow: 0 1px 2px 0 rgba(142,111,62,.3);
    padding: .5rem 1.5rem;
    display: inline-flex;
    text-transform: uppercase;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #cfb991;
    -webkit-text-decoration: none;
    text-decoration: none;
    cursor: pointer;}

#page .gform_wrapper .gform_button:hover{
	background: #000;
    color: #fff
}

#page .gfield_label{font-family: "United Sans Condensed",Impact,"Arial Black","sans serif" !important;
    font-size: 1.4rem !important;
    font-weight: 900;}

@media (max-width: 782px) {
    .page-layout-sidebar {
        display: none;
    }
}

/************** Directory ***********/
table#directoryTable{font-size: 14px;}
#dirList .dirPrint{text-align: end; color:#757575;}
/*************** Publication Listing Page ****************/
#directoryTable_wrapper{padding-top: .5em;}
table.directoryTable {border-bottom:1px solid #F4E9D3; margin-bottom:20px; padding-top: 1em;}
table.directoryTable tr{ vertical-align:top; border-bottom:1px solid #F4E9D3;}
table.directoryTable tr th{background:#F4E9D3; text-align:left; padding:8px 1%; cursor:pointer;}
table.directoryTable tr th:hover{ background:#dcc79e;}
table.directoryTable td{padding:4px 1%; line-height:1.4;}
table.directoryTable .dirName{width:20%;}
table.directoryTable .dirTitle{width:25%;}
table.directoryTable .dirExpertise{width:25%;}
table.directoryTable .dirPhone{width:15%;}
table.directoryTable .dirEmail{width:15%;}

.page-template-template-publication h2.screen-reader-text{font-size:18px; margin-bottom:2px;}
.page-template-template-publication a.page-numbers{background:#F4E9D3; display:inline-block; padding:4px 6px; margin:1px;}
.page-template-template-publication a.page-numbers:hover{ text-decoration:none; background:#F7F4ED;}
.page-template-template-publication .page-numbers{border:1px solid #F4E9D3; display:inline-block; padding:3px 6px; margin:1px; background:#fff;}
#sorttable_sortfwdind, #sorttable_sortrevind, .goneArrow{font-size:26px; line-height:.8; float:right; display:inline-block;}
.sorttable_sorted .goneArrow, .sorttable_sorted_reverse .goneArrow{display:none;}
/*** JE Fix styles ***/
#dirList #searchField{ padding:3px; margin:0 0 15px 0;}
#dirList #DataTables_Table_0_length{margin-bottom:15px;}
#dirList table.dataTable thead th{border-bottom:1px solid #f4e9d3;}
#dirList .even{background:#fcf8f2;}
#dirList table.dataTable.no-footer{ border-bottom:1px solid #f4e9d3;}
#dirList .dataTables_wrapper .dataTables_paginate .paginate_button:hover{ background:#8E6F3E; border:1px solid #3F3F3F;}
#dirList a.paginate_button.previous.disabled:hover{color:#fff !important;}
#dirList table.dataTable thead .sorting{background-image:url(images/publication/sort_both.png);}
#dirList table.dataTable thead .sorting_asc{ background-image: url(images/publication/sort_desc.png);}
#dirList table.dataTable thead .sorting_desc{ background-image:url(images/publication/sort_asc.png);}
#dirList table.dataTable thead .sorting_desc:hover, #pubList table.dataTable thead .sorting_asc:hover, #pubList table.dataTable thead .sorting:hover{ background-repeat:no-repeat; background-position:right center;}


/******* Page Builders ********/
.purdue-home-intro-text h2.purdue-home-intro-text__header.header-font-united{font-size: 4.5rem; text-transform: uppercase; margin-bottom: 0rem;}
.purdue-home-intro-text p.wp-block-paragraph{font-size: 1.25rem; font-weight: 500;}


/* Small devices (sm) */
@media (min-width: 576px) {

}

/* Medium devices (md) */
@media (min-width: 768px) {
/***** Home Page Headers *****/
.home .purdue-home-teritary-hero h1.second-level-page-heading, .home .purdue-home-cta-stack__intro h2.purdue-home-intro-text__header, .home .purdue-home-search-bar h2.purdue-home-search-bar__header{font-size: 4.5rem; font-weight: 700;}
	
.main-content .section ul.wp-block-rss li a{font-size:30px;}
}

/* Large devices (lg) */
@media (min-width: 992px) {

}

/* Extra large devices (xl) */
@media (min-width: 1200px) {

}

/* Extra extra large devices (xxl) */
@media (min-width: 1400px) {

}
