$border-color: #ccc;

.amo_wrapper {
	margin: .25em 0;
	padding: .5em 0;

	.amo-subtitle,
	.amo-form-title {
		margin: 0;
		font-weight: bold;
	}

	.amo-label {
		font-style: italic;
	}

	form {
		margin-top: 1em;
		margin-bottom: 1em;

		.amo-form-group {
			margin-bottom: 1em;
		}

		label {
			display: block;
		}
		input, 
		select {
			width: 400px
		}
	}

	button {
		word-wrap: normal;
	}

	
	.amo_wrapper-item {
		border-bottom: 1px solid $border-color;
		margin-bottom: 1em;
		padding-bottom: 1em;
	}

	.amo-panel {
		border: 1px solid $border-color;
		border-radius: 10px;

		.amo-panel-header {
			background-color: #ddd;
			border-top-left-radius: 10px;
			border-top-right-radius: 10px;
			border-bottom: 1px solid $border-color;

			h2.amo-title {
				color: #000;
				margin: 0;
				padding: 0.5em;
			}
		}

		.amo-panel-body {
			padding: 1em;
		}
	}

	.table-hover {
	  > tbody > tr:hover {
	    background-color: $border-color;
	  }
	}
	// https://github.com/twbs/bootstrap/blob/master/less/tables.less
	.table-responsive {
		overflow-x: auto;
		min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)

		@media screen and (max-width: 767px) {
			width: 100%;
			margin-bottom: 0.75em;
			overflow-y: hidden;
			-ms-overflow-style: -ms-autohiding-scrollbar;
			border: 1px solid $border-color;

				// Tighten up spacing
				> .table {
				  margin-bottom: 0;

				  // Ensure the content doesn't wrap
				  > thead,
				  > tbody,
				  > tfoot {
				    > tr {
				      > th,
				      > td {
				        white-space: nowrap;
				      }
				    }
				}
			}
		}
	}
}

#amo_member_directory,
#amo_member_directory_organization {

	table {
		min-width: 620px;

		th, td {
			font-size: 14px;

			button {
				display: block;
				margin: 0 auto;
			}
		}
	}
}