@font-face {
	font-family: "Password-disc";
	src:
		url("/fonts/password-disc.otf") format("opentype"),
		url("/fonts/password-disc.ttf") format("truetype"),
		url("/fonts/password-disc.woff") format("woff"),
		url("/fonts/password-disc.woff2") format("woff2");
	font-weight: normal;
	font-style: normal;
}

input.password-like {
	-webkit-text-security: disc;
}
input.password-like:not(:placeholder-shown) {
	font-family: Password-disc, sans-serif;
}
input.password-like:not(::-moz-placeholder) {
	font-family: Password-disc, sans-serif;
}

textarea.password-like {
	-webkit-text-security: disc;
}
textarea.password-like:not(:placeholder-shown) {
	font-family: Password-disc, sans-serif;
}
textarea.password-like:not(::-moz-placeholder) {
	font-family: Password-disc, sans-serif;
}

body {
	padding-top: 60px;
}

.navbar.navbar-fixed-top.navbar-inverse .nav > li > a {
	padding: 10px 12px 10px;
}

.hspan {
	border-bottom: 2px solid black;
	margin-bottom: 10px;
}

.hspan h3 {
	line-height: 30px;
	margin-bottom: 0px;
}

.hspan h4 {
	margin-bottom: 2px;
}

.agency-header {
	width: 100%;
}

.agency-header  td {
	text-align: right;
}

.agency-header  td:first-child {
	text-align: left;
}

.qq-brand span {
	color: #A02300;
	font-weight: bold;
}

.qq-brand:hover span {
	color: #DC2300;
}

footer {
	position: relative;
	margin-top: 30px;
    margin-bottom: 10px;
	border-top: 1px solid #E0E0E0;
	padding-top: 10px;
	font-size:	12px;
	color:	#505050;
	line-height: 12px;
}

#social-media {
	position: absolute;
	right: 0px;
	top: 6px;
}

#social-media img {
	margin-left: 3px;
}


.form-horizontal .alert-inline {
	display: inline;
}

/**************** TABLE SORTER ***********************/

table.tablesorter thead tr th.header {
	background-image: url(/img/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter thead tr th.headerSortUp {
	background-image: url(/img/asc.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter thead tr th.headerSortDown {
	background-image: url(/img/desc.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}

/**************** NEW SMS DISTRIBUTION ***********************/

#new-smscampaign textarea {
	width: 100%
}

#new-smscampaign .calc p {
	font-size: 20px;
	margin-top: 10px;
	margin-bottom: 20px;
}

#new-smscampaign .sender {
	font-weight: 400;
}

#new-smscampaign #clients-table {
	max-height: 200px;
	overflow: auto;
}

/**************** AUTOCOMPLETE ***********************/

.ui-autocomplete-loading {
	background: white url('/img/ui-anim_basic_16x16.gif') right center no-repeat;
}

ul.ui-widget li.ui-menu-item:nth-child(2n) a {
	background-color:  #F6F6F6;
}

ul.ui-widget li.ui-menu-item {
	list-style-image: none;
	margin-bottom: 2px;
}

table.autocomplete td {
	font-size: 14px;
	padding-left: 4px;
	border-right: 1px solid #F2F2F2;
}

table.autocomplete td:first-child {
	padding-left: 0px;
}

table.autocomplete td:last-child {
	border-right: 0px solid black;
}

td.autocomplete-name {
	width: 270px;
}

td.autocomplete-phone {
	width: 170px;
}

td.autocomplete-email {
	width: 220px;
}

td.autocomplete-login {
	width: 300px;
}

td.autocomplete-accountno {
	width: 65px;
}

td.autocomplete-manager-name {
	width: 160px;
}

span.template {
	font-weight: bold;
}

.full-screen-spinner:after {
    z-index: 1031;
    content: '';
	display: block;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
    background-image: radial-gradient(circle closest-side, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.3));
}

