/*
Theme Name: zw Development
Theme URI: http://hsd.ca/
Author: Werner Pries
Author URI: http://hsd.ca/
Description: Development copy of Twenty Twenty-Five for experimentation
Version: 1.2
*/

.target li {
	background-color: gray !important;
}
section.blog.index #filter li.active {
	background-color: #cccccc !important;
}
th {
	font-size: 1.5em;
}

#main-content{
    article{
        a{
            display: inline-block !important;
        }
    }
    .tabs-container{
        .tab-content{
            a{
                display: inline-block;
            }
        }
    }
}

/* Flex Content Styling */

/*

Tab Layout Styling

*/

.tabs-container {
	width: 95%;
} 
ul.tabs {
    list-style: none;
    margin: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
ul.tabs li {
    opacity: 0.4;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
    background-color: #606060;
    color: white;
    cursor: pointer;
    padding: 0.2em 0.6em;
    border-radius: 0.2em;
    font-weight: bold;
    letter-spacing: -0.02em;
    margin: 0 0.3em 0.6em;
}
ul.tabs li.current {
    opacity: 1;
}
ul.tabs li.current>i {
    display: inherit;
}
ul.tabs li>i {
    position: absolute;
    bottom: -0.4em;
    left: 50%;
    left: 0;
    right: 0;
    text-align: center;
    display: none;
}
ul.tabs li:hover {
    opacity: 1;
}
.tab-content {
    display: none;
    padding: 1em 0 0;
}
.tab-content.current {
    display: block;
}

/*

Accordion Layout Styling

*/

.panel {
    padding: 1.5em 1.8em 0.1em;
    background-color: rgba(0, 0, 0, 0.02);
    margin: 0 0 1em;
}
.panel>h3 {
    font-size: 1.8em;
    letter-spacing: -0.02em;
    margin: 0;
    padding: 0 0 0.6em;
    cursor: pointer;
}
.related_resources {
	//margin-left: 2em;
}
article div h2 {
	/*margin-left: -10px; */
}
article ul.tags li a {
    color: #ffffff;
    background-color: #0061aa;
    font-weight: 700;
	font-size: .8rem;
}

section .tags li {
	font-size: .8rem;
	margin-right: 5px;
}

section.blog .post-header .meta , section .meta a {
    color: black;
    background-color: #ffffff;
    font-weight: 700;
	font-size: 1.2rem;
}
section .meta li {
    border: none;
}
hr {
	margin: 15px 0;
}
hr.newhire {
	margin: 0;
}
.dt-column-title, .dt-search label {
	font-size: 0.8em;
}
.dt-container .dt-input {
	padding: 0;
}
/* all hyperlinks have underline on hover */
a:hover {
    text-decoration: underline;
}
/* Sidebar */
aside.sidebar ul li {
	font-size: 1em;
	margin-bottom: 5px;
	line-height: 1em;
}
.sidebar-photos {
    margin-top: 20px;
}

.sidebar-photo-item {
    margin-bottom: 15px;
}

.sidebar-photo-item img {
    width: 100%;       /* full width of sidebar */
    height: auto;      /* keep aspect ratio */
	border: 2px solid black;
    border-radius: 8px; /* optional rounded corners */
}
/* for quick links */
.sidebar h3 {
    color: #69a237;
    font-family: "Noe Text",serif;
    font-size: 1.5rem;
    line-height: 1.071;
    font-weight: 700;
}
div#hsd_upcoming_events-2 p {
	margin-top: 0px;
}
.sidebar .b2 {
	color: #0061aa;
	font-weight: 700;
}
.sidebar div.widget {
	margin-bottom: 10px;
}
section h3{color:#69a237;font-family:"Noe Text",serif;font-size:1.0rem;line-height:1.071;font-weight:700}
/* Search page */
aside h3, article h3 a {
    color: #69a237;
    font-family: "Noe Text",serif;
    font-size: 1.5rem;
    line-height: 1.071;
    font-weight: 700;
}
/* Combined block: keep on same line and aligned */
section div.keyword-search-page h1 {
    color: #69a237;
    font-family: "Noe Text",serif;
    font-size: 1.75rem;
    line-height: 1.071;
    font-weight: 700;
}
.keyword-search-page form {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    align-items: center;
}

/* Input styling */
.keyword-search-page form input[type="text"] {
    padding: 10px;
    font-size: 16px;
    height: 42px;
    box-sizing: border-box;
    line-height: 20px; /* helps centering */
    margin-bottom: 0px;
    width: 300px;   /* or whatever you want */
}

/* Button styling */
.keyword-search-page form button {
    padding: 10px 20px;
    font-size: 16px;
    height: 42px;
    line-height: 20px; /* match input */
    display: flex;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
}
/*
mark {
    background-color: #cccccc; 
    color: #000000;           
    border-radius: 2px;       
}
*/

/* hide tablepress search */
[id^="tablepress-"][id$="_wrapper"] > .dt-layout-row:first-child {
    display: none;
}
/* hide tablepress Showing 1 of 45 entries info */
.dt-info {
    display: none;
}
.table-search-wrapper {
    position: relative;
    width: 100%;
}

#table-search {
    width: 100%;
    padding: 8px; /* extra right padding for the X */
    margin-bottom: 10px; 
    box-sizing: border-box;
}

