/*

 Copyright (c) 2016 Kite Labs s.r.l. 
 All rights reserved.

 $Id$

*/
/* 
    Created on : 17-nov-2016, 11.58.17
    Author     : Riccardo Ghiglianovich <riccardo.ghiglianovich@kitelabs.it>
*/

input.ng-touched.ng-invalid:focus {
	box-shadow:0 2px 0 #e67a7a !important;
}
.has-error > input, input.ng-touched.ng-invalid {
	box-shadow:0 2px 0 rgba(226, 124, 124, 0.49) !important;
}

/*elimina gli spinner dai campi numerici */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type=number] {
		text-align: right;

}
/*per gestire i fieldset in readonly e presentarli normali, ovvero senza singrigirli*/
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
	background-color:inherit;
	opacity: 1;
}
.form-control[disabled], fieldset[disabled] .form-control {
	cursor:default;
	 box-shadow:none;
	 border:0 !important;
}

select[disabled] {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	text-indent: 1px !important;
	text-overflow: '' !important;
}

.klNumber {
	text-align: right !important;
}

/*personalizzazioni dei blocchi */
.kl-block-header {
  background-color: #f9f9f9;
}
.form-material > label {
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
}

.nav-main .nav-main-heading {
  font-weight: 300;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th {
  font-size: 14px;
  font-weight: 600;
}

.content {
  margin: 0 auto;
  padding: 10px 30px 1px;
  max-width: 100%;
  overflow-x: visible;
}
.content .items-push > div {
  margin-bottom: 10px;
}

.mjs-nestedSortable-error {
	background: #fbe3e4;
	border-color: transparent;
}
.sortable li.mjs-nestedSortable-collapsed > ol {
	display: none;
}
ol.wbs,.list-group-item > ol {
	margin-top: 10px;
}

.mini-form {
	margin: 0;	
}
.mini-form > .form-control {
	padding: 0;
	height: inherit;
}

.list-group-item {
	position: relative;
}

.block.block-opt-fullscreen {
    z-index: 1040;
}

.block-hover:hover {
	background-color: #F9F9F9;
	cursor: pointer;
}

.calendar table.month tr td .day-content {
	border-radius: 0px;
}

.holidays {
	background-color: rgba(255, 10, 10, 0.55);
    color: white;
    /*border-radius: 0px !important;*/
}

.disabledDays {
	/*background-color: rgba(100, 100, 100, 0.55);*/
	background-color: rgb(220, 220, 220);
    color: white;
    /*border-radius: 0px !important;*/
}

.orgEvents {
	background-color: rgb(120, 240, 120);
	/*background-color: rgba(10, 255, 10, 0.55);*/
	color: white;
	/*border-radius: 0px !important;*/
}

.weekend {
	background-color: rgba(255, 10, 10, 0.25);
	color: white;
	/*border-radius: 0px !important;*/
}

.current {
	outline: 2px solid #70b9eb;
	outline-radius: 4px;
}
.current2 {
	background-color: rgba(112, 185, 251, 0.25);	
}

textarea.note {
	height: 120px;
}

.legend .type_color {
	width: 20px;
	height: 20px;
	border-radius: 4px;
	margin-right: 10px;
	float: left;
}

.legend .legend-item {
	padding: 10px;
}

.notifications-list {
	list-style-type: none;
}

.notifications-list li {
	border-bottom: 1px solid #EEE; 
	margin-bottom: 10px;
	padding-bottom: 5px
}

.notifications-list li .actions{
	margin-top: 10px;	
}

.notifications-list li a{
	padding: 8px 0px; 	
}

.font-s14 {
	font-size: 14px;
}

.notification-read {
	opacity: 0.66;
}

.square {
	display: block;
    width: 20px;
    height: 20px;
    float: left;
    border-radius: 4px;
    margin-right: 10px;
}

.js-select2.ng-invalid + span {
	box-shadow: 0 2px 0 rgba(226, 124, 124, 0.49) !important;
}

table.vertical-centered > tbody > tr > td {
	vertical-align: middle;
}

.tree-expand {
	font-weight: normal;
}

.tree-buttons div{
	min-width: 65px;
}

/*classi custom per allineare e rendere a stessa altezza dei block dentro una row*/
.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}


.row.row-deck > div {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: stretch;
      align-items: stretch;
}

.row.row-deck > div > .block {
  min-width: 100%;
}

