@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');

.v-center{
    display:flex;
    align-items:center;
}

a.disabled {
    pointer-events: none; /* делаем ссылку некликабельной */
    cursor: default;  /* устанавливаем курсор в виде стрелки */
    color: #999; /* цвет текста для нективной ссылки */
}

@media (max-width: 768px) { 
	.manager_tpl h1, .manager_tpl .h1 {font-size: 28px;}
	.manager_tpl h2, .manager_tpl .h2 {font-size: 24px;}
	.manager_tpl h3, .manager_tpl .h3 {font-size: 18px;}
	.manager_tpl h4, .manager_tpl .h4 {font-size: 15px;}
}
/*.manager_tpl .h1, .manager_tpl .h2, .manager_tpl .h4, .manager_tpl .h5,.manager_tpl .h6*/
/*.manager_tpl h1, .manager_tpl h2,.manager_tpl h4, .manager_tpl h5, .manager_tpl h6,*/
html,body{
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
    height: 100%;
	margin:0; /*убираем отступы у документа, внешние…*/
	padding:0; /*…и внутренние*/
}
.wrapper{
	width:100%; /*устанавливаем ширину главного блока…*/
	min-height:100%; /*…и минимальную высоту (для Opera и FireFox)*/
	position:relative; /*позиционируем блок относительно*/
}

.wrapper{
	width:100%; /*устанавливаем ширину главного блока…*/
	min-height:100%; /*…и минимальную высоту (для Opera и FireFox)*/
	position:relative; /*позиционируем блок относительно*/
}
.main{
	padding: 0 0 50px 0; /*устанавливаем отступ снизу для контента, чтобы блоки при заполнении не наезжали друг на друга*/
}
.footer {
	position:absolute; /*позиционируем блок абсолютно…*/
	bottom:0; /*…снизу*/
	width: 100%; /*устанавливаем ширину футера*/
	height: 30px; /*устанавливаем высоту футера*/
	background-color: #ccc;
}
.ui-widget.ui-widget-content{
	z-index: 99999;
}
.dropdown-menu{
	z-index: 9999 !important;
}
a:hover{
	cursor: pointer;
}
.menu .active{
	background-color: #e7e7e7;
}
.menu li span{
	display: inline;
	position: absolute;
	right: 12px;
}
.navbar{
	margin-top: 10px;
	margin-bottom: 0px;
	padding-right: 15px;
}
.tophead{
	display: flex;
	/* Центр по главной оси */
	/*justify-content: center;*/
	/* Центр по вторичной оси */
	align-items: center;
	min-height: 60px;
	border-bottom: 1px solid #333;
	z-index: 100;
	background-color: #fff;
}
.tophead .snt-info{
	padding-top: 10px;
	padding-bottom: 10px;
}
.affix{
	width: 100%;
}

.pagination > li.active{
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    margin-left: -1px;

    z-index: 2;
	color: #fff;
	background-color: #428bca;
	border: 1px solid #428bca;
	cursor: default;
}
.count_message{
  height: 20px;
  width: 20px;
  display: inline-block;
  text-align: center;
  vertical-align: top;
  border-radius: 50%;
  font-size: 80%;
  border: 1px solid #33cc00;
  margin-left: 5px;
}
#manager_menu{
	padding: 10px 0 20px 0;
}
.documents_menu{
	border-right: 2px solid #999;
}
.name_file{
	overflow: hidden;
	padding: 5px 5px 8px 5px;
}
.doc_block .menu_file{
	border-top: 2px solid #428bca;
	padding: 5px;
	/*margin-bottom: 5px;*/
}

.doc_block{
	border: 1px solid #428bca;
	/*padding: 5px 5px 5px 5px;*/
}
/* tables */
table tr td{
	vertical-align: middle !important;
}
table.tablesorter {
	margin:10px 0pt 15px;
	/*font-size: 8pt;*/
	width: 100%;
	text-align: left;
}

