.row2 {
    margin-top: 10px;
    display: inline-block;
    width: 100%;
}

.row1 {
    max-height: 1500px;
    width: 100%;
    display: inline-block;
}
.r1left {
    float: left;
    /* max-width: 50%; */
    width: 60%;
}

.r2left {
    float: left;
    /* max-width: 50%; */
    width: 49%;
}


.stats_home_new {
    width: 85%;
    display: inline-block;
    margin-left: 5%;
    background-color: rgba(220,220,220, 0.99); 
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
	box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
}

.h1, h1 {
    font-size: 2rem;
}

.r1right{
	width: 40%;
    display: inline-block;
	min-height: 427px;
    display: inline-block;    
    margin-top: 15px;
}

#line-chart, #myChart {
    max-width: 85%;
	box-shadow: 0 0px 0px 0 rgb(0 0 0 / 20%);
}

.lineChart {
    width: 99%;
    display: inline-block;
}

#pie-chart {

}

.row1{
	width: 100%;
    display: inline-block;
    margin-top: 15px;
    border-radius: 5px;
    margin-right: 5px;

}

.widgetStatsLeft h3{
color:white!Important;
}

.widgetStatsLeft{
	width: 35%;
	border-radius: 5px;
	border: 0px solid blue;
	/* height: 100%; */
	display: inline-block;
	background: rgb(2,0,36);
	background: linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 0%, rgba(7,50,148,1) 0%, rgba(4,125,197,1) 64%, rgba(0,212,255,1) 100%);
	padding: 10px;
    color: white;
    text-align: center;

	float: left;
		box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
}

.r2left, .r2right {
	height: 280px;
}

.smallWidget{
	width: 55%;
    float: left;
    background: white;
    padding: 0px;
    border-radius: 10px;
	margin-left: 5%;
	box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
}	

#bottom{
	margin-top: 3%;
}

.shotCounter{
	font-size: 2.3em;
    font-weight: 500;
}

.r2right{
	display: inline-block;
    width: 49%;
}

.clubTitle, .numberofShots, .showMeMore{
	float:left;
}

.clubRow{
    display: inline-block;
    width: 100%;
    background-color: white;
    border-radius: 12px;
	box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
}

.clubTitle {
    font-weight: 400;
    font-size: 2.2em;
    width: 63%;
    text-align: right;
    padding-right: 10px;
	
}

.numberofShots, .showMeMore{
    padding-top: 16px;
}

.numberofShots span{
font-weight: 700;
    font-size: 1.2em;
}

.showMeMore{
	padding-left:10px;
}

#Distance{

}

.r2right{
float: right;
    width: 51%;
}

.courseWidget{
    width: 16%;
    background-color: white;
    border-radius: 5px;
    padding: 15px;
    height: 180px;
	box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
	float: left;
    margin-right: 14px;
}

.widgetHolder{
	display: inline-block;
    width: 100%;
    text-align: center;
}

.courseNumber{
	text-align: center;
    font-size: 3.5em;
    font-weight: 400;
}
.courseWidget span{
    text-align: center;
    width: 100%;
    display: inline-block;
    min-height: 50px;
}

.r3left{
	    display: inline-block;
    float: left;
    max-width: 47%;
}

.row3{
	display: inline-block;
    padding-top: 10px;
    border-top: 1px solid white;
}

.widgetStatsLeft h4{
	font-size:4.5em;
}

a.home {
    width: 70%!important;
    text-align: center!important;
    margin-left: 12.5%!important;
}

.statsBox{
	display: inline-block;
    width: 85%;
    margin-left: 4%;
}

a#main_option {
    width: 27%;
    /* color: black!important; */
    float: left;
    height: 100px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
    margin: 20px;
    text-align: center;
	
	background-image: -webkit-gradient(linear, left top, left bottom, from(#023020), to(rgba(126, 94, 162, 0.51))), url(/img/training.JPG);
	display: inline-block;
    height: auto;
	min-height:150px;
}

a#main_option span {
    width: 100%;
    height: auto;
    display: inline-block;
    padding-top: 15px;
    font-size: 2em;
    color: white;
}

