/*
 Theme Name:   ILBC Child
 Theme URI:    https://generatepress.com
 Description:  ILBC GeneratePress child theme
 Author:       Alex Berenyi
 Author URI:   https://signalc.con
 Template:     generatepress
 Version:      0.1
*/

/*@import url("../generatepress/style.css");*/

/*li[class*="current-menu-"] > a {
    color: #ffffff;
    background-color: #1c75bc !important;
}*/

/* no background image on Home */
/*body.home {
	background-image:none;
}*/

/* elements */
/* Grid — shadow */
#page.grid-container,
.page-header-image.grid-container,
iframe#google-maps  {
    -webkit-box-shadow: 0px 0px 11px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 11px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 11px 0px rgba(50, 50, 50, 0.35);
}

/* Top Navigation */
.main-navigation .main-nav ul ul li a {
    padding: 15px 15px 15px 25px;
}

.main-navigation .main-nav ul ul li a::before {
	content: "- ";
	color: #aaa;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover,
.main-navigation .main-nav ul li[class*="menu-item-has-children"] > a:hover {
    background-color: #4f4f4f;
}

/* footer menu */
.menu-footer-menu-container a {
    color: #fff;
}

/* footer text weight */
.textwidget.custom-html-widget p {
    font-weight:300;
}

#menu-footer-menu li a {
    font-weight: 300;
}


/* off0-canvas nav dropdown arrow */
#generate-slideout-menu .menu-item-has-children .dropdown-menu-toggle {
    width: 10%;
    background-color: #777777;
    padding-right: 5px;
    padding-left: 20px;
}

/* search, make the input much shorter to be mioe obvious */
.navigation-search.nav-search-active {
    left: auto;
    max-width: 300px;
    right: 116px;
}

.navigation-search input[type="search"], .navigation-search input[type="search"]:active, .navigation-search input[type="search"]:focus, .main-navigation .main-nav ul li.search-item.active > a {
    color: #222222;
    background-color: #dddddd;
}

#site-navigation {
	position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

/* hide product info tabs, as we only use the description */
.tabs.wc-tabs {
	display: none !important;
}



/* make aligned images full width on mobile */
@media only screen and (max-width: 767px) {
	.wp-block-image .alignright,
	.wp-block-image .alignleft {
	    float: none;
	    margin-left: 0;
	    margin-right: 0;
	    width:100%;
	}
	.wp-block-image img {
	    width: 100%;
	}

}

/* featured image full inner width */
.size-full {
    width: 100%;
}

.wp-block-image figcaption {
    margin-top: 0;
    font-size: .85em;
    font-style: italic;
    font-weight: 300;
    /* background-color: #eee; */
}

/* footer */
.site-footer .widget-title {
    margin-bottom: 10px;
    font-weight: 400;
}

.site-footer .custom-html-widget a {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer .custom-html-widget a:hover,
/*.site-footer #menu-footer-menu a:hover,*/
.ilbc-sidebar-widget a:hover {
    text-decoration: underline;
}

.widget_nav_menu li {
    padding: 3px 0 0 5px;
}
.widget_nav_menu li:hover {
    background-color: #333333;
}

/* typography */

table, 
th,
td {
	border: none;
	font-weight: inherit;
}

.table-lines  td,
.table-lines  th {
	border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.table-lines th {
	font-weight: 500;
}
.table-lines  td p:last-child {
    margin-bottom: 0;
}

ul, ol {
    margin: 0 0 1.5em 2em;
}

li {
	margin-top: .5em
}

h4 {
    margin-bottom: 0;
}

/* avoid long line lengths */
 @media only screen and (min-width: 1024px) {
    .text-width-adjust {
        padding: 0 150px;
    }
}

/*.custom-html-widget */
.ilbc-sidebar-widget {
    max-width: 250px;
    padding: 7px;
    background-color: #eee;
    font-style: italic;
    -webkit-box-shadow: 0px 0px 11px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 11px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 11px 0px rgba(50, 50, 50, 0.35);
}

/* Image captions */
figure.wp-caption {
	margin:20px 0 20px 0;
}

figure.wp-block-image.alignwide.size-large figcaption {
    margin-left: 40px;
}

/* ?confirm function */
.entry-content>:last-child, .entry-summary>:last-child {
    margin-bottom: 20px;
}

/* booking */
/* Calendar: show full height of times , no scroll bar */
.time-picker {
    max-height: none !important;
}

blockquote {
    background-color: #d2eb86;
    border-left: 5px solid #1e73be;
}

.entry-content a:hover, .entry-contenta:active {
    text-decoration: underline;
    color: #1e73be;
}

.ph-calendar-date {
    cursor: pointer
    }

/* Home page bullet point hilites */
.hilite-points {
	text-align: center;
    list-style: none;
	margin: 1em 0;
}

.hilite-points p {
	padding: 0.3em;
    position: relative;
    line-height: 1.6em;
    background: #d2eb86;
    -webkit-box-shadow: -10px 0px 0px #d2eb86, 10px 0px 0px #d2eb86;
    box-shadow: -10px 0px 0px #d2eb86, 10px 0px 0px #d2eb86;
    box-decoration-break: clone;
    display: inline-block;
	margin-bottom: 0.5em;
}

/* list-hilites */

.list-hilite li {
	margin-top: 0.5em;
    background-color: #d2eb86;
    padding: 0.3em;
    box-shadow: -40px 0px 0px #d2eb86, 10px 0px 0px #d2eb86;
    position: relative;
    left: 7px;
}

li.list-item-hilite {
	background-color: #e7bb51;
	box-shadow: -40px 0px 0px #e7bb51, 10px 0px 0px #e7bb51;
	font-weight: 500;
}

/* footer  sponsor logos */
aside#block-2, aside#block-6 {
	display: inline-block;
}
aside#block-2 {
	padding-right: 20px;
}
aside#block-6 {
	padding: 0;
}