/*
	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,
img.kosu_spk_is_online,
.kosu_cap-spk-thumb-txt { display: none !important;}

.kosu_gallery_wrapper {
  overflow: visible;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.kosu-grid-element {
  margin-right: 3%;
  margin-bottom: 60px;
}

.kosu-grid-element {
  position: relative !important;
  float: left;
  margin-top:0px;
}

.kosu_spk-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #f2f2f2;
}

.kosu_img-wrapper {
}

.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);
}

.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;
  text-align: left;
  padding: 15px;
  font-size: 14px;
  line-height: 17px;
}

/*----------------------------------------------------------------------------*/
/*--- Caption styling                                                      ---*/
/*----------------------------------------------------------------------------*/
.kosu_cap-spk-name {
    margin-top: 1em;
    font-size: 22px;
    line-height: 26.4px;
    color: #46b7c0;
    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; }

.kosu_txt_label[data-label]:not([data-label=""]):after,
.kosu_txt_status[data-label]:not([data-label=""]):after {
    content: attr(data-label);
    font-size: 0.7em;
  }


.kosu_status_list li:before {
  font-size: .8em;
  content: '|';
  margin-left: 0.2em;
  margin-right: 0.2em;
}
.kosu_status_list li:first-child:before {
  content: '';
  margin-left: 0px;
  margin-right: 0px;
}


.kosu_status_list {
  display: flex;
  list-style: none;
  padding-left: 0px;
  margin: 0px;
  line-height: 1em;
  font-weight: bold;
  justify-content: center;
}

.kosu_status_list li {
  display: contents;
}

.kosu_status_list li[data-label=""] {
  display: none;
}

.kosu_txt_status.online::before {
  content: '';
  width: 0.8em;
  height: 0.8em;
  font-size: .5em;
  display: inline-block;
  vertical-align: middle;
  background: green;
  border-radius: 50%;
  margin-right: 0.3em;
}

/*----------------------------------------------------------------------------*/
/*--- 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 0px 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);
}


.kosu-grid-columns-1 .kosu-grid-element { width: 100% !important; }
.kosu-grid-columns-2 .kosu-grid-element { width: 48%; }
.kosu-grid-columns-3 .kosu-grid-element { width: 30%; }
.kosu-grid-columns-4 .kosu-grid-element { width: 22%; }
.kosu-grid-columns-5 .kosu-grid-element { width: 19%; }
.kosu-grid-columns-6 .kosu-grid-element { width: 15.5%; }

@media (max-width: 800px) {
  .kosu-grid-columns-2 .kosu-grid-element { width: 100%; }
  .kosu-grid-columns-3 .kosu-grid-element { width: 48%; }
  .kosu-grid-columns-4 .kosu-grid-element { width: 30% !important; }
  .kosu-grid-columns-5 .kosu-grid-element { width: 24%; }
  .kosu-grid-columns-6 .kosu-grid-element { width: 19%; }
}

@media (max-width: 500px) {
  .kosu-grid-columns-3 .kosu-grid-element { width: 100%; }
  .kosu-grid-columns-4 .kosu-grid-element { width: 48%; }
  .kosu-grid-columns-5 .kosu-grid-element { width: 31.5%; }
  .kosu-grid-columns-6 .kosu-grid-element { width: 24%; }
}
