/*
Theme Name: GeneratePress Child
Theme URI: none
Template: generatepress
Author: NC
Author URI: none
Description: Extending and customizing the UI
Version: 1.0.0
Requires at least: 4.5.0
Tested up to: 5.7
Requires PHP: 5.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepresschild
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options

GeneratePress, Copyright 2014-2021 EDGE22 Studios LTD.
GeneratePress is distributed under the terms of the GNU GPL

GeneratePress is based on Underscores http://underscores.me/, (C) 2012-2021 Automattic, Inc.

Actual CSS can be found in /assets/css/ folder.
*/



h2, h3, h4 {
	padding-top: 20px;
}

h2.entry-title {
	padding-top: 0;
}

header.entry-header > span {
	display: inline-block;
	margin-bottom: 2em;
}

.page-category-header {
	flex: 1 1 100%;
    clear: both;
    margin-left: 40px;
    padding: 40px;
}

table.nctbl-custom {
	border: 1px solid #ccc;
	font-size: .9em;
}
table.nctbl-custom td {
	padding: 10px;
}

table.nctbl-custom thead,
table.nctbl-custom tbody>tr:first-child {
	font-weight: bold;
}

table.nctbl-custom td:nth-child(3) {
	text-align: center;
	font-weight: bold;
	color: #6633cc;
}

img.avatar {
	border-radius: 100px;
	/*border-bottom-right-radius: 0;*/
	border: 2px solid #fff;
}

.wp-block-image figcaption {
	position: relative;
	padding: 5px 10px 5px 0;
	margin-top: -2.8em;
	text-align: right;
	background-color: rgba(255, 255, 255, .4);

}

figure.categories figcaption {
	position: relative;
	padding:  0;
  margin-top: -100px;
  text-align: center;
  background-color: transparent;
}

figure.categories figcaption a {
	display: block;
	padding: 20px 0;
	font-size: 32px;
	background-color: rgba(0, 0, 0, .5);
	color:  #fff;
}

.txt-center {
	text-align: center;
}

.block-center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.search-box-404 {
	margin-top: 1em;
	padding: 2em 1em;
	background-color: #f0f0f0;
	border-radius: 3px;
}

.margin-big {
	margin: 4em 0;
}

/** Styling the About Us page */
.entry-content .nc-about {
	margin-left: 0;
	width: 100%;
	max-width: 100%;
}

.entry-content .nc-about img {
	border-radius: 150px;
}
/** END About Us styling */

/** Styling the Contact page */
div.nc-contact form.wpforms-form input[type=text], 
div.nc-contact form.wpforms-form input[type=email],
div.nc-contact form.wpforms-form textarea {
	border: none;
	border-left: 2px solid #d0d0d0;
	background-color: #f7f7f7;
	padding: 1.2em;
	height: 60px;
}
div.nc-contact form.wpforms-form input[type=text]:focus,
div.nc-contact form.wpforms-form input[type=email]:focus,
div.nc-contact form.wpforms-form textarea:focus {
	border: none;
	border-left: 2px solid #8F939D;
}
div.nc-contact form.wpforms-form button[type=submit] {
	background-color: #2B4365;
	color: #fff;
	border-radius: 5px;
	border: none;
}
div.nc-contact form.wpforms-form button[type=submit]:hover {
	background-color: #405C85;
}
/** END Contact style */

.main-navigation li {
	padding-left: 10px;
	padding-right: 10px;
}

.main-navigation li.current-menu-item a {
	border-bottom:  1px solid #262626;
}

/** Styling the Related Posts */
.crp_related {
	font-family: "Montserrat", sans-serif;
    font-weight: 500;
}
.crp_related h3 {
	border-top:  1px solid #e3e3e3;
	padding-top:  20px;
}
.crp_related ul {
	margin: 0;
	background-color: #f3f3f3;
	padding: 10px;
}
.crp_related ul li {
	vertical-align: top;
	list-style-type: none;
	display: inline-block;
	width: 40%;
	text-align: left;
	margin: 5%;
	overflow: auto;
}
.crp_related ul li figure {
	display: inline-block;
	float: left;
	margin-right: 10px;
}
.crp_related ul li img {
	max-width: 110px;
	border: 1px solid #fff;
}
.crp_related .crp_title {
	font-size: 1em;
}
/** END */

.relative {
	position: relative;
}
.absolute-img-tag {
	color: #3E434B;
	background-color: #fff;
	padding: 5px;
	position: absolute;
	top: -50px;
	font-size: .8em;
	font-weight: bold;
}

