/* Artfully masterminded by ZURB  */

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------
:: Images
:: Page Name 1
:: Page Name 2
*/

* {
    outline: none;
}


/* Отключаю микрофон в каждом инпуте для хрома*/
input#textfieldid::-webkit-input-speech-button {
    display:none;
}
/* или у всех инпутов на странице*/
input::-webkit-input-speech-button {
    display:none;
}


/* -----------------------------------------
   Images
----------------------------------------- */

a.backImg {
background-image: url("../images/back.png");
background-position: top;
width: 30px;
height: 30px;
display: block;
}
a:hover.backImg {
background: none;    
background-image: url("../images/back.png");
background-position: bottom;
}  

/* Анимация кнопки при Ajax */
.btn_loading{
 -webkit-animation: loading-stripes 2s linear infinite;
 -moz-animation: loading-stripes 2s linear infinite;
 -ms-animation: loading-stripes 2s linear infinite;
 -o-animation: loading-stripes 2s linear infinite;
 animation: loading-stripes 2s linear infinite;

 background-image: -webkit-linear-gradient(-45deg,rgba(255, 255, 255, 0.2) 25%,transparent 25%,transparent 50%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.2) 75%,transparent 75%,transparent);
 background-image: -moz-linear-gradient(-45deg,rgba(255, 255, 255, 0.2) 25%,transparent 25%,transparent 50%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.2) 75%,transparent 75%,transparent);
 background-image: -ms-linear-gradient(-45deg,rgba(255, 255, 255, 0.2) 25%,transparent 25%,transparent 50%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.2) 75%,transparent 75%,transparent);
 background-image: -o-linear-gradient(-45deg,rgba(255, 255, 255, 0.2) 25%,transparent 25%,transparent 50%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.2) 75%,transparent 75%,transparent);
 background-image: linear-gradient(-45deg,rgba(255, 255, 255, 0.2) 25%,transparent 25%,transparent 50%,rgba(255, 255, 255, 0.2) 50%,rgba(255, 255, 255, 0.2) 75%,transparent 75%,transparent);

 -webkit-background-size: 50px 50px;
 -moz-background-size: 50px 50px;
 -o-background-size: 50px 50px;
 background-size: 50px 50px;

 -webkit-transition: width .6s ease;
 -moz-transition: width .6s ease;
 -ms-transition: width .6s ease;
 -o-transition: width .6s ease;
 transition: width .6s ease;
}
@-webkit-keyframes loading-stripes {
   from { background-position: 50px 0; }
   to { background-position: 0 0; }
}

@-moz-keyframes loading-stripes {
   from { background-position: 50px 0; }
   to { background-position: 0 0; }
}

@-ms-keyframes loading-stripes {
 from { background-position: 50px 0; }
   to { background-position: 0 0; }
}

@-o-keyframes loading-stripes {
 from { background-position: 0 0; }
 to { background-position: 50px 0; }
}

@keyframes loading-stripes {
  from { background-position: 50px 0; }
  to { background-position: 0 0; }
}


/* Запрещает выходить тексту за пределы родителя*/
.company-wrap  {  text-overflow: ellipsis;    -o-text-overflow: ellipsis;    -moz-binding: url( 'bindings.xml#ellipsis' );  white-space: nowrap;    overflow: hidden;}



