.gs-multi-select__list {
  z-index: 1;
}

.gs-multi-select .gs-multi-select__arrow {
  z-index: 1;
}

.template-container {
  font-family: "Montserrat", sans-serif !important;
  font-size: 20px;
}
.template-container p {
  font-family: "Montserrat", sans-serif !important;
  font-size: 20px;
}
.section-content {
  width: 90%;
  max-width: 1540px;
  margin: auto;
  color: #ffffff;
  padding: 75px 35px;
}
.dropdown-filter {
  position: relative;
  width: 290px;
  display: flex;
}
.dropdown-filter input {
  border-radius: 3px;
  width: 100%;
  border: none;
  height: 49px;
  font-size: 16px;
  padding: 8px 10px;
  background-image: url("https://www.galatiyachts.com/wp-content/uploads/Search-1.svg");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: 96%;
  background-color: #fff;
  color: #002c4c !important;
}
/* .dropdown-filter input:focus {
        background-image: none;
    } */
.dropdown-filter select {
  border-radius: 3px;
  width: 100%;
  background-color: #5daad5;
  border: none;
  color: #ffffff;
  font-size: 16px;
  padding: 8px 10px;
}
ul#namesContainer {
  border: #5daad5 solid 2px;
  background-color: #fff;
  color: #002c4c;
  border-radius: 3px;
  position: absolute;
  width: 290px;
  z-index: 3;
  max-height: 270px;
  overflow: auto;
  display: none;
  padding: 0;
}
ul#namesContainer .list-element {
  list-style: none;
  cursor: default;
  padding: 2px 10px;
}
ul#namesContainer .list-element:hover {
  color: #ffffff;
  background-color: #5daad5;
}
.text-container p {
  font-size: 21px;
  letter-spacing: 1.4px;
}
.dark-link {
  color: #5daad5;
}
#displayLocationBrokers .card-img-container {
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
}
@media (max-width: 744px) {
  .filters-section {
    justify-content: center !important;
  }
  ul#namesContainer {
    bottom: -44rem;
    top: unset !important;
  }
}
@media (max-width: 360px) {
  ul#namesContainer {
    width: 210px;
  }
}

/*Hero*/
section#teamHeroCtnr1 {
  margin: 40px 0;
}
section#teamHeroCtnr1 .text-container p {
  font-family: "Open Sans", sans-serif !important;
}
section#teamHeroCtnr {
  display: grid;
  grid-template-columns: 45% 55%;
  height: 76%;
}
section#teamHeroCtnr1 {
  display: grid;
  grid-template-columns: 45% 55%;
  /*height: 76%;*/
}
/*Left*/
section#searchFilterSection {
  height: 100%;
  display: flex;
}
h1.section-title {
  text-transform: uppercase !important;
}
.text-container p {
  font-size: 16px;
  letter-spacing: 0;
}

#teamHeroCtnr1 h1.section-title {
  font-size: 44px !important;
  letter-spacing: 8.8px;
  line-height: 54px;
  color: #002b49 !important;
  margin-bottom: 0;
}
#teamHeroCtnr1 .text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 100px;
  width: 85%;
  min-width: 571px;
}

#teamHeroCtnr1 .text-container p {
  color: #002b49;
}

/*Right*/
section#teamHero {
  height: 100%;
  display: flex;
  /* padding: 19px 0; */
}
#teamHero img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: bottom;
}

#teamHeroCtnr1 .text-content .section-title {
  /* text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.50); */
  font-family: Montserrat;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 45px;
  letter-spacing: 12px;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 20px;
  text-align: start;
}

.img-content {
  padding-right: 8%;
}

div#background-gray {
  background-color: #e4e4e453;
}

/*FILTERS SECTION*/
.filters-section.team {
  min-width: 1536px;
}
.filters-section {
  padding: 74px 0 56px 0;
}
/*#filter-name span {*/
#button-arrows {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 25px;
  color: #5daad5;
  background-color: #fff;
  width: 50px;
  padding-top: 5px;
}

.section-title-container {
  margin-top: 0 !important;
}
.broker-section-title {
  flex-direction: row !important;
}

.dropdown-filter select {
  border-radius: 3px;
  width: 100%;
  background-color: #fff;
  border: none;
  /* height: 37px; */
  font-size: 16px;
  padding: 8px 10px;
  display: block;
  letter-spacing: 2.8px;
  line-height: 22px;
  font-weight: 300;
  color: #002b49;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
}

ul#namesContainer .list-element {
  color: #002c4c !important;
}
ul#namesContainer {
  top: 6rem !important;
}

