html, body {
    margin: 0;
    padding:0;
    width: 100%;
    font-size: 1rem;
    font-family: Tahoma;
    text-align:center;  
    /*background-color: #256f8c;
    background-color: #a2c943; */
    background-color: #00d53f;
    background-color: #1681ab; 
}

html, body, p {
    font-size: 1rem;
}

#back_mx2, #back_mx, #back {
    z-index: 1;
    margin: 0px;
    background-size: cover;
    background-position: center center;
    background-position-y: center;
    background-position-y: center;
    background-repeat: repeat;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    /*transition-duration: 0.16s;*/
    mix-blend-mode: luminosity;
    opacity: 0.5;
    transform: scale(1) !important;
    /*transition-timing-function: linear;
    transition-duration: 78ms;*/
}
#back_mx2 {
    background-image: url('/backgrounds/bg-matrix.jpg');
    z-index: 0;
    opacity: 0.6;
}
#back_mx {
    background-image: url('/backgrounds/bg-matrix.jpg');
    z-index: 0;
    opacity: 0.4;
    transform: scaleX(2) scaleY(2) !important;
}
#back {
    /*background-image: url('https://imfox.ru/backgrounds/imfox_background.jpg');*/
    background-image: url('/backgrounds/bg-matrix.jpg');
    transform: scaleX(-4) scaleY(4) !important;
    opacity: 0.2;
}

hr {
    height: 0px;
    width: 80%;
    border: 0;
    border-top: solid 5px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

#content {
    position: relative;
    z-index: 1;
    background-color: rgba(243, 243, 243, 0.95);
    margin: 1.2rem auto;
    padding: 0.2rem 0.0rem 0rem 0.0rem;
    max-width: 800px;
    min-width: 280px;
    width: 100%;
    border-radius: 7px;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
    transition-duration: 0.5s;
}

.cont_top {
    display:inline-block;
    vertical-align: top;
    width:100%;
}

a {
    text-decoration: none;
    color: #04719b;
}

html, body, .block50 a {
    color: #333333;
}

a:hover {
    color: #0898cf;
}

p {
    display: block;
    padding: 0.8rem 0.8rem 0.5rem 0.8rem;
    margin: 0;
}

h1, h2, h3, h4 {
    display: block;
    padding: 2.8rem 0rem 1.2rem 0rem;
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    cursor: default;
}


h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.0rem;
}

h3, h4 {
    font-size: 1.5rem;
}

.riz_p {
    padding: 0 0.8rem;
}

.riz_p p {
    display: inline-block;
    background-color: #ce1919;
    color: #fff;
    margin: 0.2rem 0.05rem 0.2rem 0.05rem;
    border-radius: 4px;
    padding: 0.8rem !important;
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0.08) 45%, rgba(0, 0, 0, 0.04) 55%);
    cursor: default;
}

.info_p_list {
    display: flex;
    vertical-align: top;
    width: 165px;
    color: #0c6385;
    padding: 13px 18px 15px 18px;
    margin: 10px 10px;
    border-radius: 11px 2px 11px 2px;
    border: solid 3px #0776a1;
    font-size: 1.1rem;
    cursor: default;
    align-items: center;
    justify-content: center;
    place-content: center;
}

.info_p_list_3 {
    color: #3e7946 !important;
    border: solid 3px #1e9220 !important;
    background-color: rgba(33, 199, 28, 0.1) !important;
}

.info_p_list_2 {
    color: #a97410 !important;
    background-color: rgba(223, 224, 12, 0.1) !important;
    border: solid 3px #daa535 !important;
}

.info_p_list_1 {
    color: #bf6300 !important;
    border: solid 3px #da8735 !important;
    background-color: rgba(224, 117, 12, 0.1) !important;
}

.p_about_float {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    place-content: center;
}

.ava_pic {
    display: inline-block;
    transition-duration: 1s;
}

button, input[type="button"] {
    cursor: pointer;
    transition: 0.4s;
    padding: 1rem 1.8rem 0.9rem 1.8rem;
    margin: 0.5rem;
    margin-top: 1.3rem;
    border-radius: 50px;
    border: solid 4px rgb(255 255 255 / 10%);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-align: center;
    background-color: #1b93c1;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 45%, rgba(0, 0, 0, 0.03) 55%);
}

button:hover, input[type="button"]:hover {
    background-color: #2da9d9;
    transition-duration: 0.5s;
	transform: scale(1.015) !important;
}

button:active, input[type="button"]:active {
    transition-duration: 0.3s;
	transform: scale(0.99) !important;
}

#contacts-reveal > p {
    display: block;
}

.reveal-slot {
    display: inline-block;
}

