a.nav-tab:focus {
	box-shadow: none;
}

.medium_textarea {
  width:400px;
  height:100px;
}

.short_input {
  width:15em !important;
}

.long_input {
  width:90% !important;
}

.image-upload-button {
  cursor: pointer;
}

.yellow-message {
  background-color: lightYellow; border: solid 1px #E6DB55; padding:3px 10px;
}

.red-message {
  background-color: #ffebe8; border: solid 1px #c00; padding:3px 10px;
}

.demo-gallery { display: block; }

.demo-gallery span { display:none; }

.demo-gallery a
{
  display: inline-block;
  margin: 10px;
  text-align: center;
  padding: 2px;
  border: 1px solid #9D9B8B;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 10px rgba(0,0,0,0.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

  .demo-gallery a img
  {
    padding: 2px;
    display: block;
  }

  .demo-gallery a:hover
  {
    opacity: 0.8;
  }


#foobox-free-settings-wrapper {
	width: 100%;
}

#foobox-free-settings-main {
	padding: 0;
	margin: 0;
}

/*
 * Settings tabs — modern flex layout (keep original look)
 */
.foo-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px; /* space between tabs without relying on margins */
  border-bottom: 1px solid #c3c4c7; /* match WP admin subtle divider */
  padding-bottom: 0;
}

.foo-nav-tabs .foo-nav-tab {
  margin: 0; /* spacing handled by flex gap */
  display: inline-flex;
  align-items: center;
  gap: 6px; /* icon + text spacing */
  text-decoration: none;
  background: #e2e4e7;
  border: 1px solid #c3c4c7;
  border-bottom-color: #c3c4c7;
  color: #2c3338;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 2px 2px 0 0;
  position: relative;
  top: 1px; /* sit on the divider */
  box-shadow: none;
  outline: none;
}

.foo-nav-tabs .foo-nav-tab:hover {
  background: #f3f4f5;
  color: #1d2327;
}

.foo-nav-tabs .foo-nav-tab.nav-tab-active,
.foo-nav-tabs .foo-nav-tab.foo-nav-tab-active {
  background: #f0f0f1;
  color: #1d2327;
  border-bottom-color: #f0f0f1; /* connect with content */
}

/* small gap from left edge on the first tab */
.foo-nav-tabs .foo-nav-tab:first-child { margin-left: 8px; }

.foo-nav-tabs .dashicons {
  line-height: 1;
  font-size: 18px;
}

/* Hide empty section headers produced by the settings renderer */
.nav-container h3:empty { display: none; }

/* Icon colors within tabs */
.foo-nav-tabs .dashicons-heart { color: #ff69b4; }
.foo-nav-tabs .dashicons-unlock { color: #007cba; }

/* Ensure small screens wrap gracefully */
@media (max-width: 600px) {
  .foo-nav-tabs { gap: 8px; }
  .foo-nav-tabs .foo-nav-tab { padding-left: 10px; padding-right: 10px; }
}

ul.foobox_features {
	padding: 10px;
}

ul.foobox_features li {
	margin-left:10px;
	background: url('img/tick.png') no-repeat left top;
	padding-left: 25px;
	padding-bottom: 10px;
	display: inline-block;
	width: 33%;
}

ul.foobox_features.tick2 li {
	background: url('img/tick2.png') no-repeat left top;
}

ul.foobox_features.tick3 li {
	background: url('img/tick3.png') no-repeat left top;
}

ul.foobox_features.single_column li {
	display: block;
	width: 100%;
}

.caption_call_to_action {
	color: #FFF;
	font-size: 24px;
	border-radius: 10px;
	margin:20px;
}

#foobox-free-upgrade p {
	font-weight: bold;
}

#upgrade_tab td, #upgrade_tab th {
	padding:0 !important;
}

#foobot_says_tab tr:first-child {
	display: none !important;
}

@media only screen and (max-width: 500px) {
	.foobox-free-settings-wrapper .foobox-free-settings-sidebar {
		position: relative;
		padding: 0;
	}

	div.demo-gallery {
		width: 100%;
	}

	div.demo-gallery img {
		height: 120px;
	}

	ul.foobox_features li {
		width: 50%;
	}
}
