body, * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 18px;
    line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

figure {
    max-width: 700px;
    margin: 0 auto 20px;
    text-align: center;
}

figure img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

figcaption {
    font-style: italic;
    margin-top: 10px;
    font-size: 17px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Raleway', sans-serif;
}

h1 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 20px;
}

h2 {
    font-size: 23px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.red {
    color: #df1921;
}

.center {
    text-align: center;
}

.grey-block {
    background: #eee;
    padding: 20px 20px 5px;
    margin-bottom: 20px;
}

.border {
    border: 2px solid #ccc;
    padding: 15px 18px;
    margin-bottom: 20px;
}

.green-bg {
    background: rgb(251, 245, 193);
    padding: 20px;
    margin-bottom: 20px;
}

.green-bg ol {
    padding-left: 20px;
}

.green-bg li {
    margin: 5px 0;
}

/* header */

.header {
    background: rgba(9, 79, 110, 0.78);
}

.header img {
    display: block;
}

.header-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
}

.header ul {
    display: flex;
    align-items: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}

.header li {
    padding: 15px;
}

.header li.active a {
    color: #333;
    background: #fff;
    padding: 5px 10px;
    margin: 10px 5px;
}

.header li:hover:not(.active) {
    color: #fff;
    text-transform: uppercase;
    background-color: rgba(12, 184, 182, 0.21);
}

/* main */

.breadcrumbs {
    margin: 40px 0;
}

.breadcrumbs,
.breadcrumbs ul {
    display: flex;
    align-items: center;
}

.breadcrumbs img {
    display: block;
}

.breadcrumbs ul {
    margin-left: 20px;
}

.breadcrumbs ul a {
    padding: 0.3em 0.5em;
    background: #333;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
    font-size: 13px;
    color: #fff;
    font-weight: bold;
}

.breadcrumbs .active {
    background: #094F6E;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.main {
    max-width: 1170px;
    margin: 25px auto;
    padding: 0 15px;
}

.main p {
    margin-bottom: 20px;
}

.list {
    margin-bottom: 20px;
}

/* comments */

.red-btn {
    background: #df1921;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 3px;
    padding: 12px 20px;
    display: block;
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    border-radius: 3px;
}

.doc-block {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    background: #eee;
    margin-bottom: 20px;
    column-gap: 20px;
}

.doc-block > img {
    display: block;
    width: 100%;
    margin: 20px;
}

.doc-block > div {
    padding: 20px;
}

.doc-block > div p:last-child {
    margin-bottom: 0;
}

.green-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgb(251, 245, 193);
    border: 2px solid rgb(183, 175, 101);
    margin-bottom: 20px;
}

.green-table-column {
    padding: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.green-table-column img {
    display: block;
    width: 100%;
    max-width: 300px;
    margin-top: 10px;
}

.green-table-column:first-child {
    border-right: 2px solid rgb(183, 175, 101);
    text-align: center;
}

.table {
    max-width: 800px;
    margin: 0 auto 30px;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    margin-bottom: 20px;
    text-align: center;
    text-decoration: underline;
}

.table img {
    display: block;
    width: 100%;
    object-fit: cover;
    margin-top: 5px;
}

/* form */

.lead-form-box {
    box-sizing: border-box;
    background: white;
    border-bottom: 1px solid #dacec6;
    padding: 40px;
    max-width: 650px;
    text-align: center;
    background-image: url(../images/formbg.jpg);
    background-repeat: no-repeat;
    background-position: top 0 right 0;
    background-size: 100% 100%;
    box-shadow: 0 4px 15px 0 rgb(129 150 160 / 15%);
    margin: 0 auto 30px;
}

.lead-form-box p {
    margin-bottom: 10px;
}

.lead-form-box img {
    display: table;
    width: auto;
    margin: 0 auto;
    max-width: 100%;
}

.lead-form-box h2 {
    margin: 20px auto 9px;
    font-size: 30px;
}

.fields-box {
    margin: auto;
    max-width: 320px;
    width: 100%;
}

.fields-box > div {
    margin-bottom: 10px;
}

.blue-border {
    margin: 20px 10px 20px 10px;
    border: 2px solid #09a2be;
    padding: 10px; 
    font-size: 15px;
    font-weight: 500;
}

.form-date {
    color: #09a2be;
    font-weight: bold;
    text-align: center;
    font-size: 17px;
}

#lead-form input, #lead-form select {
    width: 100%;
    height: 55px;
    line-height: 55px;
    margin: 0;
    border-radius: 5px;
    font-size: 18px;
    background: #fff;
    padding: 0 15px;
    border: 2px solid #e9d7dc;
    font-weight: normal;
}