.btn-reveal {
    position: relative;
    display: inline-block !important;
    border: none !important;
    font-size: 0.90rem;
    padding: 0.55rem 1.05rem 0.55rem 1.05rem !important;
    margin: -0.15rem 0 !important;
    vertical-align: top;
}
.btn-reveal:hover {
    transform: scale(1.0) !important;
}

#requisites-reveal .btn-reveal {
    margin-top: -5px !important;
    margin-bottom: -5px !important;
}

.NavSLeft, .NavSRight {
    display: inline-block;
    height: 35px;
}

.NavSLeft {
    width: 20px;
}

.NavSRight {
    width: 95%;
}

.NavB1, .NavB2, .NavB3 {
    height: 100%;
    font-size: 1rem;
    font-weight: bold;
    font-family: Tahoma;
    color: #fdf8f8;
    border-radius: 50px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
}

.NavB1 {
    margin: 0;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.NavB2 {  
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 45%, rgba(0, 0, 0, 0.03) 55%);
}

.NavB2, .NavB3 {
    margin: 0;
    position:relative;
    margin: -35px 0px 0px 0px;
    line-height: 33px;
    text-shadow: 0 0 2px #9c4848, 0 0 1px #9c4848, 0 0 1px #9c4848, 0 0 1px #9c4848;
}

.MinNavS, #print, #lang {
    display: inline-block;
    width: 31%;
}

.MinNavS, .NormNavS {
    vertical-align: bottom;
    font-weight: bold;
}

.NormNavS {
    color: #844e4e;
}

.NormNavS .NavB1 {
    background-color: rgb(210, 210, 210) !important;
}

.NormNavS .NavB2 {
    background-color: rgb(216, 98, 98) !important;
}

.MinNavS {
    color: #984f4f;
}

.MinNavS .NavB1 {
    background-color: rgb(230, 210, 210) !important;
}

.MinNavS .NavB2 {
    background-color: rgb(228, 122, 122) !important;
}

.page_not_found {
    position: absolute;
    width: 50%;
    color: #9f1818;
    font-weight: bold;
    left: 0;
    top: 0;
    padding: 20px 0 0 22px;
    text-align: left;
}

.iCont {
    font-size: 1.4rem;
}

.i_img {
    display: inline-block;
    vertical-align: top;
    padding: 10px 1%;
    min-width: 150px;
}

.i_img img {
    width: 100%;
    height: auto;
    vertical-align: top;
    border: solid 3px #000;
    border-radius: 15px 0px 15px 0px;
}

.more_bt {
    cursor:pointer;
    padding: 1rem 0;
    margin-top: 1.3rem;
    background-color: #ce1919;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
}

#splr_cont {
    background-color: rgba(255, 241, 151, 0.35);
    padding-bottom: 2.5rem;
    border-bottom: solid 4px #ce1919;
}

.avatar {
    height: 160px;
    width: auto;
    border-radius: 100%;
    border: solid 7px rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.07);
}

.block50 {
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 1.6rem;
}

.b50l {
    float:left;
    width: 57%;
}

.b50r {
    float: right;
    width: 43%;
}

.b50c {
    float: right;
    width: 100%;
}


#print, #lang {
    width: auto;
    display: inline-block;
    height: 24px;
    line-height: 23px;
    margin: 0 18px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
}

#print {
    background-image: url('/img/print.png');
    padding-left: 34px;
    text-align: left;
    float: left;
    background-position: left;
}

#lang {
    padding-right: 47px;
    text-align: right;
    float: right;
    background-position: right;
}

#print:hover, #lang:hover {
    opacity: 0.95;
}


#print, #lang {
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.proj_link {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    place-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    box-sizing: border-box;
    width: 100%;
}

.proj_link p {
    color: #717171 !important;
    padding-top: 0.4rem;
    padding-bottom: 0.2rem;
    width: 100%;
    box-sizing: border-box;
}

.proj_box_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    place-content: center;
    flex-direction: column;
    width: 100%;
}

.proj_box {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    place-content: flex-start;
    flex-direction: row;
    box-sizing: border-box;
    height: auto;
    width: calc(100% - 4rem);
    overflow: hidden;
    border: solid 15px #ffffff;
    vertical-align: top;
    margin-top: -15px;
    background-color: rgb(255 255 255);
    transition-duration: 0.5s;
    z-index: 0;
}
.proj_box:first-child {
    border-radius: 30px 2px 0px 0px;
    margin-top: 1.5em;
}
.proj_box:last-child {
    border-radius: 0px 0px 30px 2px;
    margin-bottom: 1em;
}

.proj_img {
    flex: 0 0 auto;
    width: 15rem;
    height: auto;
    vertical-align: top;
    box-sizing: border-box;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /*border-bottom: solid 1px #e7e7e7;*/
    background-color: #00000014;
}
.proj_img:after {
    display: block;
    content: "";
    padding-top: 55%;
}

.proj_info {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0.5em 0.5em 0.8em 0.5em;
}