.breaker{
	    display: inline-block;
    border-top: 1px solid white;
    margin-top: 21px;
    width: 100%;
}

a.range_training{
	background-position: 0px 0px;
}

.subTitle{
	font-size: 0.7em!important;
    font-style: italic!important;
    width: 100%!important;
    height: auto!important;
    padding-top: 0px!important;
}

a.primary{
	width: 100%!important;
    height: 150px!important;
    font-size: 1.5em!important;
}

.statsBox h3 {
    font-size: 2.75rem;
    color: white!important;
    margin-top: 15px;
}

.r2right h2{
	
}

.row1Warning{
		display:none;
	}


@media screen and (max-width: 400px) {
	.row1{
		display:none;
	}
	
	.row1Warning{
		display:block;
	}
	
	.widgetStatsLeft, .smallWidget{
		width:100%;
		margin-left: 0%;
	}
	.widgetStatsLeft{
		height: 163px;
		margin-bottom: 10px;
	}
	
	.smallWidget{
		text-align:center;
	}
	
	.clubTitle,.numberofShots, .showMeMore, .courseWidget{
	width: 100%;
    text-align: center;
}

.courseNumber {
    text-align: center;
    font-size: 2.5em;
    font-weight: 400;
}

a#main_option span{
	font-size:1em;
}

a#main_option{
	min-height:100px;
}

a.primary{
	height:auto!important;
}

.courseWidget{
height:120px;
margin-bottom:10px;
}
	
}

