html,
body {
    color: #444;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, p, pre, blockquote, table, ol, ul, form {
    margin-bottom: 0.5em;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
p:first-child
{
    margin-top: 0;
    padding-top: 0;
}

h3, h4, h5, h6, p, pre, blockquote {
    max-width: 800px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #00498f;
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.motto h1 { color:#f6921e; margin:0; }
.motto h2 { color:#fff; margin:0; }
.motto h3 { color:#fff; margin:0; }
.motto h4 { color:#fff; margin:0; }

.orange { color:#f6921e; }

h1 { font-size: 1.8    5em; }
h2 { font-size: 1.4em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.1em; }

a {
    color: #00498f;
    text-decoration: none;
}

a:hover {
    color: #f6921e;
    text-decoration: none;
}

#header .logo {
    width: 280px;
    line-height: 0.7;
}

.logo a {
    display:block;
    width:100%;
}

.motto {
    display: flex;
    line-height: .6;
    justify-content: space-between;
    align-items: center;
}

.motto .ce_headline {
    position: relative;
}

.motto .ce_headline::before {
    background-image: url(../img/arrow-dots.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    display: block;
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    margin-left: -30px;
    margin-top: -15px;
    height: 30px;
    width: 20px;
}

#wrapper .bordered {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: .5em 1em;
}

#wrapper .line {
    background-image: url("../img/bg_dot.png");
    background-repeat: repeat-x;
    background-position: left top;
    padding-top: 1.25em;
}

#wrapper .top20 {
    margin-top: 20px;
}

#wrapper .top30 {
    margin-top: 30px;
}

#wrapper .top50 {
    margin-top: 50px;
}

#wrapper .top80 {
    margin-top: 80px;
}

.center {
    text-align: center;
}

.columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.columns>* {
    border-right: 4px dotted #fff;
    padding: 0 1rem;
}

#wrapper .columns>:last-child {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.columns>*>* {
    margin: auto;
}

#beforefooter .columns>:nth-child(3)>* {
    width: 170px;
}

#beforefooter .columns>:nth-child(1)>*,
#beforefooter .columns>:nth-child(2)>* {
    width: 120px;
}

.cols3>* {
    width: 33.3%;
}

#beforefooter h2,
#beforefooter h3,
#beforefooter h4 {
    color: #00498f;
    text-transform: uppercase;
}

@media (max-width: 767px), (max-height: 640px) {

    #header .logo {
        width: 200px;
    }
}

@media (max-width: 767px) {
    
    .columns {
        flex-direction: column;
        align-items: center;
    }

    .columns.cols3>* {
        border: none;
        border-bottom: 4px dotted #fff;
        margin-bottom: 1em;
        padding: 0 0 1em 0;
        width: 100%;
    }
    
    #wrapper #beforefooter .columns>* {
        max-width: 170px;
    }
    
    #wrapper #beforefooter .columns>*>* {
        width: 170px;
    }
}