html, body {
	font-family: 'Open Sans', sans-serif !important;

}
body {
	margin-top: 53px;
	font-size: 14px;
}

@media (max-width: 479px) {
  h2 {
    font-size: 1.75rem !important;
  }
  h3 {
    font-size: 1.5rem !important;
  }
}

.orange-text {
	color: #F18437;
}
.orange-bg {
	background-color: #F18437 !important;
	color: #FFF;
}
.orange-bg:hover {
  color: #FFF;
  opacity: 0.9;
}
.ui-menu {
	z-index: 1000;
}
.responsive-img {
  overflow: hidden;
}
.responsive-img .card img {

  object-position: center; /* Center the image within the element */
  object-fit: cover;
  width: 100%;
  height: 150px;


	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);

}

.responsive-img {
  position: relative;
  z-index 1000;
}

.responsive-img .card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #0B161E;
  opacity: 0.75;
  z-index: 2000;
}

.responsive-img .card h4 {
  z-index: 4000;
}

  .ui-autocomplete {
	max-height: 280px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
	z-index: 10000;
  }
  /* IE 6 doesn't support max-height
   * we use height instead, but this forces the menu to always be this tall
   */
  * html .ui-autocomplete {
	height: 100px;
	  z-index: 10000;
  }

  .ui-autocomplete {
	position:absolute;
	cursor:default;
	z-index:1001 !important
	top: 100%;
	left: 0;
	  z-index: 10000;

	float: left;
	display: none;
	min-width: 160px;
	_width: 160px;
	padding: 4px 0;
	margin: 2px 0 0 0;
	list-style: none;
	background-color: #ffffff;
	border-color: #ccc;
	border-color: rgba(0, 0, 0, 0.2);
	border-style: solid;
	border-width: 1px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding;
	background-clip: padding-box;
	*border-right-width: 2px;
	*border-bottom-width: 2px;
}
.ui-menu-item > a.ui-corner-all {
	display: block;
	padding: 3px 15px;
	clear: both;
	font-weight: normal;
	line-height: 18px;
	color: #555555;
	white-space: nowrap;
}
.ui-state-hover, &.ui-state-active {
	  color: #ffffff;
	  text-decoration: none;
	  background-color: #0088cc;
	  border-radius: 0px;
	  -webkit-border-radius: 0px;
	  -moz-border-radius: 0px;
	  background-image: none;
	}


main {
	background-color: #EEEEEE;
}
#topnav {
	min-height: 30px;
	background-color: #000;
	color: #FFF
}
.dropdown-item {
	font-size: 14px;
}
#topRightLinks {
	text-align: right;
}
#socialLinks {
	display: block;
}
#phoneNumber {
	color: #FFF;
	font-size: 16pt;
	line-height: 18px;
	padding-right: 54px;
	padding-top: 7px;
	text-align: right;
}
#phoneNumber .orange-text {
	font-size: 14px;
	margin-left: 10px;
}
#linkedIn {
	position: absolute;
	right: 8px;
	top: 0;
}
#linkedIn img {
	height: 34px;
	width: 34px;
}
#brokerGwButton {
	text-decoration: none;
	color: #FFF;
	padding: 10px;
	background-color: #222;
	font-size: 12px;
}

@media (max-width: 991px) {
	.nav-item.findabroker {
		display: list-item;
	}
	.menu-divider-vertical {
		height: 0 !important;
	}
	#phoneNumber {
		position: fixed;
		top: 11px;
		right: 0;
		z-index: 2000;
	}
	#brokerGwButton {
		display: none;
	}
}
@media (min-width: 992px) {
	.nav-item.findabroker {
		display: none;
	}
	#phoneNumber {
		position: fixed;
		top: 11px;
		/*
		right: 106px;
		*/
		right: 0;
		z-index: 1050;
	}
	#brokerGwButton {
		display: inline-block;
	}
}

#grpTag {
	font-size: 12px;
	color: #999;
	text-decoration: none;
	margin-right: 30px;
}

#motion-scroller {
	height:345px;
	background-image: url('../img/placeholderimg.png');
	background-size: cover;
	border-radius: 0;
}

#motionBackground {
  position: relative;
  background-color: black;
  height: 305px;
  width: 100%;
  overflow: hidden;
}

#motionBackground video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

