﻿* {box-sizing: border-box;}
body {
  font-family: sans-serif;
  background-color: #f1f1f1;
}
a {
  color: #063f44;
}
.common img {
  margin: 10px;
  vertical-align: middle;
  border: 1px solid #aaa;
}
.center {
  text-align: center;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.middle {
  vertical-align: middle;
}
.dblline {
  line-height: 1.5em;
}
header {
  width: 100%;
  background-color: #eee;
}
.prefix {
  width: 100%;
  height: auto;
  color: white;
  background-color: red;
  border: 2px solid white;
  padding: 5px 30px;
}
.prefcontact {
  float: right;
  border-left: 2px solid white;
  padding: 0 20px;
  color: white;
}

.logo {
  display: inline-block;
  background-image: url("/img/logo.png");
  background-repeat: no-repeat;
  width: 300px;
  height: 60px;
  float: left;
  border-top: 1px solid red;
  border-right: 1px solid #ddd;


}
nav {
  position: relative;
/*  overflow: hidden;*/
  padding: 10px 10px 0px 10px;
  border: none;
  font-family: sans-serif;
}
.wrap0 {
  width: 100%;
  display: inline-block;
  margin-bottom: -2px;
}
/* Style menu */
div.topmenu {
/*  display: inline-block;
  position: absolute;*/
  height: 60px;
  width: auto;
  float: left;
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #fff;
}
/* Style the menu content */
.menulist {
  display: none;
/*  height: 56px;
  padding: 6px 12px;
  border-top: 1px solid red; */
  border: 1px solid red;
  margin-top: -3px;
  background-color: #fff;
  width: 100%;
}
/* Style the buttons inside the menu */
div.topmenu button, div.topmenu a {
  background-color: inherit;
  height: 60px;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 20px 20px;
  transition: 0.3s;
  border-right: 1px solid #ddd;
  font-family: sans-serif;
  font-size: 1em;
}
div.menulist a {
  padding: 14px;
  float: left;
  font-family: sans-serif;
  font-size: 0.8em;
  text-decoration: none;
/*  color: black;*/
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
/*  text-shadow: 1px 1px 1px white;*/
}
div.menulist a:last-child {
  border-right: none;
}

/* Change background color of buttons on hover */
div.topmenu button:hover, div.menulist a:hover {
  background-color: #ddd;
}

/* Create an active/current menu class */
div.topmenu .active, div.menulist .active {
/*  background-color: #55d955;*/
  border-bottom: 5px solid red;
  background-color: #ffaa64;
/*  color: white;*/
}
.menuMM, .acc, .fb {
  height: 60px;
  width: 60px;
  float: right;
  display: none;
  background-color: #ddd;
  text-align: center;
  line-height: 60px;
  text-decoration: none;
  font-size: 60px;
  
}
.contact {
  float: right;
  color: #700d08;
  height: 50px;
  border: 1px solid #063f44;
  border-radius: 10px;
  padding: 10px 20px;
  background-color: white;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
/* Slideshow container */
.slideshow-container {
  padding: 0 10px;
  position: relative;
  margin: auto;
  
}
.mySlides img {
  width:100%;
  height:auto;
}
/* Fading for animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
/* Aphorism block*/
.wrap2 {
  background-color: #46b3b3;
  margin: 0 10px;
/*  margin-left: 10px;
  margin-right: 10px;
  border-left: 4px solid #700d08;*/
  min-height: 46px;
  border: 1px solid #aaa;
  border-radius: 5px;
}
#atext {
  color: #005d5d;
  text-align: right;
  font-family: sans-serif;
  font-size: smaller;
  font-style: italic;
  line-height: 20px;
  padding-left: 20px;
}
#aname {
  font-weight: bold;
  line-height: 20px;
  padding-left: 15px;
  color: #005d5d;
  right: 0;
  white-space: nowrap;
}
.main {
  background-color: #f1f1f1;
/*  display: table;*/
}
.main-block {
  display: inline-block;
  vertical-align: top;
/*  width: 30%;*/
  width: 48%;
  height: 300px;
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 5px;
  margin: 10px;
  top:0;
  overflow: auto;
  padding: 10px;
}
.width60 {
  width: 60%;
}
/*.main-block li{
  list-style: none;
  text-overflow: ellipsis;
}*/
.main-block h1, .modal h1, h1 {
  text-align: center;
  color: #9b0000;
  font-size: 18px;
/*  background-color: #ffb3b3;*/
}
.ndate {
  color: #9b0000;
  font-size: 14px;
  font-weight: bold;
  padding-right: 10px;
}
.modal {
  display: none;
  position: fixed;
/*  width: 100%;*/
  height: 95%;
  margin: auto;
  z-index: 1;
  white-space: normal;
  overflow: auto;
  vertical-align: top;
  background-color: darkgrey;
  border: 1px solid #aaa;
  border-radius: 5px;
  top: 10px;
  padding: 10px;

}
.main-block .close, .imgBlock .close {
  display: none;
}
.main-block:hover, .imgBlock:hover {
  cursor: pointer;
}
.main-block p, .main-block li, .main-block ol{
/*  padding: 0 10px;
  width: 100%;*/
  white-space: nowrap;
  max-height: 4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: smaller;
  margin: 0;
}

