
div.dhx_cal_container.dhx_scheduler_day{
    overflow:auto !important;
}

div.dhx_cal_container.dhx_scheduler_week{
    overflow:auto !important;
}

/*LIST*/
.list_count{
    width: 9rem;
    float:left;
}

.list_count_subcont{
    padding:5px;
}

.list_count{
    display: inline-block;
}

#table_count td th{
    text-align:center;
}

.card-text{
    margin-right:10px;
    display: inline-block;
}

.count-container{
    margin:10px;
    overflow: hidden;
}

.count-container p{
    display: inline;
}



/*
 * Event Scheduler
 */
.valid_entry{
    background-color: forestgreen!important;
    color: white !important;
}

.half_appointment{
    border: 2.5px solid darkred;
    color: white !important;
}

.waiting_list{
    background-color: #929292 !important;
    color: white !important;
}

.delete_appointment {
    background-color: red !important;
    color: white !important;
}

div.dhx_month_head a, div.dhx_scale_bar a{
    color: darkred;
    font-weight: bold;
}

span.day_count{
    font-size:14px;
}

/*tooltip*/
.add_link .tooltiptext {
    visibility: hidden;
    width: auto;
    background-color: #30343a;
    color: #fff;
    text-align: left;
    padding: 7px;
    border-radius: 6px;


    position: absolute;
    z-index: 1;
}


.add_link:hover .tooltiptext {
    visibility: visible;
}

#table_count td.row_header{
    text-align: right;
    font-weight: bold;
}

#table_count td.row_data{
    text-align: center;
}


.add_link i{
    color:#3494C3;
    font-size: 18px
}


.dhx_cal_ltext.dhx_cal_radio label{
    margin-right: 10px;
    margin-left: 5px;
    font-size: 12px;
}

#agenda_legend td{
    padding-right: 7px;

}

.lightbox_overlay{
    background-color: lightgrey !important;
    color:dimgrey;
}

span#waiting_list_alert{
    color:darkred;
}

/*
 * Competitions
 */

.btn.btn-default.btn-sm.see-partecipants:hover:enabled {
    background-color: #B9B9B9;
    color: white;
    border-radius: 0px;
}

.btn.btn-default.btn-sm.see-partecipants {
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    background-color: #3494C3;
    color: white;
    border-radius: 0px;
}


/*COURT - TURN*/

.card-body.turn_customer_trash{
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-body.turn_customer_trash:hover{
    background-color: #ECECEC;
}

.turn_list{
    width:100%;
    height:100px;
    border:1px solid grey;
    border-radius: 5px;
    float:left;
}

.turn_list_toolbar{
    float:right;
}

.turn_list_notes{
    overflow: auto;
}

.card-subtitle.mb-2.text-muted.turn_time{
    float:left;
    color: #3494C3 !important;
}

#athletes_container .xhdr {
    height: 30px !important;
}

#athletes_container{
    width:100%;
    height: 600px;
    float: left
}

.courts-plan #athletes_container .objbox {
    height: 560px !important;
    overflow: auto;
}

#courts_plan_title{
    text-align: center;
}

#court_table thead th{
    background-color: #2f8830;
    border: 1px solid white;
    color: white;
    text-align: center;
}

#court_table tbody tr td.court_td{
    border: 1px solid grey !important;
}

#courts_plan_card_body{
    overflow: auto;
}

.court_subtable{
    table-layout:fixed;
    width:300px;
}

.court_subtable tbody tr td{
    font-size: 13px;
    word-break: break-all;
}

.court_subtable tbody tr th{
    width:80px;
}

.table thead th {
    vertical-align: top !important;
}

.coach_name{
    color: darkred;
    font-weight: bold;
}

.turn_desc{
    text-transform: uppercase;
    float: right;
    font-weight: bold;
    font-size: 11px;
    color: #3494C3;
}

.court_attr{
    text-transform: uppercase;
    float: right;
    font-weight: bold;
    font-size: 11px;
    color: white;
}

/* EDITABLE COURTS*/
.card-header.court{
    background-color: #3494C3;
    color: white !important;
}

.dhx_cell_cont_wins{
    overflow: auto !important;
}

#editable_courts_trash{
    color:darkred;
    background-color: #F6D1D5;
    width: 100px;
    text-align: center
}

#winVP {
    height: 750px;
    width: 100%;
    overflow: auto;
}

