/* ======================
      MOVE TO GLOBAL
===========================*/
a {
  text-decoration: none !important; /*remove this later...*/
}
a:hover {
  text-decoration: none !important; /*remove this later...*/
}
.btn-blue {
  background-color: #92b7bc;
}
.btn.btn-blue:hover {
  color: #fff;
  background-color: #7F9FA3;
}
.hero-div.floating-header {
  max-height: 200px;
}
.floating-header .floating-text {
  position: absolute;
  bottom: 10px;
}
.floating-text h1{
  color: white;
  margin-bottom: 0;
  font-size: 2em
}
.no-data-header {
  margin: 0;
  padding: 50px;
}
@media (min-width: 768px) {
  .hero-div.floating-header {
    max-height: 175px;
  }
  .floating-header .floating-text {
    position: absolute;
    bottom: 25px;
  }
  .floating-text h1{
    font-size: 2.369em;
  }
}



/*========= MODULE GENERAL =========*/
#TopContent {
  margin-top: -85px !important;
  background-color: #ffffff !important;
}
.vfb-breadcrumb {
  display: none;
}
.hero-div {
  position: relative;
  background-image: url("/Portals/FBA/Site%20Images/OfficeLocations/office-detail-header-1400.png");
  background-position: right;
  margin: 0 auto 0 auto;
  background-repeat: no-repeat;
  height: 250px;
  width: auto;
  background-size: cover;
}
.slogan-div h1 {
  color: #ffffff !important;
}
.slogan-div {
  position: absolute;
  top: 50%;
  -moz-transform: translateY(-80%);
  -ms-transform: translateY(-80%);
  -o-transform: translateY(-80%);
  -webkit-transform: translateY(-80%);
  transform: translateY(-80%);
  margin-top: 25px;
}
.vfbStyleHidden {
  display: none;
}
.btn-link {
  color: #3a84df !important;
}


/*========= GOOGLE MAPS INFOWINDOW =========*/
/*overriding the default infowindow overflow*/
.gm-style-iw {
  overflow: hidden !important;
}
.gm-style-iw div {
  overflow: hidden !important;
}
.gm-style-iw .btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*========= BUTTONS =========*/
.btn.directions-btn {
  margin-bottom: 0;
}
.office-buttons {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
}
.office-btn-container {
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
}
.office-btn-container button {

}
.office-btn-container a,
.office-btn-container .icon-text {
  margin-left: 5px;
}
.office-phone-btn a {
  color: white;
  text-decoration: none;
}
.office-phone-btn a:hover {
  text-decoration: none;
}
.office-phone-btn {
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
  -ms-flex-pack: center;
}
.directions-btn {
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
}
.office-email-btn {
  display: flex;
  justify-content: center;
  display: -ms-flexbox;
}

/*========= OFFICE INFO =========*/
.office-phone {
  color: #333;
  text-decoration: none;
}
.office-email {
  text-decoration: none;
  cursor: pointer;
  margin-left: 5px;
  display: none;
}
.office-email.long-email {
  font-size: 18px;
}
.office-email.mobile {
  display: flex;
  display: -ms-flexbox;
  display: -webkit-box;
}
.office-details-panel .lead {
  word-wrap: break-word;
}
.office-info-email {
  display: -webkit-box;
  display: flex;
  display: -ms-flexbox;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.officeName-header {
  color: white;
  font-weight: bold;
}

/*========= OFFICE IMAGE =========*/
.map-details-container .office-image {
  position: absolute;
  right: 0;
  z-index: 1;
}
.map-details-container .office-photo {
  float: right;
  margin: 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: 2px 2px 3px #ccc;
  max-width: 150px;
}
.officeContactMap {
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: 2px 2px 3px #ccc;
}
#officeContactMap {
  height: 350px;
}
#imgOffice {
  padding-right: 15px;
}

