/*
Theme Name: LetsGoOutside.org
Theme URI: http://letsgooutside.org
Author: Irvine Ranch Conservancy
Author URI: http://irconservancy.org/
Description: Theme for LetsGoOutside.org, the Irvine Ranch Natural Landmarks website.
Version: 1.0
*/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
	color: #222;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.4;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0 1.5em;
    padding: 0;
}

/* Text elements */
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none; /* Remove text-shadow in selection highlight: h5bp.com/i */
}

p {
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
	vertical-align: middle; /* Remove the gap between images and the bottom of their containers: h5bp.com/i/440 */
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
	resize: vertical; /* Allow only vertical resizing of textareas */
}

/* Links */
a {
	color: royalblue;
}
a:visited {
	color: purple;
}
a:hover,
a:focus,
a:active {
	color: midnightblue;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em !important;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em !important;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.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-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 */
}

/* Clearing */
.clear:before,
.clear:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
	content: '';
	display: table;
}

.clear:after,
[class*="content"]:after,
[class*="site"]:after {
	clear: both;
}

.clear {
    *zoom: 1; /* For IE 6/7 only: trigger hasLayout and contain floats. */
}


/* =Menu
----------------------------------------------- */

/*.navigation-main {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}*/
.navigation-main ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.navigation-main li {
	float: left;
	position: relative;
}
.navigation-main a {
	display: block;
	text-decoration: none;
}
.navigation-main ul ul {
	/*box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);*/
	display: none;
	/*float: left;
	position: absolute;
		top: 1.5em;
		left: 0;
	z-index: 99999;*/
}
.navigation-main ul ul ul {
	left: 100%;
	top: 0;
}
/*.navigation-main ul ul a {
	width: 200px;
}*/
.navigation-main ul ul li {
}
.navigation-main li:hover > a {
}
.navigation-main ul ul :hover > a {
}
.navigation-main ul ul a:hover {
}
.navigation-main ul li:hover > ul {
	display: block;
}
.navigation-main li.current_page_item a,
.navigation-main li.current-menu-item a {
}

/* Small menu */
.menu-toggle {
	display: none;
	cursor: pointer;
}

.main-small-navigation ul {
	display: none;
}

@media screen and (max-width: 600px) {
	.menu-toggle,
	.main-small-navigation ul.nav-menu.toggled-on {
		display: block;
	}

	.navigation-main ul {
		display: none;
	}
}

/* =Content
----------------------------------------------- */

.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-content .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-content .gallery dd {
	margin: 0;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =Navigation
----------------------------------------------- */

.site-content [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .nav-previous {
	float: left;
	width: 50%;
}
[class*="navigation"] .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* =Comments
----------------------------------------------- */

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/* =Widgets
----------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .submit {
	display: none;
}

/* =Infinite Scroll
----------------------------------------------- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .navigation-paging, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/* Email Signup Callout */
body.home #subnav {
    display:flex;
}
body.home #subnav form {
    margin-right:0 !important
}
body.home #emma-form {
    flex-basis:49%;
}
body.home .opt-in-callout {
    display:flex;
    justify-content:center;
    align-items:baseline;
    color:white;
}
body.home .opt-in-callout span {
    margin-bottom:0; /* flex will position this vertically */
    text-align:right;
    line-height:1.3;
    display:inline-block;
    padding:.5em;
    background-color: rgba(0,0,0,0.65);
    border-radius: 6px;
    margin-top: 2px;
}

@media (max-width: 1024px) {
    body.home #subnav {
        background-image:none !important;
        background-color:#532f0b;
        flex-direction:column;
        height:max-content;
        padding:1.5rem 1rem;
    }
    body.home #subnav form {
        margin:0 !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
 
    body.home .emma-form {
        display:flex;
        justify-content:center;
        margin-bottom:.5rem;
    }
    body.home #subnav .gform_wrapper {
        margin:1em auto !important;
    }
}

@media (max-width: 767px) {
    body.home .opt-in-callout span {
        text-align:center;
        font-size:.9em;
    }
    body.home #gform_9 .gform_body li,
    body.home #gform_9 .gform_body li input,
    body.home #subnav .gform_footer {
        width:100% !important;
        margin-bottom:0.5rem;
        padding:.25rem .4rem;
    } 
    body.home #gform_9 .gform_body li {
        margin-right:0 !important;
    }
    body.home #gform_9 input[type='submit']{
        padding:0.25rem !important;
    }
    body.home #emma-form {
        display:block !important;
        margin-bottom:1rem;
    }
}

