div.row.aside-menu {
  background: -webkit-linear-gradient(left, #FFF, #222);
  background: -o-linear-gradient(left, #FFF, #222);
  background: -moz-linear-gradient(left, #FFF, #222);
  background: linear-gradient(left, #FFF, #222);
}
.main-menu.col-md-2.hidden-xs {
  padding-right: 28px;
}
.main-menu li > a {
  padding: 30px 14px;
  color: #FFF;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 16px;
  border-radius: 5px;
  margin-top: 14px;
  width: 90%;
  height: 82px;
}
.main-menu li:first-child > a {
  background-color: #40425b;
}
.main-menu li:nth-child(2) > a {
  background-color: #eeb764;
}
.main-menu li:nth-child(3) > a {
  background-color: #a7c489;
}
.main-menu li:nth-child(4) > a {
  background-color: #d56f7d;
}
.main-menu li:nth-child(5) > a {
  background-color: #a5d9cd;
  padding-top: 20px;
}
.main-menu li:nth-child(6) > a {
  background-color: #9a95c1;
}
.main-menu li:last-child > a {
  background-color: #bcab9d;
}
.main-menu li.active > a:after,
.main-menu li:hover > a:after {
  position: absolute;
  border-width: 38px 0 38px 20px;
  border-style: solid;
  border-color: transparent #40425b;
  content: " ";
  float: right;
  top: 3px;
  right: 0;
  left: 100%;
}
.main-menu li:nth-child(2).active > a:after,
.main-menu li:nth-child(2):hover > a:after {
  border-color: transparent #EEB764;
}
.main-menu li:nth-child(3).active > a:after,
.main-menu li:nth-child(3):hover > a:after {
  border-color: transparent #a7c489;
}
.main-menu li:nth-child(4).active > a:after,
.main-menu li:nth-child(4):hover > a:after {
  border-color: transparent #d56f7d;
}
.main-menu li:nth-child(5).active > a:after,
.main-menu li:nth-child(5):hover > a:after {
  border-color: transparent #a5d9cd;
}
.main-menu li:nth-child(6).active > a:after,
.main-menu li:nth-child(6):hover > a:after {
  border-color: transparent #9a95c1;
}
.main-menu li:last-child.active > a:after,
.main-menu li:last-child:hover > a:after {
  border-color: transparent #bcab9d;
}
.main-menu li.active > a {
  font-weight: 500;
}
div.user-menu.nav.navbar-nav {
  width: 100%;
  height: 45px;
  background-color: #DCDCE5;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
}
.user-menu.nav.navbar-nav .container {
  padding: 0;
}
.user-menu .text-center.pull-right {
  display: inline-block;
}
ul.top-menu.nav.navbar-nav {
  display: inline-block;
}
ul.top-menu.nav.navbar-nav li.first.last {
  margin-bottom: 0;
  margin-top: 4px;
}
.user-menu .text-center.pull-right a,
ul.top-menu.nav.navbar-nav li span {
  display: inline-block;
  padding-top: 10px;
  color: #616384;
  vertical-align: middle;
  margin-left: 15px;
}
.user-menu .text-center.pull-right a:hover {
  opacity: 0.8;
}
ul.menu_level_1.dropdown-menu {
  margin-left: 20px;
  margin-top: 10px;
  border: 2px solid #C9C9D9;
}
li.select-farm.first.last > a {
  padding: 5px 0 0 0;
}
li.select-farm.first.last > ul > li > a {
  padding: 0;
}
li.select-farm.first.last.dropdown a {
  background-color: transparent;
  display: inline-block;
  vertical-align: middle;
}
li.select-farm.first.last.dropdown a:hover {
  text-decoration: underline;
  background-color: transparent;
}
div.placeholder {
  text-align: center;
  text-transform: uppercase;
}
div.placeholder i {
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  margin: 0 auto;
  display: block;
  border: 2px solid #FFF;
  margin-bottom: 10px;
  margin-top: 30px;
}
div.user-menu.nav.navbar-nav > div > a {
  position: relative;
  padding: 25px 4px;
  display: inline-block;
}
i.icon-center.settings {
  background-image: url("../../bundles/app/images/settings.png");
  padding: 3px 12px;
  background-repeat: no-repeat;
  background-size: 90%;
}
i.icon-center.demo-farm {
  background-image: url("../../bundles/app/images/demo_icon.png");
  padding: 3px 12px;
  background-repeat: no-repeat;
  background-size: 90%;
}
div.user-menu.nav.navbar-nav a i.icon-center.profile {
  background-image: url("../../bundles/app/images/user_profile.png");
  padding: 5px 14px;
  background-repeat: no-repeat;
}
i.icon-center.logout {
  background-image: url("../../bundles/app/images/logout.png");
  padding: 6px 17px;
  background-repeat: no-repeat;
  background-size: 65%;
}
.dark-content a .glyphicon-question-sign:before,
.dark-content a span.glyphicon.glyphicon-question-sign {
  color: #4DC0EF;
}
a .glyphicon-question-sign:before,
a span.glyphicon.glyphicon-question-sign {
  font-size: 24px;
  color: #616384;
}
a .glyphicon-send:before,
a span.glyphicon.glyphicon-send {
  font-size: 18px;
  color: #616384;
}
.user-menu .text-center.pull-right.no-tutorial a {
  margin-top: 4px;
}
@media (max-width: 1199px) {
  .main-menu li > a {
    font-size: 14px;
    padding-left: 5px;
    text-align: center;
  }
}
@media (max-width: 991px) {
  ul.top-menu.nav.navbar-nav {
    margin: 2px 0;
  }
  li.first.last {
    padding-left: 10px;
  }
  li.select-farm.first.last.dropdown a {
    padding-top: 8px;
    margin-left: 0;
    padding-right: 8px;
  }
  .navbar-nav .open .dropdown-menu {
    margin-left: 0px;
    margin-top: 9px;
    border: 2px solid #C9C9D9;
    position: absolute;
    background-color: #FFF;
  }
}

.plan {
  border: 1px solid #ececec;
  width: 30%;
  padding: 10px;
  margin: 10px;
}
.plan.chosen-plan {
  border: 1px solid #17B4E8;
  width: auto;
  padding-top: 17px;
}
.plan h3 {
  padding: 6px;
  margin: 0;
}
.plan:first-child h3 {
  background-color: #c0dd43;
}
.plan:nth-child(2) h3 {
  background-color: #e5d285;
}
.plan:last-child h3 {
  background-color: #E5E4E2;
}
.plan p.description {
  padding-top: 10px;
}
.chosen-plan div.col-xs-4 {
  display: inline;
  vertical-align: middle;
}
.chosen-plan .col-xs-4:last-child {
  margin-top: -5px;
  padding-bottom: 5px;
}
.plan.active {
  border-color: green;
  border-width: 2px;
}
ul.options {
  border-top: 1px solid #17B4E8;
  border-bottom: 1px solid #17B4E8;
  padding: 10px 0;
}
.options li {
  list-style: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 15px;
}
.options li span {
  color: #17B4E8;
}
.panel-body.panel-billing p {
  padding: 10px;
}
span.original-price,
span.discounted-price {
  font-weight: 600;
  font-size: 20px;
}
span.old-price {
  font-size: 14px;
  color: red;
  float: left;
  position: absolute;
  bottom: 30px;
  left: 11px;
}
.plan a.btn.btn-primary {
  float: right;
  margin-top: 5px;
}
i.icon-choice {
  background-image: url("../../bundles/app/images/choice.png");
  background-repeat: no-repeat;
  background-color: #17B4E8;
  padding: 20px 25px;
  background-position: 50% 50%;
  margin-left: -25px;
  bottom: 0;
  position: relative;
  margin-right: 8px;
}
@media (max-width: 991px) {
  .plan {
    width: 46%;
  }
  span.status-selection .checkbox {
    margin-left: 22px;
  }
}
@media (max-width: 768px) {
  .plan {
    width: auto;
  }
}
@media (max-width: 340px) {
  .panel-body.panel-billing .form-group {
    padding: 0 14px;
  }
}

.btn-default {
  color: #616384;
  background-color: #fff;
  border-color: #C9C9D9;
}
.btn-default:hover {
  border-color: #616384;
}
.btn-primary {
  background-color: #17B4EC;
  border-color: #1A93C2;
}
.btn-primary:hover {
  background-color: #0FD9FF;
  border-color: #17B4EC;
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
  color: #fff;
  background-color: #0483B3;
  border-color: #193c5a;
}
.btn-cancel {
  margin-right: 10px;
}
.btn:active,
.btn.active {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-color: #053761;
}
button#search_head_submit {
  background: #17B4E8;
  border-color: #17B4E8;
}
button#search_head_submit > span {
  color: #FFFFFF;
}
button#search_head_submit:hover {
  background: #0FD9FF;
}
a.btn .glyphicon-chevron-right:before,
a.btn .glyphicon-chevron-down:before,
a.btn .glyphicon-chevron-left:before,
a.btn span.glyphicon.glyphicon-chevron-left,
a.btn span.glyphicon.glyphicon-chevron-right,
a.btn span.glyphicon.glyphicon-chevron-down,
a.btn span.glyphicon.glyphicon-chevron-up {
  font-size: 10px;
  top: 0px;
}
a.btn span.chevron-back {
  margin-right: 2px;
}
a.btn.btn-default.btn-block.show-history {
  background-color: #27C0A2;
  border-color: #139B80;
  color: #FFF;
}
a.btn.btn-default.btn-block.show-history:hover {
  background-color: #139B80;
}
.user td a.btn.btn-sm.btn-danger,
.user td a.btn.btn-sm.btn-success {
  width: 110px;
  margin-bottom: 5px;
}
.glyphicon-eye-close:before {
  margin-right: 2px;
}

.dark-content {
  background-color: #323447;
  color: white;
  /*-------- INPUT COLOR FIX ----------*/
  /*-------- NAVBAR ----------*/
  /*-------- LOGIN PANEL ----------*/
  /*-------- RESET ----------*/
  /*-------- FORM ----------*/
  /*-------- LINK & BUTTONS ----------*/
  /*-------- ICONS ----------*/
}
.dark-content a,
.dark-content a:hover,
.dark-content a:visited {
  color: #4DC0EF;
}
.dark-content .panel {
  color: #8487B0;
}
.dark-content .herd-steps p {
  color: #bfc2f3;
}
.dark-content .well p {
  color: #767bb0;
}
.dark-content .notice {
  color: white;
  font-weight: 100;
  letter-spacing: 1px;
}
.dark-content section.col-md-10 > h1 {
  color: #4db6e5;
  text-align: center;
}
.dark-content section.col-md-10 > p {
  font-size: 20px;
  text-align: center;
}
.dark-content .big-logo {
  display: block;
  text-indent: -999999px;
  width: 260px;
  height: 380px;
  margin: -40px auto;
}
.dark-content .herd .icon {
  position: relative;
  display: inline-block;
  top: 5px;
  width: 210px;
  height: 163px;
  margin-top: 25px;
  margin-bottom: 15px;
}
.dark-content .herd .col-md-4 > p {
  color: #FFF;
  text-align: center;
  padding: 10px 10px 40px 10px;
  max-width: 400px;
  margin: 0 auto;
}
.dark-content .herd h1 {
  margin-bottom: 20px;
  text-align: center;
  color: #4db6e5;
  text-transform: uppercase;
  font-size: 30px;
}
.dark-content .herd h4 {
  margin-top: 33px;
  color: #FFF;
  padding-left: 50px;
  display: inline-block;
  margin-left: 15px;
}
.dark-content .herd h5 {
  color: #FFFFFF;
}
.dark-content .herd .badge {
  border-radius: 500px;
  background-color: transparent;
  width: 50px;
  height: 50px;
  line-height: 45px;
  text-align: center;
  color: #fff;
  /*float: left;*/
  font-size: 24px;
  margin-right: 10px;
  border: 2px solid #4db6e5;
  margin-bottom: 18px;
  /*left: 14px;*/
  position: absolute;
  margin-top: 18px;
  padding-top: 0;
  display: inline;
}
.dark-content .herd .wizard-icon {
  background: url('../../bundles/app/images/wizard.png') no-repeat;
  background-position: 50%;
}
.dark-content .herd .wizard-light-icon {
  width: 65px;
  height: 65px;
  left: 0;
  margin-right: 10px;
  background: url('../../bundles/app/images/wizard_light.png') no-repeat;
  top: 18px;
}
.dark-content .herd .demo-farm-icon {
  background: url('../../bundles/app/images/demo_farm.png') no-repeat;
  background-position: 50%;
}
.dark-content .herd .operator-icon {
  background: url('../../bundles/app/images/operator.png') no-repeat;
  background-position: 50%;
}
.dark-content .herd .upload-icon {
  background: url('../../bundles/app/images/upload.png') no-repeat;
  background-position: 50%;
}
.dark-content .herd .upload-light-icon {
  width: 103px;
  height: 65px;
  background-image: url('../../bundles/app/images/upload.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: 50% 100%;
  margin: 0;
}
.dark-content .herd .box {
  /*background-color: @box-bg;
      border: 1px solid @box-border;*/
  border-radius: 4px;
  height: 235px;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}
.dark-content .herd .box:hover {
  background-color: rgba(175, 200, 233, 0.1);
  max-width: 400px;
  margin: 0 auto;
}
.dark-content .herd a.import-type {
  color: #ccc;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
}
.dark-content .herd .actions.text-right {
  margin-top: 40px;
  display: block;
}
.dark-content .herd .col-xs-6.col-sm-2 {
  margin-right: 10px;
}
.dark-content .herd .btn-sober {
  color: #FFFFFF;
  background: #2E94C0;
}
.dark-content .herd .btn-sober:hover {
  background: #0678A9;
}
.dark-content .herd .disabled span,
.dark-content .herd .disabled p {
  opacity: 0.5;
  cursor: not-allowed;
  max-width: 400px;
}
.dark-content .herd .disabled a {
  cursor: pointer;
}
.dark-content .herd .disabled .box:hover {
  background-color: rgba(222, 222, 222, 0);
  cursor: not-allowed;
}
.dark-content .herd input[type="checkbox"] {
  display: none;
}
.dark-content .herd .checkbox {
  float: left;
  margin-top: 0px;
  margin-bottom: 0px;
}
.dark-content .herd .checkbox label {
  background: url('../../bundles/app/images/head.png') no-repeat;
  height: 80px;
  width: 122px;
  color: #323447;
  text-align: center;
  display: inline-block;
  margin: 5px 15px;
  padding: 14px 12px 0 0px;
  font-size: 24px;
  font-weight: 600;
}
.dark-content .herd .cows .checkbox input[type="checkbox"]:checked + label {
  background: url('../../bundles/app/images/cow.png') no-repeat;
}
.dark-content .herd .dry-cows .checkbox label {
  background: url('../../bundles/app/images/cow.png') no-repeat;
}
.dark-content .herd .dry-cows .checkbox input[type="checkbox"]:checked + label {
  background: url('../../bundles/app/images/dry_cow.png') no-repeat;
}
.dark-content .herd .heifers .checkbox input[type="checkbox"]:checked + label {
  background: url('../../bundles/app/images/heifer.png') no-repeat;
}
.dark-content input:-webkit-autofill,
.dark-content input:-webkit-autofill:hover,
.dark-content input:-webkit-autofill:focus,
.dark-content input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #fff !important;
}
.dark-content .navbar-default {
  background-color: transparent;
  border-color: transparent;
}
.dark-content .navbar-default .navbar-nav > li > a {
  color: #fff;
}
.dark-content .navbar-brand {
  display: block;
}
.dark-content .big-logo {
  display: block;
  text-indent: -999999px;
  width: 180px;
  height: 74px;
  margin: 15px auto;
}
.dark-content .panel-default {
  border-color: transparent;
}
.dark-content .panel {
  background-color: transparent;
}
.dark-content .panel-default > .panel-heading {
  color: #FFF;
  background-color: transparent;
  border-color: transparent;
}
.dark-content .login-title,
.dark-content .register-title,
.dark-content .reset-title {
  letter-spacing: 1px;
  text-align: center;
  font-size: 26px;
  font-weight: 100;
  margin: auto;
  margin-top: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid #fff;
}
.dark-content span.style-title {
  color: #4db6e5;
}
.dark-content .panel-footer {
  background-color: transparent;
  border-top: transparent;
}
.dark-content .panel-body.reset-msg {
  font-size: 18px;
  color: #FFF;
}
.dark-content .form-control {
  background-color: #323447;
  color: #FFF;
}
.dark-content .input-group {
  padding: 10px 0;
}
.dark-content .input-group-addon:first-child {
  padding-left: 6px;
  background: transparent;
}
.dark-content .input-group .form-control {
  float: left;
  padding-left: 43px;
  position: absolute;
  margin-left: -41px;
}
.dark-content .input-group .form-control:last-child {
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  margin-top: -10px;
}
.dark-content .highlighted .input-group .form-control {
  border-color: #4dc0ef;
}
.dark-content .highlighted .control-label {
  color: #4dc0ef !important;
}
.dark-content input::-webkit-input-placeholder {
  color: #ccc !important;
}
.dark-content input:-moz-placeholder {
  /* Firefox 18- */
  color: #ccc !important;
}
.dark-content input::-moz-placeholder {
  /* Firefox 19+ */
  color: #ccc !important;
}
.dark-content input:-ms-input-placeholder {
  color: #ccc !important;
}
.dark-content div.form-group label {
  font-weight: 100;
  letter-spacing: 1px;
  color: white;
}
.dark-content input#exampleEmail,
.dark-content input#examplePassword {
  color: #FFF;
}
.dark-content .input-group-addon {
  padding: 6px 12px;
  line-height: 0;
  border: 0;
}
.dark-content .btn-primary,
.dark-content .btn-block {
  background-color: #4dc0ef;
}
.dark-content .btn-primary:hover,
.dark-content .btn-block:hover,
.dark-content .btn-primary:focus,
.dark-content .btn-primary.focus {
  background-color: #0FD9FF;
}
.dark-content .btn-primary:active,
.dark-content .btn-primary.active,
.dark-content .btn-primary:active:hover,
.dark-content .btn-primary.active:hover,
.dark-content .open > .dropdown-toggle.btn-primary:hover,
.dark-content .btn-primary:active:focus,
.dark-content .btn-primary.active:focus,
.dark-content .open > .dropdown-toggle.btn-primary:focus,
.dark-content .btn-primary:active.focus,
.dark-content .btn-primary.active.focus,
.dark-content .open > .dropdown-toggle.btn-primary.focus {
  background-color: #0FD9FF;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3);
}
.dark-content .actions a.pull-left {
  color: #4db6e5;
  margin-top: 20px;
}
.dark-content .navbar-default .navbar-nav > li > a:hover,
.dark-content .navbar-default .navbar-nav > li > a:focus {
  color: #4dc0ef;
}
.dark-content i.mail-icon {
  background: url('../../bundles/app/images/mail_icon.png') no-repeat 50%;
  padding: 2px 11px;
}
.dark-content i.lock-icon {
  background: url('../../bundles/app/images/lock_icon.png') no-repeat 50%;
  padding: 2px 11px;
}
.dark-content i.user-icon {
  background: url('../../bundles/app/images/user_icon.png') no-repeat 50%;
  padding: 2px 11px;
}
.dark-content i.shuttle-icon-hl {
  background: url('../../bundles/app/images/shuttle_icon_hl.png') no-repeat 50%;
  padding: 2px 11px;
}
.dark-content i.marker-icon {
  background: url('../../bundles/app/images/marker_icon.png') no-repeat 50%;
  padding: 2px 11px;
}
.dark-content i.tractor-icon {
  background: url('../../bundles/app/images/tractor_icon.png') no-repeat 50%;
  padding: 2px 11px;
}
.dark-content i.stamp-icon {
  background: url('../../bundles/app/images/stamp_icon.png') no-repeat 50%;
  padding: 2px 11px;
}
.dark-content.arborea {
  background-image: radial-gradient(circle at center, #004283 55%, #1362bd 100%);
}
.dark-content.arborea .login-panel {
  background-color: #323447;
  border-radius: 4px;
  padding-bottom: 30px;
}
.dark-content.arborea .login-panel .alert {
  margin-top: 20px;
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .dark-content .herd .box {
    border-top: 1px solid #ccc;
  }
}
@media (min-width: 497px) and (max-width: 767px) {
  .dark-content .herd .col-xs-6.col-sm-2 {
    margin-right: 10px;
    margin-left: 10px;
    width: 45%;
  }
}
@media (max-width: 496px) {
  .dark-content section.col-md-12.herd {
    padding: 10px 3px;
  }
  .dark-content .herd .col-xs-6.col-sm-2 {
    margin-right: 0px;
  }
  .dark-content .herd h1 {
    font-size: 22px;
    text-align: center;
  }
  .dark-content .herd .col-xs-12.herd-steps {
    padding: 10px 0;
  }
}

.circle-icon {
  height: 34px;
  width: 34px;
  border-radius: 20px;
  margin: auto;
}
div.col-md-1.col-sm-1.col-block {
  display: block;
  padding: 5px 5px 5px 5px;
}
.event-checkbox {
  float: left;
  width: 33%;
  text-align: center;
}
.event-checkbox label input {
  width: 100%;
  display: none;
}
.event-checkbox .label {
  cursor: pointer;
  font-size: 12px;
  text-transform: lowercase;
  color: grey;
}
.event-checkbox .circle-icon {
  cursor: pointer;
  display: block;
}
.event-checkbox input#event_filter_category_0 + .circle-icon {
  background-color: rgba(238, 183, 100, 0.5);
}
.event.herd .circle-icon,
.event-checkbox input#event_filter_category_0:checked + .circle-icon {
  background-color: #eeb764;
}
.event-checkbox input#event_filter_category_1 + .circle-icon {
  background-color: rgba(167, 196, 137, 0.5);
}
.event.reproduction .circle-icon,
.event-checkbox input#event_filter_category_1:checked + .circle-icon {
  background-color: #a7c489;
}
.event .panel-item-event .panel-heading {
  color: white;
  padding: 5px 10px;
}
.event .panel-item-event .panel-body {
  padding: 5px 10px;
}
.event .table {
  border: 1px solid #ececec !important;
  border-radius: 4px;
  background-color: white;
  margin-bottom: 0;
}
.event .table thead th {
  font-weight: normal;
  padding: 5px 10px;
  color: white;
}
.event .table tbody td {
  padding: 5px 10px;
  border: 1px solid #ececec !important;
}
.event.reproduction thead th {
  background-color: #a7c489;
}
.event.reproduction .panel-heading {
  background-color: #a7c489;
}
.event.health thead th {
  background-color: #d4707c;
}
.event.health .panel-heading {
  background-color: #d4707c;
}
.event.herd thead th {
  background-color: #eeb764;
}
.event.herd .panel-heading {
  background-color: #eeb764;
}
.event-checkbox input#event_filter_category_2 + .circle-icon {
  background-color: rgba(212, 112, 124, 0.5);
}
.event.health .circle-icon,
.event-checkbox input#event_filter_category_2:checked + .circle-icon {
  background-color: #d4707c;
}
.col-md-11.col-sm-11.space-col {
  padding: 7px 0;
}
.panel-danger > .panel-heading {
  color: #fff;
  background-color: #fc7a95;
  border-color: #fc7a95;
}
.panel-info > .panel-heading {
  color: #FFF;
  background-color: #87d5f4;
  border-color: #87d5f4;
}
.light-content .logs-events .timeline-panel .timeline-heading {
  padding: 0;
}
.light-content .logs-events .timeline-panel .timeline-heading.farm-number {
  width: 10%;
}
.light-content .logs-events .timeline-panel .timeline-heading.type {
  width: 15%;
  margin-left: 15px;
}
.light-content .logs-events .timeline-panel .timeline-heading.info {
  width: 40%;
  margin: 0 10px;
}
.light-content .logs-events .timeline-panel .timeline-heading.user {
  width: 25%;
  color: #616384;
  font-style: italic;
  font-size: 13px;
}
.light-content .logs-events .timeline-panel .timeline-heading.user span {
  display: block;
  color: #8487b0;
  font-size: 12px;
  font-style: normal;
}
@media (min-width: 768px) and (max-width: 991px) {
  .light-content .logs-events .col-md-10.col-sm-10.timeline-panel {
    width: 80%;
    float: right;
  }
}
@media (min-width: 596px) and (max-width: 767px) {
  .light-content .logs-events .timeline-panel .timeline-heading {
    padding: 0;
  }
  .light-content .logs-events .timeline-panel .timeline-heading.farm-number {
    /*width: auto;*/
  }
  .light-content .logs-events .timeline-panel .timeline-heading.type {
    /*
        width: auto;
        */
    margin-left: 30px;
    vertical-align: top;
  }
  .light-content .logs-events .timeline-panel .timeline-heading.info {
    width: 50%;
    margin: 0 10px;
    float: right;
  }
  .light-content .logs-events .timeline-panel .timeline-heading.user {
    /*
        width: auto;
        */
    margin-top: auto;
    vertical-align: top;
    margin-left: 30px;
  }
}
@media (max-width: 595px) {
  .light-content .logs-events .timeline-panel .timeline-heading.farm-number {
    float: none;
    margin-right: 6%;
    width: 20%;
  }
  .light-content .logs-events .timeline-panel .timeline-heading.type {
    width: 50%;
    margin-left: 5px;
  }
  .light-content .logs-events .timeline-panel .timeline-heading.info {
    width: 90%;
    text-align: left;
    display: block;
    padding: 7px 0;
  }
  .light-content .logs-events .timeline-panel .timeline-heading.user {
    width: auto;
  }
}

