/*
Theme Name: s20
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
	--safir-black: #0F0F0F;
}
@font-face {
    font-family: 'Bodoni';
    src: url('https://safir20.is/wp-content/themes/s20/fonts/BodoniModa11pt-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Mulish';
    src: url('https://safir20.is/wp-content/themes/s20/fonts/Mulish-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN Condensed';
    src: url('https://safir20.is/wp-content/themes/s20/fonts/D-DINCondensed-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN Condensed';
    src: url('https://safir20.is/wp-content/themes/s20/fonts/D-DINCondensed.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN';
    src: url('https://safir20.is/wp-content/themes/s20/fonts/D-DIN-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN';
    src: url('https://safir20.is/wp-content/themes/s20/fonts/D-DIN.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN';
    src: url('https://safir20.is/wp-content/themes/s20/fonts/D-DIN-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN Exp';
    src: url('https://safir20.is/wp-content/themes/s20/fonts/D-DINExp-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN Exp';
    src: url('https://safir20.is/wp-content/themes/s20/fonts/D-DINExp-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN Exp';
    src: url('https://safir20.is/wp-content/themes/s20/fonts/D-DINExp.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


p {
	color: var(--safir-black);
font-family: D-DIN;
font-size: 1.125rem;
font-style: normal;
font-weight: 400;
}

.hero-title {
	color: #FFF;
text-align: center;
font-family: D-DIN;
font-size: 5rem;
font-style: normal;
font-weight: 700;
line-height: 100%; /* 7.125rem */
	text-shadow: 1px 5px 8px rgba(0,0,0,0.51);
}

.hero-subtitle {
	color: #FFF;
text-align: center;
font-family: D-DIN;
font-size: 3rem;
font-style: normal;
font-weight: 700;
line-height: 100%; /* 4.0625rem */
	text-shadow: 1px 5px 8px rgba(0,0,0,0.51);
	margin: 0 !important;

}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 10px;
    justify-items: center;
}
.frontpage-calculator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
 background-color: var(--primary-color);
 padding: 20px;
}
.calculator-container p {
    color: white;
}
.loan-label {
    color: #FFF;
font-family: D-DIN;
font-size: 1.5rem;
font-style: normal;
font-weight: 400;
line-height: 120%; /* 1.8rem */
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-skip-ink: none;
text-decoration-thickness: auto;
text-underline-offset: auto;
text-underline-position: from-font;
	margin: 0;
	text-align: center;
}
.loan-value {
    color: #FFF;
font-family: D-DIN;
font-size: 1.5rem;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 2.4rem */
	margin: 0;
}
.divider span {
    color: #FFF;
text-align: right;
font-family: D-DIN;
font-size: 2rem;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 2.4rem */
}
.calculator-item
 {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.small-price-input.small-price-input.small-price-input.small-price-input.small-price-input {
    color: #312783;
text-align: center;
font-family: D-DIN;
font-size: 1.5rem !important;
font-style: normal;
font-weight: 700;
line-height: 120%;
border-radius: .5rem !important;
max-width: 150px;
	margin: 0;
	height: fit-content !important;
	margin-top: .25rem;
	padding: 0;
}


h2 {
	color: var(--primary-color);
font-family: D-DIN !important;
font-size: 2.5rem;
font-style: normal;
/* font-weight: 700; */
line-height: 120%; /* 3rem */
}
.absolute-footer {
	display: none;
}
.button.primary span, .button.secondary span{
color: #FFF;
text-align: center;
font-family: D-DIN;
font-size: 1.2rem;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 1.8rem */
}
       #calculator span,
    #calculator small,
    #calculator label {
        color: white;
    }

    .calculator-content {
        padding: 5rem;
        background: var(--primary-color);
    }

    .table-container {
        background: #7C6FB0;
        padding: 2.5rem 4.125rem;

    }

    #charts-section {
        background: #D3CDE7;
        padding: 2.5rem 4.125rem;
    }
    .chart {
        position: relative;
        min-height: 500px;
    }


    .calculator-form {
        display: grid;
        grid-template-columns: .25fr .25fr .25fr .25fr;

        grid-template-areas:
            "fasteignaverd . lanstimi tegund"
            "eiginfe . ibudalan tegund"
            "hlutur-safir . . greidslumati"
            "vextir verdbolga verdhaekkun greidslumati";
        grid-gap: 4rem 0;
		margin: 0;
		    align-items: center;
    justify-items: stretch;
}
.calculator-accordion .accordion-title {
	color: var(--primary-color);
font-family: D-DIN;
font-size: 2.5rem;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 48px */
	    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}
