html {
    min-height: 100%;
    position: relative;
}

body {
    margin-bottom: 35px;
}


@media (min-width: 1200px) {
    .container {
        width: 1220px;
    }
}

@media (min-width: 1200px) {
    .iceadmin-container {
        width: 80%;
    }
}

@media (max-width: 1200px) {
    .pull-footer-left {
        display: flex;
        flex-flow: row wrap;
    }
    .pull-footer-right {
        display: flex;
        flex-flow: row wrap;
    }
}

@media (min-width: 1200px) {
    .pull-footer-left {
        float: left;
    }
    .pull-footer-right {
        float: right;
    }
}

@media (max-width:1200px) and (min-width:993px) {
    .hide-small {
        display: none;
    }
}

@media (max-width:992px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,
    .navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .navbar-fixed-top {
        border-width: 0 0 1px;
        top: 0;
    }
    .navbar-form {
        margin: 0 0 7.5px 0;
    }
    .navbar-collapse.collapse {
        display: none !important;
        height: 400px !important;
        overflow: scroll !important;
        width: 100%;
    }
    .navbar-nav {
        float: none !important;
        margin: 0 5px 0 0;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-bottom: 10px;
        padding-top: 10px;
    }
    #navbar {
        background-color: white;
        border-bottom: solid 2px #ddd;
        left: 0;
        margin: 0 0 0 0;
        padding: 0 0 0 0;
        padding-bottom: 10px;
        position: absolute;
        right: 0;
    }
    .collapse.in{
        display: block !important;
    }
    .dropdown-menu {
        width: 100%;
    }
    .navbar-right{
        width:100%;
    }
}

.navbar-cowalert {
    border: 0;
    border-radius: 0;
    color: #999;
    font-family: "proxima-nova", sans-serif;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 0;
}

.navbar-cowalert .navbar-toggle .icon-bar {
    background-color: #999;
}

.navbar-cowalert .navbar-toggle {
    border-color: #999;
}

.navbar-cowalert .navbar-nav>li>a {
    color: #999;
}

.navbar-cowalert .navbar-brand {
    padding: 15px 0;
    padding-bottom: 50px;
}

.nav>li>a:focus,
.nav>li>a:hover {
    background-color: transparent;
    color: #666363;
}

/* Login classes */

#forgotPassModal {
    margin: auto;
    margin-top: 10%;
    width: 600px;
    display: None;
}

/* Navbar search fields*/

.form-search input {
    max-width: 120px;
    padding-left: 26px;
}

form.form-search {
    padding: 0 5px;
    position: relative;
}

form.form-search:before {
    background-position: -48px 0;
    content: "\e003";
    display: block;
    font-family: 'Glyphicons Halflings';
    height: 14px;
    left: 10px;
    opacity: .5;
    position: absolute;
    top: 8px;
    width: 14px;
    z-index: 1;
}

.search-clear {
    bottom: 0;
    color: #ccc;
    cursor: pointer;
    font-size: 14px;
    height: 14px;
    margin: auto;
    position: absolute;
    right: 20px;
    top: 0;
}


/* User button */

#user-button {
    color: #fff;
    font-weight: 400 !important;
    overflow: hidden;
    padding-bottom: 5px;
    text-align: center;
    text-shadow: none;
    background: #36399a url("../img/login_bg.png") no-repeat scroll center 10px/13px 24px;
    font-size: 12px;
    padding-bottom: 5px;
    padding-top: 35px;
}

.heading-cowalert {
    background-color: #595959;
    color: #fff;
    font-family: "proxima-nova", sans-serif;
    font-weight: 800;
}

.heading-cowalert a {
    color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "proxima-nova", sans-serif;
    font-weight: 800;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: inherit;
}

.yellow {
    color: #fee012
}

.green {
    color: #00C000;
}

.red {
    color: #FF4010;
}

.panel-cowalert {
    border-radius: 0;
    position: relative;
}

.panel-cowalert,
.panel-cowalert>table>tbody>tr>td {
    border-radius: 0;
    text-align: left;
    vertical-align: middle !important;
}

