html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    word-wrap: break-word;
}

a{
    text-decoration: none;
    color:#000;
}

sub, sup {
    /* Specified in % so that the sup/sup is the
       right size relative to the surrounding text */
    font-size: 75%;

    /* Zero out the line-height so that it doesn't
       interfere with the positioning that follows */
    line-height: 0;

    /* Where the magic happens: makes all browsers position
       the sup/sup properly, relative to the surrounding text */
    position: relative;

    /* Note that if you're using Eric Meyer's reset.css, this
       is already set and you can remove this rule */
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    width: 100%;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;/
    border-spacing: 0;
}

@font-face {
    font-family: 'Chalkduster';
    src: url('../fonts/Chalkduster.eot');
    src: url('../fonts/Chalkduster.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Chalkduster.woff2') format('woff2'),
    url('../fonts/Chalkduster.woff') format('woff'),
    url('../fonts/Chalkduster.ttf') format('truetype'),
    url('../fonts/Chalkduster.svg#Chalkduster') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'alarm-clock';
    src:url('../fonts/alarm-clock.ttf.woff') format('woff'),
    url('../fonts/alarm-clock.ttf.svg#alarm-clock') format('svg'),
    url('../fonts/alarm-clock.ttf.eot'),
    url('../fonts/alarm-clock.ttf.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

html {
    height: 100%;
    font-family: 'Fira Sans Condensed', sans-serif;
    font-weight: 200;
}

.background {
    background-color: #F1F3F7;
    height:100vh;
    width: 100vw;
}

.background.background-night {
    background-color: #3B3B3C;
    height:100vh;
    width: 100vw;
}

.background .displayWorkout .row .part{ color: #5F5F5F;  }

.background.background-night .displayWorkout .row .part{ color: #D1D5E6; }

.background .displayWorkout .row .part{  background-color: #fff;  }
.background.background-night .displayWorkout .row .part{  background-color: #323233;  }

#workoutDisplay {
    padding-bottom: 2vh;
}

#workoutDisplay #calendar, #workoutDisplay #pickBlock {
    cursor: pointer;
    display: inline-block;
    opacity: 0.4;
    vertical-align: middle;
    margin-left: 10px;
    -webkit-transition: opacity 0.15s ease-in-out;
    -o-transition: opacity 0.15s ease-in-out;
    -moz-transition: opacity 0.15s ease-in-out;
    transition: opacity 0.15s ease-in-out;
}

#workoutDisplay #calendar:hover, #workoutDisplay #pickBlock:hover {
    opacity: 1;
}

#workoutDisplay #calendar img, #workoutDisplay #pickBlock img {
    height: 4.5vh;
    width: auto;
}

#workoutDisplay .row {
    height: 65vh;
}

#workoutDisplay .row .part {
    height: 65vh;
    overflow: scroll;
    /*padding-bottom: 1vh;*/
}

.withoutLB .row .part {
    height: 87vh !important;
}

.background .colorMainLogo {
    fill: #4F4F4F !important;
}

.background.background-night .colorMainLogo {
    fill: #fff !important;
}

.displayWorkout {
    /*padding: 20px;*/
    /*padding: 2vh;*/
    padding: 2vh 3vw;
    /* background-color: #242A57; */
}

.header {
    position: relative;
    height: 8vh;
    vertical-align: middle;
}

.header .leftHeader {
    color: #fff;
    font-weight: bold;
    font-size: 4vh;
    float: left;
}

.header .rightHeader {
    float: right;
}

.header .rightHeader .hour {
    float: left;
    color:#fff;
    font-weight: 800;
    font-size: 5.8vh;
}

.header .rightHeader .name {
    float: left;
    color: #DCDCDC;
    font-size: 3.5vh;
    font-weight: 400;
    line-height: 7vh;
    margin-right: 1.5vh;
}

.header .leftHeader .borderBottom {
    background-color: #F25C62;
    margin-top: 0.1vh;
    height: 0.4vh;
    width: 14vh;
}

.header .rightHeader .boxInfo {
    float: left;
    margin-right: 3.5vh;
}

.header .rightHeader .boxInfo img{
    height: 6vh;
    border-radius: 3vh;
    width: auto;
}

.displayWorkout .row .part{
    font-size: 3.9vh;
}