html {
  height: 100%;
}
body {
  min-height: 100%;
  position: relative;
}
#push {
  height: 125px;
}
footer {
  border-top: 2px solid #e7e7e7;
  font-size: 80%;
  background-color: #e7e7e7;
  color: #fff;
  position: absolute;
  bottom: 0;
  width: 100%;
}
footer h4 {
  color: #801a1a;
  font-size: 1.2em;
}
footer a:link,
footer a:visited {
  color: #e7e7e7;
}
footer a:active,
footer a:hover {
  color: #fff;
  text-decoration: underline;
}
footer p {
  text-align: left;
}
footer .powered {
  background: #494b68;
  color: black;
}

.head-profile {
  margin-top: 10px;
}
.head-picture {
  position: relative;
  left: 0;
  top: 0;
  width: 280px;
  height: 150px;
}
.head-picture .change-button {
  position: absolute;
  top: 4px;
  left: 4px;
}
@media (max-width: 1199px) {
  .head-picture {
    margin-bottom: 15px;
  }
}
.head-profile .farm-number {
  padding: 10px;
  width: 260px;
}
.head-profile .farm-number .title {
  margin-right: 15px;
  font-size: 18px;
}
.head-info .row {
  margin-bottom: 10px;
}
.head-info .title {
  border-top: 1px solid lightgray;
  font-weight: bold;
}
.change-button {
  display: none;
}
.head-list .farm-number {
  font-size: 20px;
}
.head-list .complete {
  font-size: 14px;
}
.head-list thead tr th {
  text-align: center;
  border-bottom: 1px solid #ddd;
}
.head-list tbody td {
  line-height: 24px;
  text-align: center;
  vertical-align: middle !important;
}
.farm-number a {
  -moz-border-radius: 24px 24px 24px 0;
  border-radius: 24px 24px 24px 0;
  background-color: #17B4EC;
  padding: 10px;
  color: white;
  display: inline-block;
  font-size: 20px;
  min-width: 60px;
  text-align: center;
}
.farm-number a:hover {
  background-color: #0FD9FF;
  text-decoration: none;
}
.newborn-parent .farm-number {
  position: absolute;
  right: 26px;
  top: 6px;
}
.head-list tbody td.recording a.btn.btn-sm.btn-default.pull-left {
  height: 34px;
}
i.material-icons {
  padding: 9px;
  background-repeat: no-repeat;
  background-position: 50%;
}
i.material-icons.setting-voice {
  background-image: url("../../bundles/app/images/settings_voice.png");
}
i.material-icons.record-voice {
  background-image: url("../../bundles/app/images/record_voice.png");
}
.change-head-picture {
  margin-top: 16px;
}
@media (min-width: 991px) and (max-width: 1199px) {
  .confirmed-at input {
    padding-left: 3px;
  }
}
@media (min-width: 767px) and (max-width: 991px) {
  tbody > tr.head > td.herd-actions {
    display: inline-flex;
    margin-top: 10px;
    border-top: none;
  }
}
@media (max-width: 767px) {
  .head-list tbody td:nth-child(n+2) {
    display: block;
    text-align: left;
    padding: 12px 18px;
  }
  .head-list tbody td:nth-child(2) {
    border-top: none;
  }
  .head-list tbody td.notes {
    display: inline-block;
    border-top: none;
    margin-top: 2px;
    margin-left: -50px;
  }
  .head-list tbody td.notes textarea {
    height: 100px !important;
  }
  .head-list tbody td.recording {
    display: inline-block;
    float: right;
    top: 22px;
    position: relative;
    border-top: none;
    padding-left: 0;
    margin-top: 26px;
  }
  .head-list tbody td.recording .btn {
    height: 48px !important;
    width: 48px !important;
  }
  .head-list tbody td.recording .btn span {
    position: relative;
    top: 8px;
  }
  tr.confirm-visit > td.confirmed-at {
    padding: 12px 18px;
  }
  .head-list tbody td.recording a.btn.btn-sm.btn-default.pull-left {
    left: -30px;
    position: relative;
  }
}