table.tablesorter thead tr .header {
	background-image: url(../img/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}

table.tablesorter tbody tr.odd td {
	background-color:#F0F0F6;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(../img/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(../img/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}
#result{
	border-bottom: 1px solid #ccc;
	margin-top: 15px; 
}
.mt15{
	margin-top: 15px;
}
.np{
	padding: 0;
}
/*.manager_tpl{
	font-size: 1.2em;
}*/
.text-info{
	text-decoration: underline;
}

.radio, .checkbox{
	margin-left: 20px;
}
input:required,
select:required,
textarea:required{
	border-left: 3px solid #a94442;
}

.green-required{
	border-left: 3px solid #3c763d !important;
}

@media (min-width: 768px) { 
	.property{
		width: 70%;
	}
}
.property p{
	border-bottom: 1px solid #999;
}
.property p span{
	display: inline-block;
}
/*.property li span:nth-child(1){
	float: left;
}*/
.property p span:nth-child(2){
	float: right;
}
textarea{
	resize: none;
}
.lead .text-success{
	margin-top: 15px;
	display: block;
}
.lead{
	margin-bottom: 0px !important;
}
#read_block_persinfo .left{
	float: right;
	font-size: 20px;
}
button > span.glyphicon{
	font-size: 14px;
}
.glyphicon{
	font-size: 16px;
}
.file-upload {
     position: relative; /* Даем возможность делать позиционирование, внутри данного элемента */
     overflow: hidden; /* Все что выходит за пределы - скрываем */
     height: 34px;
}
.file-upload:hover {
     background: #7aad55;
}
.file-upload input[type="file"]{
    display: none; /* Обязательно скрываем настоящий Input File */
}
.file-upload label {
     /* Растягиваем label на всю возможную площадь блока .file-upload */
     display: inline-block;
     position: relative;
     top: 0;
     left: 0;
     height: auto;
     cursor: pointer;
     font-weight: 300;
}
.filename {
	background: rgba(255, 255, 255, 0);
	border: 0;
}

/*Новости*/
.title{
	padding: 5px 10px;
	font-weight: 400;
}
.one_news .info{
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 5px 0;
	font-size: 12px;
}
.one_news .info span{
	margin-right: 5px;
	font-size: 12px;
}
.one_news{
	margin-bottom: 40px;
}
.one_news img{
	margin: 5px 10px;
}
.one_news .text{
	padding: 10px;
}
.news_button{
	margin-top: 20px;
}
/*КонецНовости*/

.message{
	background-color:#fff; 
	font-size: 11pt; 
	padding: 10px;
	border: 1px solid #ccc;
}

.messages p{
	margin: 0;
}
#message_chain .autor{
	border-bottom:1px solid #a8a8a8;
	font-size: 12px;
}
#message_chain .glyphicon{
	font-size: 12px;
}
#message_chain .autor > div{
	display:inline-block;
}
.alert{
	padding: 8px 15px;
	margin-bottom: 0px;
	border-radius: 0px;
}
/*Сообщения*/

/*КонецСообщения*/

/*Настройки*/
fieldset.scheduler-border form > div{
	display: flow-root;
}
fieldset.scheduler-border {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}

legend.scheduler-border {
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
    border:none;
	width:auto;
}
/*КонецНастройки*/

/*basic settings */

a:focus {
	outline: none !important;
	outline-offset: none !important;
}

body {
	background: #f5f6f5;
	color: #333;
}

/* helper classses */

.margin-top-20 {
	margin-top: 20px;
}

.margin-bottom-20 {
	margin-top: 20px;
}

.no-margin {
	margin: 0px;
}

/* box component */

.box {
	border-color: #e6e6e6;
	background: #FFF;
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
	padding: 10px;
	margin-bottom: 40px;
}

.box-center {
	margin: 20px auto;
}

/* input [type = file]
----------------------------------------------- */

input[type=file] {
	display: block !important;
	right: 1px;
	top: 1px;
	height: 34px;
	opacity: 0;
  width: 100%;
	background: none;
	position: absolute;
  overflow: hidden;
  z-index: 2;
}
.control-fileupload label{
	font-weight: 300 !important;
}
.control-fileupload {
	margin-bottom: 5px;
	display: block;
	border: 1px solid #d6d7d6;
	background: #FFF;
	border-radius: 4px;
	width: 100%;
	height: 36px;
	line-height: 36px;
	padding: 0px 10px 2px 10px;
  overflow: hidden;
  position: relative;
  
  &:before, input, label {
    cursor: pointer !important;
  }
  /* File upload button */
  &:before {
    /* inherit from boostrap btn styles */
    padding: 4px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #cccccc;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-bottom-color: #b3b3b3;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: color 0.2s ease;

    /* add more custom styles*/
    content: 'Browse';
    display: block;
    position: absolute;
    z-index: 1;
    top: 2px;
    right: 2px;
    line-height: 20px;
    text-align: center;
  }
  &:hover, &:focus {
    &:before {
      color: #333333;
      background-color: #e6e6e6;
      color: #333333;
      text-decoration: none;
      background-position: 0 -15px;
      transition: background-position 0.2s ease-out;
    }
  }
  
  label {
    line-height: 24px;
    color: #999999;
    font-size: 14px;
    font-weight: normal;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    z-index: 1;
    margin-right: 90px;
    margin-bottom: 0px;
    cursor: text;
  }
}
.content_block {
	overflow: hidden;
	position: relative;    
}
.content_block.hiden {
	height: 300px;
}
#button_electric{
	display: inline-block;
    position: absolute;
    bottom: 0;
    margin-left: 5px;
}