#fertility_module th:last-child,
#fertility_module td:last-child {
    text-align: center;
}

.panel-cowalert>.panel-heading {
    background-color: #f0f0f0;
    background-image: none;
}

.panel-cowalert>.panel-body {
    border-bottom: 1px #ddd solid;
}

.panel-cowalert>.panel-body:last-child {
    border-bottom: 0;
}

.panel-cowalert>.panel-body:nth-child(even) {
    background-color: #f9f9f9;
}

.navbar.navbar-cowalert {
    background-color: white;
    height: 60px;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 3;
}

#body {
    margin-bottom: 60px;
    padding-bottom: 10px;
    position: relative;
}

.heading-cowalert {
    left: 0;
    padding-bottom: 7px;
    position: fixed;
    right: 0;
    z-index: 2;
}

.cell-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle !important;
}

footer {
    background-color: #333333;
    border-top: 5px solid #fee012;
    bottom: 0;
    color: #fff;
    font-family: "proxima-nova", sans-serif;
    font-weight: normal;
    left: 0;
    padding: 5px 0 5px;
    position: fixed;
    right: 0;
    z-index: 2;
}

footer #upperFooter {
    background-color: #4c4c4c;
    font-weight: normal;
}

footer #lowerFooter {
    background-color: #333333;
    font-weight: normal;
}

footer a:hover {
    color: #FEE012;
    text-decoration: none;
}

footer a {
    color: #aaa;
    text-decoration: none;
}

.form-signin {
    margin: 0 auto;
    max-width: 330px;
    min-height: 403px;
    position: relative;
    top: 20px;
}

.form-signin .form-control {
    box-sizing: border-box;
    font-size: 16px;
    height: auto;
    padding: 10px;
    position: relative;
}

.form-signin input[type="password"] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-bottom: 10px;
}

.btn-warning {
    background: #FEE012;
    border-color: #fee012;
    color: #000000;
}

.btn-warning.active,
.btn-warning.focus,
.btn-warning:active,
.btn-warning:focus,
.btn-warning:hover,
.open>.dropdown-toggle.btn-warning {
    background-color: #DEC002;
    border-color: #CEB000;
    color: #fff;
}

.hoverYellow:hover {
    background-color: #FEE012 !important;
    cursor: pointer;
}

.messages {
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

.messages li {
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: block;
    font-family: arial, verdana, sans-serif;
    font-size: 100%;
    list-style-type: none;
    margin: 0 auto;
    padding: 0.25em;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: 358px;
}

.messages li:hover {
    cursor: pointer;
}

.message-success {
    background: #13BE50;
    border: 1px solid #107735;
    color: #ffffff;
}

.message-error {
    background: #F02E2E;
    border: 1px solid #941F1F;
    color: #ffffff;
}

.message-info {
    background: #EEE;
    border: 1px solid #DDD;
    color: #777;
}

.lbl-lastseen {
    font-size: 100%;
}

.lbl_alert {
    font-size: 100%;
}

.table-last-column-bold td:last-child {
    font-size: 2em;
    font-weight: bold;
    padding: 0 10%;
    text-align: right;
    width: 50%;
}

.cowalert_modal {
    background-color: #f3f3f3;
    border: 1px solid #ccc;
    height: 250px;
    margin: auto;
    padding-left: 50px;
    padding-right: 50px;
    width: 600px;
}

.exit_modal_button {
    position: absolute;
    right: 10px;
    top: 10px;
}

.dashboard_indicator_link:hover {
    text-decoration: none;
}

.dashboard_indicator_container {
    display: inline-flex;
    margin: 0 auto;
    padding: 2px;
}

.dashboard_indicator_link {
    display: flex;
}

.center_items {
    align-items: center;
    display: flex;
    height: inherit;
}

.dashboard_indicator {
    background-color: grey;
    border: 2px solid black;
    border-radius: 50%;
    color: white;
    float: left;
    font-size: 150%;
    font-weight: bold;
    height: 64px;
    line-height: 56px;
    margin: 3px;
    text-align: center;
    width: 64px;
}

@media (max-width:972px) {
  .dashboard_indicator {
    height: 9vw;
    line-height: 8.5vw;
    width: 9vw;
  }
}

@media (max-width:640px) {
  .dashboard_indicator {
    height: 13vw;
    line-height:12.5vw;
    width: 13vw;
  }
}

@media (min-width:973px) and (max-width:1200px) {
  .dashboard_indicator {
    height: 5vw;
    line-height: 4.5vw;
    width: 5vw;
  }
}

#qubefaults.dashboard_indicator {
    background-color: red;
    cursor: pointer;
}

