.media-navigation {
  background: #ffffff;
  padding: 20px 0;
  position: relative;
}

.full-width {
  width: 100%;
}

.media-navigation ul {
  float: left;
  background: white;
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
  border-bottom:1px solid #e5e5e5;
}
.media-navigation {
  background: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
}
@media all and (max-width:767.98px){
.media-navigation {  padding-top: 30px;}
}
@media all and (min-width:767.98px) and (max-width:991.98px){
.media-navigation {  padding-top: 45px;}
}

.full-width {
  width: 100%;
}

.media-navigation ul {
  float: left;
  background: white;
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
  border-bottom:1px solid #e5e5e5;
}

.media-navigation ul li {
  float: left;
  list-style: none;
  width: 25%;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.media-navigation ul li span.filter-content {
  color: #717f81;
}

.media-navigation ul li span {
  font-size: 1.5em;
  line-height: 28px;
  padding: 25px 25px 25px 30px;
  border-right: 1px solid #e3e5e6;
  text-transform: uppercase;
  display: block;
}

.media-navigation ul li a {
  color: black;
}

#ip3-photos .photos span,
.media-navigation ul li:hover a span {
  color: white;
  background: #BBC5CA;
}

.media-navigation ul li:hover a {
  text-decoration: none;
}

#image-gallery-landing {
  padding-bottom: 62px;
}

.memberDesignation {
  font-size: 1.2rem;
  font-family:'Gotham-Light' ;
  line-height: 2.1rem;
}

#main-container {
  min-height: auto;
}

#image-gallery-landing .gallery-images {
  float: left;
  margin-bottom: 20px;
  padding-bottom: 38px;
  border-right: 2px solid #FFFFFF;
  position: relative;
  width: 31.33%;
  background-color: #f2f0f0;
  margin-right: 10px;
  margin-left: 10px;
}

.gallery-images img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

#image-gallery-landing .gallery-images .gallery-title {
  bottom: 0;
  position: absolute;
  width: 100%;
  padding: 10px 10px;
  color: #FFFFFF;
  background: linear-gradient(100.68deg, #2289EF -29.33%, #44A4DF -8.47%, #67BFCF 36.59%, #85D6C1 89.57%);
  border-radius: 0px 0px 3px 3px;
  font-size: 1.2em;
  text-transform: uppercase;
  line-height: 20px;
  font-family: 'Gotham-Bold';
}

#image-gallery-landing .gallery-images .gallery-hover {
  bottom: 0;
  height: 100%;
  position: absolute;
  width: 100%;
  display: none;
  background: rgba(25, 46, 66, 0.8);
}

.gallery-hover a {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  padding: 12px 20px;
  gap: 20px;
  background: var(--secondary-2);
  color: var(--secondary-1);
  box-shadow: 2px 4px 24px 12px rgb(133 214 193 / 60%);
  border-radius: 3px;
  align-items: center;
  display: inline-block;
  margin: 132px 20px 0px 55px;
  font-family: 'Gotham-Bold' !important;
  text-decoration: none;
}

.gallery-hover a:after{
    content: "\e905" !important;
    color: #afefdd;
    width: 10px;
    height: 13px;
    transform: matrix(-1, 0, 0, 1, 0, 0);
    flex: none;
    order: 1;
    flex-grow: 0;
    content: '/e905';
    font-family: 'icomoon';
    margin-left: 5px;
}

.gallery-hover a.extension-link1:after{
  content: "\e905" !important;
    color: #afefdd;
    width: 10px;
    height: 13px;
    transform: matrix(-1, 0, 0, 1, 0, 0);
    flex: none;
    order: 1;
    flex-grow: 0;
    content: '/e905';
    font-family: 'icomoon';
    margin-left: 5px;
}

.gallery-hover a.extension-link1 {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  padding: 12px 20px;
  gap: 20px;
  background: var(--secondary-2);
  color: var(--secondary-1);
  box-shadow: 2px 4px 24px 12px rgb(133 214 193 / 60%);
  border-radius: 3px;
  align-items: center;
  display: inline-block;
  margin: 30px 0px 0px 0px;
  font-family: 'Gotham-Bold' !important;
  text-decoration: none;
}

#ip3-leadership-team .module-wrapper .introtext-container p{margin-bottom:0;padding-bottom:0}

#image-gallery-landing .l-image {
  display: none;
}

p.image-title {
  color: #fff;
  font-size: 1.4em;
  margin: 10px 0;
}

#image-gallery-landing .gallery-images:hover .gallery-hover {
  display: block;
}

