@font-face {
    font-family: 'gilroy';
    src: url('../fonts/gilroy-light-webfont.woff2') format('woff2'),
         url('../fonts/gilroy-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'gilroy';
    src: url('../fonts/gilroy-extrabold-webfont.woff2') format('woff2'),
         url('../fonts/gilroy-extrabold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'gilroy';
    src: local('Gilroy-Medium ☞'), url('../fonts/Gilroy-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

:root {
    --ios-gap: 0px;
}

/* generic */

* { box-sizing: border-box; }

html, body {
    min-height: calc(100vh - var(--ios-gap));
}

.version {
    opacity: 0.3;
    padding-bottom: 33px;
}

.version .css::after {
    content: '13';
}

body {
    position: relative;
    height: calc(100vh - var(--ios-gap));
    overflow: hidden;
    font-size: 16px;
    font-family: 'gilroy', sans-serif;
    letter-spacing: .2px;
    color: #545454;
    margin: 0;
    background: #FFFBFB;
}

#maintenance {
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    color: #B10200;
    text-align: center;
    padding: 50px;
    box-sizing: border-box;
    z-index: 99;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 11px;
}

h1 {
    font-size: 25px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 16px;
}

.mb-1 {
    margin-bottom: 22px!important;
}

.mb-2 {
    margin-bottom: 44px!important;
}

.mt-1 {
    margin-top: 22px!important;
}

.mt-2 {
    margin-top: 44px!important;
}

.ml-1 {
    margin-left: 22px!important;
}

.ml-2 {
    margin-left: 44px!important;
}

.mr-1 {
    margin-right: 22px!important;
}

.mr-2 {
    margin-right: 44px!important;
}

.mb-0 {
    margin-bottom: 0!important;
}

.mb-05 {
    margin-bottom: 11px!important;
}

.px-0 {
    padding-left: 0!important;
    padding-right: 0!important;
}

.d-none { display: none; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-red {
    color: #B10200; 
}

.text-gray {
    color: #545454;
}

.text-black {
    color: #1F1F1F;
}

.clear::after {
    content: ' ';
    display: table;
    clear: both;
}

p {
    margin-bottom: 22px;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: #545454;
    border-bottom: 1px solid #545454;
    
    -webkit-transition: border-color 0.5s ease;
    -moz-transition: border-color 0.5s ease;
    -ms-transition: border-color 0.5s ease;
    transition: border-color 0.5s ease;
}

a:hover {
    border-color: transparent!important;
}

a.text-red {
    border-color: #B10200
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/* login and home */
body.front::before {
    content: ' ';
    background: #B10200;
    width: 120px;
    height: 120px;
    position: fixed;
    bottom: -15px;
    left: -75px;
    opacity: 0.05;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    z-index: 1;
}

body.front::after {
    content: ' ';
    background: #B10200;
    width: 120px;
    height: 120px;
    position: fixed;
    bottom: -80px;
    left: -35px;
    opacity: 0.05;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    z-index: 1;
}

.centralised-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    height: 100%;
    
    align-items: center;
    justify-content: center;
}

.centralised-content .content {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

body.front .centralised-content {
    max-width: 330px;
    width: calc(100vw - 70px);
    margin: 0 auto;
    padding: 44px 0 0;
    min-height: 100vh;
}

.avatar-area {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 44px;
}

.avatar-area.avatar {
    margin-bottom: 22px;
}

.avatar-area .logo {
    position: relative;
    width: 180px;
    height: 180px;
    background: url(../images/logo.svg) no-repeat center center;
    background-size: contain;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.avatar-area .logo.badge {
    width: 170px;
    height: 170px;
    margin: 5px auto;
    background-image: url(../images/logo-badge.svg);
}

.avatar-area.avatar .logo.badge {
    transform: translate(0px,5px);
    border: 5px solid #FFFBFB;
    background-size: 170px 170px;
}

body.front form {
    padding-bottom: calc(72px + 44px);
}

input[type="text"], input[type="email"], input[type="password"], textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    display: block;
    width: 100%;
    border: 1px solid #fff;
    -webkit-border-radius: 60px;
    border-radius: 60px;
    -webkit-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    -moz-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    color: #B10200;
    padding: 22px;
    margin-bottom: 22px;
    background: #fff;
    outline: 0!important;
    font-size: inherit;
    font-family: inherit;
    letter-spacing: .2px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
    border-color: #B10200;
}

.input-style {
    display: inline-block;
    -webkit-border-radius: 60px;
    border-radius: 60px;
    -webkit-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    -moz-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    overflow: hidden;
}

.input-style input {
    background: #fff;
    outline: 0!important;
    font-size: inherit;
    font-family: inherit;
    letter-spacing: .2px;
    padding: 22px;
    color: #B10200;
    border: 0;
}

.input-style select {
    font-size: inherit;
    font-family: inherit;
    font-weight: bold;
    color: #444;
    line-height: 1.3;
    padding: .6em 1.4em .5em .8em;
    /* width: 100%; */
    /* max-width: 100%; */
    box-sizing: border-box;
    margin: 0;
    border: 0;
    box-shadow: none;
    /* border-radius: .5em; */
    -moz-appearance: none;
    padding: 20px;
    -webkit-appearance: none;
    appearance: none;
    background: #fff no-repeat url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23B10200%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E') calc(100% - 8px) 50%;
    background-size: .65em auto;
    outline: 0;
}

.exerciseDD.input-style {
    display: block;
    position: absolute;
    top: 110px;
    left: 22px;
    width: calc(100% - 44px);
    z-index: 9;
    background: #fff;
}

.exerciseDD.input-style select {
    width: 95%;
    padding: 10px 15px;
}

.input-style select:disabled {
    background-image: none;
}

textarea {
    -webkit-appearance: none;
    height: 150px;
    resize: none;
    border-radius: 20px;
}

input[type="text"]::-webkit-input-placeholder, input[type="email"]::-webkit-input-placeholder, input[type="password"]::-webkit-input-placeholder {
    color: #969EAB;
}
input[type="text"]::-moz-placeholder, input[type="email"]::-moz-placeholder, input[type="password"]::-moz-placeholder {
    color: #969EAB;
}
input[type="text"]:-ms-input-placeholder, input[type="email"]:-ms-input-placeholder, input[type="password"]:-ms-input-placeholder {
    color: #969EAB;
}
input[type="text"]:-moz-placeholder, input[type="email"]:-moz-placeholder, input[type="password"]:-moz-placeholder {
    color: #969EAB;
}

input[name="username"]:placeholder-shown {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='17.612' height='12.384' viewBox='0 0 17.612 12.384'><g id='mail_3_' data-name='mail (3)' transform='translate(0 -76)'><g id='Group_5' data-name='Group 5' transform='translate(0 76)'><path id='Path_5' data-name='Path 5' d='M16.064,76H1.548A1.55,1.55,0,0,0,0,77.548v9.288a1.55,1.55,0,0,0,1.548,1.548H16.064a1.55,1.55,0,0,0,1.548-1.548V77.548A1.549,1.549,0,0,0,16.064,76Zm-.217,1.032L9.9,82.947a1.548,1.548,0,0,1-2.19,0L1.765,77.032ZM1.032,86.626V77.759l4.459,4.436Zm.733.726,4.458-4.429.759.755a2.58,2.58,0,0,0,3.648,0l.76-.756,4.458,4.429Zm14.815-.726-4.459-4.431,4.459-4.436Z' transform='translate(0 -76)' fill='%23969EAB'/></g></g></svg>") no-repeat 22px center;
}

input[name="username"], input[type="email"]:focus {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='17.612' height='12.384' viewBox='0 0 17.612 12.384'><g id='mail_3_' data-name='mail (3)' transform='translate(0 -76)'><g id='Group_5' data-name='Group 5' transform='translate(0 76)'><path id='Path_5' data-name='Path 5' d='M16.064,76H1.548A1.55,1.55,0,0,0,0,77.548v9.288a1.55,1.55,0,0,0,1.548,1.548H16.064a1.55,1.55,0,0,0,1.548-1.548V77.548A1.549,1.549,0,0,0,16.064,76Zm-.217,1.032L9.9,82.947a1.548,1.548,0,0,1-2.19,0L1.765,77.032ZM1.032,86.626V77.759l4.459,4.436Zm.733.726,4.458-4.429.759.755a2.58,2.58,0,0,0,3.648,0l.76-.756,4.458,4.429Zm14.815-.726-4.459-4.431,4.459-4.436Z' transform='translate(0 -76)' fill='%23b10200'/></g></g></svg>") no-repeat 22px center;
    padding-left: 50px;
}

input[type="password"]:placeholder-shown {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14.466' height='17.689' viewBox='0 0 14.466 17.689'><g id='Group_6' data-name='Group 6' transform='translate(-45.5 -448.628)'><rect id='Rectangle_3' data-name='Rectangle 3' width='13.466' height='8.978' rx='2' transform='translate(46 456.84)' fill='none' stroke='%23969eab' stroke-linecap='round' stroke-linejoin='round' stroke-width='1'/><path id='Path_6' data-name='Path 6' d='M7,8.94V5.856a3.856,3.856,0,0,1,7.711,0V8.94' transform='translate(41.878 447.128)' fill='none' stroke='%23969eab' stroke-linecap='round' stroke-linejoin='round' stroke-width='1'/></g></svg>") no-repeat 22px center;
}

input[type="password"], input[type="password"]:focus {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14.466' height='17.689' viewBox='0 0 14.466 17.689'><g id='Group_6' data-name='Group 6' transform='translate(-45.5 -448.628)'><rect id='Rectangle_3' data-name='Rectangle 3' width='13.466' height='8.978' rx='2' transform='translate(46 456.84)' fill='none' stroke='%23b10200' stroke-linecap='round' stroke-linejoin='round' stroke-width='1'/><path id='Path_6' data-name='Path 6' d='M7,8.94V5.856a3.856,3.856,0,0,1,7.711,0V8.94' transform='translate(41.878 447.128)' fill='none' stroke='%23b10200' stroke-linecap='round' stroke-linejoin='round' stroke-width='1'/></g></svg>") no-repeat 22px center;
    padding-left: 50px;
}

button { cursor: pointer; }

.btn, .et_pb_button {
    display: inline-block;
    border: 1px solid #B10200;
    -webkit-border-radius: 60px;
    border-radius: 60px;
    -webkit-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    -moz-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    color: #B10200;
    background: #fff;
    padding: 22px 44px;
    min-width: 225px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: .2px;
    text-align: center;
    font-weight: bold;
    
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

.uppercase {
    text-transform: uppercase;
}

.btn.btn-auto {
    min-width: auto;
}

.btn.btn-primary, .et_pb_button {
    color: #fff;
    background: rgb(177,2,0);
    background: -moz-linear-gradient(180deg, rgba(177,2,0,1) 0%, rgba(216,53,52,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(177,2,0,1) 0%, rgba(216,53,52,1) 100%);
    background: linear-gradient(180deg, rgba(177,2,0,1) 0%, rgba(216,53,52,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b10200",endColorstr="#d83534",GradientType=1);
}

.btn:hover {
    opacity: 0.7;
    border-color: #B10200!important;
}

.btn-block, .et_pb_button {
    display: block;
    margin: 0 auto 16px;
}

.et_pb_button {
    margin-top: 10px;
    margin-bottom: 22px;
}

.main-buttons .btn {
    display: block;
    width: 225px;
    font-size: 16px;
    padding: 22px 0;
}

.btn.disabled {
    opacity: 0.08;
    cursor: normal;
}

.join-ic {
    padding-bottom: 20px;
    width: 100%;
}

.join-ic a {
    font-weight: bold;
    color: #B10200;
    border-color: #B10200;
    font-size: 18px;
}

.progress-wrapper, .progress-circle {
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-timing-function:linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function:linear;
}

.avatar-area.has-progress::before {
    content:' ';
    width: 180px;
    height: 180px;
    position: absolute;
    left: 50%;
    margin-left: -90px;
    border-radius: 50%;
    background: #545454;
    opacity: 0.25;
}

.progress-wrapper {
    width: 180px;
    height: 180px;
    position: absolute;
    left: 50%;
    margin-left: -90px;
    clip: rect(0px, 180px, 180px, 90px);
    
    -webkit-animation-duration: 0.01s;
    -webkit-animation-delay: 1s;
    -webkit-animation-name: close-wrapper;
    
    animation-duration: 0.01s;
    animation-delay: 1s;
    animation-name: close-wrapper;
}

.progress-circle {
    width: 100%;
    height: 100%;
    border: 5px solid #B10200;
    border-radius: 50%;
    position: absolute;
    clip: rect(0px, 90px, 180px, 0px);
    
    
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
}

.progress-circle.left {
    -webkit-animation-duration: 2s;
    -webkit-animation-name: left-spin;
    animation-duration: 2s;
    animation-name: left-spin;
}

.progress-circle.right {
    -webkit-animation-duration: 1s;
    -webkit-animation-name: right-spin;
    animation-duration: 1s;
    animation-name: right-spin;
}

.avatar-area.avatar .progress-circle.left, .avatar-area.avatar .progress-circle.right  {
    -webkit-animation-name: none;
    animation-name: none;
    -webkit-transform: (360deg);
    transform: rotate(360deg);
}

.avatar-area.avatar .progress-circle.right {
    -webkit-animation-duration: 1s;
    -webkit-animation-name: half-spin;
    animation-duration: 1s;
    animation-name: half-spin;
    
    -webkit-transform: (180deg);
    transform: rotate(180deg);
}

.avatar-area.avatar .progress-wrapper {
    clip: rect(auto, auto, auto, auto);
    -webkit-animation-delay: 0s;
    -webkit-animation-duration: 1s;
    -webkit-animation-name: quarter-spin;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-name: quarter-spin;
}

.avatar-area.avatar.has-progress::before {
    background: #fff;
}

/*.avatar-area.avatar .progress-circle.right {
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    -webkit-animation-duration: 1s;
    -webkit-animation-name: right-spin;
    animation-duration: 1s;
    animation-name: right-spin;
}*/

.page-content {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--ios-gap));
    overflow: auto;
}

#loadingView {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

#loadingView .avatar-area {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    
    -webkit-transition: all 0.75s ease;
    -moz-transition: all 0.75s ease;
    -ms-transition: all 0.75s ease;
    transition: all 0.75s ease;
}

#loadingView .avatar-area.repos {
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    transform: translate(-50%,0);
}

.popup {
    display: none;
}

.popup .popup-content {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 44px;
    z-index: 10;
    
    -webkit-border-top-right-radius: 60px;
    -webkit-border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    border-top-left-radius: 60px;
    
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    
    -webkit-transition: transform 0.5s ease, padding 0.5s ease;
    transition: transform 0.7s ease, padding 0.5s ease;
}

.popup.wider .popup-content {
    padding-left: 22px;
    padding-right: 22px;
}

.popup.shorter .popup-content {
    padding-bottom: 22px;
}

.popup .popup-content iframe {
    width: 100%;
    height: calc((100vw - 88px) * 0.562);
    margin-bottom: 22px;
}

@media only screen and (min-width: 500px) {
    .popup .popup-content iframe {
        width: 500px;
        height: calc((500px - 88px) * 0.562);
    }
}

.popupBg {
    content: ' ';
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.1);
    z-index: 9;
    
    opacity: 0;
    
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

.popup .btn {
    max-width: 275px;
}

body.popup-shown {
    overflow: hidden;
}

body.popup-shown .popupBg {
    opacity: 1;
}

.workoutArea, .exercise, .calendarItem {
    -webkit-transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.exercise, #notes {
    padding: 0 22px 44px;
}

.workoutArea.next, .exercise.next, .calendarItem.next { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

.workoutArea.prev, .exercise.prev, .calendarItem.prev {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}

.exercise.next, .exercise.prev {
    top: 172px;
}

body.popup-shown .blur-on-popup {
    filter: blur(3px) brightness(0.87)
}

.popup.show .popup-content {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

/*body.timer-shown .popup.show .popup-content {
    -webkit-transform: translateY(-139px);
    transform: translateY(-139px);
}*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: content-box;
    font-size: 1.125rem;

    padding: 12px 0 20px;
    color: #fff;
    -webkit-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    -moz-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    
    -webkit-border-bottom-right-radius: 60px;
    -webkit-border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    border-bottom-left-radius: 60px;
    
    background: -moz-linear-gradient(180deg, rgba(177,2,0,1) 0%, rgba(216,53,52,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(177,2,0,1) 0%, rgba(216,53,52,1) 100%);
    background: linear-gradient(180deg, rgba(177,2,0,1) 0%, rgba(216,53,52,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b10200",endColorstr="#d83534",GradientType=1);
    
    z-index: 5;
}

header::before {
    position: absolute;
    top: -70px;
    left: -70px;
    content: ' ';
    width: 170px;
    height: 135px;
    background: url(../images/headerbg.svg) no-repeat bottom right;
    background-size: contain;
}

header .home {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 44px;
    height: 24px;
    background: url(../images/back.svg) no-repeat center center;
    background-size: contain;
    border: 0;
    color: #fff;
}

header .backToWorkouts {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    background: url(../images/close.svg) no-repeat center center;
    background-size: contain;
    border: 0;
}

header p {
    margin-bottom: 7px;
}

header h1 {
    margin: 0 64px;
    font-size: 1.125rem;
}

header.inWorkout h1 {
    margin: 0 22px;
}

header h1 .type {
    display: inline;
    margin-right: 5px;
}

header .prev-workout, header .prev-calendar, .calendarItem .prev-calendar {
    position: absolute;
    left: 22px;
    top: 50%;
    width: 32px;
    height: 32px;
    background: url(../images/arrow-active.svg) no-repeat center center;
    background-size: contain;
    
    cursor: pointer;
}

header .next-workout, header .next-calendar, .calendarItem .next-calendar {
    position: absolute;
    right: 22px;
    top: 50%;
    width: 32px;
    height: 32px;
    background: url(../images/arrow-active.svg) no-repeat center center;
    background-size: contain;
    
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    
    cursor: pointer;
}

header .prev-calendar, header .next-calendar, .calendarItem .next-calendar, .calendarItem .prev-calendar {
    margin-top: -16px;
    border: 0!important;
}

header .prev-workout.disabled, header .prev-calendar.disabled, .calendarItem .prev-calendar.disabled {
    background-image: url(../images/arrow-deactive.svg);
}

header .next-workout.disabled, header .next-calendar.disabled, .calendarItem .next-calendar.disabled {
    background-image: url(../images/arrow-deactive.svg);
}

#exerciseControls {
    position: fixed;
    bottom: 85px;
    left: 0;
    width: 100%;
    z-index: 11;
}

#prev-and-next-controls {
    background: #FFFBFB;
    padding: 11px 22px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    z-index: 11;
    padding: 15px 0;
    box-sizing: content-box;
    
    overflow: auto;
    overflow-x: auto;
    overflow-y: hidden;
    
    background: -moz-linear-gradient(180deg, rgba(177,2,0,1) 0%, rgba(216,53,52,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(177,2,0,1) 0%, rgba(216,53,52,1) 100%);
    background: linear-gradient(180deg, rgba(177,2,0,1) 0%, rgba(216,53,52,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b10200",endColorstr="#d83534",GradientType=1);
    
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    
    align-items: center;
}

footer .icon {    
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

footer .icon a {
    display: block;
    width: 46px;
    height: 46px;
    margin: 0 auto;
    background: no-repeat center center;
    background-size: contain;
    border: 0!important;
}

footer .icon a.overview {
    background-image: url(../images/overview.svg);
}

footer .icon a.weights {
    background-image: url(../images/weights.svg);   
}

footer .icon a.records {
    background-image: url(../images/records.svg);   
}

footer .icon a.notes {
    background-image: url(../images/notesicon.svg);   
}

footer .icon.active::before {
    content: '';
    height: 3px;
    width: 80%;
    position: absolute;
    top: -15px;
    left: 10%;
    background: #fff;
    opacity: 0.5;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

footer .icon.active a.overview {
    background-image: url(../images/overview-selected.svg);
}

footer .icon.active a.weights {
    background-image: url(../images/weights-selected.svg);   
}

footer .icon.active a.records {
    background-image: url(../images/records-selected.svg);   
}

footer .icon.active a.notes {
    background-image: url(../images/notesicon-selected.svg);   
}

footer .icon.disabled {
    opacity: 0.5;
}

.cat-bar, .graph-bar {
    display: table;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    white-space: nowrap;
}

.cat-bar li, .graph-bar li {
    padding: 15px 22px;
    color: #fff;
    border-top: 5px solid transparent;
    display: table-cell;
}

.cat-bar li.active, .graph-bar li.active {
    border-color: rgba(255,255,255,0.5);
}

.workoutArea {
    position: relative;
    box-sizing: border-box;
    padding: 125px 22px 22px;
    /*background: #FFFBFB;*/
    min-height: calc(100vh - var(--ios-gap));
    font-size: 15px;
}

.calendarItem {
    position: relative;
    box-sizing: border-box;
}

#calendarArea .calendarItem {
    padding: 190px 22px 22px;
    min-height: calc(100vh - var(--ios-gap));
}

.workoutArea.largerHeader {
    padding-top: 250px;
}

.workoutArea.smallerHeader {
    padding-top: 180px;
}

#workoutDetails {
    padding-bottom: 85px;
}

body.timer-shown #workoutDetails {
    padding-bottom: 230px;
}

.workoutArea p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5rem;
}

.workoutArea h2 {
    margin-bottom: 6px;
}

.workoutItems { 
    list-style: none;
    margin: 0;
    margin: 22px 0 44px;
    padding: 0;
    font-size: 15px;
}

.workout, .workoutItem {
    position: relative;
    background: #fff;
    padding: 10px 15px;
    margin-bottom: 22px;
    
    -webkit-border-radius: 12px;
    border-radius: 12px;
    
    -webkit-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.12);
    -moz-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.12);
    box-shadow: 0px 3px 25px 0px rgba(235,147,147,.12);
}

