@font-face {
    font-family: 'Assistant';
    src: url('../fonts/Assistant.ttf') format("truetype");
    font-weight: normal;
}

html,
body,
ul,
ul li {
    font-family: 'Assistant', sans-serif;
    margin: 0;
    padding: 0;
    color: #002e59;
}

.tac {
    text-align: center;
}

.d-flex {
    display: flex;
}

input {
    font-family: 'Assistant', sans-serif;
}

.header_block {
    text-align: center;
}

.header_block img {
    max-width: 262px;
}

.form_body .title h1 {
    text-align: center;
}

.form_section .container {
    max-width: 1160px;
    width: 100%;
    border: 6px solid #002e59;
    padding: 20px;
    margin: 30px auto;
}

.form_section .control {
    width: 50%;
}

.blockInpIcon {
    display: flex;
    margin-top: 5px;
}

.icon span {
    display: flex;
    width: 54px;
    height: 45px;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #aaa;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: 0;
}

.icon span {
    color: #ced4da;
}

input {
    border-radius: 5px;
    width: 100%;
    padding: 6px 15px;
    outline: none;
    min-height: 32px;
    font-size: 16px;
    margin-top: 0;
}

.blockInpIcon input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid #aaa;
}

#date {
    border-radius: 5px;
    border-radius: 5px;
    width: calc(100% - 62px);
    font-family: 'system-ui';
}

.control {
    margin-bottom: 10px;
    font-size: 18px;
    padding: 15px;
}

.control label {
    font-size: 20px;
}

ul {
    list-style-type: none;
    margin-right: 15px;
    font-size: 20px;
}

ul li {
    margin-bottom: 20px;
}

small {
    display: block;
    font-size: 13px;
    color: #727272;
}

button {
    min-height: 44px;
    min-width: 120px;
    font-size: 18px;
    color: #fff;
    background-color: #002e59;
    border: 0;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

button.disabled {
    pointer-events: none;
    background-color: #9d9d9d;
}

#signature {
    padding: 0 15px;
    font-size: 18px;
}

#signature .bold {
    font-weight: 700;
}

#signature #canv {
    border: 1px solid #aaa;
}

#clear{
    cursor: pointer;
}

.btn_flex {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

#term {
    width: 24px;
    height: 80px;
    float: right;
    margin-top: -20px;
    margin-left: 12px;
    margin-right: 15px;
}

.r-popup {
    position: fixed;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.75);
    width: 100%;
    height: 100vh;
    top: 0;
    z-index: 100;
    display: none;
}

.r-popup.active {
    display: flex;
}

.window-pop {
    background-color: #fff;
    width: 100%;
    height: 100%;
    max-width: 360px;
    max-height: 310px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@media screen and (max-width: 560px) {
    .form_section .container {
        padding: 0;
        margin-bottom: 0;
        width: calc(100% - 12px);
    }

    .form_section .control {
        width: 100%;
    }

    .d-flex {
        flex-wrap: wrap;
    }

    #signature {
        padding: 0;
    }

    #term {
        height: 20px;
        margin-top: 0;
    }

    .form_body .title h1 {
        padding: 0 10px;
    }

    button{
        width: 100%;
        margin-top: -50px;
    }

    ul {
        margin-left: 15px;
    }

    .form_section .container {
        margin: 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 1280px) {
    .form_section .container {
        width: auto;
        margin: 0;
    }

    #form {
        margin-top: -68px;
    }
}