#my-calendar legend {
	font-weight: 700;
	font-size: 1em
}

#my-calendar #wp-content-editor-tools {
	background: #fff;
}

.mcbuy, .follow-me {
	font-size: 1.1em;
	line-height: 1.5
}

.mcbuy a {
	font-weight: 700;
}

.mcd, .follow-me {
	text-align: center;
	margin: 0;
}

#cat_icon option {
	padding: 5px 0 5px 24px
}

#my-calendar-admin-table .delete {
	color: #c00
}

#my-calendar-admin-table th .active {
	font-weight: 700;
}


.import {
	background: #ffa;
	padding: 5px 10px;
	border: 1px solid #aaa;
	border-radius: 5px;
	margin: 15px 0
}

.n4 {
	width: 42px
}

.category-color {
	width: 1.2em;
	height: 1.2em;
	display: inline-block;
	border-radius: 3px;
	border: 1px solid #000
}

.active-link {
	font-weight: 700;
	text-decoration: underline
}

ul.links li {
	float: left;
	margin: 0 5px 10px;
	font-size: .9em
}

.my-calendar-admin .metabox-holder .postbox > h2 {
	font-size: 14px;
	padding: 8px 12px;
	margin: 0;
	line-height: 1.4;
}

.my-calendar-admin .CodeMirror {
	height: 600px;
}

#my-calendar-admin-table {
	margin-bottom: 1em;
}

#toggle {
	height: 2em
}

#toggle li {
	float: left;
	margin-right: 5px
}

span.mc-notice {
	padding: 5px;
	background: #ffc;
	border: 1px solid #900;
}

.my-calendar-admin .spam {
	background: #ffa
}

.my-calendar-admin fieldset fieldset {
	margin: 0 0 20px 0;
	padding-top: 2px
}

#mceditor {
	border: 1px solid #ddd;
	margin: 0 0 5px
}

.mc_template_tags dt {
	font-weight: 700
}

.mc_template_tags dd {
	margin-left: 0;
	padding: 2px 1px
}

.mc_template_tags {
	clear: right
}

.clonedInput {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ddd
}

#my-calendar .apply {
	padding: 1px 5px 0;
	margin: 0 -5px;
	border-radius: 3px;
	box-shadow: 2px 2px 3px #aaa;
	background: #ffe
}

#my-calendar .apply legend {
	padding: 2px 0
}

#my-calendar .apply .warning, #my-calendar .apply .matched {
	background: #ffc;
	color: #333;
	padding: 10px;
	border-bottom: 1px solid #a00;
	margin: 0 -5px 10px;
}

#my-calendar .apply .warning {
	border-bottom: 1px solid #a00;
}

#my-calendar .apply .matched {
	border-bottom: 1px solid #0a0;
}

#my-calendar .break ul {
	padding: 10px 10px 0;
	margin-right: 180px
}

#my-calendar .two-columns {
	-moz-column-count: 2;
	-moz-column-gap: 30px;
	-webkit-column-count: 2;
	-webkit-column-gap: 30px;
	column-count: 2;
	column-gap: 30px
}

.my-calendar-admin .event_image {
	float: right;
	margin-left: 10px;
}

.my-calendar-admin .event_image img {
	width: 150px;
	height: auto;
	margin: 2px 0;
	border-radius: 3px;
}

.mc_support {
	font-family: 'Courier New';
	background: #fff;
	padding: 5px
}

.template-editor, .style-editor {
	width: 98%
}

.my-calendar-admin .postbox {
	margin: 10px 10px 0 0
}

.my-calendar-admin .postbox.wptab {
	margin: 0 10px 0 0!important;
	border: 1px solid #e5e5e5;
}

.my-calendar-admin .postbox .inside {
	overflow: visible !important
}



/* some plugins change this, but I need it at WP default. */
.my-calendar-admin .meta-box-sortables {
	min-height: 0
}

.my-calendar-admin textarea {
	width: 100%
}

.my-calendar-admin .message pre, .my-calendar-admin li pre {
	background: #fff;
	padding: 5px;
	border: 1px solid #ddd;
	box-shadow: 1px 1px 2px #ddd
}

#mc-shortcodes textarea {
	background: rgba( 200,200,200, .1 );
	box-shadow: none;
	border: none;
	font-size: 1.2em;
}

.my-calendar-admin label span.required {
	font-size: .9em;
	color: #c33
}

.my-calendar-admin label .nomatch {
	font-style: italic;
	color: #b00;
	font-weight: 700;
}