.workoutItem {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.workoutNote {
    font-size: 14px;
    font-style: italic;
    margin: -11px 0 22px;
}

.row { 
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.workoutItem {
    padding: 15px 20px;
    opacity: 0.6;
}

.workoutItem.active, .workoutItem.perma-active {
    border: 3px solid #B10200;
    opacity: 1;
}

.workoutName {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    
    list-style: none;
    padding: 0 22px 0 0;
    margin: 0;
    line-height: 1.5;
}

.workoutSetsReps {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
    
    list-style: none;
    margin: 0;
    padding: 0;
}

.workoutTitle {
    padding-bottom: 11px;
    font-weight: bold;
}

.workoutSet {
    padding-bottom: 11px;
}

.workoutName li, .workoutSetsReps li {
    padding: 3px 0;
} 

.workoutItem .workoutSetsReps {
    font-weight: bold;
}

.workoutItem .workoutSetsReps li, .workoutItem .workoutName li {
    padding: 5px 0;
}



/* range slider */
.noUi-marker {
    background: #999!important;
    width: 1px!important;
}

.noUi-horizontal {
    margin-top: 110px;
    margin-bottom: 22px;
}

.noUi-pips-horizontal {
    top: -70px;
}

.noUi-marker-horizontal.noUi-marker {
    height: 10px;
    top: 12px;
}

.noUi-marker-horizontal.noUi-marker-large {
    height: 23px;
    top: 0;
}

.noUi-value-horizontal {
    margin-top: 10px;
    color: #363636;
}

.noUi-horizontal {
    height: 6px;
    background: #EFEFEF;
    border-color: #EFEFEF;
}

.noUi-handle {
    width: 25px!important;
    height: 25px!important;
    top: -11px!important;
    right: -11px!important;
    border: 3px solid #B10200;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.noUi-handle:after, .noUi-handle:before {
    display: none;
}

.personal-best-icon {
    position: absolute;
    top: -100px;
    height: 100px;
    margin-left: -11px;
}

.personal-best-icon::before {
    content: ' ';
    width: 20px;
    height: 20px;
    display: block;
    background: url(../images/personal-best-icon.svg) no-repeat center center;
    background-size: contain;
}

.personal-best-icon::after {
    content: ' ';
    position: absolute;
    top: 20px;
    height: 80px;
    border-left: 1px dashed #B10200;
}

#note-tab {
    position: absolute;
    top: 0;
    left: 10px;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    background: #545454;
    -webkit-border-top-left-radius: 10px;
    border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    border-top-right-radius: 10px;
    color: #fff;
    padding: 20px 50px 10px;
    display: none;
    cursor: pointer;
    
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

body.popup-shown:not(.notes) #note-tab {
    display: none!important;
}

input[type="search"] {
    display: block;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 0;
    background: #ddd;
    width: 100%;
    padding: 10px 10px 10px 34px;
    margin-bottom: 11px;
    background: #ddd url(../images/search.svg) no-repeat 5px center;
    background-size: 24px 24px;
}


#note-tab.center {
    left: 50%;
    -webkit-transform: translate(-50%, -100%);
    transform: translate(-50%, -100%);
}

