/*
Theme Name: Hand Ivry
Description: Theme enfant du theme Divi.
Author: JG&Co. Consulting
Author URI: https://www.hand-ivry.org
Template: Divi
Version: 1.0
*/
/*
 * Colors
 * red : #c9011e
 * */

/* Header */

body.error404 #main-header {
	background-color: rgba(0,0,0,1) !important;
}

#top-menu-nav > ul > li > a {
	text-transform: uppercase;
}
.post-template-default #main-header {
	background-color: rgba(0,0,0,1) !important;
}
#main-header .nav li ul {
	background-color: #c9011e !important;
	border-top:none;
}

#main-header .nav ul > li ul.sub-menu {
	top: -20px;
}

.archive #main-header {
	background: radial-gradient(ellipse at bottom left,#440311 25%,#000 80%) !important;
}

.search-results #main-header {
	background-color: black;
}
.widget_search input#s {
	color: #666 !important;
}

.widget_search #searchsubmit {
	width: 40px !important;
}


.nav li ul {
	width: 250px;
}
.page-template-page-template-live #main-header{
	background-color: #000 !important
}
#-top-menu li:last-child a::before {
	top: inherit !important;
}

#-top-menu > li:last-child > a {
	background-color: white;
	padding-bottom: 0px !important;
	padding: 10px !important;
	color: #c9011e !important;
}

#-top-menu li:last-child a:before {
	top: 31px;
}

#et-secondary-menu {
	color: white;
}

/* Footer */
#et-footer-nav {
	background-color: initial;
}

/* Les Lives */

.lives-view-large-infos-equipe-name {
	text-align: center;
	font-family: "Open Sans", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.1em;
	letter-spacing: -0.05em;
	color: #5d5e60;
	text-transform: uppercase;
	padding-top:10px;
}

.et_pb_image.logo_groupe img {
	width: 110px;
	height: auto;
}

.score {
    font-size: 50px;
    font-weight: 900;
    line-height: 1.1em;
    color: #5d5e60;
    text-transform: uppercase;
    margin-top: 5px;
}



/*tab*/
.et_pb_tabs.jg_tabs, .jg_tabs_controls .jg_tab,
ul.et_pb_tabs_controls.jg_tabs_controls:after,
ul.et_pb_tabs_controls.jg_tabs_controls li{
	border: none;
}
ul.et_pb_tabs_controls.jg_tabs_controls{
	background: none;
	max-width: 430px;
	width: 100%;
    text-align: center;
    margin: 0 auto;
}
.jg_tabs_controls .et_pb_tab {
	padding: 0;
}
.jg_tabs_controls .jg_tab a{
	height: 0;
    width: 200px;
	display: block;
	background: none;
	padding: 0
}
.jg_tabs_controls .jg_tab a{
	font-family:"Open Sans", sans-serif;
	font-size:16px;
	text-transform:uppercase;
	color:#5d5e60;
	font-weight:900;
	padding-top:12px;
}

.jg_tabs .et_pb_all_tabs .et_pb_tab{
	padding-top: 0
}
.jg_tabs_controls .jg_tab .jg_tab_a_frist{
	
	background:url(/wp-content/uploads/2020/07/tabs-livematch.png) no-repeat;	
	width:212px;
	height:42px;
	
}

.jg_tabs_controls .et_pb_tab_active .jg_tab_a_frist, 
.jg_tabs_controls .jg_tab_a_frist:hover
{
	background:url(/wp-content/uploads/2020/07/tabs-livematch-hover.png) no-repeat;		
	color:#FFF !important;
}
.jg_tabs_controls  .jg_tab .jg_tab_a_secord{
	background:url(/wp-content/uploads/2020/07/tabs-livestats.png) no-repeat;	
	width:217px;
	height:42px;
	
}

	
.jg_tabs_controls .jg_tab.et_pb_tab_active .jg_tab_a_secord, 
.jg_tabs_controls .jg_tab .jg_tab_a_secord:hover{
		background:url(/wp-content/uploads/2020/07/tabs-livestats-hover.png) no-repeat;	
	color:#FFF !important;
	}


.subtitle-event {
	font-size: 19px;
    font-weight: 900;
    line-height: 1.1em;
    letter-spacing: -0.05em;
    color: #5d5e60;
    text-transform: uppercase;
	border-top:1px dashed;
	padding: 40px 0;
}
.subtitle-event .bg-column{
	background: url(/wp-content/uploads/2020/07/icon-subtitle-event.png) no-repeat left;
	padding-left: 50px
}

