/*
Theme name: RainmakerThinking
Description: Custom Theme
*/

/*
	Source post-css styles are located in the postcss directory.
	The compiled bundle is in assets/bundle.css; The README.md
	file contains instructions how to get the compilation
	process up & running.

	If you need to make a quick fix, feel free to add CSS
	below this comment. It will override bundle.css styles.
*/

h2 a { text-decoration:none;}
.section-base h2 {clear:both;}

td.topic-icon {     
	max-width:90px;
	min-width:90px;
    vertical-align: top;
    text-align: left;
}

td.topic-icon img.alignleft {
    display: block;
    margin: 0 auto;
    float: none;
}

.section-base td {
	font-size: 12px;
    line-height: 1.67;
    font-weight: 500;
	padding:4px 0 10px 0
}

.section-base td.heading { padding:0; line-height:inherit;}

.gform_wrapper ul.gform_fields:not(.top_label) .no-left-margin .ginput_container.ginput_recaptcha { margin-left:0 !important; padding-top:14px;}

/* Homepage Newsletter Signup */
.newsletter-banner-wrap {
    width: 100%;
}
.newsletter-banner {
    align-items: baseline;
    background: #00aeef;
    display: flex;
    justify-content: center;
    padding: 15px 0;
    text-align: center;
    transition: .5s;
    width: 100%;
    z-index: 100;
}
.newsletter-banner.sticky-sub {
    background: #1f1d1d;
    position: fixed;
    top: 40px;
    transition: .5s;
}
.newsletter-banner__title {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-right: 20px;
    text-transform: uppercase;
}
@media(max-width: 1023px) {
    .newsletter-banner.sticky-sub {
        top: 64px;
    }
    .newsletter-banner__title {
        font-size: 16px;
    }
 }
@media(max-width: 767px) {
    .newsletter-banner-wrap {
        position: fixed;
        bottom: 0;
        z-index: 999;
        height: auto !important;
    }
    .newsletter-banner {
        flex-direction: column;
        position: static !important;
        align-items: center;
    }
    .newsletter-banner__title {
        margin-bottom: 10px;
    }
 }
@media(max-width: 480px){
    .newsletter-banner__input input.hs-input {
        padding-right: 15px !important;
    }
}

/* Blog Share Icons */
 .heateor_sss_sharing_container {
    align-items: center;
    background: #333;
    border-radius: 16px;
    color: #fff;
    display: inline-flex;
    margin-top: 10px;
    padding: 15px 25px;
 }
.heateor_sss_sharing_title {
    font-size: 20px;
    margin-right: 10px;
}
 .heateor_sss_sharing_title,
 .heateor_sss_sharing_ul {
    display: inline-block;
    float: none;
 }
.heateorSssSharingRound:after {
    display: none !important;
}
.heateor_sss_sharing_ul .heateorSssFacebookBackground,
.heateor_sss_sharing_ul .heateorSssTwitterBackground,
.heateor_sss_sharing_ul .heateorSssLinkedinBackground,
.heateor_sss_sharing_ul .heateorSssEmailBackground {
    background: transparent;
    border-radius: 0 !important;
    height: auto !important;
    width: auto !important;
}
.heateor_sss_sharing_ul .heateorSssFacebookSvg,
.heateor_sss_sharing_ul .heateorSssTwitterSvg,
.heateor_sss_sharing_ul .heateorSssLinkedinSvg,
.heateor_sss_sharing_ul .heateorSssEmailSvg
{
    background: url('/wp-content/themes/rainmakerthinking/dist/images/facebook.png');
    background-position: center center;
    border-radius: 0 !important;
    display: inline-block;
    vertical-align: middle;
    width: 11px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 20px;
}
.heateor_sss_sharing_ul .heateorSssTwitterSvg {
    background-image: url('/wp-content/themes/rainmakerthinking/dist/images/twitter.png');
    width: 31px;
    height: 23px;
}
.heateor_sss_sharing_ul .heateorSssLinkedinSvg {
    background-image: url('/wp-content/themes/rainmakerthinking/dist/images/linkedin.png');
    width: 24px;
    height: 24px;
}
.heateor_sss_sharing_ul .heateorSssEmailSvg {
    background-image: url('/wp-content/themes/rainmakerthinking/dist/images/email.png');
    width: 28px;
    height: 26px;
    margin-right: 10px;
}

/* Homepage Callout Row */
.section-callout {
    background-color: #24b24e;
    padding-bottom: 50px;
    padding-top: 50px;
}

.section-callout h6 {
    text-transform: uppercase;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em
}

.section-callout h2 {
    color: #fff;
    font-weight: 900;
    font-size: 32px;
    margin-bottom: 8px;
    letter-spacing: .02em
}

.section-callout p {
    color: #fff;
    font-size: 16px;
    line-height: 1.56;
    letter-spacing: .02em;
    font-weight: 600;
    padding-bottom: 35px
}

.section-callout .callout__subtitle {
	color: #fff;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 10px;
}

.section-callout .callout__subtitle h3 {
    color: #333;
}

.section-callout .btn+.btn {
    margin-left: 10px
}

.section-callout .section__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 90px
}

.section-callout .section__image {
    width: 34%;
    margin-bottom: -1px
}

.section-callout .section__content {
    width: 66%;
    padding-right: 20px;
    padding-left: 70px
}

