/*
 Theme Name:   OceanWP Child
 Theme URI:    https://oceanwp.org/
 Description:  OceanWP Child Theme
 Author:       Chris
 Author URI:   https://oceanwp.org/about-me/
 Template:     oceanwp
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  OceanWPChild
 */

 #em-wrapper .em-bookings-recent,#em-transactions-table{/**/
	display: none;
}
/* #em-wrapper h2 .button.add-new-h2:nth-child(2){
	display:none;
} */

.em-bookings-events #posts-filter .alignleft.actions{
	display:none;
}
.tablenav #em-bookings-table-export-trigger,
.tablenav #em-bookings-table-settings-trigger{
	display:none;
}
#em-booking #person_id{
	display:none;
}
form input[type='checkbox'],form input[type='radio']{
	font-weight: 600 !important ;
}

/** Manage teams **/
.custom-booking-attendees{
    display: flex;
}
.custom-booking-attendees .custom-participants,
.custom-booking-attendees .custom-teams{
    width: 50%;
    padding: 10px;
    border: 1px solid lightgray;
    margin: 10px;
    border-radius: 10px;
}
.custom-booking-attendees .custom-participants .heading-section, .custom-booking-attendees .custom-teams .heading-section{
    text-align: center;
}

.custom-booking-attendees .custom-participants .single-attendee-information {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.custom-booking-attendees .custom-participants .attendee-name {
    width: 50%;
}
.custom-booking-attendees .custom-participants .attendee-remove{
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: red;
}
.custom-booking-attendees .custom-participants .attendee-score {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.custom-booking-attendees .custom-participants .attendee-score .radio-score input[type="radio"]:checked + span{
    border-color: blue;
    background-color: blue;
    color: #FFF;
}
.custom-booking-attendees .custom-participants .attendee-score label.radio-score {
    margin: 0 5px;
}


.custom-booking-attendees .custom-participants .attendee-score .radio-score input[type="radio"] {
    display: none;
}

.custom-booking-attendees .custom-participants .attendee-score .radio-score span {
    border: 1px solid lightgrey;
    display: inline-block;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    font-size: 15px;
}

.custom-booking-attendees .custom-participants textarea{
    width: 100%;
}
.custom-booking-attendees .custom-teams .add-team,
.custom-booking-attendees .custom-participants .add-attendee{
    font-size: 18px;
    cursor: pointer;
}
.custom-booking-attendees .custom-teams .add-team i,
.custom-booking-attendees .custom-participants .add-attendee i{
    color: green;
}
.custom-booking-attendees .custom-teams .team-collection{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.custom-booking-attendees .custom-teams .team-collection .single-team{
    margin-bottom: 20px;
    min-width: 250px;
    font-size: 18px;
    width: 48%;
    position: relative;
}
.attendee-collection .attendee-remove i.fa-minus-circle,
.custom-booking-attendees .custom-teams .team-collection .single-team i{
    color: red;
    padding: 0 5px;
    cursor: pointer;
}
.custom-booking-attendees .custom-teams .team-collection .single-team input{
    width: 80%;
    padding: 5px;
}
/** Manage teams - attendees **/
.custom-team-attendees{
    display: flex;
    flex-wrap: wrap;
}
.custom-team-attendees .team-attendees {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px;
    margin: 0px 10px 10px 0;
    width: calc(33% - 10px);
}

.custom-team-attendees .team-attendees .single-team-attendee{
    padding: 5px;
    border: 1px solid lightgray;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 5px;
    display: flex;
}
.custom-team-attendees .team-attendees .single-team-attendee div.result-scores{
    display: flex;
    width: 50%;
}
.custom-team-attendees .team-attendees .single-team-attendee div.result-scores > p{
    padding: 0 5px;
    flex: 1;
    text-align: center;
}
.custom-team-attendees .team-attendees .single-team-attendee div.result-scores > p b{
    text-align: center;
    width: 100%;
    display: inline-block;
}

.custom-team-attendees .team-attendees .single-team-attendee div.result-scores > p input{
    width: 100%;
    border: 1px solid lightgrey;
    height: 25px;
    outline: none;
    min-height: auto;
    padding: 5px;
}
.custom-team-attendees .team-attendees .single-team-attendee div.result-scores > p input[type=checkbox]{
    -webkit-appearance: checkbox;
    appearance: checkbox;
    width: auto;
    height: 20px;
    margin-right: 0;
}
.custom-team-attendees .team-attendees .single-team-attendee div.result-scores > p input[type=checkbox]:before{
    display: none;
}
.custom-team-attendees .team-attendees .single-team-attendee span:first-child{
    float: left;
}
.custom-team-attendees .team-attendees .single-team-attendee > p > span:nth-child(2) {
    vertical-align: top;
    width: 10px;
    display: inline-block;
    /* float: right; */
}
.custom-team-attendees .team-attendees .single-team-attendee span:first-child span.attendee-score{
    margin: 0 4px;
}
	
form.manage-team-attendee input[type="text"].error{
    border-color: red;
}

#processing-loader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,.8);
    z-index: 9999;
    display: none;
}

#processing-loader i.fas{
    font-size: 80px;
    color: grey;
}

.addon-button{
    padding: 10px 20px;
    background-color: #d65050;
    color: #FFF;
    border-radius: 15px;
    display: inline-block;
}
.addon-button:hover{
    color: #FFF;
}
span.attendee-score.hide-score,p.attendee-score.hide-score{
    display: none!important;
}
/** Team result **/
.team-result {
    margin-top: 10px;
}
.single-team {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    border-top: 1px solid grey;
}
.single-team b{
    color: #000;
}
.single-team .team-name {
    width: 30%;
    line-height: 30px;
}
.single-team .team-score input[type="text"] ,
.man-of-team select{
    border: 1px solid lightgrey;
    height: 25px;
    outline: none;
    padding: 0 15px;
        max-width: 90%;
}
.single-team .team-score {
    width: 30%;
    display: flex;
    align-items: center;
}
.single-team .man-of-team {
    width: 30%;
    display: flex;
    align-items: center;
}

.overall-result {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.winner-team {
    width: 46%;
}
.result-comment {
    width: 100%;
    margin-top: 15px;
}
.result-comment textarea {
    width: 100%;
    outline: none;
}
p.attendee-name{
    width: 60%;
}
p.success-message{
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 10px;
    border-radius: 5px;
}
div.team-name{
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
    justify-content: center;
}
div.team-name select{
    width: 100px;
    margin-left: 10px;
}

.single-data-row {display: flex;}
.single-data-row > div {flex: 1;border-top: 1px solid lightgrey;border-left: 1px solid lightgrey;padding: 10px;}
.single-data-row > div:last-child{border-right: 1px solid lightgrey;}
.single-data-row:first-child{
    text-align: center;
}
.dataTables_wrapper .dataTables_processing{
    top: 60px;
}
.dataTables_filter select{
    width: auto;
}
.location-night-league-parent{
    padding: 10px;
    background-color: #FFF;
    border: 1px solid transparent;
    border-radius: 5px;
}
#tablepress-11_filter, #tablepress-11_length, #tablepress-11_info, #tablepress-11_paginate, #tablepress-11_prev, #tablepress-11_next {
    color: white!important;
}
/* Copy team */
.copy-button {
    margin: 0 15px 20px;
    padding: 10px 20px;
    background-color: #13aff0;
    color: #FFF;
    border-radius: 15px;
    display: inline-block;
    text-align: center;
}
.copy-button:hover {
    background-color: #1b84b1;
    color: #FFF;
}
.copy-button:active {
    animation: press 0.2s 1 linear;
}
@keyframes press {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.96);
    }
    to {
        transform: scale(1);
    }
}
.copy-player-list {
    min-width: 160px;
    white-space: nowrap;
    margin: 0;
}

