/*!
Theme Name: liga_of_masters
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: liga_of_masters
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

liga_of_masters is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}
.comment-form-cookies-consent {display:none;}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
.tabs {
        display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 10px;
}
.tabs > li {
    border: solid 2px #eee;
    padding: 9px;
    font-weight: 500;
}

.header__left, .header__right{
	justify-content: space-evenly;

}
.tabs > .current {
    background: #ffda18;
    border: none;
}

.tribe-events-event-image img {
    max-width: 100%;
}

.tribe-events-view, .tribe-events-before-html { 
margin-top: 45px;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown__button, .tribe-block__events-link .tribe-events-c-subscribe-dropdown__button {
    width: 260px;
}

.tribe-link-view-attendee {
    display: none; 
}

.header__mobile-lang {
    font-size: 1.6em;
}

.form__dark > div > form > div.wpcf7-response-output {
	color: white;
}
.text-green {
	color: green;
}

.codedropz-upload-container { padding: 0!important; }
.codedropz-upload-handler {border: none; }
.dnd-upload-counter {display:none}
img, svg {max-width: 100%;}

.form-controls label span, .form-controls__title span { display: inline-flex!important;;} 
.form-radio-controls label {max-width: inherit!important; width: 100%;}
.wpcf7-list-item {width: 100%;}
.form-controls input[type=radio] { margin-right: 5px;}
.person-filter__select select { appearance: none; }
.spec-item { margin: 0 7px 15px 0; }

#ex-price .profile__gallery-image  {
	 padding: 20px;
	 border: 0px solid #222;
}
#ex-price .profile__gallery-item {
	width: 150px;
    height: 200px;
	 border: 1px solid #222;
	text-align: center;
}
.profile__price-name {
	background-color: #c7c7c7
}
.profile__price-name strong {
  padding-left: 5px;
  padding-right: 5px;
  display: block;
  max-height: 48px;
  height: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* зміна списків в хедері */
.header__left, .header__right {
    margin-bottom: 0;
    align-items: center;
    text-align: center;
}



.md-ticket-count {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-top: 1px solid #E3E7EA;
    border-bottom: 1px solid #E3E7EA;
    margin-bottom: 30px;
    max-width: none;
    flex-wrap: wrap;
}

.md_mod_class_3 .md-ticket-count + .md-ticket-count {
    display: none;
}

.md-ticket-count_ticket_img {
    background: url("assets/img/ticket.jpg") no-repeat center / 160%;
    width: 160px;
    height: 100px;
    margin-right: 30px;
}

.md-ticket-count_ticket_label {
    font-size: 24px;
    line-height: 150%;
}

.md-ticket-count_ticket_count {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 40px;
}

.md-ticket-count_ticket_count input {
    width: 70px;
    border: 0;
    padding: 0;
    font-size: 24px;
    line-height: 150%;
    text-align: center;
}

.md-ticket-count_ticket_count_btn img{
    width: 30px;
    height: 30px;
    border: 0;
    cursor: pointer;
    max-width: none;
    display: block;
    margin: 0;
}

.md-ticket-count_ticket_price {
    font-size: 24px;
    line-height: 150%;
}

.md-ticket-summa {
    font-size: 24px;
    line-height: 150%;
    text-align: right;
    padding: 20px 0 ;
    margin-left: 50px;
}

.md-ticket-summa span {
    font-weight: 600;
}

.md-ticket_bottom {
    width: 100%;
    flex: 0 1 100%;
    display: flex;
    padding: 10px 0 15px;
    justify-content: flex-start;
}

.md-ticket_bottom input {
    flex: 0 1 auto;
    width: 23px;
    margin: 0 15px 0 15px;
}

.md-ticket_bottom label {
    font-size: 20px;
    cursor: pointer;
}



#form_order_ticket_obj_md .form-field input[type=text],
#form_order_ticket_obj_md .form-field input[type=tel],
#form_order_ticket_obj_md .form-field input[type=email],
#form_order_ticket_obj_md .form-field select{
    padding: 15px 20px;
    font-size: 20px;
    line-height: 135%;
}

#form_order_ticket_obj_md .form-field input[name="ticket_count"] {
    padding: 15px 4px;
}

#form_order_ticket_md .popup-title {
    margin-bottom: 30px;
    font-size: 40px;
}


#form_order_ticket_md .modal-content {
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 95%;
    height: auto;
}