#new_badge.dashboard_indicator {
    background-color: red;
}

#inspect_badge.dashboard_indicator {
    background-color: #ff9900;
}

#diagnosed_badge.dashboard_indicator {
    background-color: blue;
}

#noAlert_badge.dashboard_indicator {
    background-color: green;
}

.sudden-change {
    background-color: #d9534f !important;
}

.high-deviation {
    background-color: #ff9900 !important;
}

.sudden-change-label {
    background-color: #d9534f !important;
}

.ok-label {
    background-color: #42ca32 !important;
}

.high-deviation-label {
    background-color: #f0ad4e !important;
}

.health-alerts .dashboard_indicator {
    cursor: pointer;
}

select:disabled,
input:read-only {
    background-color: #eee;
}

.legend .badge {
    margin: 0.5em;
}

.font-large {
    font-size: 150% !important;
}

.highcharts-series .mobility_score_0,
.mobility_score_0 .highcharts-point,
.mobility_score_0.badge {
    background-color: #70AD47;
    color: white;
    fill: #70AD47;
}

.highcharts-series .mobility_score_1,
.mobility_score_1 .highcharts-point,
.mobility_score_1.badge {
    background-color: #A9D18E;
    color: white;
    fill: #A9D18E;
}

.highcharts-series .mobility_score_2,
.mobility_score_2 .highcharts-point,
.mobility_score_2.badge {
    background-color: #F4A5A6;
    color: white;
    fill: #F4A5A6;
}

.highcharts-series .mobility_score_3,
.mobility_score_3 .highcharts-point,
.mobility_score_3.badge {
    background-color: #FF0000;
    color: white;
    fill: #FF0000;
}

.mobility_score_unknown {
    color: #909090;
}

.mobility_score_0 {
    color: #70AD47;
}

.mobility_score_1 {
    color: #A9D18E;
}

.mobility_score_2 {
    color: #F4A5A6;
}

.mobility_score_3 {
    color: #FF0000;
}

.mobility_stayed_sound {
    fill: #007F00;
}

.mobility_recovered {
    fill: #5A9BD5;
}

.mobility_newly_lame {
    fill: #A6A6A6;
}

.mobility_stayed_lame {
    fill: #C55910;
}

.mobility_unknown {
    fill: #020202;
}


.highcharts-tooltip {
    width: 110%;
}

.highcharts-tooltip .tooltip_name {
    padding-right: 5px;
}

.highcharts-tooltip .tooltip_value {
    font-style: normal !important;
}

.date-search {
    background: white right no-repeat;
    min-width: 103px;
    padding-right: 0;
    width: 50%;
}

#dynamics_graph {
    height: 400px;
    width: 100%;
}

.fa.fa-caret-down.fa-1x, .fa.fa-caret-right.fa-1x  {
    color:#fddf12;
}

/* styles applied on classes that start with "html.no-touch-device" will not affect touch devices */
html.no-touch-device .dropdown-submenu {
    position: relative;
}

@media (min-width: 993px) {
    html.no-touch-device .dropdown-submenu>.dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left:  -0.40px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    html.no-touch-device .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .dropdown-submenu>a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #fddf12;
        margin-top: 5px;
        margin-right: -10px;
    }
}

