﻿@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 .submit, div.alfag .angebotslink, div.alfag .dalink, div.alfag .ui-checkboxradio-label.ui-state-active, div.alfag ul.tabs li.active a
	{
		background: var(--color-slate-200);
	}
	div.alfag .submit:hover, div.alfag .angebotslink:hover, div.alfag .dalink:hover, div.alfag .ui-checkboxradio-label.ui-state-active: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: 940px)
{
	div.alfag.schnellcheck .resulttable .col-anspardauer, div.alfag.schnellcheck .resulttable .col-tilgungsdauer
	{
		display: none;
	}
	div.alfag.schnellcheck .resulttable .col-verlauf
	{
		display: none;
	}
}

@media (max-width: 840px)
{
	div.alfag.schnellcheck .resulttable .col-tarifname
	{
		display: none;
	}
	div.alfag.anbieterliste .resulttable .col-placeholder
	{
		display: none;
	}
	
	div.alfag .produktinfos table, div.alfag .produktinfos tbody, div.alfag .produktinfos tr
	{
		display: block;
	}
	div.alfag .produktinfos td, div.alfag .produktinfos th
	{
		display: inline-block;
	}
	div.alfag .produktinfos th:nth-child(1), div.alfag .produktinfos th:nth-child(3), div.alfag .produktinfos th:nth-child(5)
	{
		width: 40%;
	}
	div.alfag .produktinfos td:nth-child(2), div.alfag .produktinfos td:nth-child(4), div.alfag .produktinfos td:nth-child(6)
	{
		width: 55%;
	}
	
	div.alfag .verlauf-pnl table
	{
		width: 70%;
	}
}

@media (max-width: 740px)
{
	div.alfag *
	{
		-webkit-text-size-adjust: none;
	}
	
	div.alfag .schnellcheck-buttonset .inputcol1
	{
		width: 100%;
	}
	div.alfag .schnellcheck-buttonset .inputcol2
	{
		width: 100%;
	}
	
	div.alfag .schnellcheck-buttonset li.col1
	{
		width: 35%;
	}
	div.alfag .schnellcheck-buttonset li.col2
	{
		width: 65%;
	}
	
	div.alfag .schnellcheck-buttonset fieldset
	{
		margin: 0;
		padding: 0;
	}
	div.alfag .schnellcheck-buttonset ul
	{
		margin: 5px 0;
	}
	
	div.alfag.schnellcheck .resulttable .col-guthabenzins
	{
		display: none;
	}
	div.alfag.schnellcheck .resulttable .col-abschlussgebuehr
	{
		display: none;
	}
		
	div.alfag .verlauf-pnl table
	{
		width: 80%;
	}
}

@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 .produktinfos th:nth-child(1), div.alfag .produktinfos th:nth-child(3), div.alfag .produktinfos th:nth-child(5)
	{
		width: 50%;
	}
	div.alfag .produktinfos td:nth-child(2), div.alfag .produktinfos td:nth-child(4), div.alfag .produktinfos td:nth-child(6)
	{
		width: 45%;
	}
	
	div.alfag .verlauf-ansparphase-pnl, div.alfag .verlauf-darlehensphase-pnl
	{
		display: block;
		width: 100%;
	}
	div.alfag .verlauf-pnl table
	{
		width: 60%;
	}
}

@media (max-width: 560px)
{
	div.alfag .schnellcheck-buttonset li.col1
	{
		width: 100%;
	}
	div.alfag .schnellcheck-buttonset li.col2
	{
		width: 100%;
	}
	div.alfag .schnellcheck-buttonset li
	{
		margin: 5px 0;
	}
	div.alfag .schnellcheck-buttonset .tb, div.alfag .schnellcheck-buttonset .sb
	{
		width: 200px;
	}
	
	div.alfag.schnellcheck .resulttable .col-mindestguthaben
	{
		display: none;
	}
		
	div.alfag .verlauf-pnl table
	{
		width: 70%;
	}
}

@media (max-width: 480px)
{
	div.alfag .printlink
	{
		display: none;
	}

	div.alfag .anbieter-details-tabs li
	{
		min-width: 100%;
	}
	
	div.alfag .schnellcheck-buttonset .tb, div.alfag .schnellcheck-buttonset .sb, 
	div.alfag .schnellcheck-buttonset .button, div.alfag .schnellcheck-buttonset .button2, 
	div.alfag .schnellcheck-buttonset .rb, div.alfag .schnellcheck-buttonset .cb
	{
		/*height: 32px;*/
	}
	div.alfag .schnellcheck-buttonset label
	{
		/*height: 30px;*/
	}
	div.alfag .ui-checkboxradio-label
	{
		/*line-height: 30px;*/
	}
	div.alfag .schnellcheck-buttonset .sb
	{
		/*border: 1px solid #0077B0;*/
	}
	div.alfag .schnellcheck-buttonset .tb, div.alfag .schnellcheck-buttonset .sb,
	div.alfag .schnellcheck-buttonset .rb label, div.alfag .schnellcheck-buttonset .cb label
	{
		/*width: 140px;*/
	}
			
	div.alfag.schnellcheck .resulttable .col-kontaktaufnahme
	{
		/*display: none;*/
	}
	
	div.alfag .verlauf-pnl table
	{
		width: 80%;
	}
	
	div.alfag .anbieter-details-tab.institutdetails th
	{
		width: 120px;
	}
	
	div.alfag.print
	{
		width: auto;
	}


	/* Test mit flexbox*/
	div.alfag .resulttable, div.alfag .resulttable > thead, div.alfag .resulttable > tbody
	{
		display: block;
	}
	div.alfag .resulttable .headerrow, div.alfag .resulttable .datarow1, div.alfag .resulttable .datarow2
	{
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: center;
	}

	div.alfag .resulttable th.col-bausparkasse,
	div.alfag .resulttable .col-darlehenszins
	{
		display: flex;
		align-items: center;
		justify-content: center;
	}

	div.alfag .resulttable .col-bausparkasse
	{
		width: 70% !important;
	}
	div.alfag .resulttable .col-darlehenszins
	{
		width: 30% !important;
	}
	div.alfag .resulttable th.col-kontaktaufnahme
	{
		display: none;
	}
	div.alfag .resulttable td.col-kontaktaufnahme
	{
		width: 100%;
	}

	div.alfag .angebotslink
	{
		width: 100%;
	}

	/*div.alfag .resulttable, div.alfag .resulttable > thead, div.alfag .resulttable > tbody, div.alfag .resulttable > thead > tr, div.alfag .resulttable > tbody > tr
	{
		display: block;
	}

	div.alfag .resulttable .headerrow th, div.alfag .resulttable .datarow1 td, div.alfag .resulttable .datarow2 td
	{
		display: inline-block;
	}

	div.alfag .resulttable .col-bausparkasse
	{
		width: 70% !important;
	}
	div.alfag .resulttable .col-darlehenszins
	{
		width: 30% !important;
	}
	div.alfag .resulttable th.col-kontaktaufnahme
	{
		display: none;
	}
	div.alfag .resulttable td.col-kontaktaufnahme
	{
		width: 100%;
	}
	div.alfag .angebotslink
	{
		width: 100%;
	}*/

	div.alfag .pnl-angebotslink
	{
		/*text-align: center;*/
	}
	div.alfag .dclink
	{
		/*float: none;*/
	}
}

@media (max-width: 400px)
{
}