/*
 Theme Name:   Your Theme Child
 Theme URI:    https://example.com/
 Description:  Child theme for header and footer integration
 Author:       Your Name
 Template:     twentytwentythree
 Version:      1.0.0
*/
/* ==========================================================================
   Real Rise OC Header & Navigation Styles
   ========================================================================== */


@font-face {
    font-family: 'mFont';
    src: url('fonts/Montserrat.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'sFont';
    src: url('/fonts/SourceSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove top spacing injected by block theme site-blocks wrapper */
.wp-site-blocks {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure the top element inside .wp-site-blocks has no top margin */
.wp-site-blocks > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body, p, li {
    font-family: 'sFont', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	font-weight: 400 !important;
  	font-style: normal !important;
  	-webkit-font-smoothing: antialiased !important;
}


h1, h2, h3, h4, h5, h6,
.navCell a,
.btn-touch {
    font-family: 'mFont', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}


hr {
	border: none !important;
  	height: 1px !important;
 	background-color: #e2e6e5 !important;
  	width: 100% !important; 
}


a {
	color: #000 !important;
  	text-decoration: none !important;
}

a:hover {
	font-weight: bold !important;
}

a.linkWhite {
	color: #FFF !important;
}


.wp-block-post-excerpt, .wp-block-post-title {
    width: 100% !important;
    box-sizing: border-box !important;
}

.wp-block-post-date {
	fint-size: 14px !important;
	color: #414141 !important;
}

.site-header {
	position: fixed;
	float: left !important;
	width: 96% !important;
	height: 44px !important;
	padding: 10px 2% !important;
	margin:  0 !important;
	font-family: 'sFont' !important;
	z-index: 1000 !important;
}


.navBar {
	width: 96%;
	height: 44px !important;
	padding: 10px 2%;
	background-color: #FFF !important;
}

.navBarCell {
	max-width: 1400px !important;
	margin: 2px auto !important;
}

.logo{
	float: left !important;
	width: 50% !important;
}

.logoImg {
	float: left !important;
	width: 69px !important;
	height: 42px !important;
}

.logoPic {
	width: 69px !important;
	height: 42px !important;
}

.logoText {
	float: left !important;
	margin: 4px 0 0 15px !important;
	font-size: 18px !important;
	font-weight: bold !important;
}


.nav {
	display: none !important;
}


.navPDA {
	float: left;
	width: 10%;
	padding-top: 7px;
	text-align: right;
	cursor: pointer;
}

.navPDAEnv {
    position: absolute;
    top: 64px;
    right: -225px;
    width: 220px;
    background-color: #FFF;
    z-index: 9999;
    box-shadow: -2px 5px 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
}

.navPDAEnv.is-open {
    right: 0;
}

.navPDACell {
	float: left;
	width: 100%;
	padding: 20px;
	border-top: 1px solid #555;
}


.navButton {
	float: left !important;
	width: 40% !important;
	margin-top: 3px !important;
	text-align: right !important;
}


.btn-touch {
    width: 109px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 9px 0 9px 0 !important; 
    margin: 0;
    line-height: 1 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
	font-family: 'sFont', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.btn-touch:hover {
    opacity: 0.85 !important;
    font-weight: bold !important;
}


/* ////////////////////////////////////////////////////////////////////////*/

.XpostMeta {
    width: calc(100%-40px) !important;
	max-width: 1400px !important;
	padding: 0 20px !important;
	margin: 0 auto !important;
}


.footer {
    width: calc(100%-40px) !important;
	max-width: 1400px !important;
	padding: 0 20px !important;
	margin: 0 auto !important;	
}


.footerEnv {
	float: left !important;
	width: 100% !important;
	margin: 40px 0 !important;
	color: #727272 !important;
	font-size: 15px !important;
}



.footerCell {
	float: left !important;
	width: 100% !important;
}


.footerLogo {
	float: left !important;
	width: 100% !important;
	height: 50px !important;
	color: #000 !important;
}


.footerTitle {
	float: left !important;
	letter-spacing: 2px !important;
	margin: 25px 0 7px 0 !important;
}


.footerText {
	float: left !important;
	width: 100% !important;
	line-height: 20px !important;
}



.footerLine {
	float: left !important;
	width: 100% !important;
	height: 3px !important;
	margin-top: 50px !important;  
}

.footerLine hr {
	border: none !important;
  	height: 1px !important;
 	background-color: #e2e6e5 !important;
  	width: 100% !important;  
}



.footerCell3 {
	float: left !important;
	width: 100% !important;
	font-size: 14px !important;
	margin: 10px 0 2px 0 !important;
}

.footerCell4 {
	float: left !important;
	width: 100% !important;
	font-size: 14px !important;
	margin: 0 !important;
}




.taxonomy-post_tag::before {
    content: "Tags: ";
    margin-right: 4px;
}


.wp-block-post-date {
    margin-right: 1.5rem;
}

.taxonomy-post_tag::before {
    content: "Tags: ";
    margin-right: 4px;
}




/* Forces 20px padding/inset on the main blog wrapper across all screens */
main.wp-block-group.is-layout-constrained {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* Ensures the inner query grid respects the 20px boundaries */
.wp-block-query.is-layout-constrained {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}



body.single main.wp-block-group {
    margin-bottom: 250px !important;
}


body.single main#wp--skip-link--target > .wp-block-group {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}



body.single .wp-block-post-title,
body.single .entry-content,
body.single main .is-layout-flex {
    width: 80% !important;
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}


body.single .entry-content > * {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


body.single main .is-layout-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
}







/* Overlay Background */
.form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modal Box */
.modal-container {
  position: relative;
  background: #ffffff;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: #666;
}

.modal-close-btn:hover {
      color: #989898;
}


/* Form Styles */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Error States matched with JS */
.error-msg {
  font-size: 13px;
  font-weight: normal;
}

input.invalid {
  border-color: #e53935;
  background-color: #fff8f8;
}

/* Thank You Box */
.thank-you-message {
  text-align: center;
  padding: 20px 0;
}





    /* Form Layout */
    .contact-form {
		float: left;
		width: 80%;
		margin: 10px 10% !important;
		justify-content: space-between !important;
    }

    .formTitle {
		float: left !important;
		width: 100% !important;
		margin: 20px 0 5px 0 !important;
		font-family: 'sFont', sans-serif !important;
		font-size: 22px !important;
		text-align: center !important;
		color: #00A3FF !important;
		text-transform: uppercase !important;
		letter-spacing: 1px !important;
    }


    .formEnv {
		float: left;
		width: 100% !important;
    }


    .form-group {
		float: left !important;
		width: 100% !important;
		font-size: 14px !important;
		margin-bottom: 10px !important;
    }


    .form-group label {
		display: flex !important;
  		flex-direction: row !important;
  		align-items: center !important;
		width: 100% !important;
		height: 20px !important;
		margin: 0 !important;
		text-transform: uppercase !important;
		text-decoration: none !important;
    }

	.label-text {
	  white-space: nowrap !important;
	}

    /* White Fields with 1px Black Frame */
    .form-group input {
		float: left !important;
		width: 100% !important;
		height: 40px !important;
		border: 1px solid #000000 !important;
		margin-bottom: 0 !important;
		outline: none !important;
		background-color: #FFF !important;
		box-sizing: border-box !important;
    }

    .form-group input:focus {
	    border-width: 2px !important;
    }


    .form-group select {
		float: left !important;
		width: 100% !important;
		height: 40px !important;
		border: 1px solid #000000 !important;
		margin-bottom: 0 !important;
		outline: none !important;
		background-color: #FFF !important;
		box-sizing: border-box !important;
    }

    .form-group textarea {
		float: left !important;
		width: 100% !important;
		height: 80px !important;
		font-size: 14px !important;
		border: 1px solid #000000 !important;
		margin: 0 !important;
		outline: none !important;
		background-color: #FFF !important;
		box-sizing: border-box !important;
		resize: none !important;
    }

	.buttonSubmit {
		float: left !important;
		width: 100% !important;
	}

    /* Submit Button */
    .btn-submit {
		width: 100% !important;
		height: 40px !important;
		margin-top: 12px !important;
		color: #ffffff !important;
		font-size: 14px !important;
		font-weight: bold !important;
		text-transform: uppercase !important;
		cursor: pointer !important;
		border: 1px solid #000000 !important;
		background-color: #000000 !important;
		transition: background-color 0.2s ease !important;
    }

    .btn-submit:hover {
	    background-color: #333333 !important;
    }


    /* Red border on invalid input */
    .form-group input.invalid {
      border: 1px solid #d9534f !important;
      background-color: #fff8f8 !important;
    }


    /* Red error text below input */
    .error-msg {
	  display: inline-block !important;
 	  float: none !important;
      height: 20px !important;
      width: 100% !important;
	  margin: 0 !important;
    }



	.thankYou {
		display: none !important;
		float: left !important;
		width: 100% !important;
		margin-top: 100px !important;
		text-align: center !important; 
	}

    .thankYou h2 {
		float: left !important;
		width: 100% !important;
      	font-size: 26px !important;
		margin-bottom: 12px !important;
		text-transform: uppercase !important;
     }

    .thankYou p {
		float: left !important;
		width: 100% !important;
      	font-size: 15px !important; 
		color: #555 !important; 
		line-height: 1.6 !important;
     }

 








@media only screen and (min-width: 930px) {
	

	.logo{
		float: left !important;
		width: 30% !important;
	}


	.navEnv {
		margin: 0 auto !important;
    }
	
	
	.navButton {
		float: left !important;
		width: 30% !important;
	}


    .nav {
      display: flex !important;
	  float: left !important;
	  width: 47% !important;
	  margin: 6px 0 0 0 !important;
      justify-content: center !important;
      align-items: center !important;
	  box-sizing: border-box !important;
    }


    /* Individual cells */
    .navCell {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      white-space: nowrap !important;
	  font-family: 'sFont' !important;
	  font-size: 16px !important;
	  float: none !important;
      width: auto !important;
    }
	
	.navCell.spacer33 {
        margin-right: 33px !important;
    }

    .navCell a {
	  font-family: 'sFont' !important;
    }
	
	.navPDA {
		display: none;
	}
	
	.navPDAEnv {
		display: none;
	}	
	
	
    .navButton {
        float: left !important;
        width: 23% !important;
        text-align: right !important;
    }
	
	
	.XpostMeta {
		width: 100% !important;
		padding: 0 !important;
	}
	
	
	
	.footer {
		width: calc(100%-80px) !important;
		padding: 0 40px !important;
	}
	
	.footerCell {
		float: left !important;
		width: 25% !important;
	}

	.footerCellSpacer {
		float: left !important;
		margin-right: 12.5% !important;
	}

	.footerTitle {
		height: 50px !important;
		margin: 0 !important;
	}
	
	
	.footerCell3 {
		width: 50% !important;
		margin: 15px 0 !important;
	}

	.footerCell4 {
		width: 50% !important;
		text-align: right !important; 
		margin: 15px 0 !important;
	}


	
}



@media only screen and (min-width: 1300px) { 
	
	
	
	
	
}
