html, body {
	font-family: 'Roboto', sans-serif;
	font-weight: normal;
	font-size: 14px;
	color: #333;
	min-height:100%;
}

/* ---- main wrap block ----- */
body {
	min-height: 100%;
	height: auto;
}

/* ---- fix for correct bgswitcher on phone ----- */
body>div:first-child,
body>div:first-child>div {
	background-position: 50% 50%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-origin: padding-box;
	background-clip: border-box;
	background-attachment: fixed;
	height: 100%!important; /* fixing bgswitcher when window height changes */
	width: 100%!important; /* fixing bgswitcher when window width changes */
}

noscript .alert {
	margin-top: 5rem;
}

#error_msg, .error_msg {
	margin-top: 1.5rem;
	color: red !important;
	line-height: 1.5rem;
}

.register_button, .action_goto_signin {
	background-color: #FFFFFF;
	border-color: #FFFFFF;
}

.xdebug-var-dump {
	background-color: #fff;
	opacity: 0.9;
}

/* means that element visability will be manipulated by JS */
.js_hidden {
	display: none!important;
}

.global_wrap {
  padding-top: 1.4rem;
  margin-bottom: 8rem;
}

.loading-indicator-overlay {
	display: none;
}

.action_processing .loading-indicator-overlay {
	display: block;
}

.loading-indicator {
	height: 80px;
	width: 80px;
	background: url( '../images/waiting.gif' );
	background-repeat: no-repeat;
	background-position: center center;
	margin: 0 auto;
	margin-top: 5rem;
}

.loading-indicator-overlay {
	background-color: #FFFFFF;
	opacity: 0.6;
	filter: alpha(opacity = 60);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99;
}

/* --- fix needs for jquery bgswitcher correct height calculation --- */
.bg_switcher_helper {
	position: absolute;
	z-index: -5;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.btn-xlg {
	padding: .90rem 1.50rem;
	font-size: 1.43rem;
	line-height: 1.333333;
	border-radius: .3rem;
}

.default_checkbox input {
	vertical-align: middle;
}

#capslock_notice {
	color: #d9534f;
}

/* ----- AFTER LOGIN WELCOME BLOCK ------ */
.info_text_box {
	background: #333;
	padding: 30px 30px 30px 30px;
	border: solid 1px #9F9F9F;
	color: #FFF;
	font-size: 1.14rem;
}

#after_login_welcome .info_text_box {
	background: #333;
	padding: 30px 30px 30px 30px;
	text-indent: 30px;
	border: solid 1px #9F9F9F;
	color: #FFF;
	text-align: center;
	font-size: 1.14rem;
}

#after_login_welcome {
	margin-top: 5rem;
}

#after_login_welcome .login_continue {
	text-align:center;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
} 

#after_login_welcome .btn {
	max-width: 258px;
	width: 100%;
}

#rules_accept_after_login .buttons_block {
	max-width: 260px;
}

.container.info_text_box {
  height:auto !important;
  min-height: 85px !important;
}

/* ------ MAIN CONTENT BLOCK -------- */
#main_content {
  position: relative;
  margin-top: max(calc(50vh - (850px / 2)), 3rem);
}

/* ------ MAIN CARD -------- */
#main_card_block {
	margin-bottom: 2rem;
	width: auto;
}

#main-content, #main_card_block {
	z-index: 9;
}

#main_card_block .card-block {
	position: relative;/* for loading overlay */
}

.main_card {
	background-color: transparent;
	border: 0;
	margin: 0 auto;
	text-align: center;
	max-width: 445px;
	z-index:10;
  display: block;
}

.main_card .card-header {
	background-color: #fff;
	border-bottom: 0;
	text-align: center;
	padding: 2rem 0.2rem 1rem 0.2rem;
	height: 120px;
}

.main_card .main_logo {
	display: inline-block;
	max-width: 100%;
	max-height: 100%;
}

.main_card .card-block{
	background: rgba(0, 0, 0, .8);
	color: #fff;
	padding: 1rem 5rem 2rem 5rem;
}