.editable_court_card .editable_court_detail{
    padding:5px;
    font-size: 12px;
    text-align: right
}

.editable_court_card .card-body{
    height: 100%;
    overflow:auto
}

.dhx_cell_cont_tabbar{
    overflow: scroll !important;
}

/*FISIO*/

#fisio_table tbody th{
    width: 80px;
    padding:5px;
    font-size: 20px;
}

p.fisio_turn_text{
    border: 1px solid slategrey;
    padding:7px;
    margin-right:5px;
    margin-bottom: 5px;
    font-size: 12px;
    width: auto;
    float: left;
    background-color: white;
}

p.fisio_turn_text.trainers{
    background-color: #dbf9ce;
}

p.fisio_turn_text:hover{
    background-color: #3494C3;
    color: white !important;
}

.fisio_turn_coach {
    color: #555;
    font-size: 12px;
    font-style: italic;
}

/*COURT TURNS LIST IN CUSTOMER PAGE*/

.count-container span.card-text.court_turns_total{
    font-size: 20px;
    margin-top:5px
}

.court_turn_template{
    font-size: 11px;
    padding:5px !important;		
}


/*VERTICAL MENU - user profile page*/

.vertical-menu {
    width: inherit; /* Set a width if you like */
}

.vertical-menu a {
    background-color: #eee; /* Grey background color */
    color: black; /* Black text color */
    display: block; /* Make the links appear below each other */
    padding: 12px; /* Add some padding */
    text-decoration: none; /* Remove underline from links */
}

.vertical-menu a:hover {
    background-color: #ccc; /* Dark grey background on mouse-over */
}

.vertical-menu a.active {
    background-color: steelblue; /* Add a green color to the "active/current" link */
    color: white;
}

div#user_menu_back{
    padding:10px;
}

/* unvisited link */
a#user_menu_back_button:link {
    color: steelblue;
}

/* visited link */
a#user_menu_back_button:visited {
    color: steelblue;
}

/* mouse over link */
a#user_menu_back_button:hover {
    color: slategrey;
}

/* selected link */
a#user_menu_back_button:active {
    color: steelblue;
}

#user_profile_card .card-title{
    font-size: 13pt !important;
    text-align: center;
}

#user_profile_card .card-text{
    font-size: 10pt !important;
}

i#user_profile_icon{
    font-size: 80px !important;
    text-align: center;
    color: #7CB6D2;
}

i#user_profile_icon:hover{
    font-size: 80px !important;
    text-align: center;
    color: steelblue;
}


#user_profile_card .card-text i{
   margin-right: 10px;

}

/*Accunting page*/
.accounting_checkbox_exit .dhxform_label .dhxform_label_nav_link, .accounting_uscita, .accounting_uscita .dhxform_label_nav_link{
    color:red !important;
    font-weight: bold;
}

.accounting_checkbox_entry .dhxform_label .dhxform_label_nav_link, .accounting_entrata, .accounting_entrata .dhxform_label_nav_link{
    color:forestgreen !important;
    font-weight: bold;
}

#totali-contabili .totale_parziale .active_filters{
    font-size: 10px;
    color:grey;
    text-align: right;
}

#totali-contabili .total_amount{
    text-align: right;
}


/*tabella nuova*/

.courts-table-edit,
.courts-table-edit th, 
.courts-table-edit td{
    border: 1px solid rgba(255,255,255,0.5);
}

.courts-table-edit{
    background:#B6B6B6;
}

.courts-table-edit .court-names{
    background: #2F8830;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.courts-table-edit tr th{
    padding: 8px;
}

.courts-table-edit .court-names .playsight{
    font-weight: 400;
    font-size:13px;        
}

.courts-table-edit .court{
    height: 70px;
    text-align: center;
}

.courts-table-edit tr:not(.court-off) .court{
    width: 100px;
    max-width:  100px;
    min-width:  100px;
}

.courts-table-edit tr.court-names th{
    max-width:  100px;
    min-width:  100px;
}

.courts-table-edit th.slots{
    max-width: 110px !important;
    min-width: 110px !important;
}

.courts-table-edit:not(.print-table) tr.court-names:not(.notes){
    position:fixed;
    margin-left: -1px;
}

.courts-table-edit.table-content{
    margin-top:60px;
    max-width: 800px;
}

