/*
Theme Name: Theater Child
Theme URI: http://cmsmasters.net/theater-child/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: Theater Child Theme
Template: theater
Version: 1.0.0
License:
License URI:
Text Domain: theater-child
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/
:root {
    --tma-event-gap: 20px;
    --tma-events-cols: 5;
    --tma-default-radius: 3px;
    --tma-button-border-radius: 3px;
    --tma-button-hover-color: #000000;
    --tma-main-color: #be1e2d;
    --tma-hover-opacity: 0.7;
    /*--tma-h-font-family: 'Cormorant Garamond', Arial, Helvetica, 'Nimbus Sans L', sans-serif;*/
    /*--tma-h-font-family: 'MisteryQuest', Arial, Helvetica, 'Nimbus Sans L', sans-serif;*/
    --tma-h-font-family: 'Cinzel';
    --tma-h1-font-size: 32px;
    --tma-h1-line-height: 40px;
    --tma-h1-color: #7f3bbf;
    /*--tma-h1-color: #be1e2d;*/
    --tma-grid-title-font-size: 25px;
    --tma-grid-title-color-hover: #a49f95;

    --tma-bg-color-purple: #ce408c;
}
h1 {
    color: #000b72 !important;
}

/* Menu */
nav > div > ul#navigation ul {
    width: 205px;
}
#navigation li.menu-item-has-children > a > span {
    padding-right: 35px;
}
#navigation li.menu-item-has-children > a > span:after {
    display: block;
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    top: 50%;
    right: 20px;
    border-style: solid;
    border-color: #FFFFFF transparent transparent transparent;
    transition: all .3s ease-in-out;
}

#navigation > li.menu-item-has-children > a > span:after {
    border-width: 4px 4px 0 4px;
    border-color: #FFFFFF transparent transparent transparent;
}

#navigation > li.menu-item-has-children li.menu-item-has-children > a > span:after {
    border-width: 4px 0 4px 4px;
    border-color: transparent transparent transparent #FFFFFF;
    transform: translateY(-50%);
    opacity: 0.65;
}
#navigation > li.menu-item-has-children li.menu-item-has-children > a:hover > span:after {
    opacity: 1;
}
#navigation > li.menu-item-has-children > a:hover > span:after {
    opacity: 0.65;
}

@media only screen and (min-width: 1025px) {
    .header_mid.header_mid_scroll ul.navigation ul {
        background-color: var(--tma-bg-color-purple);
    }
}

/* End - Menu */

.cmsmasters_breadcrumbs {
    display: none !important;
}
@media only screen and (max-width: 1024px) {
    :root {
        --tma-event-gap: 25px;
    }
}
@media only screen and (max-width: 848px) {
    :root {
        --tma-events-cols: 2;
    }
}
@media only screen and (max-width: 600px) {
    :root {
        --tma-events-cols: 1;
    }
}

.middle_content {
    padding-top: 25px;
}
.cmsmasters_theme_icon_image::before {
    content: " " !important;
}
.cmsmasters_theme_icon_image{
    background: url("/wp-content/themes/theater-child/img/tma-placeholder-300.jpg") no-repeat center center;
    background-size: cover;
}
.home-prizes .cmsmasters_theme_icon_image {
	background: url("/wp-content/uploads/2021/11/bg-01-mic-5.jpg") no-repeat center center;
}

.tma-project-featured{
    margin-bottom: 20px !important;
}
.tma-project-featured img {
    width: 100%;
    height: auto !important;
}
/*.cmsmasters_project_title {
    color: #000000 !important;
    text-align: left;
}*/
.tma-projects-item img{
    transition: all .3s ease-in-out;
    border-radius: var(--tma-default-radius);
}
.tma-projects-item:hover img {
    opacity: var(--tma-hover-opacity);
}
.cmsmasters_project_grid  {
    display: flex;
    flex-direction: column;
}
.cmsmasters_project_grid footer {
    margin-top: auto;
}

.contact-details .social_wrap a {
    width: 40px !important;
    height: 40px !important;
    
}
.tma-pagination .cmsmasters_wrap_pagination {
    text-align: center;
}