.modal .close {
/*  display: inline;*/
  background-color: red;
  border: 3px solid red;
  border-radius: 20% 20%;
  line-height:0.5em;
  color: #eee;
/*  float: right;*/
  font-size: 40px;
  font-weight: bold;
  margin-right: 2%;
  position: absolute;
  right: 0;
}
.modal .close:hover, .modal .close:focus {
  text-decoration: none;
  cursor: pointer;
}
.modal img {
  height: 90%;
  width: auto;
}
.modal figcaption {
  display: none;
}
#lic3 {
  width: 500px;
  height: auto;
}
figure {
  margin: 0;
  height: 100%;
}
.imgBlock {
  display: inline-block;
  padding: 5px;
/*  border: 1px solid #aaa;
  border-radius: 5px;
  background-color: ivory;*/
  width: 240px;
  vertical-align: top;
}
.imgBlock figcaption {
  text-align: center;
  font-variant: small-caps;
}

.common {
/*  display: inline-block;
  vertical-align: top;
  width: 100%;
  height: 300px;*/
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 5px;
  margin: 10px;
  padding: 5px 5%;
  top:0;
/*  overflow: auto;*/
}
.textblock {
  border: 1px solid #aaa;
  border-radius: 5px;

}
.tbl {
  border-collapse: collapse;
  border: 1px solid black;
  margin: auto;
  margin-bottom: 30px;
}
table.exch, table.exchall {
  width: 80%;
  border-collapse: collapse;
  margin: auto;
  margin-bottom: 20px;
/*  margin-top: 20px;*/
}
caption {
  font-size: large;
  color: #700d08;
  margin-bottom: 10px;
}
.exch td, .exchall td {
  border-top: 1px solid #700d08;
  border-bottom: 1px solid #700d08;
  text-align: center;
  font-size: large;
}
.exchall th, .exch th {
  margin: 5px 0px;
  color: #700d08;
  font-weight: normal;
}
.exchall strong {
  margin-top: 50px;
  font-size: large;
  color: #4a0400;
}
.exchall em {
  color: #4a0400;
}
.rates {
  border-collapse: collapse;
  border: 1px solid black;
  width: 90%;
  margin: auto;
  margin-bottom: 30px;
}
.rates th, .rates td {
  border: 1px solid black;
  padding: 10px;
}
.rates th {
  font-stretch: condensed;
  background-color: #E6DCC9;
  text-align: center;
}
.rates tfoot {
  background-color: #ccc;
}
.coins {
  counter-reset: coinscntr;
  border-collapse: collapse;
  border: 1px solid black;
  width: 90%;
  margin: auto;
  margin-bottom: 30px;
}
.coins tr ~ tr {
  counter-increment: coinscntr;
}

.coins td:first-child::before {
  content: counter(coinscntr);
}
.coins th, .coins td {
  border: 1px solid black;
  padding: 10px;
}
.coins th {
  font-stretch: condensed;
  background-color: #E6DCC9;
  text-align: center;
}