.courts-table-edit .court.coaches,
.courts-table-edit .court.supervisor,
.courts-table-edit tr.court-names th.coaches,
.courts-table-edit tr.court-names th.supervisor{
    max-width: 60px !important;
    min-width: 60px !important;
}

.customer-list .card-body{
    padding:0px;
}

.courts-table-edit .court .turn_list{
    width: 100%;
    height: 70%;
    border: 1px solid grey;
    border-radius: 0px;
    float: left;
    background: #fff;
}

.courts-table-edit .court .turn_list.coaches .court_turn_template .turn-customer-item{
    font-size:11px;
}

.courts-table-edit .court .turn_list.collaborators{
    height: 30%;
    background: #f7f7f7;
}

.courts-table-edit tr th:first-child{
    text-align: center;
    background-color: #B6B6B6;
    color: #fff;
}

.courts-table-edit .slots .end{
    font-size:13px;
    font-weight:400;
}

.group-consulenze{
    color: #d43f3a;
}

.group-fissi{
    color: #2F8830;
}

.group-stage-testing{
    color: #007bff;
}

.group-circoli{
    color: #940000;
}

.scuola-tennis{
    color: #FFBD51;
}

.court_turn_template .turn-customer-item {
    font-size: 13px;
    font-weight: 500;
}

.turn_list .turn-customer-item{
    padding:3px 3px 0 3px;
    line-height: 11px;
}

.turn_list.coaches .turn-customer-item,
.turn_list.collaborators .turn-customer-item{
    padding-top: 3px;
}

.collaboratori{
    color:#000;
    font-size: 10px !important;
}

.guest-pro{
    color: #000;
}

.primo-giorno{
    font-weight: bold;
}

.ultimo-giorno{
    font-style: oblique;
}

.court_turn_template{
    padding:0 !important;
    height: max-content !important;
}

.courts-table-edit tr.court-names.notes th {
    padding: 5px 10px;
}

.courts-table-edit .court-off .court  .turn_list{
    height: 100%;
}

.turnListCard{
    height: 100% !important;    
}

#athletes_container .xhdr {
    height: 80px !important;
    word-wrap: normal;
}

.courts-plan-tables .customer-list{
    position: fixed;
}

.courts-plan-tables #athletes_container{
    height: 400px !important;
   // width: 270px !important;
	width: 330px !important;
}

.courts-table-edit .turn_list.coaches{
    height: 100%;
    display:block;
}

th.supervisor{
    background: #808080;
}

th.clay{
    background: #a34a4a;
}

th.gym{
    background: #4242a0;
}

.legenda-atleti{
    line-height: 20px;
    margin-bottom:0;
}

#athletes_container table td{
    font-size: 12px;
}

.dhxform_item_label_left.deleteTurn .dhxform_btn{
    background-color: rgba(255,0,0,40);
}
.dhxform_item_label_left.deleteTurn .dhxform_btn{
    background-color: rgba(255,0,0,0.5);
    color:#fff;
}
.dhxform_item_label_left.saveTurn .dhxform_btn{
    background-color: #9ada9a;
    color:#fff;
}

.court-off p.off-notes{
    font-size: 12px;
    color: #2e2e2e;
}

.court-off p.off-notes:hover{
    color: #ffffff;
}

tr.court-off th{
    text-transform: uppercase;
    font-size: 13px;
}

