/*

Theme Name: Divi Child Theme
Theme URI: http://www.ir3w.com/
Description: A Custom Child Theme For Divi Theme
Author: Steve Fry
Author URI: http://www.ir3w.com/
Template: Divi
Version: 1.0

*/

/* top header row */

/* menu */



.nav li:hover {
	color: #000;
}
.nav li a:hover {
	color: #000;
}

.nav li ul {
	width: auto;
}
.et-menu li li a {
	width: auto;
	white-space: nowrap;
}
#top-menu li li a {
	width: auto;
	white-space: nowrap;
}

/* sidebars/widgets */



/* home */


/* staff */
.container-staff {
  max-width: 1000px;
  margin: 36px auto 24px;
}
.container-staff #modal-background {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0.75;
  -webkit-opacity: 0.75;
  -moz-opacity: 0.75;
  filter: alpha(opacity=75);
  z-index: 999;
}
.container-staff #modal-background.active {
  display: block;
}
.container-staff .staffpagetitle {
  text-align: center;
}
.container-staff .staffpagetitle h1 {
	font-size: 28px;
	font-weight: 700;
}
.container-staff .staff-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 36px;
}
.container-staff .staff-grid .person-container {
  display: inline-block;
  width: 24%;
  margin: 0;
  text-align: center;
  padding: 0 24px 36px;
}
.container-staff .staff-grid .person-container .person {
  margin: 0;
}
.container-staff .staff-grid .person-container .person:hover {
  cursor: pointer;
}
.container-staff .staff-grid .person-container .person .staffimage {
  width: 80%;
  height: auto;
  border-radius: 50%;
  margin: 0 auto 0 auto;
}
.container-staff .staff-grid .person-container .person .staffname {
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  margin: 0 auto 16px auto;
}
.container-staff .staff-grid .person-container .stafficon {
  max-width: 50px;
  height: auto;
  margin: -100px 0 20px 0;
}
.container-staff .staff-grid .person-container .stafficon img {
  /* max-width: 60px;
  height: auto; */
  border-radius: 50%;
  border: 1px solid #000;
}
.container-staff .staff-grid .person-detail {
  display: none;
  border: 4px solid #0d3d8a;
  background-color: #F2F2F2;
  text-align: left;
  padding: 60px;
  width: 800px;
  height: 600px;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
  z-index: 1000;
}
.container-staff .staff-grid .person-detail.active {
  display: block;
}
.container-staff .staff-grid .person-detail .close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40px' height='40px' viewbox='0 0 40 40'%3E%3Cpath d='M 10,10 L 30,30 M 30,10 L 10,30' stroke='black' stroke-width='4' stroke-linecap='butt' /%3E%3C/svg%3E");
  background-size: 100%;
}
.container-staff .staff-grid .person-detail .close:hover {
  cursor: pointer;
  -webkit-animation: rotating 2s linear infinite;
  -moz-animation: rotating 2s linear infinite;
  -ms-animation: rotating 2s linear infinite;
  -o-animation: rotating 2s linear infinite;
  animation: rotating 2s linear infinite;
}
@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.container-staff .staff-grid .person-detail .staffimagedetail {
  max-width: 150px;
  height: auto;
  border-radius: 50%;
  margin: 0 auto 0 auto;
  position: absolute;
  right: 50px;
  top: -70px;
  /* border: 4px solid #F2F2F2; */
  border: 4px solid #0d3d8a;
}
.container-staff .staff-grid .person-detail .staffnamedetail {
  font-size: 22px;
  font-weight: 700;
}
.container-staff .staff-grid .person-detail .stafftitledetail {
  color: #0d3d8a;
  font-weight: 700;
}
.container-staff .staff-grid .person-detail .staffemail a {
  color: #0d3d8a;
}
.container-staff .staff-grid .person-detail .staffbio {
  padding-top: 24px;
}

.jBox-content {
	text-align: center;
	border: 4px solid #0d3d8a;
	line-height: 1.1em;
	font-size: 14px;
}
.jBox-content h5 {
	font-weight: 700;
	padding: 0;
	margin: 10px 0;
	line-height: 1em;
}
.jBox-Tooltip .jBox-container,
.jBox-Mouse .jBox-container {
	/* border: 1px solid #0d3d8a; */
	border-color: #0d3d8a;
}
.jBox-pointer:after {
	background: #0d3d8a;
	border: 4px solid #0d3d8a;
}