/* Calendar Showing at bottom of page fix */

.ui-datepicker {
	display:none;
}

/* EM */
.em.pixelbones .em-booking-form-details p {
	margin-bottom : 0 !important;
}
.em.em-event-booking-form .em-tickets .em-ticket-bookings, .em.em-event-booking-form .em-tickets .em-ticket-select, .em.em-event-booking-form .em-tickets.em-tickets-single {
	margin: 0 !important;
}

.em.em-event-booking-form .em-booking-form .input-user-field, .em.em-event-booking-form .em-booking-form .input-group, .em.em-event-booking-form .em-booking-form .input-type {
	margin-bottom: 15px !important;
}

.em.em-event-booking-form .em-booking-form .input-user-field:last-child, .em.em-event-booking-form .em-booking-form .input-group:last-child, .em.em-event-booking-form .em-booking-form .input-type:last-child {
	margin-bottom : 25px !important;
}

.em.pixelbones.em-event-booking-form  input.em-booking-submit {
	display: block !important;
	background-color: #26a9e0 !important;
	color: #fff !important;
	font-size: 1.1em !important;
	border: 1px solid #ccc !important;
	border-color: #ccc #ccc #bbb #ccc !important;
	border-radius: 3px !important;
}
.em.pixelbones.em-event-booking-form  input.em-booking-submit:hover {
	color : #fff !important;
	border: 1px solid #ccc !important;
	font-size: 1.1em !important;
}






/* Events - Global Styles */

