/* wrapper */
.container,
.site--wrap { max-width: 120rem; }

.site--wrap {
    box-shadow: -2px 0 1rem rgba(0,0,0,.3);
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}

.site--content { background-color: #fff; }

.site--header ~ .site--content { padding-top: 3.5rem; }


/* footer */
.footer--section {
    background-color: #c7342b;
    color: #fff;
}

.footer--section-newsletter { padding: 1.5rem 0; }

@media (min-width: 1200px) {
    .footer--section-newsletter { padding: 3rem 0; }
}

.footer--section-newsletter .form--text.has-error,
.footer--section-newsletter .form--text.has-error ~ .form--label,
.footer--section-newsletter .form--tip-error { color: #ffb969; }

.footer--section-navigation {
    background-color: #98231f;
    padding: 3rem 0;
}

@media (min-width: 1200px) {
    .footer--section-navigation { padding: 4.5rem 0 6rem; }
}

.footer--section-copyright {
    background-color: #781a18;
    padding: 1.75rem 0 .75rem;
}

@media (min-width: 768px) {
    .footer--section-copyright { padding-top: .75rem; }
}

.footer--section-copyright  nav > a {
    display: inline-block;
    padding: 0;
}

.footer--section-copyright  nav > a + a { margin-left: 1em; }

.footer--love {
    font-size: 11px;
    position: absolute;
        right: 0;
        top: -6.5rem;
}

@media (min-width: 768px) {
    .footer--love {
        top: -2.7em;
        right: -1rem;
    }
}

@media (min-width: 992px) {
    .footer--love {
        font-size: 1rem;
        top: -2.75em;
        right: 1rem;
    }
}

.footer--love .love--flap {
    background: url(/images/main/love--bg.svg) no-repeat 0 bottom;
    background-size: 100% 100%;
    display: block;
    height: 6.25em;
    padding-top: 2em;
    overflow: hidden;
    width: 19.063em;
}

.footer--love .love--flap > p {
    font-size: .875em;
    font-weight: 400;
    text-align: center;
}

.footer--love .love--flap > p > .icn-heart { margin: .125em .25em 0; }

.footer--love .love--hearts {
    position: absolute;
        bottom: 5rem;
        right: 2rem;
}

@media (min-width: 1200px) {
    .footer--love .love--hearts {
        right: -3rem;
    }
}




/* sections container */
.container {
    margin: 0 auto;
    position: relative;
}

.container:not(.marginal) {
    padding-left: 1rem;
    padding-right: 1rem;
}

.container-narrow { max-width: 65rem; }


@media (min-width: 768px) {
    .container:not(.marginal) {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1200px) {
    .container:not(.marginal) {
        padding-left: 4.1666%;
        padding-right: 4.1666%;
    }

    .container-narrow {
        padding-left: 0%!important;
        padding-right: 0%!important;
    }
}

@media (min-width: 1620px) {
    .container:not(.marginal) {
        padding-left: 8.3333%;
        padding-right: 8.3333%;
    }
}


.section,
.section-tertiary  { background-color: #fff; }
.section-secondary { background-color: #f2f2f2; }
.section-primary   { background-color: #e6e6e6; }

.section {
    padding-top: 3rem;
    padding-bottom: 4.5rem;
}

.has-edge { position: relative; }

.section.has-edge > .container {
    position: relative;
    z-index: 1;
}

.section.has-edge { padding-bottom: 8rem; }

header.section.has-edge { padding-bottom: 6rem; }

@media (min-width: 1200px) {
    .section {
        padding-top: 4.5rem;
        padding-bottom: 6rem;
    }

    .section.has-edge { padding-bottom: 12rem; }

    header.section.has-edge { padding-bottom: 8rem; }
}

.section--edge {
    display: block;
    overflow: hidden;
    padding-top: 5.5%;
    position: absolute;
        right: 0;
        bottom: -1px;
        left: 0;
    width: 100%;
}

.section--edge--inner {
    display: block;
    height: 100%;
    overflow: hidden;
    position: absolute;
        top: 0;
        right: 0;
        left: 0;
    transform: rotate(-3.1deg);
    transform-origin: 100% 0 0;
    z-index: 0;
}

.section--edge-p-to-s .section--edge--inner,
.section--edge-n-to-s .section--edge--inner { background: #f2f2f2; }

.section--edge-s-to-p .section--edge--inner,
.section--edge-n-to-p .section--edge--inner { background: #e6e6e6; }

.section--edge-p-to-n .section--edge--inner,
.section--edge-s-to-n .section--edge--inner { background: #fff; }

.section--edge--inner::after {
    background: rgba(0,0,0,.05);
    content: '';
    display: block;
    height: 50%;
    position: absolute;
        top: 0;
        right: 0;
        left: 0;
    transform: rotate(1.58deg);
    transform-origin: 100% 0 0;
    z-index: -1;
}

.section--edge-p-to-s .section--edge--inner::after { background: rgba(0,0,0,.1); }

.section--edge-p-to-n .section--edge--inner::after {
    background: rgba(0,0,0,.05);
    box-shadow: 0 -2rem 3rem -2rem rgba(0,0,0,0.1) inset;
}

.section--edge-s-to-n .section--edge--inner::after {
    background: rgba(0,0,0,.1);
    box-shadow: 0 -2rem 3rem -2rem rgba(0,0,0,0.2) inset;
}


.section--edge.standalone {
    position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
}

.section--edge-p-to-s.standalone,
.section--edge-p-to-n.standalone { background-color: #e6e6e6; }

.section--edge-s-to-p.standalone,
.section--edge-s-to-n.standalone { background-color: #f2f2f2; }

.section--edge-n-to-p.standalone,
.section--edge-n-to-s.standalone { background-color: #fff; }



.section--description {
    margin-left: auto;
    margin-right: auto;
    max-width: 44rem;
}


.section--icon {
    display: block;
    max-width: 6rem;
    margin: 0 auto 1rem;
}




/* starburst badge */
.has-starburst { position: relative; }

.starburst {
    color: #c7342b;
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    height: 3em;
    position: relative;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    width: 3em;
}

.starburst--content {
    color: #fff;
    display: block;
    font-size: 2em;
    line-height: 1.5em;
    position: relative;
    z-index: 2;
}

.svg-starburst {
    display: inline-block;
    fill: currentcolor;
    height: 100%;
    line-height: 1px;
    overflow: hidden;
    position: absolute;
        top: 0;
        left: 0;
    vertical-align: top;
    width: 100%;
    z-index: 1;
}

.starburst-bright { color: #fff; }
.starburst-bright > span { color: #44b5e5; }

.starburst-l { font-size: 2rem; }


.has-starburst .starburst {
    position: absolute;
        top: 0;
        left: 50%;
    transform: translate3d(-50%, -50%, 0);
    z-index: 100;
}




/* trust */
@media (min-width: 768px) {
    .trust--box > .box--body { padding: 6rem 3rem; }
}




/* directlogin */
.gfx-cloud {
    background: url(/images/main/cloud.png) no-repeat 0 0;
    background-size: 100% auto;
    display: inline-block;
    height: 152px;
    position: relative;
    width: 212px;
}

.gfx-cloud.loader-gears::after {
    background: url(/images/main/loader-gears@2x.gif) no-repeat 0 0;
    background-size: 100% auto;
    content: '';
    display: block;
    position: absolute;
        top: 55%;
        left: 53%;
    transform: translate(-50%, -50%);
    height: 80px;
    width: 80px;
}




/* 404 */
.notfound--image {
    max-width: 40rem;
    margin: 1.5rem auto -4rem;
}



/* contact */
@media (min-width: 768px) {
    .contact-page--content {
        display: flex;
        flex-direction: column;
    }

    .contact-page--boxes {
        margin: 6rem 0 0;
        order: 3;
    }
}




/* list in table style */
.list-table--item { display: table-row; }

.list-table--label,
.list-table--content { display: table-cell; }

.list-table--label { padding-right: 1em; }




/* button */
.btn-flap {
    background-color: #d4d4d4;
    color: #06c442;
    display: block;
    padding: .75em;
    position: relative;
    text-align: center;
}

.btn-flap:hover { text-decoration: none; }

.btn-flap::after {
    background: #e0e0e0;
    content: '';
    height: 100%;
    position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
    transform: skewY(-1deg);
    transform-origin: 100% 100% 0;
    width: 100%;
    z-index: 0;
}

.btn-flap-primary {
    background-color: #3ca05d;
    color: #fff;
}

.btn-flap-primary::after { background: #47b36b; }

.btn-flap--wrap {
    position: relative;
    z-index: 2;
}




/* overview */
.section-overview--header {
    padding-top: 4.5rem;
    padding-bottom: 19rem;
}

.section-overview--header--cards {
    margin-top: -19rem;
    padding-bottom: 6rem;
    position: relative;
    z-index: 10;
}

.box-feature {
    display: block;
    margin-bottom: 4rem;
    position: relative;
}

.box-feature.has-offset-icon { margin-top: 7rem; }

.box-feature-secondary.has-offset-icon { margin-top: 5rem; }

a.box-feature,
a.box-feature:hover { text-decoration: none; }


.box-feature--icon {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: -20% auto -1rem;
    position: relative;
    width: 40%;
    z-index: 1;
}

.box-feature-secondary .box-feature--icon {
    margin: -15% auto 0;
    width: 30%;
}

.box-feature--icon img {
    filter: drop-shadow(0 .5rem 1rem rgba(0,0,0,0.2));
    width: 100%;
}

.box-feature--body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.box-feature--btn {
    display: block;
    position: absolute!important;
        top: 100%;
        right: 1.5rem;
        left: 1.5rem;
    text-align: center;
}


.feature--card {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.feature--btn-container { margin-top: auto; }

.feature--icon {
    fill: transparent;
    font-size: 5rem;
    stroke: #44b5e5;
    margin: 0 auto 1.5rem;
}




/* modal */
body.fixed { overflow: hidden; }

.modal--bg {
    background: rgba(30,30,30,.9);
    display: block;
    height: 100%;
    position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
    width: 100%;
    z-index: 1002;
}

.modal {
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
    min-height: 6rem;
    opacity: 0;
    overflow: hidden;
    position: fixed;
        top: 0;
        left: 0;
    visibility: hidden;
    width: 100%;
    will-change: transform;
    z-index: -1;
}

.modal--body { overflow: auto; }

.modal.show {
    opacity: 1;
    visibility: visible;
    z-index: 1003;
}

@media (min-width: 768px) {
    .modal {
        box-shadow: 0 0 2rem rgba(0,0,0,.5);
        height: auto;
        max-height: 90%;
        max-width: 65rem;
            top: 10%;
            left: 50%;
        transform: translate(-50%, 0);
        transition: opacity .3s, top .3s;
        width: calc(100% - 2rem);
    }

    .modal.show {
        top: 5%;
        transition: opacity .3s, top .3s;
    }
}

.modal > .modal--close {
    color: #666;
    cursor: pointer;
    display: block;
    font-size: .875rem;
    font-weight: 300;
    overflow: hidden;
    transition: transform .3s ease 0s;
    position: absolute;
        right: 1rem;
        top: 1rem;
    text-align: center;
    text-decoration: none;
}

.modal > .modal--close:hover { transform: scale(1.3); }



/* faq */
.modal-faq { background-color: #f2f2f2; }

.modal-faq--container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .modal-faq {
        height: calc(100% - 2rem);
            top: 2rem;
        transform: translateX(-50%);
    }

    .modal-faq.show { top: 1rem; }
}


.faq-example-box {
    box-shadow: none;
    background: rgba(0,0,0,0.1);
    position: relative;
    font-size: .875em;
    line-height: 1.714;
}

.faq-example-box > .box--body { padding: 1rem; }

.faq-example-box .box--label {
    background: #fff;
    font-size: .875em;
    line-height: 1.714;
    padding: 0 0 0 .5em;
    position: absolute;
        right: 0;
        bottom: 0;
}

.faq-example-table tbody tr:not(:last-child) { border-bottom: 2px solid #e6e6e6; }

.faq-example-table tbody tr { background: #fff; }



/* accordion */
.accordion--item {
    background: #fff;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e6e6e6
}

.accordion--item:first-child { border-top: none; }

.accordion--item.open { background: #e6e6e6; }

.accordion--item-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.accordion--item-header > .accordion--toggle-icon {
    flex-shrink: 0;
    transition: transform .3s;
    transform: rotate(-45deg);
}

.accordion--item.open > .accordion--item-header > .accordion--toggle-icon { transform: rotate(0deg); }

.accordion--item-title {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    padding-right: 1.5rem;
}

.accordion--item-collapsible {
    flex-basis: 0px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s;
}

.accordion--item.open > .accordion--item-collapsible {
    flex-basis: auto;
    max-height: 2000px;
}

.accordion--item-body {
    background: #fff;
    margin: 0 .25rem .25rem;
    padding: 1.25rem;
}
