@font-face {
    font-family: 'My_font';
    src: url('/assets/fonts/SFProDisplay-Regular.woff2') format('woff');
    /* SfproDisplay Yandex, Oxygen, Lato, jet_brains, myraid, pt_sans */
    font-weight: normal;
    font-style: normal;
}

@media (min-width: 768px) {
    html{
        /* zoom: 1.2; */
        /* Ломает галлерею */
    }

    #content-wrapper {
        /* Адаптация стилей для маленьких экранов */
        height: 900px;
    }
    .about{
        height: 200px !important;
        /* background: red !important; */
    }
    .doc_image{
        /* костыль */
        padding-top: 50px !important;
    }
    .call-icon-hide{
        display: none;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
    }
}


/**
* Body CSS
*/
:root{
    --max_width: 1024px;
}

html,
body {
    height: 100%;
    max-width: var(--max_width);
    margin: 0 auto;
    font-family: 'My_font', Arial, sans-serif;
    background: lightgray;
}

html,
body,
input,
textarea,
button {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}

.coutry_flag img{
    height:30px;
    opacity: 0.6; 
    /* filter: grayscale(100%);  */
}

.green_law{
    width: 100%;
    background-color: white;
}

.socials{
    /*  */
    display: block;
    color: rgb(201, 201, 201);
    background-color: white;

    padding: 0 38px 27px 38px;
    /* padding: 0 38px 27px 38px; */
}

.socials a{
    color: rgb(201, 201, 201);
}
.socials a:hover{
    text-decoration: none;
    color: rgb(153, 153, 153);
}
.socials a:focus{
    text-decoration: none;
}

.about_text{
    padding: 0 38px 0 38px;
}



.big-cover{
    background-image: url("../img/workers3.png");
    height: 200px;
    background-color: lightgray;
}

.card{
    padding: 0 38px 27px 38px;
    /* width: 200px;
    height: 200px; */
}

.card img{
    width: 270px;
    height: 270px;
    margin-bottom: 7px;
    
    background-color: white;
    border-radius: 27px;
}

.gray_bg{
    background: #eee !important;
}

.gray_text{
    color:rgba(0, 0, 0, 0.2);
}

ul{
    padding-left: 0;
    list-style-type:disc;
    list-style-position: inside;
    /* text-align: left; */
}

/* li::marker {
    margin: 0;
    margin-right: -14px !important;
} */

.mui-table{
    max-width: 640px;
    margin: 0 auto;
}

.mui-table>thead>tr>th{
    text-align: center;
}
td h6{
    color: rgba(0, 0, 0, 0.5);
}

.tfoot-center {
    text-align: center;
    vertical-align: middle;
    height: 100px;
  }

.call-icon {
    position: fixed;
    display: block;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    /* background: #2195f38f;
    color: rgba(255, 255, 255, 0.5); */
    background: #ce0202;
    color: wheat;
    border-radius: 32px;
    cursor: pointer;
    z-index: 90;
  }
.call-icon span{
    display: block;
    /* margin: 7px; */
    padding: 9px 0 0 12px;
}
/* ================================================ */

/**
* Header CSS
*/
header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;

    max-width: var(--max_width); 
    margin: auto; 
}

header ul.mui-list--inline {
    margin-bottom: 0;
}

header a {
    color: white;
}

header table {
    width: 100%;
}

/**
* Content CSS
*/
#content-wrapper {
    box-sizing: border-box;
    min-height: 95%;
    margin-bottom: -80px;
    padding-bottom: 80px;

    background: white;
    /* max-width: var(--max_width); */
    /* margin: auto; */
}


/**
* Footer CSS
*/
footer {
    box-sizing: border-box;
    height: 80px;
    background-color: #eee;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
    /* margin-top: 24px; */
}

.doc_image{
    padding: 10px;
    background-color: white;
    /* margin-top: 16px; */
}
.doc_image img{
    filter: grayscale(100%); 
    max-width: 50px;
    opacity: 0.3;
}

/* ГАЛЛЕРЕЯ */
#gallery {
    max-height: 100px;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    gap: 8px;
    padding-bottom: 8px;
    align-items: flex-end;
}
#gallery a {
    flex: 0 0 auto;
}