/*
 Theme Name:   Sierra County Tourism
 Theme URI:    https://generatepress.com
 Description:  Sierra County Tourism Custom Theme (child of GP)
 Author:       Ruanna Waldrum
 Author URI:   https://readywebservice.com
 Template:     generatepress
 Version:      0.1
*/

/* moved from wpcodebox due to need to occasionally disable */
/*  kvd starter site */
/* Set the main content area to a minimum of 65vh */
#main {min-height: 65vh;}
body {background-color: var(--outside-container);}
/* Site Wrapper to set overall site max width  */
.site-wrapper {width: 100%; max-width: 1920px; background-color: var(--body);}

/* HELPER CLASSES */
/* Standard Shadow(s) */
.shadow-standard {box-shadow: 0px 5px 16px -5px rgba(33, 33, 33, 0.2); transition: all .2s ease-in;}
.shadow-standard:hover {box-shadow: 0px 8px 32px 0px rgba(33, 33, 33, 0.1);}
/* Max Width(s) */
.max-width-1024 {max-width: 1024px;}
.max-width-768 {max-width: 768px;}
.max-width-640 {max-width: 640px;}
.max-width-480 {max-width: 480px;}
/* Margin Auto */
.margin-auto{margin-left: auto; margin-right: auto;}
/* Position Properties */
.relative {position: relative;}
.absolute {position:absolute; top: 0px; left: 0px;}
.sticky {position: sticky; top: 24px;}
/* Image Aspect Ratios */
.aspect-1-1, .aspect-1-1 img {aspect-ratio: 1/1; object-fit: cover;}
.aspect-3-2 img {aspect-ratio: 3/2; object-fit: cover;}
.aspect-2-3, .aspect-2-3 img {aspect-ratio: 2/3; object-fit: cover;}
.aspect-4-3, .aspect-4-3 img {aspect-ratio: 4/3; object-fit: cover;}
.aspect-3-4, .aspect-3-4 img {aspect-ratio: 3/4; object-fit: cover;}
.aspect-16-9, .aspect-16-9 img {aspect-ratio: 16/9; object-fit: cover;}
.aspect-9-16, .aspect-9-16 img {aspect-ratio: 9/16; object-fit: cover;}
/* END kvd starter site */

/* sticky sidebar - not used */
.sticky-container > .gb-inside-container {height: 100%;}
.sticky-element {position: sticky; position: -webkit-sticky; top: 248px;}