#send-lead {
    width: 100%;
    padding: 17px;
    background: #09a2be;
    text-shadow: 1px 3px 3px rgb(0 0 0 / 10%);
    box-shadow: 0 4px 25px 0 rgb(129 150 160 / 45%);
    border-radius: 5px;
    color: #fff;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    margin: 20px auto;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease-out;
}

#send-lead:hover {
    box-shadow: none;
}

.underline {
    border-bottom: 2px solid #000;
    display: inline-block;
}

#clock {
    font-weight: bold;
    font-size: 40px;
    margin: 0 auto 20px;
    border: 3px solid #df1921;
    box-shadow: 0 0 2px #000;
    padding: 5px 20px;
    max-width: 200px;
}

.blue-link {
    color: rgba(3, 57, 174, 0.91);
    text-decoration: underline;
    font-weight: 500;
}

.blue-link:hover {
    text-decoration: none;
}

b .blue-link {
    font-weight: bold;
}

.comments h2 {
    border-bottom: 3px solid rgba(0, 111, 172, 0.91);
    text-transform: uppercase;
    font-size: 30px;
    margin-bottom: 10px;
    margin-top: 50px;
}

.comments__wrap img {
    display: block;
    width: 100%;
    max-width: 400px;
    margin-top: 14px;
    margin-bottom: 10px;
}

.comments__box {
    border-bottom: 1px solid #ccc;
    padding: 20px 0 25px;
    margin-left: 75px;
    position: relative;
}

.comments__box::before {
    content: "";
    position: absolute;
    left: -75px;
    top: 20px;
    background-image: url(../images/default-avatar.png);
    background-size: 60px 60px;
    background-repeat: no-repeat;
    width: 60px;
    height: 60px;
}

.comments__box p {
    margin-bottom: 0;
}

.comments__name {
    margin-bottom: 5px;
}

/* footer */

.footer {
    background: #333;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-top {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 15px;
    display: flex;
    justify-content: flex-end;
}

@media(max-width: 1000px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    .doc-block {
        grid-template-columns: 1fr;
    }

    .doc-block > img {
        margin: 20px auto 0;
        width: 100%;
        max-width: 350px;
    }

    .red-btn {
        margin: 40px auto;
    }
}

.menu-mobile {
    display: none;
}

@media(max-width: 700px) {
    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 19px;
    }

    .doc-block {
        padding: 20px;
    }

    .doc-block > img {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .doc-block > div {
        padding: 0;
    }

    .green-table,
    .table-row {
        grid-template-columns: 1fr;
    }

    .lead-form-box {
        padding: 30px 20px;
    }

    .lead-form-box h2 {
        margin: 10px auto;
        font-size: 28px;
    }

    .green-table-column:first-child {
        border-right: 0;
        border-bottom: 2px solid rgb(183, 175, 101);
    }

    .green-table p {
        margin-bottom: 0;
    }

    .comments__box::before {
        width: 50px;
        height: 50px;
        background-size: 50px 50px;
        left: -65px;
    }

    .comments__box {
        margin-left: 65px;
    }

    .red-btn {
        font-size: 17px;
        padding: 12px;
    }

    .breadcrumbs {
        margin: 30px 0;
    }

    .header ul,
    .breadcrumbs > a {
        display: none;
    }

    .breadcrumbs ul {
        margin-left: 0;
        flex-wrap: wrap;
    }

    .breadcrumbs ul a {
        margin: 4px;
        display: block;
    }

    .footer-top {
        padding: 15px;
        flex-direction: column-reverse;
        text-align: center;
    }

    .footer-top p {
        margin-top: 10px;
    }

    .footer-bottom p {
        justify-content: center;
    }

    .menu-mobile {
        display: block;
    }

    .header-container {
        padding: 15px;
    }
}