.contact-details .social_wrap a::before {
    font-size: 2em !important;
}
.cmsmasters_tribe_events_views_v2 #tribe-events-pg-template .tribe-events-back {
    margin-bottom: 10px;
    padding-bottom: 0;
}
.tribe-events-cal-links,
.tribe-events-event-categories-label,
.tribe-events-event-categories {
    display: none !important;
}
.tribe-events-single-event-title {
    font-style: normal !important;
}

.events-list-ticket {
    color: #FFFFFF !important;
    background-color: var(--tma-main-color) !important;
    padding: 0 25px !important;
    line-height: 40px !important;
}
.events-list-ticket:hover {
    background-color: var(--tma-button-hover-color) !important;
}
.tma-event-list {
    display: flex;
    align-items: stretch;
    row-gap: var(--tma-event-gap);
    column-gap: var(--tma-event-gap);
    flex-wrap: wrap;
    margin-bottom: var(--tma-event-gap) !important;
    /*border: 1px solid #ffcc00 !important;*/
}
.tma-event-wrapper {
    /* 0 0 calc((100% - (cols - 1) * gap)) / cols */
    flex: 0 0 calc(( 100% - ( var(--tma-event-gap) * (calc(var(--tma-events-cols) - 1)) )) / var(--tma-events-cols) );
    border-bottom: 1px solid #efefef !important;
}
.tma-event-wrapper header {
/*    margin-top: 10px;*/
    padding-top: 10px;
}
.tma-event-wrapper img {
    border-radius: var(--tma-default-radius);
}
.tma-event-wrapper h3 a{
    font-size: 20px !important;
    line-height: 22px !important;
}
.tma-event-wrapper .tma-event-date {
    text-align: center;
}
/*.cmsmasters_tribe_events_views_v2 .tribe-common .tribe-events-calendar-list__event-title a {
    line-height: 22px !important;
}*/
.tma-event-wrapper .tribe-events-calendar-list__event-featured-image-wrapper {
    width: 100% !important;
}
.tma-event-tickets {
    display: flex;
    justify-content: center;
}
.tma-event-tickets .button {
    margin-top: 5px !important;
    line-height: 35px !important;
}
/*.tma-event-tickets .tribe-events-calendar-list__event-cost {
    margin-top: 3px !important;
    font-weight: bold !important;
}*/
.tribe-events-c-events-bar {
    display: none !important;
}
.tma-event-wrapper .tma-event-separator {
    display: none;
}

.tma-event-wrapper .tma-event-separator hr {
    border-top: 2px solid #cdcdcd;
    margin-bottom: calc(44px - var(--tma-event-gap));
}
.tma-event-wrapper:last-child .tma-event-separator {
    display: none !important;
}
@media only screen and (max-width: 600px) {
    .tma-event-wrapper:not(:last-child) .tma-event-separator {
        display: block;
    }
}

#pojo-a11y-toolbar.pojo-a11y-toolbar-open .pojo-a11y-toolbar-toggle, 
#pojo-a11y-toolbar.pojo-a11y-toolbar-open .pojo-a11y-toolbar-overlay {
	box-shadow: none !important;
}

.tma-popup-text {
    color: #ffffff;
}
.pum-container {
    background: url("/wp-content/uploads/2023/02/popup-bg.jpg") !important;
    border-color: var(--tma-main-color) !important;
}
.pum-container .pum-title{
    font-weight: bold;


}
.pum-container .pum-content {
    padding-top: 20px;
    font-size: 1.3rem;
}
.pum-container a {
    display: inline-block;
/*    background: #b49761;*/
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 15px 20px;
    transition: 0.3s all;
    border-radius: 3px;
    font-size: 1rem;
/*    box-shadow: 0 9px 18px #000000;*/
}
.pum-close {
    line-height: 24px !important;
}
/*.pum-container a:hover {
    background-color: #BE1E2D;
    box-shadow: none;
}*/

.cmsmasters_button,
.cmsmasters_project_read_more,
.events-list-ticket,
.button,
input[type="submit"],
input[type="button"],
button {
    -webkit-border-radius: var(--tma-button-border-radius);
    -moz-border-radius: var(--tma-button-border-radius);
    border-radius: var(--tma-button-border-radius);
    padding-left: 25px;
    padding-right: 25px;
    line-height: 40px !important;
}
.cmsmasters_project_read_more {
    transition: all .3s ease-in-out;
    background-color: var(--tma-main-color);
    color: #FFFFFF;
    text-transform: uppercase !important;
    font-size: 13px !important;
}
.cmsmasters_project_read_more:hover {
    background-color: #000000;
    color: #FFFFFF;
}