#note-tab span.up-arrow {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: url(../images/up-arrow.svg) no-repeat center center;
    background-size: contain;
    width: 24px;
    height: 24px;
}

#personal-best-input {
    border: 0;
    border-bottom: 1px solid #000;
    display: inline-block;
    width: auto;
    background: 0;
    min-width: 35px;
}

.noUi-horizontal .noUi-tooltip {
    top: -100px;
    background: none;
    border: 0;
    font-weight: bold;
    color: #B10200;
    font-size: 24px;
}

.noUi-horizontal .noUi-tooltip small {
    font-size: 16px;
}

#pageLoading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff url(../images/loading.gif) no-repeat center center;
    background-size: 32px 32px;
    opacity: 0.75;
    z-index: 10000000000;
    display: none;
}

#achievment {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000000000;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(0,0,0,0.5);
    display: none;
}

#achievment.show {
    display: flex;
}

#achievmentContents {
    width: 220px;
    display: flex;
    align-items: center;
    height: 220px;
    border-radius: 50%;
    margin: 0 auto;
    
    background-color:#fff;
    animation: coronaFlare 1s ease-in-out infinite;
    animation-direction: alternate;
    box-shadow: 3px 0 0 10px rgba(177,2,0, 0.2), -3px 0 0 20px rgba(177,2,0, 0.2), 0 3px 0 30px rgba(177,2,0, 0.2), 0 -3px 0 35px rgba(177,2,0, 0.1);
}

