/* Fonts */

@font-face {
	font-family: 'wcsm-search-merchandising';
	src:  url('../fonts/wcsm-search-merchandising.eot?ysqyh');
	src:  url('../fonts/wcsm-search-merchandising.eot?ysqyh#iefix') format('embedded-opentype'),
		url('../fonts/wcsm-search-merchandising.ttf?ysqyh') format('truetype'),
		url('../fonts/wcsm-search-merchandising.woff?ysqyh') format('woff'),
		url('../fonts/wcsm-search-merchandising.svg?ysqyh#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}

/* Dashicons */

.dashicons-wcsm-search-merchandising:before {
	content: "\e900";
	font-family: 'wcsm-search-merchandising' !important;
	speak: never;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Dashboard */

.wcsm-search-merchandising #wcsm-search-merchandising-screen-width-notice {
	display: none;
}

@media (max-width: 1300px) { /* Ensure terms table can be horizontally scrolled on small screens */

	.wcsm-search-merchandising #wcsm-search-merchandising-screen-width-notice {
		display: block;
	}

}

.wcsm-search-merchandising-red {
	color: #d63638;
}

.wcsm-search-merchandising h1 {
	margin-bottom: 5px;
}

.wcsm-search-merchandising h1:before {
	float: right;
	color: #ffffff;
	background: rgb(255,0,52);
	background: linear-gradient(135deg, rgba(255,0,52,1) 0%, rgba(103,0,254,1) 100%);
	padding: 3px;
	border-radius: 100%;
}

.wcsm-search-merchandising h1 .button {
	margin-left: 10px;
}

#wcsm-search-merchandising-plan {
	float: right;
	font-size: 22px;
	text-align: right;
	color: #c3c3c3;
	margin: 2px 10px 0 0;
}

#wcsm-search-merchandising-saving {
	display: none;
	position: fixed;
	right: 20px;
	bottom: 20px;
	background: #ffffff;
	padding: 10px;
	border: 1px solid #cccccc;
	width: 100px;
	z-index: 1;
	text-align: center;
	font-size: 23px;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

#wcsm-search-merchandising-saving img {
	width: 15px;
	margin-left: 5px;
}

.wcsm-search-merchandising .nav-tab-wrapper input#wcsm-search-merchandising-dates {
	width: 180px;
}

.wcsm-search-merchandising .nav-tab-wrapper input:not(#wcsm-search-merchandising-dates) {
	width: 115px;
}

.wcsm-search-merchandising .nav-tab-wrapper div:nth-child(1) .nav-tab:last-of-type {
	margin-right: 10px;
}

.wcsm-search-merchandising .nav-tab-wrapper div:nth-child(1) .button {
	margin-left: 5px;
}

.wcsm-search-merchandising .nav-tab-wrapper div {
	float: left;
}

.wcsm-search-merchandising .nav-tab-wrapper div:nth-child(1) {
	width: 70%;
}

.wcsm-search-merchandising .nav-tab-wrapper div:nth-child(2) {
	text-align: right;
	width: 30%;
}

.wcsm-search-merchandising .nav-tab-wrapper div:nth-child(2) a {
	float: right;
	margin-left: 10px;
}

.wcsm-search-merchandising #wcsm-search-merchandising-settings {
	display: none;
	border: 1px solid #ccd0d4;
	padding: 20px;
	margin-bottom: 5px;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.wcsm-search-merchandising #wcsm-search-merchandising-settings .wcsm-search-merchandising-settings-title { /* Is a div and not a h1, h2, etc as notices get appended to first heading on page and therefore they would not be visible as within settings section */
	font-size: 23px;
	margin-bottom: 20px;
	color: #23282d;
}

.wcsm-search-merchandising #wcsm-search-merchandising-settings .wcsm-search-merchandising-settings-fields .wcsm-search-merchandising-settings-field {
	margin-bottom: 20px;
	border-bottom: 1px solid #ccd0d4;
	padding-bottom: 20px;
}

.wcsm-search-merchandising #wcsm-search-merchandising-settings .wcsm-search-merchandising-settings-fields .wcsm-search-merchandising-settings-field label {
	margin-right: 20px;
}

.wcsm-search-merchandising #wcsm-search-merchandising-settings .wcsm-search-merchandising-settings-fields .wcsm-search-merchandising-settings-field label input[type="number"] {
	margin-left: 20px;
	width: 80px;
}

.wcsm-search-merchandising #wcsm-search-merchandising-settings .wcsm-search-merchandising-settings-fields .wcsm-search-merchandising-settings-field legend {
	margin-bottom: 10px;
}

.wcsm-search-merchandising #wcsm-search-merchandising-settings .wcsm-search-merchandising-settings-buttons button {
	margin-right: 5px;
}

.wcsm-search-merchandising .wcsm-search-merchandising-pagination {
	background: #fff;
	padding: 5px 10px;
	border: 1px solid #ccd0d4;
	margin: 15px 0;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
	line-height: 1; /* Ensures nice height when pagination buttons are/are not displayed */
}

.wcsm-search-merchandising .wcsm-search-merchandising-pagination div {
	display: inline-block;
	vertical-align: middle;
	width: 50%;
}

.wcsm-search-merchandising .wcsm-search-merchandising-pagination-summary {
	text-align: left;
}

.wcsm-search-merchandising .wcsm-search-merchandising-pagination-pages {
	text-align: right;
}

.wcsm-search-merchandising table {
	margin-top: 15px;
}

.wcsm-search-merchandising table th {
	position: sticky;
	top: 32px;
	background-color: #ffffff;
	z-index: 1;
}

.wcsm-search-merchandising table tr td input,
.wcsm-search-merchandising table tr td select {
	width: 100%;
}

.wcsm-search-merchandising table tr td div:not(:last-of-type) {
	margin-bottom: 5px;
}

.wcsm-search-merchandising table tr td .wcsm-search-merchandising-search-term-redirect-save {
	display: none;
	margin-top: 10px;
}

.wcsm-search-merchandising .wcsm-search-merchandising-footer {
	margin-top: 15px;
}