/* Prevents a selected button from rendering in front of certain things (like jQuery UI's datepicker) */
.btn-group > .btn.active {
  z-index: 1;
}

/* Give the same hover style to links inside forms as links inside li.
 * (used in the current bill template) */
.dropdown-menu li > form > a:hover {
  color: #ffffff;
  text-decoration: none;
  background-color: #6E93B8;
}

/* Print media options. */
@media print {
  .visible-print {
    display: inherit !important;
  }
  .hidden-print {
    display: none !important;
  }
}


/* Spinner classes */

.spinner {
  display: inline-block;
  opacity: 0;
  max-width: 0;

  -webkit-transition: opacity 0.25s, max-width 0.45s;
  -moz-transition: opacity 0.25s, max-width 0.45s;
  -o-transition: opacity 0.25s, max-width 0.45s;
  transition: opacity 0.25s, max-width 0.45s; /* Duration fixed since we animate additional hidden width */
}

.has-spinner.active .spinner {
  opacity: 1;
  max-width: 50px; /* More than it will ever come, notice that this affects on animation duration */
}


/* for links included in messages */

.message-link a:visited, .message-link a:link {
    font-size: 13px;
    color: white;
    text-shadow: none;
}

/* Colors of notice icons */
.notice-food_aggressive {
  color: red;
}

/* Hover class */
#hover:hover {
  background-color: #f5f5f5;
  cursor: pointer;
}

/* Remove red border from inputs */
input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, select:focus:required:invalid:focus {
    border-color: rgba(82, 168, 236, 0.8);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

input:focus:required:invalid, textarea:focus:required:invalid, select:focus:required:invalid {
    color: black;
    border-color: rgba(82, 168, 236, 0.8);
}

.flex_center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
}

.visit-default, .vaccination-description {
    font-weight: bold;
}

.conversation-data img {
    max-width: 300px;
}

.vaccination-description {
    margin-left: 15px;
    width: 270px;
}

.vaccinations-table td {
  vertical-align: middle;
}

.vaccinations-table tr {
  height: 47px
}

.vaccinations-table .hasDatepicker {
  width: 170px
}

.records_list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.records_list > div:last-child {
    min-width: 180px;
    text-align: right;
}

.dropzone {
    margin-top: 15px;
    border: 2px dashed;
    border-radius: 8%;
    width: 400px;
    background-color: #dddddd;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

hr {
    height: 1px;
    margin-bottom: 5px;
    border-top: 3px solid black;
}

.remember-me-login {
    display: flex;
    width: 105px;
    justify-content: space-between;
    margin-top: 10px;
}

.transfer-location-outline {
    border: 1px solid black;
    padding: 0px 4px 1px;
    border-radius: 3px;
    width: max-content;
    background-color: #ffffff;
    color: #000000;
    font-weight: normal;
}

.label-banned {
  display:inline-block; 
  vertical-align: top;
  font-weight: bold;
  color: red;
}

.meal_count_block {
    display: inline-flex;
    width: 200px;
    justify-content: space-around;
    float: right;
}

.meal_count_block.title {
    margin-top: -10px;
}

.meal_count_block:not(.title) {
    padding-top: 2px;
}

.meal_count_block > * {
    width: 66px !important;
    align-self: flex-end;
    justify-self: center;

    text-align: center;
    vertical-align: bottom;
}

.meal_total_count_block {
    display: inline-block;
    float: right;
    width: 66px;
    text-align: center;
}

/* Smaller sup in h1 */
h1 sup {
  font-size: 50%;
}

h2 sup {
  font-size: 50%;
}

h3 sup {
  font-size: 50%;
}

.btn-link,
.btn-link:active,
.btn-link[disabled] {
    background-color: transparent;
    background-image: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.btn-link {
    color: #6E93B8;
    cursor: pointer;
    border-color: transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.btn-link:hover,
.btn-link:focus {
    color: #005580;
    text-decoration: underline;
    background-color: transparent;
}

.btn-link[disabled]:hover,
.btn-link[disabled]:focus {
    color: #333333;
    text-decoration: none;
}

@font-face {
    font-family: Archer;
    src: url("fonts/Archer-Bold-Pro.woff2") format("woff2"),
         url("fonts/Archer-Bold-Pro.woff") format("woff"),
         url("fonts/Archer-Bold-Pro.otf") format("opentype");
}

@font-face {
    font-family: AGBookRounded;
    src: url("fonts/ag-book-rounded-regular.woff2") format("woff2"),
         url("fonts/ag-book-rounded-regular.woff") format("woff"),
         url("fonts/ag-book-rounded-regular.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: AGBookRounded;
    src: url("fonts/ag-book-rounded-medium.woff2") format("woff2"),
         url("fonts/ag-book-rounded-medium.woff") format("woff"),
         url("fonts/ag-book-rounded-medium.otf") format("opentype");
    font-weight: bold;
}

body {
  font-family: AGBookRounded;
}

h1 {
  font-family: Archer;
  color: rgb(255,200,0);
}

.dog-tag-color {
  background-color: #1980ec;
}

.content-tag-color {
  background-color: #16a822;
}

.offer-tag-color {
  background-color: red;
}

.media-tag {
  display: inline-block;
  margin-bottom: 2px;
  padding: 3px 4px 2px;
}

.media_request_placeholder {
  border: 1px solid #dddddd;
  border-radius: 4px;
  width: 198px; 
  height: 100%; 
  margin-bottom: 20px;
}

.media_request_icon {
  text-align: center; 
  vertical-align: middle; 
  display: table-cell;
  width: 200px;
  height: 130px;
}

.horizontal-divider {
  border-top: 1px solid #dddddd; 
  margin-top: 10px; 
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .pull-sm-right{
    right: 0;
    left: auto;
  }
}

@media (max-width: 560px) {
    .visit-clickable-table-second-td {
        max-width: 100px !important;
        margin-left: 0;
        float: none;
    }

    .visit-clickable-table-first-td {
        max-width: 60px !important;
    }

    .min-label{
        white-space: pre-wrap
    }

    .visit-clickable-table-tasks-td {
        max-width: 70px !important;
    }

    .min-dog-description {
        font-size:14px;
        overflow-wrap: break-word;
        -webkit-hyphens: auto
    }
}