/*BROKER CARDS*/
/*#displayLocationBrokers,*/
div#brokerStaff,
div#marketingStaff,
div#salesSupportStaff,
div#businessOfficeStaff,
div#operationsStaff {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(270px, 2fr));
  row-gap: 5rem;
}
#displayLocationBrokers {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  row-gap: 5rem;
}

#displayLocationBrokers .brokerCard {
  box-shadow: 0 0 10px #cdcdcd;
  margin: 14px;
  border-radius: 15px;
  width: unset !important;
  height: unset !important;
}
#displayLocationBrokers .b-box {
  border-radius: 15px;
  padding: 0 !important;
  width: unset !important;
  height: unset !important;
}

.broker-section-title {
  width: 90%;
  margin: 0 auto;
}
section#locationBrokers {
  display: flex;
}
.b-detail {
  margin: 10px 2px;
}
#displayLocationBrokers .brokerCard {
  box-shadow: unset !important;
}
#displayLocationBrokers .b-detail p.phone {
  display: none !important;
}
.b-detail p.name {
  font-size: 20px !important;
  margin-bottom: 3px !important;
  color: #002b48;
  line-height: 16px;
}
.last-name {
  font-weight: 600;
}

p.position {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 22px;
  color: #5daad5;
  font-weight: 600;
  margin-bottom: 0;
}
.b-detail p.city {
  font-weight: bold;
  font-size: 16px;
  color: #5daad5;
  margin-bottom: 10px !important;
  /* text-transform: capitalize; */
}
.btn-galati {
  color: #ffffff !important;
  background-color: #002b49 !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  min-width: 145px;
  border: 2px solid #002b49 !important;
  text-align: center;
  margin-left: 5px;
}

.b-box:hover .btn-galati {
  background-color: #5daad5 !important;
  border: 2px solid #5daad5 !important;
}

.btn {
  line-height: 12px !important;
}
a.btn.btn-galati {
  padding: 7px 0 !important;
  font-weight: 600 !important;
  letter-spacing: 2.4px;
  line-height: 22px;
  border-radius: 8px;
}
.b-detail p a {
  color: #707070 !important;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0px;
  font-weight: 500;
}

div#operationsCtnr {
  margin-bottom: 0 !important;
  padding-bottom: 75px;
}
/*Picture*/
.flipping-container {
  height: 200px !important;
  display: flex;
  justify-content: center;
}
.card-img-container {
  width: 200px !important;
  height: 200px !important;
  margin: auto;
  border-radius: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  position: absolute;
  transition: transform 0.5s linear;
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
}
img.broker-image {
  object-fit: cover;
  height: 200px !important;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
.back-of-image {
  width: 200px !important;
  height: 200px !important;
  border-radius: 50%;
  background-color: #5daad5;
  margin: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  position: absolute;
  transition: transform 0.5s linear;
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}
/*Shadow*/
.card-img-container {
  box-shadow: 1px 4px 5px #00000029 !important;
}

#bestWay .section-text-container .text-container p {
  font-family: "Open Sans", sans-serif !important;
}

