:root {
    --toteblue: #003f7b;
}

body {
    font-family: 'RobotoSlab-Light';
    color: #6d6f72;
    text-align: center;
}


.divider {
    border-top: solid 2px #e0e1e3;
    width: 60%;
    margin: auto;
}

.horizontal-blue-border {
    height: 2px;
    background: var(--toteblue);
    width: 120px;
    margin: 0 auto 1em;
}

.dot {
    height: 5px;
    width: 5px;
    background-color: var(--toteblue);
    border-radius: 50%;
    display: inline-block;
}

.mobile-hidden {
    display: none !important;
}

ul {
    padding-left: 0;
    list-style: none;
}

/*HEADER*/

header.header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 8px;
    border-bottom: 1px solid var(--toteblue);
}

.logo-container {
    text-align: start;
}

.logo-container img {
    height: 40px;
    max-width: 100%;
}

.menu-items-container {
    text-align: right;
    align-self: center;
}

.menu-toggle {
    color: var(--toteblue);
    font-size: 28px;
    margin: 0 8px;
}

ul.main-menu {
    margin-bottom: 0;
    text-align: right;
}

ul.main-menu-mobile {
    height: 0px;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
}

ul.main-menu-mobile.close {
    margin-top: 0;
    height: 0px;
}

ul.main-menu-mobile.open {
    height: 120px;
    transition-duration: 0.5s;
    transition-timing-function: ease-in;
    margin-top: 18px;
}

ul.main-menu li {
    padding: 4px;
}

ul.main-menu li a {
    text-decoration: none;
    color: var(--toteblue);
    font-family: OpenSans-Bold;
}

ul.main-menu-desktop li {
    display: inline-block;
}

ul.main-menu-mobile li {
    display: block;
    margin-bottom: 4px;
}

ul.main-menu a {
    display: inline-block;
}

.bold {
    font-weight: bold;
}


.border-btn, .filled-btn {
    text-decoration: none;
    display: inline-block;
    border-width: 3px;
    border-radius: 20px;
    border-color: var(--toteblue);
    border-style: solid;
    padding: 5px 0;
    width: 95px;
    font-family: 'OpenSans-Bold';
    font-size: small;
    transition: all 200ms linear;
}

.border-btn, .filled-btn:hover {
    color: var(--toteblue);
    background: white;
}

.filled-btn, .border-btn:hover {
    background-color: var(--toteblue);
    color: white;
}

main > .container > .row {
    margin: 4em 0;
}


.instruction-col {
    display: grid;
    justify-content: center;
}

.instruction-col h2 {
    color: #464749;
    font-family: 'RobotoSlab-ExtraBold';
    margin-bottom: 2em;
    align-self: center;
}

.instruction-col h2 span {
    color: var(--toteblue);
}

.instruction-col img {
    max-width: 100%;
    align-self: end;
}

.arrow {
    display: table;
    align-self: center;
    margin-top: 6em;
}

.arrow-inner {
    padding: 100px 0;
    height: 0;
}

.content-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.create-wrapper img {
    width: 100%;
    max-width: 400px;
}

.create-wrapper h1, .spend-title h1 {
    color: var(--toteblue);
    font-family: 'OpenSans-Bold';
    font-size: 4em;
    line-height: 1em;
}

.create-wrapper h1 {
    margin-top: 15%;
    margin-bottom: 0;
}

.create-wrapper h2, .spend-title h2 {
    color: #aeb0b3;
    font-family: 'OpenSans-Semibold';
}

.create-wrapper h5, .spend-title h5 {
    color: #464749;
    font-family: 'OpenSans';
}

.create-wrapper h5 {
    margin-top: 5%;
}

.create-wrapper .filled-btn {
    min-width: 80%;
    margin-bottom: 15%;
}

.create-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.buy-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.buy-inner img {
    width: 150px;
    max-width: 100%;
    margin-top: 1em;
}

.buy-inner h4 {
    color: #002b49;
    font-family: 'OpenSans-Extrabold';
    margin-left: -20px;
}

.spend-title {
    border-top: solid 2px var(--toteblue);
    border-right: solid 2px var(--toteblue);
    padding: 1em;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.spend-title .line {
    height: 2em;
    width: 2px;
    background: var(--toteblue);
    position: absolute;
    left: 0;
    top: -2px;
}

.spend-title .dot {
    position: absolute;
    left: -1.3px;
    top: calc(2em - 3px);
}

.spend-title > div:not(.line) {
    position: absolute;
    right: -1px;
    top: calc(100% - 1px);
}

.spend-title h2 {
    padding-left: 5px;
    border-top: solid 2px var(--toteblue);
}

.spend-title > div .dot {
    top: -2px;
}

.spend-inner {
    margin-top: -2em;
}

.spend-inner img {
    height: 100px;
    margin: 1em 0;
}

.office__telephones span {
    font-weight: bold;
    color: var(--toteblue);
}

.office__telephones a {
    text-decoration: none;
    color: #6d6f72;
}

.office__telephones a:hover {
    font-weight: bold;
}

footer {
    font-family: 'OpenSans';
}

.footer-legal {
    align-self: center;
    color: var(--toteblue);
}

.footer-legal a {
    color: var(--toteblue);
    text-decoration: none;
}

@media only screen and (max-width: 769px) {
    .arrow {
        margin-top: 0;
    }

    .arrow img {
        display: block;
        width: 150px;
        margin: auto;
        transform-origin: top center;
        transform: rotate(90deg) translate(0, 0);
    }

    .buy-inner h4 {
        margin: 1em 0
    }

    .spend-inner {
        margin-top: 3em;
    }

    .create-wrapper .filled-btn {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 576px) {
    .spend-title {
        flex-direction: column;
    }
}
