[data-behavior="is-aliment"] .badge {
  cursor: default !important;
}

[data-behavior="is-aliment"] > .badge:not(.portion-value):hover{
  background: orange !important;
}

.form-control{
  height: 40px;
}

.calories-error-field{
    border: 2px solid #d33737 !important;
}
.lds-hourglass {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-hourglass:after {
  content: " ";
  display: block;
  border-radius: 50%;
  width: 0;
  height: 0;
  margin: 6px;
  box-sizing: border-box;
  border: 26px solid #fcf;
  border-color: #fcf transparent #fcf transparent;
  animation: lds-hourglass 1.2s infinite;
}
@keyframes lds-hourglass {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }
}

.dropdown-menu li a{
    padding: 12px;
}

.input-group-addon {
    min-width:30%;
    text-align:left;
    background: #F9F9F9;
    border-radius: 0;
    border-left: 2px solid #00d1b2;
}

.input-group {
    width: 100%;
    margin-bottom: 10px;
}

.input-group .form-control{
    border-radius: 0;
    height: auto;
    padding: 10px;
}

.input-group .form-control:focus{
    box-shadow: none;
    border-color: #00d1b2;
}

.overlay-loader{
  z-index:999999;
  position:fixed;
  top:0;left:0;right:0;bottom:0;
  background:rgba(0,0,0,0.5);
}

svg.loader {
  overflow: visible;
  width: 100px;
  height: 150px;
  position: absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
}
svg.loader g {
  animation: slide 2s linear infinite;
}
svg.loader g:nth-child(2) {
  animation-delay: 0.5s;
}
svg.loader g:nth-child(2) path {
  animation-delay: 0.5s;
  stroke-dasharray: 0px 158px;
  stroke-dashoffset: 1px;
}
svg.loader path {
  stroke: url(#gradient);
  stroke-width: 20px;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 0 157px;
  stroke-dashoffset: 0;
  animation: escalade 2s cubic-bezier(0.8, 0, 0.2, 1) infinite;
}

@keyframes slide {
  0% {
    transform: translateY(-50px);
  }
  100% {
    transform: translateY(50px);
  }
}
@keyframes escalade {
  0% {
    stroke-dasharray: 0 157px;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 156px 157px;
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dasharray: 156px 157px;
    stroke-dashoffset: -156px;
  }
}

.aliment-item, .supplement-item, .category-item, .subcategory-item{
    border-bottom:1px solid #ccc;
    padding:4px;
    cursor: pointer;
}

.category-item:hover, .subcategory-item:hover{
    background: #EFEFEF;
}

.aliment-item:nth-child(odd), .supplement-item:nth-child(odd) {
  background-color: #F7FAFC;
}
.selected-aliment, .selected-supplement{
  background: #38B2AC !important;
  color: #fff !important;
}

.select2-container--default .select2-selection--multiple{
  border-radius: 0 !important;
}

.row.equal {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}
.row.equal > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

.highlight-drobable-area{
    border: 2px dashed #999;
}

.panel-heading a:after {
    font-family:'Glyphicons Halflings';
    content:"\e114";
    float: right;
    color: grey;
}
.panel-heading a.collapsed:after {
    content:"\e080";
}

.select2-container .select2-selection--multiple .select2-selection__rendered{
    white-space: normal !important;
}