@media screen and (max-width: 1770px) {
  hr.desktop-view {
    width: 65%;
    text-align: left;
    margin-left: 0;
  }
}
@media screen and (max-width: 1737px) {
  #teamHeroCtnr1 h1.section-title,
  #teamHeroCtnr1 .text-container {
    min-width: 571px !important;
  }
  #teamHeroCtnr1 .text-content {
    padding: 0 0 0 10%;
    min-width: unset;
  }
  hr.desktop-view {
    width: 70%;
    text-align: left;
    margin-left: 0;
  }
}
@media screen and (max-width: 1600px) {
  #teamHeroCtnr1 .text-content {
    /*padding: 0 0 0 71px;*/
    min-width: unset;
  }

  /*Filters*/
  .filters-section.team {
    min-width: unset !important;
  }

  .dropdown-filter input {
    font-size: 14px;
  }
  .dropdown-filter {
    position: relative;
    width: 246px;
    display: flex;
  }
  .filters-section.team {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: center !important;
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 1500px) {
  hr.desktop-view {
    width: 65%;
    text-align: left;
    margin-left: 0;
  }
}
@media screen and (max-width: 1400px) {
  #teamHeroCtnr1 h1.section-title,
  #teamHeroCtnr1 .text-container {
    min-width: 502px !important;
  }
  #teamHeroCtnr1 .text-container p {
    font-size: 14px;
    letter-spacing: 0;
  }
  #teamHeroCtnr1 .text-content {
    padding: 30px 0 0 10%;
    min-width: unset;
    justify-content: flex-start;
  }
  #teamHeroCtnr1 h1.section-title {
    font-size: 35px !important;
  }
  .filters-section {
    width: 91% !important;
  }
  a.btn.btn-galati {
    padding: 5px 0 !important;
    font-size: 12px !important;
  }
}
@media screen and (max-width: 1350px) {
  #displayLocationBrokers {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 1260px) {
  section#teamHeroCtnr1 {
    display: grid;
    grid-template-columns: 50% 50%;
    /* height: 76%; */
  }
}
@media screen and (max-width: 1150px) {
  #teamHeroCtnr1 .text-content {
    padding: 10px 0 0 10%;
    min-width: unset;
    justify-content: flex-start;
  }
  #teamHeroCtnr1 h1.section-title {
    font-size: 35px !important;
  }
  .img-content {
    padding-right: 10%;
  }
  .img-content img {
    width: 100%;
    object-fit: cover;
    min-height: 300px;
  }
  section#teamHeroCtnr1 {
    min-height: 300px;
  }
}
@media screen and (max-width: 1080px) {
  #displayLocationBrokers {
    grid-template-columns: repeat(3, 1fr);
  }
  #teamHeroCtnr1 h1.section-title,
  #teamHeroCtnr1 .text-container {
    min-width: 435px !important;
  }
}
@media screen and (max-width: 1050px) {
  section#teamHeroCtnr1 {
    display: grid;
    grid-template-columns: 1fr;
    /* height: 76%; */
  }
  #teamHeroCtnr1 h1.section-title,
  #teamHeroCtnr1 .text-container {
    min-width: unset !important;
  }
  #teamHeroCtnr1 .text-content {
    padding: 30px 0;
    min-width: unset;
    display: flex;
    justify-content: center;
    width: 90% !important;
    max-width: unset !important;
    margin: 0 auto;
  }
  #teamHeroCtnr1 h1.section-title,
  #teamHeroCtnr1 .text-container p {
    text-align: center !important;
  }
  #teamHeroCtnr1 .text-container p {
    line-height: 24px;
  }
  .img-content {
    padding: 2% 7%;
  }
}
@media screen and (max-width: 980px) {
  #teamHeroCtnr1 h1.section-title {
    font-size: 32px !important;
  }
  .img-content img {
    width: 100%;
    object-fit: cover;
    min-height: 270px;
  }
  section#teamHeroCtnr1 {
    min-height: 270px;
  }
  #teamHeroCtnr1 h1.section-title,
  #teamHeroCtnr1 .text-container {
    min-width: 398px !important;
  }
  #teamHeroCtnr1 .text-content {
    padding: 0px;
  }
  .img-content {
    padding: 2% 7%;
  }
}
@media screen and (max-width: 920px) {
  #teamHeroCtnr1 h1.section-title,
  #teamHeroCtnr1 .text-container {
    min-width: 369px !important;
  }

  #teamHeroCtnr1 h1.section-title {
    font-size: 28px !important;
  }
  .text-container {
    margin: 19px auto 0 !important;
  }
}
@media screen and (max-width: 860px) {
  section#teamHeroCtnr1 {
    display: grid;
    grid-template-columns: 1fr;
    /* height: 76%; */
  }
  #teamHeroCtnr1 h1.section-title {
    display: flex;
    font-size: 30px !important;
    justify-content: center;
  }
  #teamHeroCtnr1 .text-container p {
    font-size: 14px;
    letter-spacing: 0;
    text-align: center;
  }
  #teamHeroCtnr1 .text-content {
    padding: 50px 0;
    row-gap: 2rem;
    width: 90%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
  .img-content {
    padding: 0 7%;
  }
}
@media screen and (max-width: 809px) {
  #displayLocationBrokers {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 659px) {
  .dropdown-filter {
    display: grid;
    grid-template-columns: 80% 20% !important;
  }
}
@media screen and (max-width: 600px) {
  #teamHeroCtnr1 h1.section-title {
    font-size: 30px !important;
    letter-spacing: 6px;
    line-height: 37px;
  }
  .broker-section-title {
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
  }
}
@media screen and (max-width: 539px) {
  #displayLocationBrokers {
    grid-template-columns: repeat(1, 1fr);
  }
  .text-container {
    margin: 32px auto 0 !important;
  }
  #teamHeroCtnr1 .text-content {
    row-gap: 0;
  }
}
@media screen and (max-width: 450px) {
  .img-content {
    display: none;
  }
  #teamHeroCtnr1 h1.section-title,
  #teamHeroCtnr1 .text-container {
    min-width: unset !important;
  }
  #teamHeroCtnr1 .text-content {
    padding: 50px 0 0 0;
  }
  h1.section-title {
    text-align: center !important;
  }
}
