// plugin styles
#general_tab {
	display: block;
}

.ysm-postbox {
	position: relative;
	min-width: 255px;
	border: 1px solid #c3c4c7;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
	background: #fff;
	padding: 0;
	line-height: 1;

	.ysm-inside {
		margin: 11px 0;
		position: relative;
		padding: 25px 25px;
		line-height: 1.4;
		font-size: 14px;
		text-align: center;

		.description {
			font-size: 14px;
			color: inherit;
		}

		.repeater-add {
			margin-left: 0;
		}
	}

	.ysm-stop-words-holder {
		.repeater-holder {
			max-width: 400px;
			margin: 15px auto 25px;
		}
	}

	.ysm-synonyms-holder {
		.repeater-holder {
			max-width: 800px;
			margin: 15px auto 25px;
		}

		&__option {
			margin-bottom: 40px;
			font-size: 18px;
			input {
				opacity: 0;
			}

			input[type=checkbox].ymapp-switcher+label {
				padding-top: 2px;
			}
		}
	}
}

.ysm-widget-edit-settings,
.ysm-widget-edit-constructor {
	margin-top: 15px;
	margin-bottom: 15px;
}

.ysm-widget-edit-settings h2.hndle,
.ysm-widget-edit-constructor h2.hndle {
	font-size: 20px;
	padding: 8px 12px;
	margin: 0;
	line-height: 1.6;
}

.ysm-widget-edit-settings .form-table th {
	padding-top: 30px;
	padding-bottom: 30px;
	text-transform: capitalize;
}

.ysm-column-container {
	width: 46%;
	float: left;
	padding: 0 2px;
}

/**
 * Widgets List
 */
.ysm-widgets-list {
	border: 1px solid #ccc;
	margin-top: 25px;
}

.ysm-widgets-list .dashicons-admin-page:before,
.ysm-widgets-list .dashicons-trash:before {
	color: #555;
	font-size: 24px;
}

.ysm-widgets-list .dashicons-trash:before {
	color: red;
}

.ysm-widget-duplicate,
.ysm-widget-remove {
	margin-left: 20px;
}

.ysm-widgets-list table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0px;
}

.ysm-widgets-list td {
	border-bottom: 1px solid #ccc;
	height: 40px;
	padding-left: 10px;
	padding-right: 10px;
	vertical-align: middle;
	text-align: center;
}

.ysm-widgets-list thead {
	background: #f9f9f9;
}

.ysm-widgets-list tbody {
	background: #fff;
}

.ysm-widgets-list a {
	text-decoration: none;
	font-size: 14px;
}

.ysm-loader {
	background: url("../../images/loader1.gif") no-repeat 50% 50%;
}

h2.ysm-widgets-title {
	padding: 16px 30px;
	margin-top: 20px;
	font-size: 18px;
	background: #fff;
	border-bottom: 1px solid #fff;
}

/**
 * Edit widget
 */
.ysm-widget-edit-title-wrap > input {
	width: 450px;
	max-width: 100%;
	margin: 5px 0 1em 0;
	height: 45px;
	font-size: 18px;
	font-weight: 600;
	padding: 0 30px;
}

/**
 * Widget Fields
 */

.ysm-widget-fields-wrapper {
	float: left;
	width: 20%;
	margin: 15px 2%;
	border: 1px solid #e0e0e0;
	min-height: 150px;
}


/**
 * Toggles
 */

.ysm-row-toggle {
	width: 30px;
	position: absolute;
	right: 0;
	top: 0;
	color: #777;
	cursor: pointer;
	text-align: center;
}

.ysm-row-toggle:before {
	content: "\f142";
	display: inline-block;
	font: normal 20px/1 dashicons;
	margin-top: 2px;
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.ysm-row.closed .ysm-row-toggle:before {
	content: "\f140";
}

.ysm-row-toggle:hover {
	color: #444;
}

#stopwords_tab .repeater-holder {
	max-width: 400px;
}

#toplevel_page_smart-search a[href="admin.php?page=smart-search-pro-trial"] {
	color: #eb2727;
	font-weight: bold;
}

@media only screen and (max-width: 960px) {

	.ysm-column-container {
		width: 100% !important;
	}

}


@media only screen and (max-width: 782px) {

	.ysm-row-actions-bar {
		height: 35px;
	}

	.ysm-row-actions-buttons > a > span {
		height: 35px;
		width: 40px;
		font-size: 30px;
	}

	.ysm-column-container {
		width: 100%;
	}

	hr { display: none; }

	.ysm-rows-wrapper,
	.ysm-widget-fields-wrapper {
		float: none;
		width: 100%;
	}

}

.sws-page-description {
	margin: 30px;
}

.ymapp-settings__content .field-updated {
	opacity: 0;
	color: green;
	padding: 1px 12px;
	display: inline;
	margin-left: 20px;
	border: 1px solid #c3c4c7;
	border-left-width: 4px;
	border-left-color: #00a32a;
}