@media (max-width:992px){
    .navbar-nav .open .dropdown-menu{
        position:static;
        float:none;
        width:auto;
        margin-top:0;
        background-color:transparent;
        border:0;
        -webkit-box-shadow:none;
        box-shadow:none
    }

    .navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li *{
        padding:5px 15px 5px 25px
    }

    .navbar-nav .open .dropdown-menu>li *{
        line-height:20px
    }

    .dropdown-submenu>a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 5px 5px 0 5px;
        border-color: #fdde12 transparent transparent transparent;
        margin-top: 5px;
        margin-right: -10px;
    }
}
.dropdown-menu > li > div{
    padding:3px 20px
}

html.no-touch-device .dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

html.no-touch-device .dropdown ul li.dropdown-submenu:hover a.dropdown-link,
html.no-touch-device #navigation-menu  li:hover a.dropdown-toggle{
    background:#eeeeee;
}

/* styles applied on classes that start with "html.touch-device" will be implemented only on touch devices. */
html.touch-device .navbar-nav .dropdown-menu  .multi-level {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

ul.dropdown-menu {
    height:auto;
}

#confirm_modal .modal-body pre {
    margin:auto auto;
    width:94%;
}

button.update {
  display: inline-block;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #fff;
  background-color: #FEE012;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  width: 210px;
  transition: all 0.5s;
  cursor: pointer;
  float:right;
  position: relative;
  right:    0;
  bottom:   0;
  margin-top:10px;
  overflow:auto;
  z-index:0;
}

@media (min-width: 1200px) {
    #update-localisation{
       margin-top: 195px;
    }
}

button.update span{
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
  color: white;
}

button.update span:after{
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

button.update:hover span {
  padding-right: 25px;
}

button.update:hover span:after {
  opacity: 1;
  right: 0;
}

.btn-moreless{
  background-color:#337ab7;
  border-color:#265a88;
  border-radius: 5px;
  color: white;
}
.btn-moreless:disabled,
.btn-moreless[disabled]{
  cursor: not-allowed;
  opacity: 0.6;
}

.table-hover.footable caption{
    margin-top: 1em;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    color:#595959;
}

.table-hover.footable{
  border-collapse: collapse;
  margin:auto;
   max-width: 100%;
   min-width: 300px;
}

.tabCapt{
  margin-top: 1em;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  padding-top: 8px;
  padding-bottom: 8px;
  color:#595959;
}

.unavailable_module {
    background-color: whitesmoke;
    margin-bottom:4em;
    padding-top:4em;
    padding-bottom: 4em;
    text-align:center;
}

.unavailable_module p {
    font-size:15px;
    padding: 0 1em 0 1em;
    color:#595959;
}

.unavailable_module h2 {
    color:#595959;
}

@media (max-width: 1200px) {
    #location-view-config-container .col-lg-6:nth-child(2){
       margin-top: 50px;
    }
}

@media (max-width: 992px) {
    #location-view-config-container .row:nth-child(2) .col-lg-6:nth-child(2){
       margin-top: 70px;
    }
}

#location-view-config-container .row:nth-child(2) {
    margin-top:50px;
}

#migrated_user_notification {
    background-color: #FEE012;
}

#environment_info {
    text-transform: uppercase;
}

#banner_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    display: block;
    line-height: 35px;
    font-weight: bold;
    color: white;
    position: fixed;
    vertical-align: center;
    background-color: red;
    z-index: 2;
}

.PRODUCTION {
    background-color: green;
}
.DEVELOPMENT {
    background-color: #d0006e;
}
.PREVIEW.production-database{
    background-color: green;
}
.PREVIEW.cloud-test-database{
    background-color: #d0006e;
}
.BETA {
    background-color: #36399A;
}

.hide-until-page-load {
    visibility: hidden;
}

#button-area button {
    margin-left:5px;
}

th#list_actual_date {
 border: none;
}

#emailHeatsModal, #emailModal, #emailDynamicListModal {
    background-color: #f3f3f3;
    border: 1px solid #ccc;
    height:25em;
    width: 40em;
    margin:auto;
    position: fixed;
}

