#ajaxpanel {
	position: absolute;
	top: 215px;
	width: 100%;
	height: 100%;
	z-index: 100;
}

/* Grid Container */
.container {
	background: transparent;
	margin: 0px auto;
}
.zone {

}

.u130 {
	width: 100%;
	min-height: 30px;
	margin: 0 auto;
	max-width: 1800px;
}
.row {
	padding-bottom: 10px;
	margin: 0;
}
@media (min-width: 768px) {
	.divider {
		border-right: solid 1px black;
		min-height: 490px;
	}
}
@media (max-width: 767px) {
	.pad-xs-none {
		padding-left: 0;
		padding-right: 0;
	}
	.divider {
		padding-bottom: 20px;
		margin-bottom: 30px;
		border-bottom: solid 1px black;
	}
}
.news {
	margin-left: 10px;
}
/*
.news h3 {
	font-weight: bold;
}
*/
.news h4 {
	font-weight: bold;
	text-decoration: underline;
}
.news ul li {
	font-size: 16pt;
}
@media (min-width: 768px) {
	.divider-left {
		border-left: 1px solid black;
	}
}
@media (max-width: 767px) {
	.divider-left {
		border-top: 1px solid black;
		padding: 10px 5px 0 5px;
		margin: 10px;
	}
}
.spaced {
	padding-top: 0px;
}
.search-container {
	float: right;
	box-shadow: 3px 3px 8px grey;
	background-color: white;
}
.search-container button {
	padding: 6px 6px 6px 3px;
	background: #ddd;
	font-size: 17px;
	border: none;
	cursor: pointer;
}
.search-container button:hover {
  background: #ccc;
}
.search-container input[type="text"] {
    padding: 6px;
    font-size: 17px;
    border: none;
}
#menu-mdlg {
	float: right;
}

@media (max-width: 767px) {
div.pnlcell {
	max-height: 550px;
	}
}
div.pnlhome {
	position: relative;
	width: 100%;
	padding-top: 110%; /* Aspect Ratio */
	margin-bottom: 30px;
}
div.pnlindex {
	position: relative;
	width: 100%;
	padding-top: 150%; /* Aspect Ratio */
	margin-bottom: 30px;
}
.pnlinner {
	font-size: 14px;
	/* Aspect Ratio */
	position:  absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow: hidden;
}
.pnlinner:hover {
	text-decoration: underline;
	cursor: pointer;
}
.pnlinner h3 {
	margin-top: 0;
	font-size: 22px;
	color: #1b50a1;
}

.pnlindex-view {
	float: right;
}

/* footer socials and tolmedia */
.fa {
	padding: 2px 3px;
	margin-left: 5px;
	width: 24px;
	height: 24px;
	text-align: center;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 50%;
	color: white;
	font-size: 14px;
}
.fa-big {
	width: 34px;
	height: 34px;
	font-size: 24px;
}
.fa-facebook {
	background: #3B5998;
}
.fa-instagram {
	background: #f09433; 
	background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
	background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
	background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}
.fa-vimeo {
 	background: #45bbff;
}
.fa-twitter {
	background: #55ACEE;
}
.fa-mail-forward,
.fa-envelope {
	background: #888888;
}
.fa-linkedin {
	background: #007bb5;
}
.fa-pinterest {
	background: #e60023;
}
.tolmedia a {
	color: #ff8263;
	font-family: helvetica, sans-serif;
	font-weight: bold;
	padding: 3px;
}
.tolmedia a:hover {
	text-decoration: none;
	border-radius: 50%;
	background-color: black;
}
/* end footer socials and tolmedia */

img {
	max-width: 100%;
}
h1.title {
	margin-top: 0;
	margin-bottom: 0;
}

/* template image and text handling */
div.tcdedt {
	margin-top: 10px;
	min-height: 10px;
	width: 100%;
	display: inline-block;
}
div.tcdedl {
	margin-top: 10px;
	}
