html, body {
    height:100%;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
}

h1 {
    font-size: 48px;
    color: #000;
}

h2,
.h2 {
    font-size: 30px;
    color: #000;
}

h3,
.h3 {
    font-size: 30px;
}

h4,
.h4 {
    font-size: 28px;
}

.w-80 {
    width: 80%;
}

.w-60 {
    width: 60%;
}


.container {
    max-width: 1024px;
}

.bg-light {
    background-color: #F2EDD9 !important;
}

#page-nav {
    background-color: #fff;
}

#page-nav .navbar {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#page-nav .navbar .navbar-collapse,
#page-nav .navbar .navbar-nav {
    width: 100%;
}

#page-nav .navbar a {
    color: #000;
}

#page-nav .navbar .nav-item.active a {
    font-weight: 600;
    text-decoration: underline;
}

#page-nav .navbar a:hover {
    text-decoration: underline;
}

#page-footer {
    background-color: #414D57;
}

#page-footer,
#page-footer a {
    color: #fff;
}

/***********************
# Theme
 */
.html-bg_img_block {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.html-bg_img_block .html-image,
.html-bg_img_block .html-image::before,
.html-bg_img_block .html-image::after {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    position: absolute;
    display: block;
}

.html-bg_img_block::before {
    content: '';
    display: block;
    width: 1px;
    margin-left: -1px;
    height: calc(140px + 1 * ((100vw - 190px) / 290));
}

.html-bg_img_block .html-image::after {
    content: '';
    z-index: 1;
    background: radial-gradient(rgba(0,0,0,0.5) 0, transparent 80%);
    position: absolute;
}

.html-bg_img_block .html-image {
    overflow: hidden;
}

.html-bg_img_block .html-image img {
    max-width: none;
    -o-object-fit: cover;
    font-family: "object-fit:cover";
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.html-bg_img_block .html-text {
    position: relative;
    z-index: 3;
    margin: 0 auto;
    text-align: center;
    width: 90%;
}

.html-bg_img_block .html-text,
.html-bg_img_block .html-text p,
.html-bg_img_block .html-text a {
    font-size: 18px;
    color: #fff;
    line-height: 1.125em;
}

.html-bg_img_block.html-banner::before {
    height: 439px;
    /*height: calc(439px + 1 * ((100vw - 1024px) / 439));
    max-height: 430px;
    min-height: 300px*/
}

.html-bg_img_block.html-banner .html-text h1 {
    color: #fff;
}

@media (max-width: 992px) {
    .html-bg_img_block .html-text,
    .html-bg_img_block .html-text p,
    .html-bg_img_block .html-text a {
        font-size: 16px;
    }

    .html-bg_img_block.html-banner .html-text h1 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .card {
        border:0;
        margin-bottom: 3em !important;
    }

    .w-80 {
        width: 90%;
    }

    .w-60 {
        width: 80%;
    }
}