/*
Theme Name: Twenty Twenty-Five CHILD Raquette Lake site
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: CHILD THEME of the Twenty Twenty-Five Wordpress Theme.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
	1.0 Links and buttons
		1.1 Links - Visited, hover and focus styles
		1.2 Links - Link color inside blocks with a background color
		1.3 Links - External and pdf link indicators
		1.4 Links - Lists of links
		1.5 Button styles
	2.0 Navigation
		2.1 Navigation - MAIN
		2.2 Navigation - SECONDARY
		2.3 Navigation - MOBILE NAVIGATION
		2.4 Navigation - SEARCH and TRANSLATE
	3.0 Header
	4.0 Footer
	5.0 Pages
		5.1 Page - Search Results
		5.2 Page - Staff Directory Results
	6.0 Features
		6.1 Features - Special Alert Bar
		6.2 Features - ICS Calendar
		6.3 Features - ICS Calendar - Grid View
		6.4 Features - Yoast Breadcrumbs
	7.0 Media Queries

/*--------------------------------------------------------------
 * 1.0 Links and buttons
 --------------------------------------------------------------*/

/* 1.1 Links - Visited, hover and focus styles  */

:focus-visible {
	outline: 3px solid;
}

.focus-visible-white a:focus,
.focus-visible-white img:hover {
	color: #fff !important;
	opacity: 0.7;
	outline: 1px dotted !important;
}

a:hover,
a:focus,
a:where(:not(.wp-element-button)):hover,
a:where(:not(.wp-element-button)):focus {
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-thickness: 2px;
}

a:where(:not(.wp-element-button)):visited {
    color: #800080;
}

/* 1.2 Links - Link color inside blocks with a background color */

.has-background a:where(:not(.wp-element-button)),
.has-background a:where(:not(.wp-element-button)):visited { 
    color: inherit;
}

/* Set visited link colors based on what color is used for the background.*/
.has-background-color.has-contrast-background-color a:visited { 
    color: inherit;
}

/* 1.3 Links - External and pdf link indicators */

a[rel=" nofollow"]:after, /* Note: Do not remove the space before nofollow on this line. This is a fix for an extraneous space coming in on buttons in the WP editor */
a[rel="nofollow"]:after,
a[rel="noreferrer"]:after,
a[rel="noopener"]:after,
a[rel="nofollow noreferrer"]:after,
a[rel="nofollow noopener"]:after,
a[rel="noreferrer nofollow"]:after,
a[rel="noreferrer noopener"]:after,
a[rel="noopener nofollow"]:after,
a[rel="noopener noreferrer"]:after,
a[rel="nofollow noreferrer noopener"]:after,
a[rel="nofollow noopener noreferrer"]:after,
a[rel="noreferrer nofollow noopener"]:after,
a[rel="noreferrer noopener nofollow"]:after,
a[rel="noopener nofollow noreferrer"]:after,
a[rel="noopener noreferrer nofollow"]:after {
    font-family: FontAwesome;
	font-size: small;
    content:' \f08e';
    margin: 0;
}

a[href$=".pdf"]:after {
    font-family: FontAwesome;
    font-size: small;
    content:' \f1c1';
    margin: 0;
}

/* 1.4 Links - Lists of links */

ul.listoflinks,
.listoflinks ul {
	list-style: none;
	padding-left: 0;
	margin-top: .5em;
	color: #000000;
}

ul.listoflinks li,
.listoflinks ul li {
	padding: 6px 0 10px 0;
	font-size: 1rem;
	border-bottom: 1px solid #ffffff;
	margin-bottom: .5em;
	color: #ffffff;
} 

ul.listoflinks li:before,
.listoflinks ul li:before {
    color: #DCB35B;
    content: "\f138";
	font-family: FontAwesome;
	font-weight: 900;
	font-size: 1.125em;
	margin-right: 0.375em;
    vertical-align: middle;
}

.listoflinks ul li a,
ul.listoflinks li a {
	text-decoration: none;
	color: #ffffff;
}

.listoflinks ul li a:hover,
.listoflinks ul li a:focus,
ul.listoflinks li a:hover,
ul.listoflinks li a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-thickness: 2px;
}

.listoflinks ul li a:visited,
ul.listoflinks li a:visited {
	color:inherit;
}

ul.listoflinks-level-two li,
.listoflinks-level-two ul li {
	margin-left:1.5em;
	border-bottom:none;
	padding-bottom: 0;
	margin-top:0;
	padding-top:0;
	margin-bottom:.12em;
}

ul.featured-links li,
.featured-links ul li {
	padding: 6px 0 10px 0;
	font-size: 1rem;
	border-bottom: 1px solid #000000;
	margin-bottom: .5em;
	color: #000000;
} 

ul.featured-links li:before,
.featured-links ul li:before {
    color: #5C2F35;
    content: "\f138";
	font-family: FontAwesome;
	font-weight: 900;
	font-size: 1.125em;
	margin-right: 0.375em;
    vertical-align: middle;
}

.featured-links ul li a,
ul.featured-links li a {
	text-decoration: none;
	color: #000000;
}

/* 1.5 Button styles */

/* Set a global button hover style. This is needed because when a button color is set manually in the editor, it overrides the hover color set via the json. */
.wp-block-button__link.wp-element-button:hover {
	background-color: var(--wp--preset--color--contrast) !important;
}

/* Set button hover styles based on what color is used for the button text.*/
.wp-block-button__link.has-contrast-color.wp-element-button:hover,
.wp-block-button__link.has-accent-2-color.wp-element-button:hover,
.wp-block-button__link.has-accent-3-color.wp-element-button:hover,
.wp-block-button__link.has-accent-5-color.wp-element-button:hover{
	background-color: var(--wp--preset--color--base-2) !important;
}