div.tcdedl ul {
	min-height: 30px;
	padding: 0;
}
@media (max-width: 400px) {
	div.tcdedp, div.tcdedt, , div.tcdedc{
		font-size: 18px;
	}
}
div.tcdedp {
	max-width: 400px;
	margin: 0 auto;
}
div.tcdedp div.p, div.tcdedt div.p, div.tcdedc div.p {
	display: inline-table;
	margin: 0 0 2px 0;
	line-height: 1.5;
}
div.tcdedp div.p:nth-of-type(1) {
	max-width: 80%;
}
div.tcdedp div.p:nth-of-type(2) {
	float:right;
	color: #1b50a1;
}
div.tcdedb {
	padding: 5px 10px;
	/* text-align: center; */
}
div.tcdedh {
	font-size: 27px;
	padding-top: 25px;
}
div.tcdimh, div.tcdimf, div.tcdimc, div.tcdimg {
	padding-top: 10px;
}
div.tcdedc {
	padding-top: 10px;
	width: 100%;
}
div.tcdimh img {
	padding-top: 8px;
}
div.tcdimf img {
	margin-bottom: 8px;
}
@media (min-width:768px) {
	div.zone div.tcdedc {
		max-width: 50%;
		float: left;
		padding-right: 10px;``
	}
	div.zone div.tcdimh, div.zone div.tcdimf, div.zone div.tcdimc {
		max-width: 50%;
		float: left;
		padding-right: 10px;
	}
	div.zone div.half-width {
		max-width: 50%;
	}
	div.zone div.two-thirds-width {
		max-width: 100%
	}
	.new-row-2 {
		 clear: left;
	}
}
@media (min-width:992px) {
	div.zone div.tcdedc {
		max-width: 33.3%;
		float: left;
		padding-right: 10px;
	}
	div.zone div.tcdimh, div.zone div.tcdimf, div.zone div.tcdimc {
		max-width: 33.3%;
		float: left;
		padding-right: 10px;
	}
	div.zone div.quarter-width {
		max-width: 25%;
	}
	div.zone div.half-width {
		max-width: 50%;
	}
	div.zone div.two-thirds-width {
		max-width: 66%
	}
	.new-row-3 {
		 clear: left;
	}
}
@media (max-width:767px) {
	div.tcdimf img, div.tcdimh img, div.tcdimc img {
		max-width: 100%;
	}
	div.quarter-width {
		max-width: 80%;
		margin: 10px auto;
	}
}
div.tcdimf p, div.tcdimh p {
	margin-top: 10px;
	font-size: inherit;
}
.pnlinner > div[class^="tcd"] {
	max-width: 100%;
	padding: 0;
	float: none;
}
.new-row {
 	clear: left;
}
/* end of image template handling */
div.date-in-past {
	text-decoration: line-through;
}
div.round-corners * {
	border-radius: 6px;
}
div.elliptic * {
	border-radius: 50%;	
}
div.thin-border > * {
	border: 2px solid black;
	background-color: #fff;
}
div.thin-border > *:not(img) {
	padding: 5px 8px;
}
div.thick-border > * {
	border: 5px solid black;
	background-color: #fff;
}
div.thick-border > *:not(img) {
	padding: 5px 8px;
}
div.tiny-size img {
	max-height: 100px;
}
div.mini-size img {
	max-height: 150px;
}
div.small-size img {
	max-height: 225px;
}
div.qanda li {
	list-style:none;
}
div.qanda li:nth-child(odd):before {
	content:"Q: ";
	font-weight: bold;
	margin-left: -2ch;
}
div.qanda li:nth-child(even):before {
	content:"A: ";
	font-weight: bold;
	margin-left: -2ch;
}
div.qanda li:nth-child(even) {
	margin-bottom: 10px;
}
div.right-align {
	float: right;
}
div.right-align-end:after {
	clear: both;
}
div.center-align {
	text-align: center;
}
div.share-row {
	display: inline-table;
	margin-right: 10px;
}
div.card {
    display: flex;
    flex-direction: column;	
}
div.card * {
	flex: 1 1 auto;
}
.white-on-black {
	background-color: black;
	color: white;
}
div.list-no-dots div.p ul {
	list-style-type: none;
}
div.list-as-paras div.p ul {
	list-style-type: none;
	padding-inline-start: 0;
}
div.list-as-paras div.p ul>li {
	padding-bottom: 15px;
}
div.list-as-paras div.p ul>li:last-child {
	padding-bottom: 0;
}