.table-search-wrapper .clear-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 48px;
    color: #ccc;
    display: none; /* hidden by default */
    user-select: none;
}
.table-search-wrapper .clear-btn:hover {
    color: #333;
}

/* For the header logos, STaff Intranet, login info */
/* Full-width header background (optional) */
.header-container {
    width: 100%;
	margin: 0 0 0px 0;
	padding-top: 10px;
}

/* Centered content row */
.header-inner {
    max-width: 1110px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* Left / Center / Right columns */
.header-left {
    flex: 0 0 30%;
    text-align: left;
}

.header-center {
    flex: 0 0 50%;
    text-align: center;
    white-space: nowrap;
}

.header-right {
    flex: 0 0 20%;
    text-align: right;
	align-self: flex-end;
	line-height: 1em;
}
.employee {
	display: inline-block; 
	border: 1px solid #000;
	text-align:center; 
	padding: 3px 10px; 
	margin-bottom: 2px; 
}
header .site-description {
	letter-spacing: 0.03em !important;
	font-size: 3.3em !important;
	color: #13579d!important;
	font-family: "Noe Text", serif !important;
}

.header-right p {
    margin: 0;
	line-height: 1.1em;
}

section {
	padding-top: 0px;
}
section.blog {
	padding-top: 25px;
}
article.col-md-12 {
	padding: 0;
}
aside.related_resources {
	margin-left: 2em;
}
/* Responsive header for mobile */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;      /* stack items vertically */
        align-items: center;         /* center all items horizontally */
    }

    .header-left,
    .header-center {
        flex: 0 0 auto;              /* remove fixed widths */
        text-align: center;
        margin: 5px 0;
    }

    .header-center {
        white-space: normal;         /* allow wrapping */
        font-size: 2em !important;   /* scale description down */
		padding: 0 !important;
    }

    .header-right {
        align-self: center;      /* override flex-end for mobile */
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
        line-height: 1.2em;
		text-align: center;
    }

    .header-left img {
        max-width: 150px;            /* scale logo */
        height: auto;
    }
	header .site-description {
		font-size: 2.3em !important;;
	}
	header {
		position: relative !important; /* overrides any fixed/sticky positioning */
		top: auto !important;
		width: 100%;
		z-index: auto; /* allow normal stacking */
	}
}

/* end of header logos ... */

/* For the featured post */
.featured-image {
    float: left;      /* or right if you prefer */
    margin: 0 20px 20px 0; /* space around image */
    max-width: 40%;   /* prevents it from being too wide */
}

.featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.featured-content {
    overflow: hidden;  /* ensures container wraps floated image */
}
article.featured-post .content h2 {
	margin-bottom: 5px;
}
/* end of featured post */

/* Search Menu item  start */
.menu-search form {
    display: flex;
    align-items: center;
    margin: 0;
}
.menu-search input::placeholder {
    font-style: italic;
    opacity: 0.8;
}
.menu-search,
.menu-search * {
    box-shadow: none !important;
    background-color: transparent !important;
	padding:0 !important;
}

/* Search Menu item  end */
/* Upcoming events - start */
#rcg_sidebar {
	width: 100%;             /* span entire container */
	border-collapse: collapse; /* remove default cell spacing */
	table-layout: fixed;
}

#rcg_sidebar td.rcg_date {
	white-space: nowrap;        /* prevent line breaks */
    vertical-align: top;       /* align top for multi-row dates */
    width: 60px;             /* optional fixed width for the date column */
}

#rcg_sidebar td {
    padding: 2px 5px;          /* optional: tighten padding for all cells */
}
.widget-title.schoolday {
	color: #666666;
	font-size: 1.2rem;
}
/* Upcoming events - end */
/* resource list - start */
.resource_list.logo_files {
    list-style: none;
    margin-left: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.resource_list.logo_files li {
    -webkit-flex-basis: 24%;
    -ms-flex-preferred-size: 24%;
    flex-basis: 24%;
    min-width: 255px;
    margin: 0 1% 0.7em 0;
    background-color: #f4f4f4;
    padding: 0.7em;
    box-sizing: border-box;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}
.resource_list.logo_files li {
    background-color: #ffffff;
    padding: 1em;
    border: dashed 1px;
    color: #0062a8;
}

/* resource list - end */

/* external links - start */
a + .fa-external-link {
    font-size: 14px;
    margin-left: 4px; /* optional spacing */
    vertical-align: middle; /* keeps it aligned with text */
}
/* external links - end */

iframe {
  overflow: scroll; /* Forces scrollbars to always show */
}