header .navbar .navbar-brand {
  margin-top: 10px;
  padding: 17px 0px 17px 17px;
}
.login .navbar-brand.left-side,
.register .navbar-brand.left-side {
  display: none;
}
.farm-search.col-md-2 {
  margin-top: 17px;
}
.dark-content.wizard .navbar-default .navbar-nav > li > a {
  color: #fff;
}
.wizard .navbar-brand.left-side {
  display: block;
}
.wizard .farm-search.col-md-2 {
  display: none;
}
.top-menu span.flag-icon {
  margin-top: -3px;
}
@media (min-width: 1600px) {
  .farm-search.col-md-2 {
    right: 43%;
    position: absolute;
    width: 12%;
  }
}
@media (min-width: 1199px) and (max-width: 1599px) {
  .farm-search.col-md-2 {
    right: 38%;
    position: absolute;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .farm-search.col-md-2 {
    right: 41%;
    position: absolute;
  }
}
@media (max-width: 991px) {
  .navbar-left,
  .navbar-toggle {
    display: inline-block;
  }
  .navbar-toggle {
    margin-top: 18px;
  }
  #mobile-menu {
    list-style-type: none;
    padding: 0;
  }
  #mobile-menu li {
    color: white;
    border-bottom: 1px solid white;
  }
  #mobile-menu li a {
    color: white;
    display: block;
    width: 100%;
    height: 100%;
    padding: 14px 15px;
  }
  #mobile-menu li a:hover {
    background-color: rgba(250, 250, 250, 0.5);
    text-decoration: none;
  }
}
@media (min-width: 768px) {
  header .navbar .navbar-right {
    margin-top: 10px;
  }
}
.dark-content small,
.light-content small,
.dark-content .small,
.light-content .small {
  letter-spacing: 0.05em;
}
.dark-content header .top-menu,
.light-content header .top-menu {
  margin-top: 10px;
}
.dark-content header ul.navbar-nav.text-center,
.light-content header ul.navbar-nav.text-center {
  float: right;
}
.dark-content header .select-farm a,
.light-content header .select-farm a {
  color: #494b68 !important;
}
.dark-content header .total-heads li.navbar-text,
.light-content header .total-heads li.navbar-text {
  border-left: 1px solid rgba(0, 0, 0, 0.3);
}
.dark-content header li.navbar-text.newborns,
.light-content header li.navbar-text.newborns {
  border-right: none;
  margin-bottom: 0;
}
.dark-content header .newborns > a,
.light-content header .newborns > a,
.dark-content header .treatments > a,
.light-content header .treatments > a,
.dark-content header .sync > a,
.light-content header .sync > a {
  margin-top: -16px;
}
.dark-content header .newborns > a span.badge,
.light-content header .newborns > a span.badge,
.dark-content header .treatments > a span.badge,
.light-content header .treatments > a span.badge,
.dark-content header .sync > a span.badge,
.light-content header .sync > a span.badge {
  -webkit-border-radius: 10px 10px 10px 0;
  border-radius: 10px 10px 10px 0;
  width: 52px;
  margin-left: -15px;
  font-weight: 400;
  text-align: left;
}
.dark-content header .newborns > a span.badge,
.light-content header .newborns > a span.badge {
  background-color: #17B4E8;
}
.dark-content header .newborns > a span.badge:hover,
.light-content header .newborns > a span.badge:hover {
  background-color: #0FD9FF;
}
.dark-content header .treatments > a span.badge,
.light-content header .treatments > a span.badge {
  background-color: #d56f7d;
}
.dark-content header .treatments > a span.badge:hover,
.light-content header .treatments > a span.badge:hover {
  background-color: #e8475d;
}
.dark-content header .sync > a span.badge,
.light-content header .sync > a span.badge {
  background-color: #a7c489;
}
.dark-content header .sync > a span.badge:hover,
.light-content header .sync > a span.badge:hover {
  background-color: #BFF57D !important;
}
.dark-content header .navbar-default .navbar-text,
.light-content header .navbar-default .navbar-text {
  padding: 0 15px;
  text-align: left;
  line-height: 1.4em;
  margin-left: 0;
  margin-right: 0;
}
.dark-content header li.navbar-text span,
.light-content header li.navbar-text span {
  font-size: 16px;
}
.dark-content header .navbar-default .navbar-nav > li > a:hover,
.light-content header .navbar-default .navbar-nav > li > a:hover,
.dark-content header .navbar-default .navbar-nav > li > a:focus,
.light-content header .navbar-default .navbar-nav > li > a:focus {
  color: #0FD9FF;
  background-color: transparent;
}
.dark-content header .navbar-default .navbar-nav > .open > a,
.light-content header .navbar-default .navbar-nav > .open > a,
.dark-content header .navbar-default .navbar-nav > .open > a:hover,
.light-content header .navbar-default .navbar-nav > .open > a:hover,
.dark-content header .navbar-default .navbar-nav > .open > a:focus,
.light-content header .navbar-default .navbar-nav > .open > a:focus {
  background-color: transparent;
  color: #FFF;
}
.dark-content header .navbar-nav > li.last,
.light-content header .navbar-nav > li.last {
  top: 6px;
}
.dark-content header .navbar-nav > li.last > a,
.light-content header .navbar-nav > li.last > a {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #fff;
}
.dark-content header .navbar-nav > li.last > a:hover,
.light-content header .navbar-nav > li.last > a:hover,
.dark-content header .navbar-nav > li.last > a:focus,
.light-content header .navbar-nav > li.last > a:focus {
  color: #4dc0ef;
  border-color: #4dc0ef;
}
.dark-content header .dropdown-menu > li > a,
.light-content header .dropdown-menu > li > a {
  font-weight: 400;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
}
.dark-content header .dropdown-menu > li > a:hover,
.light-content header .dropdown-menu > li > a:hover,
.dark-content header .dropdown-menu > li > a:focus,
.light-content header .dropdown-menu > li > a:focus {
  text-decoration: none;
  background-color: rgba(50, 51, 71, 0.5);
}
.dark-content header .total-heads .top-logout a,
.light-content header .total-heads .top-logout a {
  padding-top: 10px !important;
  font-weight: 400;
}
.dark-content header .navbar-brand a {
  display: block;
  text-indent: -999999px;
  width: 210px;
  height: 75px;
  margin-top: -20px;
  margin-bottom: 10px;
}
.dark-content header .navbar-brand a.arborea-logo {
  width: auto;
  height: auto;
  margin-top: -10px;
}
.dark-content header .navbar-brand a > img {
  display: block;
}
.dark-content header .navbar.navbar-default {
  margin-bottom: 10px;
}
.dark-content header .navbar-default .navbar-text {
  color: #B6B7CF;
  font-weight: 400;
}
.dark-content header .navbar-default .navbar-text.first.last > span {
  color: #B6B7CF;
}
.dark-content header .navbar-default .navbar-nav > .open > a,
.dark-content header .navbar-default .navbar-nav > .open > a:hover,
.dark-content header .navbar-default .navbar-nav > .open > a:focus {
  color: #3ea5dc;
}
.dark-content header .navbar-nav > li > .dropdown-menu {
  background: -webkit-linear-gradient(#323347, #494b68);
  background: -o-linear-gradient(#323347, #494b68);
  background: -moz-linear-gradient(#323347, #494b68);
  background: linear-gradient(#323347, #494b68);
  border: transparent;
}
.dark-content header .dropdown-menu > li > a {
  color: #fff;
}
.dark-content header .dropdown-menu > li > a:hover,
.dark-content header .dropdown-menu > li > a:focus {
  color: #0FD9FF;
}
.dark-content header .total-heads li.navbar-text {
  font-weight: 400;
}
.dark-content .user-menu {
  float: right;
  padding-top: 25px;
}
.dark-content .total-heads .top-logout a {
  padding: 0 !important;
}
.dark-content #mobile-menu {
  border-color: #323447;
}
.dark-content #mobile-menu li {
  border-bottom: 1px solid #41435C;
}
.dark-content #mobile-menu li:hover {
  background-color: #41435C;
}
.dark-content #mobile-menu li a {
  color: #323447;
  font-weight: 500;
}
.light-content header .navbar-brand a {
  display: block;
  text-indent: -999999px;
  width: 184px;
  height: 52px;
  margin-top: -20px;
  margin-bottom: 10px;
}
.light-content header .navbar-brand a > img {
  display: block;
}
.light-content header .navbar.navbar-default {
  background: -webkit-linear-gradient(#494b68, #323347);
  /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#494b68, #323347);
  /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#494b68, #323347);
  /* For Firefox 3.6 to 15 */
  background: linear-gradient(#494b68, #323347);
  /* Standard syntax */
  margin-bottom: 0;
  border: transparent;
}
.light-content header .navbar-left {
  margin-top: 15px;
  margin-bottom: 15px;
  color: #FFF;
  font-size: 28px;
  font-weight: 200;
  text-transform: uppercase;
  padding: 5px 20px;
  border-left: 1px solid rgba(0, 0, 0, 0.3);
  max-width: 300px;
  overflow: hidden;
}
.light-content header li.first.dropdown {
  margin: -8px 15px 0 0;
}
.light-content header .top-header-collapse.pull-right li.first.dropdown {
  margin-top: 0;
}
.light-content header .navbar-default .navbar-nav > li > a {
  color: #FFF;
}
.light-content header .select-farm a {
  color: white !important;
}
.light-content header .navbar-default .navbar-text {
  color: #FFF;
  font-weight: 400;
}
.light-content header .dropdown-menu {
  background: #494b68;
}
.light-content header .dropdown-menu > li > a {
  color: #FFF;
}
.light-content header .dropdown-menu > li > a:hover,
.light-content header .dropdown-menu > li > a:focus {
  color: #FFF;
  background-color: #323347;
}
.light-content header .total-heads .top-logout a {
  color: white;
}
.light-content header .total-heads li.navbar-text {
  font-weight: 400;
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .light-content header .navbar-left {
    font-size: 24px;
  }
}
@media (max-width: 991px) {
  ul#mobile-menu {
    margin-top: 34px;
  }
  .dark-content #mobile-menu li a {
    color: #FFF;
  }
  .dark-content .form-group .checkbox {
    margin-left: 18px;
  }
  .farm-search.col-md-2 {
    margin-top: 0px;
    margin-bottom: 10px;
  }
}
/*
@media (min-width: 761px) and (max-width: 991px) {
  ul.top-menu.nav.navbar-nav {
    display: inline-flex;
  }
}*/

