@charset "utf-8";


@font-face {
  font-display: swap; 
  font-family: 'Istok Web';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/istok-web-v25-latin-regular.eot'); 
  src: url('../fonts/istok-web-v25-latin-regular.eot?#iefix') format('embedded-opentype'), 
       url('../fonts/istok-web-v25-latin-regular.woff2') format('woff2'), 
       url('../fonts/istok-web-v25-latin-regular.woff') format('woff'),
       url('../fonts/istok-web-v25-latin-regular.ttf') format('truetype'), 
       url('../fonts/istok-web-v25-latin-regular.svg#IstokWeb') format('svg'); 
}

@font-face {
  font-display: swap; 
  font-family: 'Istok Web';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/istok-web-v25-latin-700.eot'); 
  src: url('../fonts/istok-web-v25-latin-700.eot?#iefix') format('embedded-opentype'), 
       url('../fonts/istok-web-v25-latin-700.woff2') format('woff2'), 
       url('../fonts/istok-web-v25-latin-700.woff') format('woff'),
       url('../fonts/istok-web-v25-latin-700.ttf') format('truetype'), 
       url('../fonts/istok-web-v25-latin-700.svg#IstokWeb') format('svg'); 
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000000;
    font-family: 'Istok Web', Arial, sans-serif;
    font-size: .937rem;
    line-height: 1.3;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #4d585a;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 1rem;
}

p span {
    white-space: nowrap
}

h1 {
    font-size: 1.937rem;
    line-height: 1.2;
    margin: 0 0 1.25rem;
    background: #4d585a;
    padding: 1.25rem 4.75rem;
    color: #fff;
}

h1 small {
    font-size: 1.375rem;
    font-weight: 400
}

h2 {
    color: #313738;
    margin: 0 0 1.25rem;
    font-size: 1.562rem;
    line-height: 1
}

h2 span {
    font-weight: normal;
    font-size: 1.25rem
}

h3 {
    font-size: .937rem;
    color: #4d585a;
    margin: 1.562rem 0 0
}

ul {
    list-style: none;
    margin: 0 0 1.25rem;
}

ul li {
    padding-left: 1.25rem;
}

ul li:before {
    content: "\003E";
    float: left;
    margin-left: -1.25rem;
    font-size: .937rem;
    line-height: 1.4;
    color: #4d585a;
}

header {
    padding: 1.875rem 3.75rem
}

.box {
    display: block;
    position: relative;
}

.gradient {
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 6.25rem;
    background: linear-gradient(to bottom, transparent 0%, #fff 100%);
}

.text {
    position: absolute;
    z-index: 100;
    top: 21.75rem;
    margin: 0 3.5rem;
    padding: 1.5rem 1.5rem 0;
    background-color: rgba(255, 255, 255, .7);
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem
}

.section {
    padding: 0 4.7rem
}

a.apply {
    background: #4d585a;
    color: #fff;
    display: block;
    text-align: center;
    width: fit-content;
    padding: .5rem 1.5rem;
    margin: 0 0 1.25rem;
    transition: all .3s ease;
}

a.apply:hover {
    background: #C23C33
}

.text_bottom {
    padding: 1.25rem;
    background: #EBECEC;
    margin: 0 3.5rem;
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem
}

.gray {
    background: #4d585a;
    color: #fff;
    padding: .625rem 5rem;
    text-align: right
}

footer strong {
    color: #4d585a;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1,
    .margin {
        margin: 0 0 1rem
    }

    h1 {
        font-size: 1.45rem;
        padding: 1rem 3rem;
    }

    h1 small {
        font-size: 1.125rem;
    }

    header {
        padding: 1rem 2rem
    }

    .box {
        margin: 0;
    }

    .section {
        padding: 0 3rem
    }

    a.apply {
        padding: .5rem 1.5rem;
    }

    .text_bottom {
        padding: 1rem;
        margin: 0 1rem;
    }

    .text_bottom p {
        margin: 0
    }

    .text {
        position: static;
        padding: 0 1rem
    }

    .gray {
        padding: .625rem 1rem;
    }
}

@media only screen and (max-width: 47.5rem) {
    h1 {
        padding: 1rem
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .text {
        margin: 1rem 0
    }

    .section {
        padding: 0 1rem
    }

    .text_bottom {
        margin: 0
    }
}

@media only screen and (max-width: 30rem) {

    h1,
    footer p {
        text-align: center
    }

    .text_bottom {
        border-radius: 0
    }

    .gray {
        text-align: center
    }

    a.apply {
        margin: 0 auto 1rem
    }
}

@media only screen and (max-width: 23.5rem) {
    a.apply {
        width: 100%
    }
}