.my_picture img {
    max-width: 100%;
    width: 100%;
    vertical-align: top;
    height: auto;
}

footer {
    margin-top: 2.2rem;
}    
    
footer, footer p, footer a {
    background-color: #007eaf;
    color: #fff !important;
    border-radius: 0px 0px 6px 6px;
}

footer p {
    padding: 1.3rem;
    font-size: 1.4rem;
}

table, td, th, tr  {
    font-weight:bold;
}

.p_about { 
    font-size: 1.4rem;
    padding: 0.8rem 2rem 0.5rem 2rem;
    cursor: default;
}
.p_info_block span {
    display: inline-block;
}
.p_info_block .services-price-line {
    line-height: 1.55;
}
.p_info_block .services-price-line--unavailable {
    opacity: 0.75;
}
.p_about_marg {
     margin-top: 1.3rem;
}
.p_info_block {
    background-color: #57c0e96b;
    border-top: solid 3px #1e82a9;
    border-bottom: solid 3px #1e82a9;
    padding-bottom: 1.1rem;
}
.tbl_requisites_note {
    font-size: 0.95rem;
    text-align: center;
    border-top: none !important;
}
.tbl_block,
.data-grid {
    width: 100%;
    border: none;
    border-spacing: 0;
    border-top: solid 3px #1e82a9;
    border-bottom: solid 3px #0776a1;
}

.data-grid-row {
    display: grid;
    grid-template-columns: var(--row-template, 45% 1fr);
    width: 100%;
}

.tbl_price {
    width: 100%;
    border: none;
}

.tbl_price_slot,
.data-grid-cell {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    border-left: solid 1px rgba(0, 0, 0, 0.1);
    border-bottom: solid 1px rgba(0, 0, 0, 0.05);
    padding: 8px 8px;
    box-sizing: border-box;
    min-width: 0;
}

.tbl_top,
.tbl_top .tbl_price_slot,
.tbl_top .data-grid-cell {
    background-color: #ce1919;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 45%, rgba(0, 0, 0, 0.03) 55%);
}

.tbl_notop {
    /*border-top: solid 2px #b92424 !important;*/
}

.tbl_one {
    font-weight:normal;
    border: none;
    border-bottom: solid 1px rgba(0, 0, 0, 0.05);
}

.tbl_top .tbl_price_slot,
.tbl_top .data-grid-cell {
    font-weight:bold; 
    color: #fff;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}

.tbl_prc_val .tbl_price_slot,
.tbl_prc_val .data-grid-cell {
    font-weight:bold;
    background-color: rgba(255, 241, 151, 0.35);
    border-top: solid 1px rgba(255, 255, 255, 0.25);
}

.t_bold {
    font-weight:bold;
}

.tc_green {
    color: #167aa1 !important;
}

.tc_yrlow {
    color: #d07e00 !important;
}

.tc_red {
    color: #ab1d1d !important;
}

.tc_gray {
    color: #a5a5a5 !important
}

/* ----------------------------- anim --------------------------------- */

.scale_anim[fox_scale="0"] {
    transition-duration: 1.5s;
    transform: scale(0.98);
    filter: blur(0px) opacity(0.9);
}

.i_img[fox_scale="0"],
.my_picture[fox_scale="0"] {
    filter: blur(1px) opacity(0.9);
}

.scale_anim[fox_scale="1"] {
    transition-duration: 1.5s;
    transform: scale(1.0);
    filter: blur(0px) opacity(1.0);
}

tr.scale_anim[fox_scale="0"] {
    transform: scale(1.0);
    font-size: 98%;
}

tr.scale_anim[fox_scale="1"] {
    font-size: 100%;
}

.ava_pic:hover,
.i_img:hover,
.proj_box--with_a:hover {
	transform: scale(1.015);
	transition-duration: 0.35s;
    z-index: 1;
    cursor: pointer;
}
.proj_box--with_a:hover {
    filter: brightness(0.98) drop-shadow(0 0 15px #00000030);
}
.ava_pic:active,
.i_img:active,
.proj_box--with_a:active {
	transform: scale(1.005);
	transition-duration: 0.25s;
}
.proj_box--no_a:hover {
    cursor: help;
}

/* ----------------------------- mobile --------------------------------- */


@media (max-width:830px) {
    #back_mx2, #back_mx, #back {
        opacity: 0 !important;
    }
    #content {
        width: 100%;
        max-width: unset;
        margin: 0;
        border-radius: 0;
        transform: scale(1) !important;
    }
}