/*========= OFFICE STAFF =========*/
.officeStaff-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}
.office-staff-title {
  margin-bottom: 20px;
}
.officeStaff-container .officeStaff {
  /*display: flex;*/
  padding: 0 14px; /*lowering default padding by 1px, IE10's computed box model breaks the layout because of the border*/
  /*width: calc(100% - 14px);*/
}
.office-staff-panel {
  flex-grow: 1;
}
.staff-email {
	text-decoration: none;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.staff-email .email {
  margin-left: 5px;
}
.staff-email:hover {
  text-decoration: none;
}
.office-staff-panel .panel-body.office-staff-panel-body {
  display: flex;
  padding: 0;
}
.staff-details {
  display: flex;
  flex-direction: column;
  flex-wrap:wrap;
  justify-content: space-between;
  padding: 8px 15px;
}
.staff-image-container {
  padding-left: 0;
}
.staff-name-title a{
  text-decoration: none;
}
.staff-name-title a:hover{
  text-decoration: none;
}
.office-details-panel>.panel-body p,
.vfb-panel .office-staff-panel-body p {
  margin: 0;
}
.office-details-panel>.panel-body h3 {
  margin: 0;
}
#divAgentStaff .office-staff-panel-body {
  padding: 5px;
}
.office-staff-panel-body h3,
.office-staff-panel-body h4 {
  margin: 0;
}
.office-staff-panel-body .col-md-4 {
  padding: 0px;
}
.vfb-panel .county-farm-bureau-details h3,
.vfb-panel .county-farm-bureau-details p {
  margin: 0;
}
.county-bureau-details .event-details p,
.county-bureau-details .event-details h3 {
  margin: .5em;
}


/*========= COUNTY MAP =========*/
.county-bureau-details .vfb-panel .panel-body {
  padding: 5px;
}
.vfb-bg-info .county-bureau-container {
  margin: 20px 0;
  padding: 0;
}
.panel.map-panel {
  margin-bottom: 0;
}
.officeName {
  text-decoration: none;
  font-size: 24px;
}
.multi-office .officeName:after {
  content: '&';
  padding-left: 8px;
  padding-right: 5px;
}
.multi-office .officeName:last-child:after {
  content: '';
}
.officeName:hover {
  text-decoration: none;
}
.county-bureau-container .panelSpace {
  margin-bottom: 20px;
}
.map-details-container {
  padding-top: 3em;
  padding-bottom: 3em;
}
#Virginia {
  margin-top: 12.5px;
}

.sm-btn-text {
  display: none;
}
.lg-btn-text {
  display: inline-block;
}


/*========= MEDIA QUERIES =========*/
/* Weird media query to change buttons on very small devices */
@media (max-width:400px) {
  .sm-btn-text {
    display: inline-block;
  }
  .sm-btn-text:hover {
    color: white;
  }
  .lg-btn-text {
    display: none;
  }
  .office-btn-container button {
    min-width: 145px;
  }
}
@media (max-width: 576px) {
  .office-email-btn {
    display: none;
  }
}
@media (min-width: 576px) {
  .office-phone-btn {
    display: none;
  }
  .office-email-btn {
    display: flex;
  }
}
@media (min-width: 768px) {
  .office-email {
    display: flex;
    display: -ms-flexbox;
    display: -webkit-box;
  }
  .office-email.mobile {
    display: none;
  }
  .container.county-bureau-details {
    padding: 0 50px;
  }
  .quoteCard-container .county-bureau-details {
    padding: 20px 40px;
  }
  .vfb-bg-info .county-bureau-container {
    padding: 0 15px;
  }
  .county-bureau-details .vfb-panel .panel-body {
    padding: 40px;
  }
  /*.officeStaff-container .officeStaff {
    width: calc(50% - 14px);
  }*/
}
@media (min-width: 992px) {
  .container.county-bureau-details {
    padding: 0 100px;
  }
  .quoteCard-container .county-bureau-details {
    padding: 40px 80px;
  }
  .btn.directions-btn {
    margin-bottom: 10px;
  }
  .office-btn-container {
    justify-content: flex-start;
  }
  .staff-details {
    padding: 20px 15px;
  }
}
@media (min-width: 1200px) {
  .staff-details {
    padding: 8px 15px;
  }
  /*.officeStaff-container .officeStaff {
    width: calc(33.33333333% - 14px);
  }*/

}