/*attivare questa classe per visualizzare i bordi dei blocchi (debug mode)*/

/*.row > div { min-height:100px; border:1px solid red;}
*/


.gantt li {
        line-height: 0px;
}


/* Su Richiesta marcello abbiamo compattato le viste */
.content p, .content .push, .content .block, .content .items-push > div {
    margin-bottom: 10px;
}

.block-header {
    padding: 8px 20px;
}

.form-group {
    margin-bottom: 5px;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th {
    font-size: 12px;
}

.page-heading {
    font-size: 20px;
}

.content .items-push > div {
    margin-bottom: 5px;
}

.img-avatar.img-avatar40 {
  width: 40px;
  height: 40px;
}

.text-italic {
	font-style: italic;
}

.text-danger-lighter {
	color: #ea8a8a;
}

.bg-info-lighter {
	background-color: #ebf1f4;
}

.text-smaller {
	font-size: 10px;
}

.d-lPadding {
	padding: 30px;
}

.d-lItem {
	/*padding: 15%;*/
	background-color: #efefef;
	border-color: #c6c6c6;
	padding-top: 50px;
	padding-bottom: 50px;
}

/*.d-hoverable:hover {
	box-shadow: 0px 0px 8px 7px #e1ede7;
}*/

.d-lItem-selected {
	box-shadow: 0px 0px 12px 5px #98b9e3;
}

.text-black {
	color: black;
}

.switch-label {
  background: #fff;
  border: 1px solid #dfdfdf;
  position: relative;
  display: inline-block;
  box-sizing: content-box;
  overflow: visible;
  width: 52px;
  height: 25px;
  padding: 0px;
  margin: 0px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: rgb(223, 223, 223) 0px 0px 0px 0px inset;
  transition: 0.3s ease-out all;
  -webkit-transition: 0.3s ease-out all;
  top: -1px;
}
/*adding a wide width for larger switch text*/
.switch-label.wide {
  width:80px;
}
.switch-label small {
  background: #fff;
  border-radius: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  width: 25px;
  height: 25px;
  position: absolute;
  top: 0px;
  left: 0px;
  transition: 0.3s ease-out all;
  -webkit-transition: 0.3s ease-out all;
}
.switch-label.checked {
  background: rgb(100, 189, 99);
  border-color: rgb(100, 189, 99);
}
.switch-label.checked small {
  left: 28px;
}
/*wider switch text moves small further to the right*/
.switch-label.wide.checked small {
  left:52px;
}
/*styles for switch-text*/
.switch-label .switch-text {
  font-family:Arial, Helvetica, sans-serif;
  font-size:12px;
}

.switch-label .off {
  display:block;
  position: absolute;
  right: 10%;
  top: 25%;
  z-index: 0;
  color:#A9A9A9;
}

.switch-label .on {
  display:none;
   z-index: 0;
  color:#fff;
  position: absolute;
  top: 25%;
  left: 9%;
}

.switch-label.checked .off {
  display:none;
}

.switch-label.checked .on {
  display:block;

}

.switch-label.disabled {
  opacity: .50;
  cursor: not-allowed;
}
.switch-label.disable {
  opacity: .50;
  cursor: not-allowed;
}
.ui-resizable-se {
    cursor: se-resize;
    width: 12px;
    height: 12px;
    right: 1px;
    bottom: 1px;
}
.ui-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    display: block;
    -ms-touch-action: none;
    touch-action: none;
}

.ng-table-pagination {
    margin-top: 0;
    float: right;
}

.ng-table th.text-right {
    text-align: right !important;
}
.ng-table th.text-left {
    text-align: left !important;
} 
.ng-table tr.selected{
    background-color: #5c90d2 !important;
    color: #FFFFFF !important;
}
.ng-table tr.selected a {
    color: #FFFFFF !important;

}
/*.d-lItem-clicked {
	box-shadow: 0px 0px 8px 4px #ede1e1;
}*/



.fa-stack[data-count]:after{
    position:absolute;
    right:10%;
    top:20%;
    content: attr(data-count);
    font-size:40%;
    padding:.2em;
    border-radius:999px;
    line-height:.75em;
    color: white;
    background:rgba(0,0,255,.85);
    text-align:center;
    min-width:2em;
    margin-right: 15px;
    font-weight:bold;
}

.imagine {
    border: 4px dotted #6fb9ea;


}