@font-face {
  font-family: "Rubic";
  src:
    url("/static/fonts/Rubic.ttf") format("ttf"),
    url("/static/fonts/Rubic.woff") format("woff"),
    url("/static/fonts/Rubic.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  src:
    url("/static/fonts/Montserrat.ttf") format("ttf"),
    url("/static/fonts/Montserrat.woff") format("woff"),
    url("/static/fonts/Montserrat.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat-Bold";
  font-weight: 700;
  src:
    url("/static/fonts/Montserrat-Bold.ttf") format("ttf"),
    url("/static/fonts/Montserrat-Bold.woff") format("woff"),
    url("/static/fonts/Montserrat-Bold.woff2") format("woff2");
}

div{
    /* border: 0px solid #fff; */
}

*,
:after,
:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* WebKit (Chrome, Safari) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #2a2e35;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb {
  background-color: #4c5055;
  border-radius: 20px;
  border: 3px solid #2a2e35;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #718096;
}

/* Скрыть стрелки для WebKit */
::-webkit-scrollbar-button {
  display: none;
}


/* Firefox */
* {
  scrollbar-width: thin; /* thin, auto, none */
  scrollbar-color: #4c5055 #2a2e35; /* thumb track */
}

/* Internet Explorer/Edge */
/* Эти свойства нестандартизованы и могут не работать во всех версиях */
/* Попробуйте, но учтите ограниченную поддержку */
* {
  -ms-overflow-style: none;  /* Скрывает стандартную полосу прокрутки IE/Edge */
  scrollbar-face-color: #4c5055;
  scrollbar-track-color: #2a2e35;
  scrollbar-arrow-color: #2a2e35; /*Цвет стрелок*/
  scrollbar-3dlight-color: #2a2e35;
  scrollbar-highlight-color: #2a2e35;
  scrollbar-shadow-color: #2a2e35;
  scrollbar-darkshadow-color: #2a2e35;
}
/* Скрываем стрелки для IE/Edge (если это вообще сработает)*/
*::-ms-scrollbox {
    overflow: -ms-autohiding; /*Это может помочь скрыть стрелки, но не гарантированно*/
}

img{
    max-width: 100%;
}

a{
    text-decoration:none;
    color:#ad1d32;
}

a:hover{
    text-decoration:underline;
}


body {
    overflow-x: hidden;
    min-height: 100%;
    min-width: 320px;
    font-family: "Rubik", Arial, sans-serif;
    font-size: 16px;
    background-color: #070A13;
    background-image: url('/static/img/bg-inner.jpg');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    color:#fff;
    margin: 0;
}
body.home {
    background-image: url('/static/img/bg-main.jpg');
    background-size: auto;
}

.error{
    color:red;
}

.auth_container{
    width: 400px;
}

.btn-verif {
    background-color:transparent;
    border: 3px solid #fff;
    border-radius:15px;
    padding:10px 60px 10px 60px;
    color:transparent;
    -webkit-background-clip: text;
    font-size: 1.6rem;
    font-family: Montserrat-Bold;
    background-image:linear-gradient(270deg, #E31B4B 73.58%, #890021 100%); 
}

.box_verif, .box_verif_crypto {
    position:fixed;
    left:0;
    right:0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index:100;
}

.box_verif:before, .box_verif_crypto:before{
    content:'';
    display:block;
    background-color:#00000047;
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    z-index:-1;
}

.verif_form, .verif_form_crypto{
    width:500px;
    padding-top: 10px!important;
}

.verif_form .title-red, .verif_form_crypto .title-red{
    font-size:20px;
}

#file_verif {
    text-align:center;
    margin-top:30px;
}

.form_verif_file{
    max-width:100%;
    background-color: #e31b4b;
    color:#fff;
    text-transform:uppercase;
    padding:12px;
    border-radius:8px;
    text-align:center;
    font-size:0.75rem;
    cursor:pointer;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.input_file_load{
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    cursor:pointer;
}


.header-container,#main{
    max-width:1100px;
    margin-left:auto;
    margin-right:auto;
}


.header {
    display:grid;
    grid-template-columns: max-content 1fr;
    padding-top: 1rem;
    align-items:center;
}

.red_text {
    font: 600 1.4rem/normal Montserrat, sans-serif;
    text-transform: uppercase;
    color:#ad1d32;
}

.transfer_box {
    display:grid;
    grid-template-columns: repeat(3,max-content);
    gap:20px;
}

.inp{
    background-color:#2a2e35;
    border: 1px solid transparent;
    width: 100%;
    padding: 10px;
    height: 60px;
    border-radius:15px;
    transition: border-color 0.3s ease;
    color:#9c9c9c;
    font-family: Montserrat-Bold, Arial, sans-serif;
    font-weight: 700;
    cursor: pointer;
}

.inp:hover{
  border: 1px solid #AD1D32;
}

.form_box {
    display:flex;
    align-items: baseline;
    gap:20px;
    margin-top: 6rem;
    flex-direction: row;
}

.form_box .col-flex{
    flex: 1;
}

.ul_red_style_list li{
    list-style:none;
    margin-top:15px;
    position:relative;
}
.ul_red_style_list li:before {
    position: absolute;
    left:-20px;
    font-size:24px;
    content: "•"; /* Используем символ • как маркер */
    color: red; /* Задаем красный цвет */
    margin-right: 10px; /* Добавляем отступ между маркером и текстом */
}

.sitemap_pair {
    display:flex;
    margin-top:20px;
    flex-wrap: wrap;
}
.sitemap_pair > div{
    padding:10px;
    flex: 1 1 320px;
}
.sitemap_pair a{
    color:#fff;
    font-size:14px;
}

.a_sitemap {
    position:relative;
}

.a_sitemap:before{
    content:'';
    background-image: url('/static/img/arrow-right.svg');
    height:20px;
    position:absolute;
    top:-3px;
    left:-25px;
    right:0;
    background-repeat:no-repeat;
}


.grayTimer {
    padding:15px;
    background-color: #34363f;
    text-align:center;
    font-weight:bold;
    border-radius:10px;
}

.grid-contact{
    display:flex;
    gap:20px;
}
.grid-contact a{
    white-space:nowrap;
    color:#fff;
}

.header-auth{
    display:grid;
    grid-template-columns: max-content max-content;
    justify-content:right;
    gap:10px;
}

.btn-black{
    cursor:pointer;
    border:none;
    padding: 0.5rem 2rem 0.5rem 2rem;
    line-height: 1.5rem;
    border-radius: 4rem;
    color: #FFFFFF;
    background: #272832;
    transition: background 0.1s ease-in-out;
}

.btn-black:hover{
    background:#212229;
}

.btn-red{
    cursor:pointer;
    border:none;
    padding: 0.5rem 2rem 0.5rem 2rem;
    line-height: 1.5rem;
    border-radius: 4rem;
    color: #FFFFFF;
    background: linear-gradient(90deg, #730011 0%, #8C213B 100%);
    transition: background 0.1s ease-in-out;
}
.btn-red:hover {
    background: linear-gradient(90deg, #8C213B 0%, #A73757 100%);
}

.navigation{
    padding-top:1.5rem;
}

.container-nav{
    display:grid;
    align-items:center;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}
.link_header{
    justify-self: end;
}

.link_header ul{
    margin:0;
    padding:0;
}
.link_header ul li{
    list-style:none;
    display:inline-block;
    padding-left:15px;
}

.link_header ul li a{
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    text-transform:uppercase;
    transition: all 0.2s ease;
}

.link_header ul li a:hover{
    color:#dc1d1d;
}

#mobile-menu {
    background-color: #070A13;
    color:#fff;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

#mobile-menu.active {
    transform: translateX(0);
}

#mobile-menu nav ul li{
    list-style:none;
    padding-top:20px;
}

#mobile-menu nav ul li a {
    color:#fff;
    text-transform:uppercase;
    font-weight:bold;
    text-decoration: none;
    font-size:1.2rem;
}

