@import url("../styles/jquery-ui.css");
@import url("../styles/formstyler.css");
@import url("../styles/form.css");
@import url("../styles/title.css");
@import url("../styles/overflow.css");
@import url("../styles/menu.css");
@import url("../styles/table.css");

/* -------------- div padding type  */
* {
  outline: none;
  border: 0px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

/* -------------- input border default */
::-webkit-input-placeholder {
  color: #A5ADB4;
  font-weight: 300
}

::-moz-placeholder {
  color: #A5ADB4;
  font-weight: 300
}

/* Firefox 19+ */
:-moz-placeholder {
  color: #A5ADB4;
  font-weight: 300
}

/* Firefox 18- */
:-ms-input-placeholder {
  color: #A5ADB4;
  font-weight: 300
}

/*--------------- download fonts*/
@font-face {
  font-family: Roboto;
  src: url(fonts/Roboto-Thin.ttf);
  font-weight: 100;
}

@font-face {
  font-family: Roboto;
  src: url(fonts/Roboto-Light.ttf);
  font-weight: 300;
}

@font-face {
  font-family: Roboto;
  src: url(fonts/Roboto-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: Roboto;
  src: url(fonts/Roboto-Medium.ttf);
  font-weight: 500;
}

@font-face {
  font-family: Roboto;
  src: url(fonts/Roboto-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: Roboto;
  src: url(fonts/Roboto-Black.ttf);
  font-weight: 900;
}

body {
  background-color: #fff;
}

body,
html {
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  position: relative;
  background: #F0F5F8;
}

body,
td {
  font-family: Roboto, sans-serif;
  color: #424242;
  font-size: 16px;
  font-weight: 400;
}

a {
  color: #06AEE6;
  text-decoration: none;
}

a:hover {
  color: #229FFF;
}

ol,
ul {
  padding-left: 20px
}

b{
  font-weight: 500;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.h7,
h1,
h2,
h3,
h4,
h5,
h6,
h7 {
  font-family: Roboto;
  font-weight: normal;
  color: #374d64;
  padding: 0px;
  margin: 0px;
}

h1 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 30px;
  line-height: 30px;
}

h2 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
}

h3 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  line-height: 14px;
}

/*----------------------MAIN -----------------------*/
#wraper {
  background: #F3F3FB;
  min-height: 100%;
  width: 100%;
  display: flex;
  position: relative;
  padding: 0px;
  align-items: stretch;
}

.content {
  display: block;
  flex: 1;
  width: 100%;
}

.inside {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0px 20px;
  position: relative
}

/* --------------- KNOPKA -------------------*/
.knopki {
  font-weight: 500;
  text-align: center;
  display: inline-block;
  color: #fff;
  font-size: 14px;
  padding: 7px 15px;
  cursor: pointer;
  cursor: hand;
  border-radius: 3px;
}

.knopki.disabled {
  background: #ccc;
  border: 1px solid #ccc;
  cursor: not-allowed;
}

.knopki.disabled:hover {
  color: #fff;
}

/*border-radius:10px;*/
.knopka_blue {
  background: #229FFF;
  border: 1px solid #229FFF;
}

.knopka_blue:hover {
  color: #fff
}

.knopka_green {
  background: #5CB65C;
  border: 1px solid #5CB65C;
}

.knopka_green:hover {
  color: #fff;
}

.knopka_green_line {
  border: 1px solid #5CB65C;
  color: #333;
  font-weight: 300
}

.knopka_green_line:hover {
  color: #5CB65C;
}

.atach {
  text-transform: uppercase;
  color: #999;
  background: url('../images/atach.png') no-repeat 0% 50%;
  font: 14px/20px Roboto;
  padding: 5px;
  padding-left: 40px;
  cursor: pointer;
  cursor: hand
}

.atach:hover {
  color: #333;
}

.uploadFile {
  display: none;
}

/* -------------- INPUT ------------------------*/
input[type=text],
input[type=password],
textarea {
  border: 1px solid #D1D1D1;
  font-size: 14px;
  font-weight: 400;
  width: 100%;
  resize: none;
  font-family: Roboto, sans-serif;
  color: #333;
  padding: 6px 10px;
  border-radius: 3px;
}