label[for='id_email'], label[for="user-notes"]{
    vertical-align:top;
}

.inline-div
{
    display: table-cell;
}

.inline-div:nth-child(2)
{
    padding-left:40%;
    display:inline;
}

#empty-inspection
{
  background: #eca4b5;
  margin-top:21.5px;
  padding: 5px;
  border: solid 1.1px #cc1228;
  display: inline-block;
  box-shadow: 1px 1px 1px #aaaaaa;
}

.tooltip-dot {
  height: 10px;
  width: 10px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
}
.Lameness {
  background-color: rgb(255, 0, 0);
}
.Attention {
  background-color: rgb(248, 148, 6);
}
.Healthy {
  background-color: rgb(0, 100, 0);
}
.Unevaluated {
  background-color: rgb(128, 128, 128);
}

.disabled-btn {
  opacity:0.65;
  pointer-events:none;
}

#button-area ul {
  margin-left:60px;
  max-width:180px;
}

.pointer {
  cursor: pointer;
}

.form-signin ul li.message-info {
  max-width: 330px;
}

#id_username {
  margin-bottom: 10px;
}

#login-button {
  margin-top: 30px;
}

.form-signin img {
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;
}

.form-signin h3 {
      text-align: center;
}

@media (max-width:992px){
    .login-container .col-md-4 {
        text-align: center;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    form.form-signin .form-control {
        position: relative;
        font-size: 16px;
        height: auto;
        padding: 10px;
          @include box-sizing(border-box);
          &:focus {
            z-index: 2;
          }
    }

    .login-container {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        min-height: 100%;
        padding: 20px;
        min-width:300px;
    }

    .login-container div {
        vertical-align: middle;
        width: 100%;
    }

    .login-form {
        margin:0 auto;
        width: auto;
    }

    #pass-requirements {
        text-align: left;
        margin-top: 3em;
        padding: 20px;
        width: max-content;
    }
}

@media (min-width:993px) {
    .login-container *{
        box-sizing: content-box;
    }

    .login-container{
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        min-height: 100%;
        padding: 20px;
        min-width:300px;
    }

    .login-container .col-md-4 {
        -webkit-border-radius: 10px 10px 1bod0px 10px;
        border-radius: 10px 10px 10px 10px;
        background: #fff;
        padding: 100px;
        margin: auto;
        min-width:300px;
        width: 600px;
        position: relative;
        -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
        box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
        text-align: center;
        margin-top: 40px;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    #login-footer-container {
        max-width: 1000px;
    }

    #pass-requirements {
        text-align: left;
        padding: 100px;
        width: max-content;
    }
}

.detail-spinner {
    display: none;
    vertical-align: middle;
    margin-left: 5px;
}

.load-spinner {
    display: none;
    vertical-align: middle;
    margin-left: 5px;
}

.load-spinner3 {
  margin-top: 40%;
  text-align: center;
}

#extraContent .modal-header{
  padding: 2%;
}

#extraContent .modal-body{
  height: 80%;
  overflow: scroll;
}

#extraContent .modal-dialog .modal-content .modal-body{
  overflow:auto;
  max-height: 80vh;
}

#extraContent .modal-footer{
  width: 100%;
  bottom: 0;
}

.qubemodal {
  position:fixed;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  height: min-content;
  border:1px solid #ccc;
  background-color:#f3f3f3;
}

.modal-error{
  padding-top: 2%;
  padding-left: 2%;
  display: none
}

#alerts-button-area button {
  margin-left:5px;
  margin-top:20px;
}

#empty-list {
  color:#3175af;
}

#editAlertForm td, #editAlertForm th {
  border:none;
}

#editAlertForm {
  width:500px;
}

textarea#user-notes, textarea#vet-list-notes {
  height:90px;
}

#change_cow_comment_modal div.modal-dialog {
  width:500px;
}

#location-msg {
  font-size:30px;
  margin-left:10px;
  display:block-inline;
  vertical-align:text-bottom;
}

