html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
	margin-top: 51px;
	margin-bottom: 60px;
	font-family: Tahoma;
	font-style: normal;
}
/*
 *  иконка загрузки
 */
.centered {
	z-index: 2001;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -16px; /* 50% высоты */
	margin-left: -16px;  /* 50% ширины */
	height: 32px;	/* высота */
	width: 32px;	/* ширина */
}
* html .centered {
	position: absolute;
}
/*
 *  Заголовки и текст
 */
h1 {
	font-size: 36px;
	font-weight: 600;
	padding-bottom: 20px;
}
h2 {
	font-size: 32px;
	font-weight: 600;
	padding-bottom: 15px;
}
h3 {
	font-size: 28px;
	font-weight: 600;
	padding-bottom: 10px;
}
h4 {
	font-size: 24px;
	font-weight: 500;
	padding-bottom: 10px;
}
h5 {
	font-size: 20px;
	font-weight: 500;
	padding-bottom: 10px;
}
h6 {
	font-size: 16px;
	font-weight: 500;
	padding-bottom: 10px;
}
p {
	font-size: 16px;
	/*margin-top: 10px;
	margin-bottom: 15px;
	margin-left: 35px;
	margin-right: 35px;*/
}
.carousel_span_1 {
	font-size: 30px;
	font-weight: 600;
	color: #FFF;
}
.carousel_span_2 {
	font-size: 30px;
	font-weight: 600;
	color: #FFF;
}
.modal-body {
  padding: 0px 15px;
}
/* navbar
-------------------------------------------------- */
#logo_min {
	position: absolute;
	top: 2px;
	width: 100px;
	height: 48px;
}
.navbar {
  margin-bottom: 0px;
}
.navbar-default {
	color: #e7e7e7;
	background-color: rgba(230, 0, 0, 0.8);
	border-color: #e7e7e7;
}
/* nav-justified
-------------------------------------------------- */
.nav-justified {
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.nav-justified > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 0;
  font-weight: bold;
  color: #777;
  text-align: center;
  background-color: #e5e5e5; /* Old browsers */
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5));
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
  background-image:      -o-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(top), color-stop(0%, #f5f5f5), to(#e5e5e5));
  background-image:         linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
  background-repeat: repeat-x; /* Repeat the gradient */
  border-bottom: 1px solid #d5d5d5;
}
.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
  background-color: #ddd;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
	box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
}
.nav-justified > li:first-child > a {
  border-radius: 5px 5px 0 0;
}
.nav-justified > li:last-child > a {
  border-bottom: 0;
  border-radius: 0 0 5px 5px;
}