#motionBackground .container {
  position: relative;
  z-index: 3;
	min-height: 227px;
}
#motionBackground .container .row {
   min-height: 227px;
}

#motionBackground .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #0B161E;
  opacity: 0.75;
  z-index: 2;
}

#productSearch {
	width 100%;
	background: none;
	border: 2px solid #FFF;
	font-size: 23px;
	color: #FFF;
	padding: 25px 20px;
	font-weight: normal !important;
}
@media (max-width: 379px) {
  #productSearch {
    font-size: 16px;
    padding: 10px;
  }
  #productSearchContainer img {
    height: 38px;
  }
}
@media (min-width: 380px) and (max-width: 479px) {
  #productSearch {
    font-size: 20px;
    padding: 15px;
  }
  #productSearchContainer img {
    height: 38px;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  #productSearch {
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #productSearch {
    font-size: 20px;
    padding: 25px 10px;
  }
}

#productSearch::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #FFF;
	opacity: 1; /* Firefox */
}

#productSearch:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #FFF;
}

#productSearch::-ms-input-placeholder { /* Microsoft Edge */
	color: #FFF;
}
#newsScroller {
	border: 15px solid #FFF;
	border-radius: 10px;
	background-color: #CCC;
	z-index: 1000;
	height: 200px;
	position: relative;
	top: -70px;
	-webkit-box-shadow: 2px 22px 45px -13px rgba(0,0,0,0.75);
	-moz-box-shadow: 2px 22px 45px -13px rgba(0,0,0,0.75);
	box-shadow: 2px 22px 45px -13px rgba(0,0,0,0.75);
	overflow: hidden;
	padding: 0 !important;
}
#newsScroller {
	background-color: #EEEEEE;
	background-size: cover;
	background-position: center;
}
.carousel-item {
	height: 170px;
}
@media (min-width: 992px) and (max-width: 1199px) {
  #newsScroller {
    height: auto;
    top: -90px;
  }
  .carousel-item {
    height: auto;
  }
  .carousel-item img {
    width: 100%;
  }
}

.assoc-icon {
  padding: 10px;
  background-color: #FFF;
  margin: 5px;
  -webkit-box-shadow: 2px 22px 45px -13px rgba(0,0,0,0.25);
  -moz-box-shadow: 2px 22px 45px -13px rgba(0,0,0,0.25);
  box-shadow: 2px 22px 45px -13px rgba(0,0,0,0.25);
  width: 140px;
}

@media (max-width: 239px) {
  .assoc-icons {
	column-count: 1 !important;
  }
  div.assoc-icon {
	display: inline-block !important;
	width: 100% !important;
  }
  a.assoc-icon {
	margin: 1rem 0 !important;
  }
}
@media (min-width: 240px) and (max-width: 319px) {
  .assoc-icons {
	column-count: 2 !important;
  }
  div.assoc-icon {
	display: inline-block !important;
	width: 100% !important;
  }
  a.assoc-icon {
	margin: 1rem 0 !important;
  }
}
@media (min-width: 320px) and (max-width: 479px) {
  .assoc-icons {
	column-count: 3 !important;
  }
  div.assoc-icon {
	display: inline-block !important;
	width: 100% !important;
  }
  a.assoc-icon {
	margin: 1rem 0 !important;
  }
}
@media (min-width: 480px) and (max-width: 575px) {
  .assoc-icons {
	column-count: 5 !important;
	column-gap: 1.25rem;
	orphans: 1;
	widows: 1;  }
  div.assoc-icon {
	display: inline-block !important;
	width: 100% !important;
  }
  a.assoc-icon {
	margin: 1rem 0 !important;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .assoc-icons {
	column-count: 5 !important;
  }
  div.assoc-icon {
	display: inline-block !important;
	width: 100% !important;
  }
  a.assoc-icon {
	margin: 1rem 0 !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .assoc-icons {
	column-count: 2 !important;
  }
  div.assoc-icon {
	display: inline-block !important;
	width: 100px !important;
  }
  a.assoc-icon {
	margin: 0 5px !important;
	width: calc(100% + 5px) !important;
  }
}
@media (min-width: 992px) {
  .assoc-icons {
	column-count: 3 !important;
	margin-bottom: 0 !important;
  }
  div.assoc-icon {
	display: inline-block !important;
	width: 100% !important;
  }
  a.assoc-icon {
	margin: 0 5px !important;
	width: 100% !important;
  }
}

.assoc-icon img {
  width: 100%;
}

.product-banner {
	min-height: 227px;
	color: #FFF;
	position: relative;
	background-size: cover;
	z-index: 3;
}
.product-banner .container {
	z-index: 1000;
	min-height: 227px;
}

@media (max-width: 479px) {
	.product-banner .container h1 {
		font-size: 24px;
		text-align: left;
	}
}
@media (min-width: 480px) and (max-width: 767px) {
	.product-banner .container h1 {
		font-size: 26px;
		text-align: left;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.product-banner .container h1 {
		font-size: 28px;
		text-align: right;
	}
}
@media (min-width: 992px) {
	.product-banner .container h1 {
		font-size: 30px;
		text-align: right;
	}
}

.product-banner .container .row {
	min-height: 227px;
}

.product-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #0B161E;
  opacity: 0.75;
  z-index: 0;
}

.product-title {
  padding:50px 0;
  color: #FFF;
  text-align: right;
}

.product-title h1 {
  font-size: 34px;
}

#sixty {
	background-color: #1A2128;

}
#sixty .container {
	text-align: center;
	color: #FFF;
	padding: 20px;
	font-family: "Times New Roman", Times, serif;
	letter-spacing: 1.2px;
	font-size: 35px;
	font-weight: normal !important;
	background-image: url('../img/est_bar.png');
	background-repeat: no-repeat;
	background-size: 12%;
	background-position: 0 -15px;
}
@media (max-width: 479px) {
  #sixty .container {
    background-image: none;
    font-size: 24px;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  #sixty .container {
    background-position: 0 21px;
    background-size: 20%;
    text-align: right;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #sixty .container {
    background-position: 0 4px;
    text-align: right;
  }
}