#achievmentScale {
    margin: 0 auto;
    transform: scale(0);
}

#achievmentScale.in {
    animation: scaleIn 1.5s ease-in-out forwards;
}

#achievmentScale.out {
    animation: scaleOut 1s ease-in-out forwards;
}

#install, #setWeightType, .first-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000000;
    background: rgba(39,64,80,0.8);
    display: none;
}

#install .inner, #setWeightType .inner, .first-popup .inner {
    position: absolute;
    background: #fff;
    width: 310px;
    left: 50%;
    margin-left: -155px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-border-radius: 4px;
    border-radius: 4px;
    text-align: center;
    box-sizing: border-box;
}

#install .close, .first-popup .close {
    position: absolute;
    top: -34px;
    right: -4px;
    background: url(../images/close.svg) no-repeat right top;
    background-size: contain;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

#install .icon img  {
    width: 100%;
    height: auto;
    display: block;
}

#install .icon {
    width: 60px;
    margin: 32px auto;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.43);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.43);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.43);
    overflow: hidden;
}

#install .message, .first-popup .message {
    padding: 0 20px 32px;
}

#install .installMessage {
    background: #f9f9f9;
    padding: 15px;
    font-size: 15px;
    line-height: 27px;
}

#install .installMessage i {
    display: inline-block;
    width: 22px;
    height: 27px;
    background: url(../images/shareIcon.svg) no-repeat center center;
    background-size: contain;
    margin-bottom: -7px;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes scaleOut {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes coronaFlare {
  0% {
    box-shadow: 3px 0 0 10px rgba(177,2,0, 0.2), -5px 0 0 20px rgba(177,2,0, 0.2), 0 3px 0 30px rgba(177,2,0, 0.2), 0 -5px 0 35px rgba(177,2,0, 0.1);
  }
  100% {
    box-shadow: -5px -3px 0 10px rgba(177,2,0, 0.2), 3px -5px 0 20px rgba(177,2,0, 0.2), 5px -3px 0 30px rgba(177,2,0, 0.2), 3px 5px 0 35px rgba(177,2,0, 0.1);
  }
}

#trophy {
    width: 64px;
    height: 64px;
    background: url(../images/trophy.svg) no-repeat center center;
    margin: 0 auto;
    background-size: contain;
    
    -webkit-transform:
}

