#development_team, #majestic_management{
   background-color: #21409A;
   padding-top: 60px;
   padding-bottom: 60px;
}

#majestic_management h2{
   color:white;
   font-weight:800;
   font-size:35px;
   text-align:center;
   margin:40px;
}

#development_team h1{
   color:white;
   text-align:center;
   font-size:35px;
   margin:40px;
   font-weight:800;
}

#development_team h2{
   color:white;
   text-align:center;
   margin: 25px;
}

#development_team p, #majestic_management p{
   color:white;
}

#comm_construction h2, #key_management h2{
   color: #21409A;
   text-align:center;
   font-size:35px;
   font-weight:800;
   margin:40px;
}

#comm_construction, #key_management{
   margin-top:60px;
   margin-bottom:60px;
}


.emptyTeamResults {
   height:200px;
   display:flex;
   justify-content: center;
   align-items:center;
   text-align:center;
}

#our_leaders h2{
   text-align:center;
   padding:70px;
}

#our_leaders h2 {
   color:#21409A;
   font-size:40px;
   line-height: .5em;
   font-weight:900;
}

#team_search_fields{
   display:flex;
   justify-content: center;
}

#submit_container{
   align-items:center;
   display:flex;
   justify-content: center;
   padding:35px;
}

#search_team_button {
   padding:10px;
   padding-left:30px;
   padding-right:30px;
   background-color: #1283c6;
   color:white;
   cursor: pointer;
}

.state-select{
   display:none;
}

.state-select .select-selected, .city-select .select-selected  {
   border:solid black .5px;
   padding:10px;
   text-align:center;
   background-color:white;
   color:black;
}

.state-select, .city-select {
   width:339px;
   margin:0;
}

#member_name{
   border:solid black .5px;
   text-align:center;
   width:339px;
   height:46px;
}

.state-select, .city-select, #member_name {
   margin:10px;
}


.state-select .select-selected:after, .city-select .select-selected:after {
   padding-right:15px;
   padding-top: 3px;
   content: none;
}

.city-select .select-items{
   bottom: -130px;
}

#emptyTeamSearch {
   text-align:center;
   padding:100px;
}


.bio_phone, .bio_DRE, .bio_email, .bio_linkedin, .bio_street{
   width:75%;
}

.bio_image {
   padding-top:30px !important;
}

.back_button {
   font-size:40px;
}


.non-slider-entries-container{
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   margin:auto;
   margin-bottom:30px;
   width:85%;
}

.non-slider-entry-container{
   width:20%;
   margin:0px;
}

.non-slider-entry-container{
   width:20%;
}
/*
@media screen and (min-width:1533px){
   .non-slider-entry-container .team_carousel_entry{
      width:20%;
      border: solid blue;
   }
   /*.non-slider-entry-container{
      border:green;
      width:20%;
   }
}*/

@media screen and (max-width:1533px){
   .non-slider-entry-container{
      width:25%;
   }
}

@media screen and (max-width:1240px){
   .non-slider-entry-container{
      width:33%;
   }
}


@media screen and (max-width:930px){
   .non-slider-entry-container{
      width:50%;
   }
}


@media screen and (max-width:620px){
   .non-slider-entry-container{
      width:100%;
   }
}



.team_carousel_overlay {
   top:0;
   left:0;
   z-index:10;
   margin:auto;
   pointer-events: none;
}

.carousel_blue_img{
   top:0;
   left:0;
}



.carousel_headshot {
   position:relative;
   min-width:250px;
   display:flex;
   justify-content: center;
}

.blue_img_container{
   display:flex;
   justify-content: center;
   top:0;
   width:100%;
   height:100%;
}

.carousel_overlay_container {
   position:absolute;
   display:flex;
   justify-content: center;
   top:0;
   width:100%;
   height:100%;
}

.visible_overlay{
   opacity:1;
   transition: ease-in-out .5s;
}

.invisible_overlay{
   opacity:0;
   transition: ease-in-out .5s;
}


.carousel_entry_description{
   text-align:center;
   padding-bottom:40px;
}

.carousel_contact_buttons {
   display:flex;
   justify-content: center;
   bottom:0;
   left:0;
   position:absolute;
   width:100%;
}



.carousel_contact_buttons img{
   margin:5px;
   cursor:pointer;
}


.carousel_entry_occupation{
   font-size:15px;
}


.carousel_entry_name{
   font-size:20px;
   padding-top:10px;
   padding-bottom:0;
}

.team_carousel {
   margin-left: 7.5%;
   margin-right: 7.5%;
}

.team_carousel_img {
   width:250px !important;
   height:250px !important;
   object-fit:cover;
   object-position:top;
  
}

.team_carousel_entry{
   padding:5px;
   padding-bottom:0;
   height:100%;
   position:relative;
}

.non-slider-entry-container .team_carousel_entry{
   width:100%;
   padding-top:30px;
   padding-bottom:4px;
}


.img-wrapper{
   min-width:150px;
   min-height:150px;
}

@media screen and (max-width:420px){
   .img-wrapper{
      min-width:100px;
      min-height:100px;
   }

   .staff-text{
      margin-left:10px !important;
      width:150px;
   }
}

.contact-headshot{
   width:100%;
   height:auto;
   object-fit:cover;
}

.member-link{
   color:#666666;
   font-family: Gilroy, sans-serif;
}

.member-contact-name{
   font-family: 'Gilroy Bold',Helvetica,Arial,Lucida,sans-serif;
   font-size: 16px;
   color:#252b32!important;
}

.contact-phone-img{
   margin:5px;
}


@media screen and (max-width:1050px) {
   #team_search_fields{
      flex-direction:column;
      align-items: center;
   }
}

@media screen and (max-width:980px){
   .bio_back_button img{
      content:none;
   }
}