table.stavka {
 border-collapse: collapse;
 border: 1px solid black;
 width: 95%;
/* padding: 10px;	*/
  margin-bottom: 20px;
}
td.stavka {
 text-align: justify;
 text-indent: 20px;
 border-collapse: collapse;
 padding: 20px;
 border: 1px solid black;
}
table.stavka td {
 border: 1px solid black;
 padding: 10px;
/*vertical-align: top;
  text-align: right;*/
}
table.stavka th {
 border: 1px solid black;
 padding: 10px;
 background-color: #E6DCC9;
}
table.stavka h3 {
 text-align: center;
}
.tdred td {
  background-color: #FFCCCC;
  color: red;
}
.tdblue td {
  background-color: #CCCCFF;
  color: blue;
}
.wrap3,.wrap4 {
  position: relative;
  margin: 0 10px;
/*  height: 200px;*/
  border: 1px solid #aaa;
  border-radius: 5px;
  background-color: white;
  margin-bottom: 10px;
  padding: 10px 0;
}
.navarrow {
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 20px;
  height: 100%;
  font-size: 42px;
  cursor: pointer;
}
.navarrow:hover {
  color: red;
  font-weight: bold;
}
.larrow {
  left: 0;
  color: black;
}
.rarrow {
  right: 0;
  color: black;
}
.productBox {
  display: block;
  height: 300px;
  margin: 0 20px;
/*  padding: 10px 0;*/
  transition: ease 3s;
  overflow: hidden;
/*  position: relative;*/
}
.productBox a {
  width: 23%;
  height: 100%;
  display: inline-block;
  vertical-align: top;
  background-color: ivory;
  border: 1px solid #aaa;
  border-radius: 5px;
  margin: 0 1%;
/*  top:0;
  overflow: hidden;*/
  transition: ease 0.3s;
  text-decoration: none;
  text-align: center;
/*  font-size: 0.8em;*/
  position: relative;
}
.productBox img {
width: 100%;
height: auto;
  transition: ease 3s;
/*  display: none;*/
}
.productBox h2 {
  position: absolute;
  width: 100%;
  bottom: 10px;
  padding: 10px;
  background-color: red;
  color: white;
}
.productBox p {
  display: none;
}

.productBox a:hover img {
  display: none;
  transition: ease 3s;
}
.productBox a:hover p {
  display: table-cell;
  height: 200px;
  width: 80%;
  margin: auto;
  padding: 0 20px;
  vertical-align: middle;
  transition: ease 3s;
}
/* start */
.tarifJur {
/*  display: block;*/
  display: table;
/*  height: 300px;*/
  margin: 0 20px;
  padding: 10px 0;

  overflow: hidden;
/*  position: relative;*/
}
.tarifJur a, .tarifJur li {
  width: 23%;
  height: 100%;
/*  display: inline-block;*/
  display: table-cell;
  vertical-align: top;
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 5px;
  margin: 0 1%;
  top: 0px;
  text-decoration: none;
  text-align: center;
/*  font-size: 0.8em;*/
  position: relative;
}
.tarifJur h2 {
/*  position: absolute;*/
  width: 100%;
  top: 0px;
  padding: 10px;
  color: #9b0000;
  background-color: #E6DCC9;
  border-style: none;
}
.tarifJur h3, .tarifJur button {
  position: absolute;
  cursor: pointer;
  margin-left: 0px;
  width: 100%;
  bottom: 5px;
  padding: 10px;
/*  color: #9b0000;
  background-color: #E6DCC9;*/
  transform: translateX(-50%);
}

.tarifJur li p {
  min-height: 4em;
  margin: 5px 0;
  padding: 0 20px;
}
.tarifJur em {
  display: block;
  color: darkblue;
  font-size: small;
}

/* end */



h2 {
  text-align: center;
  font-size: 1.2em;
}
button.accord {
  color: #4a0400;
  background-color: #f1f1f1;
  padding: 14px;
  width: 100%;
  font-size: 16px;
  text-align: left;
  border: 1px solid #aaa;
  border-radius: 5px;
  transition: ease 0.3s;
  cursor: pointer;
  margin-bottom: 20px;
}
button.accord:hover {
  background-color: #ccc;
}
button.accord.active {
  background-color: #ccc;
  margin-bottom: 0;
}
button.accord:after {
  content: '\2795';
  font-size: 20px;
  color: #888;
  float: right;
  margin-left: 10px;
}
button.accord.active:after {
  content: '\2796';

}
div.acclist {
  padding: 10px;
  display: none;
  background-color: #f1f1f1;
  border: 1px solid #aaa;
}
.acclist li {
  margin-bottom: 15px;
}
.wrap4 {
  background-color: ivory;
  margin: 0 10px;
  padding: 10px;
/*  margin-left: 10px;
  margin-right: 10px;
  border-left: 4px solid #700d08;*/
  text-align: left;
  border: 1px solid #aaa;
  border-radius: 5px;
}