.add-drug a {
  margin-top: 25px;
}
.add-protocol-item {
  margin-top: 25px;
}
.add-therapy-item {
  margin-top: 25px;
}
.apply-vaccination {
  margin: 12px 0;
}
.apply-vaccination .protocol {
  display: inline-flex;
  width: 100%;
}
.apply-vaccination .select-protocol {
  width: 100%;
}
.apply-vaccination .add-protocol {
  height: 34px;
  margin-left: 6px;
}
.vaccination-filter-form {
  position: relative;
  padding-bottom: 0;
}
.iteration .btn-group-justified {
  margin-top: 0;
}
#temperature-display {
  font-size: 1.8em;
  text-align: center;
  padding-bottom: 10px;
}
#temperature-slider .ui-slider-handle {
  width: 2em;
  height: 2em;
  top: -0.7em;
}
.protocol-item a.disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.upload-widget input[type="file"] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}
.upload-widget .file-path {
  height: 33px;
}
.dark-content .upload-widget .input-group {
  padding: 0;
}
.dark-content .upload-widget .input-group .form-control:last-child {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  margin-top: 0;
}
.dark-content .upload-widget .input-group .form-control {
  float: left;
  padding-left: 12px;
  position: relative;
  margin-left: 0px;
}
.dark-content .herd h3 {
  color: white;
}
.dark-content .herd-steps p {
  color: #f4ff77;
}