.light-grey-bg{
  background-color: #F0F0F2;
}

.broker-banner {
  background-color: #3F3F51;
  font-size: 38px;
  color: #FFF;

}
.broker-banner .container a {
  text-decoration: none;
  color: #FFF;
  display: block;
   padding: 20px 0;
}
.broker-banner #brokerCLickThrough {
  font-size: 20px;
  text-align: right;
}
.broker-banner #brokerCLickThrough img {
  margin-left: 20px;
}
.broker-banner:hover {
  background-color: #4C4B62;
}

@media (max-width: 539px) {
  .broker-banner {
	font-size: 20px;
  }
  .broker-banner .col-md-5.my-auto {
	display: block;
  }
  .broker-banner .col-md-7.my-auto {
	display: block;
	text-align: left !important;
  }
}
@media (min-width: 540px) and (max-width: 767px) {
  .broker-banner {
	font-size: 20px;
  }
  .broker-banner .col-md-5.my-auto {
	display: flex;
	max-width: calc(100% / 12*5);
  }
  .broker-banner .col-md-7.my-auto {
	display: flex;
	max-width: calc(100% / 12*7);
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .broker-banner {
	font-size: 30px;
  }
}


.content-block {
  padding: 20px 0;
}
.product-image {
  border: 10px solid #FFF;
  border-radius: 10px;
  -webkit-box-shadow: 2px 22px 45px -13px rgba(0,0,0,0.75);
  -moz-box-shadow: 2px 22px 45px -13px rgba(0,0,0,0.75);
  box-shadow: 2px 22px 45px -13px rgba(0,0,0,0.75);
  margin-top: 30px;
}
.download-container {
  display: inline-block;
  padding: 10px;
  margin-right: 10px;
}
.download-container:hover {
  background-color: #CCC;
}
.download-container .text p {
  margin-bottom: 0;

}
.download-container .text small {
  color: #999;
}
.download-container .icon {
  float: left;
  margin-right: 10px;
}
.download-container div {
  display: inline-block;
}
.cover-options .card .card-header, #accordion .card .card-header {
  background-color: #337D9D;
}
.cover-options .card .card-header h5 button, #accordion .card .card-header h4 a {
  color: #FFF !important;
  text-decoration: none;
  font-size: 18px;
}
.staff-img {
  padding-bottom: 10px;
}

