/*
html,
body {
	margin: 0;
	padding: 0;
}

html {
	background: #fff;
	height: 100%;
	overflow-y: scroll;
	font-size: 62.5%;
	-webkit-overflow-scrolling: touch;
	-webkit-tap-highlight-color: #f3f5f6;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0 auto;
	padding: 0;
	width: 100%;
	background-color: transparent;
	font-family: Arial, sans-serif;
	font-size: 1.6rem;
	line-height: 1.5em;
	color: #333;
	-webkit-font-smoothing: antialiased;
}

h1, h2, p {
  margin: 15px 15px;
}
*/

body {
  /* Fix for webkit rendering */
	-webkit-text-size-adjust: 100%;
}

.select-search-wrapper {
  position: relative;
  width: 59%;
  /*max-width: 410px;*/
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  color: #333;
  z-index: 1000;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.select-search-input {
  float: right;
  width: 100%;
  font-size: 14px;
  line-height: 1.3rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  font-family: Arial, sans-serif;
}

.custom-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-top: 2px;
  max-height: 300px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1000;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.dropdown-item {
  padding: 8px 12px;
  min-height: 44px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.3rem;
  color: #333;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item:active {
  background-color: #f5f5f5;
}

#contentcontainer {
  width: 65%;
  margin: 15px 15px;
  padding: 15px 15px;
  background: #eee;
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
  .custom-dropdown {
      -webkit-overflow-scrolling: touch;
  }
  
  .dropdown-item {
      padding: 12px;
  }
  
  .select-search-wrapper,
  .custom-dropdown,
  .dropdown-item {
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      user-select: none;
  }
}

/* Prevent content shifting */
#contentcontainer > div {
  display: none;
}

#showdiv {
  scroll-margin-top: 20px;
}

.select-search-wrapper input[type="text"].select-search-input {
  width: 100% !important;
  box-sizing: border-box !important;
  /*max-width: 300px !important;*/
  /*min-width: 100% !important;*/
  flex: 1 1 auto !important;
  float: right;
}


.select-search-wrapper {
	float: right;
}