@media (min-width: 1200px){
.atleti-col {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

.campi-col {
    -ms-flex: 0 0 80%;
    flex: 0 0 80%;
    max-width: 80%;
}
}

.courts-table-edit tr.court-off th {
    max-width: 90px !important;
    min-width: 90px !important;
}

.dhxform_item_label_left.deleteRange .dhxform_btn:hover{
    background-color: rgba(255,0,0,1);
}
.dhxform_item_label_left.deleteRange .dhxform_btn{
    background-color: rgba(255,0,0,0.5);
    color:#fff;
}


.courts-table-edit .optional-collapse th{
    padding: 2px 8px !important;
    text-align: left !important;
    background-color: #666666 !important;
    font-weight: normal;
    font-size: 13px;
}


.courts-table-edit tr.optional-turn,
.courts-table-edit tr.optional-turn th{
    background-color: #666666 !important;
}

.courts-table-edit tr.optional{
    display:none;
}

.courts-table-edit .court-off .court_turn_template{
    max-width: max-content;
}

.turn_notes{
    height: 100% !important;
}

.courts-table-edit .court-off.bltc td.court {
    height: 180px;
    text-align: center;
}

.courts-table-edit .court-off.bltc .dhxform_obj_material,
.courts-table-edit .court-off.bltc .dhxform_base,
.courts-table-edit .court-off.bltc .dhxform_control,
.courts-table-edit .court-off.bltc .dhxeditor_material,
.courts-table-edit .court-off.bltc .dhx_cell_editor{
    width: 100% !important;
    margin:0px;
}


.courts-table-edit .court-off.bltc .dhxform_obj_material{
    height: 70% !important;
}

.courts-table-edit .court-off.bltc .dhxform_item_label_left,
.courts-table-edit .court-off.bltc .dhxform_base,
.courts-table-edit .court-off.bltc .dhxform_control,
.courts-table-edit .court-off.bltc .dhxeditor_material,
.courts-table-edit .court-off.bltc .dhx_cell_editor{
    height: 100% !important;
}

.courts-table-edit .court-off.bltc .dhxform_item_label_left{
    padding-top:0px;
}

.courts-table-edit tr.gym-m th:first-child,
.courts-table-edit tr.gym-a th:first-child{
    background-color: #4242a0;
}
.court-off.gym-m p.off-notes,
.court-off.gym-a p.off-notes{
    color: #cecece;
}

.court-off.gym-m p.off-notes:hover,
.court-off.gym-a p.off-notes:hover{
    color: #fff;
}

.courts-table-edit .court-off.bltc th:first-child{
    background-color: #fff;
    color:#000;
}

.courts-table-edit .court-off.bltc .court .turn_list {
    height: 30%;
}

.court-off.gym-m th,
.court-off.gym-a th{
    font-size: 11px
}


.courts-table-edit th.workout{
    min-width: 60px !important;
    background-color: #4242a0 !important; 
    font-weight: 400;
    font-size:12px;
    text-align: center;
    color:#fff;
}
.courts-table-edit .court-names th.workout{
   font-weight: 500;
   font-size:16px;
}

.courts-table-edit tr.court-off th.workout{
    min-width: 60px !important;
    text-transform: lowercase;
}

.courts-table-edit.print-table{
    background:#fff;
}

.courts-table-edit.print-table, .courts-table-edit.print-table th, .courts-table-edit.print-table td{
    border: 1px solid #bfbfbf;
}

.courts-table-edit.print-table tr.athletes-row{
    background:#f7f7f7;
}

.courts-table-edit.print-table .collaborators-row,
.courts-table-edit.print-table tr.athletes-row{
    text-align: center;
}

.courts-table-edit.print-table p{
    margin-bottom: 3px;
    margin-top: 0;
    line-height: 14px;
}

.courts-table-edit.print-table tr:not(.clay-court) th.slots {
    font-size:25px;
}

.courts-table-edit.print-table tr th {
    padding: 3px;
}
.courts-table-edit.print-table tr td {
    padding: 2px;
}

.courts-table-edit.print-table .collaboratori{
    font-size:12px !important;
}

.courts-table-edit.print-table .court-names,
.courts-table-edit.print-table tr.court-off th{
    font-size:16px;
}

.courts-table-edit.print-table th.workout{
    font-size:17px;
}

body .courts-table-edit.print-table{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    border-collapse: collapse;   
    font-weight: 600;
    font-size: 15px;
    margin: 0 auto;
}

.courts-table-edit.print-table .court-names th.workout{
    font-size: 27px;
}

.courts-table-edit.print-table th.workout{
    min-width: 130px !important;
}

.courts-table-edit.print-table tr.divider{
    background: #777;
}

@media print{
    body .courts-table-edit.print-table{
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    }
    
    table .courts-table-edit.print-table{
        border-collapse: collapse;
    }
}

#printArea .current-date{
    text-align: center;
    font-size: 35px;
    text-transform: uppercase;
    font-weight: 700;
    color: #666;
}

.courts-table-edit tr.court-names th.supervisor {
    max-width: 70px !important;
    min-width: 70px !important;
}

#printArea .bltc-special{
    position: absolute;
    top: 55%;
    background: #fff;
    left: 48%;
    padding: 10px;
    border: 1px solid;    
}

#printArea .bltc-special p{
    margin-bottom:0px;
}
#printArea .bltc-special p.desc{
    margin-top:10px;
    font-style:oblique;
    font-size: 10px;
}

#printArea .athletes-row .coaches p{
    margin-bottom:5px;
    font-size: 11px;
}

