/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/**24-06-2024**/
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-featured-image-wrapper{
	position: relative;
	margin: 0 !important;
    width: 100%;
}
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-featured-image-wrapper .featured-custom-tag{
	position: absolute;
	right: 0;
	top: 0;
	background: #000;
	line-height: 1;
    border-radius: 0 0px 0px 25px;
    font-size: 15px;
    color: #ffff;
    text-align: right;
    width: auto;
    padding: 13px 20px 13px 35px;
    text-transform: uppercase;
    font-family: var(--h2_typography-font-family);
    font-weight: 600;
    border: none !important;
}
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-featured-image-wrapper .featured-custom-tag span.tribe-events-pro-photo__event-datetime-featured-text {
    padding: 0 !important;
    margin: 0;
}
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-featured-image-wrapper .event-categories{
	list-style: none;
	position: absolute;
	bottom: 0;
	border-radius: 0 15px 0 0;
	left: 0	;
}
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-details-wrapper {
    display: block !important;
    padding: 15px 20px 0 !important;
}
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-date-tag {
    width: 100% !important;
    display: flex;
    align-items: center;
    gap: 15px;
}
.tribe-events-pro .photo-view-events-template  .tribe-events-pro-photo__event-details{
	margin-top: 0;
}
.fusion-body  .fusion-wrapper #main .tribe-events .photo-view-events-template .tribe-events-pro-photo__event-title{
	background: transparent;
	padding: 0 !important;
	margin: 0 !important;
}
.fusion-body .fusion-wrapper #main .tribe-events .photo-view-events-template .tribe-events-pro-photo__event-title a{
	color: #000;
}

.fusion-body .fusion-wrapper #main .tribe-events .photo-view-events-template .tribe-events-pro-photo__event-title a:hover{color: #e8611d;}

