/*
Theme Name: ClearGov Theme
Theme URI: 
Author: Mark Benati
Author URI: https://cleargov.com
Description: The ClearGov website theme.
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.7
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: 
Text Domain: cleargov
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*/

body {
	--global--admin-bar--height: var(--wp-admin--admin-bar--height, 0px);
	--responsive--aligndefault-width: var(--wp--style--global--content-size);
	
	--blue-50: #f1f8ff;
	--blue-100: #daedfe;
	--blue-150: #c4e3fe;
	--blue-200: #aed8fd;
	--blue-300: #81c2fc;
	--blue-400: #54adfb;
	--blue-500: #2898fb;
	--blue-600: #057ee9;
	--blue-700: #0463b7;
	--blue-750: #04559e;
	--blue-800: #034885;
	--blue-850: #023a6c;
	--gray-150: #d8dadb;
	--gray-200: #cbcecf;
	--gray-300: #b1b4b6;
	--gray-400: #8d9496;
	--gray-500: #7c8285;
	--gray-600: #616668;
	--gray-700: #46494b;
	--gray-750: #383b3c;
	--gray-stage: #f5f8fe;
	--green-300: #a2cb7d;
	--green-400: #8bbe5c;
	--green-500: #74a943;
	--green-600: #5b8435;
	--green-700: #426026;
	--green-750: #354e1f;
	--orange-300: #fcb878;
	--orange-500: #fb8e28;
	--orange-600: #f17704;
	--orange-750: #ad5503;
	--primary-text: #46494b;
	--purple-300: #a590d1;
	--purple-500: #714fb6;
	--purple-750: #39275e;
	--red-400: #fc2a2a;
	--red-700: #810202;
	--red-800: #4a0101;
	--white: #ffffff;
	--yellow-400: #fdd169;
	--yellow-700: #d19302;
	--yellow-800: #9e6f02;
}

a:where(:not(.wp-element-button)):focus {
	outline: 1px solid #337AB7;
	outline-offset: .125em;
}

p {
	margin: 0;
}

img {
	max-width: 100%;
	vertical-align: middle;
}

/* Minimum page height */
body, .wp-site-blocks, main {
	display: flex;
	flex-direction: column;
}

.wp-site-blocks {
	flex-grow: 1;
}

main {
	flex-grow: 1;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100vh - 23.125em);
}


/*********************/
/*** Print Styling ***/
/*********************/

.entry-content>* {
	page-break-inside: avoid;
}

@media print {
	#cg-header,
	#cg-footer {
		display: none;
	}
	
	body {
		padding-top: 0;
		font-size: 1.47vw;
	}
	
	main {
		justify-content: flex-start;
	}
}

@media print and (color) {
	* {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}

@page {
	margin: 0;
	size: letter portrait;
}