.aparta {
	display: grid;
	grid-template-areas: 'aparta';
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}
.aparta span, .aparta img {
	grid-area: aparta;
}
    

    .ibudalan {
        grid-area: ibudalan;
    }

    .fasteignaverd {
        grid-area: fasteignaverd;
    }

    .eiginfe {
        grid-area: eiginfe;
    }

    .hlutur-safir {
        grid-area: hlutur-safir;
    }

    .lanstimi {
        grid-area: lanstimi;
    }

    .tegund {
        grid-area: tegund;
    }

    .greidslumati {
        grid-area: greidslumati;
    }

    .vextir {
        grid-area: vextir;
    }

    .verdbolga {
        grid-area: verdbolga;
    }

    .verdhaekkun {
        grid-area: verdhaekkun;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 100%;
        justify-content: space-between;

    }

    .hidden {
        display: none;
    }
	.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
	background: white;
 }
    .toggle-label {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0.75rem 1rem;
        background: var(--primary-color);
        cursor: pointer;
        border-radius: 25px;
        color: white;
        border: 2px solid white;
        white-space: nowrap;
    }

    .toggle-group {
        display: flex;
        flex-direction: column;
		justify-content: center;
		height: 100%;
		gap: 2.5rem;
    }
.form-item:has(.toggle-group) {
	width: 100%;
	height: 100%;
}
    input[type="radio"]:checked+.toggle-label {
        background: var(--fs-color-secondary);
        color: white !important;
		border-color: var(--fs-color-secondary);
        font-weight: 600;
    }

    input[type="radio"] {
        display: none;
    }

    .group-bottom {
        grid-area: bottom;
    }

    .form-group.group-bottom {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    .calculator-form label,
    .form-label {
        color: #FFF;
        font-family: D-DIN;
        font-size: 1.125rem;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
        /* 1.35rem */
    }

    #safir-share-display,
    #principal-display {
        color: #FFF;
        font-family: D-DIN;
        font-size: 2rem;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
		margin-left: .75rem;
        /* 2.4rem */
    }

    #calculator h2 {
        color: #FFF;
        font-family: D-DIN;
        font-size: 2.5rem;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
        /* 3rem */
    }

    .group-bottom .form-group {
        justify-content: center;
    }

    .toggle-option {
        margin: 0;
    }

    select {
        background: var(--primary-color);
        color: #FFF;
        font-family: D-DIN;
        font-size: 2rem;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
        /* 2.4rem */
    }

    .form-item {
        display: flex;
        flex-direction: column;
        gap: 10px;
		    justify-content: flex-end;
    align-items: stretch;
		width: 70%;
    }

    #calculator-form input,
    #calculator-form select {
        font-size: 2rem;
		padding: 0.25rem .5rem;
		border-radius: 8px;
        background: var(--primary-color);
        color: #FFF;
        border: 1px solid rgba(255,255,255,.1);
		font-weight: bold;
		font-family: D-Din;
		height: fit-content;
		margin: 0;
    }
#buyer-equity {
	margin: 0;
}
#calculator-form select {
	margin: 0;
}

.calculator-accordion .accordion-inner{
	padding: 0;
	margin: 0;
}

    .evolution-table {
        width: 100%;
    }

    .evolution-table-container {
        width: 100%;
    }

    .evolution-table tr {
        border-bottom: 1px solid white;
    }

    .evolution-table th {
        border-right: 1px solid white;
        border-bottom: 1px solid white;
    }

    .evolution-table td,
    .evolution-table th {
        padding: 1rem .5rem;
        color: #F5F5F5;
        text-align: center;
        font-family: D-DIN;
        font-size: 1rem;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
		text-transform: unset !important;
		letter-spacing: unset !important;

        border-right: 1px solid white;
        border-bottom: 1px solid white;
    }
    .chart-title {
        color: #0F0F0F !important;
font-family: D-DIN;
font-size: 40px;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 48px */
    }
    .footnotes p {
        color: #FFF;
text-align: right;
font-family: D-DIN;
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 19.2px */
    }
    .settlement-summary {
        display: none;
    }
    .overview-section {
        display: flex;
    flex-direction: row;
    gap: 10rem;
    background: #D3CDE7;
    padding: 5rem;
    justify-content: center;
    align-items: center;
    }
    .overview-item {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }
    .overview-section.overview-section.overview-section .overview-item > h2 {
        color: #2D358F !important;
text-align: center;
font-family: D-DIN;
font-size: 1.5rem !important;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 28.8px */
margin: 0;
    }
    .overview-value {
        color: #2D358F;
text-align: center;
font-family: D-DIN;
font-size: 2.5rem;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 48px */
margin: 0;
    }
    .overview-description {
        color: #2D358F;
text-align: center;
font-family: D-DIN;
font-size: 1rem;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 19.2px */
margin: 0;
    }
    .overview-item {
        display: grid;
        grid-template-rows: 1fr 1fr 1fr;
        flex-direction: column;
        gap: 1rem;
        /* justify-content: flex-start; */
        justify-items: stretch;
        align-items: stretch;
    }