@media (min-width: 768px) {
  .nav-justified {
		max-height: 52px;
  }
  .nav-justified > li > a {
		border-right: 1px solid #d5d5d5;
		border-left: 1px solid #fff;
  }
  .nav-justified > li:first-child > a {
		border-left: 0;
		border-radius: 5px 0 0 5px;
  }
  .nav-justified > li:last-child > a {
		border-right: 0;
		border-radius: 0 5px 5px 0;
  }
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .masthead,
  .marketing {
		padding-top: 0px;
		padding-right: 0;
		padding-left: 0;
  }
}
/* Sticky footer styles
-------------------------------------------------- */
.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	/* Set the fixed height of the footer here */
	height: 70px;
	background-color: #f5f5f5;
	z-index: 1;
}
.footer span {
  margin: 5px 50px;
}
#counter {
	font-weight: bold;
	font-size: 10px;
	text-align: center;
	background-color: #C0C0C0;
	border: 1px solid;
	padding: 2px; 
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: 120px;
	height: 35px;
	z-index: 3; 
}
.news_image {
	width: 150px; /* наследуем ширину от родительского контейнера */
	height: auto; /* высота задаётся пропорционально */
	cursor: pointer;
}
.image_shadow {
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
@media (min-width: 480px) {
	.form-reg,
	.form-login {
		margin-top: 52px;
		margin-bottom: 30px;
	}
}
@media (min-width: 768px) {
	.form-reg,
	.form-login {
		margin-top: 100px;
		margin-bottom: 30px;
  }
}
@media (min-width: 992px) {
	.form-reg,
	.form-login {
		margin-top: 150px;
		margin-bottom: 30px;
  }
}
@media (min-width: 1200px) {
	.form-reg,
	.form-login {
		margin-top: 250px;
		margin-bottom: 40px;
  }
}
.form-login {
	padding: 15px;
  	background-color: #F5F5F5;
	border-bottom: 1px solid;
	border-top: 1px solid;
	border-left: 1px solid;
	border-right: 1px solid;
	/*margin: 0 auto;*/
}
.form-login,
.form-login-heading {
  margin-bottom: 5px;
  text-align: center;
}
.form-login input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-login input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.restorepass {
	margin-bottom: 10px;
	text-align: right;
}
.form-reg {
  padding: 15px;
  background-color: #F5F5F5;
	border-bottom: 1px solid;
	border-top: 1px solid;
	border-left: 1px solid;
	border-right: 1px solid;
  /*margin: 0 auto;*/
}
.form-reg .form-reg-heading {
  margin-bottom: 10px;
}
.form-reg input[type="name_user"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-reg input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-reg input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.row_email {
	text-align: right;
	margin-top: 8px;
}
.name_email {
	margin-top: 8px;
}
/*
 * Sidebar for personal
 */
.sidebar {
	display: none;
	position: fixed;
	top: 51px;
	bottom: 0;
	left: 50px;
	z-index: 1000;
	padding: 20px;
	overflow-x: hidden;
	overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
	background-color: rgba(230,0,0,0.8);
	border-right: 1px solid #eee;
}
.sidebar_button {
	position: fixed;
	top: 51px;
	bottom: 0;
	left: 0;
	width: 50px;
	z-index: 1000;
	display: block;
	overflow: hidden;
	background-color: #EB3333;
	border-right: 1px solid #eee;
}
.button_switch {
	font-size: 30px;
	margin: 50px 3px;
	visibility: visible;
}
@media (min-width: 992px) {
  .sidebar {
		display: block;
  }
	.button_switch {
		display: none;
	}
}
/* nav navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
	font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}
.nav-sidebar > a,
.nav-sidebar > li a:hover,
.nav-sidebar > li a:focus {
  color: #fff;
  background-color: rgba(171, 0, 8, 0.8);
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: rgba(144, 2, 2, 0.8);
  background-color: rgba(238, 238, 238, 0.9);
}
/*
 * Placeholder dashboard ideas
 */
.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}
/*
 * Страница активации
 */
.activ_span {
	font-size: 32px;
	font-weight: 600;
	padding-bottom: 15px;	
}
.activation  {
	width: 100%; 
	height:100%; 
	text-align: center; 
	margin-top: 25%;
	margin-bottom: 10%;
}
.text_shadow_green {
	text-shadow: 1px 1px 2px black, 0 0 1em green; 
}
.text_shadow_red {
	text-shadow: 1px 1px 2px black, 0 0 1em red; 
}
/*
 * Страница personal
 */
.title_page_div {
	margin: 0px 30px;
	padding: 0px  10px;
}
.title_page_span {
	font-size: 32px;
	font-weight: 600;
}
.title_div {
	margin: 0px 50px;
	padding: 0px  10px;
}
.title_span {
	font-size: 28px;
	font-weight: 600;
}
.title_page_span_2 {
	font-size: 28px;
	font-weight: 600;
}
.title_table_div {
	margin: 0px 10px;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	border-radius: 5px;
	border: 1px solid black; /* Параметры границы */
	padding: 10px 0px;
}
.text_table_div {
	margin: -1px 10px 0px 10px;
	font-size: 16px;
	border-radius: 5px;
	border: 1px solid black; /* Параметры границы */
	padding: 2px 0px;
}
.text_table_div  p{
	margin: 0px 0px;
	font-size: 16px;
	padding: 0px 5px;
	overflow: hidden;
}
.text_table_div  input{
	margin: 0px 0px;
	font-size: 16px;
	display: block;
	width: 90%;
	height: 22px;
	padding: 0px 2px;
}
/*
 * Main content правая сторона personal
 */
.main {
	left: 50px;
	padding: 10px;
	/*margin-right: 70px;*/
}
.main  .page-header{
	margin-top: 20px;
}
.col-md-10 {
	width: 87%;
}
@media (min-width: 768px) { 
	.col-md-10 {
		width: 90%;
	}
}
@media (min-width: 992px) {
	.col-md-10 {
		width: 77%;
	}
}
/*
 * Форма добавления удаления объявлений
 */
#spare6 {
	margin-left: 30px;
	margin-right: 30px;
	text-align: right;
}
/*
 * Форма добавления удаления новостей
 */