.full-screen-spinner .full-screen-spinner_container {
    position: absolute;
    z-index: 1032;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.full-screen-spinner .full-screen-spinner_spinner svg {
    color: #6f6f6f;
    height: 8em;
}

.full-screen-spinner .full-screen-spinner_title {
    margin-top: 1em;
    font-size: 2em;
    padding: 0.5em 0.25em;
    border-radius: 0.25em;
    max-width: 70vw;
    line-height: 1.2;
}

.full-screen-spinner .full-screen-spinner_spinner svg {
    animation: fa-spin 1s infinite steps(8);
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

.freshdesk-help-icon {
    height: 1em;
    width: 1em;
    vertical-align: text-top;
    color: #cf2402;
    cursor: pointer;
	overflow: visible;
}

h3 .freshdesk-help-icon {
	height: .75em;
	width: .75em;
	vertical-align: baseline;
}

h4 .freshdesk-help-icon {
	height: .85em;
	width: .85em;
	vertical-align: baseline;
}

.h1, .h2, .h3, .h4, .h5, .h6 {
	margin-bottom: 0.5rem;
	font-weight: 500;
	line-height: 1.2;
}

.h1 {
	font-size: 2.5rem;
}

.h2 {
	font-size: 2rem;
}

.h3 {
	font-size: 1.75rem;
}

.h4 {
	font-size: 1.5rem;
}

.h5 {
	font-size: 1.25rem;
}

.h6 {
	font-size: 1rem;
}

/* edit-inline */

textarea.edit-inline {
	overflow: hidden;
	overflow-wrap: break-word;
	background: transparent;
	border: none;
	border-radius: 3px;
	box-sizing: border-box;
	box-shadow: none;
	resize: none;
	width: 100%;
	cursor: pointer;
}

textarea.edit-inline.slim {
	margin: 0;
}

textarea.edit-inline:focus {
	background-color: #fff;
	box-shadow: inset 0 0 0 2px #0079bf;
	cursor: auto;
}

.table-edit-inline td:not(.edit-inline) {
	padding-top: 8px;
}

/* ссылка или загрузка документа, настройка политики конфиденциальности и договор публичной оферты */
.doc-link-or-file .file__name {
	border: 1px solid #cccccc;
	display: inline-block;
	line-height: 20px;
	padding: 4px 6px;
	margin-bottom: 10px;
	color: #555555;
	vertical-align: middle;
	border-radius: 4px;
	transition: border linear 0.2s, box-shadow linear 0.2s;
}

.doc-link-or-file__radios {
	margin: 0 0 10px 0;
}
.doc-link-or-file__document {
	align-items: flex-start;
	background-color: white;
	display: flex;
	margin: 0 0 10px 0;
	position: relative;
	white-space: nowrap;
	width: 544px;
}
.doc-link-or-file__document input[type=file] {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -1;
}
.doc-link-or-file .btn {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}
.doc-link-or-file .file__name {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
	flex-grow: 1;
	height: 20px;
	margin: 0 0 0 -1px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.doc-link-or-file .file__name:empty::after {
	color: #999999;
	content: "Файл не выбран";
}

tr.inactive-row td {
	color: lightslategray;
}

/* support copy-text */
.copy-text {
	position: relative;
}

.copy-text__anchor {
	margin-left: 0.5ch;
	cursor: pointer;
}

.copy-text__complete {
	position: absolute;
	z-index: -1;
	left: calc(100% + 0.5ch);
	font-size: 90%;
	line-height: 100%;
	background-color: #333333;
	padding: 2px 4px;
	color: white;
	border-radius: 4px;
	opacity: 0;
	transition: opacity 0.3s 0s linear;
}

.copy-text__anchor.is-complete + .copy-text__complete {
	opacity: 1;
	z-index: 999;
}

table.addons th a {
	color: #333333;
	white-space: nowrap;
}

table.addons tr.ok {
	background: #D5F5E3;
}

table.addons tr.err {
	background: #F2DEDE;
}

.btn.btn-slim {
	padding: 2px 3px;
}

.btn.btn-label {
	font-size: 11.844px;
	font-weight: bold;
	line-height: 14px;
	padding: 2px 4px;
}

.btn.btn-inline {
	display: inline;
}

.autocomplete-input input{
	border-radius: 0;
}

.autocomplete-input .btn {
	border-radius: 0;
	padding-left: 8px;
	padding-right: 8px;
}

fieldset[disabled] {
	opacity: 0.5;
}

fieldset[disabled] input, fieldset[disabled] select {
	cursor: not-allowed;
}

.tariff-input select {
	margin-bottom: 0px;
}

.tariff-input .discount-title {
	display: inline-block;
	padding: 4px 4px;
	border: 1px solid #cccccc;
	vertical-align: middle;
	border-radius: 4px;
	background-color: #f5f5f5;
}

.control-block {
	padding: 0 0 0 15px;
	margin: 16px 0;
	border-left: 5px solid #eeeeee;
}

.change-tariff-now tr {
	height: 28px;
}

.unclickable {
	pointer-events: none;
}

.btn.unclickable {
	cursor: default;
	background-image: none;
	opacity: 0.65;
	filter: alpha(opacity=65);
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}