
   html, body{
     font-family: 'Lato', sans-serif;
     color: #444;
     /*padding: 20px;*/
   }

   .nowrap{
     white-space: nowrap;
   }

   .bold{
    font-weight: bold;
   }

   .cb-primary{
      color: #0a4f79;
   }

   .inactive{
    color: #aaa;
    background: #eee;
   }

   .active.panel-heading {
      background: #fcf8e3;
   }

   .active.panel-footer{
      background: #fff;
   }

   .active.panel-heading > a{
      color: #333;
   }

   .dropdown-option, .cursor-pointer{
      cursor: pointer;
   }

   td.odd{
    background: #fafafa;
   }

   td.bg-danger.odd{
    background: #dec0c0;
   }

   td.bg-success.odd{
    background: #cceabf;
   }

   td .stickynote{
    background: #f8f9cd;
    color: #404344;
    padding:1em;
    -moz-box-shadow:5px 5px 7px rgba(33,33,33,1);
    -webkit-box-shadow: 5px 5px 7px rgba(33,33,33,.7);
    box-shadow: 5px 5px 7px rgba(33,33,33,.7);
    -o-transform:rotate(-2deg);
    -webkit-transform:rotate(-2deg);
    -moz-transform:rotate(-2deg);
    position:relative;
    top:-5px;
    -moz-transition:-moz-transform .15s linear;
    -o-transition:-o-transform .15s linear;
    -webkit-transition:-webkit-transform .15s;
   }

   td:hover .stickynote, td:focus .stickynote{
    
    -moz-box-shadow:10px 10px 7px rgba(0,0,0,.7);
    -webkit-box-shadow: 10px 10px 7px rgba(0,0,0,.7);
    -webkit-transform: scale(1.25);
    -moz-transform: scale(1.25);
    -o-transform: scale(1.25);
    position:relative;
    z-index:5; 
   }

   .search-dropdown{
      position:absolute;
      z-index:3;
      width:94%;
      height:200px;
      overflow-x:hidden;
      overflow-y:scroll;
    }

    .search-dropdown .search-dropdown-item{
      text-align: left;
    }

    .search-dropdown .disabled{
      color: #aaa;
      background: #ddd;
      opacity: 1;
    }

   .btn-group-vertical label.btn.active:after, ul.dropdown-menu li.selected a:after{
      font-family: 'Glyphicons Halflings';
      content: "\e013";
      font-size: 0.7em;
      position: absolute;
      right: 15px;
      margin: 5px 0;
   }

   .hr {
     padding: 5px;
     width: 100%;
     border-bottom: 1px solid #eee;
     margin-bottom: 20px;
   }

   a[data-toggle=collapse]{
      text-decoration: none;
      cursor: pointer;
      /*color: #888;*/
   }

   .text-white{
      color: #fff;
   }

   a[data-toggle=collapse] .collapse-chevron:before{
     font-family: 'Glyphicons Halflings';
     content: "\e113";
     font-size: 0.7em;
   }

   a[data-toggle=collapse].collapsed .collapse-chevron:before{
     font-family: 'Glyphicons Halflings';
     content: "\e114";
     font-size: 0.7em;
   }

   .font-xs{font-size:85%!important}
   .font-sm{font-size:95%!important}
   .font-md{font-size:130%!important}
   .font-lg{font-size:160%!important}
   .font-xl{font-size:200%!important}

   /* spin icon animated */
   .gly-spin {
      -webkit-animation: spin 2s infinite linear;
      -moz-animation: spin 2s infinite linear;
      -o-animation: spin 2s infinite linear;
      animation: spin 2s infinite linear;
    }

    .bootstrap-datetimepicker-widget.dropdown-menu{
      z-index: 9999;
    }

    @-moz-keyframes spin {
      0% {
        -moz-transform: rotate(0deg);
      }
      100% {
        -moz-transform: rotate(359deg);
      }
    }
    @-webkit-keyframes spin {
      0% {
        -webkit-transform: rotate(0deg);
      }
      100% {
        -webkit-transform: rotate(359deg);
      }
    }
    @-o-keyframes spin {
      0% {
        -o-transform: rotate(0deg);
      }
      100% {
        -o-transform: rotate(359deg);
      }
    }
    @keyframes spin {
      0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
      }
      100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
      }
    }

   /* logos */

   .logo-error img{
     width: 100px;
   }
   .logo-nav img{
     width: 24px;
   }

   .dropwdown-striped li:nth-child(even){
      background: #f9f8f8;
   }

   .required{
      border-left: 3px solid #e45b5b!important;
   }

   .background-error{
     background: #fee;
   }

   .error-container{
     position:relative;
     z-index: 5999;
   }

   .center-container {
       position: absolute;
       top: 50%;
       left: 50%;
       margin-top: 150px;
       -moz-transform: translateX(-50%) translateY(-50%);
       -webkit-transform: translateX(-50%) translateY(-50%);
       transform: translateX(-50%) translateY(-50%);
       text-align: center;
   }

   .padding-fixed{
     margin-top: 150px;
   }
   /* dropdown */
   
   .dropdown-toggle.form-control{
     background: initial;
     text-align: left;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
   }

   .dropdown-toggle.form-control .caret{
     float: right;
     margin: 8px 0 0 5px;
   }

   .dropdown .dropdown-menu{
      width: auto;
      /*width: -webkit-fill-available;*/
      max-height: 300px;
      overflow-x: hidden;
      overflow-y: auto;
    }

   .dropdown .dropdown-menu li{
     cursor: pointer;
   }

   @media (max-width: 767px){
     .dropdown-menu>li>a {
       white-space: normal;
     }
   }

   /* datatables */
   #example_wrapper .filter-left div.dataTables_filter {
    text-align: left;
   }

   tr.datatable-active td{
     background: #e2e8bc;
     color: #444;
   }

   tr.datatable-active:hover td{
     background: #cdd2ad;
     color: #444;
   }

   .btn-datatable-edit{
    margin: 2px 0 0 2px;
   }

   .table thead tr th, .table tfoot tr th {
    background: #337ab7;
    color: #fff;
    border-bottom: 1px solid #47a3da;
    border-left: 1px solid #47a3da;
    font-weight: 400;
   }

   /* sidemenu */

   #sideMenuMain{
     cursor: pointer;
   }

   #sideMenuMain:before{
    font-family: 'Glyphicons Halflings';
    content: "\e236";
    top: 2px;
    right: 4px;
    position: relative;
   }

   .cbp-spmenu-push-toright #sideMenuMain:before{
    font-family: 'Glyphicons Halflings';
    content: "\e257";
   }

   /* General styles for all menus */
    .cbp-spmenu {
    	background: #47a3da;
    	position: fixed;
      overflow-x:hidden;
      overflow-y:auto;
    }

    .cbp-spmenu h3 {
    	color: #e7e95b;
    	font-size: 1.2em;
    	padding: 10px 15px;
    	margin: 0;
    	font-weight: 300;
    	background: #3479b7;
    }

    .cbp-spmenu h4 {
      color: #afdefa;
      font-size: 1.4em;
      padding: 10px 15px;
      margin: 0;
      font-weight: 300;
      background: #0f4b6f;
      height: 55px;
      text-align: left;
    }

    .cbp-spmenu h4 .subtitle{
      color: #fff;
      font-size: 0.7em;
    }

    .cbp-spmenu h6 {
      width: 100%;
    	color: #e8ea5d;
    	padding: 5px 15px;
    	margin: 0;
    	background: #DA7132;
    }

    .cbp-spmenu a {
    	display: block;
    	color: #fff;
    	font-size: 1.1em;
    	font-weight: 300;
    }

    nav.main-menu a{
      color: #337ab7;
      text-decoration: none;
      display: inline-block;
      padding: 20px;
      font-size: 1.3em;
      border-radius: 15px;
      margin-bottom: 5px;
      background-image: -webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);
      background-image: -o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);
      background-image: -webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));
      background-image: linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
      filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
      background-repeat: repeat-x;
      border-color: #28a4c9;
      color: #fff;
    }

    nav.main-menu a:hover{
      background: rgba(179,220,237,1);
      background: -moz-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 50%, rgba(188,224,238,1) 100%);
      background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(179,220,237,1)), color-stop(50%, rgba(41,184,229,1)), color-stop(100%, rgba(188,224,238,1)));
      background: -webkit-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 50%, rgba(188,224,238,1) 100%);
      background: -o-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 50%, rgba(188,224,238,1) 100%);
      background: -ms-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 50%, rgba(188,224,238,1) 100%);
      background: linear-gradient(to bottom, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 50%, rgba(188,224,238,1) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3dced', endColorstr='#bce0ee', GradientType=0 );
    }

    nav.main-menu h6{
      display: none;
    }

    .cbp-spmenu a:hover {
    	background: #258ecd;
      text-decoration: none;
    }

    .cbp-spmenu a:active {
    	background: #afdefa;
    	color: #47a3da;
    }

    /* Orientation-dependent styles for the content of the menu */

    .cbp-spmenu-vertical {
    	width: 240px;
    	height: 100%;
    	top: 0;
    	z-index: 1000;
    }

    .cbp-spmenu-vertical a {
    	border-bottom: 1px solid #258ecd;
    	padding: 1em;
      border-radius: 10px;
      margin: 5px 10px;
      background: #53aee4;
    }

    .cbp-spmenu-vertical a.selected {
    	background: #5cb85c;
    }

    .cbp-spmenu-vertical a.selected:hover {
    	background: #599a59;
    }

    .cbp-spmenu-horizontal {
    	width: 100%;
    	height: 150px;
    	left: 0;
    	z-index: 1000;
    	overflow: hidden;
    }

    .cbp-spmenu-horizontal h3 {
    	height: 100%;
    	width: 20%;
    	float: left;
    }

    .cbp-spmenu-horizontal h6 {
    	height: 100%;
    	width: 20%;
    	float: left;
    }

    .cbp-spmenu-horizontal a {
    	float: left;
    	width: 20%;
    	padding: 0.8em;
    	border-left: 1px solid #258ecd;
    }

    /* Vertical menu that slides from the left or right */

    .cbp-spmenu-left {
    	left: -1240px;
    }

    .cbp-spmenu-right {
    	right: -1240px;
    }

    .cbp-spmenu-left.cbp-spmenu-open {
    	left: 0px;
    }

    .cbp-spmenu-right.cbp-spmenu-open {
    	right: 0px;
    }

    /* Horizontal menu that slides from the top or bottom */

    .cbp-spmenu-top {
    	top: -1150px;
    }

    .cbp-spmenu-bottom {
    	bottom: -1150px;
    }

    .cbp-spmenu-top.cbp-spmenu-open {
    	top: 0px;
    }

    .cbp-spmenu-bottom.cbp-spmenu-open {
    	bottom: 0px;
    }

    /* Push classes applied to the body */

    .cbp-spmenu-push {
    	overflow-x: hidden;
    	position: relative;
    	left: 0;
    }

    .cbp-spmenu-push-toright {
    	left: 240px;
    }

    .cbp-spmenu-push-toleft {
    	left: -240px;
    }

    .sideBarContainer{
      margin-left: 20px;
      margin-right: 20px;
    }

    .cbp-spmenu-push-toright .sideBarContainer{
      margin-right: 260px;
    }

    body.fixed .sideBarContainer{
      top: 100px;
      position: relative;
    }

    @media screen and (max-width: 768px){
      .sideBarContainer{
        margin-left: 5px;
        margin-right: 5px;
      }

      .cbp-spmenu-push-toright .sideBarContainer{
        margin-right: 40px;
      }

      body.fixed .sideBarContainer{
        top: 100px;
        position: relative;
      }
    }
    /* Transitions */

     .cbp-spmenu:not(.cbp-spmenu-open),
     .cbp-spmenu-push:not(.cbp-spmenu-push-toright) {
    	-webkit-transition: all 0.3s ease;
    	-moz-transition: all 0.3s ease;
    	transition: all 0.3s ease;
    }

    /* Example media queries */
    /*
    @media screen and (max-width: 55.1875em){

    	.cbp-spmenu-horizontal {
    		font-size: 75%;
    		height: 110px;
    	}

    	.cbp-spmenu-top {
    		top: -110px;
    	}

    	.cbp-spmenu-bottom {
    		bottom: -110px;
    	}

    }

    @media screen and (max-height: 26.375em){

    	.cbp-spmenu-vertical {
    		font-size: 90%;
    		width: 190px;
    	}

    	.cbp-spmenu-left,
    	.cbp-spmenu-push-toleft {
    		left: -190px;
    	}

    	.cbp-spmenu-right {
    		right: -190px;
    	}

    	.cbp-spmenu-push-toright {
    		left: 190px;
    	}
    }
    */