[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
  display: none !important;
}
.light-content {
  background-color: #ececec;
}
#main-content {
  background: #ececec;
  padding: 20px;
}
.panel-header {
  background: #ececec;
}
.panel-default {
  border-color: #ececec;
}
.nav-tabs > li {
  text-align: center;
}
ul.nav.nav-tabs > li {
  width: 25%;
}
.reproduction ul.nav.nav-tabs > li {
  width: 14%;
}
.nav-tabs > li > a {
  background: -webkit-linear-gradient(#323347, #494b68);
  /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#323347, #494b68);
  /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#323347, #494b68);
  /* For Firefox 3.6 to 15 */
  background: linear-gradient(#323347, #494b68);
  /* Standard syntax */
  margin-right: 8px;
  color: #FFF;
  text-transform: uppercase;
  padding-top: 16px;
  height: 75px;
}
.nav-tabs > li > a:hover {
  border-color: transparent;
  background: #323347;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.open > a {
  color: #4a4a4a;
  background: #FFF;
  text-transform: uppercase;
  padding-top: 16px;
}
.nav > li.disabled > a {
  color: #9C9DAC;
  background: -moz-linear-gradient(top, #323347 0%, #494b68 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #323347), color-stop(100%, #494b68));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #323347 0%, #494b68 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #323347 0%, #494b68 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #323347 0%, #494b68 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, #323347 0%, #494b68 100%);
  /* W3C */
}
.nav > li.disabled > a:hover,
.nav > li.disabled > a:focus {
  color: #9C9DAC;
  background: -moz-linear-gradient(top, #323347 0%, #494b68 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #323347), color-stop(100%, #494b68));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #323347 0%, #494b68 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #323347 0%, #494b68 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #323347 0%, #494b68 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, #323347 0%, #494b68 100%);
  /* W3C */
}
.nav-tabs > li.active > a {
  border-color: white;
}
.nav-tabs > li.active > a:hover {
  border-color: transparent;
  background-color: #FAFAFA;
}
.main-menu > li.disabled > a {
  background: rgba(156, 157, 172, 0.6);
}
.main-menu > li.disabled > a:hover,
.main-menu > li.disabled > a:focus {
  background: rgba(156, 157, 172, 0.6);
}
.main-menu > li.disabled > a:after {
  border: transparent;
}
.nav-tabs .dropdown-menu {
  margin-top: 0;
}
ul.dropdown-menu > li > a {
  padding: 7px 0 7px 15px;
}
.filter-form {
  margin: 6px 0;
}
.filter-form .control-label {
  cursor: pointer;
  font-size: 12px;
  text-transform: lowercase;
  color: grey;
  margin-left: 9px;
}
.reproduction .nav-tabs > li {
  width: 14%;
  overflow: hidden;
  height: 75px;
}
.reproduction .nav-tabs > li > a {
  font-size: 14px;
}
.reproduction .nav > li > a {
  padding: 10px;
  overflow: hidden;
  word-wrap: break-word;
}
.reproduction .nav-tabs > li.active > a:hover {
  padding-top: 10px;
}
.reproduction ul.nav-tabs > li a span {
  line-height: 2.2em;
}
.reproduction i.icon-center {
  padding: 14px 0;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 10px;
}
.reproduction i.icon-list {
  background-image: url("../../bundles/app/images/list.png");
}
.reproduction .nav-tabs > li.active > a > i.icon-list {
  background-image: url("../../bundles/app/images/list_active.png");
}
.reproduction i.icon-heat {
  background-image: url("../../bundles/app/images/heat.png");
}
.reproduction .nav-tabs > li.active > a > i.icon-heat {
  background-image: url("../../bundles/app/images/heat_active.png");
}
.reproduction i.icon-insemination {
  background-image: url("../../bundles/app/images/insemination.png");
}
.reproduction .nav-tabs > li.active > a > i.icon-insemination {
  background-image: url("../../bundles/app/images/insemination_active.png");
}
.reproduction i.icon-dry {
  background-image: url("../../bundles/app/images/dry.png");
}
.reproduction .nav-tabs > li.active > a > i.icon-dry {
  background-image: url("../../bundles/app/images/dry_active.png");
}
.reproduction i.icon-calving {
  background-image: url("../../bundles/app/images/calving.png");
}
.reproduction .nav-tabs > li.active > a > i.icon-calving {
  background-image: url("../../bundles/app/images/calving_active.png");
}
.reproduction i.icon-sync {
  background-image: url("../../bundles/app/images/sync.png");
}
.reproduction .nav-tabs > li.active > a > i.icon-sync {
  background-image: url("../../bundles/app/images/sync_active.png");
}
.reproduction i.icon-vet-visit {
  background-image: url("../../bundles/app/images/vet_visit.png");
}
.reproduction .nav-tabs > li.active > a > i.icon-vet-visit {
  background-image: url("../../bundles/app/images/vet_visit_active.png");
}
.widget-manager .checkbox {
  font-size: 16px;
}
.error-occurred .panel-default {
  background-color: transparent;
}
i.icon-rabbit {
  background-image: url("../../bundles/app/images/rabbit.png");
  background-repeat: no-repeat;
  padding: 135px;
  background-position: 50% 108%;
  display: block;
}
.error-occurred .panel-heading {
  background-color: #494b68;
}
.error-occurred .panel-heading h1.panel-title {
  color: #FFF;
  font-size: 24px;
  text-align: center;
}
.error-occurred .panel-body {
  background-color: #FFF;
}
.widget {
  padding: 10px;
}
.widget-container {
  height: 276px;
  background: white;
  border-radius: 8px;
}
.widget-link {
  font-size: 20px;
  color: grey;
  margin-top: 15px;
  margin-bottom: 10px;
  margin-left: 4px;
}
.widget-label {
  font-size: 18px;
  color: white;
  font-weight: 300;
  padding: 5px 0;
  text-transform: uppercase;
  background-color: #40425b;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
}
.widget .widget-body {
  height: 240px;
  display: none;
}
.widget .widget-title {
  font-size: 18px;
  color: gray;
  font-weight: 300;
  padding: 5px 0;
  text-transform: uppercase;
  background-color: #DCDCE5;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
}
.widget.widget-number .widget-value {
  font-size: 100px;
  position: relative;
  top: 15%;
}
.widget .widget-add {
  text-decoration: none;
}
.widget .widget-add i {
  font-size: 74px;
}
.widget .widget-add span {
  font-size: 26px;
}
.widget .widget-add .widget-body {
  padding-top: 76px;
}
.widget .widget-add > .widget-container {
  background: transparent;
  border: 2px dashed;
}
.widget .widget-add:hover > .widget-container {
  background: #DCDCE5;
  border: 2px dashed;
}
.panel-default.widget-manager > .panel-heading {
  background-color: #ececec;
}
.panel.widget-manager {
  box-shadow: none;
  -webkit-box-shadow: none;
}
.widget-manager h4 {
  text-align: right;
  color: #616384;
}
.widget-manager h4 a {
  background-color: #f5f5f5;
  padding: 9px;
  box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 0.1);
  margin-right: -14px;
}
.widget-manager h4 a:hover,
.widget-manager h4 a:focus {
  opacity: 0.8;
  text-decoration: none;
}
.no-widget-image {
  background-image: url("../../bundles/app/images/cowboy_widget.png");
  background-repeat: no-repeat;
  height: 600px;
  opacity: 0.4;
  background-size: 100%;
  margin: 0 auto;
  text-align: center;
  max-width: 600px;
}
.no-widget-image p {
  font-size: 16px;
}
path {
  cursor: pointer;
}
.calendar-icon:before,
.filter-calendar-icon:before {
  opacity: .8;
  position: absolute;
  right: 2px;
  width: 25px;
  display: -webkit-box;
  -webkit-box-pack: center;
  -webkit-box-align: center;
  content: "\e109";
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: 400;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
}
.apply-vaccination .filter-calendar-icon:before {
  top: 20%;
}
.form-group {
  position: relative;
}
.filter-calendar-icon:before {
  top: 10%;
}
.head-list .filter-calendar-icon:before,
.reproduction-event-row .filter-calendar-icon:before {
  top: 18%;
}
/*.head-list .has-error .filter-calendar-icon:before {
  top: 12%;
}*/
/*.has-error .calendar-icon:before {
  top: 37%;
}*/
.calendar-icon:before {
  top: 54%;
}
.btn-group-justified {
  z-index: 0;
  margin-top: 7px;
}
.sealant .checkbox {
  margin-top: 6px;
}
.sealant .checkbox input {
  position: inherit;
  margin-left: 0;
}
ul.newborns {
  list-style-type: none;
  -webkit-padding-start: 0px;
}
ul.newborns .newborn {
  width: 100%;
}
ul.newborns .newborn .form-group.gender {
  min-width: 40px;
  width: auto;
  display: inline-block;
}
ul.newborns .newborn .form-group.result {
  min-width: 85px;
  width: auto;
  display: inline-block;
}
form .required:after,
form .display-required label:after,
form label.display-required:after {
  padding-left: 5px;
  content: '*';
  color: #FF5938;
}
.required-caption {
  color: #FF5938;
  float: left;
}
.has-error .radio-buttons {
  color: white !important;
}
/*.radio-buttons label:after {
  padding-left: 5px;
  content: '';
}
*/
.ui-datepicker {
  z-index: 9999 !important;
}
.ui-datepicker-today a {
  background: #fcefa1 !important;
}
form .has-error ul.help-block {
  margin-top: 0;
}
form ul.help-block,
ul.help-block {
  margin-top: 7px;
  margin-bottom: 10px;
  color: #fff;
  list-style: none;
  background: #494b68;
  border-radius: 4px;
  padding: 4px 16px;
  text-align: center;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.4);
  position: absolute;
  z-index: 10;
}
form .help-block:after,
.help-block:after {
  content: '';
  position: absolute;
  top: -8px;
  left: 25px;
  width: 0;
  height: 0;
  border-bottom: 8px solid #494b68;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  z-index: 9;
}
form .has-error ul.help-block,
.has-error ul.help-block {
  margin-top: 7px;
  margin-bottom: 10px;
  color: #fff;
  list-style: none;
  background: #FF5938;
  border-radius: 4px;
  padding: 4px 16px;
  text-align: center;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.4);
  position: absolute;
  z-index: 10;
}
form .has-error ul.help-block:after,
.has-error ul.help-block:after {
  content: '';
  position: absolute;
  top: -8px;
  left: 25px;
  width: 0;
  height: 0;
  border-bottom: 8px solid #FF5938;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  z-index: 9;
}
.has-error .form-control {
  border-color: #FF5938;
}
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
  color: #FF5938;
}
h3 i.glyphicon-alert {
  color: #d43f3a;
}
.calendar-controls > .btn {
  display: inline-block;
  vertical-align: top;
}
.calendar-controls > .form-group {
  display: inline-block;
}
.col-sm-6.treatments-calendar {
  padding-right: 0;
}
.spinner-container {
  height: 34px;
}
div#protocol_item_iteration.radio-buttons.btn-group-justified {
  margin-top: 0;
}
.show-tutorial {
  vertical-align: middle;
}
.show-tutorial-textual {
  text-align: center;
  font-size: 18px;
  color: #a7c489;
  font-weight: 300;
}
.show-tutorial-textual a,
.show-tutorial-textual a {
  color: #a7c489;
}
.show-tutorial-textual .glyphicon {
  position: relative;
  top: 3px;
  margin-right: 5px;
}
.show-tutorial-textual a:hover {
  color: #F4FF77;
  text-decoration: none;
}
.ui-autocomplete {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
}
#pregnancy-diagnosis-intervals div {
  margin-bottom: 10px;
}
.panel-heading-action {
  margin-top: 16px;
}
@media (max-width: 991px) {
  .filter-calendar-icon:before {
    top: 12%;
    right: 3%;
  }
  .calendar-icon:before {
    top: 54%;
    right: 3%;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  ul.nav.nav-tabs > li {
    width: 25%;
  }
  .reproduction > ul.nav.nav-tabs > li {
    width: 14%;
  }
  ul.nav.nav-tabs > li > a {
    overflow: hidden;
    font-size: 0.8em;
    height: 59px;
    line-height: 1.2em;
  }
  .reproduction > ul.nav.nav-tabs > li > a {
    height: auto;
  }
  ul.nav.nav-tabs > li > a > span.caret {
    display: block;
    bottom: 5px;
    position: absolute;
    right: 46%;
  }
  li.newborn {
    margin-bottom: 20px;
  }
}
@media (max-width: 767px) {
  .popover-delete {
    left: 77% !important;
  }
  .popover-delete .arrow {
    left: 70% !important;
  }
  .reproduction > ul.nav.nav-tabs > li,
  ul.nav.nav-tabs > li {
    height: 71px;
  }
  ul.nav.nav-tabs li {
    width: 25%;
  }
  .reproduction ul.nav.nav-tabs li {
    width: 16.6%;
    height: 75px;
  }
  .health ul.nav.nav-tabs li {
    width: 25%;
  }
  ul.nav.nav-tabs > li > a {
    height: 71px;
    line-height: 1.4em;
    margin: 1px;
    font-size: 0.9em;
    padding-left: 7px;
    overflow: auto;
  }
  .reproduction > ul.nav.nav-tabs > li > a {
    margin: 1px;
    font-size: 0.8em;
    line-height: 2.2em;
    overflow: auto;
  }
  .reproduction > ul.nav.nav-tabs > li > a {
    height: 75px;
  }
  ul.nav.nav-tabs > li > a > span.caret {
    display: block;
    bottom: 5px;
    position: absolute;
    right: 46%;
  }
}
@media (min-width: 493px) and (max-width: 767px) {
  .widget-manager .col-sm-4 {
    width: 48%;
    display: inline-block;
  }
}
@media (min-width: 493px) and (max-width: 535px) {
  .light-content header .navbar-left {
    font-size: 23px;
  }
}
@media (max-width: 500px) {
  .light-content #main-content {
    padding-right: 0;
    padding-left: 0;
  }
  .reproduction > ul.nav.nav-tabs > li > a {
    padding-left: 7px;
  }
  div#protocol_item_iteration > label {
    font-size: 0.9em;
    padding-left: 1px;
    padding-right: 1px;
  }
  div#protocol_item_iteration > label:nth-child(n+2) {
    width: 2%;
  }
}
@media (max-width: 492px) {
  .light-content header .navbar-left {
    width: 400px;
  }
  button.navbar-toggle.collapsed,
  .navbar-default .navbar-toggle,
  .navbar-default .navbar-toggle:hover,
  .navbar-default .navbar-toggle:focus {
    float: right;
    position: absolute;
    top: 0;
    right: 0;
  }
  .nav-tabs ul#bull-area-dropdown-contents.dropdown-menu {
    position: relative;
    top: -1px;
    float: right;
  }
}
@media (max-width: 340px) {
  .panel-body {
    padding: 0;
  }
  .widget-manager .panel-body {
    padding: 15px;
  }
  .no-widget-image p {
    font-size: 15px;
  }
}
@media (max-width: 767px) {
  .archive-button,
  .suggest-button {
    margin-top: 26px;
  }
}

