/* Override path to flags */
.iti__flag {background-image: url("/img/flags/flags.png");}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {background-image: url("/img/flags/flags@2x.png");}
}

/* Same width of container with or without scroll bar */
html {
    overflow-y: scroll;
}

#copyright {
  text-align: right;
  margin-right: 5%;
  color: #fff;
  text-transform: uppercase;
}

.table > tbody > tr > td {
     vertical-align: middle;
}

/* Disabled tabs */
.disabled-tab {
  cursor: not-allowed;
}

/* Autocomplete too long */
.ui-autocomplete {
    max-height: 150px;
    overflow-y: auto;   /* prevent horizontal scrollbar */
    overflow-x: hidden; /* add padding to account for vertical scrollbar */
    z-index:1000 !important;
}


/* Flip tables */
@media only screen and (max-width: 800px) {

	#flip-scroll .cf:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
	#flip-scroll * html .cf { zoom: 1; }
	#flip-scroll *:first-child+html .cf { zoom: 1; }

	#flip-scroll table { width: 100%; border-collapse: collapse; border-spacing: 0; }

	#flip-scroll th,
	#flip-scroll td { margin: 0; vertical-align: top; }
	#flip-scroll th { text-align: left; }

	#flip-scroll table { display: block; position: relative; width: 100%; }
	#flip-scroll thead { display: block; float: left; }
	#flip-scroll tbody { display: block; width: auto; position: relative; overflow-x: auto; white-space: nowrap; }
	#flip-scroll thead tr { display: block; }
	#flip-scroll th { display: block; text-align: right; }
	#flip-scroll tbody tr { display: inline-block; vertical-align: top; }
	#flip-scroll td { display: block; min-height: 1.25em; text-align: left; }


	/* sort out borders */

	#flip-scroll th { border-bottom: 0; border-left: 0; }
	#flip-scroll td { border-left: 0; border-right: 0; border-bottom: 0; }
	#flip-scroll tbody tr { border-left: 1px solid #babcbf; }
	/* #flip-scroll th:last-child,
	#flip-scroll td:last-child { border-bottom: 1px solid #babcbf; } */
}

/* Pet image selection */
div#pet-image-autocomplete > ul {
  display: table;
}
div#pet-image-autocomplete > ul > li {
  width:33%;
  display:inline-table;
  text-align: center;
}

@media only screen and (min-width: 600px) {
  div#pet-image-autocomplete > ul > li {
    width: 25%;
  }

@media only screen and (min-width: 800px) {
  div#pet-image-autocomplete > ul > li {
    width: 20%;
  }
}