.close_menu{
    padding-top: 0.75rem;
}

.close_menu > div:first-child{
    border: 2px solid #ff0a24;
    box-shadow: 0px 5px 15px 0px rgb(253 0 42 / 50%);
    position:relative;
    z-index:1000;
    background: #070A13;
    user-select: none;
    cursor:pointer;
    color: #fff;
    width: 4rem;
    height: 4rem;
    cursor: pointer;
    border-radius: 4rem;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
}

.close_menu > div:first-child:hover{
    border: 2px solid #ff001c;
    box-shadow: 0px 5px 15px 0px rgb(202 7 39 / 50%);
}

#mobile-menu .mobile-menu-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.open-menu-button {
    border: 2px solid #A81E2D;
    box-shadow: 0px 5px 15px 0px rgba(233, 46, 77, 0.50);
    background-color: #070A13;
    cursor:pointer;
    color: #fff;
    width: 4rem;
    height: 4rem;
    border-radius: 4rem;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    user-select: none;
}

.open-menu-button:hover {
    background-color: #212229;
}

.mobile-header{
    padding-top:0.5rem;
    max-width:95%;
    margin-left:auto;
    margin-right:auto;
}

.mobile-header .logo img{
    transform:scale(0.9);
}

.header-mob{
    display:grid;
    grid-template-columns:1fr 1fr;
}

