/*
Theme Name: Custom Theme
Author: Steven Crocker, SmartTouch Interactive.
Version: 1.0
Requires at least: 6.0
Requires PHP: 8.0
*/

@media (max-width: 480px) {
	p{font-size:14px;}
	h1{font-size:24px;}
	h2{font-size:22px;}
}

@media screen and (min-width: 481px) and (max-width: 1813px) {
	p{font-size:18px;}
	h1{font-size:28px;}
	h2{font-size:26px;}
}

.stage-grid{}
.stage-card .smarttouch-block{position:relative !important;isolation:isolate !important;overflow:hidden !important;min-height:472px !important;padding:16px !important;display:flex !important;align-items:center !important;justify-content:center !important;background:#333 !important;color:#fff !important;text-align:center !important;  box-shadow: 0 5px 14px rgba(0, 0, 0, .17);}
.stage-card .smarttouch-block .wp-block-smarttouch-image{position:absolute !important;inset:0 !important;z-index:0 !important;width:100% !important;height:100% !important;object-fit:cover !important;transition:opacity .4s ease !important;}
.stage-card .smarttouch-block .wp-block-smarttouch-image .smarttouch-image{height:100%;}
.stage-card .smarttouch-block::before{content:"";position:absolute;inset:0;z-index:1;background-size:cover;background-position:center;background-repeat:no-repeat;opacity:0;transition:opacity .4s ease;pointer-events:none}
.stage-grid .stage-card:nth-child(6n + 1) .smarttouch-block::before{background-image:url("images/bg_slate_blue.jpg")}
.stage-grid .stage-card:nth-child(6n + 2) .smarttouch-block::before{background-image:url("images/bg_army_green.jpg")}
.stage-grid .stage-card:nth-child(6n + 3) .smarttouch-block::before{background-image:url("images/bg_burgundy.jpg")}
.stage-grid .stage-card:nth-child(6n + 4) .smarttouch-block::before{background-image:url("images/bg_dark_charcoal.jpg")}
.stage-grid .stage-card:nth-child(6n + 5) .smarttouch-block::before{background-image:url("images/bg_moss_green.jpg")}
.stage-grid .stage-card:nth-child(6n) .smarttouch-block::before{background-image:url("images/bg_burnt_orange.jpg")}
.stage-grid .stage-card .smarttouch-block::after{content:"";position:absolute;inset:0;z-index:2;background:rgba(0,0,0,.35);transition:background .4s ease;pointer-events:none}
.stage-card h2{color:#fff !important; position:relative;z-index:3;margin:0 0 15px 0;transition:opacity .3s ease}
.stage-card .stage-hover-content{position:absolute;z-index:3;inset:0; padding:30px; display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:0;transform:translateY(12px);transition:opacity .35s ease,transform .35s ease;pointer-events:none}
.stage-card .stage-hover-content h3{margin:0 0 12px;font-size:26px; color:#fff !important;}
.stage-card .stage-hover-content p{margin:0; font-size:18px;}
.stage-card .wp-block-smarttouch-button{position:absolute;z-index:4;bottom:35px;left:50%;transform:translateX(-50%);}
.stage-card .wp-block-smarttouch-button a {background: inherit !important; border: 0; width: 155px; max-width: 155px; margin: 0 auto; cursor: default;}
.stage-card .wp-block-smarttouch-button a span{padding:3px 24px;border:1px solid #fff;background:none;color:#fff;font:inherit;cursor:pointer;white-space:nowrap; font-size:16px; font-weight:normal; letter-spacing: 0.05em; border-radius: 50px; text-transform: uppercase; transition:background .3s ease,color .3s ease;}
.stage-card .smarttouch-block:hover::before,.stage-card .smarttouch-block:focus-within::before{opacity:1}
.stage-card .smarttouch-block:hover::after,.stage-card .smarttouch-block:focus-within::after{background:rgba(0,0,0,.0)}
.stage-card .smarttouch-block:hover>img,.stage-card .smarttouch-block:focus-within>img{opacity:0}
.stage-card .smarttouch-block:hover h2,.stage-card .smarttouch-block:focus-within h2{opacity:0 !important}
.stage-card .smarttouch-block:hover .stage-hover-content,.stage-card .smarttouch-block:focus-within .stage-hover-content{opacity:1;transform:translateY(0)}
.stage-card .smarttouch-block:hover .wp-block-smarttouch-button,.stage-card .smarttouch-block:focus-within .wp-block-smarttouch-button{opacity:0 !important}


@media (max-width: 480px) {
	.stage-card .smarttouch-block{min-height:410px !important;}
}

@media screen and (min-width: 481px) and (max-width: 1319px) {
.stage-card .smarttouch-block{min-height:510px !important;}
}

.bgmossgreen{ 
background:url("images/form-fill-bottom.jpg");
background-size: 100% 100%;
background-repeat: repeat-y;
}

.armistead-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 32px;
}

.armistead-form{
	z-index:4;
}

.armistead-field {
    position: relative;
    min-width: 0;
    height: 30px;
    margin: 0;
    padding: 0;
}

.armistead-field input {
    display: block;
    width: 100%;
    height: 30px;
    min-height: 30px;
    margin: 0;
    padding: 7px 0 3px;
    border: 0;
    border-bottom: 1.5px solid #485F6F;
    border-radius: 0;
    outline: none;
    background: transparent;
	border-bottom: solid 2px #999999!important;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    box-shadow: none;

    transition: border-color 0.3s ease,
                border-width 0.3s ease;
}
.armistead-field input::placeholder{font-size: 18px !important;}

.armistead-field label {
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    margin: 0;
    padding: 0;
    
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    pointer-events: none;
    transform-origin: left center;

    transition: top 0.3s ease,
                font-size 0.3s ease,
                color 0.3s ease;
}

.armistead-field input:focus + label,
.armistead-field input:not(:placeholder-shown) + label {
    top: -12px;
    font-size: 11px;
    
}

.armistead-field input:focus {
    border-bottom: 2px solid #485F6F;
    outline: none;
    box-shadow: none;
}

.armistead-field input::placeholder {
    color: transparent;
}

.armistead-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 0px;
    padding: 0;
}

.armistead-form-meta .armistead-realtor {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer;
    pointer-events: auto;
}

.armistead-realtor input[type="checkbox"] {
    display: inline-block;
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    min-height: 12px;
    margin: 0;
    padding: 0;
    accent-
    cursor: pointer;
}

.armistead-required {
    
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.armistead-form-tagline {
    margin: 22px 0 24px;
    padding: 0;
    
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.armistead-form-submit {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.armistead-form-submit button {
    display: inline-block;
    width: auto;
    min-width: 300px;
    min-height: 0;
    margin: 0;
    padding: 11px 28px;
    border: 1.5px solid #485F6F;
    border-radius: 40px;
    background-color: #fff;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.25s ease,
                color 0.25s ease;
}

.armistead-form-submit button:hover {
    border-color:#485F6F;
    background-color:#485F6F;
    color: #fff;
}

@media (max-width: 480px) {

    .armistead-form-section {
        padding: 20px 16px;
    }

    .armistead-form-container h1 {
        font-size: 27px;
    }

    .armistead-form-container h2 {
        margin-top: 5px;
        margin-bottom: 16px;
        font-size: 27px;
    }

    .armistead-form-description {
        margin-bottom: 28px;
        font-size: 16px;
    }

    .armistead-form-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 32px;
    }

    .armistead-form-meta {
        margin-top: 21px;
    }

    .armistead-form-tagline {
        margin: 26px 0 22px;
        font-size: 17px;
    }

    .armistead-form-submit button {
		width: 100%;
		min-width: 0;
		max-width: 200px;
		padding: 8px 10px;
		font-size: 12px;
    }
}

#armistead-mailchimp-top .mc-field-group, #armistead-mailchimp-bottom .mc-field-group {
  margin-bottom: 18px;
}
#armistead-mailchimp label,
#armistead-mailchimp legend {

}
#armistead-mailchimp input[type="text"],
#armistead-mailchimp input[type="email"],
#armistead-mailchimp input[type="tel"],
#armistead-mailchimp select {

}
#armistead-mailchimp-top .mc-name-row, #armistead-mailchimp-bottom .mc-name-row,
#armistead-mailchimp-top .mc-address-row, #armistead-mailchimp-bottom .mc-address-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:0 30px;
}
#armistead-mailchimp-top .mc-choice, #armistead-mailchimp-bottom .mc-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0px 0;
  width: 60px;
}
#armistead-mailchimp-top .mc-choice label, #armistead-mailchimp-bottom .mc-choice label {
  display: inline;
  margin: 0;
  font-weight: 400;
  font-size:14px;
}
#armistead-mailchimp-top .mc-choice input, #armistead-mailchimp-bottom .mc-choice input {
  margin: 0;
  width: 20px;
  height:20px;
}
#armistead-mailchimp-top .mc-section-title, #armistead-mailchimp-bottom .mc-section-title {
  margin: 0px 0 0px;
  font-size: 14px;
  font-weight: 700;
}
#armistead-mailchimp-top .mc-help, #armistead-mailchimp-bottom .mc-help {
  margin: 0 0 14px;
  line-height: 1.5;
}
#armistead-mailchimp-top .mc-submit, #armistead-mailchimp-bottom .mc-submit {
text-transform: uppercase;
}
#armistead-mailchimp-top .mc-submit:hover, #armistead-mailchimp-bottom .mc-submit:hover {
  background: #40596b;
}
#armistead-mailchimp-top .mc-required, #armistead-mailchimp-bottom .mc-required {
  color: #a32626;
}
#armistead-mailchimp-top .mc-response, #armistead-mailchimp-bottom .mc-response {
  margin: 12px 0;
}
@media (max-width: 520px) {
  #armistead-mailchimp-top .mc-name-row, #armistead-mailchimp-bottom .mc-name-row,
  #armistead-mailchimp-top .mc-address-row, #armistead-mailchimp-bottom .mc-address-row {
    grid-template-columns: 1fr;
  }
}
.mrgbtm{margin-bottom:20px;}
.checkbox-row{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 15px;
    row-gap: 10px;
	font-size: 18px;
}
.checkbox {
    position: relative;
    min-width: 100%;
    height:inherit;
    margin: 0;
    padding: 0;
}
#armistead-mailchimp-top .checkbox input, #armistead-mailchimp-bottom .checkbox input {
    margin: 0;
    width: 20px;
	height:20px;
}
#armistead-mailchimp-top .checkbox label, #armistead-mailchimp-bottom .checkbox label {
    margin-left: 30px;
    margin-top: 15px;
}
.no-meta{justify-content: inherit; gap:20px;}
.justy-meta {
    justify-content: center;
}
.armistead-field select {
    display: block;
    width: 100%;
    height: 30px;
    min-height: 30px;
    margin: 0;
    padding: 7px 0 -1px;
    border: 0;
    border-bottom: 1.5px solid #485F6F;
    border-radius: 0;
    outline: none;
    background: transparent;
    border-bottom: solid 2px #999999 !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    box-shadow: none;
    transition: border-color 0.3s ease, border-width 0.3s ease;
}
.armistead-field select option{
	font-family:var(--wp--preset--font-family--google-sans-flex-24-pt);
}

@media (max-width: 520px) {
#armistead-mailchimp-top .mc-section-title, #armistead-mailchimp-bottom .mc-section-title {font-size: 14px;}
.no-meta {gap: 18px;}
#armistead-mailchimp-top .mc-choice input, #armistead-mailchimp-bottom .mc-choice input {width: 15px; height: 15px;}
#armistead-mailchimp-top .mc-choice label, #armistead-mailchimp-bottom .mc-choice label {font-size: 14px;}
#armistead-mailchimp-top .mc-help, #armistead-mailchimp-bottom .mc-help {font-size: 14px;}
.checkbox-row {display:block;}
}