.copy-player-list:first-of-type {
    margin-right: 10px;
}

.team-name-color {
    position: absolute;
    right: 56px;
    top: 14px;
}

.change-spaces, .update-spaces-wrap {
    margin: 0 10px;
}
.update-spaces-count {
    height: 40px;
    vertical-align: middle;
    width: 56px;
    border-radius: 5px;
}

.delete-attendee {
    float: right;
}
#dbem-bookings-table td li:only-of-type .delete-attendee{
    display: none;
}
.dataTables_wrapper tr th:first-child, .dataTables_wrapper tr td:first-child {
    background: white;
}

.datatable-filter-date input[type="text"] {
    max-width:150px;
}
.datatable-filter-date input[type="text"]:first-of-type{
   margin-right:10px;
}
#tablepress-11_length select, #tablepress-11_filter input {
    color: black;
    background: white;
}

/* Change for copy player list */
.em .em-bookings-table.frontend .tablenav .actions .em-bookings-table-filter{
    margin-left: 0;
}

.page .em-manual-booking .em-booking-form-confirm-title {
	display: none;
}


.em-event-attendee-list .attendee-list{
  display: none;
}

.em-event-attendee-list #attendee_list[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  display:none;
}
.em-event-attendee-list label {
  background-image: var(--icon-chevron-down) !important;
  background-position: calc(100% - 15px) 50% !important;
  background-repeat: no-repeat !important;
  background-size: 15px !important;
  display: inline-block;
  padding: 0 30px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 38px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  background-color: transparent !important;
  border-radius: 4px !important;
  border: 1px solid var(--border-color) !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  user-select: none;
}
.em-event-attendee-list #attendee_list[type="checkbox"]:checked + label {
    background-image: var(--icon-chevron-up) !important;
}
.em-event-attendee-list #attendee_list[type="checkbox"]:checked + label + .attendee-list{
    display: block;
    margin-top: 15px;
}
.em-event-attendee-list .attendee-list ul{
    list-style: disc inside !important;
	margin: 0!important
}
@media only screen and (max-width: 1200px) {
    .custom-booking-attendees{
        flex-wrap: wrap;
    }
    .custom-booking-attendees .custom-participants, .custom-booking-attendees .custom-teams{
        width: 100%;
    }
}
@media (max-width: 991px) { 
    .custom-team-attendees .team-attendees{
        width: calc(50% - 10px);
    }
}
@media screen and (max-width: 780px) {
    .custom-booking-attendees .custom-participants .attendee-name,
    .custom-booking-attendees .custom-participants .attendee-score{
        width: 100%;
    }
    .custom-booking-attendees .custom-participants .single-attendee-information{
        border: 1px solid #000;
        padding: 5px;
        border-radius: 5px;
    }
    .custom-booking-attendees .custom-participants .attendee-score label.radio-score{
        margin: 5px;
    }
    .custom-booking-attendees .custom-participants, .custom-booking-attendees .custom-teams{
        border: none;
    }
    .custom-booking-attendees .custom-teams .team-collection .single-team{
        width: 100%;
    }
    .custom-team-attendees .team-attendees {
        width: calc(100% - 10px);
    }
    .custom-team-attendees .team-attendees .single-team-attendee p{
		margin-top: 4px;
		margin-bottom: 4px;
	}
   .custom-team-attendees {
        margin: 0px -4%;
    }

    .custom-team-attendees .team-attendees.team-result-block {
        width: 46.5%;
        margin-left: 0;
        margin-right: 0;
    }
    .custom-team-attendees .team-attendees.team-result-block:nth-child(odd) {
        margin-right: 1%;
    }
}
@media screen and (max-width: 480px) {
   .datatable-filter-date {
       max-width: 100%;
       white-space:nowrap;
   }
   .datatable-filter-date input[type="text"]{
       max-width: 47%;
       white-space:nowrap;
   }
   

   .dataTables_wrapper .dataTables_length{
       text-align: right;
   }
   
   .dataTables_wrapper .dataTables_filter {
       white-space: normal;
       text-align: left!important;
   }
   .dataTables_wrapper .dataTables_filter input {
       margin-left: 0px;
   }
   .location-night-league-parent  .dataTables_paginate.paging_full_numbers > span{
       display: block;
   }
}