/*
 Theme Name:   Holiday Camplands Association Theme
 Template:     generatepress
 Description:  Custom GP child theme for Holiday Camplands Association Member-only Site
 Author:       The Write Design LLC
 Author URI:   https://TheWriteDesign.net
 Version:      1.0.0
*/

/*make footer stick on short pages */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container.grid-container {
    width: 100%;
}
.site-footer {
    margin-top: 0 !important;
}


.restrict-content-message{
    text-align: center;
}

/*  colors - see other colors in functions.php*/
.dkgraybkg {background-color:#44423F; color:#fff;}
.mdgraybkg {background-color:#636466; color:#fff;}
.ltgraybkg {background-color:#F3F3F3; }





@media screen and (min-width: 960px) {
.timezone {
    /* -ms-flex-pack: end; */
    /* justify-content: flex-end; */
    /* text-align: right; */
    display: none;
  }
}
.timezone {
    /* -ms-flex-align: center; */
    /* align-items: center; */
    /* display: -ms-flexbox; */
    /* display: flex; */
    /* width: 100%; */
    display: none;
 } 



@media (min-width: 768px) {	

    .top-bar {
        display: block;
        position: sticky;
    	top: 0;
        padding-top:5px;
    }


}


.contentText {line-height: 1.5em;}

h1{margin-top: 1em; text-align: center !important;}

/*table formatting with zebra striping*/
table {margin:0 auto; width:100%; margin-bottom:20px; border:none; border-collapse:collapse;}
td {border:none; font-weight: 400; padding:.6em;}
thead { }
th {background-color:#0f2649; color:#fff; font-weight: 400}
tr:nth-of-type(odd) { background-color:#f1f1f1;}

/*tablepress settings */
.tablepress thead th,
.tablepress tfoot th {
  background-color: #103369 !important;
  color: #fff;
  font-size: .7em;
  font-weight: 400 !important;
  text-align: center;
  word-wrap: break-word;}
}

.tablepress .textleft{text-align:left;}
.tablepress .tablehighlight{background-color:#0f2649; color:#fff; display:block;}
.tablepress .textbold{font-weight: bold;}

.tablehighlightcontent {background-color:#0f2649; color:#fff; padding:2px;}



/*sidebar mods */
.widget-title {
	/*background-color:#f3f3f3;
	font-weight: 400; 
	text-align: center !important;
	padding:.6em;
	border-radius: 5px;*/
	}

.sidemenu  ul{list-style: none; padding:0; margin:0;}
.sidemenu li{list-style: none; margin-left:0; border-bottom:1px solid #f1f1f1; font-size:.9em; line-height: 1.1em;}
/*
.sub-menu li{list-style: none; margin-left:1em !important; border-bottom:1px solid #f1f1f1; }
.sub-menu li:last-child{border-bottom:none; }
*/

.sidemenu a:link, .sidemenu a:visited {padding:.8em; margin:0; text-decoration: none; display:block; line-height: 1em}
.sidemenu a:hover {background-color:#054696; color:#fff !important; text-decoration: none;}


/*content menu for services*/


.contentmenu  ul{list-style: none; padding:0;  margin:0;}
.contentmenu li{list-style: none; margin-left:0; padding:.5em; border-bottom:1px solid #f1f1f1; font-size: .9em; line-height: .5em; }

.contentmenu a:link, .contentmenu a:visited {margin:0;  color:#000; text-decoration: none; }
.contentmenu a:hover {/*background-color:#FF5400;*/ color:#FF5400; text-decoration: none;}

.addressblock {display: block; margin:0 auto;}
.addressblock p{font-size:.8em; /*line-height: 1.5em;*/ }
.addressblock h3 {color:#0C4C84 !important; font-size: .9em; font-weight: 700; margin:5px 0px 0px 0px;}
.addressblock p.footer-phone {color:#4FAE47 !important; font-size:1.2em; color:#fff; font-weight:900; margin-top:10px; margin-bottom:10px;}
.addressblock .footer-phone a, .addressblock .footer-phone a:visited {text-decoration: none; color:#4FAE47;} 
.addressblock .footer-phone a:hover {color:#ccc;}

 /

/*back to top more space to accomodate sticky footer */
.generate-back-to-top,
.generate-back-to-top:visited {
    bottom: 80px; /* 30px from the bottom of your screen */
}


/*adjust line height in customizer without changing line height of nav items */
@media (max-width: 768px){
    .main-navigation .main-nav  ul li a{line-height:50px;}
}

.twd {padding-right:20px;}
.twd a, .twd a:visited {text-decoration: none; color:#fff; padding:5px;}
.twd a:hover {color:#fff; background-color: #4FAE47}




/*from GP additional Site styles*/
/*center breadcrumbs */
#breadcrumbs {
    padding: 10px 10px 10px 80px;
    margin-left: -30px;
    background: #F7F8F9;
    color: #2D5476;
    font-size: 14px;
    box-shadow: rgba(23, 43, 99, .14) 0 7px 28px !important;
    font-weight: bold;


}

/* top bar menu spacing */
.top-bar .widget_nav_menu li {
	margin: 5px 15px;
}



/* post meta size */

.post-meta {
	font-size: 14px;;
}

.entry-meta {
	font-size: 14px; 
}

/* wpsp meta spacing */

.wp-show-posts-entry-meta {
	margin-top: 5px;
}

/* wpsp space between post on mobile */

.wp-show-posts-image {
	margin-top: 20px;
}

/* center footer widgets*/

.inside-footer-widgets {
    text-align: center;
} 


/* lightweight social icons */

.lsi-social-icons li a, .lsi-social-icons li a:hover {
padding: 0px !important;
margin: 10px 6px 0px 6px !important;
}

/*hide topbar on mobile 
@media(max-width: 768px) {
  .top-bar {
    display: none;
  }
}*/

/*remove bb row background images on mobile*/
@media only screen and (max-width: 767px) {
  .bg-color-mobile .fl-row-content-wrap{background-image:none;}
}

/*twitter svg icon size */
.twitter {width: 100px; height: 100px; display: block; }



.secondary-navigation .menu-toggle {
      display: none;
}

@media(max-width: 768px) {
    .secondary-navigation {
        text-align: center !important;
    }
    .secondary-navigation ul {
        display: block;
    }
    .secondary-navigation .sf-menu>li {
        float: none;
        display: inline-block !important;
    }
}

.inside-article {
    min-height: 700px;
}

/* Link colors */
.um a.um-link,
.um .um-tip:hover,
.um .um-field-radio.active:not(.um-field-radio-state-disabled) i,
.um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i,
.um .um-member-name a:hover,
.um .um-member-more a:hover,
.um .um-member-less a:hover,
.um .um-members-pagi a:hover,
.um .um-cover-add:hover,
.um .um-profile-subnav a.active,
.um .um-item-meta a,
.um-account-name a:hover,
.um-account-nav a.current,
.um-account-side li a.current span.um-account-icon,
.um-account-side li a.current:hover span.um-account-icon,
.um-dropdown li a:hover,
i.um-active-color,
span.um-active-color
{
    color: #416423 !important;
}

.um a.um-link:hover,
.um a.um-link-hvr:hover {
    color: #44b0ec !important;
}

/* Button colors */
.um .um-field-group-head,
.picker__box,
.picker__nav--prev:hover,
.picker__nav--next:hover,
.um .um-members-pagi span.current,
.um .um-members-pagi span.current:hover,
.um .um-profile-nav-item.active a,
.um .um-profile-nav-item.active a:hover,
.upload,
.um-modal-header,
.um-modal-btn,
.um-modal-btn.disabled,
.um-modal-btn.disabled:hover,
div.uimob800 .um-account-side li a.current,
div.uimob800 .um-account-side li a.current:hover,
.um .um-button,
.um a.um-button,
.um a.um-button.um-disabled:hover,
.um a.um-button.um-disabled:focus,
.um a.um-button.um-disabled:active,
.um input[type=submit].um-button,
.um input[type=submit].um-button:focus,
.um input[type=submit]:disabled:hover
{
    background: #477998 !important;
}

.um .um-field-group-head:hover,
.picker__footer,
.picker__header,
.picker__day--infocus:hover,
.picker__day--outfocus:hover,
.picker__day--highlighted:hover,
.picker--focused .picker__day--highlighted,
.picker__list-item:hover,
.picker__list-item--highlighted:hover,
.picker--focused .picker__list-item--highlighted,
.picker__list-item--selected,
.picker__list-item--selected:hover,
.picker--focused .picker__list-item--selected,
.um .um-button:hover,
.um a.um-button:hover,
.um input[type=submit].um-button:hover{
    background: #DD7420 !important;
}

/* Button alt colors */
.um .um-button.um-alt, 
.um input[type=submit].um-button.um-alt {
    background: #416423 !important;
    color:#fff !important;
}

.um .um-button.um-alt:hover,
.um input[type=submit].um-button.um-alt:hover {
    background: #DD7420 !important; 
}

/*MEC CALENDAR */
.mec-event-title, h3 .mec-event-title{
    font-weight: 400 !important;
    font-family: 'Alfa Slab One', serif;}

.mec-wrap .mec-single-title, .single-mec-events .mec-wrap.mec-no-access-error h1 {
    font-family: 'Alfa Slab One', serif;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 33px;
    letter-spacing: 2px;
    color: #477998;
    font-weight: 400 !important;
}

.mec-container h1{
    font-family: 'Alfa Slab One', serif;
    font-weight: 400 !important;
}

/*mobile menu styling */


@media (max-width: 1023px){
.site-logo.mobile-header-logo img.is-logo-image {
    height: 100px;
}
}

button.menu-toggle {
background-color: #E1E9D5;
border: 1px solid #46223D;
      border-radius: 5px;

    margin-right:4px;
}

/*.um-profile-photo { display: none !important; }*/

.um-directory .um-members-wrapper .um-members.um-members-grid .um-member .um-member-cover[data-ratio] {
    overflow-y: hidden;
    background-color: #F4D35E;
}
