/*
Theme Name: AllRoutes
Template: wp-bootstrap-starter
Description: Child theme for the WP Bootstrap Starter theme
Author: Gall
Author URI: https://gall-studio.ru
Version: 1.0
Text Domain: allroutes
*/

body * {
	outline: none;
}

h2 {
	font-size: 1.125rem;
}
.btn.focus {
	box-shadow: none !important;
}
.ajaxup-upload.upload-notice.ajaxup-uploaded:after {
	content: "";
	position: absolute;
    top: 0.25rem;
    right: -1rem;
	width: 1.5rem;
    height: 1.5rem;
    background: url('inc/assets/images/ok.png') no-repeat;
    background-size: cover;
}
.modal hr {
	width: 100%;
    margin-top: 0.5rem;
}
.modal-error {
	width: 100%;
    text-align: center;
    font-size: 0.875rem;
    color: #f00;
}
.card {
	margin-bottom: 1rem;
}
.card .card-heading {
	display: flex;
    padding: 0.25rem 0;
	background: #337ab7;
	/*background: #563d7c;*/
}
.card .card-heading .card-title {
	margin: auto;
	color: #fff;
	font-size: 0.875rem;
}
.card .card-body {
	font-size: 0.875rem;
    text-align: center;
    padding: 0.5rem;
}
.card .card-footer {
	padding: 0.5rem;
}
.panel {
	width: 100%;
	font-size: 0.875rem;
	font-weight: 500;
    text-align: center;
    padding: 0.25rem 0;
    background: #228B22;
    color: #fff;
}
.panel a {
	color: #fff;
	text-decoration: underline;
}
.panel a:hover {
	opacity: 0.8;
}
.navbar-brand > a:hover {
	color: #fff;
}
header#masthead {
	padding-top: 0.25rem;
    padding-bottom: 0.5rem;
}
 header#masthead  .container .row {
	line-height: 1.875rem;
}
header#masthead  .container .row .user-logout {
	float: left;
    color: #fff;
	font-size: 0.875rem;
    font-weight: 500;
}
header#masthead  .container .row .user-logout a {
	color: #cdbfe3;
	text-decoration: none;
}
header#masthead  .container .row .user-logout a:hover {
	color: #fff;
}
header#masthead  .container .row .balance {
    color: #fff;
	font-size: 0.875rem;
    font-weight: 500;
}
header#masthead  .container .row .top-up {
	color: #cdbfe3;
	font-size: 0.875rem;
    font-weight: 500;
	text-decoration: none;
}
header#masthead  .container .row .top-up:hover {
	color: #fff;
}
header#masthead .login {
	float: left;
	margin-right: 1rem;
}
header#masthead .login label {
	margin-bottom: 0;
}
header#masthead .login .btn,
header#masthead .login input {
	font-size: 0.875rem;
	line-height: normal;
    font-weight: 500;
	padding-top: 0;
	padding-bottom: 0;
	vertical-align: baseline;
}
header#masthead .auth {
	color: #cdbfe3;
	font-size: 0.875rem;
    font-weight: 500;
	text-decoration: none;
}
header#masthead .auth:hover {
	color: #fff;
}
header#masthead  hr {
	margin: 0.25rem 0;
    border-color: #fff;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li:nth-last-child(1) > a {
	padding-right: 0;
}
#content.site-content {
	min-height: calc(100vh - 144px);
	padding-top: 1rem;
}
.menu-lang-menu-container {
	text-align: right;
}
#menu-lang-menu {
	list-style: none;
	margin-bottom: 0;
}
#menu-lang-menu a {
	color: #cdbfe3;
	font-size: 0.875rem;
    font-weight: 500;
	text-decoration: none;
}
#menu-lang-menu a:hover {
	color: #fff;
}
.form {
	margin-bottom: 1.5rem;
}
.form label {
	position: relative;
	display: table;
	margin-top: 1.5rem;
}
.form label input {
	outline: none;
	padding-left: 0.25rem;
	padding-right: 0.25rem;
}
.form label input + span {
	position: absolute;
    top: 0.25rem;
    left: 0.5rem;
    opacity: 0.7;
    font-size: 0.875rem;
	transition: all .3s ease;
}
.form label input:focus + span,
.form label input.no-empty + span {
	top: -1.25rem;
	font-size: 0.75rem;
	opacity: 1;
	font-weight: 700;
}
.form input[type="submit"] {
	margin-top: 1.5rem;
}
.phone-ru + label {
	display: none;
}
.phone-confirm {
	margin-left: 0.25rem;
    font-size: 0.875rem;
}
.confirm-ok {
	margin-left: 0.25rem;
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background: url('inc/assets/images/ok.png') no-repeat;
    background-size: cover;
    vertical-align: middle;
}
input[name="code"] {
	letter-spacing: 0.25rem;
}
.info-block {
	margin-bottom: 2rem;
}
.info-block p {
	font-size: 0.875rem;
    line-height: 1.5rem;
    margin-bottom: 0;
}

.user-routes .card-body {
	overflow-y: auto;
    max-height: 20rem;
}

@media ( max-width: 576px ) {
.user-routes .card-body {
    max-height: unset;
}
}