/* Add your CSS code here.

For example:
.example {
    color: #f15a2b;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */ 

.slider {
  height: auto;
  margin: 0;
}

.slick-slide {
  margin: 0;
  padding: 0;
}

.close,
#main-carousel__prev,
#main-carousel__next,
#main-carousel-mobile__prev,
#main-carousel-mobile__next {
  display: flex;

  cursor: pointer;
  
  align-items: center;
  justify-content: center;
  
  background-color: black;
  color: white;
    
  margin: 0;
  padding: 0;
  
  position: absolute;

  height: 60px;
  width: 60px;

  transition: background .2s ease, transform .2s ease;
}

#main-carousel__prev:hover,
#main-carousel__next:hover,
.close:hover {
  background-color: #f15a2b;
  color: white;
}

.slick-slide {
  transition: all ease-in-out .3s;
  opacity: .2;
}

.slick-active {
  opacity: .5;
}

.slick-current {
  opacity: 1;
}

.main-info {
  grid-area: inf;
  background-color: rgba(64, 64, 64, 0.2);
  position: relative;
  z-index: 10;
}
.team-info-target, .team-info-mobile-target {
    padding: 20px;
    font-size: 14px!important;
}

.team-info-target ul, .team-info-mobile-target ul {
    list-style-position: inside;
  margin-left: 0;
  padding-left: 0
}

.team-info-target::-webkit-scrollbar, .team-info-mobile-target::-webkit-scrollbar {
    width: 3px !important;
    cursor: pointer !important;
}

.team-info-target::-webkit-scrollbar-track, .team-info-mobile-target::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    width: 1px !important;
}

.team-info-target::-webkit-scrollbar-thumb, .team-info-mobile-target::-webkit-scrollbar-thumb {
    background: #888 !important;
}

.team-info-target::-webkit-scrollbar-thumb:hover, .team-info-mobile-target::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}

.main-carousel {
  grid-area: car;
  z-index: 9;
}

.team-info-target {
  height: 100%;
	overflow-y: scroll;
}
.team-info-target > h3{
  margin-bottom: 0px !important;
}
ul.team-social {
    list-style-type: none;
    display: flex;
}

ul.team-social * {
    font-size: 20px !important;
}

ul.team-social li{
  padding: 0 20px 0 0;
}

p.subheading{
   padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

@media only screen and (max-width: 604px) {
   .main-grid {
    display: none;
  } 
	.our-trainers .fl-col-group-equal-height {
    display: block;
}
	.our-trainers .slick-img-main-mobile img {
    width: 200px !important;
    height: 300px !important;
}

}

@media only screen and (min-width: 605px) {
  .main-grid {
    display: grid;
    grid-template: 100% / 35% 65%;
    grid-template-areas:    "inf car";
    grid-gap: 0px;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .prev {
    bottom: 0px;
    right: 0px;
  }
  
  .next {
    bottom: 60px;
    right: 0px;
  }
}

@media only screen and (max-height: 699px) and (min-width: 605px) {
  .main-grid {
    height: 425px;
	  object-fit: cover;
  }

  .slick-img-main img {
    height: 425px;
	  object-fit: cover;
  }
}

@media only screen and (min-height: 700px) and (min-width: 605px) {
  .main-grid {
    height: 575px;
  }

  .slick-img-main  img {
    height: 575px;
	  object-fit: cover;
  }
}

@media only screen and (min-height: 800px) and (min-width: 605px) {
  .main-grid {
    height: 625px;
  }

  .slick-img-main img {
    height: 625px;
	  object-fit: cover;
  }
}

@media only screen and (min-width: 605px) {
 .mobile-grid {
  	display: none; 
  }
}

@media only screen and (max-width: 604px) {
	
	ul.team-social {
		justify-content: center;
	}
	
  .mobile-grid {
    display: grid;
    grid-template: 1fr 1fr / 100%;
    grid-template-areas:    "car"
                            "inf";
    grid-gap: 0px;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .main-mobile {
    grid-area: inf; 
    background-color: rgba(64, 64, 64, 0.2);
    position: relative;
    z-index: 10;
  }

  .main-carousel-mobile {
    grid-area: car;
    z-index: 9;
  }
  
  .team-info-mobile-target {
    height: 100%;
    overflow-y: scroll;
  }

  .main-mobile {
    height: 320px;
  }

  .slick-img-main-mobile {
    /*height: 320px;*/
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
  }

  .slick-img-main-mobile img {
    flex-shrink: 0;
    min-height: 100%;
    min-width: 100%;
  }
  
  #main-carousel-mobile__prev {
    top: -60px;
    left: 0px;
  }
  
  #main-carousel-mobile__next {
    top: -60px;
    right: 0px;
  }
}