/* Site Effects CSS */
header, nav, article, aside, footer {-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.8);
box-shadow: 0 0 5px 0 rgba(0,0,0,.8);}
article, aside {
  --cutcorner: 15px;
  
  clip-path: 
    polygon(
      0% var(--cutcorner), 
      var(--cutcorner) 0%, 
      calc(100% - var(--cutcorner)) 0%, 
      100% var(--cutcorner), 
      100% calc(100% - var(--cutcorner)), 
      calc(100% - var(--cutcorner)) 100%, 
      var(--cutcorner) 100%, 
      0% calc(100% - var(--cutcorner))
    );
}
article section::before {
content:'';
position:absolute;
top:0;
bottom:0;
left:calc(-50vw + 50%);
right:calc(-50vw + 50%);
background:inherit;
z-index:-1;
}

/* Site CSS */
:root {
--grid-gap: 0px;
--font1: Verdana, sans-serif;
--font2: Verdana, sans-serif;
--font-size: 13px;
--theme_background_1: rgb(152, 193, 217);
--theme_foreground_1: rgb(10, 0, 0);
--theme_background_2: rgb(152, 193, 217);
--theme_foreground_2: rgb(0, 0, 0);
--theme_background_3: rgb(255, 255, 255);
--theme_foreground_3: rgb(0, 0, 0);
--body_foreground: rgb(8, 1, 1);
--body_background: rgb(255, 255, 255);
--block_color_1:var(--theme_background_1);
--block_color_1_alt:var(--theme_foreground_1);
--block_color_2:var(--theme_background_2);
--block_color_2_alt:var(--theme_foreground_2);
}
body {
background-color:rgb(255, 255, 255);
color:rgb(8, 1, 1);
}
main {
max-width:1280px;
margin:0 auto;
}
@media(min-width: 600px) {
main {
margin:1rem auto;
}
}
header {
background-color:rgb(255, 255, 255);
color:rgb(255, 246, 246);
min-height:400px;
}
header div#inner {
height:400px;
}
.header_logo, .header_bar_logo {
background-image:url('https://web-cdn.org/s/146/logos/bims_logo_small-removebg-preview.png?r=5044&maxwidth=1920&maxheight=600');
}
#header_bar {
background-color:rgba(255, 255, 255, 0.79);
color:rgb(0, 0, 0);
}
nav {
font-family:var(--font2);
background-color:rgb(225, 208, 208);
color:rgb(0, 4, 8);
font-size:90%;
}
nav a {
color:rgb(0, 4, 8);
}
nav ul ul {
background-color:rgb(225, 208, 208);
color:rgb(0, 4, 8);
}
nav li:hover, nav li:active, nav li:hover>a, nav li:active>a, nav a.on, nav li.on, #menu_opener:hover::before, nav ul ul li:hover, nav ul ul li:hover>a {
background-color:rgb(154, 152, 152);
color:rgb(254, 254, 254);
}
nav ul {justify-content:center;}
article {
background-color:rgb(255, 255, 255);
color:rgb(0, 0, 0);
-webkit-border-radius:15px;
border-radius:15px;
}
aside {
-webkit-border-radius:10px;
border-radius:10px;
align-self: start;
}
footer {
background-color:rgb(255, 255, 255);
color:rgb(5, 0, 0);
border-top: 1px groove ;
}
footer #site_essentials {
text-align:center;
}
@media(min-width: 780px) {
article section {padding: 1rem 1rem;}
aside section {padding: 1rem 1rem;}
footer section {padding: 1rem 1rem;}
}
section.breadcrumb, section.breadcrumb:nth-child(odd) {
}
section.breadcrumb a {
}
@media(min-width: 1000px) {
.header_heading {align-self:end;justify-self:right;}
.header_subheading {align-self:start;justify-self:start;}
}
/* Individual Sections */
section#block_8245 {
background-color:transparent;
}
section#block_8245::before {background-color:rgb(255, 255, 255);}
section#block_8249 {
background-color:transparent;
}
section#block_8249::before {background-color:rgb(255, 255, 255);}
section#block_8254 {
background-color:transparent;
}
section#block_8254::before {background-color:rgb(255, 249, 249);}
section#block_8529 {
background-color:transparent;
color:rgb(12, 0, 0);
}
section#block_8529::before {background-color:rgb(152, 193, 217);}
section#block_8591 {
background-color:transparent;
color:rgb(17, 1, 1);
}
section#block_8591::before {background-color:rgb(194, 216, 232);}
section#block_8899 {
background-color:transparent;
}
section#block_8899::before {background-color:rgb(194, 216, 232);}
section#block_27642 {
background-color:transparent;
}
section#block_27642::before {background-color:rgb(154, 152, 152);}
section#block_32329 {
background-color:transparent;
}
section#block_32329::before {background-color:rgb(194, 216, 232);}
body#p3617 {}
body#p3619 {}
body#p3622 {}
body#p3627 {}
body#p3628 {}
body#p3629 {}
body#p3631 {}
body#p3644 {}
body#p3645 {}
body#p3647 {}
body#p3715 {}
body#p3733 {}
body#p3735 {}
body#p3911 {}
body#p3914 {}
body#p4871 {}
body#p4983 {}
body#p5011 {}
body#p11862 {}
body#p14092 {}
body#p14168 {}
body#p15337 {}
/* Custom CSS */
@media(min-width: 1025px) {
main.desktop_layout8 {
grid-template-columns:250px 1fr 1fr 1fr 1fr 1fr;
}
.desktop_layout8 nav.desktop_nav_2 .sub_menu {
width:auto;
min-width:15ch;
}
}


/* adjust width of aside to 1fr+1vw */
@media(min-width: 1600px) {
	body.width_1280 main {
		grid-template-columns: repeat(5, 1fr) 1vw;
	}
}

/*reduce height of very tall images in popups*/
.fancybox-inner .image_border {
max-height:400px;
}