.gallery-hover a:hover,
.gallery-hover a.extension-link1:hover {
  opacity: 1;
  color: #ffffff;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li a {
  text-decoration: none;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li.current {
  top: 0;
  background: linear-gradient(to left, #85D6C1, #2289ef);
  border-image-slice: 1;
  border-width: 3px;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 7px;
}

/*.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li.current a span{background:none;}*/
.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li:hover a span {
  top: 0;
  background: #BBC5CA;
  border-top: 0 solid transparent;
  border-image-slice: 1;
  border-width: 0;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 7px;
}
@media all and (max-width:767.98px){
#image-gallery-landing {
  padding-bottom: 2px;
}

}
@media all and (max-width: 736px) {
  #image-gallery-landing .gallery-images {
      width: 50%;
  }

  .gallery-hover a.extension-link1,
  .gallery-hover a {
      font-size: 0.8em;
      padding: 15px;
  }

  .media-navigation ul li span {
      font-size: 1em !important;
      padding: 25px 0 25px 5px !important;
  }
}

@media all and (max-width: 414px) {

  .gallery-hover a.extension-link1,
  .gallery-hover a {
      padding: 12px;
  }

  #image-gallery-landing .gallery-images {
      width: 100%;
  }

  .gallery-hover a.extension-link1,
  .gallery-hover a {
      font-size: 1em;
  }
}

/*IPad/IPad mini portrait mode:*/
@media all and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {

  .gallery-hover a.extension-link1,
  .gallery-hover a {
      padding: 12px;
  }
}

/*IPad/IPad mini landscape mode:*/
@media all and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

  .gallery-hover a.extension-link1,
  .gallery-hover a {
      padding: 10px;
  }
}

