
a {
    text-decoration: none;
}
li {
list-style-type: none; /* Убираем маркеры */
}
ul {
margin-left: 0; /* Отступ слева в браузере IE и Opera */
padding-left: 0; /* Отступ слева в браузере Firefox, Safari, Chrome */
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}
.hide {
    display: none;
}
*:focus {outline: none;}
.form-input.select {
    position: relative;
    display: inline-block;
    /* width: 23%; */
    width: 104px;
    padding: 1.15rem 1% 0 10%;
    height: 54.8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: .3s;
}
.form-input.select:hover {
    border: 1px solid #00B4E3;
}
.form-input.select:active {
    box-shadow: 0px 4px 4px 0px #00000040 inset;
}
.select:after {
    content: "";
    padding: 4px 4px;
    position: absolute;
    right: 11%;
    top: 1.3rem;
    z-index: 1;
    pointer-events: none;
    color: #CACACA;
    border-top: 2px solid #CACACA;
    border-right: 2px solid #CACACA;
    transform: rotate(135deg);
}
.select:before {
    /* padding: 0.8rem 0 0 .6rem; */
    position: absolute;
    width: 1.6rem;
    left: 10%;
    top: .85rem;
    z-index: 1;
}
.select.rub:before {
    content: url(../img/rub.svg);
}
.select.eur:before {
    content: url(../img/eur.svg);
}
.select.usd:before {
    content: url(../img/usd.svg);
}
.select.btc:before {
    content: url(../img/btc.svg);
}
.select.ever:before {
    content: url(../img/ever.svg);
}

select {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: .3em 10% 0;
    padding-right: 0;
    margin: 0;
    vertical-align: middle;
    font-size: .7rem;
    text-align: center;
  }
body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: #262626;
}
.container {
    max-width: 1020px;
    margin: 0 auto;
    padding: auto;
    padding: 0 1rem;
}
header {
    margin-top: 2.5rem;
    margin-bottom: 2.3rem;
}
header .logo {
    font-size: 2.5rem;
    line-height: 3.1rem;
    font-style: normal;
    line-height: 52px;
}
.content {
    margin-bottom: 3rem;
}
.content .title h1 {
    font-size: 2.5rem;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-style: normal;
    font-weight: normal;
    line-height: 52px;
    letter-spacing: 0.106rem;
}
.inline {
    display: inline-block;
}
.trade {
    margin-top: 3.25rem;
    margin-bottom: 2.1rem;
    position: relative;
}
.trade_block {
    width: 48%;
}
.trade_block:nth-child(1) {
    margin-right: 3.6%;
}
.trade_block-arrows {
    position: absolute;
    left: 49%;
    bottom: 36%;
    cursor: pointer;
}
.trade_block-arrows .arrow {
    line-height: .85rem;
    color: #00B4E3;
    font-size: 1.3rem;
}
.trade_block-title {
    font-size: 1.5rem;
    font-weight: 500;
}
.block-content-row {
    margin-bottom: .8rem;
}
.block-content-row span {
    color: #00B4E3;
    visibility: hidden;
}
.show {
    visibility:visible !important;
}

.block-content-row label {
    display: inline-block;
    width: 73%;
    margin-right: 2.6%;
}
.trade_block-content {
    background: #F5F5F5;
    border-radius: 5px;
    margin-top: 1.9rem;
    padding: 1rem 1.3125rem 1.8rem;
}
.requisites-card {
    position: relative;
}
.requisites-card:after {
    content: url(../img/card.svg);
    position: absolute;
    right: 2%;
    top: 2.45rem;
}
.requisites-wallet {
    position: relative;
}
.requisites-wallet label:after {
    content: url(../img/question.svg);
    position: absolute;
    right: 2%;
    top: 2.45rem;
    /* padding: 5px; */
    width: 23px;
    height: 23px;
    text-align: center;
}
.form-input {
    height: 44px;
    background: #FFFFFF;
    border: 1px solid #CACACA;
    box-sizing: border-box;
    border-radius: 5px;
}
input.form-input.filled {
    border: 1px solid #00B4E3;
}
input.form-input:focus {
    border-color: #00B4E3 !important;
}
input::-webkit-input-placeholder       {opacity: 1; transition: opacity 0.3s ease;}
input::-moz-placeholder                {opacity: 1; transition: opacity 0.3s ease;}
input:-moz-placeholder                 {opacity: 1; transition: opacity 0.3s ease;}
input:-ms-input-placeholder            {opacity: 1; transition: opacity 0.3s ease;}
input:focus::-webkit-input-placeholder {opacity: 0; transition: opacity 0.3s ease;}
input:focus::-moz-placeholder          {opacity: 0; transition: opacity 0.3s ease;}
input:focus:-moz-placeholder           {opacity: 0; transition: opacity 0.3s ease;}
input:focus:-ms-input-placeholder      {opacity: 0; transition: opacity 0.3s ease;}
input.form-input {
    width: 100%;
    padding: 1.7rem 1.2rem 1.6rem;
    font-size: 1.125rem;
    margin-top: .2rem;
    color: #656565;
}
.requisites label {
    width: 100%;
}
select.form-input {
    width: 100%;
    height: 53.8px;
    font-size: 0.9rem;
}
.rate {
    font-size: 1.25rem;
    line-height: 1.625rem;
    text-align: center;
    color: #00B4E3;
}