address {
  display: inline-block;
  font-family: sans-serif;
  font-size: smaller;
  margin: 0 20px;
  padding: 0 10px;
  border-right: 1px solid #aaa;
}
.justblock {
  display: inline-block;
  vertical-align: top;
}
pre {
  margin: 0;
  font-family: sans-serif;
  font-size: smaller;
  padding: 0 10px;
}

section {
  position: relative;
}
.wrap1 {
  border: 1px solid black;
  background-color: #9b0000;
  margin: 5px 10px;
  padding: 10px;
  font-size: 0.8em;
}
.selected {
  width: 80%;
  border-left: 5px green solid;
  padding-left: 10px;
}
.selected li {
  margin-left: 10px;
}
.dbo a{
  float: right;
  right: 20px;
  padding: 10px 20px;
  margin: 20px;
  cursor: pointer;
  border: 1px solid #aaa;
  border-radius: 5px;
  text-decoration: none;
  background-color: PaleGreen;
/*  background-color: #ddd;*/
}
.dbo a:hover {
/*  background-color: #aaa;*/
  border-color: black;
}
.msgtime {
  margin: 0 20px;
}
.nolist > li{
  list-style-type: none;
  margin-bottom: 10px;
}
.tbl {

}
.sitemap {
/*  margin: 0 10px;*/
  display: inline-block;
  width: 23%;
  height: 100%;
  vertical-align: top;
/*  border-right: 1px solid grey;*/
  color: white;
  background-color: #fff;
  background-color: #9b0000;
  padding-left: 10px;
  line-height: 1em;
}
.sitemap h1 {
  font-size: 16px;
  color: white;
  background-color: inherit;
}
.sitemap a, .sitemap a:visited {
  padding-top: 12px;
  display: block;
  color: white;
  background-color: #9b0000;
  text-decoration: none;
}
.sitemap a:hover, .under {
  text-decoration: underline;
}
.remm {
  font-style: oblique;
}
.bold {
  font-weight: bold;
  margin: 20px;
  text-align: justify;
}

.hidden {
  display: none;
}
h3 {
margin-left: 20px;
font-size: 1em;
}
.note {
  background-color: gold;
  padding: 5px 10px;
  border: 1px solid black;
}
.kredtbl {
 border-collapse: collapse;
 list-style-type: circle!important;
}
.kredtbl th, .kredtbl td {
 border: 1px solid black;
 vertical-align: middle;
 padding: 10px 15px;
}
.kredtbl th {
 text-align: left;
}
.kredtbl th[colspan="5"]{
  border-left: 0 solid black;
  border-right: 0 solid black;
}
label {
	display: block;
}
#credReq, #askReq, #rkoReq {
  display: none;
  height: auto;
	padding: 25px;
}
.lPhone {
text-align: center;
}
.lPhone + label {
  display: none;
}
.lPhone:checked + label {
  display: block;
  position: absolute;
  bottom: 28%;
	left: 50%;
	transform: translateX(-50%); 
  white-space: nowrap;

}
input[type=radio]  {
margin: 0 5px 0 20px;
}
input[type=radio]:checked + span, input[type=radio]:checked + label+span  {
color: Green;
}

input[type=text], input[type=number], input[type=email], input[type=tel], select, textarea {
  width: 90%;
  padding: 10px;
/*  margin: 5px 0 22px 0;*/
  border: none;
//  background: #f1f1f1;
  background: lightgrey;
}
#credReq td {
  text-align: left;
