﻿@media (prefers-color-scheme: dark)
{
	:root
	{
		/* colors */
		--color-slate-50: #F8FAFC;
		--color-slate-100: #1E293B;
		--color-slate-200: #334155;
		--color-slate-300: #475569;
		--color-slate-400: #64748B;
		--color-slate-500: #94A3B8;
		--color-slate-600: #CBD5E1;
		--color-slate-700: #E2E8F0;
		--color-slate-800: #F1F5F9;
		--color-slate-900: #FFFFFF;
		--color-green-50: #F0FDF4;
		--color-green-100: #DCFCE7;
		--color-green-200: #BBF7D0;
		--color-green-300: #86EFAC;
		--color-green-400: #4ADE80;
		--color-green-500: #22C55E;
		--color-green-700: #15803D;
		--color-black: #0F172A;
		--color-white: #1E293B;
		--color-body-bg: var(--color-black);
		/* images */
		--bg-img-fmh-logo: url(https://cdn1.fmh.de/images/fmh.svg);
		--bg-img-award: url(https://cdn1.fmh.de/images/fmh/award-dm.svg);
		--bg-img-award-line: url(https://cdn1.fmh.de/images/fmh/award-line-dm.svg);
		--bg-img-chevron-down-select: url(https://cdn1.fmh.de/images/fmh2/chevron-down-select.svg);
		--bg-img-info-circle: url(https://cdn1.fmh.de/images/fmh/info-circle-dm.svg);
		--bg-img-location-fill: url(https://cdn1.fmh.de/images/fmh/location-fill-dm.svg);
		--bg-img-location-on: url(https://cdn1.fmh.de/images/fmh/location-on-dm.svg);
		--bg-img-question-fill: url(https://cdn1.fmh.de/images/fmh/question-fill-dm.svg);
	}

	div.alfag select option:hover, div.alfag select option:checked
	{
		color: var(--color-slate-100);
	}
	div.alfag ul.tabs li.active a
	{
		background: var(--color-slate-200);
	}
	div.alfag ul.tabs li.active a:hover
	{
		background: var(--color-slate-100);
	}
	div.alfag .submit
	{
		background: var(--color-slate-200);
	}
	div.alfag .submit:hover
	{
		background: var(--color-slate-100);
	}
}

@media (max-width: 640px)
{
	:root
	{
		/*  */
		--font-size-h1: 32px;
		--font-size-h2: 28px;
		--font-size-h3: 26px;
		--font-size-h4: 22px;
		--font-size-h5: 20px;
		--font-size-h6: 18px;
	}
}

@media (max-width: 560px)
{
}

@media (max-width: 560px)
{
	div.alfag ul.tabs li
	{
		width: 100%;
	}
	div.alfag ul.tabs li a
	{
		text-align: center;
	}
	
	div.alfag fieldset label
	{
		width: 100%;
	}
	div.alfag fieldset input, div.alfag fieldset select
	{
		width: 100%;
		margin: 4px 0px;
	}
	div.alfag fieldset input.notiz
	{
		width: 100%;
	}
	div.alfag fieldset input.submit
	{
		width: 100%;
	}
		
	div.alfag fieldset table, div.alfag fieldset tbody, div.alfag fieldset tr
	{
		display: block;
	}
	div.alfag fieldset td, div.alfag fieldset th
	{
		display: inline-block;
	}
	div.alfag fieldset td:nth-child(1), div.alfag fieldset th:nth-child(1)
	{
		width: 100%;
	}
	div.alfag fieldset td:nth-child(2)
	{
		width: 30%;
	}
	div.alfag fieldset td:nth-child(3)
	{
		width: 30%;
	}
	div.alfag fieldset td:nth-child(4)
	{
		width: 35%;
	}
	div.alfag fieldset td:nth-child(5)
	{
		width: 100%;
	}
	div.alfag fieldset td:nth-child(even)
	{
		/*width: 55%;*/
	}
	
	div.alfag fieldset .buttonrow td
	{
		width: 100%;
	}
	div.alfag fieldset .buttonrow td:nth-child(3), div.alfag fieldset .buttonrow td:nth-child(4)
	{
		width: 48%;
	}
	
	div.alfag #pnlEigenheimrechner
	{
		display: none;
	}
}

@media (max-width: 480px)
{
	div.alfag .printlink
	{
		display: none;
	}
}

@media (max-width: 400px)
{
	div.alfag input[type=text]
	{
		width: 100%;
	}
}