.hide { display: none; } 
.display-none { display: none; } 
.display-block { display: block; } 
.display-inline { display: inline; } 
.display-inline-block { display: inline-block; } 

.position-absolute { position: absolute; } 
.position-fixed { position: fixed; } 
.position-relative { position: relative; } 

#standardPage p { margin-bottom: 24px; } 
#standardPage h1, #standardPage h2, #standardPage h3 { margin-bottom: 12px; } 
#standardPage ul {  margin-bottom: 32px; } 

.float-left { float: left; } 
.float-right { float: right; } 
.clear { clear: both; }
.formsmaxwidth { max-width: 600px; margin:auto; width: 100%; } 
.mb16 { margin-bottom: 16px; } 
.ofh { overflow: hidden; } 
.borderbox { box-sizing: border-box; } 
.simpleview { 
	background: rgba(0,0,0,1); 
	width: 100%; 
	height: 100%; 
	left: 0; 
	top: 0; 
	position: fixed; 
	display: flex;
	z-index: 500; 
	align-content: center; 
	justify-content: center; 
	text-align: center; 
	align-items: center;
	padding: 48px;
	box-sizing: border-box;
	flex-flow: row  wrap;
}

.simpleviewnavprev { position: fixed; left: 8px; top: 48%; z-index: 801; } 
.simpleviewnavnext { position: fixed; right: 8px; top: 48%; z-index: 801; } 
.simpleviewnavclose { position: fixed; right: 8px; top: 8px; z-index: 801; } 
.simpleviewnav .the-icons { font-size: 48px; font-weight: 100;  color: #FFFFFF; text-shadow: none; }   

.sssnavprev { position: absolute; left: 8px; top: 48%; z-index: 801; } 
.sssnavnext { position: absolute; right: 8px; top: 48%; z-index: 801; } 
.sssnav .the-icons { font-size: 27px; font-weight: 100;  color: #FFFFFF; text-shadow: 1px 1px 1px rgba(0,0,0,.7); }   

.photocontainerbg { 
	width: 100%; 
	background-position:50% 50%;
	background-repeat:no-repeat;
	-moz-background-size:cover;
	-o-background-size:cover;
	-webkit-background-size:cover;
	background-size:cover;
	height:100% ;
	left:0;
	position:absolute;
	top:0;
	width:100%; 
} 


.photocontainerbgthumb { 
	width: 100%; 
	background-position:50% 50%;
	background-repeat:no-repeat;
	-moz-background-size:cover;
	-o-background-size:cover;
	-webkit-background-size:cover;
	background-size:cover;
	height:100% ;
	left:0;
	position:absolute;
	top:0;
	width:100%; 
} 
.ratiophoto {} 
.txtovly {  background-color: #000000;  } 
.googlefullmap {    margin: auto;} 
.googlefullmap iframe{  position: absolute;  height: 100%; margin: auto; }

.circlephotodiv {
	border: none;
	border-color: transparent;
	border-radius: 50%;
	width: 100%;
	padding-top: 100%;
	background: white;
	position: relative;
	overflow: hidden;
	margin: auto; 
	-webkit-transform-style: preserve-3d;
	-webkit-transform:translate3d(0,0,0);
	background-clip:  padding-box;
	color: transparent;
} 

.width100vw { border:0; width: calc(100VW - 9px); left: 0; margin-left: calc(-50vw + 50%); position: relative; } 
/* .width100 { width: 100%; position: relative; } */
.maxwidth1400 { width: 100%; max-width: 1400px; margin-left: auto; margin-right: auto; } 
.maxwidth1200 { width: 100%;  max-width: 1200px; margin-left: auto; margin-right: auto; } 
.maxwidth1024 { width: 100%;  max-width: 1024px; margin-left: auto; margin-right: auto; } 
.maxwidth800 { width: 100%;  max-width: 800px; margin-left: auto; margin-right: auto; } 

.photooverlay { width: 100%; height: 100%; background: #000000; opacity: .2; position: absolute; top: 0; left: 0; z-index: 0;display: block; z-index: 2; } 
.videooverlay { z-index: 2; } 
.photofit { overflow: hidden;  } 
.photofit img { display: none;  } 

.pf-image img { display: none; } 

.ssiphotofit { overflow: hidden; } 
.ssiphotofit img { position: absolute; } 

.fullrow { box-sizing: border-box; } 
.fullrowtext { position: absolute; bottom: 30%; text-align: center; width: 100%; } 

.contentrow {  position: relative; line-height:auto; } 

.absolute-center {
	display:-ms-flexbox;
	-ms-flex-pack:center;
	-ms-flex-align:center;
	display:-moz-box;
	-moz-box-pack:center;
	-moz-box-align:center;
	display:-webkit-box;
	-webkit-box-pack:center;
	-webkit-box-align:center;
	display:box;
	box-pack:center;
	box-align:center;
	align-items: center;
}
.verticle-center { align-items: center; } 
.tlink:hover .photodiv,
.tlink:focus .photodiv {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}
.photodiv { transition: transform .3s; } 

.tlink:hover .photofit,
.tlink:focus .photofit {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}
.photofit { transition: transform .3s; } 


.flex { display: flex; } 
.flexrow { flex-flow: row  wrap;justify-content: space-around; } 
.flexrowreverse { flex-flow: row-reverse wrap; }

#contentcontainer { z-index:2; position: relative; } 

.contentrow h1,.contentrow h2,.contentrow h3,.contentrow h4, .contentrow h5, .contentrow h6 { margin-bottom: 16px; } 

.tbutton {  width:100%; max-width: 450px; text-align:center; box-sizing: border-box; display: inline-block; } 

.video-embed-outer {
max-width: 100%;
margin: auto;
width: 100%;
}
.video-embed-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}
.video-embed-container iframe,
.video-embed-container object,
.video-embed-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}


.fixedbg { 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
	box-sizing: content-box;
    -webkit-background-size: 100%; 
    -moz-background-size: 100%; 
    -o-background-size: 100%; 
    background-size: 100%; 
    background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
 }

@media (max-width: 1024px) {
	.fixedbg { background-attachment: scroll; } 
}



.videocontainer { width: 100%; height: auto; margin: auto; text-align: center; }
.videocontainer .video { width: 100%; height: auto; position: relative; } 

.galleryvideo {  

  } 

.video-js-fullscreen {
  width: 100% !important;
  height: 100% !important;
}
/* body{ overflow-x: hidden; }  */

.tophoto { background: #000000; } 
.tomw1024 { max-width: 1024px; left: 50%; margin-left: -512px; width: 100%; box-sizing: border-box; position: absolute; z-index: 2; padding: 0px 16px; } 
.tomw1200 { max-width: 1200px; left: 50%; margin-left: -600px; width: 100%; box-sizing: border-box; position: absolute; z-index: 2;  padding: 0px 16px; } 
.tomw1400 { max-width: 1400px; left: 50%; margin-left: -700px; width: 100%; box-sizing: border-box; position: absolute; z-index: 2; padding: 0px 16px; } 
.tomw1600 { max-width: 1600px; left: 50%; margin-left: -800px; width: 100%; box-sizing: border-box; position: absolute; z-index: 2; padding: 0px 16px; } 
.tomw1800 { max-width: 1800px; left: 50%; margin-left: -900px; width: 100%; box-sizing: border-box; position: absolute; z-index: 2;  padding: 0px 16px;} 


@media (max-width: 1800px) {
	.tomw1800 { margin-left: 0px; left: 0; } 
}
@media (max-width: 1600px) {
	.tomw1600 { margin-left: 0px; left: 0; } 
}
@media (max-width: 1400px) {
	.tomw1400 { margin-left: 0px; left: 0; } 
}
@media (max-width: 1200px) {
	.tomw1200 { margin-left: 0px; left: 0; } 
}
@media (max-width: 1024px) {
	.tomw1024 { margin-left: 0px; left: 0; } 
}

@media (max-width: 800px) {
	.eto { text-align: center !important; }
	.absolute-center { display: block;} 
	.tbutton {  min-width: auto; width: 100%;  } 
	.width100vw { border:0; width: calc(100VW - 9px); left: 0; margin-left: calc(-50vw + 50%); position: relative; } 
}

.contentrow hr { border: 0; margin: auto; width: 100%; background: #444444; height: 2px; max-width: 600px;  } 

.formcol1 { width: 100%; } 
.formcol2 { width: 50%; } 
.formcolinner { padding: 16px; } 
.mathq2 { padding: 2px; width: 24px;  } 

.sshow{
    z-index: 1;
}

/* Magnify classed */
html.magnifying > body {
  overflow-x: hidden !important;
}
.magnify,
.magnify > .magnify-lens,
.magnify-mobile,
.lens-mobile { /* Reset */
  min-width: 0;
  min-height: 0;
  animation: none;
  border: none;
  float: none;
  margin: 0;
  opacity: 1;
  outline: none;
  overflow: visible;
  padding: 0;
  text-indent: 0;
  transform: none;
  transition: none;
}
.magnify {
  position: relative;
  box-shadow: none;
  display: inline-block;
  z-index: inherit;

  position: relative; max-width: 100%;   max-height: 100%;   width: auto;   height: auto;

}
.magnify > .magnify-lens { /* Magnifying lens */
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 0;
  /* Multiple box shadows to achieve the glass lens effect */
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.85),
    0 0 7px 7px rgba(0, 0, 0, 0.25),
    inset 0 0 40px 2px rgba(0, 0, 0, 0.25);
  cursor: none;
  display: none;
  z-index: 1005;

}
.magnify > .magnify-lens.loading {
  background: #333 !important;
  opacity: 0.8;
}
.magnify > .magnify-lens.loading:after { /* Loading text */
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  color: #fff;
  content: 'Loading...';
  font: italic normal 16px/1 Calibri, sans-serif;
  letter-spacing: 1px;
  margin-top: -8px;
  text-align: center;
  text-shadow: 0 0 2px rgba(51, 51, 51, 0.8);
  text-transform: none;
}

/* Pages with 2 colums */

.twocolumns { width: 100%; } 
.twocolumns .leftside { width: 50%; float: left; } 
.twocolumns .rightside { width: 50%; float: left; } 
.twocolumns .leftside .content { margin-right: 48px; margin-bottom: 16px; } 
.twocolumns .rightside .content { margin-left: 48px; margin-bottom: 16px; } 

@media (max-width: 1000px) {
	.twocolumns .leftside { width: 100%; float: none; } 
	.twocolumns .rightside { width: 100%; float: none; } 
	.twocolumns .leftside .content { margin-right: 0px; } 
	.twocolumns .rightside .content { margin-left: 0px; } 
}