/*Mod - 23/11/24 */
.stats_home_new{
	background: linear-gradient(to bottom, #2B2638, #4A475A);
    padding: 20px;
    border-radius: 8px;
    color: white;
}

.widgetStatsLeft, .smallWidget, .clubRow{
	background: rgb(2,0,36);
}

.r2right a {
	color:white;
	text-decoration:underline;
}

.title, .shotCounter{
	float:left;
}

.title{
	margin-top: 13px;
    width: 73px;
    margin-right: 10px;
    text-align: right;
}

.r2left, .r2right{
	background: rgb(2,0,36);
	border-radius: 25px;
	padding:10px;
}

.r2right{
	width: 42%;
}

.r2left{
	width: 49%;
}

.widgetStatsLeft h3 {
    font-size: 1.25rem;
    margin-top: 16px;
}

iframe.averageShotsPM{
	height: 270px;
	width:500px;
	float:left;
}

.smallDataWidget{
	width:100px;
	float:left;
	background: #252836;
	padding:5px;
	border-radius: 13px;
    margin-top: 8px;
}


.smallDataWidget .title{
font-size: 0.75em;
text-align: left;
}

.smallDataWidget h4{
	display: inline-block;
	width: 100%;
	text-align: left;
}

.row-auto{
	width:auto;
	font-family:"Bebas Neue", sans-serif;
	background-color: #1E1E2E;
	color: #FFFFFF;
	max-width: 900px;
	padding: 20px;
	border-radius: 15px;
	display:inline-block;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.max650{
	max-width:650px;
	height: 372px;
}

.max300{
	max-width:300px;
}

.r2right {
    width: 49%;
}

        .stat-card-holder {
            background-color: #1e1e2e;
            color: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0;
        }
        .stat-card-holder .stat-card {
            background-color: #0066ff;
            border-radius: 12px;
            padding: 20px;
            width: 255px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
            text-align: center;
        }
        .stat-card-holder .stat-card h2 {
            margin: 0;

        }
        .stat-card-holder .stat-percentage {
            font-size: 48px;
            font-weight: bold;
            margin: 10px 0;
        }
        .stat-card-holder .progress-ring {
            position: relative;
            width: 120px;
            height: 120px;
            margin: 0 auto;
        }
        .stat-card-holder .progress-ring svg {
            transform: rotate(-90deg); /* Rotates the circle to start at the top */
			height: 120px;
        }
        .stat-card-holder .progress-ring-circle {
            fill: none;
            stroke-width: 10;
        }
        .stat-card-holder .progress-ring-background {
            stroke: #cce4ff;
        }
        .stat-card-holder .progress-ring-progress {
            stroke: #ffffff;
            stroke-linecap: round;
            stroke-dasharray: 0, 314; /* Default stroke-dasharray for animation */
            transition: stroke-dasharray 0.6s ease;
        }
        .stat-card-holder .stat-info {
            font-size: 14px;
            margin-top: 10px;
            display: flex;
            justify-content: space-between;
        }

		.right{
			float:right;
		}

		.left{
			float:left;
		}

		.sankeyIframe, .gradientLineIframe {
		width: 600px;
		/* display: inline-block; */
		height: 400px;
		}

		.gradientLineIframe {
			height: 530px;
		}

.sankey, .gradientLine{
display: inline-block;
    width: auto;
    height: auto;
}


/* Overall Page Setup */
.stats_home_new{
	width:98%;
	max-width:1010px;
	margin-left: 0%;
}

.container {
        text-align: center;
    }


.gradientLine {
margin-top:10px;
width:520px;
}

.gradientLineIframe{
	width:490px;
}

.desktop{
		display:inline-block;
	}

	.mobile{
		display:none;
	}

.scatter{
	margin-top: 10px;
    width: 430px;
	height: 450px;
}

iframe.scatterIframe{
	height:400px;
}

@media screen and (max-width: 1040px) {

	.stat-card-holder .stat-card h2{
			font-size:1.5rem;
		}

	a#main_option {
		width: 100%;
	}

	.r1left, .r1right, .r2left, .r2right {
		float: left;
		width: 100%;
	}

	.r3left {
		display: inline-block;
		float: left;
		max-width: 100%;
	}

	.r2right{
		margin-top:20px;
	}

	.widgetStatsLeft{
		height:275px;
	}

	.right, .left{
		float:none;
	}

	.max650 {
		width: 100%;
		max-width:100%;
		height:auto;
	}

	iframe.averageShotsPM{
		width: 100%;
	}

	.smallDataWidget {
		width: 48%;
		margin-right:5px;
	}

	.row-auto{
		margin-top:10px;
	}

	.r2left .widgetStatsLeft {
        height: 190px;
    }

	.title, .shotCounter{
		margin-left: 20%;
	}

	.sankeyIframe{
		max-width:503px;
	}

	.desktop{
		display:none;
	}

	.mobile{
		display:inline-block;
	}

	.mobile .stat-card-holder{
		float:left;	
		margin-top:10px;
		background-color:transparent;
	}

	.mobile .stat-card{
		margin-right:10px;
	}


}


/* Pure Mobile Fixes */
@media screen and (max-width: 580px) {
	iframe.sankeyIframe, iframe.gradientLineIframe, .gradientLine, .scatter, iframe.scatterIframe{
		max-width:100%;
	}

	.r2left, .r2right {
    height: auto;
}

	.stat-card-holder .stat-card, .clubRow .clubTitle {
			width:100%;
		}
	
		.numberofShots{
			padding-top:0px;
		}
}
	


/* 27/11 Fixes */
.row3 .r2right{
	height:auto;
}

.row3 .r2right .widgetHolder a{
	display:inline-block;
}

.courseWidget{
background-color: #0066ff;
width: 75px;
}

.clubTitle{
	width: 63%;
}


iframe.scatterIframe {
    height: 550px;
    position: relative;
    left: -16px;
    width: 421px;
}

.scatter{
	height: 610px;
	clear:both;
}

.clubRow, .r2right{
	box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
}

.r5{
	height: auto;
}


.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    content: "";
    position: absolute;
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background: linear-gradient(135deg, #3a86ff, #00b4d8);
}

input:checked + .slider:before {
    transform: translateX(26px);
}