@media (max-width:750px) {
    
    h1 {
        font-size: 2.0rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3, h4 {
        font-size: 1.0rem;
    }
    h1, h2, h3, h4 {
        padding: 1.5rem 0rem 0.8rem 0rem;
    }

}

@media (max-width:680px) {

    .proj_img {
        width: 12rem;
    }

}

@media (max-width:550px) {
    
    .p_about { 
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem 0.5rem 1.5rem;
    }

    .proj_link {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .proj_img {
        width: 5rem;
        border-radius: 100%;
        margin: 1.3rem 0.18rem 1.3rem 1.3rem;
    }

    .proj_info {
        text-align: left;
        min-height: 4.3rem;
    }

    .proj_img:after {
        padding-top: 100%;
    }
    
}

@media (max-width:500px) {
    
    h1 {
        font-size: 1.9rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3, h4 {
        font-size: 0.9rem;
    }
    
    html, body, p {
        font-size: 0.95rem;
    }
    .riz_p p {
        padding: 0.5rem !important;
    }
    .NavSLeft, .NavSRight {
        height: 25px;
    }
    .NavB2, .NavB3 {
        margin: -25px 0px 0px 0px;
        line-height: 24px;
    }
    h1, h2, h3, h4 {
        padding: 1.0rem 0rem 0.5rem 0rem;
    }
    .iCont {
        font-size: 1.2rem;
    }
    button, input[type="button"] {
        font-size: 1.0rem;
    }

    .proj_img {
        width: 4rem;
        margin: 1rem 0.05rem 1rem 1rem;
    }
    .proj_info {
        min-height: unset;
    }
}

@media (max-width:400px) {
    
    .p_about { 
        font-size: 1.1rem;
        padding: 0.8rem 1.2rem 0.5rem 1.2rem;
    }
    
}

@media (max-width:350px) {

    .proj_img {
        width: 0rem;
        margin: 0;
    }

}

@media (max-width:280px) {
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3, h4 {
        font-size: 0.8rem;
    }
    .iCont {
        font-size: 1.0rem;
    }
}

/* Юридические страницы, каталог услуг, футер */
.legal-doc-wrap {
    max-width: 52rem;
    margin: 0 auto;
    text-align: left;
}
.legal-doc {
    padding: 0.5rem 1.5rem 1rem;
}
.legal-doc-title {
    text-align: center;
    margin-bottom: 0.5rem;
}
.legal-updated {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}
.legal-doc h3 {
    margin-top: 1.25rem;
    font-size: 1.1rem;
}
.legal-list {
    margin: 0.5rem 0 1rem 1.25rem;
    padding: 0;
}
.legal-list li {
    margin-bottom: 0.35rem;
}
.legal-ordered {
    list-style: decimal;
}
.tbl_services .svc-desc,
.tbl_services .svc-meta {
    font-size: 0.85rem;
    opacity: 0.9;
}
.tax-note {
    font-size: 0.95rem;
}
.services-flex.proj_box_flex {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    width: calc(100% - 4rem);
    max-width: 72rem;
    margin: 1.5em auto 2em auto;
    flex-direction: unset;
    flex-wrap: unset;
}
.services-flex .proj_box {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    cursor: default;
    border-radius: 8px;
    border: solid 3px rgba(30, 130, 169, 0);
    transition:
        transform 0.35s ease,
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}
.services-flex .proj_box:first-child,
.services-flex .proj_box:last-child {
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 8px;
}
.services-flex .proj_info p:last-child {
    margin-top: 0.25em;
    opacity: 0.85;
}
.services-flex-item--unavailable {
    opacity: 0.72;
}
.services-flex-item--unavailable .proj_info p:last-child {
    font-style: italic;
}

@media (max-width: 750px) {
    .services-flex.proj_box_flex {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 56rem;
    }
}

@media (max-width: 560px) {
    .services-flex.proj_box_flex {
        grid-template-columns: 1fr;
        width: calc(100% - 2rem);
        gap: 12px;
        margin-top: 1.25em;
        margin-bottom: 1.5em;
    }

    .services-flex .proj_box {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .services-flex .proj_info {
        padding: 0.3rem 0rem;
        text-align: center !important;
    }

    .services-flex .proj_info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .data-grid-row {
        grid-template-columns: 1fr;
    }
    .data-grid-cell.tbl_one {
        font-weight: bold;
        border-bottom: none;
    }
}
.services-tax-note {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}
.footer-legal {
    margin: 2rem auto 1rem;
    padding: 1rem 1.5rem;
    max-width: 52rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-legal-first {
    padding: 0.2rem 0rem 0.6rem 0rem;
    font-size: 1.4rem;
}
.footer-home-link {
    font-size: 0.85rem;
}
.footer-copy {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0 0 0.75rem;
}
.footer-legal-nav {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 0.95rem;
}
.footer-legal-nav a {
    white-space: nowrap;
}
.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1rem;
    margin: 0.1rem 0 0.2rem 0;
}
.payment-logo {
    height: 28px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
    opacity: 0.92;
}
.payment-logo-fallback {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}
.tbl_requisites .data-grid-cell.tbl_one {
    font-weight: bold;
}