/* 2 - MEC HOMEPAGE EVENT LIST */


.mec-bg-color, .mec-wrap .mec-bg-color{
background: var(--e-global-color-secondary);
    padding: 15px;
    border-radius: 55px;
    width: 75px;
    height: 75px;
    display: flex;https://template.clickcolab.com/wp-admin/theme-editor.php?file=homepage-event-list.css&theme=ChabadHouseTemplatebyClickCo
    flex-direction: column;
    gap: 0;
	    line-height: 120%;
    align-items: center;
    justify-content: center;
	margin-right: 9px;
}
.mec-event-list-minimal .mec-event-detail {
    display: none;
}
.mec-event-list-modern ul.mec-event-sharing, .mec-event-list-minimal ul.mec-event-sharing{
    display: none;
}

.mec-wrap .mec-event-list-modern .mec-event-title, .mec-event-list-minimal .mec-event-title{
    color: var(--e-global-color-primary) ;
       font-size: 23px;
    text-transform: none;
    letter-spacing: -.3px;
   
}
.mec-event-list-minimal .mec-time-details {
	margin-top: 15px;
    margin-bottom: 6px !important;
}
.mec-event-list-modern .mec-month-divider , .mec-event-list-minimal .mec-month-divider {
    display: none;
}

/*

.btn-wrapper {
    width: fit-content !important;
}
.mec-event-list-minimal .btn-wrapper .mec-detail-button {
		border:none;
    transition: .3s;
    min-width: fit-content;
    width: 115px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 9px 16px;
    letter-spacing: 1px;
    font-weight: 600 !important;
	
	font-size: 14px;
}
*/

.mec-minimal-row {
    width: 100%;
}
.mec-minimal-content-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}


.mec-event-list-minimal .mec-categories-wrapper, .mec-event-list-minimal .mec-event-detail, .mec-event-list-minimal .mec-price-details, .mec-event-list-minimal .mec-shortcode-organizers, .mec-event-list-minimal .mec-time-details {
  font-family: var(--e-global-typography-text-font-family), sans-serif;
    color: var( --e-global-color-d209279 );
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: .3px;
}

.mec-event-list-minimal .mec-event-article {
    background: #FEFDFC;
    border-bottom: none;
    padding: 19px 0 0;
    border: 1px solid #f4eee2;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 18px 14px 14px 14px;
transition:.3s;
}

/* button */

.mec-event-list-minimal .btn-wrapper {
    padding: 0;
	   
}
.mec-event-list-minimal .col-md-3 {
        width: 35%;
    }
.mec-event-list-minimal .btn-wrapper .mec-detail-button {
	
  background-color: transparent !important;
	  background-color: var(--e-global-color-accent) !important;
    box-shadow: none !important;
  padding: 4px 0;
  width: fit-content;
  display: inline-block;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  transition: none;
  text-decoration: none !important;
  font-family: var(--e-global-typography-text-font-family), sans-serif;
 
	font-size: 14px;
   min-width: 136px;
    border: 1px solid var(--e-global-color-accent);
    padding: 6px 9px;
    border-radius: 4px;
	transition: .3s;
}

/*
.mec-event-list-minimal > article:hover .mec-detail-button {
  opacity:.9;
  color: var( --e-global-color-4848939 ) !important;
  text-decoration: none !important;
} */
.mec-event-list-minimal > article:hover {
background: #fffefc;
}

.mec-event-list-minimal > article:hover .mec-event-title a, .mec-event-title a:hover {
 color: color-mix(in srgb, var(--e-global-color-primary) 85%, white) !important;
}

.mec-event-list-minimal > article:hover .mec-detail-button, .mec-event-list-minimal > article:hover {
	    transform: translateY(-2px);
}
    

/* blobs dates */



.mec-event-list-minimal > article .mec-event-date.mec-bg-color span {
        font-size: 27px !important;
             font-family: var(--mec-heading-font-family);
     font-weight: 600 !important;
        }
    
  
    .mec-event-list-minimal .mec-event-date:after {
    background: none;
    box-shadow:none;
}


.mec-event-list-minimal > article .mec-event-date.mec-bg-color {
    margin-top: -6px;
     font-weight: 700 !important;
    font-size: 15px !important;
 
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    padding: 0;
    background: none !important;
  
    color:var(--e-global-color-0afbf00);
    text-align: center;
    line-height: 1.2;
    overflow: visible;
    isolation: isolate;
    border-radius: 0 !important;
    
          backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
            
}
/*
.mec-event-list-minimal > article .mec-event-date.mec-bg-color::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
   
        background-color: var(--e-global-color-primary);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    -webkit-mask-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86.543 86.189'>\
<path fill='black' d='M3.973,32.71q.329-1.229.712-2.5a37.924,37.924,0,0,1,2.374-6.43c4.605-8.968,15.578-17.859,25.061-20.9C47.03-1.912,59.5-1.541,71.09,10.328c17.035,17.45,21.233,44.143,6.277,63.833C66.553,88.4,37.8,88.726,22.739,81.732c-6.772-3.145-14.6-7.3-19.109-13.468C-3.227,58.882,1.24,42.922,3.973,32.71Z'/>\
</svg>");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86.543 86.189'>\
<path fill='black' d='M3.973,32.71q.329-1.229.712-2.5a37.924,37.924,0,0,1,2.374-6.43c4.605-8.968,15.578-17.859,25.061-20.9C47.03-1.912,59.5-1.541,71.09,10.328c17.035,17.45,21.233,44.143,6.277,63.833C66.553,88.4,37.8,88.726,22.739,81.732c-6.772-3.145-14.6-7.3-19.109-13.468C-3.227,58.882,1.24,42.922,3.973,32.71Z'/>\
</svg>");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100% 100%;
	    mask-size: 94% 90%;
}
*/

