/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 15-Apr-2021, 14:35:10
    Author     : enrico
*/

html {
	height: 100%;
	scroll-behavior: smooth;
}
body {
	min-height: 100%;
	_background-image: url('../img/deadlift.jpg');
	background-image: url('../img/rings.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
a {
	color:hsl(48, 100%, 67%);
}

#SEC_header-week-schedule {
	animation: fadeInAnimation ease 0.5s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.has-text-info {
	color: hsl(204, 86%, 53%) !important;
}

/* SECTION classes */

.switchable {
	padding: 20px 0 20px 0;
	display: none;
}
.overlay {
	/*padding-top: 25px;*/
	min-height: 100vh;
	background-color: rgba(50, 50, 50, .75);
}
.centered {
	text-align: center;
}
.work-counting-background-red {
	/*dark red*/ 
	background-color: rgba(150, 30, 34, .95);
}
.work-counting-background-orange {
	/*dark red*/ 
	background-color: rgba(255, 128, 0, .75);
}
.work-counting-background-green {
	/*dark green*/ 
	background-color: rgba(5, 71, 42, .75);
}
.work-counting-background-blue {
	/*dark blue*/
	background-color: rgba(5, 30, 180, .75);
}

/* for the table and the chart (fully transparent because they are inside weekdays-columns, which has 0.5 opacity, see below) */
rect[x="0"] { /* this is the main 'rect' of the chart, and we want it transparent */
	fill: rgba(255, 255, 255, 0) !important;
}
rect { /* these are the other 'rect' of the chart (various gridlines, etc) */
	fill: rgba(0, 0, 0, .1) !important;
}
table {
	background-color:rgba(0,0,0,0) !important;
}
/* this is the background that regulates the opacity on both table and chart */
#weekdays-columns {
	border-radius: 0px;
	background-color:rgba(250, 250, 250, .8) !important;
	margin-bottom: 0px;
}

#todays-workout {
	border-radius: 0px;
	background-color:rgba(250, 250, 250, 1) !important;
	margin: 0px;
}

.weekday-name-separator, .weekday-note-separator {
	padding-bottom: 36px !important;
	border: 0px !important;
}

.weekday-note-separator {
	padding-top: 0px !important;
}

.table-bottom-border, .setTd1, .setTd2 {
	_border-color: #000000 !important;
	border: 0px !important;
}

/* https://brajeshwar.github.io/entities/ */
table td {
	vertical-align: middle !important;
	padding-left: 0.5em !important;
	padding-right: 0.5em !important;
}
.weekday-column {
	padding-bottom: 36px;
}
.tr-changed {
	 background-color:rgba(255, 255, 0, .5) !important; /* was #FFC */
}
.next-week-difficulty-more:before {
	content: "\2191\00A0\00A0";
	color: hsl(348, 100%, 61%) !important;
	font-weight: bold !important;
	margin-right: 6px;
}
.next-week-difficulty-same:before {
	content: "\2261\00A0\00A0";
	color: hsl(348, 100%, 61%) !important;
	font-weight: bold !important;
	margin-right: 6px;
}
.next-week-difficulty-undefined {
	text-decoration: none;
}
.tooltip-good:before {
	content: "\2022\00a0\00a0";
	color: hsl(141, 71%, 48%) !important;
	font-weight: bold !important;
}
.tooltip-ok:before {
	content: "\2022\00a0\00a0";
	color: hsl(204, 86%, 53%) !important;
	font-weight: bold !important;
}
.tooltip-tough:before {
	content: "\2022\00a0\00a0";
	color: hsl(348, 100%, 61%) !important;
	font-weight: bold !important;
}
.tooltip-no-feedback:before {
	content: "\2022\00a0\00a0";
	color: hsl(204, 86%, 53%) !important;
	font-weight: bold !important;
}
.setTd1 {
	padding-right: 1.5em !important;
}
.setTd2 {
	padding-left: 1.5em !important;
}

/* used for exercises */
.highlighted-exercise {
	color: hsl(348, 86%, 43%) !important;
}

/* used for feedback */
.set-notdone {
	/* grey */
	border-right: 5px solid hsl(0, 0%, 75%) !important;
}
.set-easy {
	/* green - has-text-success but with opacity 43% instead of 48% */
	border-right: 5px solid hsl(141, 71%, 43%) !important;
}
.set-normal {
	/* blue - has-text-info */
	border-right: 5px solid hsl(204, 86%, 53%) !important;
}
.set-tough {
	/* orange - has-text-warning but with opacity 47% instead of 67% */
	border-right: 5px solid hsl(48, 100%, 47%) !important;
}
.set-failed {
	/* red - has-text-danger but with opacity 41% instead of 61% */
	border-right: 5px solid hsl(348, 100%, 41%) !important;
}

/* used for set count circles as in SC_, WO_, and week display, with or without marks and pmarks */
.circles-black {
	color: #000000;
}
.circles-white {
	color: #ffffff;
}
.circles-easy {
	/* green */
	color: #1ca64c;
}
.circles-normal {
	/* blue - has-text-info */
	color: #209cee;
}
.circles-tough {
	/* orange */
	color: #cca300;
}
.circles-failed {
	/* red */
	color: #d1002a;
}
.circles-transparent {
	opacity: 0.5;
}
.circles-spaced {
	margin: 10px 5px 0 5px;
}
.circles-blinking {
	animation-name: blinking;
	animation-duration: 1s;
	animation-iteration-count: infinite;
}
@keyframes blinking {
	50% {
		color: rgba(50, 50, 50, 0);
	}
}