/* Image Thumbnails Button ---------------------- */
.th_btn { display: block; }
.th_btn img { display: block; border: dashed 1px #C1C1C1;  -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; -webkit-transition-property: box-shadow; -moz-transition-property: box-shadow; -o-transition-property: box-shadow; transition-property: box-shadow; -webkit-transition-duration: 300ms; -moz-transition-duration: 300ms; -o-transition-duration: 300ms; transition-duration: 300ms; }
.th_btn:hover img, .th_btn:focus img {border: solid 1px rgba(43, 166, 203, 0.5); -webkit-box-shadow: 0 0 6px 1px rgba(43, 166, 203, 0.5); -moz-box-shadow: 0 0 6px 1px rgba(43, 166, 203, 0.5); box-shadow: 0 0 6px 1px rgba(43, 166, 203, 0.5); }


/* Стиль члена семьи которого выбрали */
.choosed {
    border: solid 1px rgba(43, 166, 203, 0.5); -webkit-box-shadow: 0 0 6px 1px rgba(43, 166, 203, 0.5); -moz-box-shadow: 0 0 6px 1px rgba(43, 166, 203, 0.5); box-shadow: 0 0 6px 1px rgba(43, 166, 203, 0.5); 
}

/*  Ссылки - картинки */
/*Картинка удалить
a.deleteImg {
background-image: url("../images/delete.png");
background-position: top;
width: 14px;
height: 14px;
display: block;
}
a:hover.deleteImg {
background: none;    
background-image: url("../images/delete.png");
background-position: bottom;
} 
*/

.deleteTd
{
    display: none;
    float: right;
    cursor: pointer;
    margin-right:5px; 
    
    /*position: absolute;*/
}

.tool_box_cash
{
    position: absolute;
    width: 100px;
    right: 10px;
    background: rgba(237,248,251,.8);
    
}

.tool_box
{
    position: absolute;
    width: 80px;
    right: 10px;
    background: rgba(237,248,251,.8);
    
}

/* Каждый элемент таблица */
.budgetElement {
    padding: 0 !important; 
    height: 45px !important;
    cursor: pointer !important;
    
  /*     border-left: 1px solid #ddd;
   border-right: 1px solid #ddd;*/
    
    /*Плавная анимация
     -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;*/
}

.budgetElement:hover {
   background: #EDF8FB !important;

}
/*
ul {
     -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
*/



/*Класс чтобы подсвечивать элемент бюджета когда мышка находится над ним*/
.dropHere li{

    background-color: #F1F1F1 !important;
}
/* Выделяю допустимые элемены бюджета для перетягивания*/
.drop_class {
    
      margin:2px;
    
      -webkit-box-shadow: inset  0 0 6px 1px rgba(221, 221, 221, 0.9);
      -moz-box-shadow:inset 0 0 6px 1px rgba(221, 221, 221, 0.9);
       box-shadow: inset 0 0 6px 1px rgba(221, 221, 221, 0.9);
       
}
/* Рабочая область, которая ограничивает перетягивание*/
#work_place{
   border: 0px solid red;
   margin: 35px 0 0 0;
    height:330px ;
    width: 98%;
    position: absolute;
     z-index: -10;

}

.button.add{
     background-color: #ddd; color: #1d1d1d; border: 1px solid #c3c3c3;  z-index: 15;
}
.button.add:hover, .button.add:focus { background-color: #E9E9E9;}


/* автоматический скролл*/
/*#cash_scroll, #costs_scroll {
    overflow-y: auto;
    position: relative;
}*/

#cash_upper, #cash_lower, #costs_upper, #costs_lower {
    height: 50px;
    position: absolute;
    width: 100%;
    z-index: 10;
    border: 0px solid red;
}

#cash_upper, #cash_lower, #costs_upper, #costs_lower {margin-top: -26px;}

/*
.income_strip{
    height: 100%;
    background: #C4FFC4;
    float: right;
    width: 5px;
    margin-right: 2px;
}
*/

.IncomeDrag:nth-of-type(even) li .income_strip
{
    height: 100%;
    background: #D5FFD5; 
    float: right;
    width: 5px;
    margin-right: 1px;
}
.IncomeDrag:nth-of-type(odd) li .income_strip
{
    height: 100%;
    background: #C4FFC4;
    float: right;
    width: 5px;
    margin-right: 1px;
}

.CashDragDrop:nth-of-type(even) li .cash_strip
{
    height: 100%;
    background: #D5D5FF; 
    float: right;
    width: 5px;
    margin-right: 1px;
}
.CashDragDrop:nth-of-type(odd) li .cash_strip
{
    height: 100%;
    background: #C4C4FF;
    float: right;
    width: 5px;
    margin-right: 1px;
}


.CostsDrop:nth-of-type(even) li .costs_strip
{
    height: 100%;
    background: #FFD5D5; 
    float: right;
    width: 5px;
    margin-right: 1px;
}
.CostsDrop:nth-of-type(odd) li .costs_strip
{
    height: 100%;
    background: #FFC4C4;
    float: right;
    width: 5px;
    margin-right: 1px;
}

