/* Contact rest. Split from 02a-about.css and page style blocks.
 * Load rest, header-menu, form, footer; replace the original stylesheet.
 */
.background-white {background-color: #ffffff !important;}
.generic-box-wt-800 {max-width: 800px;}
.generic-box-wt-800 {width: 100%; height: auto; text-align: left; margin-left: auto; margin-right: auto; margin-top: 0px; margin-bottom: 20px; padding: 20px; background-color: #ffffff; transition: 0.9s; border-radius: 8px;}
.review-logos {margin-top: 20px; display: block text-align:center; width: 80%; max-width: 200px;}
div.page-wrapper {max-width: 1175px; width: 100%; padding-left: 20px; padding-right: 20px; margin-left: auto; margin-right: auto; margin-top: -10px; margin-bottom: 10px;}
h1.h1-container {line-height: 1em; text-align: center;}
@media only screen and (min-width:851px) {
div.right-content-box {float: right; text-align: left; width: 69%; max-width: 800px; margin-top: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;}
div.h1-container {max-width: 1175px; width: 100%; padding-left: 0; padding-right: 0; margin-left: auto; margin-right: auto; margin-top: -45px; margin-bottom: 10px;}
}
@media only screen and (max-width:850px) {
div.right-content-box {float: left; text-align: left; width: 100%; max-width: 745px; margin-top: 0; padding-top: 0; padding-right: 0; padding-left: 0; padding-bottom: 0;}
div.h1-container {max-width: 1175px; width: 100%; padding-left: 0; padding-right: 0; margin-left: auto; margin-right: auto; margin-top: -25px; margin-bottom: 10px;}
}
@media only screen and (min-width:851px) {
.left-content-box {float: left; width: 26%; text-align: right; padding: 0; margin-left: 0; margin-right: 0; margin-bottom: 0;}
.left-content-box {margin-top: 0;}
}
.one-column-box {width: 100%; max-width: 1300px;}
.one-column-container {padding-top: 5px; padding-bottom: 10px; padding-right: 50px; padding-left: 50px; margin-left: auto; margin-right: auto; margin-top: 20px; margin-bottom: 20px; max-width: 1000px; width: 100%;}
.youtube_wrapper iframe {border: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.youtube_wrapper {position: relative; padding-top: 25px; padding-bottom: 45%; margin-top: 30px; margin-left: auto; margin-right: auto; max-width: 800px; width: 100%; min-height: 230px;}
html, body, div, span, p, h1, a, li {font-size: 102%;}
h1 {color: #2e5683;}
h2 {color: #111111;}
p, li {color: #2b2e30;}
@media only screen and (max-width:750px) {
a, body, div, html, h1, h2, li, p, span {font-family: "Raleway", sans-serif, "open sans", arial !important; font-weight: 300 !important;}
p, li {letter-spacing: 0.05em; font-size: 1.0em; line-height: 1.8em;}
h1 {margin-top: 0; letter-spacing: 0.045em; font-size: 1.9em; line-height: 1.5em;}
h2 {margin-top: 20px; letter-spacing: 0.045em; font-size: 1.5em; line-height: 1.3em;}
h6 {display: none;}
}
@media only screen and (min-width:751px) {
a, body, div, html, h1, h2, li, p, span {font-family: "Raleway", sans-serif, "open sans", arial !important; font-weight: 100 !important;}
p, li {letter-spacing: 0.05em; font-size: 1.0em; line-height: 2.em; color: #303d49;}
h1 {margin-top: 20px; font-weight: 300 !important; letter-spacing: 0.045em; font-size: 1.8em; line-height: 1.6em;}
h2 {letter-spacing: 0.045em; margin-top: 20px; font-size: 1.6em; line-height: 1.6em;}
h6 {display: none;}
}
li {margin-top: 2px;}
li {margin-top: 4px;}
@media only screen and (max-width:3500px) {
ul {list-style-image: url("https://www.bayviewwindows.ca/images_site/bullets/bullet-circle-orange.svg"); list-style-position: outside; line-height: 24px; margin-left: 20px; margin-right: 25px; margin-top: 0px; margin-bottom: 0; padding-left: 20px;}
}
@media only screen and (max-width:500px) {
ul {list-style-image: url("https://www.bayviewwindows.ca/images_site/bullets/bullet-circle-orange.svg"); list-style-position: outside; line-height: 24px; margin-left: 0px; margin-right: 0px; margin-top: 0px; margin-bottom: 10px; padding-left: 15px;}
}
#plus-text-left, #minus-text-left {position: fixed; overflow: hidden; border: none; display: none; text-decoration: none;}
#plus-text-left {left: 1px; bottom: 58px; background: url("https://www.bayviewwindows.ca/images_site/buttons/increase-font-size.svg") no-repeat; background-size: 38px 38px; height: 38px; width: 38px;}
#minus-text-left {left: 1px; bottom: 20px; background: url("https://www.bayviewwindows.ca/images_site/buttons/decrease-font-size.svg") no-repeat; background-size: 38px 38px; height: 38px; width: 38px;}
a#plus-text-left:hover {left: 1px; bottom: 58px; background: url("https://www.bayviewwindows.ca/images_site/buttons/increase-font-size.svg") no-repeat; background-size: 38px 38px; height: 38px; width: 38px;}
a#minus-text-left:hover {left: 1px; bottom: 20px; background: url("https://www.bayviewwindows.ca/images_site/buttons/decrease-font-size.svg") no-repeat; background-size: 38px 38px; height: 38px; width: 38px;}
#resizer {background-color: light-blue; padding-top: 50px; padding-bottom: 1px; padding-right: 1px; padding-left: 1px; margin-top: 0px; margin-bottom: 0px; margin-left: 0; margin-right: 0;}
#toTop_2 {display: none; text-decoration: none; position: fixed; right: 10px; overflow: hidden; border: none; bottom: 30px; background: url("https://www.bayviewwindows.ca/images_site/buttons/page-up.svg") no-repeat; background-size: 38px 38px; height: 38px; width: 38px;}
#toTop_2:hover {display: none; text-decoration: none; position: fixed; right: 10px; overflow: hidden; border: none; bottom: 30px; background: url("https://www.bayviewwindows.ca/images_site/buttons/page-up.svg") no-repeat; background-size: 38px 38px; height: 38px; width: 38px;}
.js-generated {display: block;}
*, *:before, *:after {box-sizing: inherit;}
html, body {height: 100%;}
html {box-sizing: border-box;}
html, body {font-size: 100%;}
body {margin: 0; padding: 0; position: relative; font-family: "Raleway", sans-serif, "open sans", arial;}
.left {float: left !important;}
a:hover {cursor: pointer;}
.clear {clear: both;}
.center {text-align: center;}
.left {text-align: left;}
body {letter-spacing: 0.05em; font-size: 0.95em; line-height: 1.9em; color: #51535a;}
a:link, a:visited, a:active {color: #097cac; text-decoration: none;}
a:hover {text-decoration: none; color: #20abb8;}
.divider-horizontal-wt {height: 7px; margin-bottom: 10px; margin-top: 10px; border-bottom: 1px solid #137baa;}
nav, section {display: block;}
@charset "UTF-8";
h2 {line-height: 35px !important; margin-top: 40px !important;}
.first-h2 {max-width: 400px; margin-top: 15px !important;}
.center-it {margin: auto; display: block; text-align: center;}
.membership-logos {width: 100px; height: 100px;}
.mission-video-reviews {background-color: #344d65 !important; padding: 5px; margin-top: 30px;}
.title-visit {margin-top: 25px;}
body {box-sizing: border-box;}
.modal-overlay {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999;}
.modal-overlay:target {opacity: 1; visibility: visible;}
.modal-content {background: white; padding: 40px 30px 30px 30px; border-radius: 20px; width: 90%; max-width: 420px; position: relative; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,0.2); display: flow-root;}
.modal-content h2 {margin: 0 0 20px 0 !important; font-size: 32px; line-height: 1.2; color: #333; font-family: sans-serif;}
.close-button {position: absolute; top: -15px; right: -15px; width: 36px; height: 36px; background: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.2); transition: transform 0.2s; z-index: 1000;}
.close-button:hover {transform: scale(1.1);}
.close-icon {width: 18px; height: 18px; stroke: #2b5a91; stroke-width: 2.5; stroke-linecap: round;}
.modal-font-1 p {font-size: 16px; line-height: 1.6; color: #444; margin: 0 0 15px 0; font-family: sans-serif;}
h2 {line-height: 35px !important; margin-top: 40px !important;}
.first-h2 {max-width:  400px; margin-top: 15px !important;}
.center-it {margin: auto; display: block; text-align: center;}
.membership-logos {width: 100px; height: 100px;}
.mission-video-reviews {background-color:#344d65 ! important;padding:5px;margin-top: 30px;}
.title-reasons-why {text-align: center; font-size: 18px !important; color: #2e5683 !important; line-height: 23px;margin-bottom: 10px;}
.title-why-bayview {text-align: center; font-size: 35px !important; color: #2e5683 !important;}
.title-visit {margin-top: 25px;}
.caption-why {text-align: left; font-size: 12px !important; line-height: 15px; margin: -10px 0 10px 0;}
.container-why {background: #bad5ee; padding:30px 0 10px 0;margin-top:30px !important;}
.container-a {max-width:1200px;margin:20px auto;padding:0 20px;display:flex;flex-wrap:wrap;justify-content:center; margin-top: 40px;}
.column-a, body {box-sizing:border-box}
.column-a {width:210px;margin:0 10px 20px;padding:20px;border:1px solid #d0dff1;border-radius:8px;text-align:center; background-color: #fff;}
.column-a h3 {margin-top:0}
.column-a img {max-width:100%;height:auto;max-height:200px;border-radius:8px;object-fit:cover}
.column-a img, .column-a p {margin-bottom:10px}
.column-a button {background-color:#4caf50;color:#fff;padding:10px;border:0;border-radius:4px;cursor:pointer}
@media (max-width:768px) {
.column-a {width:calc(50% - 20px)}
}
@media (max-width:480px) {
.column-a {width:100%}
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}
.modal-overlay:target {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: white;
  /* Use explicit padding to control the top gap */
  padding: 40px 30px 30px 30px; 
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  position: relative;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  /* This prevents child margins from collapsing/leaking */
  display: flow-root; 
}
.modal-content h2 {
  margin: 0 0 20px 0 !important; 
  font-size: 32px;
  line-height: 1.2;
  color: #333;
  font-family: sans-serif;
}
.close-button {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  z-index: 1000;
}
.close-button:hover {
  transform: scale(1.1);
}
.close-icon {
  width: 18px;
  height: 18px;
  stroke: #2b5a91;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.modal-font-1 p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 15px 0;
  font-family: sans-serif;
}