.menu-icon.open .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-icon.open .line:nth-child(2) {
    opacity: 0;
}

.menu-icon.open .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.btn-menu-bottom{
    display: grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.btn-menu-bottom .btn-red{
    width:100%;
    vertical-align:middle;
}

.mobile-menu-content{
    max-width:95%;
    margin-left:auto;
    margin-right:auto;
}

.drop-down-box {
  position: relative;
  display: inline-flex;
  width:100%;
  padding: 10px;
  height:60px;
  border-radius:15px;
  cursor: pointer;
  background-color: #2a2e35;
  color: #fff;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  align-items: center;
  border: 1px solid transparent;
}

.drop-down-box:hover {
  border: 1px solid #AD1D32;
}

.drop-down-value {
  flex-grow: 1;
  white-space: nowrap;
  font-family: Montserrat-Bold, Arial, sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 24px;
  font-weight: bold;
  box-sizing: border-box;
  min-width: 0;
}

.drop-down-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  z-index: 10;
  background-color: #2a2e35;
  border: 1px solid #AD1D32;
  border-radius: 10px;
  padding: 10px;
  list-style: none;
  opacity: 0;
  min-height: 150px;
  margin-top:5px;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width: 100%;
  box-sizing: border-box;
}

.drop-down-list.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drop-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding:15px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.2s ease, color 0.2s ease;
  color: #fff;
  box-sizing: border-box;
  border-radius:10px;
}

.drop-item:hover,
.drop-item.selected {
  background-color: #cecece40;
  color: #fff;
}

.drop-item.selected {
  font-weight: bold;
}

.drop-down-box::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
  pointer-events: none;
}

.drop-down-box.open::after {
    border-top: none;
    border-bottom: 5px solid #333;
}


.focus_input{
    border: 2px solid #AD1D32!important;
}

.currency_list img, .drop-down-value img{
    vertical-align:middle;
    width:35px;
}

.info_kurs{
    margin-top:15px;
}

.container_form_exchange{
    max-width: 740px;
    margin-right: auto;
    padding: 10px;
    margin-top: 30px;
}

.btnExchange {
    margin-top:30px;
}