.product-tile {
  margin: 15px 0;
  text-decoration: none;
   -webkit-box-shadow: 2px 22px 45px -13px rgba(0,0,0,0.75);
  -moz-box-shadow: 2px 22px 45px -13px rgba(0,0,0,0.75);
  box-shadow: 2px 22px 45px -13px rgba(0,0,0,0.75);
  border: 8px solid #FFF;
}
.product-tile .card-header {
  height: 65px;
  background-color: #343a40;
  color: #FFF;
}
.product-tile .product-tile-img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  display: block;
  overflow: hidden;
  height: 100px;
  background-size: cover;
}

.product-tile:hover {
  -webkit-box-shadow: 2px 22px 45px -13px #CCC;
  -moz-box-shadow: 2px 22px 45px -13px #CCC;
  box-shadow: 2px 22px 45px -13px #CCC;
}

.product-tile:hover .product-tile-img {
  -webkit-filter: none;
  filter: none;
}

.product-tile:hover .card-header {
  background-color: #4C4B62;
}

@media (min-width: 576px) {
  .modal-dialog { max-width: none; }
}

.modal-dialog {
  width: 98%;
  height: 92%;
  padding: 0;
}

.modal-content {
  height: 99%;
}

#footer {
	background-image: url('../img/footer_shadow.png');
	background-repeat: no-repeat;
	background-position: top center;
	background-color: #333333;
	color: #FFF;
	padding: 30px 0;
	font-size: 11px;
	letter-spacing: 0.8px;
}
#footer a {
	color: #FFF;
}
.vertical-divider {
	border-left: 1px solid #2B2B2B;
	border-right: 1px solid #4B4B4B;
	right: 0;
	position: absolute;
	height: 100%;
}
@media (max-width: 767px) {
  #footer .vertical-divider {
	display: none;
  }
}
.menu-divider-vertical {
	height: 35px;
	margin: 0 5px;
	border-left: 1px solid #2B2B2B;
	border-right: 1px solid #4B4B4B;
	display: block;
}
.news-article {
  padding: 10px 0;
  display: block;
}
.product-item {
  margin-bottom: 30px;
}
#footerSocials {
	margin-bottom: 1rem;
	margin-top: 10px;
}
#footerSocials img {
	margin-right: 10px;
}
.page-icon {
  padding: 15px;
  margin: 5px;
  border: 1px solid #CCC;
  width: 110px;
  background-color: #FFF;
  font-size: 12px;
  overflow: hidden;
  display: inline-block;
  height: 150px;
  font-weight: bold;
  border-radius: 4px;
}

/*Cookie Consent Begin*/
.cookie-disclaimer {
  background: #000000;
  color: #FFF;
  opacity: 0.8;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 1000;
  height: 150px;
  position: fixed;
}
.cookie-disclaimer .container {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.cookie-disclaimer .cookie-close{
  float: right;
  padding: 10px;
  cursor: pointer;
}
/*Cookie Consent End*/

/* accordian styles */
.ui-accordion .ui-accordion-header {
  padding: 1em;
}
.ui-state-default {
  background-color: Gainsboro;
  border-color: Silver;
}
.ui-state-active {
  background-color: #337D9D;
  border-color: #337D9D;
}

/* error styles */
div.messages.alert p {
  margin: 0.5rem 0;
}
div.messages.alert p:first-of-type {
  margin-top: 0;
}
div.messages.alert p:last-of-type {
  margin-bottom: 0;
}

/* general styles */
.cursor-default {
	cursor: default !important;
}

/* alt text slideshow for resolutions below 992px */
@media (min-width: 992px) {
  div#newsScroller .carousel-item-text {
	display: none;
  }
}
@media (max-width: 991px) {
  div#newsScroller {
	height: auto;
  }
  div#featureSlider {
	background-color: white;
  }
  ol.carousel-indicators {
	bottom: 0;
	margin-bottom: 0;
  }
  ol.carousel-indicators li {
	background-color: #ccc;
  }
  ol.carousel-indicators li.active {
	background-color: #fd7e14;
  }
  div#newsScroller .carousel-item {
	height: auto;
	margin: 0;
  }
  div#newsScroller .carousel-item a,
  div#newsScroller .carousel-item a:hover {
	text-decoration: none;
  }
  div#newsScroller .carousel-item img {
	display: none;
  }
  div#newsScroller .carousel-item-text {
	color: #212529;
	display: block;
	padding-bottom: 1rem;
  }
  div#newsScroller .carousel-item-text h6 {
	font-size: 13px;
	font-weight: bold;
	margin: 0;
  }
  div#newsScroller .carousel-item-text p {
	font-size: 13px;
	margin: 0;
  }
}