#printArea p{
    font-size:13px;
}

#printArea .free-court{
    background: #ffffd2;
    padding:5px;
    margin-top: 10px;
    max-width: 80%;
}

#printArea .free-court .name{
    text-transform: uppercase;
}

#printArea .free-court .notes{
    font-style: oblique;    
}

#printArea .free-court p{
    margin-bottom: 3px;
    line-height: 13px;
    font-size: 11px;
}

span.notes-tc{
    color: #000000 !important;
    font-weight: 400;
}

#printArea .last-update,
#printArea .current-date{
    margin-bottom:0px;
    text-align: center;
    
}
/*multiselect lightbox margin*/
.dhx_multi_select_repetitiondays label {
    margin-right: 2px;
    margin-left: 10px;
}

/*mojjo*/
.playsight {
    color: #2F8830;
}

/*WEATHER*/

#weather_table tbody th {
    width: 80px;
    padding:5px;
    font-size: 20px;
}

p.weather_turn_text {
    border: 1px solid slategrey;
    padding:7px;
    margin-right:5px;
    margin-bottom: 5px;
    font-size: 16px;
    width: auto;
    float: left;
    background-color: white;
}

p.weather_turn_text:hover {
    background-color: #3494C3;
    color: white !important;
}

/*CUSTOMER AVAILABILITY*/

#customer_availability_table tbody th {
    width: 80px;
    padding:5px;
    font-size: 20px;
}

p.customer_availability_turn_text {
    border: 1px solid slategrey;
    padding:7px;
    margin-right:5px;
    margin-bottom: 5px;
    font-size: 16px;
    width: auto;
    float: left;
    background-color: white;
}

p.customer_availability_turn_text:hover {
    background-color: #3494C3;
    color: white !important;
}

/*COACH AVAILABILITY*/

#coach_availability_table tbody th {
    width: 80px;
    padding:5px;
    font-size: 20px;
}

p.coach_availability_turn_text {
    border: 1px solid slategrey;
    padding:7px;
    margin-right:5px;
    margin-bottom: 5px;
    font-size: 16px;
    width: auto;
    float: left;
    background-color: white;
}

p.coach_availability_turn_text:hover {
    background-color: #3494C3;
    color: white !important;
}

/* EXTERNAL API */
.btn-api {
    padding: 2px 3px !Important;
}

/*MENTAL*/

#mental_table tbody th{
    width: 80px;
    padding:5px;
    font-size: 20px;
}

p.mental_turn_text{
    border: 1px solid slategrey;
    padding:7px;
    margin-right:5px;
    margin-bottom: 5px;
    font-size: 12px;
    width: auto;
    float: left;
    background-color: white;
}

p.mental_turn_text.trainers{
    background-color: #dbf9ce;
}

p.mental_turn_text:hover{
    background-color: #3494C3;
    color: white !important;
}

.mental_turn_coach {
    color: #555;
    font-size: 12px;
    font-style: italic;
}


/*GYM*/

#gym_table tbody th{
    width: 80px;
    padding:5px;
    font-size: 20px;
}

p.gym_turn_text{
    border: 1px solid slategrey;
    padding:7px;
    margin-right:5px;
    margin-bottom: 5px;
    font-size: 12px;
    width: auto;
    float: left;
    background-color: white;
}

p.gym_turn_text.trainers{
    background-color: #dbf9ce;
}

p.gym_turn_text.auto_generated{
    border: 2px solid #2f8830;
}

p.gym_turn_text:hover{
    background-color: #3494C3;
    color: white !important;
}

.gym_turn_coach {
    color: #555;
    font-size: 12px;
    font-style: italic;
}

.gym_turn_meta {
    display: block;
    color: #555;
    font-size: 11px;
    font-style: italic;
    margin-top: 2px;
}

#gym_onlygym_box_container{
    border: 2px solid #2f8830;
    background: #f6fff6;
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.gym_onlygym_box_title{
    color: #2f8830;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 6px;
}

.gym_onlygym_box{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gym_onlygym_item{
    display: inline-block;
    border: 1px solid #2f8830;
    background: #fff;
    color: #1f5f22;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gym_onlygym_item:hover{
    background: #2f8830;
    color: #fff;
    border-color: #2f8830;
}

.gym_onlygym_empty{
    color: #777;
    font-style: italic;
    font-size: 12px;
}
