@import url('/websites/css/website.css');

body#template main.main
{
	display: flex;
	justify-content: flex-start;
	overflow: hidden;
	margin: 0 auto;
	max-width: 1200px;
	position: relative;
}

	body#template nav.main_nav
	{
		position: relative;
		flex: 1 1 auto;
		margin: 60px 10px 0 0;
		padding-left: 10px;
		min-width: 250px;
		max-width: 250px;
		width: 100%;
	}
	
		body#template nav.main_nav:empty { display: none; }

		body#template nav.main_nav a 
		{ 
			display: block;			
			margin: 10px 10px 15px 0;
			text-transform: capitalize;
			font-size: 1em;
			color: var(--darkblue);
			text-decoration: none;
			border-bottom: 1px solid var(--lighterblue);
		}

			body#template nav.main_nav a:hover 
			{ 
				text-decoration: none; 
				color: var(--blue);
				border-bottom: 1px solid var(--blue);
			}

	body#template section.main_section
	{
		position: relative;
		flex: 1 1 auto;
		margin: 0 10px;
		max-width: 1200px;
		overflow: hidden;
	}
			
		body#template section.main_section div.section_header,
		body#template header.section_header
		{
			display: flex;
			align-items: center;
			margin: 10px 0;
			justify-content: space-between;
			position: relative;
			overflow: hidden;
		}

			body#template header.section_header div.section_title,
			body#template div.section_header div.section_title
			{
				flex: 1 1 auto;		
				font-size: 22px;
				font-weight: 500;
				color: var(--darkblue);
				margin: 10px 0;
			}
				
				body#template .page_title
				{
					display: inline-block;
					width: 100%;
					font-size: 24px;
					font-weight: 500;
					color: var(--darkblue);
				}
			
			body#template div.section_header div.section_controls
			{
				display: flex;
				align-items: center;
				gap: 10px;
			}
			
		body#template div.section_content {  }
		
			body#template div.page_content p:first-of-type { margin-top:0; }
		
			div.section_content a { color: var(--blue); font-weight: 500; text-decoration: none; }
			div.section_content a:hover { text-decoration: underline; color: var(--blue); }
			div.section_content ul, div.section_content ol { list-style-position: outside; margin-left: 20px; margin-right: 20px; }
			div.section_content h1 { font-size: 1.4em; margin: 15px 0; font-weight: 500; }
			div.section_content h2 { font-size: 1.3em; margin: 15px 0; font-weight: 500; }
			div.section_content h3 { font-size: 1.2em; margin: 15px 0; font-weight: 500; }
			div.section_content h4 { font-size: 1.1em; margin: 15px 0; font-weight: 500; }
			div.section_content h5 { font-size: .9em; margin: 15px 0; font-weight: 500; }
			div.section_content h6 { font-size: .8em; margin: 15px 0; font-weight: 500; }
			
body#template footer.footer
{
	overflow: hidden;
	border-top:1px solid var(--lighterblue);
	margin: 10px 0 5px 0;
}
	
	body#template .footer_content
	{
		width: 100%;
		display: flex;
		justify-content: space-between;
		max-width: 1200px;
		margin: 10px auto;
		padding: 0 10px;
		font-size: 14px;
	}
	
		body#template ul.site_info
		{
			list-style-type: disc;
			list-style-position: outside;
			display: flex;
			gap: 15px;
		}
			
			body#template ul.site_info li { margin-right: 10px; }
			body#template ul.site_info li::marker { color: var(--blue); }			
			body#template ul.site_info li:first-of-type { list-style: none; }
			body#template ul.site_info a { color: var(--darkblue); text-decoration: none; cursor: pointer; margin-left: 5px; display: inline-block; }
			body#template ul.site_info a:hover { text-decoration: underline; color: var(--blue); }
			body#template ul.site_info li:first-of-type a { margin: 0; }
			
		body#template div.site_social
		{}

@media screen and (max-width:700px)
{
	body#template .footer_content, 
	body#template .footer_content ul 
	{ 
		flex-direction: column; gap: 5px !important; list-style: none !important;  
	}

	section.main_section { min-width: 300px !important; }
	
	body#template div.section_content img,
	body#template div.section_content video,
	body#template div.section_content iframe { max-width: 100vw; width: 100%; height: auto; }
}

@media (max-width: 550px)
{
	body#template
	{
		line-height: 1.4;
	}
	
	body#template header.header { overflow: visible; }
	
	body#template div.header_upper
	{
		justify-content: flex-start;
	}
	
	body#template div.header_lower
	{
		position: absolute;	
		z-index: 111;
		top: 13px;
		right: 17px;	
		width: 31px;
		height: 30px;	
		display: block;		
		overflow: hidden;
		cursor: pointer;		
		background-color: var(--blue);
		border: 1px solid #fff;
	}
		body#template div.header_lower::before
		{
			position: relative;
			content: 'menu';
			font-family: 'Material Symbols Outlined';
			color: #fff;
			font-size: 29px;
			text-align: center;
			font-weight: 100;
		}
		
		body#template div.header_lower.open 
		{ 
			overflow: visible;
			width: 100%;
			max-width: 90vw;
			height: auto;
		}
		
		body#template div.header_lower.open::before
		{
			position: absolute;
			z-index: 112;
			right: 0;
			top: 0;
			content: 'close';
			font-weight: 100;
		}
		
		body#template div.header_lower.open nav.site_nav
		{
			display: block;
		}
		
		body#template div.header_lower nav.site_nav
		{
			display: none;
			background-color: var(--blue);
			width: auto;
			height: auto;
			position: relative;
			margin: 0;
			padding: 0;
		}
		
			body#template div.header_lower nav.site_nav a
			{
				color: #fff;
				display: block;
				margin: 5px;
				font-size: 14px;
				width: 100%;
				max-width: 88%;
				padding: 2px;
				border-bottom: 1px solid transparent;
				line-height: 1.4;
			}
			
				body#template div.header_lower nav.site_nav a:hover
				{
					text-decoration: none;
					border-bottom: 1px solid #fff;
				}
	
	body#template .page_title { font-size: 20px; }
	
	body#template nav.main_nav
	{
		position: absolute;	
		z-index: 110;
		top: 12px;
		right: 17px;	
		width: 31px;
		height: 30px;	
		display: block;		
		overflow: hidden;
		cursor: pointer;		
		background-color: #eee;
		border: 1px solid var(--blue);
		margin: 0;
		padding: 0;
		max-width: 90vw;
		min-width: auto;
	}
	
		body#template nav.main_nav::before
		{
			position: relative;
			content: 'menu';
			font-family: 'Material Symbols Outlined';
			color: var(--blue);
			font-size: 29px;
			text-align: center;
			font-weight: 100;
			line-height: 1;
		}
		
		body#template nav.main_nav.open 
		{ 
			overflow: visible;
			width: 100%;
			max-width: 90vw;
			height: auto;
		}
		
		body#template nav.main_nav.open::before
		{
			position: absolute;
			z-index: 112;
			right: 0;
			top: 0;
			content: 'close';
			font-weight: 100;
		}
		
			body#template nav.main_nav a
			{
				color: var(--blue);
				display: block;
				margin: 5px;
				font-size: 14px;
				width: 100%;
				max-width: 88%;
				padding: 2px;
				border-bottom: 1px solid transparent;
				line-height: 1.4;
			}
			
				body#template nav.main_nav a:hover
				{
					text-decoration: none;
					border-bottom: 1px solid var(--blue);
				}
		
	body#template section.main_section div.section_header { margin: 0 !important; max-width: 85vw; }
	
		
}	