.displayWorkout .column-card {
    padding: 2vh;
    overflow: auto; /* Allows scrolling */
    scrollbar-width: none; /* Hides scrollbar in Firefox */
    -ms-overflow-style: none; /* Hides scrollbar in Internet Explorer 10+ */
}

/* For Webkit browsers (Chrome, Safari) */
.displayWorkout .column-card::-webkit-scrollbar {
    display: none; /* Hides scrollbar in Chrome and Safari */
}

.displayWorkout h2 {
    font-weight:bold;
    font-size: 4.7vh;
    margin-bottom: 2vh;
    cursor: pointer;
}

.displayWorkout h2 {
    color:#fff !important;
}

.colours .displayWorkout .part1 h2 {
    color: #FF9CAB;
}
.colours .displayWorkout .part2 h2 {
    color: #6B96FF;
}
.colours .displayWorkout .part3 h2 {
    color: #57A6FD;
}
.colours .displayWorkout .part4 h2 {
    color: #01D6F3;
}

.blocksMenu {
    height: 6vh;
    margin-bottom: 3vh;
    background-color: #4A4A4A;
    position: relative;
    color: #ededed;
}

.onlyOneWod .blocksMenu {
    display: none;
}

.blocksMenu .lockIcon {
    cursor: pointer;
    width: 6vh;
    height: 6vh;
    background-color: #2A2A2A;
    float: left;
    line-height: 7vh;
    text-align: center;
}

.blocksMenu .lockIcon:hover {
    background-color: #111111;
}

.blocksMenu .lockIcon img {
    height: 2.7vh;
    width: auto;
}

.blocksMenu .blocksList {
    float: left;
    /*background-color: yellow;*/
    height: 100%;
    width: calc(100% - 6vh);
}

.blocksMenu .unlockstatus .icon-lock {
    display: none;
}

.blocksMenu .lockstatus .icon-unlock {
    display: none;
}

/*
.blocksMenu .unlockstatus:hover > .icon-lock {
    display: inline;
}

.blocksMenu .unlockstatus:hover > .icon-unlock {
    display: none;
}

.blocksMenu .lockstatus:hover > .icon-unlock {
    display: inline;
}

.blocksMenu .lockstatus:hover > .icon-lock {
    display: none;
}  */


.blocksMenu .blocksList li {
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    padding: 0 3vh;
    font-size: 2.6vh;
    height: 6vh;
    line-height: 6vh;
}

.blocksMenu .blocksList li.activeBlock {
    background-color: #111111;
    color: #fff;
}

.blocksMenu .blocksList li:hover {
    background-color: #000;
    color: #fff;
}

.col {
    /*padding-right: 1vh !important;*/
    /*padding-left: 1vh !important;*/
}
.wodPart a {
    color: #f25c62;
}

.noWorkoutToday {
    position: absolute;
    top: calc(50% - 20px);
    color: #FFF;
    font-size: 34px;
    font-weight: 900;
    font-style: italic;
    width: calc(100% - 2vh);
    text-align: center;
    display: none;
}

.notifMessage {
    padding: 10px 20px 10px 20px !important;
    line-height:25px;
    z-index: 999;
    position: relative;
    width: 100%;
    background-color: #D6FACF;
    color: #24B47E;
    font-weight: bold;
    font-size: 20px;
}

.background-night .notifMessage {
    background-color: #16191C;
    color: #fff;
}

.notifMessage .iconNotif {
    float: left;
    margin-right: 20px;
}

.notifMessage .iconDark {  display: none;  }
.notifMessage .iconLight {  display: inline-block;  }

.displayWorkout p {
    font-weight: 500;
    line-height: 4.5vh;
}

.displayWorkout p span {
    color: #fff;
}

.chalk p {
    font-family: 'Chalkduster';
    line-height: 40px;
    font-size: 27px;
}

.striveeLogo{
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.onlyLight{  display: block;  }
.background-night .onlyLight { display: none; }

.onlyDark{  display: none;  }
.background-night .onlyDark { display: block; }

/*
.background-night .notifMessage .iconDark {  display: inline-block;  }
.background-night .notifMessage .iconLight {  display: none;  } */

.buttonLight {
    position: absolute;
    z-index: 9999;
    right: 20px;
    top: 15px;
}

#changeLight {

    cursor: pointer;
    outline: none;
    border: none;
    width: 30px;
    height: 30px;
    background: url('../../img/darkMode-light.svg') no-repeat center;
    background-size: contain;
}