/* modal */

.modal {
    position: fixed; /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.5); /* цвет фона */
    z-index: 1050;
    opacity: 0; /* по умолчанию модальное окно прозрачно */
    -webkit-transition: opacity 200ms ease-in; 
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 200ms ease-in; /* анимация перехода */
    pointer-events: none; /* элемент невидим для событий мыши */
    margin: 0;
    padding: 0;
}
/* при отображении модального окно */
.modal:target {
    opacity: 1; /* делаем окно видимым */
	pointer-events: auto; /* элемент видим для событий мыши */
    overflow-y: auto; /* добавляем прокрутку по y, когда элемент не помещается на страницу */
}
/* ширина модального окна и его отступы от экрана */
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
    transform: translate(0, 50%);

}
@media (min-width: 576px) {
  .modal-dialog {
      max-width: 343px;
      margin: 30px auto; /* для отображения модального окна по центру */
  }
}
/* свойства для блока, содержащего контент модального окна */ 
.modal-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border-radius: .9375rem;
    outline: 0;
    background-color: #DEF8FF;
    padding: 1.1rem 1.3125rem 2rem;
}
@media (min-width: 768px) {
  .modal-content {
      -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
      box-shadow: 0 5px 15px rgba(0,0,0,.5);
  }
}
/* свойства для заголовка модального окна */
.modal-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.modal-title {
    margin-top: -.4rem;
    margin-bottom: 0;
    line-height: 1.125rem;
    font-size: 1.125rem;
    font-weight: 400;
}
/* свойства для кнопки "Закрыть" */
.close {
    float: right;
    font-weight: 400;
    line-height: 1;
    color: #848484;
    text-decoration: none;
}
/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus, .close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .75;
}
/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
  position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    overflow: auto;
}
.modal-search {
    margin: 1.6rem 0 1.7rem 0;
}
.modal-search-input {
    position: relative;
    
}
.modal-search-input input::placeholder {
    text-transform: none;
}
.modal-search-input input {
    padding: 0.5rem 1rem 0.5rem 19%;
    font-size: 0.875rem;
    line-height: 1.127rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #00B4E3;
    border-radius: 5px;
    text-transform: uppercase;
}
.search-icon {
    position: absolute;
    left: 9%;
    top: .6rem;
}
.currency-icon {
    border-radius: 50%;
    transition: 0.3s ease-in-out;
}
.modal .currency{
    transition: 0.3s ease-in-out;

}
.modal .currency:hover {
    /* border-bottom: 1px solid #00B4E3; */
    color: #03abda;

}
.modal .currency:hover .currency-icon{
    /* background-color: #03abda; */
    box-shadow: 2px 2px 5px 0px #00000040;

}
.modal .currency .item{
    display: inline-block;
    vertical-align: middle;
}
.modal .currency .currency-icon + .currency-code{
    /* padding-left: 6%; */
}
.modal .currency-icon{
    width: 12%;
}
.modal .currency-code{
    width: 25%;
    text-align: center;
}
.modal .currency-text{
    width: 60%;
}
.modal .currencies li:hover {
    cursor: pointer;
}
.modal .currencies li + li{
    margin-top: 1.2rem;
}
.modal.open-modal {
    opacity: 1; /* делаем окно видимым */
	pointer-events: auto; /* элемент видим для событий мыши */
    overflow-y: auto; 
}

