/*
Theme Name:     Craft With Ro Custom Theme
Theme URI:      n/a
Template:       kadence
Author:         Catherine Carroll
Author URI:     n/a
Description:    A mobile responsive theme built for the Kadence Framework by Catherine Carroll
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/



/*homepage*/

.hp-topsection.wp-block-kadence-rowlayout .kt-row-column-wrap.kb-theme-content-width {
	padding-right: 0 !important;
}


.site-footer-middle-section-1 {
	flex-direction: column;
}

.site-bottom-footer-inner-wrap {
	display: flex;
	flex-direction: column;
}

/*footer*/
@media (min-width: 700px) and (max-width: 1024px) {
.site-footer-row-container-inner .site-footer-row.site-footer-row-tablet-column-layout-default {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
.site-footer-row-container-inner .site-footer-row.site-footer-row-tablet-column-layout-default > :first-child {
        grid-column: 1 / -1;
    }
}

/*CTCT calendar*/

.ctct_eventwidget_title {
	font-family: var(--global-heading-font-family) !important;
}

.ctct_extra_data {
	font-style: normal !important;
    font-weight: normal !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    font-family: var(--global-body-font-family) !important;
    color: var(--global-palette3) !important;
}

.ctct_eventwidget a {
	font-family: var(--global-heading-font-family) !important;
	color: var(--global-palette-highlight) !important;
    text-underline-offset: 0.1em !important;
    transition: 0.1s linear !important;
}

.ctct_eventwidget a:hover {
    color: var(--global-palette-highlight-alt) !important;
    text-underline-offset: 0.25em !important;
}

/*CC forms*/

.ctct-form-header {
	font-family: var(--global-heading-font-family) !important;
    color: var(--global-palette3) !important;
}

p.ctct-form-text {
	font-family: var(--global-body-font-family) !important;
    color: var(--global-palette3) !important;
}

.ctct-form-button {
background: var(--global-palette-btn-bg) !important;
    color: var(--global-palette-btn) !important;
	font-size: 1.125rem !important;
  line-height: 1.6 !important;
	border: none !important;
	border-radius: 0 !important;
}
.ctct-form-button:hover {
    background: var(--global-palette-btn-bg-hover) !important;
    color: var(--global-palette-btn) !important;
}

/*popup*/

.ctct-popup-content div.ctct-form-defaults {
	background-color: #ffffff !important;
	color: #333333;
}

.ctct-popup-content button.ctct-popup-close {
	padding-right: 15px;
}

/*hp form*/

.ctct-form-embed .ctct-form-defaults {
	background-color: rgb(255 255 255 / 0) !important;
	color: #333333;
}

.ctct-form-embed .ctct-form-defaults h2.ctct-form-header  {
display:none;
}
.ctct-form-embed div.ctct-form-defaults p.ctct-form-text {
display:none;
}

.ctct-form-embed .ctct-form-label {
	display: none !important;
}

.ctct-form-embed form {
    float: none;
    margin: 0 auto;
    padding: 0px;
    width: 100%;
}

.ctct-form-embed form.ctct-form-custom {
	display: flex;
}

.ctct-form-embed .ctct-form-field {
margin-right: 10px !important;
}

#email_address_field_1, #first_name_field_1, #last_name_field_1 {
	flex-grow: 2;
}

.ctct-form-embed .ctct-form-custom .ctct-form-button {
	width: 200px !important;
	height: 46px;
  line-height: 1 !important;
}

.ctct-form-embed #gdpr_text {
 	display:none;
}

.ctct-form-embed .ctct-form-footer {
	display:none;
}

@media only screen and (max-width: 770px) {
.ctct-form-embed form.ctct-form-custom {
	display: block;
	}
	.ctct-form-embed .ctct-form-button {
		float:right;
	}
}

/*footer form*/

.page-id-15 .footer-form {
	display:none;
}

@media (min-width: 1024px) {
.footer-form .ctct-form-embed form.ctct-form-custom {
	display: block;
	max-width: 350px;
	margin:auto;
	}
.footer-form .ctct-form-embed .ctct-form-field {
margin-right: 0px !important;
}
.footer-form .ctct-form-embed .ctct-form-button {
		float:right;
	}
}

@media (min-width: 700px) and (max-width: 1024px) {
.footer-form .ctct-form-embed form.ctct-form-custom {
	display: flex;
}
.footer-form .ctct-form-embed .ctct-form-field {
margin-right: 10px !important;
}

#email_address_field_1, #first_name_field_1, #last_name_field_1 {
	flex-grow: 2;
}
}

@media (max-width: 501px) {
.footer-form .ctct-form-embed form.ctct-form-custom {
	display: block;
	max-width: 350px;
	margin:auto;
	}
.footer-form .ctct-form-embed .ctct-form-field {
margin-right: 0px !important;
}
.footer-form .ctct-form-embed .ctct-form-button {
		float:right;
	}
}