.mec-event-list-minimal > article .mec-event-date.mec-bg-color {
       color: var( --e-global-color-primary );
	border-right: 1px solid var(--e-global-color-0afbf00);
    margin-right: 18px !important;
    padding-right: 0;
    width: 82px;
}
.mec-event-list-minimal > article:nth-of-type(even) .mec-event-date.mec-bg-color::before {
    transform: rotate(180deg);
  }

.mec-event-list-minimal > article .mec-event-date.mec-bg-color span {
    display: block;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
}

.mec-event-list-minimal > article .mec-event-date.mec-bg-color {
    font-size: 14px;
    font-weight: 700;
}
/* smooth animation */
.mec-event-list-minimal > article .mec-event-date.mec-bg-color {
    transition: transform 0.45s cubic-bezier(.34, 1.4, .64, 1);
	    margin-right: 0;
}

/* HOVER — shape 1 (odd): slight left 
.mec-event-list-minimal > article:nth-of-type(odd):hover .mec-event-date.mec-bg-color {
    transform: rotate(-5deg);
}
*/
/* HOVER — shape 2 (even): slight right 
.mec-event-list-minimal > article:nth-of-type(even):hover .mec-event-date.mec-bg-color {
    transform: rotate(10deg);
}

 */


/* to calendar button */


.calendar p {
    margin-bottom:0;
    }
 

 
.calendar a:after {
    content: "\232A\232A";
    font-size: 9px;
    position: relative;
    padding-left: 4px;
   top:-2px;
    display: inline-block;
}

.entry-content .mec-wrap h1 a, .entry-content .mec-wrap h2 a, .entry-content .mec-wrap h3 a, .entry-content .mec-wrap h4 a, .entry-content .mec-wrap h5 a, .entry-content .mec-wrap h6 a, .mec-wrap .mec-calendar .mec-event-article .mec-event-title a, .mec-wrap .mec-event-grid-classic .mec-event-title a, .mec-wrap .mec-event-grid-clean .mec-event-title a, .mec-wrap .mec-event-grid-minimal .mec-event-title a, .mec-wrap .mec-event-grid-modern .mec-event-title a, .mec-wrap .mec-event-grid-simple .mec-event-title a, .mec-wrap .mec-event-list-classic .mec-event-title a, .mec-wrap .mec-event-list-minimal .mec-event-title a, .mec-wrap .mec-event-list-standard .mec-event-title a, .mec-wrap .mec-wrap .mec-event-list-modern .mec-event-title a, .mec-wrap h1 a, .mec-wrap h2 a, .mec-wrap h3 a, .mec-wrap h4 a, .mec-wrap h5 a, .mec-wrap h6 a {
color:inherit;}
.mec-wrap .mec-cancellation-reason span, .mec-wrap .mec-labels-normal .mec-label-normal {
       background: var(--e-global-color-secondary);
    letter-spacing: .5px;
}

/* mobile */

@media (max-width: 767px) {
.mec-event-list-minimal > article .mec-event-date.mec-bg-color {
   height:auto;
    border-bottom: 1px solid var(--e-global-color-0afbf00);
    border-right: 0;
	    flex-direction: row;
	padding-bottom: 9px;
	gap: 2px;
	margin-bottom: 1px;
    width: 90% !important;
}
.mec-minimal-content-wrap {

    align-items: center;
    flex-direction: column;
}
	.mec-wrap .mec-event-list-modern .mec-event-title, .mec-event-list-minimal .mec-event-title {
 
    display: flex;
    flex-direction: column;
}
	.mec-event-list-minimal .col-md-3 {
    width: 50%;
}
	.mec-event-list-minimal .mec-event-date span {
               padding-right: 0;
        margin-right:0;
	}
	.mec-event-list-minimal .btn-wrapper, .mec-event-list-minimal .btn-wrapper .mec-detail-button {
        margin-top: 0;
}
	.mec-event-list-minimal > article .mec-event-date.mec-bg-color span {
font-size: 14px !important;
	}
	
	.mec-event-list-minimal .mec-event-article {
padding: 14px;
}
	.mec-event-list-minimal > article .mec-event-date.mec-bg-color {  
		     gap: 4px;
		padding-top: 9px;
		        display: flex;
        flex-direction: row-reverse;
}
	.mec-event-list-minimal .btn-wrapper .mec-detail-button {
		font-size: 12px;
		letter-spacing: .5px;
    min-width: 111px;
}
}
