@font-face {
    font-family: 'Roboto';
    src: url("Roboto-Regular.ttf")  format('truetype');
}

html * {
    box-sizing: border-box;
}

html, body {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.5;
}

blockquote {
    margin: 5px 0;
    padding: 1px 21px;
    border: none;
    font-style: normal;
    overflow: hidden;
}

figure {
    margin: 0.9em auto;
    max-width: 600px;
}

img {
    width: 100%;
}

a {
    text-decoration: none;
}

table {
    border-collapse: collapse;
    border: 1px solid black;
}
table ul {
    margin: 0;
    padding-left: 20px;
}
table td, table th {
    border: 1px solid black;
    padding: 15px;
}
table tr:first-child th {
    border-top: 0;
}
table tr:last-child td {
    border-bottom: 0;
}
table tr td:first-child,
table tr th:first-child {
    border-left: 0;
}
table tr td:last-child,
table tr th:last-child {
    border-right: 0;
}


.vazhno {
    font-family: sans-serif;
    background-color: rgb(243, 243, 243);
    border: solid 3px rgb(219, 1, 15);
    font-style: normal;
    border-radius: 10px;
    padding: 0 20px;
    color: rgb(9, 1, 96);
    font-weight: 600;
}

.vazhno b, .vazhno strong {
    color: rgb(219, 1, 15);
}

.vazhno2 {
    font-family: sans-serif;
    background-color: #fff679b8;
    border: solid 3px #c8b000;
    font-style: normal;
    border-radius: 10px;
    padding: 0 20px;
    color: rgb(9, 1, 96);
    font-weight: 500;
    line-height: 1.6;
}

.vazhno3 {
    font-family: sans-serif;
    border: solid 3px #008011;
    font-style: normal;
    border-radius: 10px;
    padding: 0 20px;
    background-color: #e2f0dd;
    color: #008011;
    font-weight: 500;
    line-height: 1.6;
}

.vazhno4 {
    font-family: sans-serif;
    border: solid 3px #810f0f;
    font-style: normal;
    border-radius: 10px;
    padding: 0 20px;
    background-color: #fbdfdf;
    color: #810f0f;
    font-weight: 500;
    line-height: 1.6;
}

.imageblock {
    width: 100%;
    display: block;
    margin: 10px auto;
    float: none;
    padding: 10px 10px 0 10px;
    background: #ededed;
}

.imageblock figcaption {
    display: block;
    padding-top: 5px;
    padding-bottom: 10px;
    background: none;
    text-align: center;
}

.imageblock2 {
    width: 100%;
    max-width: 100%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    float: none;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    background: #ededed;
}

.imageblock2 img {
    min-width: 0%;
    width: 50%;
    display: block;
}

.imageblock2 figcaption {
    width: 50%;
    display: block;
    background: none;
    word-break: normal;
    text-align: left;
}

@media (max-width: 600px) {
    .imageblock2 {
        flex-direction: column;
    }
    
    .imageblock2 img {
        min-width: 0%;
        width: 100%;
        display: block;
    }
    
    .imageblock2 figcaption {
        width: 100%;
        display: block;
        text-align: center;
    }
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: auto;
    padding: 0 15px;
}

.green_bg_block {
    font-family: sans-serif;
    font-size: 26px;
    color: #fff;
    background: #0b642b;
    text-align: center;
    border-radius: 10px;
    border: none;
    font-style: normal;
    border-radius: 10px;
    padding: 10px;
    color: rgb(9, 1, 96);
    font-weight: 600;
}

.block_border {
    border: solid 3px;
}

.block_border_radius {
    border-radius: 10px;
}

.block_green {
    background-color: #e2f0dd;
    border-color: #008011;
}

.block_yellow {
    background-color: #fff679b8;
    border-color: #c8b000;
}

.block_red {
    background-color: #fbdfdf;
    border-color: #810f0f;
}

.block_blue {
    background-color: #5968fb;
    border-color: #0f2a81;
    color: #fff;
}

.block_gray {
    background-color: #ececec;
    border-color: #c5c5c5;
}

.block_blue_dark {
    background-color: #0f2a81;
    border-color: #0f2a81;
    color: #fff;
}

.block_green_dark {
    background-color: #008011;
    border-color: #008011;
    color: #fff
}

.block_red_dark {
    background-color: #810f0f;
    border-color: #810f0f;
    color: #fff
}

figure img {
    margin: auto;
    max-width: inherit;
    display: block;
}

.coment_header {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    margin-top: 35px;
}

.coment_header img {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    display: block;
    object-fit: cover;
}

.scrollBtn {
    margin: auto;
    display: block;
    width: fit-content;
    margin-top: 30px;
    margin-bottom: 40px;
    background-color: #eb2626;
    text-align: center;
    color: #fff;
    padding: 5px 15px;
    font-size: 20px;
    border-radius: 10px;
    transition: all 0.2s;
}
.scrollBtn:hover {
    filter: brightness(85%);
    scale: 0.985;
}

.dialog {
    display: flex !important;
    gap: 15px;
    align-items: flex-start;
}

.dialog img {
    height: 75px !important;
    min-height: 75px !important;
    max-height: 75px !important;
    width: 75px !important;
    min-width: 75px !important;
    max-width: 75px !important;
    border-radius: 50%;
    margin: 0;
}

.dialog figcaption {
    background: #ededed !important;
    border-radius: 15px;
    font-size: 18px !important;
    text-align: start;
    padding: 10px;
    min-height: 75px;
    min-width: calc(100% - 90px);
}

.dialog figcaption::before {
    content: '';
    left: -10px;
    top: 30px;
    transform: rotate(45deg) translateX(6px);
    position: absolute;
    background-color: #ededed;
    width: 10px;
    height: 10px;
}

figcaption {
    background-color: #0000000d;
    font-size: 18px !important;
    padding: 10px;
    text-align: center;
}


@media (min-width: 800px) {
    .image-style-side {
        float: right;
        margin-left: 10px;
    }
}