.gb-container.clickable-container .gb-inside-container {
    position: relative;
}

.gb-container.clickable-container a:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
}

/** Store Locator */

/** END Store locator */

/** Affiliate Produc Box Style */
.aff-prod-box-full {
  position: relative;
  background-color: #fff;
  max-width: 75rem;
  height: auto;
  /*border: 1px solid #000;*/
  padding: 5px;
  margin: 1.5em auto;
  overflow: auto;
}
.aff-prod-img {
  display: inline-block;
  width: 20%;
  vertical-align: top;
}
.aff-prod-img img {
  padding: 10px;
}
.aff-prod-content {
  display: inline-block;
  width: 80%;
  padding: 4px;
}
/** END Affiliate box product style */

.affp-post {
  box-sizing: border-box;
  display: block;
  overflow: auto;
  margin: 2rem auto;
  padding: 20px;
  background-color: #fff;
  /*border: 1px solid black;*/
  max-width: 80rem;
}

.affp-post-left {
  float: left;
  max-width: 30%;
}
.affp-post-left img {
  /*width: auto;*/
  padding-right: 20px;
}
.affp-post-right {
  /*float: left;*/
  width: auto;
}

.affp-post h3 {
  font-size: 1.1em;
  margin: 0 0 .8em;
}
/*Product page Style*/
.box-tag-corner {
	position: relative;
}

.box-tag-corner::before,
.box-tag-corner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-color: transparent;
    border-style: solid;
}

.box-tag-corner::before {
	content: "\f155";
    font-family: dashicons;
    font-size: 32px;
    color:  #fff;
    z-index: 999;
    top: 0;
    left: 5px;
}

.box-tag-corner::after {
    border-width: 2.5em;
}

.box-tag-corner ul {
    list-style: none;
    margin: 0 0 0 20px;
}
.box-tag-corner ul li::before {
    content: "\f139";
    font-family: dashicons;
    font-size: 24px;
    position: relative;
    top: 6px;
    margin-right: 4px;
    margin-left: -28px;
}

.tag-pink::after {
	border-left-color: #c50084;
    border-top-color: #c50084;
}
.tag-pink ul li::before {
	color: #c50084;
}
.tag-red::after {
	border-left-color: #eb494b;
	border-top-color: #eb494b;
}
.tag-red ul li::before {
	color: #eb494b;
}
.tag-blue::after {
	border-left-color: #05A0D1;
	border-top-color: #05A0D1;
}
.tag-blue ul li::before {
	color: #05A0D1;
}
.tag-amazon::before {
	content: '\f162' !important;
}
.tag-sticky::before {
	content: '\f537' !important;
}
.tag-thumbs-up::before {
	content: '\f529' !important;
}
/*END*/

/** Right side latest posts widget **/
.postsbycategory li {
	position:  relative;
	padding:  5px;
}
.postsbycategory li:hover {
	background-color: #EEF0F1;
}

.postsbycategory li a {
	width: 100%;
	display: flex;
  	flex-direction: row;
}

.postsbycategory li a .thumbnail {
	width: 20%;
}
.postsbycategory li a .title {
	width: 80%;
	padding-left: 5px;
	font-size: .9em;
}

.inside-right-sidebar .widget {
	padding: 10px;
}
/** end right side latest posts widget **/

/** bike store boxes  **/
.box-bike-shop-addr {
	padding:  10px;
}

.box-bike-shop-addr h3 {
	font-size: 1.2em;
	padding: 10px 15px;
	background-color: #69a0b1;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	position: relative;
	color:  #fff;
}

.box-bike-shop-addr h3:after {
	position: absolute;
	bottom: -12px;
	left:  20px;
	width: 0;
	height: 0;
	content:  "";
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 20px solid #69a0b1;
}

.box-bike-shop-addr a {
	font-size: .8em;
	padding: 4px 8px;
	background-color: #cde6ed;
	color:  #333;
	border-radius: 3px;
}

.nc-custom-head h2 {
	font-size: 22px;
}


ul#menu-footer-menu {
	text-align: center;
}

ul#menu-footer-menu > li {
	display: inline-block;
	margin-right: 10px;
}

li.nc-footer-item a {
	background-color: #fff;
	padding: 4px 12px;
	border-radius: 30px;
	font-family: "Montserrat", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
}



@media (min-width: 1024px) {
    body {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        min-height: 100vh;
    }
    .site-footer {
        margin-top: auto;
    }
}

@media (max-width: 768px) {
	/* on mobile show related posts one under the other */
	.crp_related ul li {
    	width: 90%;
    }
}