.crop {
	position: relative;
	overflow: hidden;
	height: 100%;
}
.crop .img, .crop img {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	max-width: none;
	max-height: 100%;
}
.text-overflow {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
.textarea:after {
	display: block;
	content: "";
	clear: both;
}
.textarea .smiles {
	background: none !important;
}
.textarea .right-column {
	float: right;
}
.textarea .attach {
	position: absolute;
	right: 5px;
	top: 10px;
}
.input.error, .input.error ~ .jq-selectbox__select {
	border: 1px solid #a00;
}
.input.success, .input.success ~ .jq-selectbox__select {
	border: 1px solid #0a0;
}
.block_credits_account .last_purchase, 
.container_my_account .last_visit, .newchat-users-list .big-photo,
.newchat-chat-window .toggle.toggle2, .newchat-chat-window .age, 
.newchat-users-list .age, .lable-credits-info-userpanel, .chat_now_inf,
.login_form.autoriz .remember {
	display: none !important;
}
.wrap_column_footer_menu {
	margin: 0 40px;
}
.wrap_column_footer_menu:first-child {
	margin: 0 40px;
}
.first-wrapper-footer .wrap_column_footer_menu {
	float: none;
	display: inline-block;
	vertical-align: top;
}
.first-wrapper-footer .container {
	text-align: center;
}
.second-wrapper-footer .images {
	float: right;
	text-align: right;
	width: 250px;
}
.second-wrapper-footer .images img {
	display: inline-block;
}
.first-wrapper-footer .language {
	text-align: center;
	z-index: 10;
}
.language > a {
	font-family: 'PTSans-Bold';
	color: #a5a5a5;
	cursor: pointer;
	font-size: 14px;
	font-weight: normal;
	letter-spacing: 1.5px;
	margin-left: 22px;
	outline: medium none;
	position: relative;
	text-decoration: none;
}
.language a:nth-child(2) {
	margin-left: 0;
}
.language a:last-child::after {
	content: "•";
	display: block;
	font-family: PTSans-Bold;
	font-weight: normal;
	position: absolute;
	left: -18px;
	top: -1px;
}
.language > a.selected {
	color: #8d72b1;
}
.language-title { color: #fff; }
body.index_page #chat-popup {
	left: 20px;
	bottom: 20px;
}
#chat-popup {
	right: 20px;
	bottom: 20px;
}
.newchat-header a.more {
	padding: 4px 8px;
	background: #3BA71D;
	color: #fff;
	border-radius: 4px;
	display: inline-block;
	text-decoration: none;
}
.newchat-header a.more:hover {
	background: #4BB72D;
}
.newchat-users-list .new {
	/*width: 150px;*/
}
.profile-block .purpure_link.ico-chat {
	color: #FF9800;
}
.item-openchat {
	color: #f2f2f2;
	text-align: center;
	padding: 5px;
	margin: 0 5px;
	cursor: pointer;
	border-radius: 3px;
	box-shadow: 1px 1px 0px 1px rgba(0, 0, 0, 0.24);
	max-width: 186px;
	box-sizing: border-box;
	margin: 0 auto;
	margin-top: 14px;
	background: #FF9800;
	font-family: 'PTSans-Bold';
	animation: 5s linear 0s normal none infinite running pulsate;
	text-shadow: 0 0px rgba(0, 0, 0, 0.5);
}
.item-openchat:active {
	box-shadow: -1px -1px 0px 1px rgba(0, 0, 0, 0.24);
}
.tabs_account .my-mail {
	background: #8e72af;
	color: #f2f2f2;
}

.modal-box {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,.7);
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 10000;
}
.modal-box .modal-inner {
	position: relative;
	width: 700px;
	transform: translate(0, 0);
	background: #f2f2f2;
	margin: 30px auto;
}
.modal-box .modal-content {
	position: relative;
}
.modal-box .modal-inner .modal-close {
	position: absolute;
	right: 5px;
	top: 5px;
	border: none;
	background: none;
	cursor: pointer;
}
.modal-box .modal-inner .modal-close:before {
	padding: 3px;
	content: "x";
	color: #BABABA;
}
.modal-box .modal-inner .modal-close:hover:before {
	color: #253238;
}
#crop-example .example {
	text-align: center;
}
.bonus {
	padding: 5px 10px;
	background: #8e72af;
	color: #f2f2f2;
	margin: 10px auto;
	width: 90%;
	border-radius: 4px;
	box-sizing: border-box;
	text-transform: uppercase;
	font: .8em 'PTSans-Bold';
}
.bonus-single {
	background: #fff;
	color: #8e72af;
}
.color-magenta {
	color: #8e72af;
}
.item_tariff form {
	display: inline-block;
	margin-top: 3px;
}
.font-ptsans {
	font-family: 'PTSans-Bold';
}
.black-place {
	background: #444;
	padding: 15px;
	display: block;
	margin-bottom: 15px;
	color: #f2f2f2;
}
.black-place .cards {
	float: right;
}