.footer-image-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	justify-content: center;
	align-items: center;
}
.footer-contact-container {
	display: flex;
		justify-content: center;
	align-items: center;
	justify-items: center;
	gap: 4rem;
	margin: 7.5rem 0;
}
.footer-contact-container p{
	color: var(--primary-color);
font-family: D-DIN;
font-size: 1.125rem;
font-style: normal;
font-weight: 400;
line-height: 140%; /* 1.575rem */
}
.footer-section h2 {
	color: var(--primary-color);
text-align: center;
font-family: "Bodoni Moda" !important;
font-size: 2rem;
font-style: normal;
font-weight: 900;
line-height: 120%; /* 2.4rem */
}
.section.footer-section {
	padding: 7.5rem 1rem !important;
}
.three-steps-row h3 {
color: var(--primary-color);
text-align: center;
font-family: D-DIN;
font-size: 2.5rem;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 3rem */
}
.three-steps-row p {
	color: var(--safir-black, #0F0F0F);
font-family: D-DIN;
font-size: 1.125rem;
font-style: normal;
font-weight: 400;
line-height: 120%; /* 1.35rem */
}
.three-steps-row .col, .three-steps-row .col-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.accordion .toggle, i.icon-angle-down {
	    display: flex;
    align-items: center;
    justify-content: center;
	filter: brightness(0) invert(1);
}
.accordion-title {
	padding: .6em 2.3em .6em 0;
}
.questions-accordion .accordion-title {
	color: white;
	font-weight: bold;
	border-color: white;
	font-family: D-Din;
}
.questions-accordion .accordion-inner p, .questions-accordion .accordion-inner li {
	color: white;
}
.questions-accordion {
	padding: 2rem 0;
}
i.icon-angle-down {
	width: 100%; 
	height: 100%;
}
.accordion .toggle.toggle.toggle {
	right: 0;
	left: unset;
	margin-left: 5px;
	margin-right: 0;
}
i.icon-angle-down:before {
	width: 50%;
	height: 50%;
	display: block;
	content: " ";
	background: url('https://safir20.is/wp-content/uploads/2025/11/safir-arrow.svg');

background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.stuttu-mali-section h2 {
    color: #FFF;
text-align: center;
font-family: D-DIN;
font-size: 4rem;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 4.8rem */
}
.stuttu-mali-section p, .stuttu-mali-section li {
    color: #FFF;
font-family: D-DIN;
font-size: 1.5rem;
font-style: normal;
font-weight: 400;
}
.gildi-safirs-row h2 {
color: var(--primary-color);
text-align: center;
font-family: D-DIN;
font-size: 4rem;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 4.8rem */
}
.gildi-safirs-row h3 {
	color: var(--primary-color);
text-align: center;
font-family: D-DIN;
font-size: 2.5rem;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 3rem */
}
.gildi-safirs-row p {
	color: var(--safir-black);
font-family: D-DIN;
font-size: 1.125rem;
font-style: normal;
font-weight: 400;
line-height: 120%; /* 1.35rem */
}
.email-form p {
	color: var(--Light-Gray-dark, #737B7D);

/* Body */
font-family: D-DIN;
font-size: 1.125rem;
font-style: normal;
font-weight: 400;
line-height: 120%; /* 1.35rem */
}
.email-form strong {
	color: var(--Light-Gray-dark, #737B7D);
font-family: D-DIN;
font-size: 1.125rem;
font-style: normal;
font-weight: 700;
line-height: 120%;
}
.email-form .wpcf7-list-item-label {
color: var(--Light-Gray-dark, #737B7D);
font-family: D-DIN;
font-size: 0.75rem;
font-style: normal;
font-weight: 400;
line-height: 120%; /* 0.9rem */
}
.email-form .wpcf7-submit {
	background: var(--fs-color-secondary) !important;
	color: var(--Light-White, #FFF);
text-align: center;
	float: right;
	text-transform: unset;
font-family: Mulish;
font-size: 0.875rem;
font-style: normal;
font-weight: 700;
line-height: 1.125rem; /* 128.571% */
letter-spacing: 0.01875rem;
}
.email-form {
	display: flex;
	gap: 1rem;
	flex-direction: column;
	
	max-width: 70%;
	margin: auto;
}
.email-form-inputs {
	padding-left: 10rem;
}
.video-col {
	padding: 5rem;
}
.video-col h2 {
	text-align: center;
	margin-bottom: 5rem;
}
	#buyer-equity-hint {
		display: none;
	}
	.realtor-wrapper {
	display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
	}
	.realtor-wrapper img {
		margin-bottom: 2rem;
	}
	.realtor-wrapper a {
		color: var(--Gray-1, #333);

/* Body */
font-family: D-DIN;
font-size: 1.125rem;
font-style: normal;
font-weight: 400;
line-height: 120%;
text-decoration: underline;
	}
.calculator-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
	line-height: 1;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	h2 {
		font-size: 2rem;
	}
	.gildi-safirs-row h2 {
		font-size: 2rem;
	}
	.gildi-safirs-row h3 {
		font-size: 1.5rem;
	}
	.gildi-safirs-row p {
		text-align: center;
	}
		.is-divider.divider.clearfix {
		margin: 3.5rem 0 !important;
	}
	.form-item {
		width: 100%;
	}
	.email-form-inputs {
		padding: 0;
	}
	.stuttu-mali-section h2 {
		font-size: 2.5rem;
	}
	.stuttu-mali-section li {
		font-size: 1.5rem;
	}
	.email-form {
		max-width: 90%;
	}
	.video-col {
		padding: 1rem;
	}	
	.video-col h2 {
		margin-bottom: 1rem;
	}
	.footer-image-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr 1fr;
	justify-content: center;
	align-items: center;
		gap: 1rem;
}
	.footer-contact-container {
    gap: 1rem;
    margin: 3.25rem 0;
    flex-direction: column;
}
	.footer-section {
		padding: 3rem 0 !important;
	}
	.chart {
		min-height: 150px;
	}
	.hero-title {
		font-size: 1.5rem;
		margin: 0 !important;
	}
	.hero-subtitle {
		font-size: 1rem;
	}
	.calculator-content {
		padding: 1rem !important;
	}
.calculator-form {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
    "fasteignaverd eiginfe"
    "hlutur-safir lanstimi"
    "ibudalan vextir"
    "verdbolga verdhaekkun"
    "tegund tegund"
    "greidslumati greidslumati";
    grid-gap: 1rem;
    margin: 0;
    align-items: center;
    justify-items: stretch;
}
.toggle-group {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 1rem;
}
	
#calculator-form input, #calculator-form select {
    width: 100%;
    font-size: 1.5rem;
    padding: 0.375rem .5rem;
}
	#safir-share-display, #principal-display {
    font-size: 1.5rem;
}
	.calculator-form label, .form-label {
    width: 100%;
	}
	.calculator-accordion .accordion-inner {
		margin: 0;
		padding: 0;
	}
	.button.primary span, .button.secondary span {
    font-size: 1rem;
    line-height: 1;
    padding: 10px 0;
	}
	.overview-section {
		gap: 1rem;
		padding: 2rem;
	}
	#calculator h2 {
		font-size: 1.5rem;
	}
	.overview-value {
		font-size: 2rem;
	}

    .overview-item p,
    .overview-item h2 {
        margin: 0;
        height: fit-content;
    }
    .overview-item {
        display: grid;
        grid-template-rows: 1fr 1fr 1fr;
        flex-direction: column;
        gap: 1rem;
        justify-items: center;
        align-items: center;
    }
	.table-container {
		    padding: 1rem 0;
    position: relative;
	}
	.evolution-table-container {
    width: 100%;
    overflow: scroll;
}
#charts-section {
    padding: 1rem;
}
	    .chart {
/* 			aspect-ratio: 16 / 9; */
			position: relative;
			min-height: 500px;
    }
	.evolution-table td, .evolution-table th {
		padding: .5rem;
		font-size: 1rem;
	}
	.evolution-title {
		margin-left: 1rem;
	}
	.footnotes {
		margin-right: 1rem;
	}
	.price.calculator-item {
    grid-column: 1 / 7;
    width: 80%;

	}
	.small-price-input {
		max-width: 90vw;
	}
		.loan-value {
			font-size: 1.5rem;
		}
	.loan-label {
		font-size: 1.25rem;
	}
	.frontpage-calculator .calculator-container {
		grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
		gap: .25rem;
	}
	video {
			border: 1px solid white;

	}
	.gildi-safirs h3, .three-steps-row h3  {
		font-size: 1.5rem;
	}
	

}