.my-calendar-admin .default {
	background: #fff
}

.my-calendar-admin .button-adjust {
	top: 10px;
	right: 0
}

.my-calendar-admin hr {
	width: 20%;
	margin: 0 auto;
	border: none;
	border-top: 1px solid #ccc
}

#mc-shortcodes li code {
	display: inline-block
}

.my-calendar-admin .tablenav {
	float: right
}

input[id=e_label], input[id=e_title], input[id=location_label], textarea[id=mc_twitter] {
	font-size: 1.4em;
	padding: 9px;
	width: 100%;
	margin-bottom: .5em;
}

label[for=mc_twitter] {
	background: url(../images/twitter.png) left 50% no-repeat;
	padding-left: 20px;
}

strong.label {
	font-weight: 400;
}

#my-calendar-text label {
	display: inline-block;
	width: 12em;
}

.wp-picker-container {
	display: inline-block;
}

.picker-container {
	position: relative;
	display: inline-block;
}

.picker {
	min-width: 400px;
}

.wp-picker-holder {
	position: absolute;
	z-index: 10;
}

.picker__holder select {
	height: auto;
}

.picker-container .picker__list {
	padding: .75em 0 0;
}

.picker-container .picker__weekday {
	font-size: .9em;
	color: #333;
}

.picker-container .picker__holder .picker__button--today,
.picker-container .picker__holder .picker__button--close,
.picker-container .picker__holder .picker__button--clear {
	font-size: 1.1em;
	font-weight: 400;
	color: #444;
	padding: .5em 1em;
	margin: 0;
}

.picker-container #mc_event_endtime_root .picker__holder .picker__button--clear,
.picker-container #mc_event_time_root .picker__holder .picker__button--clear,
.picker-container #mc_event_endtime_root .picker__holder .picker__button--close,
.picker-container #mc_event_time_root .picker__holder .picker__button--close {
	width: 50% !important;
}

.picker-container #mc_event_endtime_root .picker__holder .picker__button--clear,
.picker-container #mc_event_time_root .picker__holder .picker__button--clear {
	float: left;
	text-transform: none;
}

.my-calendar-admin .counter {
	padding-right: 6px;
	border-right: 16px solid green;
	border-radius: 20px;
}

.my-calendar-admin .counter.warning {
	border-color: orange;
}

.my-calendar-admin .counter.exceeded {
	border-color: red;
}

.my-calendar-admin .button-primary:active {
	vertical-align: baseline;
}

.mc-categories th:nth-of-type(5), .mc-categories th:nth-of-type(6), .mc-categories th:nth-of-type(7) {
	width: 50px;
}

.mc-categories td img {
	vertical-align: bottom;
}

.jcd-wide {
	width: 75%;
}

.jcd-narrow {
	width: 20%;
}

#my-calendar-admin-table .row-actions {
	color: #666;
}

.mc-sidebar-footer .jcd-wide {
	width: 100%;
}

.mc-sidebar-footer .jcd-narrow {
	clear: both;
	width: 100%;
}

.mc-tabs .tabs {
	margin: 0 !important;
	padding: 0 4px;
	position: relative;
	top: 1px;
}

.mc-tabs .tabs li {
	display: inline;
	margin: 0 auto;
	line-height: 1;
	float: none;
}

.mc-tabs .tabs a {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 4px 4px 0 0;
	border: 1px solid #ccc;
	background: #f3f3f3;
}

.mc-tabs.settings .tabs a {
	padding: 8px;
	font-size: 1.2em;
}

.mc-tabs .tabs a.active {
	border-bottom: 1px solid #fefefe;
	background: #fefefe;
	text-decoration: none;
	cursor: text;
}

.mc-tabs .wptab {
	background: #fff;
	margin-bottom: 10px;
	border: 1px solid #ccc;
}

#mc-generator .mc-tabs .tabs a {
	padding: 8px 16px;
}

#mc-generator .mc-tabs .wptab {
	padding: 12px;
}

.js .wptab[aria-hidden=true], .wptab.initial-hidden {
	display: none;
}

.my-calendar-admin .ui-accordion-header, #mc-sortable li {
	border: 1px solid #ddd;
	background: rgba(0, 0, 0, .10);
	padding: .5em 1em;
	margin: 1px 0;
}

.mc-settings-page #mc-sortable .mc-updated,
.mc-generator #mc-sortable .mc-updated {
	background-color: #ffa;
}

#mc-sortable .mc-buttons {
	display: inline-block;
	width: 7em;
}