/* privacy */
body.page-privacy-policy .fixlists ol {
  counter-reset:item;
}
body.page-privacy-policy .fixlists ol > li {
	margin: 0 0 1em 0;
	padding: 0 0 0 2em;
	text-indent: -2em;
	list-style-type: none;
	counter-increment: item;
}
body.page-privacy-policy .fixlists ol>li:before {
  display:inline-block;
  width:1.5em;
  padding-right:0.5em;
  font-weight:bold;
  text-align:right;
  content:counter(item) ".";
}
body.page-privacy-policy .fixlists ul {
	list-style-position: outside;
	text-indent:-1em;
	margin-left:1em;
}
body.page-privacy-policy .fixlists ul li {
	list-style-position: inside;
}
body.page-privacy-policy .fixlists ol {
	margin: 1em 0;
}
body.page-privacy-policy .fixlists ul {
	margin: 1em 0 0 0;
}


/* footer */
#footer-bottom {
	display: none;
}
footer a.footerlink {
	color: #fff !important;
}
footer .align-logos {
	float: right;
	display: inline;
}
footer .align-logos div {
	margin-right: 36px;
	display: inline;
}
footer .align-logos div:last-child {
	margin-right: 0;
}

/* plugins */

.cmplz-cookiebanner {
	background-color: #131313;
    z-index: 2999999999;
}
.cmplz-cookiebanner .cmplz-title {
	justify-self: start;
    grid-column-start: span 2;
	font-size: 1.2em;
	font-weight: 700;
	color: #cacaca;
}
.cmplz-cookiebanner .cmplz-close {
	color: #cacaca;
}
.cmplz-cookiebanner .cmplz-body .cmplz-message {
	color: #cacaca;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-title {
	color: #cacaca;
	font-size: 16px;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-description {
	color: #cacaca;
	font-size: 14px;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
	color: #E09900;
	font-size: 14px;
}

.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox .cmplz-label:before {
	background-color: #E09900;
}

.cmplz-cookiebanner .cmplz-buttons button.cmplz-btn {
	margin: 0 24px;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny,
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences {
	background-color: transparent;
	color: #cacaca;
}

.cmplz-cookiebanner .cmplz-links.cmplz-documents {
	display: none;
}

/* plugins - social */
.wp-socializer p {
	font-size: 12px;
	letter-spacing: 1px;
	margin-bottom: 8px;
}
.wp-socializer.wpsr-share-icons {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
	/* padding-top: 1em; */
	padding-bottom: 1em;
}
.sr-fb-title {
	color: #fff;
	font-size: 12px;
}

/* mobile styles */

/* ***** iPad Pro ***** */
@media (max-width: 1025px) {
	.container-staff {
		max-width: 90%;
		margin: 0 auto;
		.staff-grid {
			.person-container {
				width: 32%;
				margin: 0;
				padding: 0 24px 36px;
			}
		}
	}
}

/*  ***** iPad ***** */
@media (max-width: 769px) {

	.footspecial .et_pb_menu__menu {
		display: flex!important;
	}
	.footspecial .et_mobile_nav_menu {
		display: none!important;
	}

}

@media (max-width: 479px) {
	.container-staff {
		.staff-grid {
			.person-container {
				width: 48%;
				margin: 0;
				padding: 0 24px 36px;
				.person-detail {
					display: none;
					padding: 40px;
					width: 100svw;
					height: auto;
					top: 50%;
					left: 50%;
					-webkit-transform: translate(-50%, -50%);
					transform: translate(-50%, -50%);
					.staffimagedetail {
						max-width: 120px;
						height: auto;
						right: 20px;
						top: -60px;
						border: 4px solid #E59D17;
					}
					.stafftitledetail {
						line-height: 1.4em;;
					}
					.staffbio {
						font-size: 14px;
						line-height: 1.6em;
					}
				}
			}
		}
	}
}

/*  ***** iPhones ***** */
@media (max-width: 415px) {

/*
	.et_mobile_nav_menu {
		margin: 0 !important;
	}
*/

	.et_mobile_menu {
/*		left: calc(-50svw + 10px); */
/* left: 0;
		width: 100svw;
width: calc(100svw - 39px - 39px);
*/
		z-index: 999;
	}

	.et_mobile_menu .menu-item {

	}

	.wpsr-follow-icons {
	    z-index: 10 !important;
	}

}