#location-alive {
  font-size:0.8em;
  margin-bottom:2px
}

#div_foot_trimmer_list_alerts h4, #div_vet_list_alerts h4 {
  margin-top:40px;
}

#foot_trimmer_list_button_area , #vet_list_button_area {
  margin-top:20px;
}

#vet_list_page_heading, #foot_trimmer_list_page_heading {
  display: inline-block;
  width: 600px;
  text-align: left;
}

#vet_list_button_area, #foot_trimmer_list_button_area {
  display: inline-block;
  text-align: right;
}

#lameness_alerts_button_area {
  margin-top:20px;
}

@media (min-width:993px) {
  #setDiagnosisForLameCowFeetModal div.modal-dialog {
    width:800px;
  }

  #diagnosis-by-foot-form-modal-message {
    font-size: x-large;
    margin-left: 15px;
    margin-bottom:10px;
  }
}

@media (max-width:992px) {
  #diagnosis-by-foot-form-modal-message {
    font-size: large;
    margin-left: 15px;
    margin-bottom:10px;
  }
}

#diagnoseByFootForm label {
    font-size:larger;
    display:block;
    margin-top:5px;
}

#inline-sub-form {
  display:flex;
  justify-content: space-between;
}

.field-block-with-errors {
  width:48%
}

.form-control.datetimepicker{
    z-index: 1 !important;
}

.control-label .asteriskField {
    display: none;
}

#supportFormModal {
    background-color: #f3f3f3;
    border: 1px solid #ccc;
    height:43em;
    width: 50em;
    margin:auto;
    position: fixed;
}

#supportFormModal .modal-body {
    margin-bottom:-40px;
    width:40em;
}

#cowfeedbacklist {
    margin-left:15px;
    margin-top: 100px;
    height: 360px;
    overflow-y: auto;
    overflow-wrap: break-word;
}

.help{
  font-size: 1em;
  float: right;
  color: #265a88;
  cursor: pointer;
}

.helptextBulk {
  visibility: hidden;
  width: 355px;
  left: 111%;
  top: 17px;
  background-color: #555555c7;
  color: #fff;
  border-radius: 6px;
  padding: 8px 8px;
  position: absolute;
  z-index: 1;
  margin-left: -80px;
}

textarea#id_subjects:required:focus {
  border: 1px solid red;
  outline: none;
}

.fieldWrapper div {
    margin-bottom:2px;
}

.fieldWrapper {
    margin-bottom:10px;
}

.empty-fields, .errorlist.nonfield {
    color: white;
    font-weight: 500;
    font-size:12px;
    position: relative;
    background: #d9534f;
    padding: 4px;
    display: inline-block;
    box-shadow: 1px 1px 1px #aaaaaa;
}

.empty-fields:after, #empty-fields:before {
	bottom: 100%;
	left: 15%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.empty-fields:after {
	border-color: rgba(136, 183, 213, 0);
	border-bottom-color: #d9534f;
	border-width: 10px;
	margin-left: -10px;
}

.empty-fields:before {
	border-color: rgba(194, 225, 245, 0);
	border-bottom-color: #d9534f;
	border-width: 17px;
	margin-left: -17px;
}

.row.flex {
  display: flex;
}

.flex-col {
  flex: 1;
  padding: 1em;
}

@media (max-width: 700px) {
    .row.flex {
        display: flex;
        flex-flow: row wrap;
    }
}

.fa-stethoscope {
  font-weight:bold;
  font-size: 16px;
}

 .iceadmin-alternate-table tbody tr:hover{
   background: #337ab7;
   color: #fff;
 }

 .iceadmin-alternate-table tr.odd{
   background: #c8c8c8;
 }

 .iceadmin-alternate-table tr.even{
   background: #FFFFFF;
 }

 .iceadmin-alternate-table thead{
   background: #337ab7;
   color: #fff;
 }
}

.iceadmin-alternate-table tbody tr:hover{
  background: #337ab7;
  color: #fff;
}

.iceadmin-alternate-table tr.odd{
  background: #c8c8c8;
}

