/*
Theme Name: My Listing
Theme URI: https://mylistingtheme.com/
Author: 27collective
Author URI: http://27collective.net/
Description: MyListing - Directory & Listing WordPress Theme
Version: 2.16
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-listing
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, grid-layout, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool.
*/

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

.sticky, .bypostauthor, .gallery-caption { font-size: 14px; }


/* --- MEC calendar overflow fix (stack calendar + day-events panel vertically
   inside narrow listing description column, preventing overlap with content
   that follows, e.g. Gallery) --- */
.mec-wrap {
	max-width: 100% !important;
	overflow: visible;
}
.mec-calendar-side,
.mec-calendar-events-side {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
}
.mec-month-side {
	width: 100% !important;
	max-width: 100% !important;
}
.mec-calendar-events-side {
	margin-top: 20px;
	border-top: 1px solid #eee;
	padding-top: 15px;
	position: relative;
	z-index: 2;
}


/* --- MEC calendar column-alignment fix: header row (weekday labels) and the
   day-grid rows used different fixed pixel widths (80px vs 50px), which
   drifted out of alignment once the surrounding column was narrowed. Force
   both to use matching, responsive percentage-based columns. --- */
.mec-calendar-table-head,
.mec-calendar-table {
	width: 100% !important;
	table-layout: fixed;
}
.mec-calendar-table-head,
.mec-calendar-row {
	display: table !important;
	table-layout: fixed !important;
	width: 100% !important;
}
.mec-calendar-day-head,
.mec-calendar-row .mec-calendar-day,
.mec-calendar-row .mec-table-nullday {
	width: 14.2857% !important;
	box-sizing: border-box !important;
}