.modal-header {
  background-color: #DCDCE5;
  border-top-right-radius: 6px;
  border-top-left-radius: 6px;
  -webkit-border-top-left-radius: 6px;
}
.modal-body {
  padding-top: 0;
}
.modal-body > h3 {
  border-top: 1px solid #C9C9D9;
  padding-top: 7px;
}
.modal-body > h3:first-child {
  border-top: transparent;
  margin-top: 5px;
}
.modal-body.tutorial {
  padding-top: 15px;
}
.dark-content .modal-header {
  color: #323447;
}
.modal-body .how-it-works > .row {
  border-top: 1px solid #C9C9D9;
  padding-top: 7px;
  margin-bottom: 10px;
}
.modal-body .how-it-works > .row:first-child {
  border-top: transparent;
  margin-top: 5px;
}
.modal-body .show-tutorial-textual {
  padding-top: 15px;
}
.modal-body .show-tutorial-textual a.video-thumbnail {
  margin-right: 15px;
}
.modal-body .show-tutorial-textual a.video-thumbnail span.glyphicon {
  font-size: 20px;
  left: 8px;
  z-index: 1;
}
.modal-body .show-tutorial-textual a.video-thumbnail:hover {
  color: #426126;
}

table.mobile-reports {
  margin: 10px 0 !important;
}
table.mobile-reports .month {
  width: 64px;
}
table.farm-trend-lactation {
  margin-top: 40px;
}
.filter-form.farm-trend-lactation-filters .lactation-filters .btn-group.btn-group-justified {
  margin-top: 0;
}
@media (max-width: 767px) {
  .farm-trend-lactation-filters.filter-form .spinner-container {
    margin-top: 25px;
  }
}