.btn-red-shadow {
    cursor:pointer;
    text-align: center;
    border: none;
    text-transform: uppercase;
    border-radius: 50px;
    color: #fff;
    font-size:20px;
    padding:20px 40px 20px 40px;
    font-weight:bold;
    height: var(--desktop-inputs-buttons-form-button-height);
    background: linear-gradient(270deg, #FA3256 0.25%, #7C1317 100.25%);
    box-shadow: 0px 10px 15px 0px rgba(233, 46, 77, 0.50);
    transition: all 0.3s ease;
}

.btn-red-shadow:hover{
    box-shadow: none;
}


.reverse_exchange{
    position: relative;
    top: 3rem
}

.dark_box {
    background-color: #10131D;
    padding:15px;
    border-radius:15px;
    line-height:1.5rem;
}

.title-red{
    color:transparent;
    -webkit-background-clip: text;
    margin-bottom: 1.6rem;
    font-size: 1.8rem;
    font-family: Montserrat-Bold;
    line-height: normal;
    text-transform: uppercase;
    background-image:linear-gradient(270deg, #E31B4B 73.58%, #890021 100%);
}


.otziv {
    display:flex;
    gap:20px;
    flex-wrap: wrap;
}
.otziv > div{
    flex: 1 1 200px;
    /* margin-top: 20px; */
}

.main_otziv{
    padding:15px;
    border-radius: 10px;
    background-color: #1c1f29;
}

.info-user{
    display: flex;
    gap: 15px;
    position:relative;
    padding-bottom:10px;
}

.icon-otziv {
    width:50px;
    height:50px;
    background-size:contain;
    background-image: url('/static/img/icon-review.png');
}

.date-otziv {
    color:#b2b2b2;
    font-size:12px;
}

.crypto_container{
    display:grid;
    gap:20px;
    grid-template-columns:1fr 1fr 1fr;
    font-size:14px;
    align-items:center;
}

.crypto_container > div{
    background-color:#1c1f29;
    border-radius:15px;
    padding:10px;
}

.crypto{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items:center;
}

.type_coin{
    display:grid;
    grid-template-columns: max-content max-content;
    gap:10px;
    align-items:center;
    line-height:21px;
}

@media(max-width: 990px){
    .crypto_container{
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media(max-width: 370px){
    .crypto_container{
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    .crypto{
         grid-template-columns: 100px 50px 100px;
        font-size:12px;
    }
    .summa_exchange_last{
        width:50px!important;
    }
}
 
.type_coin img{
    width: 30px;
    max-width:none;
}

.grid-2-col{
    display: grid;
    grid-template-columns: 1fr 320px;
}

.form_zv{
    width:85%;
}


.checkbox {
    cursor: pointer;
    vertical-align: middle;
    padding-left: 2rem;
    padding-top: 0;
    position: relative;
}
.checkbox:before {
    background-color: none;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 1px solid #900527;
    border-radius: 0.4rem;
    content: "";
    width: 1.3rem;
    height: 1.3rem;
    left: 0;
    position: absolute;
    top: 0;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}
.checkbox input {
    display: none;
}
.checkbox a {
    font-weight: 500;
    color: #C20000;
    text-decoration: none;
    transition: text-decoration 0.1s ease-in-out;
}
.checkbox a:hover {
   /* opacity:0.8; */
    text-decoration: underline;
    transition: text-decoration 0.1s ease-in-out;
}
.checkbox a:active {
    /* opacity:0.8; */
    transition: text-decoration 0.1s ease-in-out;
}
.checkbox.checked:before {
    background-color: red;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22" fill="none"><path d="M9.8163 14.9324C9.4588 15.2899 8.8813 15.2899 8.5238 14.9324L5.23297 11.6416C4.87547 11.2841 4.87547 10.7066 5.23297 10.3491C5.59047 9.9916 6.16797 9.9916 6.52547 10.3491L9.16547 12.9891L15.4721 6.68243C15.8296 6.32493 16.4071 6.32493 16.7646 6.68243C17.1221 7.03993 17.1221 7.61743 16.7646 7.97493L9.8163 14.9324Z" fill="white"/></svg>');
    background-size: 1.5rem;
}

.apl_container{
    gap:20px;
}

.resultfalse{
    background-color: #ff6752;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 15px;
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 10px;
    color: #fff;
    margin-top: 1rem;
}

.resultTrue{
    background-color: #1b9900;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 15px;
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 10px;
    color: #fff;
    margin-top: 1rem;
}

.dark_box3 {
    background-color: rgb(41 44 53);
    padding:15px;
    border-radius:15px;
}

.name_user_comment{
    font-weight:bold;
    text-decoration:underline;
    font-size:18px;
}

.date_comment{
    font-size:smaller;
    padding-top:7px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(165, 165, 165, 0.16);
    color:#b2b2b2;
}

.txt_comment{
    padding-top:10px;
    line-height:23px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
     overflow: hidden;
}

.black-btn-red-shadow {
    text-align: center;
    -webkit-transition: all 0.1s cubic-bezier(0.2, 0, 0.38, 0.9);
    -o-transition: all 0.1s cubic-bezier(0.2, 0, 0.38, 0.9);
    transition: all 0.1s cubic-bezier(0.2, 0, 0.38, 0.9);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size:22px;
    font-weight:bold;
    padding: 15px;
    border-radius: 35px;
    color: #a81e2d;
    background-color:transparent;
    border: 2px solid #A81E2D;
    box-shadow: 0px 5px 12px 0px rgba(233, 46, 77, 0.50);
    text-shadow: 0px 5px 12px rgba(233, 46, 77, 0.50);
}

.black-btn-red-shadow:hover{
    color:#f61e34; 
}


.block_payinfo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap:30px;
}

.block_payinfo > div{
    flex: 1 1 350px;
    word-wrap: break-word;
    word-break: break-all;
    margin-right: 0.8rem;
    padding: 10px;
}

.cp{
    cursor: pointer;
}

.dark_box2 {
    background-color:#1e212a;
    padding:15px;
    border-radius:15px;
}

.news_home {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:20px;
}

.img_news{
    display:flex;
    overflow:hidden;
    flex-direction: column;
}

.news__img {
    position: relative;
    height:170px;
}
.news__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.img_news img{
    border-top-left-radius:15px;
    border-top-right-radius:15px;
    
}

.news_dark_box{
    border-top-left-radius:0;
    border-top-right-radius:0;
    width:100%;
}

.date_news {
    color:#b2b2b2;
    font-size:smaller;
}


.file_list_verif > div{
    border-bottom:1px dashed red;
}

.file_list_verif > div:last-child{
    border-bottom:none!important;
}

.news_title{
    overflow: hidden;
    color: #b2b2b2;
    text-overflow: ellipsis;
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    background: none;
    background-clip: initial;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

.txt_news {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin-bottom: 1.8rem;
    font-size: 16px;
    line-height: 1.6rem;
    overflow: hidden;
}

.more_news{
    position:relative;
    font-size:inherit;
    cursor:pointer;
}

.more_news:hover:after{
    background-position-x:15px;
}

.more_news:after{
    content:'';
    transition: all 0.2s ease-in-out;
    position:absolute;
    width:50px;
    height:20px;
    background-image:url(/static/img/arrow_back.svg);
    background-repeat:no-repeat;
    background-position-x:10px;
}

.ico_rezerv img{
    width:37px;
}

.rezerv_home{
    display:flex;
    flex-wrap: wrap;
}

.rezerv_home > div{
    flex: 1 1 215px;
    padding-top:15px;
    padding-bottom:15px;
}

.summa_rezerv{
    font-weight:bold;
}

.name_rezerv{
    color:#b2b2b2;
    font-size:smaller;
}

.crypto_rezerv{
    display:flex;
    gap:20px;
    line-height:20px;
}

.rzv{
    border-bottom: 1px solid #ffffff14;
}

.see_rezerv{
    font-size:16px;
    cursor:pointer;
    transition: all 0.2s ease-in-out;
}

.see_rezerv:hover{
    color:#f82a4f;
}

img#arrow_rezerv {
    position:relative;
    bottom:1.5px;
}

.partners .partner_item {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    border-radius: 2.8rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
}
.partners {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 30px;
}

.partners .partner_item img {
    height: 50px;
    transition: all 0.3s ease;
    filter: invert(100%) saturate(0%) brightness(0.6);
}
.partners .partner_item a:hover img, .partners .partner_item a:active img {
    transform: scale(1.15, 1.15);
}

.footer_container{
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    min-height:50px;
    padding: 50px 20px 50px 20px;
}

.fix-for-contact{
    max-width:100%;
}

.footer{
    background-color:#10131d;
}

.footer-flex a{
    text-decoration: none;
    color: #b2b2b2;
    transition: all 0.2s ease;
    cursor:pointer;
}

.footer-flex a:hover{
    color:#fff;
}

.footer-flex {
    display:grid;
    grid-template-columns: max-content max-content 1fr;
    gap:40px;
}

.fix-for-contact .footer-flex{
    grid-template-columns:1fr 1fr;
}

.info_txt_footer{
    text-align: right;
    color: #b2b2b2;
    opacity: 0.6;
}

.summa_exchange_last {
    overflow:hidden;
    text-overflow:ellipsis;
    width:85px;
}

.txt-otziv {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Specify the number of lines */
     overflow: hidden;
}

.aml_ul{
    padding:15px;
}

.aml_ul > li{
    color:red;
    font-size:25px;
    padding-top:10px;
    padding-bottom:10px;
}

.aml_ul_txt{
    font-weight: normal;
    color:#fff;
    font-size:16px;
}

._feedback{
    flex-direction:column;
    gap:0;
}

.pagination{
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1rem;
}
.pagination a, .pagination .current-page, .pagination .ellipsis_pagination{
    display: flex;
    justify-content: center;
    padding:10px;
    border-radius:5px;
    border: none;
    font-size:12px;
    font-weight:bold;
    font-family: Rubik, sans-serif;
    background-color: transparent;
    color: #900527;
    text-decoration: none;
    transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
}

.pagination a:hover{
    background-color:#14161f;
}
.pagination .ellipsis_pagination{
    color:#fff;
}


.pagination .current-page{
    color:#fff;
    background-color:#14161f;
}

.form_feedback{
    width:70%;
}


.news_flex {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 0;
    height: 100%;
    display:flex;
    margin-top:20px;
}

.news_flex .left_box{
    width:17rem;
    min-height:220px;
    flex-shrink: 0;
    position:relative;
}

.news_flex .right_box{
    background-color:#1c1f29;
    width:100%;
    border-top-right-radius:15px;
    border-bottom-right-radius:15px;
}

.news-block__img {
    display: block;
    height: 100%;
    margin-bottom: 0;
    overflow: hidden;
}

.news-block__img img {
    height: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
    border-top-left-radius:15px;
    border-bottom-left-radius:15px;
}

.news_content_right{
    padding:15px;
}

.title_news_pg a{
    color:#fff;
    font-weight:bold;
    font-size:18px;
    transition: color 0.2s ease-in-out;
}

.title_news_pg a:hover{
    color:#9a9797;
    text-decoration:none;
}

.title_news_pg {
    margin-top:15px;
}

.txt_news_pg {
  margin-top: 15px; 
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
   line-clamp: 4;
  line-height: 1.4em;
  max-height: calc(1.4em * 4);
}

.img_event img{
    width: 100%;
    max-height: 270px;
    object-fit: cover;
    border-radius: 1.2rem;
    margin-bottom: 2.4rem;
}

.diams {
    color:red;
    font-size:22px;
}

.exclamation{
    font-size:22px;
}

.star{
    font-size: 22px;
}

.bestchange_logo img{
    width: 250px;
    display: flex;
    justify-content: center;
}

.up_arrow{
    font-size: 22px;
}


.bestchange_logo a{
    color:#fff;
    font-weight:bold;
    text-decoration:underline;
}

.bestchange_logo a:hover{
    text-decoration:none;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    width: 100%;
}

.table-1 {
    font-size:14px!important;
    border: 1px solid #ffffff14;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 20px;
    table-layout: fixed;
}

.table-1 th:first-child{
    border-top-left-radius:5px;
}

.table-1 th:last-child{
    border-top-right-radius:5px;
}

.table-1 td:first-child{
    border-bottom-left-radius:5px;
}

.table-1 td:last-child{
    border-bottom-right-radius:5px;
}

.table-1 th,
.table-1 td {
    background-color:#10131d;
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ffffff14;
    word-break: break-word;
    text-align:center;
}

.table-1 th {
    font-weight: bold;
}

.table-edit-pair i:hover, .table-edit-cur i:hover{
    color:red;
}


.btn-green-shadow {
    cursor:pointer;
    text-align: center;
    border: none;
    text-transform: uppercase;
    border-radius: 50px;
    color: #fff;
    font-size:20px;
    padding:20px 40px 20px 40px;
    font-weight:bold;
    height: var(--desktop-inputs-buttons-form-button-height);
    background: linear-gradient(270deg, #65fa32 0.25%, #137c1c 100.25%);
    box-shadow: 0px 10px 15px 0px rgb(94 233 46 / 50%);
    transition: all 0.3s ease;
}

.btn-green-shadow:hover{
    box-shadow: none;
}





@media(max-width:960px){
    .news_flex{
         flex-direction:column;
    }

    .news-block__img img{
        border-top-left-radius:15px;
        border-bottom-left-radius:0;
        border-top-right-radius:15px;
    }

    .news_flex .right_box {
        border-top-right-radius:0;
        border-bottom-left-radius:15px;
    }

    .news_flex .left_box {
        width: 100%;
    }
}


@media only screen and (max-width: 920px) {
    body {
        font-size: 15px;
    }
    .title-red{
        font-size: 1.5rem;
    }

    .btn-red-shadow {
        font-size:18px;
    }
}

@media(max-width:840px){
    .fix-for-contact .footer-flex{
        grid-template-columns: 1fr;
        gap:0;
        text-align:center;
    }
}

@media(max-width:768px){
    .table-1 thead {
      display: none;
    }

    .table-1 tr {
      display: block;
      margin-bottom: 15px;
      border-bottom: 1px solid #ddd;
    }

    .table-1 td {
      display: block;
      text-align: right;
      padding-left: 50%;
      position: relative;
      /* border: none; */
    }

    .table-1 td:before {
      content: attr(data-label);
      position: absolute;
      left: 0;
      width: 50%;
      padding-left: 10px;
      text-align: left;
      font-weight: bold;
    }
}

@media only screen and (max-width: 750px) {
    body {
        background-image: none;
        font-size: 14px;
    }
    .btn-red-shadow {
        font-size:16px;
    }
    .form_feedback{
        width:100%;
    }
    .footer-flex {
        grid-template-columns: 1fr;
        text-align:center;
    }
    .info_txt_footer{
        text-align: center;
    }
    .title-red{
        font-size: 1.2rem;
    }
    body.home {
        background-image: url('/static/img/bg-main-mobile.jpg');
    }
    .desctop-header{
        display: none;
    }
    .mobile-header{
        display: block;
    }
    .grid-2-col{
        grid-template-columns:1fr;
    }
    .block_payinfo {
        flex-direction:column;
        gap:0;
    }
    .block_payinfo > div {
        flex: 1 1 auto;
        padding-top:0;
    }
    .form_zv{
        width:100%;
    }
    .news_home{
        grid-template-columns:1fr;
    }
}

@media(max-width: 660px){
    .sitemap_pair a {
        font-size: 12px;
    }
}

@media(max-width:550px){
    .otziv{
        flex-direction: column;
        gap:0;
    }
}

@media(max-width: 420px){
    .open-menu-button,.close_menu > div:first-child{
        width:3rem;
        height:3rem;
    }
    .title-red{
        font-size: 1rem;
    }
    .otziv > div {
        margin-top:20px;
    }
    .pagination {
        gap:10px;
    }
    .auth_container{
        width: 320px;
    }
}

@media(max-width: 350px){
    .open-menu-button,.close_menu > div:first-child{
        width:2.5rem;
        height:2.5rem;
    }
}

@media(max-width: 670px){
    .form_box{
        flex-direction:column;
        align-items:center;
    }

    .info_kurs{
        text-align:center;
        margin-top:20px;
    }

    .form_box .col-flex{
        width: 100%;
    }

    .container_form_exchange{
        padding-left:20px;
        padding-right:20px;
        padding-bottom:40px;
        margin-top:50px;
    }

    .container_form_exchange .btn-red-shadow{
        width:100%;
    }

    .reverse_exchange{
        text-align: center;
        top: 0;
        width: 100%;
    }
}


@media only screen and (min-width: 750px) {
    .desctop-header{
        display: block;
    }
    .mobile-header{
        display: none;
    }
    .partners .partner_item img {
        height: 60px;
    }
}
