body{
    font-family: 'Rajdhani', Helvetica, Arial, sans-serif;
    background-color: rgb(255, 255, 255);
}
.loading-div{
    position: relative;
    z-index: 999;
    width: 100%;
    height: 100%;
}
.exercise-menu{
    width:calc( 100% - 35px);
    padding: 0px;
    margin: 3px 0px 0px 0px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    background-color:rgb(255, 255, 255);
}
.exercise-menu-item{
    width: 25px;
    padding: 3px;
    margin: 3px 3px 0px 0px;
    position: relative;
    display: inline-block;
    background-color: rgb(230, 230, 230);

    color: rgb(255, 255, 255);
    text-align: right;
    font-weight: bold;
    font-size: 0.9em;
}
.exercise-menu-item > a{
    display: inline-block;
    width: 100%;
    cursor: pointer;
}
.exercise-menu-item.item-fwd{
    float:right;
    font-size: 1.1em;
    margin-right: 0px;
}
.exercise-menu-item.item-selected{
    padding-bottom: 6px;
    background-color: rgb(210, 210, 210);
    color: black;
}
.exercise-menu-item-title{
    display: none;
    position: fixed;
    margin-top: 8px;
    margin-left: 30px;
    padding: 3px 5px;
    z-index: 999;
    color: white;
    font-size: 0.8em;
    text-transform: uppercase;
    background-color: rgb(180, 180, 180);
}
.exercise-menu-item:hover {
    background-color:rgb(180, 180, 180);
    color:white;
}
.exercise-menu-item:hover>.exercise-menu-item-title{
    display: block;
}
.exercise-menu-item.item-selected:hover {
    background-color: rgb(210, 210, 210);
    color:black;
}