/* modal END */
.details .details-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}
.details ul {
    background-color: #DEF8FF;
    padding: 0 5% 1.125rem 5%;
    border-radius: 0.3125rem;
}
.detail {
    list-style-type: inherit;
    color: #fff;
    font-size: 2rem;
    border-bottom: 2px solid #fff;
    
}
.detail + .detail {
    margin-top: 1rem;
}
.detail div {
    width: 32%;
    color: black;
    font-size: 1rem;
    padding-left: 1.5%;
    font-size: 1.25rem;
    
}
.detail .detail-price {
    text-align: end;
    width: 26%;
}
.detail .detail-currency {
    width: 34.5%;
    text-align: end;
}
.continue {
    text-align: end;
    margin-top: 3.2rem;
}
.continue button {
    background-color: #00B4E3;
    color: #fff;
    font-weight: 500;
    line-height: 1.3125rem;
    padding: 1.1rem 8% 1rem;
    border: 1px solid #00B4E3;
    border-radius: 0.3125rem;
    font-size: 1.25rem;
    cursor: pointer;
    transition: .3s;
}
.continue button:hover {
    background-color: #40C4E6;
    box-shadow: 2px 5px 5px 0px #00000040;
}
.continue button:active {
    background-color: #00A6D1;
    box-shadow: 0px 4px 4px 0px #00000040 inset;
}

@media (max-width: 1056px) {
    .trade_block-content {
        padding: 1rem .8rem 1.8rem;
    }
    .form-input.select {
        max-width: 104px;
        width: 23.5%;
    }
}
@media (max-width: 985px) {
    .trade_block {
        width: 47.9%;
    }
    .block-content-row:nth-child(1) label {
        margin-right: 1.8%;
        width: 70%;
    }
    .block-content-row:nth-child(2) label {
        margin-right: 1.8%;
        width: 100%;
    }
    .form-input.select {
        width: 26.5%;
        padding: 1.15rem 1% 0 10%;
    }
   
}