#repeatSound {
    padding: 11px 22px;
    margin-bottom: 10px;
}

.workout-options, .edition-options {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    overflow-y: scroll;
    height: calc(100vh - 250px);
    border-top: 1px solid #B10200;
    border-bottom: 1px solid #B10200;
    font-weight: bold;
}

.workout-selector {
    display: none;
}

.workout-options::-webkit-scrollbar, .edition-options::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
}

.workout-options::-webkit-scrollbar-thumb, .edition-options::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .3);
  box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.workout-options li, .edition-options li {
    padding: 10px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    cursor: pointer;
}

.workout-options li:hover, .edition-options li:hover {
    background-color: #B10200;
    color: #fff;
}

.workout-options .favourite, .edition-options .favourite {
    float: left;
    width: 24px;
    height: 24px;
    background: url(../images/star-border.svg) no-repeat center center;
    background-size: contain;
}

.workout-options .favourite.on, .edition-options .favourite.on {
    background-image: url(../images/star.svg);
}

.workoutButtons {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    text-align: right;
    display: none;
}

.workoutItem.active .workoutButtons {
    display: block;
}

.workoutItem.active .workoutButtons .timer {
    display: none;
}

.workoutItem.active .workoutButtons.d-none .tick {
    display: none;
}

.workoutItem.active .workoutButtons.d-none .timer {
    display: block;
}

.btn.challenge-btn, .btn.amrap-btn {
    margin-top: 11px;
    margin-bottom: -11px;
}

.btn.challenge-btn span, .btn.amrap-btn span {
    display: inline-block;
    width: 20px;
    height: 15px;
    background: url(../images/timer.svg) center center no-repeat;
    background-size: 17px 16px;
}

.viewnotes span {
    display: inline-block;
    width: 20px;
    height: 15px;
    background: url(../images/notes.svg) center center no-repeat;
    background-size: 17px 16px;
}

.jordan-note, .your-notes {
    text-align: left;
}

.your-notes em {
    font-size: 12px;
}

.your-notes {
    overflow-y: scroll;
    max-height: calc(100vh - 330px);
    list-style: none;
    padding: 0;
    margin: 0;
}

#notes {
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 100%;
}

