/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://dipakgajjar.com
 Description:  GeneratePress child theme for dipakgajjar.com
 Author:       Dipak C. Gajjar
 Author URI:   https://dipakgajjar.com
 Template:     dipakcg
 Version:      1.0
*/

/* BEGIN Custom fonts we're going to use in Customizer */
@font-face {
    font-family: 'HK Grotesk';
    font-style: normal;
    font-weight: normal;
    font-display: fallback;
    src: local( 'HK Grotesk Regular' ), url( 'fonts/HKGrotesk/HKGrotesk-Regular.woff' ) format( 'woff' );
}

/*@font-face {
    font-family: 'Amiko';
    font-style: normal;
    font-weight: normal;
    src: local( 'Amiko' ), url( '/fonts/Amiko/Amiko-Regular.woff' ) format( 'woff' );
}

@font-face {
    font-family: 'Graphik';
    font-style: normal;
    font-weight: normal;
    src: local( 'Graphik' ), url( '/fonts/Graphik/Graphik-Regular' ) format( 'woff' );
}*/
/* END Custom fonts we're going to use in Customizer */

/* BEGIN GeneratePress Site CSS */
.main-navigation a {
	letter-spacing: 1px;
}

.featured-image img, .post-image img {
	border-radius: 8px;
}

.drop-shadow {
	box-shadow: 0px 0px 20px rgba(200, 200, 200, 0.2);
}

.round-top-corners img {
	border-radius: 8px 8px 0px 0px;
}

.main-navigation:not(.slideout-navigation) .main-nav li.nav-button a {
	color: rgba(72,45,112,1.0);
	border: 3px;
	border-style: solid;
	line-height: 36px;
	border-radius: 2px;
	margin-left: 20px;
	transition: all 0.6s ease 0s;
}

.main-navigation:not(.slideout-navigation) .main-nav li.nav-button a:hover {
	color: rgba(72,45,112,0.8);
}
/* END GeneratePress Site CSS */

/* BEGIN Turn Rank Math FAQ Block to Accordion */
#rank-math-faq .rank-math-list-item {
	position: relative;
}
#rank-math-faq .rank-math-list-item input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 41px;
    opacity: 0;
    cursor: pointer;
    z-index:999;
}
#rank-math-faq .rank-math-list-item h3 {
    background: #f1f2f6;
    padding: 10px 12px 10px 18px;
    cursor: pointer;
    font-size: 18px !important;
    font-weight: normal !important;
    position:relative;
    margin-bottom: 0;
    border-radius: 8px;
}
#rank-math-faq .rank-math-answer{
	margin: 10px;
	max-height: 0;
	overflow: hidden;
}
#rank-math-faq .rank-math-list-item input:checked+h3~.rank-math-answer {
	max-height: 100vh;
	overflow: visible;
}
#rank-math-faq .rank-math-answer p {
    font-size: 17px !important;
    font-weight: normal !important;
}
/* END Turn Rank Math FAQ Block to Accordion */

/* BEGIN WPSOS and WPSAMS page contents */
/* Post ID 3811 = WordPress Speed Optimization Service * Post ID 3813 = WordPress Support and Maintenance Services */
.postid-3811 .has-inline-color, .postid-3813 .has-inline-color {
    color:#27ae60;
}
.postid-3811 .gb-icon, .postid-3813 .gb-icon {
    padding: 0 0.5em 0 0;
    vertical-align: middle;
}
/* WordPress Speed Optimization Service - Add-ons (right sidebar) checkbox */
.gfield-choice-input {
    vertical-align: top !important;
    margin-right: 10px;
}
/* Prevent footer social buttons to override padding from gb-icon (above element) */
a.gb-button .gb-icon{
    padding: 0;
}
.postid-3811 .gb-icon-inner {
    padding: 0 0.5em 0 1.5em;
    vertical-align: middle;
}
.postid-3813 .edd-h3 {
    color:#ff9900;
}
/* Testimonials and FAQ Title */
.edd-footer-svg {
    text-align: center;
    margin-top: 80px;
}
.edd-footer-svg svg {
    width: 1.5em !important;
    height: 1.5em !important;
}
.edd-footer-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    /* margin-top: 40px; */
    margin-bottom: 40px;
    display: flex;
    text-align: center;
    flex-direction: column;
}
/* END WPSOS and WPSAMS page contents */

/* Gravity Forms border for Contact form */
.ginput_container input, .ginput_container textarea, .ginput_container input:focus, .ginput_container textarea:focus {
    padding: 4px 6px;
    border: 1px solid #666666;
    border-radius: 6px;
}

/* BEGIN Checkout page  */
/* Input boxes  */
#edd_checkout_form_wrap input[type=email], #edd_checkout_form_wrap input[type=password], #edd_checkout_form_wrap input[type=tel], #edd_checkout_form_wrap input[type=text], #edd_checkout_form_wrap textarea, #edd_checkout_form_wrap select, .edd-input {
    border: 1px solid #666666;
    border-radius: 6px;
}
/* Discount and total */
#edd_checkout_form_wrap #edd-discount-code-wrap, #edd_checkout_form_wrap #edd_final_total_wrap, #edd_checkout_form_wrap #edd_show_discount {
    border: 1px solid #666666;
    margin-top: 21px;
}
/* Purchase now / Buy now button */
#edd-purchase-button, .edd-apply-discount.edd-submit {
    font-size: 1em;
    width: auto;
    margin: 0 16px 0 0;
    padding: 10px 20px !important;
    color: #ffffff;
    background-color: #482d70;
    font-weight: 600;
    border: none;
    border-radius: 0;
}
/* END Checkout page  */

/* Rounded corner images */
.wp-block-image:not(.is-style-rounded).rounded-corners img {
    border-radius: 8px;
}