@media (max-width: 900px) {
    .trade_block {
        width: 47.9%;
    }
    .form-input.select {
        padding: 1.15rem 1% 0 11%;
    }
}
@media (max-width: 836px) {
    .trade_block {
        width: 100%;
    }
    .block-content-row:nth-child(1) label {
        width: 83.5%;
    }
    .block-content-row:nth-child(2) label {
        width: 100%;
    }
    .form-input.select {
        padding: 1.15rem 1% 0 6%;
        width: 14%;
    }
    .trade_block-arrows {
        right: 2%;
        bottom: 43%;
        left: unset;
        transform: rotate(90deg);
    }
    .trade_block-give + .trade_block-get {
        margin-top: 1rem;
    }
    .trade_block-get + .trade_block-give {
        margin-top: 1rem;
    }
    .trade_block-content {
        margin-top: 1rem;
    }
    .container {
        position: relative;
    }
    .rate {
        position: absolute;
        top: 6.7rem;
        right: 2%;
        font-size: 1rem;
        letter-spacing: .5px;
    }
}
@media (max-width: 770px) {
    .detail {
        list-style-type: none;
    }
    .detail div {
        width: 42%;
    }
    .detail .detail-price {
        width: 35%;
    }
    .detail .detail-currency {
        width: 15%;
    }
}
@media (max-width: 740px) {
    .trade_block {
        width: 100%;
    }
    .block-content-row:nth-child(1) label {
        width: 82%;
    }
    .block-content-row:nth-child(2) label {
        width: 100%;
    }
    .form-input.select {
        padding: 1.15rem 1% 0 6%;
        width: 15%;
    }
}
@media (max-width: 680px) {
    .trade_block {
        width: 100%;
    }
    .block-content-row:nth-child(1) label {
        width: 80%;
    }
    .block-content-row:nth-child(2) label {
        width: 100%;
    }
    .form-input.select {
        padding: 1.15rem 1% 0 7%;
        width: 17%;
    }
}
@media (max-width: 640px) {
    .trade_block {
        width: 100%;
    }
    .trade_block-get {
        margin-top: 0;
    }
    .content {
        margin-bottom: .8rem;
    }
    .trade_block:nth-child(1) {
        margin:0
    }
    .container .logo {
        font-size: 1.625rem;
        line-height: 1.125rem;
    }
    header {
        margin: .8rem 0 1.35rem;
    }
    body {
        margin-top: 0;
    }
    .content .title h1 {
        font-size: 1.25rem;
        font-weight: 400;
        text-align: center;
        line-height: 1.4375rem;
        letter-spacing: inherit;
    }
    .trade_block-title {
        font-size: 1.125rem;
    }
    .trade {
        margin-top: 1.25rem;
        margin-bottom: 0;
    }
    .trade_block-content {
        margin-top: .5rem;
        margin-bottom: .4rem;
        padding: 0 6% .3rem;
    }
    .block-content-row span {
        font-size: .875rem;
        font-weight: 500;
    }
    input.form-input {
        margin-top: 0;
        padding: 0 3%;
        font-size: 1rem;
    }
    .form-input.select {
        padding: .45rem 1% 0 8%;
        width: 19%;
        height: 40px;
        font-size: 1rem;
    }
    .form-input {
        height: 40px;
    }
    .block-content-row {
        margin-bottom: .4rem;
    }
    .block-content-row:nth-child(1) label {
        width: 78%;
    }
    .block-content-row:nth-child(2) label {
        width: 100%;
    }
    .select:before {
        top: .4rem;
    }
    .select:after {
        padding: 3px 3px;
        top: .9rem;
        right: 5%;
    }
    .requisites-card:after {
        top: 1.8rem;
        right: 3%;
    }
    .trade_block-arrows {
        right: 5.5%;
        bottom: 43%;
        left: unset;
        transform: rotate(90deg);
    }
    .requisites-wallet label:after {
        right: 3%;
        top: 1.75rem;
    }
    .container {
        position: relative;
    }
    .rate {
        position: absolute;
        top: 2.7rem;
        right: 2%;
        font-size: 1rem;
        letter-spacing: .5px;
    }
    .details .details-title {
        font-size: 1.125rem;
        margin-bottom: 0;
    }
    .detail {
        font-size: 1rem;
        list-style-type: none;
        border-bottom: none;
    }
    .detail + .detail {
        margin-top: .45rem;
    }
    .details ul {
        margin-top: .5rem;
        margin-bottom: .8rem;
        padding: .1rem 5% .5rem 5%;
    }
    .detail div {
        font-size: .9rem;
        width: 50%;
    }
    .detail .detail-price {
        width: 32%;
    }
    .detail .detail-currency {
        width: 10%;
    }
    .continue {
        margin-top: .8rem;
    }
    .continue button {
        width: 100%;
        padding: .6rem 8% .5rem;
        font-weight: 500;
        letter-spacing: .6px;
        font-size: 1rem;
        cursor: pointer;
    }
    
}
@media (max-width: 615px) {
    .trade_block {
        width: 100%;
    }
    .block-content-row:nth-child(1) label {
        width: 78%;
    }
    .block-content-row:nth-child(2) label {
        width: 100%;
    }
    .form-input.select {
        padding: .45rem 1% 0 8%;
        width: 19%;
    }
    
}
@media (max-width: 561px) {
    .block-content-row:nth-child(1) label {
        width: 76%;
    }
    .block-content-row:nth-child(2) label {
        width: 100%;
    }
    .form-input.select {
        padding: .45rem 1% 0 8%;
        width: 21%;
    }
    .select:before {
        left: 6%;
    }
}
@media (max-width: 530px) {
    .detail div {
        width: 40%;
    }
    .detail .detail-price {
        width: 35%;
    }
    .detail .detail-currency {
        width: 15%;
    }
}
@media (max-width: 500px) {
    .block-content-row:nth-child(1) label {
        width: 70%;
    }
    .block-content-row:nth-child(2) label {
        width: 100%;
    }
    .form-input.select {
        padding: .45rem 1% 0 10.5%;
        width: 27%;
    }
    .container {
        padding: 0 .5rem
    }
    .detail div{
        font-size: 1rem;
    }
    
}
@media (max-width: 388px) {
    .block-content-row:nth-child(1) label {
        width: 64%;
    }
    .block-content-row:nth-child(2) label {
        width: 100%;
    }
    .form-input.select {
        padding: .45rem 1% 0 12.5%;
        width: 32%;
    }
    .detail div {
        width: 54%;
    }
    .detail .detail-price {
        width: 28%;
    }
    .detail .detail-currency {
        width: 10%;
    }
    
}
@media (max-width: 316px) {
    .block-content-row:nth-child(1) label {
        width: 60%;
    }
    .block-content-row:nth-child(2) label {
        width: 100%;
    }
    .form-input.select {
        padding: .45rem 1% 0 14.5%;
        width: 36%;
    }
    
}
