/**************************************************************
 *
 * This file contains custom classes and styles for the mobile version
 * v01.21
 **************************************************************/


/**************************************************************
 * Gym mode pages
 **************************************************************/
div#timer-container ul, div#timer-container h2 {
    padding: 0;
    margin: 0;
}

div#timer-container a.wide_link {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
}

div#timer-container ul#workout-timer li {
    float: right;
    list-style: none;
    position: relative;
    overflow: scroll;

}

div#timer-container {
    padding: 13px;
    clear: both;
    overflow: hidden;
    margin: 0 auto;
    display: block;
}

div#timer-container canvas, div#timer-container div.filler_div {
    margin-top: 1em;
    margin-bottom: 30px;
}

div#timer-container canvas {
    width: 200px;
}

div#timer-container div.sub_header {
    position: absolute;
    bottom: 100px;
    width: 95%;
}

div#timer-container div.sub_header a {
    width: 90%;
}

div#timer-container div.sub_header h2 {
    font-size: 300%;
}

div#timer-container a.wide_link {
    width: 100%;
}

div#timer-container .bottom_buttons {
    position: relative;
    bottom: 12px;
    width: 100%;
}

div#timer-container a.bottom_button {
    position: relative;
    bottom: 12px;
}

div#timer-container div.progress-bar {
    position: relative;
    width: 99%;
    height: 6px;
    border-radius: 3px;
    background-color: #eeeeec;
    border: 1px solid gray;
}

div#timer-container div.progress-bar span {
    height: 6px;
    border-radius: 3px;
    border: 1px solid gray;
    position: absolute;
    bottom: -1px;
    left: -1px;

    background-color: #046b2d;
}

/**************************************************************
 * Mobile bottom group button.
 **************************************************************/
.fileAdd {
    width: 46px;
    height: 34px;
    background: #5628ee;
    border-radius: 0 3px 3px 3px;
    position: relative;
    margin: 2px 0 0 0;
    -webkit-perspective: 160px;
    perspective: 160px;
    cursor: pointer;
}

.fileAdd:before {
    content: "";
    border-radius: 2px 2px 0 0;
    background: inherit;
    height: 2px;
    width: 20px;
    display: block;
    position: absolute;
    top: -2px;
    left: 0;
}

.fileAdd div {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 32px;
    background: #01a3e0;
    border-radius: 2px 2px 3px 3px;
    z-index: 2;
    transition: -webkit-transform 0.25s ease;
    transition: transform 0.25s ease;
    transition: transform 0.25s ease, -webkit-transform 0.25s ease;
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
}

.fileAdd div span {
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -5px 0 0 -5px;
    transition: -webkit-transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.4);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.4);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.4), -webkit-transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.4);
}

.fileAdd div span:before, .fileAdd div span:after {
    content: "";
    height: 10px;
    width: 2px;
    border-radius: 1px;
    background: #fff;
    display: block;
    position: absolute;
    left: 4px;
    top: 0;
}

.fileAdd div span:before {
    -webkit-transform: scaleX(0.75);
    transform: scaleX(0.75);
}

.fileAdd div span:after {
    -webkit-transform: scaleY(0.75) rotate(90deg);
    transform: scaleY(0.75) rotate(90deg);
}

.fileAdd ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-perspective: 300px;
    perspective: 300px;
}

.fileAdd ul li {
    --translateY: 0;
    --translateX: 0;
    --scale: 0.92;
    bottom: 0;
    left: 6px;
    position: absolute;
    width: 35px;
    height: 35px;
    transition: -webkit-transform 0.45s ease;
    transition: transform 0.45s ease;
    transition: transform 0.45s ease, -webkit-transform 0.45s ease;
    -webkit-transform: translateY(var(--translateY)) translateX(var(--translateX)) scaleX(var(--scale));
    transform: translateY(var(--translateY)) translateX(var(--translateX)) scaleX(var(--scale));
}

.fileAdd ul li:before, .fileAdd ul li:after {
    --rotateY: 0deg;
    --rotateZ: 90deg;
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: -webkit-transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
    -webkit-transform: rotateY(var(--rotateY)) rotateZ(var(--rotateZ));
    transform: rotateY(var(--rotateY)) rotateZ(var(--rotateZ));
}

.fileAdd ul li:after {
    --rotateY: -180deg;
    z-index: 1;
    text-align: center;
    font-weight: 600;
    color: #fff;
    line-height: 33px;
    font-family: "Mukta Malar";
}

.fileAdd ul li.word:before {
    background: #8969f3;
}

.fileAdd ul li.word:after {
    background: #daedfe;
    color: #46a7fe;
    content: "\f0f5";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
}

.fileAdd ul li.powerpoint {
    --translateY: 1px;
    --scale: 0.96;
}