padding-left: 10px;
}
#credBtn {
  margin: 5px 20px;  
  padding: 10px;
  background-color: paleGreen;
}
.lk {
  display: inline-block;
  border: 1px solid gray;
  border-radius: 5px;
  padding: 10px;
/*  width: 100px;
  height: 30px;*/
  background-color: paleGreen;
  text-decoration: none;
  cursor: pointer;
}
.lk:hover {
  border-color: black;
}
.btn {
  display: block;
	margin: auto;
  border: 1px solid gray;
  border-radius: 5px;
  padding: 10px;
/*  width: 100px;
  height: 30px;*/
  background-color: paleGreen;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  border-color: black;
  background-color: lightGreen;
}
.selTarif {
  bottom: 25px;
  position: absolute;
  margin: auto;
  display: none;
}
.selTarif label:before {
  content:"q";
  display: inline-block;
  width: 10px;
  height: 10px;
}

.formsubmit {
  margin: 20px 0;
  padding: 10px;
	padding-bottom: 3%;
  text-align: center;
}
.devout {
  padding: 50px;
}
.devin {
  margin: auto;
  width: 200px;
  height: 200px;
}
.acc {
  display: block;
  font-size: 33px;
  position: relative;
  cursor: pointer;
}
.acc:hover {
  background-color: yellow;
}
.acc .acctip {
  visibility: hidden;
  background-color: black;
  width: max-content;
  font-size: 20px;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 6px;
  border-color: transparent;
  position: absolute;
  z-index: 1;
  top: -5px;
  right: 120%;
}
.acc:hover .acctip {
  visibility: visible;
}
.acc:hover .acctip::before {
  content: "Версия для слабовидящих";
}
.acc .acctip::after {
  content: "";
  position: absolute;
top: 50%;
left: 100%;
margin-top: -5px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent transparent black;
}

.fb {
  display: block;
//  background-image: url("/img/pay.jpg");
//  background-repeat: no-repeat;
  font-size: 33px;
  position: relative;
  cursor: pointer;
}

.fb a, .fb a:visited  {
  text-decoration: none;
}
.fb:hover {
  background-color: white;
}
.fb .fbtip {
  visibility: hidden;
  background-color: DarkGreen;
  width: max-content;
  font-size: 18px;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 6px;
  border-color: transparent;
  position: absolute;
  z-index: 1;
  top: -5px;
  right: 120%;
}
.fb:hover .fbtip {
  visibility: visible;
}
.fb:hover .fbtip::before {
  content: "Форма для обратной связи с банком";
}
.fb .fbtip::after {
  content: "";
  position: absolute;
top: 50%;
left: 100%;
margin-top: -5px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent transparent black;
}
.fblink {
  text-decoration: underline;
  cursor: pointer;
}
.fblink:hover, a:hover {
	color: green;
}
.pd {
  margin: 0 10px;
/*  height: 200px;*/
  border: 1px solid #aaa;
  border-radius: 5px;
  background-color: white;
  margin-bottom: 10px;
  padding: 20px;

}
.fromReq {
//	float: right;
	margin-left: auto;
//	right: 0;
	width: 60%;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
.ttip {
  position: relative;
  cursor: pointer;

}
.ttip .ttiptext {
  visibility: hidden;
//  visibility: visible;
  background-color: DarkRed;
  width: 200px;
  font-size: 18px;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 6px;
  border-color: transparent;
  position: absolute;
  z-index: 1;
  top: 150%;
  right: 5%;

}
.ttip .ttiptext::after {
  content: "";
  position: absolute;
//top: 50%;
//left: 100%;
bottom: 100%;
left: 50%;
margin-left: -5px;
//margin-top: -5px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent black transparent ;

}
.ttip:hover .ttiptext {
  visibility: visible;
}


/* On smaller screens, decrease text size */
@media only screen and (max-width: 600px) {
nav {
  padding: 0;
}
.menuMM {
  display: inline-block;
}

.text {
  font-size: 11px;
}
.logo {
/*  display: none;*/
  background-image: url("/img/logo1.png");
  width: 60px;
}
div.topmenu, .listMM {
  float: none;
  overflow: unset;
  display: none;
}
div.topmenu a, div.topmenu button {
  width: 100%;
}
.main-block, .sitemap, .wrap2, table.exchall, .tarifJur a {
  display: block;
  width: 100%;
  margin: 0;
}
.slideshow-container, .wrap2, .wrap3, .prefix {
  display: none;
}
.fromReq {
//	float: right;
//	margin-left: au0%;
//	right: 0;
	width: 100%;
}

}