/* horizontal scroll */
.horizontal-scroll {flex-wrap:nowrap; overflow-x: auto;}
/* accent lines - set layout to flex */
.accent-lines::before, .accent-lines::after {content: ''; width: 30%; border-bottom: 2px solid #d1d1d1; margin:auto}
.accent-lines::before {margin-right: .25em;}
.accent-lines::after {margin-left: .25em;}

/* rws usuals */
.centertext {text-align:center; margin:0 auto;}
.centertext img {margin:0 auto; text-align:center}
.spb4 {margin-top: 1em;}
.clearboth {clear:both}
.fleft {float:left;}
.fright {float:right;}
.small {font-size: 0.9em;}
.indent {padding-left: 2%}
.fff {color:#fcf8ef;}
.fff a {color:#fcf8ef;}
a.fff {color:#fcf8ef;}
.hide {display:none}
.fullimg img {width: 100%;}
.fullimg {width: 100%;}
.last-p {margin-bottom:0; padding-bottom:0}
.hide {display:none}
.underline-oppo a:link {text-decoration:none}
.underline-oppo a:hover {text-decoration:underline}
.nounderline a {text-decoration:none !important}
a.nounderline {text-decoration:none !important}
blockquote {font-size:1em}
.psinglespace {margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0}

/* blog - show updated if taxonomy is checked 
.gb-text-1f10bb42:not(.placement-updated-blog) {
    display: none;
}*/
/* double indented li list */
.doubleli ul li {list-style: none}
.doubleli ul li::before {content: "—"; padding-right: 4px; color: #4d4d4d}

/* figcaption unde youtube video Lake Valley - may modifyt other captions */
.wp-element-caption {font-size:.9rem}

/* short term rentals gravity form GF */
#gform_2 label {font-size:1.3rem;}

/* NOT USED due to all springs allowing walkins - hot springs no walkins button color */
.post-term-lodgers-only, .post-term-lodgers-only:hover {background: #ececec}

/* user login for event entry */
.protected-content {display: none !important;}
.logged-in .protected-content {display: block !important;}
.logged-in .protected-logged-in {display: none !important;}

/* party spots - hide water, tea and soft drinks beverage type */
.wpgb-content-mood .post-term-tea-soft-drinks, .wpgb-content-mood .post-term-bottled-water {display:none}

/* PIE CALENDAR */ 
/*force line wrap */
.piecal-wrapper .fc-event {white-space: normal;}
/* today */
.piecal-wrapper .fc .fc-daygrid-day.fc-day-today {background-color: rgba(203, 231, 245, 0.34);}
/* popup */
.piecal-popover__inner {font-family:'Barlow', 'Arial Narrow', Arial, sans-serif}
.piecal-popover__title {font-size:1.8rem}
/* close button - X - outside color comes from event color */
.piecal-wrapper .piecal-popover__close-button::before {background: #fff;}
.piecal-wrapper .piecal-popover__close-button::after {background: #fff;}
.piecal-wrapper hr {
    margin-bottom: 20px;
    margin-top: 20px;
}

/* space after gallery block */
.wp-block-gallery {margin-bottom: 1.4em}
/* space after image */
.wp-block-image {margin-bottom: 1.4em}

/* hide down arrow on menu 
.icon-arrow {display:none}*/

/* hide page-header title on search */
.search .page-header {display:none}

/* error 404 search label */
.error404 .wp-block-search__label {margin-left: 25%; }

/* home page remove footer margin */
.home .site-footer .gb-container {margin-top:0}

/* wp grid builder buttons - used on towns */
.wpgb-facet .wpgb-button {border-radius:0 !important;}

/* hide facet title on events */
.wpgb-facet-49 .wpgb-facet-title  {display:none;}

/* events */
/* hide inactive events on category archives  */
.gb-grid-wrapper-01436912 .event-status-inactive {display: none;}
/* custom fields on events - needed? */
/*.custom-event .indent, .custom-event p.indent  {margin:0;padding:0 0 0 1.4em;}
.custom-event ul.indent li {margin:0 0 0 1.8em; list-style:none}*/
/* fix gallery display / unstack images on events */
/*.single-event_listing figure.wp-block-gallery.has-nested-images {
	display: flex; 
  justify-content: space-between; 
  flex-wrap: wrap; 
}
.single-event_listing figure.wp-block-gallery.has-nested-images img {padding:8px}*/
/* hotels - show and hide distance to visitor center based on location */
.is-torc .distance-to-vc {display:block;}
.isnt-torc .distance-to-vc {display:none;}

/* highlight directions block on anchor tag*/
.page-id-89 :target {
    border: 8px solid #FFD23F;
    border-radius: 1px;
    color: #fff !important;
    background-color: #FFFCF0;
    padding: 1em .5em 1.5em .5em;
    box-shadow: 5px 10px 8px #cecece;
}

.enlarge-social-icon-container {
  transition: transform 0.7s ease;}
.enlarge-social-icon-container:hover {
  transform: scale(1.08);}
  
/* contain width in wp editor back end  meeting_venue  rv-park restaurant business */
/* Post Editor Width 
 .post-type-post .block-editor-block-list__layout, .post-type-page .block-editor-block-list__layout, .post-type-things-to-do .block-editor-block-list__layout, .post-type-place-to-visit .block-editor-block-list__layout, .post-type-lodging .block-editor-block-list__layout {
    max-width: 728px;
    margin-inline: auto;
}
/* Post Title Width 
.post-type-post .edit-post-visual-editor__post-title-wrapper .editor-post-title, .post-type-page .edit-post-visual-editor__post-title-wrapper .editor-post-title, .post-type-things-to-do .edit-post-visual-editor__post-title-wrapper .editor-post-title,  .post-type-place-to-visit .edit-post-visual-editor__post-title-wrapper .editor-post-title, .post-type-lodging .edit-post-visual-editor__post-title-wrapper .editor-post-title {
	max-width: 728px;
    margin-inline: auto;
}

#event_filters {display: none;}*/ 

/*** MEDIA QUERIES  ***/
/* Q1 Smartphones (portrait and landscape) ----------- */
@media only screen
 and (min-device-width : 320px)
 and (max-device-width : 480px) {
/* Custom CSS */
 .site-header .header-image {width:100px; display:none}
 .site-logo {
        display:none;
     } 
}

@media(max-width: 768px) {
   .site-logo {
        display:none;
     } 
}

/* hide back to on mobile */
@media (max-width: 768px) {
    .generate-back-to-top {
        display: none;
    }
}