/* Bootstrap */
.table, .row, [class*=col-xs-], [class*=modal-], .card, 
.form-inputs input, .form-inputs select {
	box-sizing: border-box;
}

.clearfix:before, .clearfix:after, .row:before, .row:after,
[class*=col-xs-]:before, [class*=col-xs-]:after,
.card:before, .card:after {
	content: "";
	display: table;
	clear: both;
}
.text-left {
	text-align: left;
}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.form-group {
	margin-bottom: 15px;
}
.font-size-24 {
	font-size: 24px;
}
.font-size-22 {
	font-size: 22px;
}
.font-size-22 {
	font-size: 20px;
}
.font-size-18 {
	font-size: 18px;
}
.border-dashed {
	border-bottom: 1px dashed;
	text-decoration: none;
}
.container-1000 {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
.bold {
	font-weight: bold;
}
.display-inline {
	display: inline;
}
.display-inline-block {
	display: inline-block;
}
.col-xs-12,.col-xs-11,.col-xs-10,.col-xs-9,.col-xs-8,.col-xs-7,.col-xs-6,
.col-xs-5,.col-xs-4,.col-xs-3,.col-xs-2,.col-xs-1 {
	float: left;
	box-sizing: border-box;
	padding-left: 15px;
	padding-right: 15px;
	min-height: 1px;
}
.col-xs-12 {
	width: 100%;
}
.col-xs-11 {
	width: 90%;
}
.col-xs-10 {
	width: 83.33%;
}
.col-xs-9 {
	width: 75%;
}
.col-xs-8 {
	width: 66.66%;
}
.col-xs-7 {
	width: 60%;
}
.col-xs-6 {
	width: 50%;
}
.col-xs-5 {
	width: 40%;
}
.col-xs-4 {
	width: 33.33%;
}
.col-xs-3 {
	width: 25%;
}
.col-xs-2 {
	width: 16.66%;
}
.col-xs-1 {
	width: 10%;
}
.row {
	margin-left: -15px;
	margin-right: -15px;
}
.pull-left {
	float: left;
}
.pull-right {
	float: right;
}
.table-responsive {
	min-height: .01%;
	overflow-x: auto;
}
.btn-danger {
	background: #a00;
	color: #f2f2f2;
}
.btn-success {
	background: #0a0;
	color: #f2f2f2;
}
.btn-info {
	background: #00a;
	color: #f2f2f2;
}
.btn-warning {
	background: #f44;
	color: #000;
}
.btn-default {
	background: #f2f2f2;
	color: #000;
}
.table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 20px;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
	padding: 8px;
	line-height: 1.42857143;
	vertical-align: top;
	border-top: 1px solid #ddd;
}
.card {
	padding: 15px;
}
/* / Bootstrap END / */
.background-grey {
	background: #f2f2f2;
}
.color-grey {
	color: #ccc;
}
.circle {
	border: 1px solid #ccc;
	border-radius: 50%;
	background: transparent;
	width: 10px;
	height: 10px;
}
.h4 {
	font-size: 1.1em;
	font-weight: bold;
}
.tabs>.tab {
	background: #f2f2f2;
	padding: 5px 10px;
	margin-right: 10px;
	border: none;
	border-bottom: 1px solid transparent;
	border-radius: 4px 4px 0 0;
	cursor: pointer;
}
.tabs>.tab.active {
	background: #0ab;
	color: #f2f2f2;
	border-bottom-color: transparent;
}
.tabs-content>.tab {
	display: none;
}
.tabs-content>.tab.active {
	display: block;
	padding: 15px;
	border-top: 1px solid #0ab;
}
.form-inputs input[type=text], .form-inputs textarea, .form-inputs select {
	background: #f2f2f2;
	color: #000;
	padding: 2px 7px;
	border-radius: 2px;
	border: 1px solid #ccc;
	height: auto;
	width: 100%;
	margin: 0 0 5px 0;
	max-width: none;
	display: block;
}
.form-inputs input[type=checkbox] {
	border: 1px solid;
	max-width: none;
	height: auto;
	outline: none;
	width: auto;
	padding: 0;
	border-radius: 0;
	display: inline-block;
}
.btn-rotate-left,
.btn-rotate-right
{
	display: inline-block;
	position: relative;
	width: 30px;
	height: 30px;
	background: transparent url(/i/sprites.png) no-repeat 0 0;
	border: none;
	padding: 0;
	cursor: pointer;
	opacity: 0.5;
}
.btn-rotate-left:hover,
.btn-rotate-right:hover {
	opacity: 1;
}
.btn-rotate-left:active,
.btn-rotate-right:active
{
	top: 1px;
}

.btn-rotate-left { background-position: -390px -35px; }
.btn-rotate-right { background-position: -360px -35px;  }

.attach-from-library {
    position: relative;
    display: inline-block;
    top: -36px;
}

#media-library span {
	display: initial;
}