@charset "utf-8";

@font-face {
    font-family: "Museo-500";
    src: url("../fonts/museo-500.woff") format("woff");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Museo-700";
    src: url("../fonts/museo-700.woff") format("woff");
    font-style: normal;
    font-weight: normal;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0 16px;
    color: #5d5d5d;
    font: 14px/1.5 "Museo-500", Tahoma, Arial, sans-serif;
    background: #ffbf20 url("../images/bg-main.jpg") repeat;
}

a {
    color: #1f609c;
}

a:hover {
    color: #2666ff;
}

.site-header {
    height: 604px;
    margin: 0 -16px -264px;
    background: url("../images/bg-header.jpg") repeat-x center top;
    text-align: center;
}

.site-logo {
    display: inline-block;
    width: min(430px, 90vw);
    height: auto;
}

.site-content {
    width: min(800px, 100%);
    min-height: 205px;
    margin: 0 auto;
    padding: 0 15px 24px;
    border: 3px solid #fff;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.site-content h1 {
    height: 74px;
    margin: 12px 0 20px -33px;
    overflow: hidden;
    background: url("../images/h1-before.png") no-repeat left top;
    color: #fff;
    font: normal 38px/1 "Museo-700", Tahoma, Arial, sans-serif;
}

.site-content h1 span {
    display: inline-block;
    height: 74px;
    margin-left: 15px;
    padding: 23px 20px 0 15px;
    background: url("../images/h1-bg.png") no-repeat right top;
}

.site-content p {
    margin: 12px 0;
}

.site-content a {
    overflow-wrap: anywhere;
}

.site-content .closing-message {
    font-size: 16px;
}

.site-content .leiton-action {
    margin: 20px 0;
}

.leiton-link {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 4px;
    color: #fff;
    background: #1f609c;
    font-family: "Museo-700", Tahoma, Arial, sans-serif;
    text-decoration: none;
}

.leiton-link:hover {
    color: #fff;
    background: #194c8b;
}

.site-content .contact-note {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
}

.site-content h2 {
    margin: 24px 0 8px;
    color: #2c7fb5;
    font: normal 22px/1.3 "Museo-700", Tahoma, Arial, sans-serif;
}

.site-content h3 {
    margin: 18px 0 6px;
    color: #5d5d5d;
    font: normal 17px/1.35 "Museo-700", Tahoma, Arial, sans-serif;
}

.site-content ul {
    padding-left: 24px;
}

.site-footer {
    padding: 10px 0 32px;
    color: #1f609c;
    font-size: 11px;
    text-align: center;
}

.site-footer nav {
    margin-bottom: 4px;
}

.site-footer a {
    margin: 0 5px;
    text-decoration: none;
}

@media (max-width: 520px) {
    .site-header {
        margin-bottom: -324px;
    }

    .site-logo {
        width: min(360px, 95vw);
    }

    .site-content {
        padding-right: 14px;
        padding-left: 14px;
    }

    .site-content h1 {
        max-width: calc(100% + 15px);
        margin-left: -17px;
        background: none;
        height: auto;
        min-height: 74px;
        overflow: visible;
        font-size: 28px;
        line-height: 1.15;
    }

    .site-content h1 span {
        display: block;
        width: 100%;
        max-width: none;
        min-width: 0;
        height: auto;
        min-height: 74px;
        margin-left: 0;
        padding: 18px 12px 18px 15px;
        border-radius: 0 5px 5px 0;
        background: url("../images/h1-bg.png") right top / auto 74px no-repeat, linear-gradient(180deg, #4b9bd1, #194c8b);
        overflow-wrap: anywhere;
    }
}

@media (max-width: 360px) {
    .site-content h1 {
        font-size: 28px;
    }
}
