/* WordPress / Contact Form 7 additions. Nothing here changes the original design. */

/* Images never stretch: keep their ratio on every screen. */
img{max-width:100%;height:auto;}
.ws_images img,#wowslider-container1 img{height:auto;}
/* Content images had fixed heights typed in the old editor (e.g. height:375px) - they stretched on phones. */
.right-data img,.white-cont > img,.white-cont p img,.nws-post img,.member-text img,.sponsor-new-text img{height:auto!important;}

/* About page inner slider: same box size as before, but photos are cropped instead of squashed. */
#wowslider-container2 .ws_images img,#wowslider-container2 .ws_effect img{object-fit:cover;}

/* No sideways scrolling on phones/tablets. */
html,body{max-width:100%;overflow-x:hidden;}
.right-data,.white-cont,.nws-post li{overflow-wrap:break-word;word-wrap:break-word;}
.right-data table,.white-cont table{max-width:100%;}
.right-data iframe,.white-cont iframe{max-width:100%;}

/* WordPress core classes used in content. */
.alignleft{float:left;margin:0 20px 10px 0;}
.alignright{float:right;margin:0 0 10px 20px;}
.aligncenter{display:block;margin-left:auto;margin-right:auto;}
.wp-caption{max-width:100%;}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;}

/* Menu ul printed by WordPress. */
#button-menu{margin:0;}

/* Footer logo (only shown if set in WAPPA Settings). */
.about-site .footer-logo img{max-width:160px;height:auto;display:block;}

/* ---------- Contact Form 7 inside the original .cont-wappa box ---------- */
.cont-wappa .wpcf7{float:left;width:100%;}
.cont-wappa form .row{position:relative;float:left;width:100%;}
.cont-wappa .wpcf7-form-control-wrap{float:left;width:100%;margin:0;font-size:inherit;color:inherit;}
.cont-wappa textarea.wpcf7-textarea{height:100px;} /* CF7 adds rows="10"; the old box was 100px tall. */
.cont-wappa .wpcf7-not-valid-tip{display:none;} /* Old-style messages are shown in .vali instead. */
.cont-wappa .wpcf7-not-valid{border:1px solid #FF0000!important;}
.cont-wappa .wpcf7-spinner{display:none;}
.cont-wappa .wpcf7-response-output{float:left;width:100%;box-sizing:border-box;margin:10px 0 0!important;font-family:'Montserrat';font-size:13px;color:#D0021B;border-color:#D0021B!important;}
.cont-wappa .wpcf7 form.sent .wpcf7-response-output{color:#01744F;border-color:#01744F!important;}

/* Newsletter checkbox: same sprite as the old .css-checkbox. */
.cont-wappa .wpcf7-checkbox,.cont-wappa .wpcf7-list-item,.cont-wappa .wpcf7-list-item label{float:left;width:auto;margin:0;font-size:14px;}
.cont-wappa .wpcf7-list-item input[type=checkbox]{position:absolute;opacity:0;width:1px;height:1px;}
.cont-wappa .wpcf7-list-item-label{float:left;width:auto;margin-bottom:10px;padding-left:33px;height:25px;line-height:28px;background:url(../images/checkbox.webp) no-repeat 0 1px;color:#01744F;font-size:14px;font-family:'Montserrat';cursor:pointer;-webkit-user-select:none;user-select:none;}
.cont-wappa .wpcf7-list-item input[type=checkbox]:checked + .wpcf7-list-item-label{background-position:0 -25px;}
.cont-wappa .wpcf7-list-item input[type=checkbox]:focus-visible + .wpcf7-list-item-label{outline:1px dotted #01744F;}

/* Submit button locked while sending. */
.cont-wappa input[type=submit][disabled]{opacity:.5;cursor:wait;}