#mc-sortable li:nth-of-type(1) .mc-buttons .up, #mc-sortable li:nth-of-type(9) .mc-buttons .down {
	background: none;
	border: 1px solid transparent;
	color: rgba( 0,0,0,.4 );
}

.my-calendar-admin .ui-accordion-header.ui-state-hover, .ui-accordion-header.ui-state-focus, .mc-settings-page #mc-sortable li:hover {
	background: #f6f6f6;
	box-shadow: 0 0 2px #ddd;
}

#mc-sortable li {
	cursor: move;
}

input[name="mc_uri"] {
	width: 100%;
	padding: 5px;
	font-size: 1.4em;
}

#mc-generator .custom {
	background: #f6f6f6;
	padding: 1em;
}

.my-calendar-admin .ui-accordion-header-active {
	background: rgba(0, 0, 0, .05);
}

.my-calendar-admin .ui-accordion-header .dashicons:before {
	content: "\f132";
}

.my-calendar-admin .ui-accordion-header-active .dashicons:before {
	content: "\f460";
}

#mc-sortable .mc-calendar {
	background-color: #fff !important;
	border: 1px solid #777 !important;
}

#mc-sortable li.mc-stop {
	border-radius: none;
	background-color: #222;
	color: #eee;
}

#mc-sortable .mc-ui-state-highlight {
	background: #ffa !important;
	height: 1.6em;
}

#mc-sortable li.mc-stop.mc-updated {
	color: #000;
}

#mc-sortable li.mc-stop:hover {
	background-color: #000;
	color: #bbb;
}

#mc-sortable div.dashicons {
	vertical-align: middle;
	height: 1em;
}

#mc-sortable code {
	display: inline-block;
	width: 5em;
	text-align: center;
}

.my-calendar-admin .checkboxes {
	margin: 0;
}
.my-calendar-admin .checkboxes:after {
	content: '';
	display: table;
	clear: both;
	margin-bottom: 1em;
}

.mc_permissions {
	float: left;
	width: 33%;
	margin-bottom: 1em;
}

.my-calendar-admin .mc_permissions .checkboxes li {
	display: block;
}

.mc_permissions fieldset {
	padding: 1em;
}

.my-calendar-admin .checkboxes li {
	display: inline-block;
	padding: 5px;
	background: rgba(0, 0, 0, .05);
	margin: 2px;
}

.my-calendar-admin .checkboxes li:hover {
	background: #fff;
}

.mc-actions {
	vertical-align: middle;
	height: 30px;
	margin: 6px 0 4px;
	clear: both;
}

.my-calendar-admin fieldset legend {
	font-weight: 700;
	padding: 0;
	font-size: 1.1em;
}

.generator fieldset {
	border: 1px solid #ccc;
	margin: 10px 0;
	padding: 10px;
}

.generator label {
	display: block;
	float: left;
	width: 30%;
	margin-right: 10px;
}

.generator td input[type=text] {
	width: 100%;
}

.generator td label {
	float: none;
	width: auto;
	display: inline;
}

.generator .help, .generator .clear {
	clear: left;
}

.generator input {
	line-height: normal;
}

.generator input[type=text], .generator select {
	width: 60%;
}

select[name="event_recur"] {
	vertical-align: top;
}

.my-calendar-admin li.events_access_notes {
	padding: 0px 1px 1px 5px;
}

.req {
	color: red;
}

.mc-controls {
	text-align: right;
	margin: -10px 0 0;
	padding: .5em;
	background: rgba( 0,0,0,.05 );
	border-radius: 5px;
}

.mc-controls.footer {
	background: transparent;
	border-radius: 0;
	padding: 0;
	margin: 20px 0 0;
}

.mc-controls ul {
	margin: 0;
	padding: 0;
}

.mc-controls li {
	display: inline-block;
	padding: 0 10px 0 0;
	margin: 0;
}

.mc-controls .dashicons {
	margin-right: 2px;
}

.mc-locations label {
	display: block;
}

.mc-locations .checkboxes label, .checkbox label {
	display: inline;
}

.checkboxes li .variable-color {
	height: 1.75em;
	width: 1.75em;
	margin: 0 .25em;
	border-radius: 1.75em;
	vertical-align: middle;
	display: inline-block;
}

