﻿@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v32-latin-regular.eot');
    src: url('../fonts/roboto-v32-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v32-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v32-latin-regular.woff') format('woff'), url('../fonts/roboto-v32-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v32-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v32-latin-700.eot');
    src: url('../fonts/roboto-v32-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v32-latin-700.woff2') format('woff2'), url('../fonts/roboto-v32-latin-700.woff') format('woff'), url('../fonts/roboto-v32-latin-700.ttf') format('truetype'), url('../fonts/roboto-v32-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #CBCBCB;
    overflow: hidden;
    background-color: #fff;
}

header {
    position: relative;
    border-bottom: 20px solid #f08b24;
}

article {
    padding: 0.5rem 1.5rem 1rem;
}

footer {
    background: #f08b24;
    padding: 10px 1.125rem;
}

.font {
    font-size: 13px;
    line-height: 17px;
}

footer :is(p, h4, a) {
    color: #FFF !important;
    text-align: center;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 0 auto;
    font-size: 42px;
    line-height: 1.1;
    background: #e74629;
    padding: 9px 1rem;
    text-align: center;
    color: #FFF;
    position: relative;
}

h1 span {
    font-weight: normal;
    display: block;
    font-size: 27px;
    text-align: left;
    margin: 0 0 0 44px;
}

h1 small {
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    bottom: 13px;
    right: 14px;
}

h2 {
    color: #000;
    font-size: 17px;
    margin: 1rem 0 2rem;
    line-height: 21px;
    text-align: center;
}

h3 {
    font-size: 20px;
    margin: 0 0 1rem;
    line-height: 1.25rem;
    width: 155px;
    color: #e32706;
}

h4 {
    font-size: 20px;
    margin: 0 0 12px;
    line-height: 1.25rem;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: 0 0 32px;
    list-style: none;
}

ul li {
    padding-left: 1rem;
}

ul li:before {
    content: "\2022";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 22px;
    text-indent: -1rem;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.title {
    position: absolute;
    bottom: 38px;
    right: 0;
    width: 59%;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.flex ul {
    width: calc(100% - 160px);
}

.link {
    display: flex;
    margin: 5px 0;
    justify-content: center;
}

footer p {
    margin: 0;
}

.link a {
    display: inline-block;
    padding: 10px 1rem;
    background: #e31f26;
    color: #fff !important;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
}

.link a:hover {
    opacity: 0.9;
}

.box {
    background: #FFF;
    padding: 8px 1rem;
    margin: 1rem 12%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 223px);
}

.flexbox :is(p, ul) {
    font-size: 9px;
    line-height: 13px;
    color: #000 !important;
    text-align: left;
}

.flexbox div ul {
    margin: 0;
    width: 130px;
}

.flexbox div a {
    color: #000 !important;
}

.flexbox div ul li {
    background: url(../images/iconlist.jpg) no-repeat 0 3px;
    padding: 0 0 0 9px;
    display: inline-block;
    font-style: italic;
}

.flexbox div ul li:before {
    display: none;
}

.color {
    color: #f08b24
}

@media all and (max-width:799px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(header, article) {
        border: none !important;
    }

    header img {
        width: 100%;
    }

    p span {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }

    .box {
        margin: 1rem;
    }
}

@media all and (max-width:660px) {
    .title {
        position: static;
        transform: none;
        width: 100%;
        border-top: 10px solid #F08B24;
    }

    h1 {
        font-size: 40px;
    }

    .flex {
        display: block;
    }

    .flex :is(h3, ul) {
        width: 100%;
    }

    .box {
        flex-direction: column;
    }

    .flexbox {
        width: calc(100% - 13%);
        margin: 1rem 0;
    }
}

@media all and (max-width:480px) {
    h1 small {
        position: static;
    }

    h1 span {
        display: inline-block;
        margin: 0;
    }

    .flexbox {
        flex-wrap: wrap;
        margin: 1rem 0;
    }

    .flexbox div {
        width: 50%;
    }

    .flexbox div:nth-of-type(3) {
        width: 100% !important
    }

    .flexbox :is(p, ul) {
        text-align: center;
        margin: 0 0 1rem;
    }

    h1 {
        font-size: 32px;
    }

    .flexbox div ul {
        width: 100%;
         !;
        margin: 0 auto;
    }
}