.iceadmin-alternate-table tr.even{
  background: #FFFFFF;
}

.iceadmin-alternate-table thead{
  background: #337ab7;
  color: #fff;
}

.iceadmin-download-matrix{
  font-size: 12px;
}

.iceadmin-download-matrix tbody tr:hover{
  background: #fbd749;
}

.iceadmin-download-matrix tr.odd{
  background: #c8c8c8;
}

.iceadmin-download-matrix tr.even{
  background: #FFFFFF;
}

.iceadmin-download-matrix thead{
  background: #337ab7;
  color: #fff;
}

.iceadmin-alternate-btn{
  background: #337ab7;
  color: #fff;
}

.iceadmin-alternate-btn:hover{
  background: #fff;
  color: #337ab7;
}

.table-wrapper {
  position:relative;
}

.table-scroll {
  height:75vh;
  overflow:auto;
}

.table-scroll table {
  width:100%;
}

.beta-ribbon {
  position: absolute;
  right: -5px; top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px; height: 75px;
  text-align: right;
}

.beta-ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 100px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#f9df14 0%, #f9df14 50%, #fff084 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px; right: -21px;
}

.beta-ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #333;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #333;
}

.beta-ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #333;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #333;
}

#disclaimer-box {
  color:white;
  margin-left:15px;
  background-color:#A9D18E;
  border-radius: 5px;
  padding:10px;
  width: 97%;
}

div.fertility_dashboard_kpi_container{
  margin: 0 auto;
  min-width:200px;
  margin-bottom: -180px;
  width:100%;
  height:100%;
}

.highlight_bulk_button_off{
  background: #dbdbdb;
  color: #337ab7;
  padding: 5px;
  text-align: center;
}

.highlight_bulk_button_on{
  background: #337ab7;
  color: #fff;
  padding: 5px;
  text-align: center;
}

i.glyphicon-edit.disabled {
  cursor:none;
  opacity: 0.5;
}

#arl_summary_tbl th:last-child,
#arl_summary_tbl td:last-child {
    text-align: center;
}

#overlay {
    background: whitesmoke;
    color: #666666;
    height: 360px;
    width: 100%;
    z-index: 5000;
    float: left;
    text-align: center;
    padding-top: 25%;
    opacity: .80;
    margin-top: 100px;
    margin-left: 15px;
}

.spinner {
    margin: 0 auto;
    height: 64px;
    width: 64px;
    animation: rotate 0.8s infinite linear;
    border: 5px solid firebrick;
    border-right-color: transparent;
    border-radius: 50%;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.erroneous_field {
  border: 1px solid #d9534f;
}

#left-panel {
  width: 25%;
  float: left;
}

.modal #extraContent{
  display: None;
}

.modal-error{
  display: None;
}

.form-controls-right{
  float: right;
}

#reminder-header {
  color: white;
  position: relative;
  background: #ff9900;
  padding: 5px;
  display: inline-block;
  border-radius: 3px;
  margin-bottom: 5px;
}

#reminder-header:focus{
  outline:none;
}

#slider-range {
  height: .3em;
}

#slider-range .ui-slider-range{
  background: #337ab7
}

#slider-range .ui-slider-handle {
  background: #337ab7;
  height: 1em;
  width: .3em;
  margin-left: -.3em;
  padding-left: .5em;
}

#cowsFilterModal{
  top: 20%;
  left: 30%;
  height: 25%;
  width: 35%;
  background: white;
  padding:15px;
}

#cowsFilterModal #modal-body{
  height: 35%
}

input[name="actual_date"] {
  width: 100%;
}

.login-button-holder{
  width: 90%;
}

.highcharts-series .lameness_index_not_lame,
.lameness_index_not_lame .highcharts-point,
.lameness_index_not_lame.badge {
    color: white;
    background-color: #A9D18E;
    fill: #A9D18E;
}

.highcharts-series .lameness_index_lame,
.lameness_index_lame .highcharts-point,
.lameness_index_lame.badge {
    color: white;
    background-color: #F4A5A6;
    fill: #F4A5A6;
}

