﻿@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-bulb-2-fill: url(https://cdn1.fmh.de/images/fmh/bulb-2-fill-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-buttonset li.col1
	{
		width: 40%;
	}
	div.alfag .schnellcheck-buttonset li.col2
	{
		width: 60%;
	}
	
	div.alfag.schnellcheck .resulttable .col-sparplan-anzahl-fonds, div.alfag.schnellcheck .resulttable .col-sparplan-anzahl-fonds-reduziert
	{
		display: none;
	}
	div.alfag.schnellcheck .resulttable .hintrow .col-angebot
	{
		display: none;
	}
}

@media (max-width: 840px)
{
	div.alfag.schnellcheck .resulttable .col-besonderheiten, div.alfag.schnellcheck .resulttable .col-auszeichnung
	{
		display: none;
	}
}

@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: 30%;
	}
	div.alfag .schnellcheck-buttonset li.col2
	{
		width: 70%;
	}
	
	div.alfag.schnellcheck .resulttable .col-sparplan-mindestanlagebetrag
	{
		display: none;
	}
	
	div.alfag .emptyrow
	{
		display: none;
	}
	
	div.alfag .sparplan-kauf-bemerkung
	{
		display: none;
	}
}

@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 .sparplaene table, div.alfag .sparplaene table tbody, div.alfag .sparplaene tr
	{
		display: block;
	}
	div.alfag .sparplaene th, div.alfag .sparplaene td
	{
		display: inline-block;
	}
	div.alfag .sparplaene th
	{
		width: 45%;
	}
	div.alfag.schnellcheck .resulttable .col-sparplan-einzahlung
	{
		display: none;
	}

	div.alfag .produktdetails table, div.alfag .produktdetails tbody, div.alfag .produktdetails tr
	{
		display: block;
	}
	div.alfag .produktdetails td, div.alfag .produktdetails th
	{
		display: inline-block;
	}
	div.alfag .produktdetails th:nth-child(1), div.alfag .produktdetails th:nth-child(3), div.alfag .produktdetails th:nth-child(5)
	{
		width: 40%;
	}
	div.alfag .produktdetails td:nth-child(2), div.alfag .produktdetails td:nth-child(4), div.alfag .produktdetails td:nth-child(6)
	{
		width: 55%;
	}
}

@media (max-width: 560px)
{
	div.alfag .schnellcheck-buttonset-header
	{
		display: block;
		text-align: center;
	}
	div.alfag .schnellcheck-buttonset
	{
		display: none;
	}
	
	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 li.col1
	{
		width: 100%;
	}
	div.alfag .schnellcheck-buttonset li.col2
	{
		width: 100%;
	}
	
	div.alfag.anbieterliste .resulttable .col-sparplaene-anbieterliste
	{
		display: none;
	}
		
	div.alfag .anbieter-details-tabs li
	{
		width: 50%;
	}
	
	div.alfag .anbieter-details-tab th
	{
		width: 160px;
	}
		
}

@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: 32%;
	}
	div.alfag .schnellcheck-buttonset .rb2, div.alfag .schnellcheck-buttonset .sb2
	{
		width: 45%;
	}
	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: 100%;
	}
		
	
	div.alfag .headerrow th, div.alfag .headerrow td
	{
		white-space: normal;
	}
		
	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%;
	}

	div.alfag .anbieter-details-tabs li
	{
		width: 100%;
	}
	
	div.alfag .dalink
	{
		display: block;
		float: none;
		width: 80%;
		margin: 0 auto;
		white-space: nowrap;
		text-align: center;
	}

	div.alfag .produktdetails table, div.alfag .produktdetails tbody, div.alfag .produktdetails tr
	{
		display: block;
	}
	div.alfag .produktdetails th, div.alfag .produktdetails td
	{
		display: inline-block;
		width: 100% !important;
	}
}

@media (max-width: 400px)
{
	div.alfag .schnellcheck-buttonset .tb,
	div.alfag .schnellcheck-buttonset .rb label, div.alfag .schnellcheck-buttonset .cb label
	{
		font-size: 14px;
	}

	div.alfag .anbieterlink img
	{
		width: 90px !important;
		height: auto !important;
	}
	
	div.alfag .dlink
	{
		white-space: normal;
	}
	div.alfag .angebotslink
	{
		font-size: 14px;
		white-space: normal;
	}
}