/*
Theme Name:     Riley Construction
Theme URI:      n/a
Template:       kadence
Author:         Replicant, LLC
Author URI:     n/a
Description:    Kadence Child Theme
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Project Leader Post Object */

div.project-single h3 {
	color: rgb(23, 94, 63);
	display: block;
	font-size: 25px;
	font-style: normal;
	font-weight: 700;
	text-transform:uppercase;
	margin-top:.5em;
	margin-bottom:0px;
}

div.project-single h4 {
	color: #8A8A8D;
	display: block;
	font-size: 17px;
	font-style: normal;
	font-weight: 700;
	margin-bottom:0px;
	text-transform:none;
}

div.project-single a {
	text-decoration:none;
}

div.project-single .kb-svg-icon-wrap svg {
	width: 1em;
    height: 1em;
    margin-top: 0.25em;
}

/* Project Awards Post Object */

.awards {
	margin-bottom:4rem;
}
div.awards h3 {
	margin-top:0px;font-weight:700;margin-bottom:0.5rem;line-height: 1.25em;
}

.project-awards {
}

.award-entry {
margin-bottom: 1em;
}

.award-title {
    color: #8A8A8D;
    display: block;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 0px;
    text-transform: none;
    line-height: 1.25em;
    margin-bottom: .1em !important;
}

.award-year {

}

.award-details {
    color: #8A8A8D;
    display: block;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 0px;
    text-transform: none;
    line-height: 1.25em;
    font-style: italic;
}

.project-category-term {
	font-size: var(--global-kb-font-size-sm, 0.9rem);
    font-weight: 600;
	color: #175e3f;
	    line-height: 1.5;
    letter-spacing: -0.025em;
    text-transform: uppercase;
	font-style:normal;
}
.project-square-footage {
    font-size: var(--global-kb-font-size-sm, 0.9rem);
    font-weight: 600;
}

/* Search Toggle */

    /* Hide the form by default, show flex when toggled */
    div.desktop-search form.kb-search-form {
        display: none; /* start hidden */
        flex-wrap: nowrap;
        align-items: center;
        width: 250px; /* adjust as needed */
        margin-left: 0.5rem; /* spacing from buttons */
    }

    .my-search-toggle {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .my-search-toggle .search-icon {
        width: 37px;
        height: 37px;
    }

    button.my-search-toggle:hover,
    button.my-search-toggle:focus,
    button.my-search-toggle:active {
        color: white;
        background:transparent;
        transform: scale(1.1);
        box-shadow:none;
    }

/* Header */
header.wp-block-kadence-header43560-cpt-id div.item-is-stuck {
	backdrop-filter: blur(50px);
}
header.wp-block-kadence-header43560-cpt-id div.item-is-stuck button.wp-block-kadence-off-canvas-trigger, header.wp-block-kadence-header43560-cpt-id div.item-is-stuck button.my-search-toggle, header.wp-block-kadence-header43560-cpt-id div.item-is-stuck input.kb-search-input::placeholder {
	color:#175e3f !important;
}

header.wp-block-kadence-header43560-cpt-id div.item-is-stuck span.kb-search-icon svg {
	stroke:#175e3f !important;
}

header.wp-block-kadence-header43560-cpt-id div.item-is-stuck input.kb-search-input {
    border-top: 2px solid #175e3f !important;
    border-right: 2px solid #175e3f !important;
    border-bottom: 2px solid #175e3f !important;
    border-left: 2px solid #175e3f !important;	
	color:#175e3f !important;
}


/* Header Icons */
button.kb-search-close-btn {
    box-shadow:none;
}
button.kb-search-close-btn {
    padding-right: 20px;
}
button.kb-off-canvas-close svg {
	width:48px;
	height:48px;
}
@media screen and (max-width: 767px) {
div.open-mobile-right button.kb-off-canvas-close {
	color:white;
}

}

/* Hide Global Pharmaceutical Stats */

body.postid-501 div#project-stats {
    display: none;
}

.page-id-867 .back-to-top-safety {
    display:none;
}

/* Mobile Nav Mods */
div.kb-off-canvas-inner div.kb-row-layout-wrap {
	margin:0;
}