/*border-radius:10px;*/
textarea {
  min-height: 200px;
  overflow: hidden;
}

input.number:hover,
input[type=text]:hover,
input[type=password]:hover,
input[type=text]:focus,
input[type=password]:focus,
textarea:focus,
textarea:hover {
  border-color: #7BC4FD
}

/*------------------ permission*/
.message{
  position: relative;
}

.message .close{
  display: block;
  height: 40px;
  width: 40px;
  position: absolute;
  top: 0;
  right: 0;
  background: url(../images/close.png) no-repeat 50% 50%;
}

/* account */
.page_account {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.page_menu_flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page_menu {
  width: 100%;
  padding: 20px 0px;
  background: #3B6086;
  position: sticky;
  top: 0;
  left: 0;
  text-align: center;
  z-index: 100000
}

.page_menu h2{
  color:#fff;
}

.page_menu>div {
  text-align: left;
  display: inline-block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative
}

.page_content {
  flex:1;
  padding: 20px;
  padding-right:0px;
}

.menu_show {
  display: none;
  vertical-align: middle;
  background: url(../images/menu.png) no-repeat 50% 50% #5CB65C;
  width: 40px;
  height: 40px;
  margin-right: 40px;
  cursor: pointer;
  cursor: hand
}

.page_account .main_menu {
  position: relative
}

.page_account .main_content{
  padding-top: 20px;
}

/* bottom */
.page-bottom {
  padding: 20px 0px;
  text-align: center;
  color:#fff;
  background: #3B6086
}

.page-bottom .page-bottom-flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-bottom_menu>a {
  color:#fff;
  display: inline-block;
  padding: 0px 15px
}
/* lang */
.page_account .lang>a {
  text-transform: uppercase;
  color: #C9CFD5
}

.page_account .lang>a.selected {
  color: #fff
}

/* Language dropdown (globe) + icon-only exit in .page_menu_util */
.page_menu_util {
  flex-shrink: 0;
}
.page-lang-dropdown {
  position: relative;
  z-index: 100001;
}
.page-lang-dropdown__btn {
  color: #C9CFD5;
  min-width: 0;
  min-height: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  line-height: 1.2;
  border-radius: 0.25rem;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.page-lang-dropdown__label {
  white-space: nowrap;
  max-width: 6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: bottom;
}
.page-lang-dropdown__btn:hover,
.page-lang-dropdown__btn[aria-expanded="true"] {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}
.page-lang-dropdown__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.page-lang-dropdown__list {
  min-width: 60px;
  width: 60px;
  font-size: 0.8125rem;
}
.page-lang-dropdown__list{
  border: none;
}
.page-lang-dropdown__list .dropdown-item.active,
.page-lang-dropdown__list .dropdown-item:active {
  color: #3B6086;
  background-color: #f0f0f0;
}

.page_account #enter {
  position: absolute;
  top: 0;
  right: 20px;
  display: inline-block;
  font-size: 12px;
  font-weight: 300;
  margin-top: -25px
}

.page_account .menu_second>a {
  padding-bottom: 7px;
  display: inline-block;
  border-bottom: 3px solid transparent;
  font-size: 16px;
  color: #444;
  text-transform: uppercase;
  margin-right: 30px
}

.page_account .menu_second>a.selected,
.page_account .menu_second>a:hover {
  border-bottom: 3px solid #2198FA
}

.toptitle {
  display: table;
  width: 100%;
}

.toptitle>div:first-child {
  display: table-cell;
  vertical-align: bottom
}

.toptitle>div:last-child {
  display: table-cell;
  text-align: right;
  vertical-align: bottom
}

.toptitle .schet {
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
  text-align: left;
  background: url(/images/account.png) no-repeat 0% 50%;
}

.toptitle #addpay {
  vertical-align: bottom;
  margin-left: 20px
}

.toptitle #exit {
  vertical-align: middle;
  margin-left: 5px
}

.line {
  background: #D5D5D5;
  height: 1px;
}

.page-balance .period_show {
  cursor: pointer;
  cursor: hand;
  color: #229FFF
}

.block {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
}

.page-balance .mainaddpay2 {
  margin-left: 10px
}