/* LEADERBOARD */

.itemLeader .imgItemLeader {
    float: left;
    margin-right: 12px;
    position: relative;
}

.itemLeader .profileImage {
    position: relative;
    height: 45px;
}

.itemLeader .imgItemLeader .rxIcon {
    position: absolute;
    right: -2px;
    bottom: 4px;
    height: 18px;
    width: 18px;
}
.partLeader .noRx .rxIcon{
    display: none;
}

.MrX, .FrX {
    padding-right: 10px;
}

.itemLeader .imgItemLeader .profileImage {
    background-size:cover;
    background-repeat:   no-repeat;
    background-position: center center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.itemLeader {
    display: table;
}

.itemLeader .contentItemLeader {
    display:table-cell;
    vertical-align:middle;
}

.itemLeader .nameItemLeader {
    font-size: 18px;
    color: #333333;
    margin-bottom: 4px;
}

.background-night .itemLeader .nameItemLeader {
    color:#fff;
}

.itemLeader .scoreItemLeader {
    color: #9D9D9D;
    font-size: 16px;
}
.background-night .itemLeader .scoreItemLeader {
    color: #DFE1E9;
}

.itemsLeader li {
    margin-bottom: 8px;
}

.itemsLeader li:last-child {
    margin-bottom: 0;
}

.divided2 {
    width: 50%;
    float: left;
}

.partLeader {
    display: table;
}

.itemsLeader {
    float: left;
}

.divided2 {
    justify-content:  space-between;
}

.averageLeaderboard {
    text-align: center;
    display:table-cell;
    vertical-align:middle;
    width: 1px;
    padding: 0 10px 0 10px;
    font-size: 30px;
    color:#2D2D2D;
    font-weight: 700;
}

.background-night .averageLeaderboard {
    color: #FFFFFF;
}

.averageLeaderboard span {
    font-size: 23px;
    color: #767676;
}

.background-night .averageLeaderboard span {
    color: #DFE1E9;
}

.itemPlacehoder .nameItemLeader {
    height: 15px;
    color: transparent !important;
    background-color: #F6F7FA;
    border-radius: 3px;
    margin-bottom: 4px;
    cursor: default;
}

.itemPlacehoder .scoreItemLeader {
    width: 70%;
    height: 15px;
    color: transparent !important;
    background-color: #F6F7FA;
    border-radius: 3px;
    cursor: default;
}

.background-night .itemPlacehoder .nameItemLeader {
    background-color: #33393C;
}

.background-night .itemPlacehoder .scoreItemLeader {
    background-color: #33393C;
}

/* TIMER */

.workoutWithTimer .column-card {
    background-color: transparent !important;
}

.workoutWithTimer {
    height: 60%;
    overflow: hidden;
    background: url('../img/bgBlackboard.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}


.workoutWithTimer p{
    font-family: 'Chalkduster';
    font-size: calc(1.5vw + 1.5vh);
    line-height: calc(1.5vw + 2vh);
}

.bgWOD {

}

#timer {
    background-color: #000;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#timer .timerDigits {
    user-select: none;
}

#timer .digits {
    width: 85%;
    padding-left: 30px;
    position: relative;
    float: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

#timer .brand {
    text-align: center;
    width: 15%;
    float: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    overflow: auto;
}

#timer .firstDigits {
    font-size: 21vw;
    line-height: 100%;
    color: #00F964;
    font-family: 'alarm-clock';
    /* float: left; */
    margin-right: 20px;
}

#timer .timerDigits {
    font-size: 21vw;
    color: #EA5847;
    font-family: 'alarm-clock';
}

#timer .powered {
    font-size: 3vmin;
    font-weight: 300;
    color: #fff;
}

#timer .powBrand {

}

#timer .striveeSVG {

}

#timer .striveeSVG svg {
    width: 150px;
    max-width: 90%;
}

.striveeLogo {
    display: none;
}

.splitter {
    width: 100%;
    height: 100%;
   /* display: flex; */
}