.note {
    background: #eee;
    padding: 10px 15px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    margin: 10px -15px 0;
}

.your-notes ul { 
    list-style: none;
    padding: 0;
    margin: 0;
}

.your-notes li {
    padding: 10px 15px;
}

#note-text {
    border: 1px solid #808080;
    height: 40px;
    -webkit-transition: height 0.5s ease;
    transition: height 0.5s ease;
    padding: 10px 15px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

#note-text:focus {
    height: 80px;
}

.workoutButtons a {
    margin-left: 10px;
    width: 48px;
    height: 100%;
    display: inline-block;
    border: 0;
}

#challenge-timer, #timer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    -webkit-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    -moz-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    box-shadow: 0px 3px 25px 0px rgba(235,147,147,.25);
    -webkit-border-top-right-radius: 60px;
    -webkit-border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    border-top-left-radius: 60px;
    background: -moz-linear-gradient(180deg, rgba(177,2,0,1) 0%, rgba(216,53,52,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(177,2,0,1) 0%, rgba(216,53,52,1) 100%);
    background: linear-gradient(180deg, rgba(177,2,0,1) 0%, rgba(216,53,52,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b10200",endColorstr="#d83534",GradientType=1);
    color: #fff;
    padding: 22px;
    z-index: 10;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    
    -webkit-transition: transform 0.5s ease;
    transition: transform 0.7s ease;
}

#challenge-timer.shown, #timer.shown {
    -webkit-transform: translateY(-138px);
    transform: translateY(-138px);
}

#challenge-timer h2, #timer h2 {
    color: #fff;
    text-align: center;
}

#challenge-timer .timer-container a, #timer a {
    color: #000;
    text-transform: uppercase;
    border: 0;
}

#challenge-timer .completed a {
    color: #fff;
    border-bottom: 1px solid #fff;
}

#challenge-timer .timer-container, #timer .timer-container {
    text-align: center;
    color: #000;
    background: #fff;
    padding: 10px 15px;
    border-radius: 11px;
    width: 180px;
    margin: 10px auto;
    font-size: 14px;
}

#challenge-timer .timer, #timer .timer {
    font-size: 36px;
    padding-bottom: 11px;
}

.timer-input input {
    color: #000;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    border-bottom: 2px solid #000;
    -webkit-border-radius: 0;
    border-radius: 0;
    width: 100px;
}

.weight-type a {
    display: inline-block;
    margin: 0 10px;
    width: 32px;
    line-height: 32px;
    height: 32px;
    border: 0;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.weight-type .active {
    border: 1px solid #999!important;
}

.workoutButtons a.timer {
    background: #B10200 url(../images/timer.svg) no-repeat center center;
    background-size: 17px 16px;
}

.workoutButtons a.tick {
    background: #B10200 url(../images/check.svg) no-repeat center center;
    background-size: 20px 20px;
}

.timer .change {
    font-size: 12px;
}

.input-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.input-row label{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    line-height: 30px;
    font-weight: bold;
}

.switch {
    width: 125px;
    margin: 0 auto;
    line-height: 28px;
    font-weight: bold;
}

.switch .left, .switch label, .switch .right {
    float: left;
}

.switch::after {
    display: table;
    content: ' ';
    clear: both;
}

.switch input[type=checkbox]{
	height: 0;
	width: 0;
	visibility: hidden;
    position: absolute;
}

.switch label {
	cursor: pointer;
	text-indent: -9999px;
	width: 64px;
	height: 32px;
	background: #B10200;
	display: block;
	border-radius: 100px;
    margin: 0 10px;
	position: relative;
}

.switch label:after {
	content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

.switch input:checked + label {
	background: #B10200;
}

.switch input:checked + label:after {
	left: calc(100% - 4px);
	transform: translateX(-100%);
}

.switch label:active:after {
	width: 55px;
}

.input-row .input-item  {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 80px;
    flex: 0 0 80px;
    max-width: 80px;
    box-shadow: none;
    background: #B10200;
    color: #fff;
    text-align: center;
    padding: 5px;
    margin-left: auto;
    border: 0;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.input-row .input-item.input-stepper {
    padding: 0;
    margin-bottom: 22px;
}

.input-stepper button {
    width: 20px;
    height: 29px;
    color: #fff;
    border: 0;
    background: none;
    float: left;
}

.input-stepper input {
    box-shadow: none;
    text-align: center;
    border: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    width: calc(100% - 40px);
    float: left;
    padding: 5px;
    color: #fff;
    background: transparent;
    margin: 0;
}

.timerh1 {
    text-align: center;
    margin: 22px 0 66px;
    font-size: 40px;
    letter-spacing: 1px;
    font-weight: 400;
}

.week-1-set, .week-2-set, .week-3-set, .week-4-set {
    display: none;
}

.week-1 .week-1-set, .week-2 .week-2-set, .week-3 .week-3-set, .week-4 .week-4-set {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.week-1 .exercise.week-1-set, .week-2 .exercise.week-2-set, .week-3 .exercise.week-3-set, .week-4 .exercise.week-4-set { 
    display: block;
}

.skip-exercise {
    float: right;
}

.prev-exercise {
    float: left;
}

#workoutsView header .progress {
    cursor: pointer;
}

#workoutsView header.hideProgress .progress {
    display:none!important;
}

.progress {
    position: relative;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: #fff;
    border: 1px solid #fff;
    color: #545454;
    overflow: hidden;
    width: 300px;
    margin: 12px auto 0;
    font-size: 14px;
}

#workoutsView .progress-bar {
    cursor: pointer;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #B10200;
    color: #fff;
    overflow: hidden;
    z-index: 1;
}

.progress-bar span {
    width: 300px;
    text-align: center;
    display: block;
}

#progress {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ccc;
    padding: 15px;
    box-sizing: border-box;
    z-index: 100;
    text-align: center;
    display: none;
}

#progress.show {
    display: block;
}

#progress.show.reload .p, #progress.show.reload .p-bar {
    display: none;
}

#progress.show.reload .button {
    display: block;
}

.save-note {
    width: 24px;
    height: 24px;
    background: #B10200 url(../images/arrow_up.svg) no-repeat center center;
    background-size: 20px 20px;
    display: block;
    position: absolute;
    bottom: 5px;
    right: 5px;
    border: 0;
    border-radius: 50%;
}