.em.pixelbones .event-title a
{
  color: #ffffff !important;
  background-color:inherit !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.em.pixelbones a.button {
     color: #ffffff !important;
  background-color:#26a9e0 !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
}

.em.pixelbones a.button .icon-arrow-right:hover {
color: #fff !important;
}


/* Events List */

.em-events-list .event-description {
    padding-right: 30px !important;
}

.em-events-list .event-description a {
    text-decoration: underline !important;
}

.event-thumb img
{
  border: #3d3d3b solid 4px !important;
}


/* Events Grid */


.em-events-grid .em-event-location,
.em-events-grid .em-event-prices{
    display: none !important;
    
}


/* Search Area */


.search-heading {
    display: block;
    background: #542e06;
    color: #ffffff !important;
    padding: 10px 15px;
    margin-bottom: 0px !important;
    border-radius: 4px 4px 0px 0px !important;
    letter-spacing: 0px !important;
}


.em.em-search {
    background-color: #fff !important;
    border-radius: 0px 0px 4px 4px !important;
    padding: 20px !important;
    box-shadow: 0 0px 4px -1px rgba(0, 0, 0, 0.1) !important;
    margin-top: 0px !important;
}

.em.pixelbones .found-events-count {
}

.found-events-count span {
    background: #e6e3dc;
    border: 1px solid #d1cfca;
    display: inline-block;
    padding: 3px 10px;
    color: #555;
    font-size: 14px;
}

.em-search-advanced-sections {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap onto multiple lines */
    gap: 10px;
}


.em.em-search-advanced .em-search-advanced-sections.em-search-advanced-style-headings > section.em-search-advanced-section {
  flex: 1 1 20%; /* Grow, shrink, and take the initial width */
}

.em.em-search-advanced .em-search-section-extras {
  flex-basis: 100% !important; /* Make the last child take up 100% width */
}

.em.em-search-advanced .em-search-section-extras .em-search-section-content {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap onto multiple lines */
  gap: 25px;
}

.em.em-search-advanced .em-search-section-extras label {
    display:unset !important;
}

.em.em-search-advanced .em-search-section-extras label:first-child {
  margin-left: calc(-25px); /* Half of the gap size */
}


.em.em-search .em-search-main.em-search-main-bar > .em-search-field:not(:first-child) input {
    border-radius: 4px !important;
}

.em.em-search.has-search-main .em-search-main.em-search-main-bar > .em-search-field input,
.em.em-search.has-search-main .em-search-main.em-search-main-bar > .em-search-field select,
.em .selectize-control.em-selectize.multidropdown {
  background-color: rgba(244,244,244,.5) !important;
}

body .em.pixelbones{ --accent-color:#542e06;--accent-color-hover:#000; }

button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover,
button:focus, html input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, html input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active {
  box-shadow: unset !important;
}


@media (max-width: 880px) {
.em.em-search.size-medium .hide-medium {
  display:unset !important;
  visibility:unset !important;
}
}

@media (max-width: 679px) {
.em.em-search.size-small .hide-small {
  display:unset !important;
  visibility:unset !important;
}
}

@media (max-width: 880px) {
    .em.em-search.has-search-main .em-search-main.em-search-main-bar > .em-search-field {
      margin-left:unset !important;
        margin-bottom: 15px !important;
        padding-bottom: 0px;
        
    }
    
    .em.em-search.size-medium.multi-line .em-search-main-bar .em-search-field {
      padding-bottom: 0px;
    }
    
    .em.em-search-advanced .em-search-advanced-sections.em-search-advanced-style-headings > section.em-search-advanced-section {
      flex: 1 1 48%;
    }
    .em.em-search-advanced .em-search-section-extras .em-search-section-content {
        display: block !important;
        padding: 0px 0px 20px;

    }
    .em.em-search-advanced .em-search-section-extras label:first-child {
      margin-left:unset;
    }
    .em.em-search-advanced .em-search-section-extras label {
      display:inline-block !important;
        width: 100%;
    }
}


@media (max-width: 480px) {
    .em.em-search.has-search-main .em-search-main.em-search-main-bar > .em-search-field {
        margin-bottom: 15px !important;
    }
    
    .em.em-search-advanced .em-search-advanced-sections.em-search-advanced-style-headings > section.em-search-advanced-section {
      flex: 1 1 100%;
    }
    .em.em-search-advanced .em-search-section-extras label {
      display:inline-block !important;
        width: 100%;
    }
}



@media (max-width: 880px) {
    #em-search-form-1 {
        position: relative;
        padding-bottom: 40px !important;
    }

    .em-search-advanced-trigger {
        position: absolute;
        bottom: 2px;
        left:5px;
        z-index: 2;
        padding-left: 0px !important;
    }
    
    .em-search-sort {
        position: absolute;
        bottom: 4px;
        left:54px;
        z-index: 2;
    }
    
    .em-search-views {
        position: absolute;
        bottom: 4px;
        left:100px;
        z-index: 2;
    }
    
    .em-search-submit {
        position: absolute;
        bottom: 0px;
        right: 0px;
        width: calc(100% - 185px);
    }
    
    
    footer.em-submit-section {
        position: absolute;
        bottom: 60px;
        left: 0px;
    }
    
    footer .button-primary {
        display: none !important;
    }
    
    .em-search-submit {
        position: absolute;
        bottom: 0px;
        right: 0px;
    }
    
    .em.em-search.has-search-main .em-search-advanced-inline {
      margin-top: -5px !important;
    }
    
    #em-search-advanced-1 {
        position: relative;
        padding-bottom: 40px;
    }
    
    .em.em-search-advanced.em-search-advanced-inline footer {
      z-index: 2;
      position:absolute;
        bottom: 0px;
        left: 0px;
        right: 0px;
    }
    
        .em.em-search-advanced.em-search-advanced-inline footer div {
            width: 100%;
    }
    
    .em.em-search-advanced.em-search-advanced-inline footer div .button-secondary {
        margin-bottom: 0px !important;
        width: 100%;
    }
    
       .em.em-search-advanced.em-search-advanced-inline footer {
      z-index: 2;
      position:absolute;
        bottom: 0px;
        left: 0px;
        right: 0px;
           width: 100%;
    }
    
    
}




/* Grid Search Results */

.em.em-list.em-grid > div.em-item .em-item-info,
.em.em-list.em-grid > div.em-item
{
    background: #fff !important;
}


/* Calendar */
.em-calendar-preview .em-event-location {
    display: none !important;
}

.em .em-bookings-table .table-wrap tr.loading .check-column input, .em.em-calendar .em-cal-nav .month-nav .em-calnav-today.is-today {
  opacity:1.0!important;
    background: #fff !important;
}

.button, .register {
  text-shadow:unset !important;
}





/* Modal */



.em-modal-popup .event-header {
    padding-left: 0px !important;
}

.em.em-modal .em-modal-popup header {
  border-bottom:none !important;
}


.em-modal-popup .em-modal-title {
    display: none !important;
}

.em-modal-popup .event-description {
    padding-left: 20px;
    padding-right: 30px !important;
}

.em-modal-popup .event-thumb {
}

.em-modal-popup .event-description {

  width: 80%;
}

.em-modal-popup .event-meta {
    width: 100%;
}

.em.em-modal .em-modal-popup header a.em-close-modal {
  right: 15px !important;
}