.subtitle-event .bg-start{
	background: url(/wp-content/uploads/2020/07/icon-subtitle-top.png) no-repeat left;
	padding-left: 50px
}

table {
  border-collapse: collapse;
}

table.live-table {
	width: 100%;
  	max-width: 100%;
	margin-bottom: 50px;
}
table.live-table tbody tr{
	background: #eaeaea;
	
	height: 55px
}

table.live-table td{
	text-align: center;
	vertical-align: top;
	border-top: 10px solid #FFF;
	border-bottom: 10px solid #FFF;
}

table.live-table > thead > tr > th{
	font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1em;
    color: #5d5e60;
    text-transform: uppercase;
    text-align: center;
	padding: 10px 0 20px 0
}

table.live-table .bg-first {
	background: #bfbfc0;
	position: relative;
	width: 85px;
	height: 45px;
	right: 0;
	left: 0
}
table.live-table .event-but {
	background-color: #c9011e !important;
}
table.live-table .event-finish {
	background-color: #000 !important;
}

table.live-table .bg-label {
	padding: 0;
    height: 45px;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 85px;
    z-index: 5;
	background: #bfbfc0;
	-moz-transform: translate(4px, 0px) skew(-8deg, 0deg);
	-webkit-transform: translate(4px, 0px) skew(-8deg, 0deg);
	-o-transform: translate(4px, 4px) skew(-8deg, 0deg);
	-ms-transform: translate(4px, 0px) skew(-8deg, 0deg);
	transform: translate(4px, 0px) skew(-8deg, 0deg);
}
table.live-table .bg-label span{
	font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin: auto;
    text-align: center;
    vertical-align: middle;
    transform: skew(0, 0);
    line-height: 2.9em;
    top: 0;
    width: 100%;
    display: inline-block;
	 -moz-transform: translate(0px, 0px) skew(8deg, 0deg);
	-webkit-transform: translate(0px, 0px) skew(8deg, 0deg);
	-o-transform: translate(0px, 0px) skew(8deg, 0deg);
	-ms-transform: translate(0px, 0px) skew(8deg, 0deg);
	transform: translate(0px, 0px) skew(8deg, 0deg);
}
table.live-table .td-player{
	padding-left: 30px;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1em;
    color: #5d5e60;
	text-align: left;
	min-width: 210px
}
.large-stats-name {
    font-family: "Open Sans", sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.1em;
    letter-spacing: -0.05em;
    color: #5d5e60;
    text-transform: uppercase;
    text-align: center;
    padding-bottom: 15px;
}
table.st-table tr {
	/* opacity: 0.6; */
}
table.st-table .tr-but {
	opacity: 1;
}

table.live-table .bg-but,
table.live-table .bg-but .bg-label{
	background: #bc0202
}

table .tb-passe >span {
	left: 12px
}
table .tb-time{
	min-width: 120px;
	text-align: center;
	font-size: 16px;
    font-weight: 700;
}

table .tb-event-score{
	min-width:180px;
}
table .tb-logo-score img{
	width: 32px;
	height: auto
}
table .txt-score{
	font-size: 17px;
    font-weight: 600;
    line-height: 1.1em;
    color: #5d5e60;
    text-transform: uppercase;
    text-align: center;
	display: inline-block;
    overflow: hidden;
    vertical-align: super;
}
table .tb-match {
    vertical-align: middle;
	line-height: 1em;
	/* min-width: 200px */
}

table .tb-match span{
	display: inline-block;
	width: 100%;
	text-align: left;
	line-height: 1.2em;
	font-size: 15px;
    font-weight: 500;
    color: #5d5e60
}
.topstats_item{
	max-width: 325px;
	width: 100%;
	height: 166px;
    background: url(/wp-content/uploads/2020/07/live-event-bg-topstats.png) white no-repeat;
    display: flex;
    flex-flow: row no-wrap;
    display: -webkit-flex;
    -webkit-flex-flow: row no-wrap;
    /* margin-bottom: 45px; */
    position: relative;
}
.topstats_item_right{
	float: right
}
.topstats_logo {
	margin-top: 5px;
	margin-left: 10px;
	max-width: 50px;
	width: 100%;
}
.topstats_logo img{
	width: 100%;
	height: auto
}
.topstats_image {
	margin-left:-20px;
	max-width:110px;
	width: 100%
}

.topstats_image img{
	width: 100%;
	height: auto
}

.topstats_name{
	margin: 30px 0 0 10px
}
.topstats_item_name, .topstats_item_first_name {
	font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1em;
    letter-spacing: -0.05em;
    color: #5d5e60;
    text-transform: uppercase;
	padding-bottom: 0
}