.add-head-errors {
  display: none;
}
.reproduction-event-row .form-group {
  margin: 8px 0;
}
.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > thead > tr > th.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > thead > tr.success > td,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th,
.reproduction-success,
.reproduction-success .td {
  background-color: #BFF57D !important;
}
.reproduction-event-empty {
  display: table-caption;
  caption-side: bottom;
  text-align: center;
  background-color: #F5F5F5;
  padding: 10px 0;
}
.reproduction-event-row .farm-number {
  font-size: 20px;
}
.reproduction-event-row .insemination-info {
  text-align: left;
}
.reproduction-event-row .calving-info .form-group {
  display: block;
}
.reproduction-event-row.reproduction-success .actions .action {
  margin-top: 0;
}
.table {
  display: table;
  border-collapse: collapse;
}
.table .help-message {
  font-size: 12px;
  margin-bottom: 10px;
}
.table .thead {
  display: table-header-group;
  border-bottom: 1px solid lightgrey;
}
.table .thead .tr {
  background-color: white !important;
}
.table .thead .tr .td {
  font-weight: bold;
}
.table .tbody {
  display: table-row-group;
}
.table .tbody .more-actions .confirm .btn,
.table .tr-custom-col .confirm .btn {
  background-color: #84c465;
  border-color: #56c45e;
  min-height: 32px;
  min-width: 38px;
}
.table .tbody .more-actions .confirm .btn:hover,
.table .tr-custom-col .confirm .btn:hover {
  background-color: #56c45e;
}
.table .tbody .more-actions .action,
.table .tr-custom-col .action {
  width: auto;
  margin-top: 5px;
  margin-right: 4px;
}
.table .tbody .more-actions .form-group,
.table .tr-custom-col .form-group {
  margin-top: 0 !important;
  margin-right: 0;
}
.table .tbody.premium-event .more-actions .action {
  width: 45%;
  float: left;
}
.table .tr {
  display: table-row;
  border-bottom: 1px solid lightgray;
}
.table .td {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding: 6px 2px;
}
.table .tr-custom-col {
  height: 125px;
  border-bottom: none;
}
.table .tr-custom-col .td {
  position: absolute;
  float: left;
  border: 2px solid #616384;
  width: 92%;
  left: 4%;
  padding: 10px;
}
.table .confirm.td {
  padding: 0 6px;
}
.table .tr:first-child,
.table .tr:nth-child(odd) {
  background-color: #F5F5F5;
}
.table .form-group {
  width: 100%;
}
.reproduction-event-row.insemination .td.more-actions,
.reproduction-event-row.dry .td.more-actions,
.reproduction-event-row.calving .td.more-actions {
  min-width: 90px;
}
.reproduction-success .action {
  margin-top: 0;
}
.tr.reproduction-event-row.calving > .td {
  text-align: left;
  vertical-align: top;
}
.tr.reproduction-event-row.calving > .farm-number.td,
.tr.reproduction-event-row.calving > .calving-date.td,
.tr.reproduction-event-row.calving > .insemination-info.td {
  text-align: center;
  vertical-align: middle;
}
.tr.reproduction-event-row.calving > .insemination-info.td {
  text-align: left;
}
.newborn-actions.td {
  padding-top: 10px;
}
.table > tbody > tr > td:first-child,
#visits-list.table.table-striped.head-list > tbody > tr > .table .tbody .td.farm-number:first-child,
#visits-list.table.table-striped.head-list > tbody > tr > td.farm-number:first-child {
  border-top: none;
  border-bottom: none;
}
#visits-list.table.table-striped.head-list > tbody.visit > tr > td:nth-child(2) {
  border-top: none;
}
.table-striped > tbody > tr {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-collapse: collapse;
}
.newborn-actions > ul.newborns > li > .form-group {
  margin: 4px 0;
}
li.newborn-add {
  margin-top: 4px;
}
.reproduction-event-row.calving .calving-info {
  padding-bottom: 8px;
}
.reproduction-event-row.insemination .btn.btn-default.add-bull {
  margin-top: 8px;
  height: 34px;
}
.reproduction-event-row.insemination .tank-bull select,
.reproduction-event-row.insemination .donor-serial-number input {
  width: 140px;
  margin-left: 10px;
}
.visit-criteria .btn {
  white-space: normal !important;
}
.col-sm-3.col-xs-8.visit-filter {
  padding: 0;
}
.col-xs-12.visit-farm-add {
  position: relative;
  right: 0;
}
.col-sm-4.col-xs-12.visit-farm-add.visit-filter {
  float: right;
  position: relative;
  top: -7px;
}
table.table.table-condensed.table-striped {
  margin-bottom: 0;
}
td.visit-collapsed {
  padding: 3px !important;
  background-color: #B0EDE1;
}
.tank-bull {
  display: inline-flex;
  width: 100%;
}
a.btn.btn-danger.newborn-remove {
  vertical-align: top;
  margin-top: 4px;
}
tr.confirm-visit .recording {
  margin-top: 34px;
}
td.recording {
  padding-bottom: 20px !important;
}
tr.confirm-visit .visit-section {
  margin-bottom: 25px;
}
tr.confirm-visit .visit-section .title {
  margin-bottom: 5px;
  text-align: left;
}
tr.confirm-visit .visit-section hr {
  margin-top: 0;
  margin-bottom: 5px;
  border-color: lightgray;
}
tr.confirm-visit > td > span.visible-xs {
  text-align: left;
}
@media (min-width: 1200px) {
  .confirmed-at.td {
    width: 116px;
  }
}
@media (min-width: 768px) {
  .visit-farm-add > .col-sm-2.col-xs-8 {
    width: 63%;
    position: relative;
    padding: 0 8px;
  }
  .visit-farm-add > .col-sm-1.col-xs-4 {
    padding: 0;
    width: 36%;
  }
}
@media (min-width: 991px) and (max-width: 1199px) {
  .confirmed-at.td {
    width: 116px;
  }
  li.newborn-add {
    margin-top: -16px;
  }
  .text-center.td.submit {
    padding-right: 7px;
  }
}
@media (max-width: 991px) {
  .col-xs-12.visit-farm-add {
    right: 0;
  }
  .table .tbody .td.farm-number a {
    position: relative;
    top: 14px;
    font-size: 28px;
  }
  .table .tbody .td:nth-child(n+2) {
    display: block;
    padding: 12px 18px;
  }
  .table .tbody .td:nth-child(n+3) {
    border-top: 1px solid lightgray;
  }
  .abortion .checkbox label {
    padding-left: 0;
  }
  .td {
    text-align: left;
  }
  .table .tbody .td.farm-number,
  td.farm-number {
    border-right: 1px solid lightgray;
    text-align: center;
  }
  #visits-list.table.table-striped.head-list > tbody > tr > .table .tbody .td.farm-number,
  #visits-list.table.table-striped.head-list > tbody > tr > td.farm-number {
    border-right: 1px solid transparent;
  }
  .confirm.td .form-group .btn-block {
    width: 100%;
  }
  #visits-list.table.table-striped.head-list > tbody.visit > tr > td:nth-child(n+2) {
    text-align: left;
    padding: 12px 18px;
  }
  .tr.reproduction-event-row.calving > .calving-date.td {
    text-align: left;
  }
  .abortion {
    margin-left: 20px;
  }
}
.apply-sync {
  margin: 12px 0;
}
.apply-sync .protocol {
  display: inline-flex;
  width: 100%;
}
.apply-sync .select-protocol {
  width: 100%;
}
.apply-sync .add-protocol {
  height: 34px;
  margin-left: 6px;
}
.modal-body.reproduction-alert {
  padding-top: 15px;
}
#alert-modal .modal-body .alert {
  margin-bottom: 0;
}
.btn-other-fields {
  min-width: 35px;
}
.confirm-dry .sealant {
  margin-top: 22px;
}
.calving .tr.tr-custom-col {
  height: 206px !important;
}
.calving .optional-fields {
  margin-bottom: 12px;
}
.calving.premium-event a.btn.btn-danger.newborn-remove {
  margin-top: 8px;
}
.calving.premium-event .abortion input {
  margin-top: 10px;
}
.calving.premium-event .action {
  max-width: 48px;
}
.calving.premium-event .action.add-pathology {
  width: 110px !important;
  max-width: none;
}
.filters-buttons {
  margin-bottom: 6px;
}
.filters-buttons .form-group {
  margin-bottom: 6px;
  margin-right: 10px;
}
.filters-buttons button {
  color: #428bca;
  text-decoration: none;
  background: none;
  border: none;
}
.filters-buttons button:hover,
.filters-buttons button:focus {
  color: #2a6496;
  text-decoration: underline;
}
.filters-buttons #load-filters {
  margin-left: 20px;
}
.filters-buttons #download {
  margin-left: 20px;
}
.reproduction {
  margin: 0;
}
.reproduction .filters-buttons .form-group {
  margin-right: 0;
}
.reproduction .filters-buttons .form-group button {
  padding-right: 0;
}
.toggle-visit-fields-form {
  margin-top: 27px;
  margin-bottom: 25px;
}
.visit-fields {
  padding: 0 40px;
}
.visit-fields .well {
  background-color: lightgray;
}
#heats-list .table .tr-custom-col {
  height: 134px;
}
@media (min-width: 992px) {
  .reproduction-event-row.dry .td.drug {
    max-width: 250px;
  }
}
@media (min-width: 767px) and (max-width: 991px) {
  #visits-list.table.table-striped.head-list > tbody.visit > tr > td:nth-child(n+2) {
    text-align: center;
  }
  td.farm-number {
    border-right: 1px solid transparent;
  }
}
@media (max-width: 767px) {
  #visits-list.table.table-striped.head-list > tbody > tr > .table .tbody .td.farm-number,
  #visits-list.table.table-striped.head-list > tbody > tr > td.farm-number {
    border-right: 1px solid lightgrey;
  }
  .col-xs-12.visit-farm-add {
    right: 0;
    margin-top: 0;
    padding: 0;
  }
  .col-sm-4.col-xs-12.visit-farm-add.visit-filter {
    top: 0;
  }
  .col-sm-3.col-xs-8.visit-filter,
  .col-sm-4.col-xs-12.visit-farm-add.visit-filter .col-sm-2.col-xs-8.visit-filter {
    padding: 0 10px 0 0;
  }
  .col-sm-2.col-xs-4.visit-filter,
  .col-sm-1.col-xs-4.visit-filter {
    padding: 0 0px 0 19px;
  }
  a.btn.btn-default.reset-filters.visit-filter {
    width: 100%;
  }
  .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
  }
  .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
    border-radius: 3px;
  }
  label.btn.btn-primary.btn-block.checkbox-inline {
    width: 100%;
    display: block;
    float: left;
    border-radius: 3px;
  }
  td.confirmed-at {
    display: block;
  }
  .previous-visit > td.confirmed-at,
  .new-visit > td.confirmed-at {
    border-top: 2px solid #2FA68F;
  }
  .calving .action.add-pathology {
    width: 100% !important;
    margin-bottom: 10px;
  }
}