.tool_ico-del:hover{
    color: #FF2424;
    font-size: 20px;
}

.tool_ico-del{
    color: #666;
     display: inline;
      background: rgba(237, 248, 251, 0.1);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.tool_ico-edit:hover{
    color: #2BA6CB;
    font-size: 20px;
}

.tool_ico-edit{
    color: #666;
 display: inline;
 background: rgba(237, 248, 251, 0.1);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


.tool_ico-topup:hover{
    color: #CEA800; /*#26C200;*/
    font-size: 20px;
}

.tool_ico-topup{
    color: #666;
 display: inline;
 background: rgba(237, 248, 251, 0.1);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.tool_ico-change:hover{
    color: #26C200;
    font-size: 20px;
}

.tool_ico-change{
    color: #666;
 display: inline;
 background: rgba(237, 248, 251, 0.1);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


/*gradient_div*/
.gradient_div {
  
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #FAFAFA 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#FAFAFA)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%,#FAFAFA 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%,#FAFAFA 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%,#FAFAFA 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%,#FAFAFA 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#FAFAFA',GradientType=0 ); /* IE6-9 */
}

.span-set-budget
{
    color: green;
    font-size: 18px;
    float: left;
    font-weight: bold;
    margin-left: 4px;
}
.span-set-budget:hover
{
    text-decoration: underline;
    cursor: pointer;
}


/*TABS */
/* ------------------------------------------------- */

	#tabs,#tabs_graph {
	  overflow: hidden;
	  /*width: 100%;*/
	  margin: 0;
	  padding: 0;
	  list-style: none;
	}

	#tabs li, #tabs_graph li {
	  float: left;
	  margin: 0 -15px 0 0;
	}

	#tabs a,  #tabs_graph a {
	  float: left;
	  position: relative;
	  padding: 0 15px;
	  height: 0;
	  line-height: 20px;
	  /*text-transform: uppercase;*/
	  text-decoration: none;
	  color: #fff;      
	  border-right: 20px solid transparent;
	  border-bottom: 20px solid #ddd;
	  border-bottom-color: #DDD;
	  opacity: 1;
	  filter: alpha(opacity=100);  
      font-size: 12px;    
	}

	#tabs a:hover,
	#tabs a:focus,
    #tabs_graph a:hover,
    #tabs_graph a:focus
     {
	  border-bottom-color: #3d3d3d;
	  opacity: 1;
	  filter: alpha(opacity=100);
	}

	#tabs a:focus,#tabs_graph a:focus {
	  outline: 0;
	}

	#tabs #current, #tabs_graph #current{
	  z-index: 3;
	  border-bottom-color: #2BA6CB;
	  opacity: 1;
	  filter: alpha(opacity=100);      
	}
    
    #stat_tab_content,  #graph_tab_content {
	    background: #fff;
	    border-top: 2px solid #3d3d3d;
	}
    
 /*Settings*/
 .currency_no_prime:hover{
    color:#333;
    cursor: pointer;
 }   
 
  .currency_no_prime{
    color:#C6C6C6;
    cursor: pointer;
 }   
 
   .currency_block{
    color:#C6C6C6;
    cursor: default;
 }  
 
 .refresh_ico{
    cursor: pointer;
    /*color: #6F6F6F*/
 }

 .refresh_ico:hover{
    color: #2BA6CB;
 }
 /* --- buttons --- */
 .add_button
 {
    margin: 5px;
    border: 1px dotted #ddd;
    color: #ddd!important;
    cursor: pointer;
 }
 
 .add_button:hover
 {
     color: #888!important;
 }
 
  .stat_button
 {
    cursor: default;
    margin:5px;
    border: 1px dotted #999;
    height:40px;
    color:#999;
 }
 
 .stat_button:hover
 {
    cursor: pointer;
   /* border: 1px solid #2BA6CB;*/
    color:#2BA6CB;
 }
 
 .autores_text{
    transition: none; 
     -webkit-transition: none; 
     -moz-transition:none;
      -o-transition: none;
 }