.fileAdd ul li.powerpoint:before {
    background: #bba9f8;
}

.fileAdd ul li.powerpoint:after {
    background: #fde5e1;
    color: #f57f65;
    content: "\f03a";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
}

.fileAdd ul li.excel {
    --translateY: 2px;
    --scale: 1;
}

.fileAdd ul li.excel:before {
    background: #fff;
}

.fileAdd ul li.excel:after {
    background: #d4f5df;
    color: #2acf62;
    content: "\f0f6";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
}

.fileAdd:hover div {
    -webkit-transform: rotateX(-30deg);
    transform: rotateX(-30deg);
}

.fileAdd:active span {
    -webkit-transform: scale(0.84);
    transform: scale(0.84);
}

.fileAdd.open div {
    -webkit-transform: rotateX(-30deg);
    transform: rotateX(-30deg);
}

.fileAdd.open div span {
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

.fileAdd.open:active span {
    -webkit-transform: scale(0.84) rotateZ(45deg);
    transform: scale(0.84) rotateZ(45deg);
}

.fileAdd.open ul li {
    --scale: 1;
}

.fileAdd.open ul li:before {
    --rotateY: 180deg;
    --rotateZ: 0deg;
}

.fileAdd.open ul li:after {
    --rotateY: 0deg;
    --rotateZ: 0deg;
}

.fileAdd.open ul li.word {
    --translateY: -32px;
    --translateX: -36px;
}

.fileAdd.open ul li.word:hover {
    --translateY: -30px;
}

.fileAdd.open ul li.powerpoint {
    --translateY: -44px;
    --translateX: 0px;
}

.fileAdd.open ul li.powerpoint:hover {
    --translateY: -42px;
}

.fileAdd.open ul li.excel {
    --translateY: -32px;
    --translateX: 36px;
}

.fileAdd.open ul li.excel:hover {
    --translateY: -30px;
}

.tabbar {
    margin: 0;
    padding-left: inherit;
    padding-right: inherit;
    list-style: none;
    display: flex;
    align-items: center;
    background-color: #700e70;
    bottom: 0;
	width: 100%;
}

.tabbar > li > a > svg {
    width: 2.5rem;
    height: 5rem;
    display: block;
    fill: #fafafa;
    transition: opacity 0.3s ease;
}

.tabbar.open > li> a > svg {
    opacity: 0.5;
}

/**************************************************************
 * fix shortcut group buttons in bottom
 **************************************************************/
    #shortcutGroup{
        position: fixed;
		z-index: 2147483647;
    }

/**************************************************************
 * Workout record form
 **************************************************************/
fieldset.scheduler-border {
    border: 1px groove #ddd !important;
    padding: 0 1em 1em 1em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}

    legend.scheduler-border {
		text-align: center;
		font-size: 12px;
        width:auto;
        padding:0 10px;
        border-bottom:none;
		margin-bottom: 2px;
    }

/**************************************************************
 * Workout form display exercise images
 **************************************************************/
div.scrollmenu {
  overflow: auto;
  white-space: nowrap;
}

div.scrollmenu img {
	vertical-align: initial;
	height: 85px;
	width: 85px;
}

div.scrollmenu a {
  display: inline-block;
  text-align: center;
  padding: 5px;
  text-decoration: none;
}

div.scrollmenu a:hover {
  background-color: #afdaf2;
}

.load-in-progress {
  position: fixed;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  color: #000000;
  z-index: 200000;
  background-color: #FFFFFF;
}

/* Ripple button styling with slower and gentler animation */
.button-start-ripple {
  cursor: pointer;
  border: 1px solid #fff;
  color: #ffffff !important;
  height: 150px;
  width: 150px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 100%;
  text-transform: uppercase;
  /* Increased duration to 3.5s and changed to ease-out for a gentler effect */
  animation: ripple 3.5s ease-out infinite;
  transition: all 0.7s ease;
}

.button-start-ripple:hover {
  transform: scale(1.1) !important;
}

.button-start-ripple:focus {
  outline: none;
}

/* Keyframes for larger, softer white ripple effect */
@keyframes ripple {
  0% {
    box-shadow:
      0 0 0 0 rgba(255, 255, 255, 0.15),
      0 0 0 4px rgba(255, 255, 255, 0.15),
      0 0 0 8px rgba(255, 255, 255, 0.15),
      0 0 0 12px rgba(255, 255, 255, 0.15),
      0 0 0 16px rgba(255, 255, 255, 0.15);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(255, 255, 255, 0.1),
      0 0 0 10px rgba(255, 255, 255, 0.08),
      0 0 0 25px rgba(255, 255, 255, 0.05),
      0 0 0 40px rgba(255, 255, 255, 0.02),
      0 0 0 60px rgba(255, 255, 255, 0);
  }
}