.p-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    -webkit-transition: width .6s ease;
    -moz-transition: width .6s ease;
    -ms-transition: width .6s ease;
    transition: width .6s ease;
}

#manualsArea > .manual, #exercisesArea > .exercise, #manualsArea > .manual, #videosArea > .videoCourse, #howToVideosArea > .videoCourse {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 10px;
}

#manualsArea > .manual .box, #exercisesArea > .exercise .box, #videosArea > .videoCourse .box, #howToVideosArea > .videoCourse .box {
    display: block;
    border: 1px solid #d8d8d8;
    padding: 10px;
    height: 100%;
}

#manualsArea > .manual .img, #exercisesArea > .exercise .img, #videosArea > .videoCourse .img, #howToVideosArea > .videoCourse .img {
    display: block;
    width: 100%;
    height: 160px;
    background: no-repeat center center;
    background-size: contain;
}

#manualsArea > .manual .title, #exercisesArea > .exercise .title, #videosArea > .videoCourse .title, #howToVideosArea > .videoCourse .title {
    display: block;
    text-align: center;
    padding-top: 10px;
}

.category-area {
    margin-top: 125px;
    margin-bottom: 75px;
}

.cat-bar li, .graph-bar li {
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
    #manualsArea > .manual {
        -ms-flex: 0 0 33.33%;
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

@media only screen and (min-width: 1024px) {
    #manualsArea > .manual {
        -ms-flex: 0 0 25;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/*#videosArea {
    padding: 22px 44px;
    text-align: center;
}

#videosArea .videoCourse {
    padding: 0 0 14px;
    line-height: 1.5rem;
}*/

.search-cats {
    width: 32px;
    background: url(../images/search-white.svg) no-repeat center center;
    background-size: 24px 24px;
}

.cat-search-bar {
    position: fixed;
    bottom: 75px;
    left: 0;
    width: 100%;
    padding: 5px;
    background: #B10200;
    display: none;
}

.cat-search-bar input {
    margin-bottom: 0;
}

#editionArea {
    width: 1024px;
    max-width: calc(100vw - 20px);
    margin: 125px auto 0;
    overflow: hidden;
}

.print-link {
    display: none;
}

#toc_container {
    border: 1px solid #545454;
    padding: 11px;
    text-align: center;
    margin-bottom: 22px;
}

.toc_title {
    font-weight: bold;
    font-size: 1.25rem;
}

.toc_list, .toc_list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc_list {
    line-height: 1.5rem;
}

.toc_list > li > a {
    font-size: 1.25rem;
    color: #B10200;
    font-weight: bold;
}

.toc_list > li {
    padding-bottom: 15px;
}

.toc_list ul {
    margin: 11px 0;
}

.toc_list ul > li {
    margin-bottom: 6px;
}

#editionArea h2, #editionArea h3 {
    text-align: center;
}

#editionArea h2 {
    margin-bottom: 0;
}

#editionArea h3 {
    font-weight: normal;
}

#editionArea img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

#editionArea iframe {
    max-width: 100%;
    height: calc(((100vw - 22px) / 1080) * 608);
}

#editionArea table {
    text-align: left;
}

#editionArea table tr.header {
    color: #fff;
    background: #B10200;
}

#editionArea table th, #editionArea table td {
    padding: 5px 10px;
}

#editionArea table td {
    background: #d8d8d8;
}

.calendarHeader {
    position: relative;
    background: #B10200;
    border: 1px solid #545454;
    border-bottom: 0;
    text-align: center;
    padding: 11px 0;
}

.calendarDate {
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

/*.calendarDate span {
    font-size: 1rem;
    display: block;
}*/

.calendarDays, .calendarDates {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.calendarDays .col, .calendarDates .col {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 14.285%;
    flex: 0 0 14.285%;
    max-width: 14.285%;
    border-right: 1px solid #545454;
    border-bottom: 1px solid #545454;
    
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.calendarDates .col {
    cursor: pointer;
}

.calendarDates .col.disabled, .calendarDates .col.future {
    cursor: default;
}

.calendarDates .col.today {
    background-color: #ccc;
}

.calendarDates .col.completed {
    background: url(../images/close-red.svg) no-repeat center center;
    background-size: 54px 54px;
}

.calendarDates .col.not-completed {
    background: url(../images/circle.svg) no-repeat center center;
    background-size: 42px 42px;
}

.calendarDates .col {
    position: relative;
    font-size: .75rem;
    text-align: right;
    padding: 3px 5px 30px;
}

.calendarDates .col span {
    position: absolute;
    bottom: 2px;
    left: 3px;
    font-size: .875rem;
}

.calendarDays .col {
    background: #B10200;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

.month-note {
    height: 100px;
    -webkit-border-radius: 8px!important;
    border-radius: 8px!important;
    
    -webkit-transition: height 0.5s ease;
    -moz-transition: height 0.5s ease;
    -ms-transition: height 0.5s ease;
    transition: height 0.5s ease;
}

.month-note:focus {
    height: 250px;
}

.input-group {
    position: relative;
}

.input-group .btn {
    position: absolute;
    top: 0;
    right: 0;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    background: #B10200;
    min-width: 32px;
    padding: 13px 22px;
    font-weight: normal;
    text-transform: none;
    display: none;
    margin: 0;
    height: 100%;
}

.input-group.changed .btn {
    display: block;
}

.input-group.changed input, .input-group.changed textarea {
    padding-right: 100px;
}

.consistency-selection {
    width: 150px;
    margin: 0 auto;
}

.consistency-selection .tick {
    float: left;
    width: 49%;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #fff url(../images/circle.svg) no-repeat center center;
    background-size: 32px 32px;
    height: 50px;
    border: 1px solid #ccc;
}

.consistency-selection .cross {
    float: right;
    width: 49%;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #fff url(../images/close-red.svg) no-repeat center center;
    background-size: 32px 32px;
    height: 50px;
    border: 1px solid #ccc;
}

.consistency-selection .tick.active {
    background: #ccc url(../images/circle.svg) no-repeat center center;
    border-color: #ccc;
    background-size: 32px 32px;
}

.consistency-selection .cross.active {
    background: #ccc url(../images/close-red.svg) no-repeat center center;
    border-color: #ccc;
    background-size: 32px 32px;
}

#consistency-popup textarea {
    height: 100px;
}

.hiddenAudio {
    position: fixed;
    top: -100px;
    left: -1000000px;
}

#weightCalendarArea {
    width: 1024px;
    max-width: calc(100vw - 20px);
    margin: 160px auto 75px;
    overflow: hidden;
}

#calendarArea .calendarHeader {
    display: none;
}

#weightCalendarArea .calendar {
    position: relative;
    margin-bottom: 22px;
}

