

/* BODYSTART ------------------------------------------------- */

.infohide{
/*this hides the telephone field*/
  opacity:0.0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

body{
background-color:var(--body-bg-color);
max-width:var(--main-max-width);
margin:0 auto;
}

body,h1,h2,h3,h4,h5,h6{
font-family: var(--main-txt-font);
}

/*
hr{
    width:80%;
    margin:auto;
}
*/
/* new */

/*image banner for random image used in imageScheduler*/
.bw-imageBanner{
height:300px;
border:2px solid var(--menu-bg-color);
}

.bw-forms{
 background-color:var(--form-bg-color); 
 color:var(--form-txt-color);
 width:var(--form-width);       
 }    
 
/*W3 override buttons for site*/
.bw-button{
/*background-color:var(--button-bg-color);*/
color:var(--link-active-color);
border:1px solid var(--link-active-color);
}
.bw-button:hover{
background-color:var(--button-bg-hover-color) !important;
}

.bw-footer{
color:var(--footer-txt-color);
background-color:var(--footer-bg-color);
} 
/* main content colors */
.bw-main{ 
background-color:var(--main-bg-color);
color:var(--main-txt-color);
} 

 /*masthead parameters*/
 
.bw-mastsec{
font-size:var(--masthead-sec-size);
font-family: var(--masthead-sec-font);
color:var(--masthead-sec-color);
letter-spacing:var(--masthead-sec-space);
}

.bw-mast{ 
color:var(--masthead-txt-color);
font-size:var(--masthead-txt-size);
font-family: var(--masthead-font);
border:var(--border-width) solid blue;
height: var(--masthead-height);
background-color:var(--header-bg-color);
overflow:hidden;
}
.bw-mast img{
/*height: var(--masthead-height);*/
height:100%;
object-fit:contain;
}
/* menubar colors and typography */
.bw-menubar{
font-family:var(--menu-font);
font-size:var(--menu-txt-size);
border:var(--border-width) solid yellow;
background-color:var(--menu-bg-color);
color: var(--menu-color) !important;
}
.bw-menubar a{
text-decoration:none;
color: var(--menu-color)  !important;
background-color:var(--menu-bg-color);
}
.bw-menubar a:hover{
background-color:var(--menu-bg-color) !important;
color:var(--link-hover-color) !important;
} 
    

.bw-link:link {text-decoration: none; color: var(--link-active-color); font-weight: bold;font-size:100%;}
.bw-link:visited {color: var(--link-active-color);}
.bw-link:active {color: var(--link-active-color);}
.bw-link:hover {color: var(--link-hover-color);}

/* ICONS ------------------------------------------------- */

.bw-fa{ /*AWESOME ICONS 5.0*/
border:var(--border-width) solid green;
color:var(--menu-txt-color);
font-size:var(--footer-icon-size);
line-height:var(--footer-icon-size);
padding:2px;
} 

.bw-fa:hover{
color:var(--link-hover-color);
}

/* HORIZONTAL RULE ---------------------------------------------*/

hr{
height:1px;
border-width:0;
color:var(--main-txt-color);
background-color:var(--main-txt-color);
margin:0 auto;
}

/*gallerybox is the main gallery size*/
.bw-gallery-container{
color:var(--main-txt-color);
width:80%;  
margin:0 auto;
}

.bw-gallery-container hr{
   width:80%;
}

.bw-gallerybox{
    display: flex;
    flex-wrap:wrap;
    justify-content: space-evenly;
    border:var(--border-width) solid orange;
    width:100%;
}

.bw-gallerybox img{
max-height:var(--gallery-img-maxheight);/*var(--gallery-img-maxheight);*/     
margin:10px;
object-fit:cover;
cursor:pointer;  
}

.bw-gallerybox img:hover{
  outline: 1px solid var(--link-hover-color);
  outline-offset: -1px;   

}

.bw-slider {
  position:relative;
  width:75%;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  overflow-y:hidden;
  border:var(--border-width) solid green; 
  margin: 0 auto;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.bw-slider::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.bw-slider {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}


.bw-slide{
    display:none;
    overflow:hidden;
    border:var(--border-width) solid red; 
    margin:20px;
}

.bw-slide img{
    width:80%;
    max-width:600px;
    max-height:var(--slide-img-height);
    object-fit: contain;
}

.bw-slide-container{
    background-color:var(--slide-bg-color);
    color:var(--slide-txt-color);

}

.bw-slidePanel{
    display:none;
}
.bw-gCaption{
    font-size:14px;
}

.bw-alertPanel{
    display:none;
    margin:0 auto;
}

.bw-alertPanel img{
   width:50%;
}

/*gallery card for gallery selection page*/

.bw-gallerycard
{
    opacity:0.8;
    cursor:pointer; 
}

/*
.bw-gallerycard:hover{   
 opacity:1.0;   
}

.bw-gallerycard img{
 width:150px;
 height:150px;
 object-fit:cover;
 margin:10px;   
}

.bw-flexbox{
    display: flex;
    flex-wrap:wrap;
    justify-content: center;

}
*/

.bw-masthead-space{
position:relative;
margin-top:140px;   
}

.bw-index-content{
   max-width:600px;
   margin:0 auto;
}

.bw-footer-content{
   max-width:600px;
   margin:0 auto;
   justify-content:center;
   color:var(--main-txt-color);
   background-color:var(--footer-bg-color);
}

.w3-pointer{
    cursor:pointer;
}
/*media adjustments*/


@media screen and (max-width: 800px) {
  .bw-gallerybox img{
    max-width: 30%;
  }
}

@media screen and (max-width: 600px) {
  .bw-gallerybox img{
    max-width: 50%;
  }
}

@media screen and (max-width: 375px) {
  .bw-gallerybox img{
    max-width: 50%;
  }
  
  .bw-forms{
      width:375px;
  }
}