﻿@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-pro-v21-latin-regular.eot');
    src: local(''), url('../fonts/source-sans-pro-v21-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'), url('../fonts/source-sans-pro-v21-latin-regular.woff') format('woff'), url('../fonts/source-sans-pro-v21-latin-regular.ttf') format('truetype'), url('../fonts/source-sans-pro-v21-latin-regular.svg#SourceSansPro') format('svg');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/source-sans-pro-v21-latin-700.eot');
    src: local(''), url('../fonts/source-sans-pro-v21-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-pro-v21-latin-700.woff2') format('woff2'), url('../fonts/source-sans-pro-v21-latin-700.woff') format('woff'), url('../fonts/source-sans-pro-v21-latin-700.ttf') format('truetype'), url('../fonts/source-sans-pro-v21-latin-700.svg#SourceSansPro') format('svg');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/source-sans-pro-v21-latin-900.eot');
    src: local(''), url('../fonts/source-sans-pro-v21-latin-900.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-pro-v21-latin-900.woff2') format('woff2'), url('../fonts/source-sans-pro-v21-latin-900.woff') format('woff'), url('../fonts/source-sans-pro-v21-latin-900.ttf') format('truetype'), url('../fonts/source-sans-pro-v21-latin-900.svg#SourceSansPro') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

strong {
    font-weight: 700;
}

body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: #14497E;
    font-weight: 400;
}

#wrapper {
    border: solid thin #bfbfbf;
    max-width: 700px;
    margin: 1rem auto;
    background-color: #f5f5f5;
    overflow: hidden;
    position: relative;
}

article {
    padding: 0 2.5rem 0.625rem;
}

article section p {
    text-align: center;
}

footer {
    margin: 0.3125rem 0 0;
    padding: 2.5rem 1.5rem 2rem;
    background: #fff;
}

h1 {
    font-size: 1.75rem;
    margin: 0.5rem 0 1.375rem;
    line-height: 1.9375rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 900;
    letter-spacing: 1px;
}

h2 {
    font-size: 0.9375rem;
    margin: 1rem 0 0.625rem;
    line-height: 1.625rem;
    font-weight: 700;
}

h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    line-height: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
}

p:not(:last-child, .address) {
    margin-bottom: 1rem;
    text-align: center;
}

:is(a:link, a:hover, a:visited, a:active) {
    color: #0566E4;
    text-decoration: none;
    white-space: nowrap;
}

footer span {
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

ul {
    margin: 0 0 0.9375rem;
    list-style: none;
    line-height: 1.5rem;
}

ul li {
    padding-left: 0.75rem;
}

ul li:before {
    content: "-";
    float: left;
    font-size: 1.0625rem;
    text-indent: -0.75rem;
    position: relative;
    top: -0.0625rem;
}

a[href^="tel:"] {
    color: #14497E !important;
}

article section {
    background: #fff;
    margin: 0 -2.5rem;
    padding: 1.25rem;
}

article .list_item {
    width: 48%;
}

figure {
    margin: 0 0 0.25rem;
    padding: 0 0 0 3rem;
    position: relative;
}

.flexbox {
    line-height: 1.0625rem;
    display: flex;
    justify-content: space-between;
}

figure img {
    position: absolute;
    top: 0.125rem;
    left: 0.5rem;
}

.flexbox figure p {
    margin-bottom: 0.2125rem;
}

footer .logo {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.button {
    background: #14497e;
    height: 2.5rem;
    line-height: 2.5rem;
    width: 140px;
    text-align: center;
    display: block;
    font-size: 0.8125rem;
    border-radius: 4px;
    color: #fff !important;
    margin: 1.875rem auto;
}

footer a.button:hover {
    background: #ffffff;
    text-decoration: underline;
    color: #14497E !important;
    border: 1px solid #14497E;
}

footer>p:nth-of-type(1) {
    letter-spacing: 1px;
}

p.color {
    color: #979797;
}

:is(.box, .logo) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.font {
    font-size: 18px;
}

@media screen and (max-width:700px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media screen and (max-width:698px) {
    h1 {
        font-size: 1.5rem;
    }

    h3 {
        margin-bottom: 1rem;
    }
    
    article {
        padding: 0 1rem 0.625rem;
    }

    article section {
        padding: 1rem 2.5rem;
    }
    
    article section br {
        display: none;
    }
}

@media screen and (max-width:490px) {
    :is(.box, .logo) {
        justify-content: center;
    }

    article .list_item {
        width: 100% !important;
    }

    .flexbox {
        display: block;
    }
}