.main_card .card-block a{
	color: #fff;
}

.main_card .card-block form{
	margin-bottom: 1.5rem;
}

.main_card input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0px 1000px white inset;
	-moz-box-shadow: 0 0 0px 1000px white inset;
	box-shadow: 0 0 0px 1000px white inset;
}

.main_card .form-control:focus, .main_card .form-control:hover, .main_card .form-control:active {
	outline:none !important;
	outline-style:none !important;
	border: 1px solid #CCCCCC;
	border-bottom: 0;
}

.form_submit {
	font-weight: bold;
	font-size: 1.42rem;
}

.main_card .form-control{
	border-radius: 0 0 0 0;
	background-color: #fff;
	font-size: 1.14rem;
	border: 1px solid #a2a2a2;
	border-bottom: 0;
}

.main_card .form-control:first-of-type {
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
}

.main_card .form-control:last-of-type {
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom: 1px solid #a2a2a2;
}

.main_card .input-group .form-control {
	border-radius: 0 0 0 0;
}

.main_card .input-group:first-of-type .form-control {
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-bottom: 0;
}

.main_card .input-group:last-of-type .form-control {
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom: 1px solid #a2a2a2;
}

.main_card .input-group-addon {
	min-width: 6rem;
	max-width: 6rem;
}

.main_card .input-group-addon {
  border-right: 0;
  background-color: #fff;
  padding-left: 1.5rem;
  color: #a2a2a2;
  border-color:#a2a2a2;
  border-top: 1px solid #a2a2a2;
  font-size: 1.14rem;
  border-radius: 0 0 0 0;
  height: 42px;
  padding: 0;
  line-height: 2.6;
  text-align: center;
}

.main_card .input-group .input-group-addon + .form-control {
  border-left: 0;
  background-color: #fff;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-color: #a2a2a2;
  background-clip: border-box;
}

.main_card .input-group .input-group-addon + .form-control:focus {
  outline: none !important;
  box-shadow: none !important;
}

.main_card .input-group .input-group-addon, .card-text .slogan {
  user-select: none !important;
}

.main_card .input-group:first-of-type .input-group-addon {
  border-top-left-radius: 5px;
  border-top: 1px solid #a2a2a2;
  border-bottom: 0;
}

.main_card .input-group:last-of-type .input-group-addon {
  border-bottom-left-radius: 5px;
  height:43px;
  border-bottom: 1px solid #a2a2a2;
}

.form-signin .input-group,
.password_forget .input-group {
	display: block !important;
}

.form-signin .input-group .input-group-addon,
.form-signin .input-group input,
.password_forget .input-group .input-group-addon,
.password_forget .input-group input {
	display: inline-block!important;
}

.form-signin .input-group input,
.password_forget .input-group input {
	width: calc(100% - 6rem);
	float: right;
	height: 42px;
}

.form-signin .form-group .input-group:last-of-type input,
.password_forget .form-group .input-group:last-of-type input {
	height: 43px;
}

.form-signin .form-group .input-group .input-group-addon,
.password_forget .form-group .input-group .input-group-addon {
	line-height: 3.4rem;
	user-select: none;
}


/* ---- PLACEHOLDER ANIMATION ---- */

.main_card .form-control::-webkit-input-placeholder, main_card .form-control:-ms-input-placeholder, .main_card .form-control:-moz-placeholder, .main_card .form-control::-moz-placeholder {
	text-indent: 0px;   transition: text-indent 0.5s ease;
}
.main_card .form-control:focus::-webkit-input-placeholder, .main_card .form-control:focus::-moz-placeholder, .main_card .form-control:focus:-moz-placeholder, .main_card .form-control:focus:-ms-input-placeholder {
	text-indent: 500px; transition: text-indent 0.5s ease;
}

/* ---- PASSWORD FORGOT BLOCK ----- */
.create_acc_advice_block {
	margin-top: 3rem;
}

/* ----- FOOTER ------ */
html {
	position: relative;
	min-height: 100%;
}

