/*
	Description: This is the Stylesheet for the Speaker Plugin
	Version: 0.0.1
	Author: Martin Neitz
	Author URI: http://www.neitz.at
	License: Martin Neitz
*/

/*----------------------------------------------------------------------------*\
    Gallery [spk_gallery] -  Customize
\*----------------------------------------------------------------------------*/

/* --- this is the overlay effect and can be modifid -------------------------*/
/* --- advanced settings check the CSS in the gallery internal section -------*/


/*--- first disable all elements which are not needed for the design ---*/


.kosu_spk_vcard,
.kosu_cap-spk-url,
.kosu_spk_url,
.kosu_spk_name,
.kosu_cap-spk-thumb-txt { display: none !important;}

.kosu_gallery_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
  overflow: hidden;
}

.kosu_gallery_wrapper.kosu-grid-columns-6 {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.kosu_gallery_wrapper.kosu-grid-columns-5 {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.kosu_gallery_wrapper.kosu-grid-columns-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.kosu_gallery_wrapper.kosu-grid-columns-2 {
  grid-template-columns: 1fr 1fr;
}


.kosu-grid-element {
  position: relative;
  width: 100% !important;
}

.kosu_spk-wrapper {
  border-radius: 15px;
  box-shadow: 0 5px 10px 0px rgb(0 0 0 / 37%);
  box-shadow: 8px 8px 20px rgb(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  overflow: hidden;
}

.kosu_img-wrapper {
  border-radius: 15px 15px 0px 0px;
}

.kosu_spk_img {border-radius: 15px 15px 0px 0px;}
.elementor img { border-radius: inherit;}


.kosu_caption-wrapper {
  padding: 0px 1em 1em 1em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.kosu_spk_online {
  bottom: 3%;
  left: 15%;
  width: 70%;
  background-color: #fcc100;
  height: 30px;
  text-align: left;
  color: #ffffff;
  padding-left: 1.6em;
  border-radius: 3px;
}

.kosu_spk_online::before {
  content: "";
  background: #a9ba04;
  background-image: none;
  border-radius: 50%;
  width: .6em;
  height: .6em;
  display: inline-block;
  position: absolute;
  left: 8px;
  margin-top: .5em;
}


/*----------------------------------------------------------------------------*/
/*--- Text overlay styling                                                 ---*/
/*----------------------------------------------------------------------------*/

div.kosu_spk_txt_overlay {
    background: rgb(0 161 177 / .7);
    background: rgb(46 122 75 / 80%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 15px;
}

.kosu_spk_name {
    background-color: initial;
    font-size: 18px;
    font-weight: bold;
    margin-top: 12%;
    margin-bottom: 13%;
}
.kosu_spk_thumb_txt {
    font-style: initial;
    padding: 15px;
    font-size: 14px;
    line-height: 17px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

/*----------------------------------------------------------------------------*/
/*--- Caption styling                                                      ---*/
/*----------------------------------------------------------------------------*/
.kosu_cap-spk-name {
    margin-top: 1em;
    font-size: 22px;
    line-height: 26.4px;
    color: #531e3d;
    display: block;
    text-align: center;
}

.kosu_spk_thumb_name {
  font-size: 20px;
  line-height: 22px;
  width: 100%;
  display: block;
  margin-bottom: 1em;
}

a.kosu_cap-spk-name:hover { color: #46b7c0; }


.kosu_cap-spk-tagline,
.kosu_cap-spk-url  {
    display: block;
    text-align: center;
}

.kosu_cap-spk-tagline {
  margin-top: 1em;
  font-size: 13px;
  line-height: 15.6px;
}

.kosu_spk-wrapper:hover .kosu_spk_txt_overlay {
  z-index: 1;
  opacity: 1;
}

.kosu_spk-wrapper:hover .kosu_spk_img_overlay {
  z-index: 10;
}


.kosu_gallery_popup_trigger { cursor: pointer; }

/*----------------------------------------------------------------------------*/
/*--- Admin Edit                                                           ---*/
/*----------------------------------------------------------------------------*/

.kosu_speaker_edit {
    z-index: 100;
    font-size: .6em;
    background-image: none;
    text-transform: none;
    font-weight: 700;
    display: inline-block;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 3px 0px 15px 0px;
    text-transform: uppercase;
    padding: 3px 12px;
    background-color: #4fba77;
    color: #323745;
    align-self: start;
    position: absolute;
    bottom: 0;
    right: 0;
    cursor: pointer;
}

.kosu_speaker_edit::after {
    content: attr(data-txt-edit);
}

/*  COUNTDOWN */

.kosu_caption-countdown {
  display: flex;
  margin-top: 1em;
  justify-content: center;
}

.kosu_caption-countdown > div:nth-of-type(2){
  width: fit-content !important;
}

.kosu_caption-live {
  display: flex;
  align-items: center;
}

.kosu_caption-live::before {
  content: '';
  margin-right: .5em;
  width: .7em;
  height: .7em;
  border-radius: 1em;
  display: block;
}

.kosu_caption-wrapper .vivo_tmr_txt { display: none; }
.kosu_caption-wrapper .vivo_tmr { border: 0px !important; }
.kosu_caption-wrapper .vivo_tmr_num {font-size: inherit !important; line-height: inherit !important;}

.kosu_caption-wrapper .vivo_tmr { margin-right: 0px !important; padding: 0px; display: flex; }

.kosu_caption-wrapper .vivo_tmr_second::before,
.kosu_caption-wrapper .vivo_tmr_minute::before,
.kosu_caption-wrapper .vivo_tmr_hour::before {
  content: ':';
}


@media (max-width: 950px) {
  .kosu_gallery_wrapper.kosu-grid-columns-3 {
    grid-template-columns: 1fr 1fr !important;
  }
}



@media (max-width: 900px) {
    .kosu_gallery_wrapper {
      grid-template-columns: 1fr 1fr 1fr !important;
    }
}

@media (max-width: 650px) {
  .kosu_gallery_wrapper.kosu-grid-columns-3 {
    grid-template-columns: 1fr !important;
  }
}


@media (max-width: 600px) {
    .kosu_gallery_wrapper {
      grid-template-columns: 1fr 1fr !important;
    }
}