div#motionBackgroundImage {
  background-image: url('/img/homepage/bg-0.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  position: absolute;
  width: 100%;
}

.bg-overlay {
	background-color: #343a40;
	bottom: 0;
	height: 100%;
	left: 0;
	opacity: 0.5;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 1020;
}

#affiliate_badges img {
  margin: 0 auto;
  max-height: 100px;
  max-width: 100%;
}

#broker_map_marker {
  font-size: 300px;
  color: #CCC;
  opacity: 0.5;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

@media (max-width: 767px) {
  #affiliate_badges img {
	margin-bottom: 2rem;
  }
  #home_img_ipad,
  #broker_img_clipboard,
  #broker_map_marker {
	display: none;
  }
}

.broker_name_and_distance {
  float: left;
  font-size: 12px;
}
.broker_phone_and_web {
  float: right;
  font-size: 12px;
  text-align: right;
}

@media (min-width: 768px) and (max-width: 1279px) {
  .broker_name_and_distance {
	float: none;
  }
  .broker_phone_and_web {
	float: none;
	text-align: left;
  }
}

#contact_phone_and_hours {
  margin-bottom: 1rem;
  margin-top: 0;
}
#contact_phone_and_hours p {
  margin: 0;
}
@media (max-width: 479px) {
  #contact_phone_and_hours {
	display: block;
	margin: 0;
  }
  #contact_phone_and_hours div {
	margin: 1rem 0 !important;
	padding: 0;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  #contact_phone_and_hours {
	display: flex;
	margin: 0;
  }
  #contact_phone_and_hours div {
	margin: 1rem 0 !important;
	padding: 0;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #contact_phone_and_hours {
	display: block;
	margin: 0;
  }
  #contact_phone_and_hours div {
	margin: 1rem 0 !important;
	padding: 0;
  }
}

#dataTableStaff * {
  font-size: 13px;
}
@media (max-width: 767px) {
  #dataTableStaff_filter {
	text-align: right;
  }
  #dataTableStaff * {
	font-size: 14px;
  }
  #dataTableStaff thead {
	display: none;
  }
  #dataTableStaff tr {
	display: block;
	padding: 1rem;
  }
  #dataTableStaff td {
	  display: block;
	  border: none;
	  padding: 0;
	}
}

@media (max-width: 419px) {
  .team-grid .col-md-6 {
    text-align: center;
  }
}
@media (min-width: 420px) and (max-width: 767px) {
  .team-grid .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .team-grid .col-md-6 {
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
  }
}

/* 'powered by grp' logo - homepage */
#bbrown-team-home {
  position: absolute;
}
@media (min-width: 992px) {
  #bbrown-team-home {
    bottom: 2rem;
    right: 1rem;
  }
  #bbrown-team-home img {
    height: 36px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #bbrown-team-home {
    bottom: 0;
    right: 1rem;
  }
  #bbrown-team-home img {
    height: 32px;
  }
}
@media (min-width: 0px) and (max-width: 767px) {
  #bbrown-team-home {
    bottom: 0;
    left: 1rem;
  }
  #bbrown-team-home img {
    height: 24px;
  }
}
/* 'powered by grp' logo - all other pages */
#bbrown-team {
  bottom: 1rem;
  position: absolute;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #bbrown-team {
    bottom: 0;
    position: inherit;
  }
}

@media (min-width: 992px) {
  #bbrown-team {
    right: 1rem;
  }
  #bbrown-team img {
    height: 24px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #bbrown-team {
    right: 1rem;
  }
  #bbrown-team img {
    height: 28px;
  }
}
@media (min-width: 0px) and (max-width: 767px) {
  #bbrown-team {
    left: 1rem;
  }
  #bbrown-team img {
    height: 24px;
  }
}

/* overrides for main menu */
@media (min-width: 992px) and (max-width: 1092px) {
	.navbar-nav {
		max-width: 684px;
	}
}
@media (min-width: 1092px) and (max-width: 1192px) {
	.navbar-nav {
		max-width: 784px;
	}
}
@media (min-width: 1192px) and (max-width: 1320px) {
	.navbar-nav {
		max-width: 884px;
	}
}

#introText {
	padding-top: 1rem;
}