.tg--webform-roi header {
    background-color: #f2f7fa;
    padding-bottom: 100px;
}

.tg--webform-roi h1 {
    text-align: center;
    padding: 56px 0 36px 0;
    margin: 0;
}

.tg--webform-roi header p {
    max-width: 850px;
    margin: auto;
    padding: 0 auto 56px auto;
    text-align:center;
}

.tg--webform-roi form {
    margin: 120px auto 140px auto;
    max-width: 1234px;
    column-count: 2;
    column-gap: 26px;
    padding: 0 20px 0 20px;
}

.tg--webform-roi .form-item:not(:first-child), .tg--webform-roi .form-actions {
    margin: 30px 0 0 0;
}

.tg--webform-roi input {
    background-color: #F2F4F7;
    border-radius: 25px;
    font-size: 16px;
    padding: 14px 25px 16px 25px;
    border: none;
    outline: none;
    webkit-box-shadow: none;
    box-shadow: none;
    color: #000000;
    font-family: 'Montserrat';
}

.tg--webform-roi input::placeholder {
    color: #a7a7a7;
}

.tg--webform-roi .form-actions input {
    color: #FFFFFF;
    font-size: 17px;
    padding: 16px 35px 16px 35px;
    background-color: #39C1CC;
}

.tg--webform-roi .form-actions input:hover {
    background-color: #17B2BA;
}

.tg--webform-roi-results-company {
    max-width: 816px;
    margin: 75px auto 43px auto;
}

.tg--webform-roi-results-company h2 {
    font-size: 26px;
    color: #182853;
    text-align: center;
    line-height: 40px;
}

.tg--webform-roi-results-company p {
    font-size: 18px;
    color: #182853;
    text-align: center;
}

.tg--webform-roi-result-panes {
    display: flex;
    justify-content: center;
    margin: 0 0 60px 0;
}

.tg--webform-roi-result-pane {
    max-width: 618px;
    background-color: #F3F6F8;
    padding: 41px 64px;
    box-shadow: 0px 3px 10px #00000033;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tg--webform-roi-result-pane:not(:last-child) {
    margin: 0 58px 0 0;
}

.tg--webform-roi-result-pane img {

}

.tg--webform-roi-result-pane h2 {
    font-size: 26px;
    color: #182853;
    margin: 34px 0 5px 0;
    height: 67px;
}

.tg--webform-roi-result-data {
    width: 100%;
    flex-grow: 1;
    padding-left: 0;
}

.tg--webform-roi-result-data li {
    display: flex;
    justify-content: space-between;
    border-bottom: solid thin #e2e4e7;
    padding: 10px 0 10px 0;
}

.tg--webform-roi-results-total {
    display: flex;
    justify-content: space-between;
    margin: 27px 0 0 0;
}

.tg--webform-roi-result-label {
    font-size: 17px;
    color: #000000;
    flex-basis: 324px;
    flex-shrink: 3;
}

.tg--webform-roi-result-value {
    font-size: 20px;
    color: #000000;
    font-weight: 600;
    flex-basis: 134px;
    flex-shrink: 1;
}

.tg--webform-roi-results-total .tg--webform-roi-result-label {
    font-size: 20px;
    font-weight: 600;
    color: #0D2048;
}

.tg--webform-roi-results-total .tg--webform-roi-result-value {
    font-size: 27px;
    color: #0D2048;
}

.tg--webform-roi-result-grand-total {
    max-width: 1294px;
    background-color: #002554;
    color: white;
        margin: 0 auto 67px auto;
    box-shadow: 0px 3px 30px #0000001A;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 90px;
}

.tg--webform-roi-result-grand-total-label {
    font-size: 20px;
    font-weight: 600;
}

.tg--webform-roi-result-grand-total-value {
    font-size: 35px;
    font-weight: 700;
}

.tg--webform-roi-result-actions {
    display: flex;
    justify-content: center;
    margin: 0 0 100px 0;
}

.tg--webform-roi-result-action {
    font-size: 18px;
    color: #1EC3CB;
    padding: 10px 15px;
    border: 2px solid #1EC3CB;
    border-radius: 50px;
    width: 212px;
    outline: none;
    background-color: white;
    text-align: center;
    font-weight: 600;
}

.tg--webform-roi-result-action:hover {
    background-color: #1EC3CB;
    color: white;
    font-weight: 100;
}

.tg--webform-roi-result-action:not(:last-child) {
    margin: 0 16px 0 0;
}

.page-resources-calculate-your-roi .select2-dropdown .select2-search {
    display: none;
}


/* Tablet */
@media screen and (max-width: 1331px) {

    .tg--webform-roi-result-panes {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tg--webform-roi-result-pane:not(:last-child), .tg--webform-roi-result-pane {
        margin: 20px;
    }

    .tg--webform-roi-results-company {
        margin: 45px 20px 25px 20px;
    }

    .tg--webform-roi-result-grand-total {
        justify-content: space-between;
        margin: 0 20px 67px 20px;
        padding: 20px 40px;
    }

    .tg--webform-roi-result-grand-total-label {
        margin: 0 40px 0 40px;
    }

    .tg--webform-roi-result-grand-total-value {
        flex-shrink: 0;
        font-size: 25px;
    }

}

@media screen and (max-width: 1201px) {

    .tg--webform-roi form {
        margin: 30px auto 50px auto;
        max-width: 900px;
        column-count: 1;
    }

    .tg--webform-roi .form-actions {
        text-align: center;
    }
}

/* Mobile phone */
@media screen and (max-width: 768px) {

    .tg--webform-roi-result-panes {
        margin: 0 0 30px 0;
    }

    .tg--webform-roi-result-pane {
        padding: 25px 40px;
    }

    .tg--webform-roi-result-value {
        font-size: 20px;
    }

    .tg--webform-roi-result-grand-total {
        padding: 25px 35px;
        margin: 0 20px 30px 20px;
    }

    .tg--webform-roi-result-grand-total img {
        display: none;
    }

    .tg--webform-roi-result-grand-total-label {
        margin: 0;
    }

    .tg--webform-roi-result-actions {
        margin: 0 0 30px 0;
    }
}

.layout-container {
    page-break-before: always !important;
}

/* For printing */
@media print {

    .tg--webform-roi-result-panes {
        display: block;
    }

    .tg--webform-roi-result-pane:not(:last-child), .tg--webform-roi-result-pane {
        margin: 50px 0 0 calc((100% - 618px) / 2);
        page-break-before: always;
    }

    .tg--webform-roi-results-company {
        margin: 45px 20px 25px 20px;
    }

    .tg--webform-roi-result-grand-total {
        justify-content: space-between;
        margin: 0 20px 67px 20px;
    }

    .tg--webform-roi-result-grand-total-label {
        margin: 0 40px 0 40px;
    }

    .tg--webform-roi-result-grand-total-value {
        flex-shrink: 0;
        font-size: 25px;
    }

    .tg--webform-roi-result-grand-total {
        width: 618px;
        color: black;
        margin-left: calc((100% - 618px) / 2);
    }

    .tg--webform-roi-result-actions {
        display: none;
    }

    .tg--webform-roi-result-grand-total img {
        display: none;
    }
}