#footer {
	position: absolute;
	bottom: 0px;
	width: 100%;
}

#footer .footer_inner {
	position: relative;
}

#footer .footer_helper_wrap {
    margin: 0 auto;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    text-align: center;
    min-height: 67px;
    padding-top: 1rem;
    height: auto;
}

#footer .footer_logo {
	max-width: 88px;
	vertical-align: baseline;
	display: inline-block;
}

#footer .nav {
  margin-left: 2rem;
}

#footer .nav .nav-item {
  position: relative;
  top: -10px;
}
#footer .context {
	padding-right: 2rem;
  position: relative;
  top: -10px;
}

/* ----- tip MODAL ------ */
.info_c_modal {
	text-align: center;
}

.info_c_modal .modal-dialog {
	display: inline-block;
	vertical-align: middle;
	text-align: left;
}

.modal_center {
	text-align: center;
}

/* .modal_center .modal-dialog {
	display: inline-block;
	vertical-align: middle;
	text-align: left;
} */

.form-control {
	line-height:1.7 !important;
}

.text-center {
	text-align: center;
}

.p-b-4 {
	padding-bottom: 3.5rem;
}

.p-b-5 {
	padding-bottom: 4rem;
}

.p-b-5 {
	padding-bottom: 4.5rem;
}

.p-b-6 {
	padding-bottom: 5rem;
}

/* BANK AUTH START */
.bank-auth-container {
	background-color: #FFFFFF;
	min-height:112px;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

.bank-auth-descr {
	font-size: 13px;
	color: #222e42;
	padding-top:16px;
	padding-bottom:8px;
  background-color: #FFFFFF;
}

.bank-auth-descr span:last-child {
	background-image: url(/images/lock.svg);
  background-repeat: no-repeat;
  position: relative;
  background-size: 8px 11px;
  width: 8px;
  height: 11px;
	margin-left: 10px;
  display: inline-block;
  content: "";
}

.bank-auth-banks .bank {
	display: inline-block;
	width: 116px;
	height: 46px;
	border-radius: 2px;
	background-color: #ffffff;
	border: solid 1px #dfdfdf;
	cursor:pointer;
	margin:4px;
	position: relative;
}

.bank-auth-banks .bank img {
	max-width: 90px;
	width: auto;
	max-height: 24px;
	height: auto;
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	margin:auto;
}

.bank-auth-banks .bank-cita {
	background-color: #ED1A3B;
}

.bank-auth-banks .bank-cita img {
	max-width: 100%;
	max-height: 100%;
}

.bank-auth-first button:last-child {
	margin-bottom: 2rem;
}
/* BANK AUTH END */

.language-switcher {
	position: relative;
	top: 0;
	right: 0;
	background: #ffffff;
	border: 1px solid transparent;
	border-radius: .25rem;
	height: 2.5rem;
	padding: .45rem .75rem;
	line-height: 1.5rem;
	z-index: 99;
	width: 8.7rem;
}

.language-switcher.excl {
	width: 6.25rem;
}

.language-switcher a {
	width: 2.142rem;
	height: 1.428rem;
	display: inline-block;
	font-size: 1.25rem;
	position: relative;
	top: 1px;
	padding: 0;
	margin: 0;
	text-decoration: none;
	color: black;
	opacity: 0.2;
}

.language-switcher a img {
	width: auto;
	height: 1.428rem;
	position: absolute;
	top: 0;
}

.language-switcher a.active, .language-switcher a:hover {
	opacity: 1;
}

.btn {
	cursor: pointer;
}

.btn-light {
	background-color: #fff;
	border-color: #fff;
}

.cookies_alert {
  max-width: 50vw;
  margin: 0 calc(50% - 25vw);
  background-color: rgba(0, 0, 0, .8);
  border-color: rgba(0, 0, 0, .8);
  color: #fff;
  position: fixed;
  top: -50rem;
  z-index: 11;
  padding: 0.5rem 2rem;
}

.cookies_alert.active {
  animation: cookies_fall .3s linear forwards;
  top:0.5rem;
}

.cookies_button, .cookies_text {
  position: relative;
  display: inline-block;
	text-align: center;
}

.cookies_text {
  width: calc(100% - 90px);
}

.cookies_button {
  width: 90px;
  text-align: right;
}

.register_button {
	width: 100%;
	line-height: 1.5;
	border-radius: .3rem;
	padding: .5rem 1rem;
	font-weight: bold;
	font-size: 1.42rem;
	color: #212529;
}

.main-image-container {
	position: relative;
	margin: 0 auto;
	max-width: 1108px;
}

.image-container {
	width: 100%;
	max-height: 348px;
	overflow: hidden;
	margin-top: 2em;
}
.offer-image {
	max-width: 100%;
	display: block;
	height: auto;
	position: relative;
}

.smsContainer {
	padding: 1rem 2rem;
	background: #ffffff;
	border-radius: 0.5rem;
	text-align: center;
	width: 50%;
	margin-top: 7rem;
}

@-webkit-keyframes cookies_fall {
  from {
    -webkit-transform: translateY(-50rem);
    transform: translateY(-50rem);
  }
  to {
    -webkit-transform: translateY(0.5rem);
    transform: translateY(0.5rem);
  }
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

/* DOWN media queries */
@media (max-width: 1199px) {
	.no-padding-lg-down { padding: 0; }
	.no-margin-lg-down { margin: 0; }
}

@media (max-width: 991px) {
	html {
		font-size: 12px;
	}
	.no-padding-md-down { padding: 0!important; }
	.no-margin-md-down { margin: 0!important; }
}

@media (max-width: 767px) {
	.no-padding-sm-down { padding: 0!important; }
	.no-margin-sm-down { margin: 0!important; }
}

@media (max-width: 543px) {
	.no-padding-xs-down { padding: 0!important; }
	.no-margin-xs-down { margin: 0!important; }

	.main_card .card-header {
		height: 80px;
	}
	.main_card .card-block{
		padding: 1.5rem;
	}

	#main_content {
		margin-top: 4rem;
	}

	#footer .nav {
		flex-direction: column;
		margin-left: 0;
	}
	#footer .nav .nav-item {
		top: 0;
	}
}