.page-balance .balance_title {
  display: table;
  margin-bottom: 10px
}

.page-balance .balance_title>div {
  display: table-cell;
  vertical-align: top;
  padding-bottom: 20px;
  border-bottom: 1px solid #E8EBF0;
  padding-right: 30px
}

.page-balance .balance_title>div:last-child {
  border-bottom: 1px solid #229FFF;
}

.page-balance #zab {
  margin-bottom: 20px
}

/*---------------------- page_page */
.page-page {
  padding-bottom: 40px;
  font-size: 18px;
  font-weight: 300
}

.page-page ul {
  padding: 0px;
  margin-left: 0px
}

.page-page li {
  list-style-type: none;
  padding: 0px;
  margin: 0px
}

.page-page li:before {
  color: #229FFF;
  /* Цвет маркера */
  content: "•";
  /* Сам маркер */
  padding-right: 10px;
  /* Расстояние от маркера до текста */
  padding-left: 0px;
  font-size: 18px;
}

.page-info {
  display: block;
  width: 100%;
  height: 100%;
  padding: 80px 40px;
  margin: 0 auto;
  border: 1px solid #D4DFE6;
  box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.1);
  background: #F9F9F9;
}

/* ----------------------- page_pay */
.page-pay .pay-checkout {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.page-pay .pay-checkout .knopki {
  font-size: 16px;
  padding: 10px 24px;
}

.page-pay .pay-checkout-left {
  flex: 1;
}

.page-pay .pay-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
  margin: 0 auto;
  gap: 14px;
  width: 300px;
}

@media (max-width: 768px) {
  .page-pay .pay-checkout {
    flex-direction: column;
  }
  .page-pay .pay-checkout-left {
    width: 100%;
    flex:auto;
    align-items: center;
  }
  .page-pay .pay-checkout .knopki {
    width: 100%;
  }
  .page-pay .pay-logos {
    width: 100%;
    justify-content: center;
  }
}

.page-pay .pay-logo {
  max-height: 32px;
  object-fit: contain;
}

.page-pay .method > a {
  font-size: 14px;
  display: inline-block;
  border: 1px solid #8ED1D7;
  text-align: center;
  padding: 10px;
  width: 180px;
  height: 120px;
  vertical-align: top;
  padding-top: 45px;
  cursor: pointer;
  cursor: hand;
  margin: 5px
}

.page-pay .method #cash {
  background: url(../images/cash.png) no-repeat 50% 10px #fff;
}

.page-pay .method #card {
  background: url(../images/vmc.png) no-repeat 50% 15px #fff;
}

.page-pay .method #liqpay {
  background: url(../images/liqpay.png) no-repeat 50% 20px #fff;
}

.page-pay .method #privat24 {
  background: url(../images/privat24.png) no-repeat 50% 18px #fff;
}

.page-pay .method #qr {
  background: url(../images/qr.png) no-repeat 50% 10px #fff;
}

.page-pay .info {
  font-size: 16px;
  font-weight: 300
}

.page-pay .wait {
  color: #FF8A48
}

.page-pay .ok {
  color: #70B23D
}

/* ------------------ select stuler*/
.jq-selectbox {
  width: 100%;
  margin: 0;
  padding: 0;
}

.jq-selectbox ul {
  margin: 0;
  padding: 0;
}

.jq-selectbox ul::-webkit-scrollbar {
  width: 3px;
}

.jq-selectbox ul::-webkit-scrollbar-button {
  display: none;
}

.jq-selectbox ul::-webkit-scrollbar-track {
  width: 3px;
  background: #fff;
}

.jq-selectbox ul::-webkit-scrollbar-thumb {
  background: #229FFF
}

/* title*/
.jq-selectbox__select-text {
  padding-left: 10px
}

.jq-selectbox__select {
  height: 35px;
  padding: 6px 35px 5px 2px;
  border: 1px solid #d1d1d1;
  background: #fff;
  box-shadow: none;
  font: 14px 'Roboto', sans-serif;
  color: #333;
  text-shadow: none;
  border-radius: 4px;
}

.jq-selectbox.focused .jq-selectbox__select {
  border: 1px solid #7BC4FD;
}

.jq-selectbox__select:hover {
  background: #fff;
  cursor: pointer;
  cursor: hand
}

