/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

/* fixes ECP tooltips */
.main_color .tribe-events-tooltip .tribe-events-arrow { background: none; transform: none; bottom: -13px; }

.tribe-events-tooltip .tribe-events-arrow { background: none; width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 20px solid #fff; }

/* filter bar customizations */
#tribe-events #legend li { border-radius: 4px; }
#legend_box li:hover { opacity: .8; }
#tribe-events #legend_box { display: none !important; }
#tribe-events.category- #legend_box { display: block !important; }

/* === NOTE:  SEE "Appearance" > "Customize" for transparent nav bug fixes === */


/* ========== Tribe Mini Calendar Fixes */
.tribe-mini-calendar-wrapper {
width: 99%;
margin-left: 1px;
}

/* centers month title in space */
#tribe-mini-calendar-month-0 {
margin: 4px 0px 0px -30px!important;
padding: 0!important;
}

/* left arrow */
a.tribe-mini-calendar-nav-link.prev-month {
float: left!important;
}

/* right arrow */
/* a.tribe-mini-calendar-nav-link.next-month + span {
margin-top: -17px;
} */

a.tribe-mini-calendar-nav-link.next-month {
float: right !important;
margin: 0px 0 0 0 !important;
}

/* Makes Titles White in Mini Calendar */
.tribe-mini-calendar-event .tribe-events-title {
color: #FFF!important;
}

/* ========== Attempt to fix 'View As' drop down is always OPEN */
@media (min-width: 700px) {
    #tribe-events-content-wrapper #tribe-bar-form.tribe-bar-collapse #tribe-bar-views + .tribe-bar-filters {
        display: block !important;
    }
}

/* ========== Attempt to fix 'View as' drop down spacing */
#tribe-bar-views .tribe-bar-views-list {
border-radius: 0 0 3px 3px;
left: 0;
list-style-type: none;
margin: 0;
padding: 0 0 0 0px !important; /* was 0 0 0 5px */
position: absolute;
top: auto;
z-index: 99;
}

#tribe-bar-views li.tribe-bar-views-option { display: block !important; }

.tribe-bar-filters .tribe-bar-search-filter { margin-left: 0 !important; }
.tribe-bar-filters .tribe-bar-filters-inner .tribe-bar-geoloc-filter { padding: 15px; }
.tribe-bar-filters .tribe-bar-submit { clear: both; }

@media (max-width: 1024px) {
	.tribe-bar-filters .tribe-bar-filters-inner .tribe-bar-geoloc-filter  { padding: 10px;  }
	#tribe-bar-form.tribe-bar-mini .tribe-bar-submit { margin-left: 0; }
}

@media (max-width: 844px) {
	.tribe-bar-filters .tribe-bar-filters-inner .tribe-bar-geoloc-filter { padding: 10px 0; }
}

#tribe-events-footer .tribe-events-sub-nav { display: block !important; margin-top: 1em !important; }

/* ------------------------------------------------------------ *\
	cn search
\* ------------------------------------------------------------ */

#cn-clear-search-button { background: #077e85; }

#cn-customizer-messages,
#cn-search-messages { padding-bottom: 20px; border-left-color: #077e85; }

/* ------------------------------------------------------------ *\
	Connections Cmap Template Styles
\* ------------------------------------------------------------ */

#cn-cmap .cn-entry { background: #fff !important; font-size: 15px !important; }
#cn-cmap span.cn-image-style { background: #fff !important; }

#cn-cmap .cn-entry a { color: #c3512f !important; }
#cn-cmap .cn-entry.cn-background-shadow { box-shadow: none !important; }

#cn-cmap .cn-left { width: 49% !important; }

#cn-cmap .cn-category-select,
#cn-cmap form.cn-form select.cn-category-select { width: 40% !important; min-width: unset !important; }
#cn-cmap .cn-search { width: 40% !important; }
#cn-cmap #cn-search-input { width: 78% !important; }
#cn-cmap .chosen-container .chosen-single { height: 28px !important; background: #e3e3e3 !important; }
#cn-cmap .chosen-container-single .chosen-search,
#cn-cmap .chosen-container-single .chosen-drop { background: #e3e3e3 !important; }
#cn-cmap .chosen-container-single .chosen-search .chosen-search-input { background: #fff !important; }

.main_color .chosen-results { background-color: transparent; }

#cn-cmap .cn-alphaindex { text-align: left !important; }

#cn-cmap .cn-list-row h3 .fn,
#cn-cmap .cn-list-row-alternate h3 .fn { color: #c3512f !important; font-size: 19px !important; font-family: inherit !important; }

#cn-cmap .cn-list-row h3 .fn:hover,
#cn-cmap .cn-list-row-alternate h3 .fn:hover { color: #fc895b !important; text-decoration: underline !important; }

#cn-cmap .cn-search #cn-search-input { background-color: #e3e3e3 !important; }

.cn-template.cn-cmap .cn-list-head { display: flex; flex-wrap: wrap; }
.cn-template.cn-cmap .cn-list-head .cn-form { width: 100%; margin-bottom: 0 !important; }
.cn-template.cn-cmap .cn-list-head .cn-alphaindex { order: -1; margin-bottom: 15px !important; }
.cn-template.cn-cmap .cn-list-head #cn-search-messages { width: 100%; margin: 10px 0 20px; }

@media (max-width: 768px) {
	#cn-cmap .cn-left .cn-image-style .cn-image { height: auto !important; }
	#cn-cmap form.cn-form select.cn-category-select { width: 100% !important; }
	#cn-cmap .cn-category-select { width: 100% !important; }
	#cn-cmap .cn-search { width: 100% !important; }
	#cn-cmap #cn-search-input { width: calc( 100% - 32px ) !important; }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
    #cn-list .chosen-container-single .chosen-search input[type="text"] { background-image: none !important; }
}

/* ------------------------------------------------------------ *\
	cn-char
\* ------------------------------------------------------------ */

.main_color .cn-char-current { text-decoration: underline; color: #676767; }