.locations-container {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.mc-locations:after {
	content: ' ';
	display: table;
	clear: both;
}

.mc-locations .locations-container input {
	max-width: 90%;
}

.mc-search {
	float: right;
}

.mc-admin-footer .mc-search {
	float: none;
}

.mc_add_new {
	position: relative;
	z-index: 200;
	padding: 1em;
	background: #fff;
	box-shadow: 0 0 3px #777;
}

.mc_add_new .clonedInput {
	border-bottom: none;
	margin-bottom: 0;
}

.mc-twitter {
	padding: .5em 1em;
	background: #213e7f;
	color: #fff;
	font-size: 1.1em;
}

.add-occurrence .dashicons:before {
	content: "\f132";
}

.my-calendar-admin .postbox .hndle {
	cursor: auto;
}

.save-occurrence {
	position: absolute;
	right: 1em;
	bottom: 1em;
}

.my-calendar-admin #wp-content-editor-tools {
	padding-top: 0;
}

.add-occurrence[aria-expanded^="true"] .dashicons:before {
	content: "\f460";
}

.template-description {
	font-weight: 700;
	font-size: 1.1em;
}

.postbox.sell {
	background: #fff;
	color: #000;
}

.sales {
	background: #e25822;
	color: #fff; 
	text-shadow: 1px 0 0 #000;
}

.my-calendar-admin .error .button-secondary {
	vertical-align: baseline;
}

.mc_response {
	padding: .5em;
	background: #ffa;
	color: #000;
	border: 1px solid burlywood;
}

tr.problem,
tr.invalid {
	background-color: #ffa;
}

tr.problem .error {
	color: #a00;
}

.mc_default {
	padding: 2px 8px 2px 2px;
	border-radius: 3px;
	background: #ffa;
	color: #333;
	border: 1px solid #888;
	float: right;
}

.problem-icon {
	font-size: 64px;
	float: left; 
	margin-right: .25em;
	height: 64px;
	width: 64px;
	display: block;
}

.event_time_label {
	display: inline-block;
	padding: .25em;
	background: #ffc;
}

#my-calendar .inside div iframe {
	float: none; 
}

.mc-support-me p {
	font-size: 1.6em;
	font-weight: 600;
	background: #007eb3;
	text-shadow: 1px 1px rgb( 35, 60, 127 );
	padding: 1em;
	text-align: center;
	margin: 0 0 1em;
}

.mc-support-me p, .mc-support-me a {
	color: #f3f3f3;
}

.wrap ul.list {
	list-style-type: disc;
	margin-left: 1.5em;
}

.mc-support-me a:hover, .mc-support-me a:focus {
	text-decoration: none !important;
	color: #fff !important;
}

.my-calendar-admin .mc-none {
	clear: both;
}


/**
 * Autocomplete CSS
 */
.autocomplete-input{position:relative;flex:1; width: 100%;font-size:1.1em}.autocomplete-input:focus,.autocomplete-input[aria-expanded=true]{border-color:rgba(0,0,0,.12);background-color:#fff;outline:none;box-shadow:0 2px 2px rgba(0,0,0,.16)}[data-position=below] .autocomplete-input[aria-expanded=true]{border-bottom-color:transparent;}[data-position=above] .autocomplete-input[aria-expanded=true]{border-top-color:transparent;z-index:2}.autocomplete[data-loading=true]:after{content:"";border:3px solid rgba(0,0,0,.12);border-right-color:rgba(0,0,0,.48);border-radius:100%;width:20px;height:20px;position:absolute;right:12px;top:50%;transform:translateY(-50%);animation:rotate 1s linear infinite}.autocomplete-result-list{margin:0;border:1px solid rgba(0,0,0,.12);padding:0;box-sizing:border-box;max-height:296px;overflow-y:auto;background:#fff;list-style:none;}[data-position=below] .autocomplete-result-list{margin-top:-1px;border-top-color:transparent}[data-position=above] .autocomplete-result-list{margin-bottom:-1px;border-bottom-color:transparent}.autocomplete-result-list li{margin:0}.autocomplete-result{cursor:default;padding:12px;background-repeat:no-repeat;background-position:12px}.autocomplete-result:hover,.autocomplete-result[aria-selected=true]{background-color:rgba(0,0,0,.06)}@keyframes rotate{0%{transform:translateY(-50%) rotate(0deg)}to{transform:translateY(-50%) rotate(359deg)}}

@media (max-width: 1140px) {
	.mc-locations .locations-container input {
		max-width: 70%;
	}
}

@media (max-width: 782px) {
	.my-calendar-admin .tablenav {
		float: none;
	}
	
	.mc_permissions {
		width: 50%;
	}

	.jcd-narrow {
		width: 100%;
	}

	.jcd-wide {
		width: 100%;
	}
}