@media (max-width:768px) {
  .media-navigation{
  	padding-bottom: 30px;
  }
  .media-navigation ul li {
      width: 100%;
      text-align: center;
  }

  #image-gallery-landing .gallery-images {
      margin-left: 0;
      margin-right: 0;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px){
  .media-navigation{
    padding-bottom: 45px;
  }
  #image-gallery-landing {
  padding-bottom: 32px;
}

}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li.current {
  border-radius: 7px;
  top: 0;
  background: linear-gradient(to left, #85D6C1, #2289ef);
  border-top: 3px solid transparent;
  border-image-slice: 1;
  border-width: 3px;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 7px;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li:first-child{
  border-radius: 7px;
  top: 0;
  background: #ffffff;
  border-top: 3px solid transparent;
  border-image-slice: 1;
  border-width: 3px;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 7px;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li:first-child:hover{
  background: #ffffff;
}
.media-navigation ul li:last-child span{
  border-right: 0;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li:hover {
  border-radius: 7px;
  top: 0;
  background: linear-gradient(to left, #85D6C1, #2289ef);
  border-top: 3px solid transparent;
  border-image-slice: 1;
  border-width: 3px;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 7px;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li:hover a span {
  background: #ffffff;
  color:#000000;
}

.media-navigation ul li span {
  padding: 25px 25px 25px 25px;
  background: #ffffff;
  text-transform: capitalize;
  font-size: 1.6rem;
  line-height: 1.9rem;
  text-align: center;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li{
  background: #ffffff;
  border-top: 3px solid transparent;
  border-image-slice: 1;
  border-width: 3px;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 7px;
}

@media (max-width:1199px){
  #image-gallery-landing .gallery-images:hover .gallery-hover{display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;}
    .gallery-hover a{
      margin: 0;
    }
    .media-navigation ul li span{border-right:0;}
}

.media-navigation ul li {
  float: left;
  list-style: none;
  width: 25%;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.media-navigation ul li span.filter-content {
  color: #717f81;
}

.media-navigation ul li span {
  font-size: 1.5em;
  line-height: 28px;
  padding: 25px 25px 25px 30px;
  border-right: 1px solid #e3e5e6;
  text-transform: uppercase;
  display: block;
}

.media-navigation ul li a {
  color: black;
}

#ip3-photos .photos span,
.media-navigation ul li:hover a span {
  color: white;
  background: #BBC5CA;
}

.media-navigation ul li:hover a {
  text-decoration: none;
}

#image-gallery-landing {
  /*padding-bottom: 30px;*/
}

.memberDesignation {
  font-size: 1.2rem;
  font-family:'Gotham-Light' ;
  line-height: 2.1rem;
}

#main-container {
  min-height: auto;
}

#image-gallery-landing .gallery-images {
  float: left;
  margin-bottom: 58px;
  border-right: 2px solid #FFFFFF;
  position: relative;
  width: 31.33%;
  background-color: #f2f0f0;
  margin-right: 10px;
  margin-left: 10px;
}

.gallery-images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

#image-gallery-landing .gallery-images .gallery-title {
  bottom: 0;
  position: absolute;
  width: 100%;
  padding: 10px 10px;
  color: #FFFFFF;
  background: linear-gradient(100.68deg, #2289EF -29.33%, #44A4DF -8.47%, #67BFCF 36.59%, #85D6C1 89.57%);
  border-radius: 0px 0px 3px 3px;
  font-size: 1.2em;
  text-transform: uppercase;
  line-height: 20px;
  font-family: 'Gotham-Bold';
}

#image-gallery-landing .gallery-images .gallery-hover {
  bottom: 0;
  height: 100%;
  position: absolute;
  width: 100%;
  display: none;
  background: rgba(25, 46, 66, 0.8);
}

.gallery-hover a {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  padding: 12px 20px;
  gap: 20px;
  background: var(--secondary-2);
  color: var(--secondary-1);
  box-shadow: 2px 4px 24px 12px rgb(133 214 193 / 60%);
  border-radius: 3px;
  align-items: center;
  display: inline-block;
  margin: 132px 20px 0px 55px;
  font-family: 'Gotham-Bold' !important;
  text-decoration: none;
}

.gallery-hover a:after{
    content: "\e905" !important;
    color: #afefdd;
    width: 10px;
    height: 13px;
    transform: matrix(-1, 0, 0, 1, 0, 0);
    flex: none;
    order: 1;
    flex-grow: 0;
    content: '/e905';
    font-family: 'icomoon';
    margin-left: 5px;
}

.gallery-hover a.extension-link1:after{
  content: "\e905" !important;
    color: #afefdd;
    width: 10px;
    height: 13px;
    transform: matrix(-1, 0, 0, 1, 0, 0);
    flex: none;
    order: 1;
    flex-grow: 0;
    content: '/e905';
    font-family: 'icomoon';
    margin-left: 5px;
}

.gallery-hover a.extension-link1 {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  padding: 12px 20px;
  gap: 20px;
  background: var(--secondary-2);
  color: var(--secondary-1);
  box-shadow: 2px 4px 24px 12px rgb(133 214 193 / 60%);
  border-radius: 3px;
  align-items: center;
  display: inline-block;
  margin: 30px 0px 0px 0px;
  font-family: 'Gotham-Bold' !important;
  text-decoration: none;
}


#image-gallery-landing .l-image {
  display: none;
}

p.image-title {
  color: #fff;
  font-size: 1.4em;
  margin: 10px 0;
}

#image-gallery-landing .gallery-images:hover .gallery-hover {
  display: block;
}

.gallery-hover a:hover,
.gallery-hover a.extension-link1:hover {
  opacity: 1;
  color: #ffffff;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li a {
  text-decoration: none;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li.current {
  top: 0;
  background: linear-gradient(to left, #85D6C1, #2289ef);
  border-image-slice: 1;
  border-width: 3px;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 7px;
}

/*.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li.current a span{background:none;}*/
.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li:hover a span {
  top: 0;
  background: #BBC5CA;
  border-top: 0 solid transparent;
  border-image-slice: 1;
  border-width: 0;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 7px;
}

@media all and (max-width: 736px) {
  #image-gallery-landing .gallery-images {
      width: 50%;
  }

  .gallery-hover a.extension-link1,
  .gallery-hover a {
      font-size: 0.8em;
      padding: 15px;
  }

  .media-navigation ul li span {
      font-size: 1em !important;
      padding: 25px 0 25px 5px !important;
  }
}

@media all and (max-width: 414px) {

  .gallery-hover a.extension-link1,
  .gallery-hover a {
      padding: 12px;
  }

  #image-gallery-landing .gallery-images {
      width: 100%;
  }

  .gallery-hover a.extension-link1,
  .gallery-hover a {
      font-size: 1em;
  }
}

/*IPad/IPad mini portrait mode:*/
@media all and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {

  .gallery-hover a.extension-link1,
  .gallery-hover a {
      padding: 12px;
  }
}

/*IPad/IPad mini landscape mode:*/
@media all and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

  .gallery-hover a.extension-link1,
  .gallery-hover a {
      padding: 10px;
  }
}

@media (max-width:768px) {
  .media-navigation ul li {
      width: 100%;
      text-align: center;
  }

  #image-gallery-landing .gallery-images {
      margin-left: 0;
      margin-right: 0;
  }
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li.current {
  border-radius: 7px;
  top: 0;
  background: linear-gradient(to left, #85D6C1, #2289ef);
  border-top: 3px solid transparent;
  border-image-slice: 1;
  border-width: 3px;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 7px;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li:first-child{
  border-radius: 7px;
  top: 0;
  background: #ffffff;
  border-top: 3px solid transparent;
  border-image-slice: 1;
  border-width: 3px;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 7px;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li:first-child:hover{
  background: #ffffff;
}
.media-navigation ul li:last-child span{
  border-right: 0;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li:hover {
  border-radius: 7px;
  top: 0;
  background: linear-gradient(to left, #85D6C1, #2289ef);
  border-top: 3px solid transparent;
  border-image-slice: 1;
  border-width: 3px;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 7px;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li:hover a span {
  background: #ffffff;
  color:#000000;
}

.media-navigation ul li span {
  padding: 25px 25px 25px 25px;
  background: #ffffff;
  text-transform: capitalize;
  font-size: 1.6rem;
  line-height: 1.9rem;
  text-align: center;
}

.media-navigation.pull-left.full-width ul.pull-left.full-width.media-nav li{
  background: #ffffff;
  border-top: 3px solid transparent;
  border-image-slice: 1;
  border-width: 3px;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 7px;
}

@media (max-width:1199px){
  #image-gallery-landing .gallery-images:hover .gallery-hover{display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;}
    .gallery-hover a{
      margin: 0;
    }
    .media-navigation ul li span{border-right:0;}
}