#seperator {
    cursor: col-resize;
    background: url(https://raw.githubusercontent.com/RickStrahl/jquery-resizable/master/assets/vsizegrip.png) center center no-repeat #535353;
    width: 100%;
    height: 10px;
    min-width: 10px;
}

#first {
    background-color: green;
    width: 100%;
    height: 60%;
    min-height: 10px;
}

#second {
    background-color: red;
    width: 100%;
    height: 40%;
    min-height: 10px;
}

#leaderboardPart2 {
    box-sizing: border-box;
    overflow: hidden;
}

#leaderboardPart2 .col .leaderboardCard {
    background-color: #323233;
    height: 18.7vh;
    position: relative;
}

#leaderboardPart2 .leaderboardCard .line {
    height: 33.333%;
    color: #fff;
}

#leaderboardPart2 .leaderboardCard .position {
    font-size: 2.9vh;
    font-weight: 500;
    text-align: center;
    float: left;
    height: 100%;
    padding-top: 1.5vh;
    width: 10%;
}

#leaderboardPart2 .leaderboardCard .profileImg, #leaderboardPartFull .leaderboardCard .profileImg{
    float: left;
}

#leaderboardPart2 .leaderboardCard .profileImg {
    margin-top: 0.7vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 5vh;
    width: 5vh;
}

#leaderboardPart2 .leaderboardCard .info {
    float: left;
    padding-left: 1vh;
    padding-top: 1.3vh;
    max-width: calc(90% - 6vh);
}

#leaderboardPart2 .leaderboardCard .info .name {
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    font-size: 1.9vh;
    margin-bottom: 0.1vh;
}

#leaderboardPart2 .leaderboardCard .info .scoreAthlete {
    font-size: 2.1vh;
    font-weight: 500;
    color: #E1E1E1;
}

#leaderboardPart2 .categoryLeaderboard {
    width: 41%;
    float: left;
    height: 100%;
    position: relative;
}

#leaderboardPart2 .avg {
    overflow: hidden;
    width: 9%;
    float: left;
    height: 100%;
    position: relative;
    background-color: #29292B;
    font-weight: 800;
    font-size: 2.9vh;
    color: #fff;
    text-align: center;
    padding-top: 6.5vh;
}

#leaderboardPart2 .avg .score {
    font-weight: 500;
    font-size: 2.5vh;
}

#leaderboardPart2 .MrX, #leaderboardPart2 .FrX {
    padding: 0;
}


.centerHeader {
    background-color: #2A2A2A;
    height: 6vh;
    font-size: 3vh;
    font-weight: 500;
    display: inline-block;
    line-height: 6vh;
    width: 30vh;
    position: absolute;
    left: calc(50% - 15vh);
}

.centerHeader li {
    display: inline;
}

.centerHeader ul a {
    text-align: center;
    display: inline-block;
    float: left;
    /*padding: 1.65vh 0 1.8vh 0;*/
    height: 100%;
    color: #FFFFFF;
    width: 50%;
}

.centerHeader ul a.active {
    background-color: #1B1B1B;
}

.centerHeader ul a:hover {
    background-color: #0C0C0C;
}

#leaderboardPartFull h3{
    font-size: 3.8vh;
    color:#A4A4A4;
    font-weight: 700;
    margin-bottom: 1vh;
}

#leaderboardPartFull .col .leaderboardCard {
    background-color: #323233;
    height: 72vh;
    position: relative;
    overflow: hidden;
}

.onlyOneWod #leaderboardPartFull .col .leaderboardCard {
    height: 81vh;
}

#leaderboardPartFull .leaderboardCard .thead-dark {
    font-weight: 500;
    font-size: 2.5vh;
    text-transform: uppercase;
    color: #fff;
}

#leaderboardPartFull .leaderboardCard th, #leaderboardPartFull .leaderboardCard td {
    border-bottom: none;
    border-top: none;
    color: #fff;
}

#leaderboardPartFull .leaderboardCard tbody {
    font-size: 2.5vh;
}

#leaderboardPartFull .leaderboardCard tr:nth-child(even) {background: #2F2F31}

#leaderboardPartFull .table thead td, #leaderboardPartFull .table thead th {
    padding: 1.6vh;
}