.photo-view-events-template .tribe-events-pro-photo__event-featured-image-link img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.photo-view-events-template article {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.photo-view-events-template article  .cta-more-info {
    margin-top: auto;
    padding: 50px 20px 30px;
    display: flex;
}

.photo-view-events-template article .cta-more-info .more-info-button {
    background: #573189;
    color: #fff;
    border-color: #573189;
    padding-top: var(--button_padding-top, 13px);
    padding-right: var(--button_padding-right, 29px);
    padding-bottom: var(--button_padding-bottom, 13px);
    padding-left: var(--button_padding-left, 29px);
    line-height: var(--button_line_height, 1);
    font-size: var(--button_font_size, 14px);
    border-radius: 100px;
    font-weight: 600;
}
.photo-view-events-template article .cta-more-info .more-info-button:hover,
.photo-view-events-template article .cta-more-info .more-info-button:focus {background-color: #e02660;color: #fff}

.photo-view-events-template article .cta-more-info .more-info-button:hover,
.photo-view-events-template article .cta-more-info .more-info-button:focus,
.photo-view-events-template article .cta-more-info .more-info-button:visited,
.photo-view-events-template article .cta-more-info .more-info-button:focus-visible {color: #fff}
/**end**/

/*25-06-2024 custom*/
.special-category-cards .fusion-reading-box-container {
    width: auto;
    min-width: inherit;
    display: flex;
    justify-content: flex-end;
}
.special-category-cards .fusion-reading-box-container .reading-box {
    background: #000 !important;
    border-radius: 0 0px 0px 25px;
    font-size: 15px;
    color: #ffff;
    text-align: right;
    width: auto;
    padding: 13px 20px 13px 35px;
    text-transform: uppercase;
    font-family: var(--h2_typography-font-family);
    font-weight: 600;
    border: none !important;
}
.special-category-cards .fusion-layout-column .fusion-column-wrapper.fusion-column-has-bg-image {
    padding: 0 0 0;
    height: 250px;
    align-items: flex-end;
}
.special-category-cards .fusion-layout-column {
    margin: 0;
}
.special-category-cards .special-content-view .fusion-column-wrapper {
    text-align: left;
    align-items: flex-start;
}
.special-content-view .special-card-content-group,
.special-content-view .fusion-flex-content-wrap {
    position: inherit !important;
}
.fusion-flex-container .fusion-row .fusion-flex-column.special-content-view > .fusion-column-wrapper{
    padding-bottom: 100px;
}

.special-content-view .special-card-content-button{
	position: absolute;
	bottom: 30px;
}

.special-category-cards .fusion-layout-column .fusion-column-wrapper.fusion-column-has-bg-image .special-title {
    margin-top: auto !important;
    text-align: left;
    width: 100%;
    margin-bottom: 0 !important;
}
.special-category-cards .fusion-layout-column .fusion-column-wrapper.fusion-column-has-bg-image .special-title a,
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-featured-image-wrapper .event-categories a {
    background: var(--awb-link-color);
    color: #fff;
    font-size: 18px;
    padding: 13px 35px 13px 20px;
    display: inline-block;
    min-width: 250px;
    border-radius: 0 25px 0px 0;
    letter-spacing: 1px;
    font-weight: 600;
}
.special-category-cards .fusion-layout-column .fusion-column-wrapper.fusion-column-has-bg-image .special-title a[title="Arts & Books"],
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-featured-image-wrapper .event-categories a[title="Arts & Books"],
.event-details-content .title-heading-tag a[title="Arts & Books"]{
    background-color: var(--arts-books-background);
}
.special-category-cards .fusion-layout-column .fusion-column-wrapper.fusion-column-has-bg-image .special-title a[title="Cinema"],
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-featured-image-wrapper .event-categories a[title="Cinema"],
.event-details-content .title-heading-tag a[title="Cinema"]{
    background-color: var(--cinema-background);
}
.special-category-cards .fusion-layout-column .fusion-column-wrapper.fusion-column-has-bg-image .special-title a[title="Dance & Performance"],
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-featured-image-wrapper .event-categories a[title="Dance & Performance"],
.event-details-content .title-heading-tag a[title="Dance & Performance"]{
    background-color: var(--dance-performance-background);
}
.special-category-cards .fusion-layout-column .fusion-column-wrapper.fusion-column-has-bg-image .special-title a[title="Kids"],
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-featured-image-wrapper .event-categories a[title="Kids"],
.event-details-content .title-heading-tag a[title="Kids"]{
    background-color: var(--kids-background);
}
.special-category-cards .fusion-layout-column .fusion-column-wrapper.fusion-column-has-bg-image .special-title a[title="Music"],
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-featured-image-wrapper .event-categories a[title="Music"],
.event-details-content .title-heading-tag a[title="Music"]{
    background-color: var(--music-background);
}
.special-category-cards .fusion-layout-column .fusion-column-wrapper.fusion-column-has-bg-image .special-title a[title="Social"],
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-featured-image-wrapper .event-categories a[title="Social"],
.event-details-content .title-heading-tag a[title="Social"]{
    background-color: var(--social-background);
}
.special-category-cards .fusion-layout-column .fusion-column-wrapper.fusion-column-has-bg-image .special-title a[title="Wellbeing"],
.tribe-events-pro .photo-view-events-template .tribe-events-pro-photo__event-featured-image-wrapper .event-categories a[title="Wellbeing"],
.event-details-content .title-heading-tag a[title="Wellbeing"]{
    background-color: var(--wellbeing-background);
}

.event-details-content .title-heading-tag a  {
    background: var(--awb-link-color);
    color: #fff !important;
    font-size: 18px;
    padding-top: var(--button_padding-top, 13px);
    padding-right: var(--button_padding-right, 29px);
    padding-bottom: var(--button_padding-bottom, 13px);
    padding-left: var(--button_padding-left, 29px);
    display: inline-block;
    border-radius: 100px;
    letter-spacing: 1px;
    text-align: center;
    font-weight: 600;
    line-height: var(--button_line_height, 1);
}

.event-details-content .fusion-column-wrapper .event-details-content-left {
    flex: 1 0 0;
}

.event-details-content .fusion-column-wrapper .event-details-category-title {
    flex: auto 0 0;
    margin-top: 30px;
}


@media(max-width: 991px){
    .tribe-events-pro .photo-view-events-template article.tribe-events-pro-photo__event {
        width: calc(50% - 10px) !important;
    }
    .tribe-events-pro .photo-view-events-template article.tribe-events-pro-photo__event:nth-child(2n) {
        margin-right: 0 !important;
    }

    .event-details-content .fusion-column-wrapper .fusion-title {
        width: 100%;
    }

    .event-details-content .fusion-column-wrapper .event-details-content-left {
        flex: 100% 0 0;
    }

    .event-details-content .fusion-column-wrapper .event-details-category-title {
        flex: 100% 0 0;
        margin-top: 0;
    }
}

@media(max-width: 640px){
    .tribe-events-pro .photo-view-events-template article.tribe-events-pro-photo__event {
        width: 100% !important;
    }
    .tribe-events-pro .photo-view-events-template article.tribe-events-pro-photo__event {
        margin-right: 0 !important;
    }
}
/*end*/