.topstats_item_buts, .topstats_item_pourcent{
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.3em;
    color: #bc0101;
	margin-bottom: 0;
	padding-bottom: 0
}

.topstats_item_buts{
	font-weight: 700;
	 margin-top: 10px;
}
.lives-view-large-topstats-bg
{
	width:298px;
	height:21px;
	background:url('/wp-content/uploads/2020/07/live-event-bg2-topstats.png') no-repeat;
	position:absolute;
	bottom:0;
	right:0;
}	

.lives-view-competition
{
	font-family:"Open Sans", sans-serif;
	font-size:18px;
	font-weight:600;
	line-height:1.1em;
	letter-spacing:-0.05em;
	color:#8e8e8f;
	text-transform:uppercase;
	display:inline;
}
.lives-view-journee
{
	font-family:"Open Sans", sans-serif;
	font-size:14px;
	font-weight:600;
	line-height:1.1em;
	letter-spacing:-0.05em;
	color:#8e8e8f;
	text-transform:uppercase;
	display:inline;
}
.lives-timer-wrapper
{
	text-align:right;	
}
.lives-timer-label, .lives-timer-value
{
	font-family:"Open Sans", sans-serif;
	font-size:12px;
	font-weight:600;
	line-height:1.1em;
	letter-spacing:-0.05em;
	color:#8e8e8f;
	text-transform:uppercase;
}
.lives-timer-value
{
	color:#bc0101;
	margin-top:5px;
}

/*player items*/
.player_items{
	-webkit-box-shadow: 1px 1px 10px 2px rgba(0,0,0,0.2);
	-moz-box-shadow: 1px 1px 10px 2px rgba(0,0,0,0.2);
	box-shadow: 1px 1px 10px 2px rgba(0,0,0,0.2);
}
.player_items .et_pb_image img{
	height: 100%;
	width: auto
}
.player_items .et_pb_image .et_pb_image_wrap{
	width: 100%;
	text-align: center;
	height: 330px;
	overflow: hidden;
	background: #eee
}

.player_items .txt-number .et_pb_text_inner{
	border-radius: 50%;
    width: 55px;
    background: #C9011E;
    height: 55px;
    margin: -28px auto 0px auto;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    line-height: 2.3em;
}
.player_items .txt-name{
	color:#C9011E;
	padding: 20px 10px;
	font-size: 1.8em;
	text-transform: uppercase;
	font-weight: 700
}
.player_items .txt-position{
	text-transform: uppercase;
	font-size: 16px;
	padding-bottom: 20px;
	color: #000;
}
.player_items .txt-des{
	padding: 0px 20px 50px 20px;
	max-height: 110px;
	overflow: hidden
}
.player-lable{
	font-size: 24px;
	color: #d5d5d5;
	padding-right: 10px;
	border-right: 1px solid #c2c2c2;
	margin-right: 15px;
	line-height: 1em;
}
.player-data{
	color: #fff;
	font-size: 25px;
	font-weight: 700
}
.player-number{
	position: absolute !important;
	top: -25px;
	right: 0;
}
/*resposive*/

@media (max-width: 992px) {
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }
	table.live-table td.bg-first{
		min-width: 85px
	}
	table.live-table th.th-md{
		min-width: 5rem
	}
}
@media (max-width: 980px){
	.jg_tabs .et_pb_tab {
		padding-left: 0px;
		padding-right: 0px
	}
}
@media (min-width: 980px) and (max-width: 1025px){
	.player_items .txt-name{
		font-size: 1.4em;
	}
}


/* Page Vidéo */
.single-format-video .entry-title {
	text-transform: uppercase;
}

/* social media */
.et-social-rss a.icon::before {
	font-family: "Font Awesome 5 Brands" !important;
	content: "\f2ac" !important;
}


/* Formulaire */
ul.wpuf-form li .wpuf-label,
ul.wpuf-form li .wpuf-fields .wpuf-radio-block {
	font-size: 1.1em !important;
}
.wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type="text"],
.wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type="email"],
.wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields textarea {
	min-height: 40px !important;
	font-size: 1.1em !important;
	width: 100% !important;
	border:none !important;
	box-shadow: none !important;
}

#form-preview-stage.wpuf-style ul.wpuf-form .wpuf-submit input[type="submit"],
.wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-submit input[type="submit"] {
  background-color:#c9011e !important;
  color:white !important;
  text-shadow:none !important;
  box-shadow:none !important;
  border:none !important;
}