/* profiles */
article.profile .cmsmasters_owl_slider_item.cmsmasters_content_slider_item {
	text-align: center !important;
}

article.profile .cmsmasters_owl_slider_item.cmsmasters_content_slider_item img {
	max-height: 500px !important;
	width: auto !important;
}

.tma-profile-outer a.cmsmasters_social_icon {
    color: #bcbcbc;
}
.tma-profile-outer a.cmsmasters_social_icon:hover {
    color: #000000;
}
.cmsmasters_profile_horizontal .cmsmasters_profile_header {
    padding-bottom: 0 !important;
}
.tma-profile-outer .profile_social_icons {
    text-align: center;
}
.tma-profile-img {
    text-align: center !important;
    height: 400px;
    width: 100%;
}
.tma-profile-img a {
    display: block !important;
    height: 100%;
    width: 100%;
}
.tma-profile-img a img {
    height: 100%;
    width: auto;
    border-radius: var(--tma-default-radius);
    transition: all 0.3s ease-in-out !important;
    object-fit: cover;
}
.tma-profile-img a:hover img{
    opacity: var(--tma-hover-opacity);
}
.cmsmasters_profile_img_wrap,
.project_img_wrap,
.cmsmasters_archive_item_img_wrap {
    padding: 10px;
    border-radius: 3px;
}
.cmsmasters_profile_img_wrap figure img,
.project_img_wrap figure img,
.cmsmasters_archive_item_img_wrap img{
    object-fit: contain;
}
@media only screen and (max-width: 1024px) {
    .cmsmasters_profile_horizontal .profile_social_icons {
        background-color: transparent !important;
    }
}


.cmsmasters_project_grid .cmsmasters_img_rollover {
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}
.cmsmasters_project_grid .cmsmasters_img_rollover_wrap {
    /*overflow: auto !important;*/
}
.cmsmasters_slider_project .cmsmasters_img_rollover_wrap:hover .cmsmasters_img_rollover,
.cmsmasters_project_grid .cmsmasters_img_rollover_wrap:hover .cmsmasters_img_rollover {
    background-color: rgba(190, 30, 45, 0.85) !important;
}
#bottom aside h2,
.home-blog h4 a,
.home-shows h2 a{
    font-family: var(--tma-h-font-family);
    font-style: normal;
}
#bottom aside {
    width: 28%;
}

.portfolio.grid {
    display: flex;
    flex-wrap: wrap;
}

.cmsmasters_archive_item_title.entry-title,
.cmsmasters_archive_item_title.entry-title a,
.cmsmasters_tribe_events_views_v2 .tribe-events-single .tribe-events-single-event-title,
.cmsmasters_open_project .cmsmasters_project_header .cmsmasters_project_title,
.cmsmasters_open_post .cmsmasters_post_header .cmsmasters_post_title,
.cmsmasters_open_profile .cmsmasters_profile_title{
    font-size: var(--tma-h1-font-size) !important;
    line-height: var(--tma-h1-line-height) !important;
    font-family: var(--tma-h-font-family) !important;
    color: var(--tma-h1-color) !important;
    font-style: normal !important;
    font-weight: bold !important;
    text-align: left !important;
}

.tma-event-wrapper h3,
.cmsmasters_project_title,
.cmsmasters_project_title a,
.cmsmasters_tribe_events_views_v2 .tribe-common .tribe-events-calendar-list__event-title a,
.cmsmasters_profile_title.entry-title,
.cmsmasters_profile_title.entry-title a {
    font-family: var(--tma-h-font-family) !important;
    font-size: var(--tma-grid-title-font-size) !important;
    color: var(--tma-h1-color) !important;
    line-height: inherit !important;
    text-align: center;
    font-style: normal;
}

.tma-event-wrapper h3 a:hover,
.cmsmasters_project_title a:hover,
.cmsmasters_tribe_events_views_v2 .tribe-common .tribe-events-calendar-list__event-title a:hover {
    color: var(--tma-grid-title-color-hover) !important;
}