#weightCalendarArea .calendar .monthNote {
    display: none;
}

.calendarMonth {
    border-top: 1px solid #545454;
    border-left: 1px solid #545454;
}

.startgoalWeight {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    -webkit-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.1);
    -moz-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.1);
    box-shadow: 0px 3px 25px 0px rgba(235,147,147,.1);
    width: 320px;
    padding: 20px;
    margin: 0 auto 22px;
}

.startgoalWeight > div {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

#reset-bodyweight {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 22px;
}

.startgoalWeight strong {
    display: block;
    padding-bottom: 5px;
}

.switchViews {
    text-align: center;
    margin-bottom: 22px;
}

.switchViews a {
    display: inline-block;
    padding: 15px 30px;
    background: #fff;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    -webkit-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.1);
    -moz-box-shadow: 0px 3px 25px 0px rgba(235,147,147,.1);
    box-shadow: 0px 3px 25px 0px rgba(235,147,147,.1);
    text-transform: uppercase;
    border: 2px solid #fff;
    margin: 0 10px;
    font-weight: bold;
}

.switchViews a:hover {
    border: 2px solid #fff!important;
}

.switchViews a.active, .switchViews a.active:hover {
    border: 2px solid #545454!important;
}

#weightTrackerView .graph {
    margin-bottom: 22px;
}

#weightGraph {
    height: 300px;
    border: 1px solid #545454;
    padding: 10px;
}

#toggle-trendline {
    color: #A7261A;
    text-transform: uppercase;
}

 .weekTitle {
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 11px;
    font-size: 1.25rem;
    padding-left: 22px;
}

.weekOptions {
    list-style: none;
    margin: 0;
    padding: 0;
}

.weekOptions li {
    margin-bottom: 11px;
}

.weekOptions li a {
    display: block;
    border: 1px solid #aaa;
    color: #B10200;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.weekOptions li a:hover {
    outline: 2px solid #B10200;
    border-color: #B10200;
}

.weekOptions li a:hover span {
    opacity: 1;
}

.weekOptions li.complete a {
    background: #B10200;
    color: #fff;
    border-color: #B10200;
}

.weekOptions li a span {
    opacity: 0;
    float: right;
    text-transform: uppercase;
}

.weekOptions li.complete a span {
    font-size: .875rem;
    opacity: 1;
}

#workoutsArea {
    padding-bottom: 85px;
}

#next-exercise {
    position: relative;
    padding-right: 48px;
    text-transform: uppercase;
    font-weight: bold;
    color: #B10200;
    border: 0;
    float: right;
    text-decoration: none;
    font-size: .75rem;
    padding-top: 2px;
}

#next-exercise::before {
    content: ' ';
    position: absolute;
    right: 0;
    top: 0;
    width: 32px;
    height: 32px;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    background: #B10200 url(../images/arrow-deactive.svg) no-repeat center center;
    background-size: contain;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

#next-exercise.tick::before {
    background-image: url(../images/tick.svg);
    transform: none;
    background-size: 20px 20px;
}

#prev-exercise {
    position: relative;
    padding-left: 48px;
    text-transform: uppercase;
    font-weight: bold;
    color: #B10200;
    text-decoration: none;
    border: 0;
    float: left;
    font-size: .75rem;
    padding-top: 2px;
}

#prev-exercise::before {
    content: ' ';
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: #B10200 url(../images/arrow-deactive.svg) no-repeat center center;
    border: 1px solid #B10200;
    background-size: contain;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

#prev-exercise.disabled::before, #next-exercise.disabled::before {
    background: #fff url(../images/arrow-active.svg) no-repeat center center;
}

.weekTitle {
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 11px;
    font-size: 1.25rem;
    padding-left: 22px;
}

.weekOptions {
    list-style: none;
    margin: 0;
    padding: 0;
}

.weekOptions li {
    margin-bottom: 11px;
}

.weekOptions li a {
    display: block;
    border: 1px solid #aaa;
    color: #B10200;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.weekOptions li a:hover {
    outline: 2px solid #B10200;
    border-color: #B10200;
}

.weekOptions li a:hover span {
    opacity: 1;
}

.weekOptions li.complete a {
    background: #B10200;
    color: #fff;
    border-color: #B10200;
}

.weekOptions li a span {
    opacity: 0;
    float: right;
    text-transform: uppercase;
}

.weekOptions li.complete a span {
    font-size: .875rem;
    opacity: 1;
}

#personalBestNote {
    background: #B10200;
    color: #fff;
    padding: 22px 33px;
    -webkit-border-radius: 22px;
    border-radius: 22px;
    margin: 33px 22px 0;
    text-align: center;
    line-height: 1.7rem;
}

#history {
    padding: 15px;
    margin: 0 22px;
}

#history ul {
    list-style: none;
    padding: 0;
    margin: 0 -15px;
    line-height: 1.3rem;
}

#history ul li {
    border: 1px solid #545454;
    -webkit-border-radius: 22px;
    border-radius: 22px;
    padding: 15px;
    margin: 11px 0;
}

#history ul li span {
    float: right;
}

#exerciseRecordsArea {
    max-height: calc(100vh - 230px);
    overflow: auto;
}

#noteExercises {
    background: #fff;
    border-radius: 8px;
    padding: 6px 30px;
    position: absolute;
    top: 155px;
    left: 20px;
    width: calc(100% - 40px);
    border: 1px solid #ccc;
    font-size: .8rem;
}

@-webkit-keyframes right-spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(180deg);
    }
}

@keyframes right-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(180deg);
    }
}

@-webkit-keyframes left-spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes left-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes half-spin {
    from {
        -webkit-transform: rotate(180deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes half-spin {
    from {
        transform: rotate(180deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes quarter-spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes quarter-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes close-wrapper {
    to {
        clip: rect(auto, auto, auto, auto);
    }
}

@keyframes close-wrapper {
    to {
        clip: rect(auto, auto, auto, auto);
    }
}