/*--------------------------------------------------------------
 * 2.0 Navigation
 --------------------------------------------------------------*/

/* 2.1 Navigation - MAIN - Add class of mainnav to the nav block in WP */


.wp-block-navigation.mainnav .wp-block-navigation-item a {
	padding: 0.5em 1em;
}

.wp-block-navigation.mainnav .wp-block-navigation-item a:hover, 
.wp-block-navigation.mainnav .wp-block-navigation-item a:focus {
	background-color: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--accent-2)!important;
}

.wp-block-navigation.mainnav .wp-block-navigation-item a[aria-current="page"] {
	background-color: var(--wp--preset--color--accent-4)!important;
	color: var(--wp--preset--color--accent-2)!important;
	text-decoration: none;
}

/* 2.2 Navigation - SECONDARY - Add class of secondarynav to the nav block in WP */
.icon-news a:before {
	font-family: FontAwesome;
	font-size: 110%;
	color: var(--wp--preset--color--accent-2);
	content: ' \f0a1';
	margin: 0 0.3em 0 0;
	vertical-align: middle;
	padding-bottom: .1em;
}

.icon-contact a:before {
	font-family: FontAwesome;
	font-size: 110%;
	color: var(--wp--preset--color--accent-2);
	content: ' \f2bd';
	margin: 0 0.3em 0 0;
	vertical-align: middle;
	padding-bottom: .1em;
}

.icon-calendar a:before {
	font-family: FontAwesome;
	font-size: 110%;
	color: var(--wp--preset--color--accent-2);
	content: ' \f073';
	margin: 0 0.3em 0 0;
	vertical-align: middle;
	padding-bottom: .1em;
}
/* 2.3 Navigation - MOBILE NAVIGATION - Add class of mobilenav to the nav block in WP */

.mobilenav div.wp-block-spacer {
	background-color: var(--wp--preset--color--accent-4);
	width: 100% !important;
	height: 2px !important;
}

.wp-block-navigation.mobilenav .wp-block-navigation__responsive-container-open:after {
    content: "Menu";
    text-transform: uppercase;
}

.wp-block-navigation.mobilenav .wp-block-navigation__responsive-container-close:after {
    content: "Close";
    text-transform: uppercase;
}

/* 2.4 Navigation - SEARCH and TRANSLATE */

.wp-block-search__button {
	border-radius: 11px;
	padding: 0.5rem 1rem;
}
/*--------------------------------------------------------------
 * 3.0 Header
 --------------------------------------------------------------*/

/*--------------------------------------------------------------
 * 4.0 Footer
 --------------------------------------------------------------*/

/*--------------------------------------------------------------
 * 5.0 Pages
 --------------------------------------------------------------*/

/* 5.1 Page - Search Results */

/* Add icons before results of different types — page, post, pdf */

body.search.search-results .wp-block-query li.type-page h2.wp-block-post-title::before {
    content: "\f108";
    font-family: 'FontAwesome';
    color: var(--wp--preset--color--contrast-2);
    padding-right: 0.25em;
    text-transform: uppercase;
}
    
body.search.search-results .wp-block-query li.type-post h2.wp-block-post-title::before {
    content: "\f1ea";
    font-family: 'FontAwesome';
    color: var(--wp--preset--color--contrast-2);
    padding-right: 0.25em;
    text-transform: uppercase;
}

body.search.search-results .wp-block-query li.type-pdf h2.wp-block-post-title::before {
    content: "\f1c1";
    font-family: 'FontAwesome';
    color: var(--wp--preset--color--contrast-2);
    padding-right: 0.25em;
    text-transform: uppercase;
}

/* 5.2 Page - Staff Directory Results */

/*--------------------------------------------------------------
 * 6.0 Features
 --------------------------------------------------------------*/

/* 6.1 Features - Special Alert Bar */

.special-alert h1:after {
    content:"\f06a";
    color: var(--wp--preset--color--base);
    margin-left:0.5em;
    font-family:'FontAwesome';
    font-weight:normal;
}

/* 6.2 Features - ICS Calendar */

/* 6.3 Features - ICS Calendar - Grid View */

/* 6.4 Features - Yoast Breadcrumbs */

.yoast-breadcrumbs {
	color: var(--wp--preset--color--contrast);
	font-size: 1rem;
	font-family: 'Open Sans', sans-serif;
}

.yoast-breadcrumbs a {
	color: var(--wp--preset--color--contrast);
}


/*--------------------------------------------------------------
 * 7.0 Media Queries
 --------------------------------------------------------------*/

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

}

@media screen and (min-width: 1024px) and (max-width: 1320px) {


}

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

}


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

	/* Force columns to remain single-column view until 900px */
	
	.wp-block-columns {
        flex-wrap: wrap !important;
    }
	
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis] {
        flex-grow: 1;
    }

	.wp-block-group.header-right {
		justify-content: flex-start;
	}

	/* Hide desktopnav below 900px */
	
	div.desktopnav {
		display: none !important;
	}
	
} 

@media screen and (min-width: 900px) {
	
	/* Hide mobilenav above 900px, min-with queries should come after max-width queries */
	
	div.mobilenav {
		display: none!important;
	}
	div.desktopnav {
		display: block!important
	}
	
} 

@media screen and (max-width: 783px) {
	
	/* The 783px query is for the ICS calendar only because 783px is the point where it switches from list to grid view. */ 

	
}

@media screen and (max-width: 782px) {
	
	
}


@media screen and (max-width: 600px) {
	
	
}