#btn-selectors li {
  margin:5px;
}

.disabled-icon-btn {
  opacity:0.65;
  pointer-events:none;
  color: grey;
}

#custom-close-btn {
  font-size: 18px;
  line-height: 1;
  filter: alpha(opacity=20);
  opacity: 0.8;
  margin-left: 15px;
  cursor: pointer;
  background: 0 0;
  border: 0;
}

table#downloadMatrixTable tfoot{
  background: #337ab7;
  font-weight: bolder;
  color: white;
}

thead#elementDetails{
  background: #337ab7
}

.dynamicTable{
  display: flex;
  overflow: scroll;
  align-content: center;
  flex-direction: column;
}

.lameness-overwrite {
  margin: 2em;
}

.performanceTab {
  overflow: scroll;
  max-height: 75vh;
  max-width: 75vw;
}

ul.multiselect-container {
  width:100%;
}

#selected_timezone {
  margin-top: -3px;
  filter: grayscale(100%);
  width: 25px;
}

.dropdown-menu > li > a.no-permission {
  color: grey;
  cursor: default;
  font-weight: 400;
}

.no-permission {
  color: grey;
  cursor: default;
}

.additionalInfo {
  display: grid;
  grid-template-columns: 20% 20% 20% 20% 20%;
  margin-left: 3%;
  margin-right: 3%;
}

.additionalInfoTable {
  display: grid;
  grid-template-columns: 20% 20% 20% 20% 20%;
}

#tz_overlay {
  background: #ffffff;
  color: black;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 5000;
  top: 0;
  left: 0;
  float: left;
  text-align: center;
  padding-top: 25%;
  opacity: .80;
  font-size: large;
}

#utc-disclaimer-box {
  color: white;
  background-color: #A9D18E;
  border-radius: 5px;
  padding-top: 10px;
  text-align: center;
  margin: auto;
  max-width: 1300px;
}

.estrus-buttons {
  margin-top: 15px;
}

#div_id_subjects_choice_holstein {
  min-width:250px;
}

#div_id_subjects_choice_holstein .open>.dropdown-menu {
  height: 300px;
  width: 300px;
  overflow: auto;
}

.dropdown-menu.open {
  max-height: 320px;
  max-width: 310px;
}

.dropdown-menu.inner {
  max-height: 270px;
  max-width: 300px;
}

/* Scrollbar CSS styling below is only supported by webkit browsers so it will not be picked up by Firefox */
.dropdown-menu::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.dropdown-menu::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 11px;
	background-color: #F5F5F5;
}

.dropdown-menu::-webkit-scrollbar {
	width: 10px;
	background-color: #F5F5F5;
}

.dropdown-menu::-webkit-scrollbar-thumb {
	border-radius: 11px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #555;
}

#qube-search {
  -moz-appearance: textfield; /* Firefox */
}

#qube-search::-webkit-outer-spin-button,
#qube-search::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

#id_diagnosis_notes {
  max-width: -moz-available;          /* WebKit-based browsers will ignore this. */
  max-width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
  max-width: fill-available;
}

.custom_date_field {
  font-family: "Helvetica", arial, sans-serif;
  border:1px solid #ecf0f1;
  background: white url(//media.cowalert.com/img/calendar.gif) 95% no-repeat;
  padding: 10px;
  height: 37px;
  width: 130px;
  margin-left:5px;
}

.custom_date_field, focus {
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

#by_group_form label {
  font-weight:100;
  margin-top:10px;
}

#by_group_form #div_id_start_date, #by_group_form #div_id_end_date {
  display:flex;
}

@media (min-width: 1200px) {
  .by-group-field-block-with-errors {
    width: 25%;
    display: inline-table;
  }
}

#location-h3 span:empty {
    max-width: -moz-available;          /* WebKit-based browsers will ignore this. */
    max-width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    max-width: fill-available;
}

.ui-multiselect-menu {
    font-size: 85%;
}