.timeline {
  list-style: none;
  padding: 20px 16px 20px 0;
  position: relative;
}
.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 4px;
  background-color: #f5f5f5;
  left: 15px;
}
.timeline-panel {
  border-radius: 2px;
  padding: 6px 0;
  position: relative;
  background-color: #f5f5f5;
  margin-bottom: 10px;
}
.timeline-panel:before {
  position: absolute;
  left: -10px;
  top: 24px;
  right: auto;
  display: inline-block;
  border-top: 5px solid transparent;
  border-left: 10px solid #f5f5f5;
  border-right: 0 solid #f5f5f5;
  border-bottom: 5px solid transparent;
  border-left-width: 0;
  border-right-width: 10px;
  content: " ";
}
i.timeline-badge {
  width: 20px;
  height: 20px;
  line-height: 50px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 15px;
  left: 4.8px;
  padding: 8px;
  background-color: #f5f5f5;
  z-index: 1;
  border: 5px solid #DDDDDD;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
}
.timeline .timeline-date {
  padding: 19px 0 0 20px;
}
.timeline-panel .circle-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  float: left;
}
.timeline-panel .timeline-heading {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}
.timeline-heading.type {
  font-weight: 600;
  padding-top: 0;
}
.timeline-heading.pathology {
  font-weight: 600;
}
.timeline-heading.text-center.pull-right {
  margin-right: 10px;
  top: 8px;
  vertical-align: middle;
  display: inline-block;
}
.timeline-heading.text-center.pull-right.delete {
  position: relative;
  margin-right: 0;
}
#events-list .timeline-item > .col-md-10.col-sm-10.timeline-panel > .timeline-heading.text-center.pull-right.delete {
  top: -6px;
}
.timeline-dark:before {
  background-color: #DDDDDD;
}
.timeline-dark.timeline > .timeline-item.diagnoses > .col-md-10.timeline-panel {
  background-color: transparent;
  border: 2px solid #DDDDDD;
}
.timeline-dark > .timeline-panel:before {
  border-right: 10px solid #DDDDDD;
  border-left: 0 solid #DDDDDD;
}
.timeline-dark i.timeline-badge {
  background-color: #ececec;
  border: 5px solid white;
}
i.timeline-badge {
  background-color: white;
  border: 5px solid #ececec;
}
.timeline-dark > .timeline-badge {
  top: 19px;
}
.timeline-dark .timeline-date {
  padding: 19px 0 0 20px;
}
.timeline-dark .farm-number {
  margin-left: 16px;
}
.timeline-dark .space-col {
  margin-top: 16px;
}
div.col-md-10.timeline-panel > .row {
  display: inline-block;
  vertical-align: middle;
  float: none;
}
.timeline-dark.timeline .timeline-panel .timeline-heading.delete a {
  padding: 8px 12px;
}
.timeline-dark.timeline .timeline-panel .timeline-heading.notes {
  padding: 10px 25px;
  margin: 10px 24px;
  border-top: 1px solid #ccc;
  width: 93%;
}
.timeline-heading.info {
  padding: 0px;
  margin: 7px 22px;
  width: 86%;
}
.timeline-dark.timeline .timeline-panel .timeline-heading.user > div {
  margin-right: 10px;
  margin-bottom: 10px;
}
td.notes > .form-group > textarea.form-control {
  height: 34px;
}
/*table.table-striped.table-striped > thead > tr > th {
  min-width: 134px;
}*/
table.table-condensed.table-striped tbody.history-body > tr.new-visit > td.confirmed-at,
table.table-condensed.table-striped tbody.history-body > tr.new-visit > td.diagnosis,
table.table-condensed.table-striped tbody.history-body > tr.new-visit > td.notes,
table.table-condensed.table-striped tbody.history-body > tr.previous-visit > td.confirmed-at,
table.table-condensed.table-striped tbody.history-body > tr.previous-visit > td.diagnosis,
table.table-condensed.table-striped tbody.history-body > tr.previous-visit > td.notes {
  text-align: left;
}
@media (max-width: 1199px) {
  .timeline-heading.info {
    width: 84%;
  }
}
@media (min-width: 991px) and (max-width: 1199px) {
  .timeline-heading.text-center.pull-right.delete {
    margin-right: 10px;
  }
}
@media (max-width: 990px) {
  .timeline-heading.text-center.pull-right.delete {
    margin-right: 16px;
  }
}
@media (max-width: 767px) {
  .timeline-panel {
    margin-left: 33px;
    padding-bottom: 20px;
  }
  .timeline-dark.timeline .timeline-panel:before,
  .timeline-panel:before {
    display: none;
  }
  .timeline-heading.info {
    float: none;
    width: 93%;
  }
  /* .timeline-heading.text-center.pull-right.delete {
     margin-right: -5px;
     margin-top: -22px;
  }*/
  .timeline-heading.type {
    padding-top: 0;
  }
}
