/*
 Theme Name:   Ian Lee Child Theme
 Theme URI:    https://generatepress.com
 Description:  Ian Lee Designed Theme
 Author:       Ian Lee
 Author URI:   https://www.ianlee.ca/
 Template:     generatepress
 Version:      0.1
*/

/*
.page-id-14102 #masthead > .grid-container {
	padding-top: 10px;	
} 
*/

.post-link-treatment a:link {
  border-bottom: 1px #f79a04 solid;
}

.post-link-treatment a:visited {
  border-bottom: 1px #f79a04 solid;
}

.post-link-treatment a:hover {
  border-bottom: 0;
}

.post-link-treatment a:active {
  border-bottom: 1px #f79a04 solid;
}



#mobile-header .inside-navigation {
	padding-top: 10px;
	padding-bottom: 10px;
}

.main-navigation.toggled .main-nav > ul li a {
    height: 50px;
    border-bottom: 1px solid rgb(223, 223, 223);
}

/* add label to commenters */

.comment-author-label {
	color: #ffffff;
	font-size: 12px;
	font-weight: normal;
	padding: 5px;
	margin-left: 5px;
	border-radius: 15px;
} 
 
.comment-author-label-administrator { 
	background-color:#ff9900;
	padding-top: 3px;
}

.ligthborder
{
border: 1px dotted #990000;
}

/** disbale website URL in comment */
input#url {
    display: none !important;
}

#main .breadcrumb {
    font-size: 18px !important;
}


/** in body link underline 
.page .content-area p a, .single-post .content-area p a {
    text-decoration: underline;
}
*/

/** sticky nav */

/**
.page-id-33 .site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
}
*/
.site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
}

#mobile-header {
    position: sticky;
    top: 0;
    z-index: 999;
}

header#masthead {
    border-bottom: 1px solid #f2f2f2;
}

/** align bottom */
.my-custom-class .gb-inside-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.my-custom-class .gb-inside-container > *:last-child {
    margin-top: auto;
}	

.my-custom-class {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.my-custom-class  > *:last-child {
    margin-top: auto;
}	

input.search-field
{
	background-color: #f2f2f2 !important;
	border: 2px solid !important;
}


.backtotopcontainer {
   position: sticky !important;
   bottom: 20px;
   float: right;

}

.entry-meta .tags-links {
    padding-bottom: 25px;
}

html {
    scroll-behavior: smooth;
}

.wp-block-search__inside-wrapper {
    background-color: #ffffff;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
    padding: 10px;
    border: 0;
}

.wp-block-search__button{
	border: 1;
}
.generate-columns-container .generate-columns .inside-article {
    padding: 0;
    background-color: transparent;
}

/* mobile menu toggle */
button.menu-toggle {
    background-color: #ffffff !important;
}

@media (max-width: 768px) {
    /* CSS in here for mobile only */
	/** site logo size */
	img.header-image.is-logo-image {
    width: 200px;
}
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) picture {
width: 100%;
height: 100%;
}

/* Archive, blog and search results background colour */
body.archive, body.blog, body.search-results
{
    background-color: #ffffff;
}

/* fix Wordpress 6.1 image bottom spacing */
/* figure img {
    margin-bottom: 30px;
}
*/

/* sidebar heading left right horizontal lines */
.line {
	 text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line:after, .line:before {
	  content: '';
    width: 50px;
    height: 2px;
    background: #999999;
    margin: 10px;
} 

/* fix image bottom margin */
#content .wp-block-image img {
    margin-bottom: 30px;
}