.jq-selectbox__select:active {
  background: #fff;
  box-shadow: none;
}

/* dropdown*/
.jq-selectbox__dropdown {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  margin-top: -4px;
  border: 1px solid #7BC4FD;
  border-top: none;
  border-radius: 4px;
  background: #FFF;
  box-shadow: none;
}

/* arrow*/
.jq-selectbox__trigger {
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  height: 100%;
  border-left: none;
}

.jq-selectbox__trigger-arrow {
  border-top: none;
  border-left: none;
  border-right: none;
  position: absolute;
  top: 50%;
  right: 10px;
  width: 11px;
  height: 6px;
  transform: translatey(-50%);
  background: url(../images/arrow_button.png) no-repeat
}

.jq-selectbox:hover .jq-selectbox__trigger-arrow {
  border-top: none;
  border-left: none;
  border-right: none
}

.jq-selectbox.disabled .jq-selectbox__trigger-arrow {
  border-top: none;
  border-left: none;
  border-right: none
}

/*list item*/
.jq-selectbox li {
  border: 1px solid #ffffff;
  min-height: 35px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  margin: 0px;
  padding: 6px 30px 5px 10px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
}

.jq-selectbox li.selected {
  background-color: #ECF7FF;
  color: #72533F
}

.jq-selectbox li:hover {
  background-color: #ECF7FF;
  color: #72533F;
  cursor: pointer;
  cursor: hand
}

/*--------------------- checkbox styles*/
.checkbox {
  vertical-align: top;
  margin: 0 0 0 0;
  width: 18px;
  height: 18px;
}

.checkbox+label {
  cursor: pointer;
}

.checkbox:not(checked) {
  position: absolute;
  opacity: 0;
}

.checkbox:not(checked)+label {
  position: relative;
  padding: 0 0 0 30px;
}

.checkbox:not(checked)+label:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid #7BC4FD;
  background: none;
  transition: all .2s;
  background: 50% 50% rgba(190, 22, 35, 0.0);
}

.checkbox:checked+label:before {
  background: url(../images/ok.png) no-repeat 50% 50% #229FFF;
  border-color: #229FFF
}

/* -------------------- overlay */

.modal {
  background-color: rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 300px;
  overflow-y: scroll;
  overflow-x: auto;
  display: none;
  padding: 0 20px;
  z-index: 2000;
}

.close {
  cursor: pointer;
  cursor: hand;
  position: absolute;
  top: 0;
  right: 0;
  height: 30px;
  width: 30px;
  background: url(../images/close.png) no-repeat 50% 50%;
}

.modal_inner {
  max-width: 500px;
  background: #fff;
  position: absolute;
  padding: 30px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  z-index: 10000;
  border-radius: 5px;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
}

.modal_inner #sum {
  width: 100px
}

.modal_inner #polesum {
  margin: 30px 0px
}

.modal_inner #poleknopok>div {
  display: inline-block;
  padding-right: 10px
}

.modal_inner #poleknopok>div:first-child {
  width: 50px
}

.modal_inner #polesum>div {
  display: inline-block;
  padding-right: 10px
}

.modal_inner #polesum>div:first-child {
  width: 50px
}

.blur {
  /*-webkit-filter: blur(3px);-moz-filter: blur(3px);-o-filter: blur(3px);-ms-filter: blur(3px);filter: blur(3px);*/
}

.showing_modal {
  overflow: hidden;
}

#site-content {
  background-color: #fff;
  border: 1px solid #eee;
  padding: 10px;
}

/* User news list: small thumbnail on the left */
.page-news__thumb {
  max-width: 100%;
}
.page-news__thumb-link {
  line-height: 0;
}
.page-news__thumb-img {
  display: block;
  object-fit: cover;
  border-radius: 0.25rem;
}
.page-news__excerpt {
  word-wrap: break-word;
}

/* News single: lead image 300px on the left, body on the right */
.page-news-item__media {
  width: 18.75rem; /* 300px */
  max-width: 100%;
}
.page-news-item__lead {
  width: 100%;
  max-width: 18.75rem;
  height: auto;
}
.page-news-item__body.page_page {
  min-width: 0;
}