﻿@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 fieldset .submit, div.alfag fieldset .button_selected, div.alfag ul.tabs li.active a
	{
		background: var(--color-slate-200);
	}
	div.alfag fieldset .submit:hover, div.alfag fieldset .button_selected:hover, div.alfag ul.tabs li.active a:hover
	{
		background: var(--color-slate-100);
	}
	div.alfag .mlink
	{
	}
	div.alfag .mlink:hover
	{
		color: var(--color-slate-100);
		background: var(--color-green-300);
	}
	div.alfag .ui-checkboxradio-label.ui-button:hover
	{
		color: var(--color-white-permanent);
	}
}

@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;
	}

	div.alfag ul.tabs li
	{
		width: 40%;
	}
}

@media (max-width: 560px)
{
    /*
	div.alfag.anbieter-details .zinskonditionen .resulttable th:nth-child(2), div.alfag.anbieter-details .zinskonditionen .resulttable td:nth-child(2)
	{
		display: none;
	}
    */

	div.alfag fieldset label
	{
		width: 90%;
	}
	div.alfag fieldset input, div.alfag fieldset select
	{
		width: 45%;
		margin: 4px 0px;
	}
	div.alfag fieldset input.submit
	{
		width: 45%;
	}

	div.alfag .schnellcheck-buttonset table, div.alfag .schnellcheck-buttonset tbody, div.alfag .schnellcheck-buttonset tr
	{
		display: block;
	}
	div.alfag .schnellcheck-buttonset td
	{
		display: inline-block;
		width: 45%;
	}
	div.alfag .schnellcheck-buttonset td:nth-child(1)
	{
		width: 100%;
		padding: 10px 0 4px 0;
	}
	div.alfag .schnellcheck-buttonset input
	{
		float: none;
	}
}

@media (max-width: 480px)
{
	div.alfag .printlink
	{
		display: none;
	}

	div.alfag ul.tabs li
	{
		width: 100%;
	}
	div.alfag ul.tabs li a
	{
		text-align: center;
	}
	
	
	
	
	
	
	div.alfag .result table, div.alfag .result tbody, div.alfag .result tr
	{
		display: block;
	}
	div.alfag .result td
	{
		display: inline-block;
	}
	div.alfag .result td:nth-child(odd)
	{
		width: 40%;
	}
	div.alfag .result td:nth-child(even)
	{
		width: 55%;
	}
    

	div.alfag .headerrow th, div.alfag .headerrow td
	{
		white-space: normal;
	}
	
	div.alfag.top-anbieter .resulttable th:nth-child(2), div.alfag.top-anbieter .resulttable td:nth-child(2)
	{
		display: none;
	}
	div.alfag.schnellcheck .resulttable th:nth-child(2), div.alfag.schnellcheck .resulttable td:nth-child(2)
	{
		display: none;
	}
	
	div.alfag.anbieter-details .zinskonditionen .resulttable th:nth-child(7), div.alfag.anbieter-details .zinskonditionen .resulttable td:nth-child(7)
	{
		display: none;
	}
	
	div.alfag .angebotslink
	{
		width: 80%;
	}
	
	div.alfag .award
	{
		display: none;
	}
}

@media (max-width: 400px)
{
	div.alfag input, div.alfag select,
	div.alfag .schnellcheck-buttonset .rb label, div.alfag .schnellcheck-buttonset .cb label,
	div.alfag .schnellcheck-buttonset li span
	{
		font-size: 14px;
	}
		
	div.alfag.top-anbieter .resulttable th:nth-child(4), div.alfag.top-anbieter .resulttable td:nth-child(4)
	{
		display: none;
	}
	div.alfag.schnellcheck .resulttable th:nth-child(4), div.alfag.schnellcheck .resulttable td:nth-child(4)
	{
		display: none;
	}
	div.alfag.anbieter-details .zinskonditionen .resulttable th:nth-child(6), div.alfag.anbieter-details .zinskonditionen .resulttable td:nth-child(6)
	{
		display: none;
	}
}