@media(max-width: 1023px) {

	.section-callout {
		padding-bottom: 20px;
	}

    .section-callout .section__image {
		display: none;
    }

    .section-callout .section__content {
        width: 100%;
        text-align: center;
        padding: 0 50px 35px
    }

    .section-callout .section__content p {
        padding-bottom: 0
    }

    .section-callout .section__inner {
        padding: 0
    }
}

@media(max-width: 767px) {
    .section-callout h2 {
        font-size:25px;
        line-height: 1.2
    }

    .section-callout .section__content {
        padding: 0 0 25px
    }

    .section-callout .btn {
        display: block;
        margin: 0 auto 10px;
        max-width: 220px
    }

    .section-callout .btn+.btn {
        margin: 0 auto
    }
}

/* HubSpot Forms */
h3.footer-widget__title {
    margin: 0;
    margin-bottom: 18px;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: .1em!important;
    font-weight: 600;
}
.footer-widget form,
.newsletter-banner__input form{
	display: flex;
}
.footer-widget label,
.newsletter-banner__input label{
	display: none;
}
.footer-widget input.hs-input,
.footer-widget input.hs-submit,
.newsletter-banner__input input.hs-input,
.newsletter-banner__input input.hs-submit {
    border: none;
    font-size: 19px;
    color: #9d9b9b;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 12px 105px 12px 14px;
}
.newsletter-banner__input input.hs-input {
    padding: 8px 55px 8px 14px;
}
.footer-widget input.hs-input.invalid.error,
.newsletter-banner__input input.hs-input.invalid.error {
	box-shadow: inset 0 0px 0 2px red;
}
.footer-widget .hs-submit input,
.newsletter-banner__input .hs-submit input {
	border: none;
	margin: 0;
    background-color: #333;
    color: #fff;
    text-transform: uppercase;
    font-size: 19px;
    letter-spacing: .1em;
    font-weight: 600;
    padding: 12px 20px;
    -webkit-transition: background-color .4s;
    -o-transition: background-color .4s;
    transition: background-color .4s;
}
.newsletter-banner__input .hs-submit input {
    padding: 8px 16px;
}
.footer-widget .hs-error-msgs.inputs-list,
.newsletter-banner__input .hs-error-msgs.inputs-list {
	display: none !important;
}
.section-contact input,
.section__form input {
    border: 1px solid #cdcdcd;
    padding: 6px 10px;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
	width: 100%;
}
.section__form input {
	margin-bottom: 10px;
}
.section-contact form fieldset.form-columns-2 > div:first-child,
.section-contact form .hs-phone.hs_phone input {
	margin-right: 2%;
	width: 48%;
}
.section-contact label,
.section__form label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px!important;
    font-family: Raleway,Arial,Helvetica,sans-serif;
    display: block;
}
.section-contact form fieldset {
	margin-bottom: 10px;
	max-width: none;
}
.section-contact fieldset.form-columns-1 .hs-message textarea.hs-input {
	border: 1px solid #cdcdcd;
	height: 150px;
	padding: 6px 10px;
	width: 100%;
}
.legal-consent-container ul li {
	list-style-type: none;
}
.legal-consent-container ul li input {
	border: 1px solid #cdcdcd;
	left: 3px;
	margin-top: 10px;
	margin-right: 10px;
	-webkit-appearance: none;
	padding: 6px;
	position: relative;
	top: 8px;
	vertical-align: bottom;
}
.section-contact input.error,
.section__form input.error {
	border-color: #ff0000;
}
.legal-consent-container ul li input:checked:before {
	content: 'x';
	display: block;
	width: 10px;
	height: 10px;
	top: -3px;
	left: 3px;
	position: absolute;
}
.section-contact .hs-submit .actions input.hs-button,
.section__form .hs-submit .actions input.hs-button {
	border: none;
	margin-top: 20px;
    font-size: 21px;
    color: #fff;
    background-color: #00aeef;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 18px 65px;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
    width: auto;
}
.section-contact .hs-submit .actions input.hs-button:hover,
.section__form .hs-submit .actions input.hs-button:hover {
    background-color: #ef8100;
}
.section-contact .hs-error-msgs.inputs-list,
.section__form .hs-error-msgs.inputs-list {
	display: none !important;
}
@media(max-width: 1023px){
	.footer-widget {
		text-align: center;
	}
	.footer-widget form {
		width: max-content;
	    margin: 0 auto;
	}
}
@media(max-width: 600px){
	.footer-widget input.hs-input,
	.footer-widget input.hs-button {
		font-size: 15px;
	}
	.footer-widget input.hs-input {
		padding-right: 0;
	}
}
@media(max-width: 400px){
	.section-contact form fieldset {
		margin-bottom: 0;
	}
	.section-contact form fieldset.form-columns-2 > div:first-child, .section-contact form .hs-phone.hs_phone input {
		width: 100%;
	}
	.section-contact form .hs-fieldtype-text input {
		margin-bottom: 10px;
		width: 100% !important;
	}
	.section-contact form .hs_recaptcha {
		margin-top: 10px;
	}
}

@media (max-width:767px){
	td.topic-icon {max-width:90px; min-width:40px; margin-right:4px;}
	td.heading h2 {font-size:18px; margin-bottom:0;}
	.section-base td.heading, .section-base td { padding-left:6px;}
}
