/**
Theme Name: Dapper Digital
Author: Dapper Digital
Author URI: https://dapper.digital
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dapper-digital
Template: astra
*/


/* 
 * 
 * 
 * 
 * 
 * Yeah we know it's not a custom theme... We are honestly too busy making custom themes for our clients to do one for us. Someday!
 * 
 * 
 * 
 * 
 * 
 */

/*  Nice scroll down to stuff */

html {
         scroll-behavior: smooth;
}


body.home #alternative p {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}




@media (min-width: 1200px ) {
        .ast-plain-container.ast-no-sidebar #primary {
                margin-top: 0px !important;
        }
}


body:not(.home) {
        background-color: #f8f8f8;
}

body.portfolio-template-default h2 {
        border-bottom: 3px solid;
        padding-bottom: 10px;
        border-color: var(--ast-global-color-1);
}

body.portfolio-template-default .post-thumb,
body.portfolio-template-default h1.entry-title {
        display: none;
}

/* make the portfolio pages sticky */
body.portfolio-template-default .entry-content {
        height: auto;
}

body.portfolio-template-default .wp-block-columns {
        height: auto;
        /* overflow: initial; */
        gap: 50px;
}

.is-layout-flex {
        /* overflow: initial; */
}

body.portfolio-template-default .wp-block-columns .wp-block-column:last-of-type {
        position: sticky;
        align-self: flex-start;
        top: 30px;
        overflow-y: auto;

}


.single .post-navigation {
        border: 0;
}


body:not(.home) .wp-block-media-text__media {
        padding-right:15px;
}

body:not(.home) h1.entry-title {
        font-size: 50px;
        text-align: center;
        margin-top: 60px;
        font-weight: 700;
}

body:not(.home) h2 {
        font-size: 35px;
        margin-top: 50px;
}


@media (max-width: 600px) {
        body:not(.home) .entry-content .wp-block-media-text .wp-block-media-text__content {
                padding-top: 0;
        }

}


ul.checkmark {
        margin-bottom: 40px;
}


ul.checkmark li {
        list-style-type: none;
        background: url(/wp-content/uploads/2022/11/checkmark.png);
        background-repeat: no-repeat;
        background-size: 30px;
        background-position: 0px 1px;
        padding: 0 0 0 40px;
        margin-bottom: 15px;
}

.wp-block-quote:not(.has-text-align-right):not(.has-text-align-center) {
        border-color: var(--ast-global-color-1);
         padding: 15px 0 1px 30px;
}

.entry-content ul {
        margin-left: 40px !important;
}



/* peekaboo footer */

.site-content {
        min-height: 100vh;
        background: white;
        position: relative;
        z-index: 2;
}

body:not(.home) .site-content {
        background: #f8f8f8;
}

footer {
        position: sticky;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--ast-global-color-2);
        color: #fff;
        display: grid;
        place-items: center;
        padding: 50px;
        z-index: 1;
}

footer p,
footer h2,
footer h3 {
        color: #fff;
}


footer .widget {
        margin-bottom: 0 !important;
}

footer .widget p:last-child {
        margin-bottom: 5px;
}

footer input {
        border: 0 !important;
        height: 45px !important;
}

footer#footer {
        display: none;
}


.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row,
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-section {
        align-items: center;
}

.footer-widget-area.widget-area.site-footer-focus-item {
        text-align: center;
}

footer .gform_wrapper {
        padding-left: 60px;
        padding-top: 15px;
}

/* Client Logo Slider */

.slick-slider {
        margin-top: 40px !important;
}

.ast-plain-container.ast-no-sidebar #primary {
        margin-bottom: 0;
}

.eb-slider-wrapper .image .eb-slider-item img {
        object-fit: contain !important;
        max-height: 100px !important;
        width: auto !important;
        margin-left: auto;
        margin-right: auto;
        filter: grayscale(100%);
}





.wp-block-buttons  {
        margin-top: 40px !important;
        margin-bottom: 10px !important;
}



input[type=email],
input[type=number],
input[type=password],
input[type=reset],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
        border-color: #bbb !important;
}



.gform_wrapper select {
        height: auto;
}

body:not(.home) #main article {
        padding-bottom: 100px;
}


.hidden {
        display: none;
}


body.home .wp-block-group {
	padding-top: 100px !important;
 	padding-bottom: 100px !important;
}

body.home .wp-block-group > h2 {
	text-decoration: underline;
	text-underline-offset: 20px;
 	text-decoration-thickness: 4px;
	text-decoration-color: #efad13;
	line-height: 250%;
}

body.home .wp-block-query ul {
	margin-left: 0 !important;
}


#services .wp-block-columns:first-of-type {
        margin-top: 50px !important;
}

#services .wp-block-columns {
        margin-bottom: 50px;
}

#services .wp-block-columns:last-of-type {
        margin-bottom: 100px !important;
}
        

.ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
	width: 35px !important;
	height: 35px !important;
	fill: #000 !important;
}



body.single-portfolio .wp-block-table table,
body.single-portfolio .wp-block-table td,
body.single-portfolio .wp-block-table th {
	vertical-align: top !important;
	border: 1px solid var(--ast-global-color-1) !important;
}

body.single-portfolio .wp-block-table strong {
	white-space: nowrap !important;
}

/* resume page */

body.page-id-16 h1.entry-title {
	display: none;
}

body.page-id-16 .wp-block-columns {
	gap: 100px;
}

body.page-id-16 p.intro {
	font-size: 24px;
	line-height: 220%;
	margin: 20px 0 40px 0;
}

body.page-id-16 h2 {
	margin-top: 0;
	font-size: 50px;
}

body.page-id-16 h3 {
	text-transform: uppercase;
	font-size: 22px;
	border-bottom: 1px solid #ccc;
	margin: 50px 0 0 0;
}

body.page-id-16 p.title {
	font-weight: 600;
	margin: 40px 0 0 0;
}

body.page-id-16 p.where {
	font-weight: 300;
	margin: 5px 0 5px 0;
}

body.page-id-16 p.where + p {
	margin: 0;
}

body.page-id-16 figure.portrait {
	padding: 0 100px 40px 100px !important;
}


/* Mobile stuff */
@media screen and (max-width: 600px) {
	body.home #services .wp-block-media-text__media img {
		max-width: 150px;
	}
	
	.eb-team-wrapper .contents {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
	
	footer .gform_wrapper {
		padding-left: 0;
	}
	
	.gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
		line-height: 100% !important;
		margin: 0 auto;
	}


	body.home #alternative p {
		max-width: none;
		font-size: 18px !important;
		line-height: 150%;
		padding-left: 20px;
		padding-right: 20px;
	}
}