.shadowed {
	-webkit-box-shadow: 3px 3px 6px 2px gray;
	-moz-box-shadow: 3px 3px 6px 2px gray;
	box-shadow: 3px 3px 6px 2px gray;
}
.small .p {
	font-size: 13px;
}
ul.errormenu {
	font-size: 16px;
}
/* contact form */
.postform, .tmcard, .placemap {
	margin: 0 auto;
	margin-bottom: 20px;
	border-radius: 5px;
}
.postform, .tmcard {
	padding: 20px;
	color: black;
	background-color: silver;
}
.postform h4 img { /* bullet gifs */
	vertical-align: bottom;
	margin-bottom: -5px;
}
.postform fieldset div input[type="text"] {
    border: 1px solid grey;
    padding: 0 7px 0 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	-khtml-border-radius: 5px 5px 5px 5px;
	border-radius: 5px;
	width: 100%;
	max-width: 250px;
}
.postform fieldset div textarea {
    border: 1px solid grey;
    padding: 0 7px 0 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	-khtml-border-radius: 5px 5px 5px 5px;
	border-radius: 5px;	
	width:100%;
}
div.tmcard img {
	width: 100%;
}
@media (max-width: 767px) {
	.postform, .tmcard  {
		margin-bottom: 20px;
		padding: 20px;
		font-size: 16px;
	}
}
@media (max-width: 992px) {
	.postform {
		padding: 10px 2px;
	}
	.tmcard, .postform {
		max-width: 550px;
	}
}
@media (min-width: 768px) {
	.tmcard {
		font-size: min(17px,calc(0.8rem + 0.7vw));
	}
}
.postform .labelcol {
	text-align: right;
	padding-right: 0;
}	
.postform .formerror {
	display:block;
	color: darkred;
}
.postform #captcha {
	width: 50px;
	margin-left: 5px;
}
.bulletchr {
	color: cornflowerblue;
	background: black;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	display: inline-block;
	font-weight: bold;
	line-height: 1.7em;
	width: 1.7em;
	margin-right: 5px;
	vertical-align: baseline;
	text-align: center;
	padding-top: 0px;
}
#sendbtn {
	font-weight: bold;
}
/* end contact form */
div.pageturn {
	float: right;
	margin-right: 15px;
}
/* login form */
.loginform {
	background-color: #cccccc;
	border-radius: 8px;
}
.loginform form .btn {
	background-color: darkblue;
	color: white;
}
.loginform {
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	margin-top: 50px;
	overflow: auto;
	font-size: 18px;
	padding: 20px;
}
.loginform a {
	margin-top: 10px;
	float:left;
}
.loginform form {
	width: 100%;
	background-color: #cccccc;
	border-radius: 8px;
/* 	box-shadow: 4px 4px 4px black; */
}
.loginform .msg {
	margin-top: 10px;
	float: left;
	width: 100%;
}
.loginform .red {
	color: red;
}
.loginform .ttl {
	margin-bottom: 15px;
	display: block;
}
.loginform .lbl {
	display: inline-block;
	width: 130px;
	margin-top: 10px;
}
.loginform input {
	margin-left: 30px;
	width: 200px;
	line-height: 22px;
}
@media (min-width:440px) {
	.loginform .lbl {
		text-align: right;
	}
	.loginform input {
		margin-left: 10px;
	}
}
.loginform input[type="submit"],
.loginform input[type="button"] {
	margin-top: 20px;
	font-size: 18px;
	width: 100px;
	padding-top: 6px;
	padding-left: 13px;
	-webkit-appearance: button;
	cursor: pointer;
}
.loginform input[type="submit"]:hover {
	box-shadow: 1px 1px 2px black;
}
.loginform input[type="submit"]:active {
	box-shadow: -1px -1px 2px black;
	padding-top: 7px;
	padding-left: 14px;
}
/* end login form */

/* toggle switch */
.switch {
	position: relative;
	display: inline-block;
	width: 58px;
	height: 32px;
}
.switch input { 
	opacity: 0;
	width: 0;
	height: 0;
}
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: silver;
	height: 28px;
	border-radius: 8px;
	-webkit-transition: .4s;
	transition: .4s;
}
.slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 5px;
	bottom: 4px;
	border-radius: 50%;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}
input:checked + .slider {
	background-color: #474741;
}
input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
	background-color: aqua;
}
input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}
/* end toggle switch */

/* pop-up video */
div.tcdimv, div.tcdimd {
	position: relative;
	margin-left: 15px;
	margin-top: 15px;
}
.tcdimv img, .tcdimd img {
	width: 100%;
	max-width: 330px;
	z-index: 50;
	cursor: pointer;
	border-radius: 8px;
}	
div.tcdimv img:nth-of-type(1),
div.tcdimd img:nth-of-type(1) {
	position: relative;
	top: 0;
	left: 0;
}
div.tcdimv img:nth-of-type(2),
div.tcdimd img:nth-of-type(2) { /* for 'play' overlay img */
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: auto;
	opacity: 0.5;
}
div.tcdimv img:nth-of-type(2):hover,
div.tcdimd img:nth-of-type(2):hover {
		opacity: 1.0;
}
#video {
	display: none;
	position: fixed;
	top: 10%;
	left: 3%;
	z-index: 109; /* over cms dialog */
	overflow: visible;
	height: 80%;
	width: 94%;
	background-color: #fefde6;
	border: 4px solid #060769;
}
#vframe {
   position: absolute;
   top: 1%;
   left: 1%;
   bottom: 1%;
   right: 1%;
   height: 98%;
   width: 98%;
   text-align: center;
   font-size: 20px;
   color: white;
}
#vclose {
  position: absolute;
  right: 2px;
  top: 2px;
  z-index: 110;
}
/* end video */

/* non-image close btn */
.xclosebtn {
  cursor: pointer;
  border-radius: 3px;
  border: 2px solid silver;
  background: silver;
  font-size: 31px;
  font-weight: bold;
  color: inherit;
  display: inline-block;
  line-height: 0px;
  padding: 12px 3px 12px 3px;
}
.xclosebtn:before {
  content: "×";
}
.xclosebtn:hover {
  color:white;
  text-decoration: none;
}
/* end non-image close btn */
