﻿@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-exposed: url(https://cdn1.fmh.de/images/fmh/award-exposed-dm.svg);
		--bg-img-chevron-down-select: url(https://cdn1.fmh.de/images/fmh2/chevron-down-select.svg);
		--bg-img-filter-minus: url(https://cdn1.fmh.de/images/fmh/filter-minus-dm.svg);
		--bg-img-filter-plus: url(https://cdn1.fmh.de/images/fmh/filter-plus-dm.svg);
		--bg-img-info-circle: url(https://cdn1.fmh.de/images/fmh/info-circle-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
	{
		background: var(--color-slate-200);
	}
	div.alfag .submit:hover, div.alfag .angebotslink:hover, div.alfag .dalink:hover
	{
		background: var(--color-slate-100);
	}
	div.alfag .mlink
	{
	}
	div.alfag .mlink:hover
	{
		color: var(--color-slate-100);
		background: var(--color-green-300);
	}
}

@media (max-width: 940px)
{
	div.alfag.schnellcheck .resulttable .col-flexibilitaet, div.alfag.schnellcheck .resulttable .col-auszeichnung, div.alfag.schnellcheck .resulttable .col-besonderheiten
	{
		display: none;
	}
	
	div.alfag .schnellcheck-buttonset li.cs2
	{
		width: 40%;
	}
	div.alfag .schnellcheck-buttonset li.col1
	{
		width: 40%;
	}
	div.alfag .schnellcheck-buttonset li.col2
	{
		width: 60%;
	}
	div.alfag .schnellcheck-buttonset li.col3
	{
		width: 40%;
	}
	div.alfag .schnellcheck-buttonset li.col4
	{
		width: 60%;
	}
	
	div.alfag .schnellcheck-buttonset ul
	{
		margin: 16px 0;
	}
	div.alfag .schnellcheck-buttonset li.col3
	{
		margin: 16px 0 0 0;
	}
	
	div.alfag .schnellcheck-buttonset .rb, div.alfag .schnellcheck-buttonset .cb
	{
		margin-bottom: 4px;
	}
	
	div.alfag .produktinfos
	{
		width: 65%;
	}
	div.alfag .zinskonditionen
	{
		width: 30%;
	}
}

@media (max-width: 840px)
{
	div.alfag.schnellcheck .resulttable .col-einlagensicherung, div.alfag.schnellcheck .resulttable .col-landrating
	{
		display: none;
	}
}

@media (max-width: 740px)
{
	div.alfag *
	{
		-webkit-text-size-adjust: none;
	}
	div.alfag.schnellcheck .resulttable .col-gesamtbetrag
	{
		display: none;
	}
	
	div.alfag .produktinfos
	{
		width: 100%;
	}
	div.alfag .zinskonditionen
	{
		position: static;
		width: 50%;
		margin: 10px;
	}
	div.alfag .emptyrow
	{
		display: none;
	}
	
	div.alfag .einlagensicherung-gesamt
	{
		float: none;
		width: 100%;
	}
	div.alfag .moodys-rating-box
	{
		float: none;
		width: 90%;
		margin: 10px auto;
	}
	
	div.alfag .vermittlerdaten
	{
		float: none;
		width: 100%;
	}
	div.alfag .bank-profil-box
	{
		float: none;
		width: 90%;
		margin: 10px auto;
	}
}

@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: 32.5%;
	}
	
	div.alfag.schnellcheck .resulttable .col-rendite
	{
		display: none;
	}
	
	div.alfag .anbieter-details-table, div.alfag .anbieter-details-table tbody, div.alfag .anbieter-details-table tr
	{
		display: block;
	}
	div.alfag .anbieter-details-table td, div.alfag .anbieter-details-table th
	{
		display: inline-block;
	}
	div.alfag .anbieter-details-table td.bemerkung
	{
		width: 100%;
	}
	
	div.alfag .anbieter-details-tab td.bemerkung
	{
		width: 100%;
	}
	div.alfag .anbieter-details-tab .ablaufkontoeroeffnung td:nth-child(2)
	{
		width: 90%;
	}
	
	div.alfag .zinskonditionen
	{
		width: 60%;
	}
}

@media (max-width: 560px)
{
	div.alfag ul.tabs li
	{
		width: 100%;
	}
	div.alfag ul.tabs li a
	{
		text-align: center;
	}
	
	div.alfag .schnellcheck-buttonset-header
	{
		display: block;
		text-align: center;
	}
	div.alfag .schnellcheck-buttonset
	{
		display: none;
	}
	div.alfag .viavermittler-row
	{
		display: table-row;
	}
	
	div.alfag fieldset li:nth-child(1), div.alfag fieldset li:nth-child(3)
	{
		width: 55%;
	}
	div.alfag fieldset li:nth-child(2), div.alfag fieldset li:nth-child(4)
	{
		width: 45%;
	}
	div.alfag .schnellcheck-buttonset fieldset li.hl, div.alfag .schnellcheck-buttonset fieldset li.cs2, div.alfag .schnellcheck-buttonset fieldset li.cs3
	{
		width: 100%;
	}
	div.alfag .schnellcheck-buttonset li.col1
	{
		width: 100%;
	}
	div.alfag .schnellcheck-buttonset li.col2
	{
		width: 100%;
	}
	div.alfag .schnellcheck-buttonset li.col3
	{
		width: 100%;
	}
	div.alfag .schnellcheck-buttonset li.col4
	{
		width: 100%;
	}
	
	
			
	div.alfag.schnellcheck .resulttable .col-zinsgutschrift
	{
		display: none;
	}
	div.alfag.anbieterliste .resulttable .col-zinsbeispiel
	{
		display: none;
	}
		
	div.alfag .anbieter-details-tabs li
	{
		width: 100%;
	}
	
	div.alfag .anbieter-details-tab th
	{
		width: 160px;
	}
			
	div.alfag .zinskonditionen
	{
		width: 70%;
	}
	
}

@media (max-width: 480px)
{
	div.alfag .printlink
	{
		display: none;
	}
	
	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
	{
		width: 49%;
		height: 32px;
	}
	div.alfag .schnellcheck-buttonset .rb2, div.alfag .schnellcheck-buttonset .sb2, div.alfag .schnellcheck-buttonset .cb2, div.alfag .schnellcheck-buttonset .cb3
	{
		width: 98%;
	}
	div.alfag .schnellcheck-buttonset .rb label, div.alfag .schnellcheck-buttonset .cb label
	{
		width: 100%;
		height: 100%;
		vertical-align: middle;
		line-height: 30px;
	}
		
	div.alfag fieldset input.submit
	{
		width: 98%;
	}
		
	
	div.alfag .headerrow th, div.alfag .headerrow td
	{
		white-space: normal;
	}
		
	div.alfag.schnellcheck .resulttable .col-angebot
	{
		/*display: none;*/
	}
	div.alfag.anbieterliste .resulttable .col-angebot
	{
		display: none;
	}
	
	div.alfag .anbieterlink.vermittler, div.alfag .anbieterlink-via
	{
		display: none;
	}
	
	div.alfag .angebotslink
	{
		white-space: normal;
		line-height: 150%;
		/*padding: 4px 8px;*/
	}
	
	div.alfag .col-anbieter .dlink
	{
		margin-left: 8px;
	}
		
	div.alfag .bonus-sticker
	{
		display: none;
	}
	div.alfag .zinskonditionen
	{
		width: 90%;
	}
	
}

@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-family: Arial Narrow, sans-serif;
		font-size: 16px;
	}

	div.alfag .anbieter-details-tabs li
	{
		width: 100%;
	}

	div.alfag .anbieterlink img
	{
		width: 90px !important;
		height: auto !important;
	}
	
	div.alfag .dlink
	{
		white-space: normal;
	}
	div.alfag .angebotlink
	{
		font-size: 8px;
		font-size: 0.5rem;
		white-space: normal;
	}
}

@media (max-width: 340px)
{
	div.alfag.schnellcheck .resulttable .col-zinsen
	{
		display: none;
	}

	div.alfag.schnellcheck .resulttable .inaktivrow td.col-angebot
	{
		font-size: 10px;
	}
}

@supports (-webkit-overflow-scrolling: touch)
{
	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-family: Arial Narrow, sans-serif;
		font-size: 16px;
	}
}