@media screen and (max-width: 650px){

    .md-ticket_bottom {
        position: absolute;
        bottom: 0;
        margin: 0;
    }

    .md-ticket_bottom input {
        width: 18px;
        margin: 0 10px 0 0;
    }

    .md-ticket_bottom label {
        font-size: 17px;
    }


    #form_order_ticket_md .modal-content {
        transform: translateY(0);
    }

    .md-ticket-count {
        justify-content: space-between;
        position: relative;
        padding-bottom: 10px;
        flex-wrap: nowrap;
        margin-bottom: 2px;
    }

    .md-ticket-count_ticket_label {
        font-size: 14px;
        line-height: 100%;
        width: 75px;
    }

    .md-ticket-summa {
        font-size: 16px;
        line-height: 100%;
    }

    .md-ticket-count_ticket_price {
        font-size: 16px;
        line-height: 100%;
    }


    .md-ticket-count_ticket_count_btn img{
        width: 20px;
        height: 20px;
    }

    .md-ticket-count_ticket_count input {
        width: 30px;
        font-size: 16px;
        line-height: 100%;
    }



    .md-ticket-count_ticket_count input {
        width: 30px;
        font-size: 16px;
        line-height: 100%;
        margin: 0 20px;
    }

    .md-ticket-summa {
        margin-left: 15px;
        padding: 10px 5px 10px 0;
    }

    #form_order_ticket_md .popup-title {
        margin-bottom: 20px;
        font-size: 18px;
    }

    #form_order_ticket_md .modal-content {
        top: 20px;
    }

    #form_order_ticket_obj_md .form-field input[type=text], #form_order_ticket_obj_md .form-field input[type=tel], #form_order_ticket_obj_md .form-field input[type=email], #form_order_ticket_obj_md .form-field select {
        padding: 10px 20px;
        font-size: 16px;
    }

    #form_order_ticket_obj_md .md-ticket-count_ticket_count input[type=text]{
        padding: 10px 0px;
    }
}


@media screen and (max-width: 520px){
    .md-ticket-count_ticket_img {
        display: none;
    }

    .md-ticket-count_ticket_count {
        margin: 0 20px;
    }

    .md-ticket-count_ticket_count input {
        margin: 0 10px;
    }

    .md-ticket-summa span {
        display: block;
    }
}
.popup {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
	background: rgba(13, 15, 26, 0.78);
	z-index: 100;
}

.popup.active {
	display: block;
}

.modal-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 20px auto;
    /* transform: translateY(-50%); */
    max-width: 713px;
    /* padding: 80px; */
    background: var(--white);
    /* bottom: 0; */
    /* max-height: 100vh; */
}


.modal-video {
	padding: 0;
	max-width: 480px;
	height: fit-content;
}

.modal-video .mejs-container,
.modal-video .wp-video-shortcode video, 
.modal-video video.wp-video-shortcode {
	height: 70vh!important;
}


.modal-video .popup-close {
	background: var(--white);
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	
}

.wp-video,
.mejs-container {
	width: 100% !important;
}

.popup-title {
	color: var(--black);
	margin-bottom: 40px;
}

.popup-subtitle {
	font-size: 24px;
	font-weight: 600;
	line-height: 100%;
	color: var(--black);
	margin-bottom: 20px;
}

.popup-text {
	font-size: 18px;
	line-height: 130%;
	letter-spacing: -0.72px;
	color: var(--gray);
}

.popup-close {
    position: absolute;
	top: 24px;
	right: 24px;
    text-align: center;
    cursor: pointer;
	z-index: 10;
}
.mejs-controls {
	width: 97%
}
.popup div::-webkit-scrollbar {
  width: 0;
}
.mejs-controls {
	left: 12px;
}
.mejs-controls div{
	 width: 30%;
	margin: 0 auto;
}
.mejs-time-rail {
	width: 150% 
		!important;
}
.mejs-time {
	display: flex;
	align-items: center;
	height: 37px!important;
}
.mejs-duration {
	height: 10px;
}
.mejs-time span{
	margin: 0 auto;
}

@media screen and (max-width: 520px){
	.mejs-controls {
		left: 0px;
		width: 100%
	}
} 
.video-image {
	width: 165px!important;
	height: 165px!important;
} 
.youtube_icon {
	background-color: #fff;
	border-radius: 5px;
	padding: 3px;
}
.youtube_icon a svg {
	margin: 0 auto
}