#news1,
#news4,
#news5 {
	text-align: center;
	width: 100%;
	margin-left: 5px;
	margin-right: 25px;
}
#news5 {
	margin-top: 5px;
	height: 300px;
}
#news_save_but_div {
	text-align: center;
}
.news_image_div {
	cursor: pointer;
}
.input_hidden {
	position: absolute;
	left: -1000px;
}
.ns_input_image_add {  
width: 200px; 
height: 200px;
margin-left: auto;
margin-right: auto;
color: #FFFFFF; 
background-image: url(../img/img_add.png);
background-color: #EB3333;
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
box-shadow: 0 0 7px rgba(0,0,0,0.7);
}
.ns_but_span {
	font-size: 18px;
	font-weight: 600;
	margin-top: 125px;
	display: inline-block;
}
.news_image_load {
	width: 200px; 
	height: auto;
	margin-bottom: 20px;
}
/*
 * Форма добавления запчасти
 */
.req_fields {
	text-align: left; 
}
.req_fields  label{
	text-align: left; 
	font-size: 12px;
	margin-top: 5px;
	margin-bottom: 1px;
}
.req_fields  input{
	width: 100%; 
	text-align: left; 
	font-size: 14px;
}
.req_fields  select{
	width: 100%; 
	text-align: left; 
	font-size: 14px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 34px;
}
.select2-container .select2-selection--single {
	height: 34px;
}
#spare_sale_men_but {
	text-align: right;
}
/* nav-find-ss
-------------------------------------------------- */
.nav-find-ss {
	margin-top: 20px;	
	margin-left: 30px;	
}
.nav-but-find-ss {
	background-color: #F9F9F9;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.pagination {
	margin-left: 30px;
}
/* Для превьюшек эффект
-------------------------------------------------- */
.grow {
	position: relative;
	text-align: center;
	overflow: hidden;
	width: 100px;
	margin: 0px auto;
}
.text {
	position: absolute; /* абсолютная позиция относительно родителя*/
	bottom:5px; left:0px; /* расположение */
	width: 90%; height: 20px; /*размеры*/
	color: rgba(255,255,255,.9);
	background-color: rgba(35, 35, 35, 0.8);
	visibility:hidden;
	/*max-width: 100px;*/
	overflow: hidden;
	margin: 0px 5px;
}
.image_spare_sale {
	cursor: pointer;
}
.grow:hover .text {
	visibility:visible ;
}
/* Для удаления превьюшек эффект
-------------------------------------------------- */
.grow_1  {
	position: relative;
	text-align: center;
	overflow: hidden;
	width: 100px;
	margin: 0px auto;
}
.text {
	position: absolute; /* абсолютная позиция относительно родителя*/
	bottom:5px; left:0px; /* расположение */
	width: 90%; height: 20px; /*размеры*/
	color: rgba(255,255,255,.9);
	background-color: rgba(35, 35, 35, 0.8);
	visibility:hidden;
	/*max-width: 100px;*/
	overflow: hidden;
	margin: 0px 5px;
}
.spare_sale_image_load {
	cursor: pointer;
}
.grow_1 :hover .text {
	visibility:visible ;
}
/* Для Сверки
-------------------------------------------------- */
.revise_spare_title {
	text-align: center;
	margin: 0px 30px;
	padding: 2px;
}
#revise_vn_save_div  {
	margin-top: 10px;
	text-align: center;
}
#contacts_div  {
	margin-top: 30px;
	border-radius: 5px;
	/*border: 1px solid black; /* Параметры границы */
	text-align: center;
	margin-bottom: 0px;	
	padding: 2px;
	color: #171616;
	background-color:#F1F1F1;
	text-shadow: 1px 1px 1px rgba(183, 183, 183, 0.5);
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
#contacts_callback_num_phone {
	width: 90%;
	margin-left: auto;	
	margin-right: auto;	
}
#contacts_callback_mess {
	width: 90%;
	margin-left: auto;	
	margin-right: auto;	
}
#news_h4 {
	text-align: center;
	margin-top: 20px;
}
/* Для main
-------------------------------------------------- */
#spare_h4 {
	text-align: center;
	margin-top: 20px;
}
.text_table_div_main_1 {
	margin: -1px 10px 0px 10px;
	font-size: 16px;
	border-radius: 5px;
	border: 1px solid rgba(0,0,0,0.05); /* Параметры границы */
	padding: 2px 0px;
}
.text_table_div_main {
	font-size: 16px;
	border-radius: 5px;
	border: 1px solid rgba(0,0,0,0.05); /* Параметры границы */
	padding: 40px 40px;
}
.text_up {
	padding: 20px 0px;
}
/* Для пакетной загрузки выгрузки
-------------------------------------------------- */
#packet_xls_help_div p {
	font-size: 16px;
	margin:0 0 1px;
	/*margin-bottom: 15px;
	margin-left: 35px;
	margin-right: 35px;*/
}
#packet_xml_help_div p {
	font-size: 16px;
	margin:0 0 1px;
	/*margin-bottom: 15px;
	margin-left: 35px;
	margin-right: 35px;*/
}