/**
 * Calculator
 */

.PlatformCalculator__calculator {
    position: relative;
    width: 100%;
}

.PlatformCalculator__title {
    margin-top: 0.5em;
    margin-bottom: 1em;
}

@media screen and (min-width: 600px) {
    .PlatformCalculator__calculator {
        padding: 1.8em;
        border-radius: 5px;
        box-shadow: 0 0 40px rgba(0,0,0,.1);
        background-color: #fff;
    }
}

@media screen and (min-width: 740px) {
    .PlatformCalculator__calculator {
        display: flex;
        justify-content: space-between;
    }

    .PlatformCalculator__variables {
        flex-grow: 1;
        margin-right: 30px;
    }

    .PlatformCalculator__results {
        display: flex;
        flex-direction: column;
        width: calc(33.3334% - 20px);
        min-width: 180px;
    }
}

@media screen and (min-width: 940px) {
    .PlatformCalculator__calculator {
        padding: 3em 3em 1.5em;
    }
}

.PlatformCalculator__subText,
.PlatformCalculator__moreLink {
    display: inline-block;
    font-family: var(--fam-text);
    font-size: var(--size-small);
}

.PlatformCalculator__moreLink,
.PlatformCalculator__priceCartLink {
    text-decoration: underline;
}

/**
 * Aside
 */

.PlatformCalculator__aside {
    position: relative;
}

.PlatformCalculator__includedServices {
    margin-bottom: 0;
}

@media screen and (min-width: 600px) {
    .PlatformCalculator__aside {
        padding: 1.8em;
    }
}


@media screen and (min-width: 740px) {
    .PlatformCalculator__aside {
        display: flex;
        justify-content: space-between;
    }

    .PlatformCalculator__includedOverview {
        flex-grow: 1;
        margin-right: 30px;
    }

    .PlatformCalculator__optionsOverview {
        width: calc(33.3334% - 20px);
        min-width: 180px;
    }

    .PlatformCalculator__includedServicesOverview {
        display: flex;
        justify-content: space-between;
    }

    .PlatformCalculator__includedServices {
        width: 50%;
    }

    .PlatformCalculator__includedServices:first-child {
        margin-right: 30px;
    }
}

@media screen and (min-width: 940px) {
    .PlatformCalculator__aside {
        padding: 3em 3em 1.5em;
    }
}

/**
 * Background color
 */

@media screen and (min-width: 600px) {
    .Article:first-child .PlatformCalculator:before {
        content: '';
        display: block;
        position: absolute;
        top: -120px;
        left: 0;
        right: 0;
        height: 800px;
        background-color: #d3e2eb;
    }
}

/**
 * Year switch
 */

.PlatformCalculator__yearSwitcher {
    margin-top: -0.5rem;
    padding-inline: 2rem;
    text-align: center;
    font-size: var(--size-small);
    opacity: 0.75;
}

/**
 * Buttons
 */

.PlatformCalculator__next {
    margin-bottom: 1.5em;
    text-align: center;
}

.PlatformCalculator .PlatformCalculator__button {
    display: block;
    margin-bottom: 0.5em;
    text-align: center;
    border-color: var(--sapphire);
    color: var(--white);
    background-color: var(--sapphire);
}

.PlatformCalculator .PlatformCalculator__button--secondary {
    border-color: var(--sapphire);
    color: var(--sapphire);
    background-color: transparent;
}

.PlatformCalculator .PlatformCalculator__button--secondary:hover {
    border-color: var(--indigo);
    color: var(--indigo);
    background-color: transparent;
}

.PlatformCalculator__priceCartLink {
    font-size: var(--size-small);
}
