/**
 * 	EventON Photos addon
 * 	@version 2.0.3
*/


/* eventcard arrows */
  .evocard_box.ftimage{position: relative;}
  
  .evocard_box.ftimage .evo_elmHCS_nav i:hover{box-shadow: 0 6px 16px 13px rgb(0 0 0 / 40%)}
  .evoep_lb_gallery{padding:20px 0;}
  .evoep_lb_gallery span.select{}
  .evoep_lb_gallery span{}

  .evolb_content .evo_elmHCS_nav.evoep_ec_trig,
  .evocard_box.ftimage .evo_elmHCS_nav
  {display: flex;background: transparent;}
  .evolb_content .evo_elmHCS_nav.evoep_ec_trig:hover,
  .evocard_box.ftimage .evo_elmHCS_nav:hover{opacity: 1}
  .evolb_content .evo_elmHCS_nav.evoep_ec_trig i{
        background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
  }
  .evolb_content .evo_elmHCS_nav.evoep_ec_trig i:hover{box-shadow: 0 6px 16px 13px rgb(0 0 0 / 40%)}
  .evolb_content .evo_elmHCS_nav.evoep_ec_trig.HCSnavL,
  .evocard_box.ftimage .evo_elmHCS_nav.HCSnavL{left:0;padding-left: 20px;}
  .evolb_content .evo_elmHCS_nav.evoep_ec_trig.HCSnavR,
  .evocard_box.ftimage .evo_elmHCS_nav.HCSnavR
  {padding-right: 20px;}

/* captions and titles */
  .evoep_captions{max-width: 30%; top:20px; right:20px; z-index: 15;height: fit-content;}
  .evolb_content .evoep_captions{top:70px;}
  .evoep_captions.show{height: 100%;}
  .evoep_captions_in.vis{display: flex;}
  .evoep_captions_in{
    display: none;
    padding: 20px;text-align: right;
    background-color: #33333399;
    border-radius: 20px;
  }
  .evoep_captions_in:hover{background-color: #333333;}
  body .ajde_evcal_calendar #evcal_list .evoep_captions_in p,
  body .ajde_evcal_calendar .evoep_captions_in h4.evo_h4,
  .evo_lightbox .evolb_content  .evoep_captions_in h4.evo_h4,
  .evo_lightbox .evolb_content  .evoep_captions_in p
  {color:#fff;text-transform: none;}

  .evoep_captions_in h4.evo_h4 i{
    background-color: #fff;
    color: var(--evo_color_1);
    font-size: 12px;
    margin-left: 10px;
    padding: 5px;
    border-radius: 10px 10px 0;
  }
  @keyframes slideupright {
      0% { transform:scale(0);transform-origin: top right; opacity: 0;height: 0px; width: 0px;}
      100% { transform: scale(1); transform-origin: top right; opacity: 1; height:100%; width: 100%;}
  }
  .evoep_captions_in span{
    visibility: visible; opacity: 0;
    transform-origin: top right;
    transition: height 0.3s ease-in;
    height:0px; width: 0px;
    transform:scale(0);
  }
  .evoep_captions.show h4.evo_h4 i{display: none;}
  .evoep_captions.show span{
    transform: scale(1); opacity: 1; margin-top:5px;
    height:auto; width: auto; overflow: auto;
  }
  .evoep_captions.show .evoep_captions_in{height: fit-content; max-height: 50%;}

/* old */
.evo_metarow_photo .evoep_image_collection{padding-top: 10px;}
.evo_metarow_photo .evoep_image_collection span{
	display: inline-block;
	border-radius: 5px;
	margin-right: 10px;
	margin-bottom: 10px;
}
.evo_metarow_photo .evo-gallery a img{
	width: 100px;
	height: auto;
	border-radius: 15px;
	cursor: pointer;
}
.evo_metarow_photo .evo-gallery a.thumb50 img{width: 50px;}
.evo_metarow_photo .evo-gallery a.thumb150 img{width: 150px;}
.evo_metarow_photo .evo-gallery a.thumb75 img{width: 75px;}
.evo_metarow_photo .evo-gallery a img:hover{
	opacity: 0.7;
}
.evo_metarow_photo .evo-gallery {width: 100%;height: auto;display: flex;flex-wrap: wrap;gap:10px;}
.evo_metarow_photo .evo-gallery a {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    display: inline-block;
    line-height: 0;
}
.evo-gallery-existing {
  width: 100%;
  height: auto;
  float: left;
}
.evo-gallery-existing a {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    display: block;
    float: left;
    margin: 6px 0px 6px 6px;
    width: 100px;
    line-height: 0;
}

.evo-gallery-existing a:first-of-type {	margin-right: 0px;}
a.eventon-gallery__img--main {
  width: auto;
  height: auto;
}
button.pswp__button.pswp__button--share {   display: none;}
.evo-gallery figure {  display: none;}
.evo-gallery-existing figure {  display: none;}

.evo-gallery__title {
  line-height: 14px;
  font-size: 14px;
  opacity: 0.8;
  margin-top: 5px;
  width: 100%;
  float: left;
}
.share-buttons h2 {
  text-align: center;
  border: 0;  
}
.share-buttons {
  text-align: center;
  position: relative;
  margin: 0 0 24px;
}
.share-buttons a {
  -moz-border-radius: 2px;
  border-radius: 2px;
  display: inline-block;
  padding: 10px 20px;
  margin: 10px;
  color: #FFF;
  text-decoration: none;
  background: #5AAF63;
  font-size: 16px;
  line-height: 22px;
  cursor: pointer;
}
.share-buttons a:hover { opacity: 0.7;}
#tweet {  background: #0096c4;}
#like {  background: #3b5998;}
#gplus {  background: #d34836;}

/* mobile or smaller view */
@media (max-width: 600px){}

/*Added styles to override z-index for event photos gallery */
.pswp {   z-index: 990000 !important;}
.pswp__ui--idle .pswp__top-bar { opacity: 1 !important;}