#leaderboardPartFull .table tbody td, #leaderboardPartFull .table tbody th {
    /*padding: 0.5vh 1.6vh;*/
    padding: 0 1.6vh;
    line-height: 6vh;
}

#leaderboardPartFull .table tbody th, #leaderboardPartFull .table tbody td.score {
    font-weight: 700;
}

#leaderboardPartFull .leaderboardCard .profileImg {
    margin-top: 1vh;
    margin-bottom: -1vh;
    margin-right: 2vh;
    height: 4.3vh;
    width: 4.3vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#controller {
    position: absolute;
    right: -5vh;
}

#controller #pause img {
    margin-top: 1vh;
    height: 4vh;
}

#pickBlockModal .modal-content{
    background-color: #191919 !important;
    -webkit-box-shadow: 0 0 50px 0 rgba(0,0,0,0.15);
    -moz-box-shadow: 0 0 50px 0 rgba(0,0,0,0.15);
    box-shadow: 0 0 50px 0 rgba(0,0,0,0.15);
}

#pickBlockModal .modal-header{
    border-bottom: none !important;
    color: #fff;
    font-family: "Fira Sans Condensed", sans-serif;
    font-size: 2.5vh;
    font-weight: bold;
}

#pickBlockModal .close {
    outline: none;
}

#pickBlockModal .warningPickBlock {
    font-size: 1.7vh;
    margin-top: 2vh;
    color: #F35C62;
}

#pickBlockModal .tipPickBlock {
    font-size: 1.7vh;
    margin-top: 1vh;
    color: #909090;
}

#pickBlockModal .tipPickBlock span {
    color: #D2D2D2;
}

#pickBlockModal #selectBlock {
    width: 100%;
    background-color: #393939;
    height: 5vh;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0 2vh;
    font-size: 1.8vh;
}

.modal-backdrop.show {
    opacity: 0.2;
}

#pickBlockModal .blocksChoices {
    color: #fff;

}

#pickBlockModal .blocksChoices li, #pickBlockModal .blocksChoices label {
    margin-bottom: 2.5vh;
    font-size: 2.5vh;
}

/* Customize the label (the container) */
.container {
    display: block;
    position: relative;
    padding-left: 4vh;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: background-color 0.15s ease-in-out;
    -moz-transition: background-color 0.15s ease-in-out;
    -o-transition: background-color 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 2.7vh;
    width: 2.7vh;
    background-color: #515151;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #747474;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #F35C62;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 1.1vh;
    top: 0.55vh;
    width: 0.5vh;
    height: 1.2vh;
    border: solid white;
    border-width: 0 0.2vh 0.2vh 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#workoutDisplay .row .focusedWODTimed {
    background-color: #1f1f1f;
}

#workoutDisplay .row .numberFocusedWod {
    display: none;
    position: relative;
}

#workoutDisplay .row .focusedWODTimed .numberFocusedWod {
    display: block;
    right: 5vh;
    top: 2.5vh;
    font-size: 20vh;
    font-weight: bold;
    position: absolute;
    opacity: 0.1;
    user-select: none;
    z-index: 0;
}

#leaderboardPart2 .avg .rxLabel, #leaderboardPart2 .avg .scaledLabel {
    position: absolute;
    right: -0.5vh;
    opacity: 0.17;
    font-size: 6vh;
    top: -1vh;
}

#leaderboardPart2 .avg .scaledLabel {
    right: -0.2vh;
}

#overlay{
    height:100%;
    width:100%;
    background: #191919;
    position:absolute;
    z-index: 10;
    left:0;
    top:0;
}


.spinner{
    width: 80px;
    height: 80px;

    border: 4px solid #454545;
    border-top:5px solid #F35C62;
    border-radius: 100%;

    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right: 0;
    margin: auto;

    animation: spin 1s infinite ease-in-out;
}

.spinner .edge {
    display:block;
    position: absolute;
    border-radius: 50%;
    width: 5px;
    height: 5px;
    background:#000;
}
.spinner .edge.edge-left
{
    background-color: #F35C62;
    top:0.41rem;
    left:0.40rem;
}
.spinner .edge.edge-right
{
    background-color: #F35C62;
    top:0.40rem;
    right:0.43rem;
}

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