.exercise-title{
    background-color: rgb(210, 210, 210);
    padding: 25px 10px 10px 10px;

    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.exercise-body{
    width: 100%;
    display: inline-block;
    background-color: rgb(230, 230, 230);
}

.author-menu{
    width: 20%;
    position: absolute;
    text-transform: uppercase;
}
.author-menu-item{
    background-color:rgb(220, 220, 220);    
    color: white;
    font-weight: bold;
    font-size: 0.8em;
    height: 30px;
}
.author-menu-item>a{
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.author-menu-item:hover {
    background-color:rgb(200, 200, 200);
    color:rgb(255, 255, 255);
}
.author-menu-item.item-selected{
    background-color: rgb(210, 210, 210);
    color: rgb(0, 0, 0);
}
.author-menu-item.item-selected:hover {
    background-color:rgb(200, 200, 200);
    color:rgb(0, 0, 0);
}
.author-menu-item>a{
    display: inline-block;
    width: 90%;
    padding: 8px;
    cursor: pointer;
}
.author-main-video{
    margin: 30px 5%;
}
.author-main-video>div:first-of-type{
    width: 60%;
    margin: auto;
    display: block;
    position: relative;
    background: rgb(230, 230, 230);
}
.author-main-video>div:first-of-type::before {
    display: block;
    content: "";
    padding-top: 56.25%;
}
.author-main-video iframe{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.author-main-video.fullscreen{
    margin:0%;
}
.author-main-video.fullscreen > div:first-of-type{
    width: 100%;
    height: 100%;
    margin: 0px;
}
.author-main-video.fullscreen > .video-controls{
    position: fixed;
    z-index: 2;
    left: 0px;
    bottom: 0px;
    width: 100%;
}
.author-main-video>.video-controls>.video-controls-button.progress-bar{
    width: calc(100% - 155px);
}




div.content-single-video{
    margin: 30px 5%;
    width: auto;
}
.content-single-video>div:first-of-type{
    width: 60%;
    margin: auto;
    display: block;
    position: relative;
    background: rgb(200, 200, 200);
}
.content-single-video>div:first-of-type::before {
    display: block;
    content: "";
    padding-top: 56.25%;
}
.content-single-video iframe{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.content-single-video.fullscreen{
    margin:0%;
}
.content-single-video.fullscreen > div:first-of-type{
    width: 100%;
    height: 100%;
    margin: 0px;
}
.content-single-video.fullscreen > .video-controls{
    position: fixed;
    z-index: 2;
    left: 0px;
    bottom: 0px;
    width: 100%;
}
.content-single-video>.video-controls>.video-controls-button.progress-bar{
    width: calc(100% - 152px);
}
.video-controls{
    width: 60%;
    height: 20px;
    margin: auto;
    margin-top: 0px;
    padding: 2px 0px;
    display: block;
    background-color: rgb(200, 200, 200);
    text-align: left;
}
.video-controls-button{
    margin: 0px 6px;
    cursor: pointer;
}
.video-controls-button>img{
    height: 70%;
    top: -15%;
    position: relative;
}
.video-controls-button.progress-bar{
    height: 100%;
    display: inline-block;
    width: calc(100% - 122px);
    background: rgba(255,255,255,0.2);
    position: relative;
    margin: 0px;
    margin-left: 2px;
}
.video-controls-button.progress-bar>.current-progress{
    width: 0%;
    height: 100%;
    position: relative;
    background: white;
}

.video-controls-button.progress-bar>.current-time-hover{
    position: absolute;
    padding: 2px;
    top: 0px;
    left:0px;
    width: max-content;
    color: white;
    font-size: 0.8em;
    font-family: 'Roboto', sans-serif;
    background-color: rgba(0,0,0,0.5);
    display: none;
}
/****************/
/*** SECTIONS ***/
/****************/
.author-content-section{
    width: 100%;
    display: inline-block;
    padding-bottom: 10px;
}
.author-content-section.section-text{
    position: relative;
    display: inline-block;
    background-color: rgb(237, 237, 237);
}
.author-content-section.section-single-video{    
    background-color: rgb(230, 230, 230);
}
.author-content-section.section-image-grid,
.author-content-section.section-image-line{
    text-align: center;
    background-color: rgb(220, 220, 220);
}
.author-content-section.section-image-grid>*,
.author-content-section.section-image-line>*{
    text-align: left;
}
.section-title{
    width: 54%;
    margin: 2em auto 0% auto;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}
.section-subtitle{
    width: 54%;
    margin: 0% auto 1em auto;
    font-size: 0.8em;
    font-weight: normal;
    text-transform: none;
}
.section-content{
    width: 54%;
    margin: 0.5em auto;
    font-size: 0.8em;
    font-weight: bold;
}
.section-content-link,.section-content-link:focus{
    outline : none;
    color: rgb(180, 180, 180);
    width: 54%;
    margin: 0.5em auto;
    font-size: 0.8em;
    font-weight: bold;
    display: inline-block;
}
.section-content-link:hover{
    cursor:pointer;
    color: rgb(160, 160, 160);
}
.section-content-more{
    color: rgb(210, 210, 210);
    width: 54%;
    margin: 0.5em auto;
    font-size: 0.8em;
    font-weight: bold;
    display: inline-block;
}
.section-content-more:hover{
    cursor:pointer;
    color: rgb(200, 200, 200);
}
.author-content-section.section-text{
    text-align: center;
    padding-top: 2em;
}
.author-content-section.section-text>*{
    text-align: left;
}
.author-content-section.section-text > p{
    overflow: auto;
    white-space: pre-line;
}
.author-content-section.section-text > p.collapsible{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*********************/
/*** Image Gallery ***/
/*********************/

/*Grid gallery*/
.section-content.content-gallery-grid,.section-content.content-gallery-videos{
    text-align: center;
    position: relative;
    width: 54%;
    margin:auto;
}
.content-gallery-grid.collapsible,.content-gallery-videos.collapsible{
    overflow: hidden;
    white-space: nowrap;
}

.content-gallery-grid>img.gallery-grid-element{
    width: auto;
    max-width: 100%;
    margin: 10px;
    vertical-align: middle;
}
/*Video grid gallery*/
.gallery-grid-element{
    width: 24%;
    display: inline-block;
    position: relative;
    padding: 0px;
    margin: 0.5%;
}
.gallery-grid-element > *{
    width: 100%;
}
.section-videos{
    text-align: center;
    background-color: rgb(230, 230, 230);
}
.section-videos>*{
    text-align: left;
}

.content-gallery-videos>.gallery-grid-element{
    width: 49%;
    display: inline-block;
    position: relative;
    padding: 0px;
}
.content-gallery-videos>.gallery-grid-element:nth-child(even){
    margin:1% 0% 1% 1%;
}
.content-gallery-videos>.gallery-grid-element:nth-child(odd){
    margin: 1%1% 1% 0%;
}
.gallery-grid-element>.vimeo-video:first-of-type{
    width: 100%;
    margin: auto;
    display: block;
    position: relative;
    background: rgb(220, 220, 220);
}
.gallery-grid-element>.vimeo-video:first-of-type::before {
    display: block;
    content: "";
    padding-top: 56.25%;
}
.gallery-grid-element>.vimeo-video iframe{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/*Line gallery*/
.content-gallery-line,.content-gallery-line>.scrollable{
    position: relative;
    width: 100%;
    margin:0%;
    overflow: hidden;
    white-space: nowrap;
}
.content-gallery-line,.content-gallery-line>.scrollable:before{
    content: ' ';
    display: inline-block;
    vertical-align: middle;  /* vertical alignment of the inline element */
    height: 100%;
}
.content-gallery-line.collapsible{
    display: none;
}
.gallery-line-element{
    height: 100%;
    display: inline-block;
    position: relative;
    padding: 0px;
    margin: 0px;
    margin-right: 0.25%;
}
.gallery-line-element > *{
    height: 100%;
}
.gallery-line-arrow{
    position: absolute;
    z-index: 2;
    height: 100%;
    display: table;
    padding: 5px;
    cursor: pointer;
}
.gallery-line-arrow.hidden{
    visibility: hidden;
}
.gallery-line-arrow.arrow-left{
    top: 0px;
    left: 0px;
    padding-right: 15px;
}
.gallery-line-arrow.arrow-right{
    top: 0px;
    right: 0px;
    padding-left: 15px;
}

.gallery-line-arrow.arrow-left:hover{
    /* background: linear-gradient(90deg,rgb(187, 200, 206), transparent); */
    animation: gradient 0.2s ease;
    -webkit-animation: gradient 0.2s ease;
    -moz-animation: gradient 0.2s ease;
    -o-animation: gradient 0.2s ease;
}
.gallery-line-arrow.arrow-right:hover{
    /* background: linear-gradient(90deg, transparent,rgb(187, 200, 206)); */
    animation: gradient 0.2s ease;
    -webkit-animation: gradient 0.2s ease;
    -moz-animation: gradient 0.2s ease;
    -o-animation: gradient 0.2s ease;
}

.gallery-line-arrow>*{
    display: table-cell;
    vertical-align: middle;
    opacity: 0.5;
    font-size: 2em;
    text-shadow: 1px 1px 2px grey;
}
.gallery-line-arrow:hover>*{
    opacity: 1;
    font-size: 2.1em;
}

/*** MIXED SECTION ***/
.section-mixed{
    text-align: center;
    background-color: rgb(225, 225, 225);
}
.section-mixed>*{
    text-align: left;
}
.subsection-content.content-gallery-grid{
    text-align: center;
}
.section-mixed>.collapsible{
    display:none;
}
.section-mixed>.collapsible:first-of-type{
    display:block;
}
.section-content > .subsection-content{
    width: 100%;
}

/*** GENERAL ***/
.noselect {
    -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 */
  }

/*** ANIMATIONS ***/
@keyframes gradient {
	0% {
		opacity: 0.5;
	}
	100% {
	    opacity: 1;
	}
}

@media only screen and (max-width: 968px) {
    
    .content-gallery-grid>img.gallery-grid-element{
        margin: 5px;
    }
    .author-main-video>.video-controls>.video-controls-button.progress-bar{
        width: calc(100% - 150px);
    }
    .content-single-video>.video-controls>.video-controls-button.progress-bar{
        width: calc(100% - 147px);
    }
    .video-controls-button.progress-bar{
        width: calc(100% - 114px);
    }

    .video-controls-button>img {
      height: 65%; 
    }
    .gallery-grid-element .video-controls-button>img {
        height: 60%; 
    }
}

@media only screen and (max-width: 400px) {
    .author-main-video>.video-controls>.video-controls-button.progress-bar{
        width: calc(100% - 125px);
    }
    .content-single-video>.video-controls>.video-controls-button.progress-bar{
        width: calc(100% - 124px);
    }
    .video-controls-button.progress-bar{
        width: calc(100% - 124px);
    }
    .video-controls-button {
        margin: 0px 4px;
      }
    .video-controls-button>img {
      height: 60%; 
    }
    .gallery-grid-element .video-controls-button>img {
        height: 50%; 
    }
}