/* header & breadcrumb */

body.fixed #navbar{
  position: fixed;
  width: 100%;
  height: 0px;
  top: 0;
  z-index: 5001;
}

body.cbp-spmenu-push-toright .navbar-right {
  margin-right: 225px;
}

#breadcrumb{
  padding-left: 20px;
  margin-top: -20px;
}

.modal{
  z-index: 6000;
}

.popover{
  z-index: 5002;
}

.btn-help{
  text-decoration:none;
  cursor:pointer;
  font-size: 150%;
  color: #337ab7;
  top: 4px;
  left: 5px;
  position: relative;
}

body.fixed #breadcrumb{
  position: fixed;
  padding-left: 20px;
  width: 100%;
  top: 77px;
  z-index: 5000;
}

@media screen and (max-width: 768px){
  body.fixed #breadcrumb{
    top: 70px;
    height: 40px;
  }
}

.table-toolbar {
  padding: 0 0 15px;
}

.table-toolbar button, .table-toolbar a{
  margin-left: 5px;
}

.margin-5{
  margin: 0 5px 5px 0;
}

.margin-2{
  margin: 0 2px 2px 0;
}

.padding-10{
  padding: 10px;
}

.padding-right-10{
  padding-right: 10px;
}

.boto-usuari{
  width: 220px;
  max-width: 220px;
  text-align: center;
  clear: both;
  display: inline-block!important;
  overflow: hidden;
  white-space: nowrap;
}

.boto-usuari img{
  border-radius: 50%;
  width: 36px;
  border: 2px solid rgba(0,0,0,.14);
  box-sizing: content-box;
  margin: -15px 0;
  position: relative;
}

.navbar-btn{
  margin-left: 15px;
}
