﻿.processpage .processpage_bar {
    margin-top: 12px;
}

.processpage .flow {
    list-style: none;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.processpage .flow_container .flow {
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
}

.processpage .flow_element {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    width: auto;
    display: block;
}

.processpage .flow_element {
    position: relative;
    text-align: center;
    background: #1b526e;
    padding: 0;
    overflow: visible;
    border-right: 1px solid #ffffff;
    float: left;
    width: 16.666666667%;
    box-sizing: border-box;
}

.processpage .flow.size_5 .flow_element {
    width: 20%;
}

.processpage .flow.size_4 .flow_element {
    width: 25%;
}

.processpage .flow.size_3 .flow_element {
    width: 33.333333333%;
}

.generatedcontent .processpage .flow_element:before {
    display: none;
}

.processpage .flow_element.selected {
    background: #27769f;
}

.generatedcontent .processpage .flow_element:last-child:after {
    background-image: none;
}

.generatedcontent .processpage .flow_element.selected:last-child:after {
    background-image: none;
}

.processpage .flow_element a {
    text-decoration: none;
    display: block;
    height: 100%;
    font-size: 14px;
    font-weight: 700;
    height: 38px;
    line-height: normal;
    color: #ffffff;
    padding: 0;
}

.processpage .flow_element.selected a {
    color: #ffffff;
}

.processpage .content_block {
    margin-bottom: 10px;
}

    .processpage .content_block.first {
        background-color: #ffffff;
        overflow: auto;
    }

        .processpage .content_block.first .content {
            width: auto;
            margin: 0;
            padding: 15px 20px;
        }

            .processpage .content_block.first .content h2 {
                font-size: 22px;
                font-weight: 700;
                line-height: 1.38;
                padding-bottom: 14px;
            }

            .processpage .content_block.first .content p.preamble {
                font-size: 16px;
                margin-bottom: 20px;
            }

    .processpage .content_block .content p {
        margin-bottom: 15px !important;
    }

.processpage .main_content .body_extra .block_wrapper {
    background-color: #ffffff;
    margin-bottom: 10px;
}

    .processpage .main_content .body_extra .block_wrapper .puff-block_image,
    .processpage .main_content .body_extra .block_wrapper img {
        display: none;
    }

.processpage .main_content .body_extra,
.processpage .main_content .block_container {
    margin: 0;
}

.processpage .content_block .theme-color-style .content {
    border: none !important;
}

.processpage .content_block.third {
    background: #f3f1ee;
    overflow: auto;
    text-align: center;
    padding: 10px 0;
    margin-top: 15px;
}

    .processpage .content_block.third a.button {
        display: block;
        width: calc(100% - 42px);
    }

        .processpage .content_block.third a.button.hidden {
            display: none;
        }

        .processpage .content_block.third a.button:first-of-type {
            margin-bottom: 15px;
        }

.processpage .content_block.first .content.picture {
    display: none;
}

.processpage .content_block.second {
    background-image: none;
}

.processpage .flow_element {
    height: 38px;
}

    .processpage .flow_element a {
        height: auto;
    }

.generatedcontent .processpage .flow_element {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 600px up */
@media only screen and (min-width: 600px) {
    .processpage .content_block.second .block_container {
        display: flex;
        flex-wrap: wrap;
    }

    .processpage .content_block.second .block_wrapper {
        padding: 0;
        float: left;
        width: calc(50% - 5px);
        margin-left: 5px;
    }

        .processpage .content_block.second .block_wrapper:nth-child(odd) {
            margin-left: 0;
            margin-right: 5px;
        }

        .processpage .content_block.second .block_wrapper:nth-child(even) {
            clear: left;
        }

    .processpage .content_block.third {
        justify-content: space-between;
        padding: 25px 40px;
    }

        .processpage .content_block.third a.button {
            display: inline-block;
            min-width: 130px;
            width: auto;
        }

            .processpage .content_block.third a.button:first-of-type {
                float: left;
                margin-bottom: 0;
            }

            .processpage .content_block.third a.button:last-of-type {
                float: right;
            }
}

/* Tablet portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait), only screen and (min-width: 768px) {
    .processpage .flow_element {
        padding: 0;
        margin: 0;
    }

    .generatedcontent .processpage .flow_element.selected:after {
        display: block;
    }

    .processpage .content_block.first .content h2 {
        font-size: 28px;
    }
}
/* Tablet landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape), only screen and (min-width: 1024px) {
    .main_content.processpage {
        width: 67.815286624%;
    }

    .processpage .content_block.first .content {
        width: 40%;
        margin: 0;
        padding: 40px 0 25px 42px;
        float: left;
    }

        .processpage .content_block.first .content.picture {
            display: block;
            padding: 50px 42px 35px 0;
            float: right;
            width: 40%;
        }
}

/* Big tablet up */
@media only screen and (min-width: 960px) {
    .processpage .content_block.first .content h2 {
        font-size: 28px;
    }
}

/* Desktop up */
@media only screen and (min-width: 1023px) {
    .processpage .content_block.first .content p.preamble {
        font-size: 22px;
    }

    .processpage.main_content {
        width: calc(80% - 100px) !important;
    }

    .processpage .flow_element {
        border-right: none;
        padding-left: 20px;
        height: 42px;
    }

        .processpage .flow_element a {
            font-size: 13px;
            padding: 4px 4px 4px 10px;
            z-index: 2;
        }

            .processpage .flow_element a:focus {
                outline-color: #ffffff;
            }

        .processpage .flow_element:first-of-type {
            padding-left: 0 !important;
            width: calc(16.666666667% - 10px);
        }

        .processpage .flow_element:last-of-type {
            width: calc(16.666666667% + 10px);
        }

    .generatedcontent .processpage .flow_element:after {
        background-color: #1b526e;
        content: '';
        position: absolute;
        margin: 0;
        top: 6px;
        right: -15px;
        width: 28px;
        height: 28px;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        z-index: 1;
    }

    .generatedcontent .processpage .flow_element:last-of-type:after {
        border-color: transparent;
    }

    .generatedcontent .processpage .flow_element.selected:after {
        border-color: #27769f;
        background-color: #27769f;
    }
}

/* Large desktop up */
@media only screen and (min-width: 1280px) {
    .processpage .flow_element a {
        font-size: 14px;
    }
}

/* Xlarge desktop up */
@media only screen and (min-width: 1400px) {
    .processpage.main_content {
        width: calc(65% - 130px) !important;
    }
}
