#mp-event_data {
  #add_event_table {
    padding: 1em 0.5em;
	#event_start, #event_end {
	  min-width: 100px;
	}
  }
  .spinner.left {
	float: none;
  }

  .events-list-wrapper {
	max-height: 360px;
	overflow-y: auto;
	overflow-x: hidden;
	margin-bottom: 1em;
  }
  #events-list {
		
		.active {
			* {
				background-color: #F7FCFE;
			}
			td:first-child {
				border-left: 4px solid #0091cd;
			}
		}

		.edit-event-button, .delete-event-button {
			margin: 0 5px 10px 0;
			position: relative;
			width: 2em;
			height: 2em;

			&.icon:before {
				font-family: Dashicons;
				font-variant: normal;
				font-weight: 400;
				height: 100%;
				left: 0;
				line-height: 1.85;
				margin: 0;
				position: absolute;
				text-align: center;
				text-indent: 0;
				text-transform: none;
				top: 0;
				width: 100%;
			}
		}
	}
}

@media screen and (max-width: 1200px) {
	#mp-event_data {
		#events-list {
			.event-description {
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
			}
		}
	}
}

#column-options {
  .mp-weekday, .mp-date {
	margin: 10px 0 0;
  }
}

div[id^="jBoxID"] {
  &.jBox-Modal {
	.jBox-container {
		overflow: hidden;
	}
	.jBox-content {
	  max-width: 980px;
	  max-height: 800px;
	  padding: 0;
	  overflow: hidden;
	  & > form {
			height: 100%;
			overflow: hidden;
			position: relative;
			.mptt-shortcode-settings-wrapper {
				height: ~"calc(100% - 60px)";
				overflow-y: scroll;
				padding: 0 15px 0 10px;
			}
			.mptt-shortcode-submit-wrapper {
				background: #f4f5f6 none repeat scroll 0 0;
				border-top: 1px solid #ddd;
				padding: 15px;
				position: relative;
				text-align: left;
			}
		}
	}
  }
}

#add_event_options_table, #add_event_table {
  &.form-table {
	tr {
	  > :first-child {
		vertical-align: top;
		text-align: left;
		padding: 20px 10px 20px 0;
		width: 200px;
		line-height: 1.3;
		font-weight: 600;
	  }
	}
  }
}

select.mptt-resize-vertical {
	resize: vertical;
	min-height: 4em;
}

.motopress-offer-primary {
	float: left;
	width: 60%;
}
.motopress-offer-secondary {
	float: right;
	width: 38%;
	max-width: 500px;
	margin-left: 2%;
	display: block;

	* {
		box-sizing: border-box;
	}

	.plugin-container {
		margin-bottom: 20px;
		
		.plugin-item {
			background-color: #fff;
			border: 1px solid #ddd;
			border-radius: 3px;
			margin: 0;
			
			.details {
				padding: 20px;
				img {
					border: 1px solid #eee;
					float: left;
					max-width: 96px;
					padding: 10px;
				}
				.plugin-name {
					margin: 0 0 10px 116px;
					font-size: 16px;
					font-weight: 700;
				}
				.plugin-description {
					margin: 0 0 0 116px;
				}
				&:after {
					display: table;
					clear: both;
					content: '';
				}
			}
			
			.actions {
				background-color: #f7f7f7;
				border-top: 1px solid #ddd;
				padding: 20px;
				.status {
					float: left;
					padding-top: 8px;

					.status-label {
						&.active {
							color: green;
						}
						&.inactive {
							color: red;
						}
						&.not-installed {
							color: grey;
						}
					}
					
				}
				.action-button {
					float: right;
				}
				&:after {
					display: table;
					clear: both;
					content: '';
				}
			}
		}
	}

	&:after {
		display: table;
		clear: both;
		content: '';
	}
}

@media screen and (max-width: 1200px) {
	.motopress-offer-primary,
	.motopress-offer-secondary {
		float: none;
		width: 100%;
		max-width: none;
		margin-left: 0;
	}
}