@media (max-width: 768px) {
  .cookies_alert {
    max-width: 94vw;
    width: auto;
    margin: 0 calc(50% - 47vw);
  }

  .cookies_button, .cookies_text {
    position: relative;
    display: block;
  }

  .cookies_text {
    width: 100%;
  }

  .cookies_button {
    width: 100%;
    text-align: center;
    margin: 1rem auto;
  }
	.float {
		width: calc(100% - 2rem) !important;
		left: 1rem;
	}
}

/* UP media queries */
@media (min-width: 1200px){
	.no-padding-xl-up { padding: 0!important; }
	.no-margin-xl-up { margin: 0!important; }
}


@media (min-width: 992px) {
	.no-padding-lg-up { padding: 0!important; }
	.no-margin-lg-up { margin: 0!important; }
	.form-signin .form-group .input-group .input-group-addon {
		line-height: 3rem !important;
	}
}

@media (min-width: 768px) {
	.no-padding-md-up { padding: 0!important; }
	.no-margin-md-up { margin: 0!important; }
}

@media screen and (max-width: 768px) { 
	.badgesBox {
		justify-content: center;
		flex-wrap: wrap;
		align-items: center;
	}
	.oneBadge {
		margin: 0 5px;
	}    
	.appBadges .ios {
		margin-top: -9px !important;
	}
}

@media (min-width: 544px) {
	.no-padding-sm-up { padding: 0!important; }
	.no-margin-sm-up { margin: 0!important; }
}

@media (max-width: 1200px) and (min-width: 992px) {
}

@media (max-height: 767px) {
	#main_content {
		margin-top: 4rem;
	}
}

@media (max-width: 466px) {
	.appBadges {
		height: 100px !important;
	}
}
