/* 2016-11-29 - Francis Chevalier */
.container{width:100%}
.container .data{padding-bottom:0;}
.container .row{margin-right:0;margin-left:0;}
.data .btn-primary{font-weight:bold;}
.division-form, .team-form, .field-form, .date-form-tournament{float:left;padding-right:0;padding-left:0;}

/* Des classes à passer aux éléments */
.barrer{text-decoration:line-through !Important;} /* Pour barrer les matchs remis et annulé */
.remis{color:#e60005 !important;font-weight:bold !Important;} /* Pour mettre en rouge les matchs reschedulé */
.annule{word-wrap: break-word;display: inline-block;color: #cc0005;margin-bottom:0;font-weight: bold;}

/*Modal du pdf à imprimer*/
/*#pdfModal {width: 350px;height: 183px !important;}*/
/*#pdfModal .modal-header .close{margin-top:4px !important;}
#pdfModal .modal-footer button{
	margin-left:0 !important;
	color: #fff !important;
	background-color: #337ab7 !important;
	border-color: #2e6da4 !important;
	text-shadow:none;
	padding: 0px !important;
}
#pdfModal .modal-footer button:nth-child(2){float:right !important;}
#pdfModal .modal-header h4 img{margin-top: -5px;}*/
#division-form-pdf{width: 30% !important;float:left !important;margin-bottom:-5px !important;}
#team-form-pdf{width:25% !important;float:left !important;margin-bottom:-5px !important;}
#field-form-pdf{width:24% !important;float:left !important;margin-bottom:-5px !important;}
#date-tournament-form-pdf{width:20% !important;float:left !important;margin-bottom:-5px !important;}
#division-form-pdf label{width: 75px !important;}
#team-form-pdf label{width: 66px !important;}
#field-form-pdf label{width: 66px !important;}
#date-tournament-form-pdf label{width: 45px !important;}

/*Modal du map*/
#standard-ajax-form{
	min-height:200px !Important;
	height:auto;
	margin: 188px auto 0px auto;
	margin-top: 188px !important;
	margin-bottom:0 !important;
	display:table;
	overflow:auto !important;
	min-width:1085px;
	max-width: 1085px !Important;
}
#standard-ajax-form .modal-header{width: 100% !important;border-radius: 6px 6px 0 0;}
#standard-ajax-form #modal-body{width: 100% !important;}
#standard-ajax-form #modal-footer{width: 100% !important;}
.field-type-wrapper{padding-right: 0!important;padding-left: 0!Important;width: 95.666667% !important;margin-top:-7px !Important;}
#inputs{width: 95.666667% !important;padding-right: 0;padding-left: 0;}
#print_link{width: 4.333333% !important;padding-right: 0;padding-left: 0;}
#header_lg{
	border-right: 1px solid #217fb9;
	border-left: 1px solid #217fb9;
	background: #1171a3;
	background-image: linear-gradient(to bottom,#2e8bcc,#1171a3);
}
#day-title{width: 7% !important;}
#hour-title{width: 6% !important;}
#board-title, .board{width: 40px !important;}
#division-title, .division{width: 15% !important;}
#field-title{width: 12.333333% !important;}
.field{width: 12.333333% !important;}
.hour{width: 6.333333% !important;}
.mobile_mod{padding-right: 4px;padding-left: 4px;}
.mobile_mod label{margin-top:8px;float:left;margin-right: 3px;    font-size: 15px;}
.mobile_mod .filter-option{white-space: nowrap !important;}
.pull-left{margin-top:4px;font-size: 14px !important;padding-bottom: 5px !important;}
.mobile_mod .caret{margin-top:8px !important;}
.mobile_mod .bootstrap-select{border:1px solid rgba(128,128,128,0.5);border-radius: 4px;width:185px !important;}
#div_input{height: 36px !important;width: 190px !important;border:1px solid rgba(128,128,128,0.5) !important;font-size: 14px !important;}
.field-form .bootstrap-select{width: 210px !important;}
.date-form-tournament .bootstrap-select{width: 125px !important;}
.division-form{width: 26% !important;}
.team-form{width: 26% !important;}
.field-form{width: 27% !important;}
.img_link{padding-right:0;padding-left: 0;width: 3.333333% !important;}
.no_print{height: 30px;width: 30px;float: right;margin-top: 3px;margin-right: 4px;}
#tabs-1{width:100% !important;}
/*#tabs-1, #tabs-2{padding-right: 0;padding-left: 0;}*/
.schedule-content{width:100%;padding-right: 0;padding-left: 0;}
.schedule{margin-right:0;margin-left:0;}
.schedule a{color:#533a3a !important;}
.schedule-title{
	background: #1171a3;
	background-image: linear-gradient(to bottom,#2e8bcc,#1171a3);
	color:white;
	font-weight:bold;
	font-size:15px;
	font-family: Arial,Georgia,"Times New Roman","Bitstream Charter",Times,serif;
	padding-right: 0;
    padding-left: 0;
	text-align: center;
}
.schedule-title span{letter-spacing:1px;}
.schedule_header_xs{margin-right:0;margin-left:0;background: #1171a3;background-image: linear-gradient(to bottom,#2e8bcc,#1171a3);}
.date_division{padding-right: 0;padding-left: 0;border-right:1px solid rgba(128,128,128,0.3);height:inherit !important;}
.away_result_home{padding-right: 0;padding-left: 0;height:auto !important;display: flex !important;border-bottom:1px solid rgba(128,128,128,0.3);}
.others{padding-right: 0;padding-left: 0;height:inherit !important;}
.away_xs, .result_xs, .home_xs, .field_xs{padding-right: 0;padding-left: 0;text-align:center;word-break: break-word;}
.away_xs, .result_xs, .home_xs{padding: 3px;}
.away_xs{border-right:1px solid rgba(128,128,128,0.3);text-align:right;height: inherit !important;}
.result_xs{text-align:center;height: inherit !important;}
.home_xs{
	text-align:left;height: inherit !important;
	border-left: 1px solid rgba(128,128,128,0.3);
}
.field_xs a{vertical-align: middle;}
.date_division_title, .others_title{padding-right: 0;padding-left: 0;}
.date_tournament_xs, .division_xs {padding-right: 0;padding-left: 0;text-align:center;}
.date_division_title span{
	padding-right: 0;
	padding-left: 0;
	text-align: center;
	color:white;
	font-weight:bold;
	font-size:15px;
	font-family: Arial,Georgia,"Times New Roman","Bitstream Charter",Times,serif;
}
.others_title span{
	padding-right: 0;
	padding-left: 0;
	text-align: center;
	color:white;
	font-weight:bold;
	font-size:15px;
	font-family: Arial,Georgia,"Times New Roman","Bitstream Charter",Times,serif;
}
.schedule-info{
	border-top:1px solid rgba(128,128,128,0.3);
    border-right:1px solid rgba(128,128,128,0.3);
    border-left:1px solid rgba(128,128,128,0.3);
}
.schedule-info .row{margin-right: 0;margin-left: 0;width: 100%;display:flex;border-bottom: 1px solid rgba(128,128,128,0.3);}
.info_sc_xs{border-bottom:1px solid rgba(128,128,128,0.3);}
.division, .match-no, .day, .date-tournament, .hour, .away, .result, .home, .field, .board{
	height:inherit;
	padding-right: 0;
    padding-left: 0;
	text-align: center;
	border-right:1px solid rgba(128,128,128,0.3);
	word-wrap: break-word;
	padding: 4px;
	min-width: 0;/*Pour firefox*/
}
.date-tournament{width:90px !important;padding-left:0 !important;padding-right:0 !important;}
.match-no a{word-wrap: break-word;}
.away, .home{background-color: rgb(97, 255, 238);}
.away{text-align:right;}
.home{text-align:left;}
.board{border-right:0;}

/*.modal-header {padding: 10px;}*/
/*.modal-header h4 img{margin-top:-3px !Important;}*/
/*.modal-header button img{margin-top:8px !Important;}*/
.nom_location, .emplacement_location, .lighting_location, .surface_location, .print_location{ padding-right: 0;padding-left: 0;}
.print_location{ width:36px !important;}
.board span{width:100%;}
#custom_gmap{background-image:url('../../image/s_gmap1.jpg');width: 100%;height:26px;margin-left: 0.31em;}
#gmap_single{width: 100% !important;margin-bottom: 0 !important;padding:0 !important;height: 385px !important;left: 0 !Important;}
#standard-ajax-form #modal-footer button{width: 200px !important;margin: 0 auto;float: none !important;}

/* PDF généré */
#division-form-pdf label, #team-form-pdf label, #field-form-pdf label, #date-tournament-form-pdf label{margin-top: 0 !important;}
#table-3{width:99.8% !important;}
.ligne1, .ligne2, .ligne3, .ligne4{padding-right: 0;padding-left: 0;}
.ligne1>div, .ligne2>div, .ligne3>div, .ligne4>div{padding-right: 0px;padding-left: 0px;}
.ligne4{display:flex;}
.ligne4>div{height:inherit;}

/* Les deux diagramme de rondes et éliminatoires */
#ajax-content{width:inherit !Important;}
#background_drag>table{display:block;}
#background_drag>table>tbody{display:block;}
#background_drag>table>tbody>tr{display:block;}
#background_drag>table>tbody>tr>td{display:block;}

/* Les media queries */
@media only screen and (max-width:1200px){
	.team-form, .field-form{width:23%;}
	.date-form{width:19%;}
	.away, .home{width: 15.66666667% !important;}
	.date-tournament{width: 10.33333333% !important;}
	#division-title, .division {width: 16% !important;}
	#match-no_title, .match-no{width: 7.333333% !important;}
	#date-title{width: 10.33333333% !important;}
	#day-title {width: 8.333333% !important;}
	#away_title{width: 15.666667% !important;}
	#home_title{width: 15.666667% !important;}
	#board-title {width: 3.333333% !important;}
}
@media only screen and (max-width:1170px){
	#standard-ajax-form{width:92% !important;margin-left:4% !important;margin-right:4% !important;min-width:100px !important;}
}
@media only screen and (max-width:1160px){
	#custom_gmap{margin-left: 0.2em !important;}
}
@media only screen and (max-width:1130px){
    .division-form, .team-form, .field-form, .date-form-tournament{width:50% !important;}
	.mobile_mod label {width: 60px;text-align: right;}
	.mobile_mod .bootstrap-select {width: 70% !important;}
	.mobile_mod #div_input {width: 70% !important;margin-bottom: 0 !important;}
}

@media screen and (max-width:1121px){
	#division-title, .division {width: 16% !important;}
}

@media screen and (max-width:1106px){
	#division-title, .division {width: 16% !important;}
}

@media screen and (max-width:1064px){
	#division-title, .division {width: 15% !important;}
}

@media only screen and (max-width:1032px){
	.surface_location{margin-top:5px !important;}
}

@media screen and (max-width:1025px){
	#division-title, .division {width: 14% !important;}
}

@media only screen and (min-width:992px) and (max-width:1030px){
	.surface_location{width: 19.666667% !Important;}
}
@media only screen and (min-width:767px) and (max-width:1024px){
	#day2{display:block !important;}
	.day{padding-left:2px !important;padding-right:2px !important;}
}
@media only screen and (max-width:940px){
	#standard-ajax-form .field-type-wrapper{width: 94.666667% !important;}
}
@media only screen and (max-width:992px){
    .division-form, .team-form, .field-form, .date-form{margin-right:0;}
	.print_location{text-align: right;}
	.print_location .noPrint{float:none !important;}
	#custom_gmap{margin-left:0;}
	.board{ width: 6.333333% !important;padding:5px !important;}
	#custom_gmap{margin-left: 0.54em !important;}
	.day {padding-left: 0px !important;padding-right: 0px !important;width: 10.33333333% !important;}
	.date-tournament{width: 12.33333333% !important;}
	.away, .home{width: 14.66666667% !important;}
	#division-title{width: 17% !important;}
	#division-title, .division {width: 20% !important;}
	#match-no_title {width: 8.333333% !important;}
	#day-title{width: 10.33333333% !important;}
	#date-title{width: 12.333% !important;}
	#hour-title {width: 6.333% !important;}
	#away_title {width: 14.66666667% !important;}
	#home_title {width: 14.66666667% !important;}
	#board-title {width: 8.666% !important;}
}
@media only screen and (max-width:891px){
	#print_link {margin-top: -35px !important;}
}
@media only screen and (max-width:890px){
    .division-form, .team-form, .field-form{width:20%;}
	.date-form{width:18%;}
	.no_print{margin-top: 37px;}
	#custom_gmap{width: 115%;margin-left: -2px;}
}
@media only screen and (max-width:890px){
	#custom_gmap{margin-left: -4px;}
}

@media screen and (max-width:885px){
	#division-title, .division {width: 19% !important;}
}

@media screen and (max-width:858px){
	#division-title, .division {width: 18% !important;}
}

@media only screen and (max-width:835px){
	.hour {width: 7.333333% !important;}
	#hour-title {width:7.333% !important;}
	#home_title {width: 14% !important;}
	#board-title {width: 7.333% !important;}
}
@media only screen and (max-width:830px){
	.board{padding:2px !important;}
}

@media screen and (max-width:818px){
	#division-title, .division {width: 17% !important;}
}

@media only screen and (max-width:800px){
	.board{ width: 4.333333% !important;}
	#custom_gmap{margin-left: -1px !important;}
	.date-tournament{width: 14.333333% !important;}
	#date-title {width: 14.333% !important;}
	#board-title {width: 5.333% !important;}
}

@media screen and (max-width:795px){
	#division-title, .division {width: 16% !important;}
}

@media screen and (max-width:775px){
	#division-title, .division {width: 15% !important;}
}

@media only screen and (max-width:768px){
    .division-form, .team-form, .field-form, .date-form{width:100%;}
    .mobile_mod label {width: 60px;}
	#div_input, .bootstrap-select{width: 90% !important;}
	.division-form{margin-bottom: -7px;}
	#tabs{margin-top:5px !important;}
	#gmap_single{margin-bottom:0 !important;left:0 !important;}
	.modal-header{padding-top: 5px !important;padding-bottom: 5px !important;}
	#board_point{text-align: center;}
	.home_xs {border-right:none;padding-right: 0;right:0!important;}
	#standard-ajax-form .field-type-wrapper {width: 100% !important;}
	.emplacement_location, .lighting_location, .surface_location{width:41.66666667% !Important;}
	.print_location{display:none !important;}
	.lighting_location{margin-top:5px !important;}
	.info_sc{display: none !important;}
	.info_sc_xs{display: flex !important;}
	.board{border-bottom: none !important;float: right;}
	.schedule-header{display:none;}
	.schedule_header_xs {display:block !Important;}
	#custom_gmap {margin-left: 0 !important;width: 100% !important;}
	.board{border-bottom: 0 !important;width:30px !important;padding:0px !important;float: right;margin: 2px auto 2px auto;}
	#print_link{display:none !important;}
	#inputs {width: 100% !important;}
	.field_xs{margin: 2px auto 2px auto;}
}
@media only screen and (max-width:767px){
	.lighting_location{margin-top:5px !important;}
	.emplacement_location br{display:none !Important;}
	.lighting_location br{display:none !Important;}
	.surface_location br{display:none !Important;}
	.emp_lbl{width:98px !important;text-align:right !important;}
}
@media only screen and (max-width:705px){
	#div_input, .bootstrap-select{width: 88% !important;}
}
@media only screen and (max-width:620px){
	.field_xs{width: 85.666667% !important;}
}
@media only screen and (max-width:600px){
	#div_input, .bootstrap-select{width: 100% !important;}
	#standard-ajax-form{margin-top: 15px!important;}
	.modal-body{padding-top:5px !Important;padding-bottom:0 !important;}
	#tab2, #tabs-2{display:none !important;}
}
@media only screen and (max-width:580px){
	.nom_location{width:100% !important;}
	.nom_location br{display:none !important;}
	.emplacement_location, .lighting_location{width:100% !important;}
	.surface_location{width:100% !important;margin-left:0!important;margin-top:5px !important;}
}
@media only screen and (max-width:550px){
	#standard-ajax-form{width:88% !important;margin-left:6% !important;margin-right:6% !important;}
}
@media only screen and (max-width: 510px){
	.mobile_mod .bootstrap-select {width: 98% !important;}
	.mobile_mod #div_input {width: 98% !important;margin-bottom: 0 !important;}
    .division-form label, .team-form label{margin-top: 0 !important;}
	#gmap_single{height: 300px !important;}
}

@media only screen and (max-width:495px){
	#div_input, .bootstrap-select{width: 100% !important;}
	.mobile_mod label {text-align: left;}
}
@media only screen and (max-width:450px){
	.result_xs{padding: 0;padding-top: 3px;}
    .division-form, .team-form, .field-form, .date-form-tournament{width:100% !important;}
	.mobile_mod label{margin-top:0 !important; margin-bottom:0 !important;}
	.team-form label{margin-top: 10px !important;}
	.mobile_mod .bootstrap-select {width: 100% !important;}
	.mobile_mod #div_input{width:100% !important;}
}

@media only screen and (max-width:425px){
	#tab_horaire_tableau, .schedule_header_xs, .info_sc_xs{display:none !important;}
	.info_sc_xs_425{display:block !important;border-bottom: 1px solid rgba(128,128,128,0.3);border-bottom: 1.5px solid rgba(128,128,128,0.3) !important;}
	.info_sc_xs_425:nth-child(2n+1){background:rgba(128, 128, 128, 0.17);}
	#tabs-1{padding-top:5px !Important;}
	.away_xs{text-align:right !important;border-right: 1px solid rgba(128,128,128,0.3) !important;}
	.home_xs{text-align:left !important;border-left: 1px solid rgba(128,128,128,0.3) !important;}
	.field_xs{text-align:left !important;width:100% !important;}
	.board{float: right;margin: 2px auto 5px 5px;}
	.container .data{padding-left:5px !important;padding-right:5px !important;}
	#content .container {padding-left: 2.5px !important;padding-right: 2.5px !important;}
	#ajax-content #container{padding-left: 2.5px !important;padding-right: 2.5px !important;}
	#custom_gmap{background-image:url('../../image/smap.jpg');border-radius: 10px;border-top-right-radius: 15px;margin-top: 1px;}
	#ligne123{width:100% !important;padding-left:5px !important;}
	.ligne4 {border-top: 1px solid rgba(128,128,128,0.3) !important;display:flex !important;}
	.away_xs a span, .away_xs a, .home_xs a span, .home_xs a{height:inherit !important;}
	#tabs-1, #tabs-2 {
		padding-left: 0;
		padding-right: 0;
	}
}

@media only screen and (max-width:400px){
	.nom_location, .emplacement_location, .lighting_location, .surface_location, .print_location{ width:100% !important;}
	.surface{margin-left:0;}
	#surface_abrv{margin-left:0;}
	#standard-ajax-form #modal-footer button{margin-left:0;width:100% !important;}
}
@media only screen and (max-width:350px){
	#pdfModal {width:98% !important;}
	#tabs-2 table>tbody>#td_pts{padding-left: 2px !important;}
}