/* for the modal views */
.block-bordered {
	margin: 10px 15px 10px 15px;
	border: 1px solid #aaaaaa;
	border-radius: 15px;
	background-color: rgba(255, 255, 255, .1);
}

/* TIMER CSS CLASSES - Ref: https://codesandbox.io/p/sandbox/circle-timer-3wz87?file=%2Fsrc%2Fstyles.css%3A8%2C1-59%2C2 */

/* progress bar of the ongoing workout */
.workout-ongoing-progress-bar {
	background-color: hsl(204, 86%, 53%);
}
.workout-ongoing-progress-bar-background {
	background-color: rgb(128, 128, 128);
}

/* Actual timer */
.countdown-timer-container {
	font-family: sans-serif;
	display: grid;
	height: 250px;
	place-items: center;
}
.countdown-timer {
	position: relative;
	width: 250px;
	height: 250px;
}
.countdown-timer-svg {
	transform: scaleX(-1);
}
.countdown-timer-circle {
	fill: none;
	stroke: none;
}
.countdown-timer-path-elapsed {
	stroke-width: 7px;
	stroke: grey;
}
.countdown-timer-path-remaining {
	stroke-width: 7px;
	/*stroke-linecap: round;*/
	transform: rotate(90deg);
	transform-origin: center;
	transition: 1s linear all;
	fill-rule: nonzero;
	stroke: currentColor;
}
.countdown-timer-path-remaining.blue {
	color: hsl(204, 86%, 53%);
	/* rgb(65, 184, 131); */
}
.countdown-timer-path-remaining.orange {
	color: orange;
}
.countdown-timer-path-remaining.red {
	color: red;
}
.countdown-timer-label {
	position: absolute;
	width: 250px;
	height: 250px;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 64px;
	font-weight: bold;
	color: #ffffff;
}
.countdown-timer-sublabel {
	position: absolute;
	width: 250px;
	height: 250px;
	top: 20%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: bold;
	color: hsl(204, 86%, 53%);
}

/* LOADER for SEC_loader */
/* Ref: https://www.sliderrevolution.com/resources/css-loaders/ by Alexandr Izumenko */
/* Also nice the Chrome Cast Loader */

.loader-container {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.loader-item {
  width: 100px;
  height: 100px;
  position: absolute;
}

.item-1 {
  background-color: #FA5667;
  top: 0;
  left: 0;
  z-index: 1;
  animation: item-1_move 1.8s cubic-bezier(.6,.01,.4,1) infinite;
}

.item-2 {
  /*background-color: #7A45E5;*/
  background-color: hsl(141, 71%, 43%); /* green */
  top: 0;
  right: 0;
  animation: item-2_move 1.8s cubic-bezier(.6,.01,.4,1) infinite;
}

.item-3 {
  background-color: #1B91F7;
  bottom: 0;
  right: 0;
  z-index: 1;
  animation: item-3_move 1.8s cubic-bezier(.6,.01,.4,1) infinite;
}

.item-4 {
  background-color: #FAC24C;
  bottom: 0;
  left: 0;
  animation: item-4_move 1.8s cubic-bezier(.6,.01,.4,1) infinite;
}

@keyframes item-1_move {
  0%, 100% {transform: translate(0, 0)} 
  25% {transform: translate(0, 100px)} 
  50% {transform: translate(100px, 100px)} 
  75% {transform: translate(100px, 0)} 
}

@keyframes item-2_move {
  0%, 100% {transform: translate(0, 0)} 
  25% {transform: translate(-100px, 0)} 
  50% {transform: translate(-100px, 100px)} 
  75% {transform: translate(0, 100px)} 
}

@keyframes item-3_move {
  0%, 100% {transform: translate(0, 0)} 
  25% {transform: translate(0, -100px)} 
  50% {transform: translate(-100px, -100px)} 
  75% {transform: translate(-100px, 0)} 
}

@keyframes item-4_move {
  0%, 100% {transform: translate(0, 0)} 
  25% {transform: translate(100px, 0)} 
  50% {transform: translate(100px, -100px)} 
  75% {transform: translate(0, -100px)} 
}

/* feedback doughnut */
/* Ref: adapted from https://stackoverflow.com/questions/56797060/css-only-pie-chart-how-to-add-spacing-padding-between-slices */

.feedback-doughnut-container {
	position:relative;
	font-family: sans-serif;
	display: grid;
	height: 235px;
	place-items: center;
}
.feedback-doughnut-label {
	position: absolute;
	width: 235px;
	height: 235px;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: bold;
	color: #ffffff;
}
.feedback-doughnut {
	height: 235px;
	width: 235px;
	position:relative;
	margin:0px;
}
.feedback-doughnut > * {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	border:18px solid var(--c,red);
	border-radius:50%;
	clip-path:polygon(50% 50%, 50% 0%, 100% 0%, 100% 50%); 
}
.color1 {
	transform:rotate(-135deg) translate(3px,-3px);
	--c:hsl(141, 71%, 38%); /* green */
}
.color2 {
	transform:rotate(-45deg) translate(3px,-3px);
	--c:hsl(204, 86%, 53%); /* blue */
}
.color3 {
	transform:rotate(45deg) translate(3px,-3px);
	--c:hsl(48, 100%, 40%); /* orange */
}
.color4 {
	transform:rotate(135deg) translate(3px,-3px);
	--c:hsl(348, 100%, 41%); /* red */
}

/* Workout End Section */

.we-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;	
}