/********************************************/
            /* Elements */
/********************************************/

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

main {
    min-height: calc(100vh - 130px);
}

nav {
    min-height: 80px;
}

body {
    font-size: 1.3rem !important;
}

a.white-button {
    color: #fff !important;
}

article, figure, footer, header, nav, section {
    display: block
}

h1 {
    font-size: 2.2em
}

h2 {
    font-size: 1.6em;
}

body button {
    background-color: #00A9AC;
    border-color: #015E60;
    text-transform: uppercase;
}

/********************************************/
            /* Navigation */
/********************************************/

nav.navbar {
    background-color: #015E60 !important; 
    min-height: 80px; 
    position: sticky; 
    top: 0; 
    z-index: 100;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.navbar-dark .navbar-brand {
    font-size: 2.2rem;
    padding-left: 32px;
}

@media (max-width:1199px){
    .navbar-dark .navbar-brand {
        padding-left: 0px;
    }
}

.nav-link {
    font-size: 1.6rem;
    text-transform: uppercase;
    padding: 0.5rem 1.75rem !important;
}

.navbar-toggler:focus {
    outline: 2px solid #fff;
}

.dropdown-item {
    text-transform: uppercase;
    font-size: 1.3rem;
}

.dropdown-item:hover {
    background-color: #015E60 !important;
    border-color: #015E60 !important;
    color: #fff;
}

.dropdown-menu.show {
    background-color: #015E60;
    border-color: #015E60;
}

#log-out {
    font-size: 1.6rem; 
    text-transform: uppercase; 
    border: 0; 
    background-color: inherit;
    padding:0.5rem 1.75rem;
    color: #fff;
    cursor: pointer;
    border-bottom: 1px solid #015E60;
}

#log-out:hover {
    background-color: #01AAAD;
}

.nav-item {
    border-bottom: 1px solid #015E60;
}

.nav-item:hover {
    background-color: #01AAAD;
}

.nav-underline {
    border-bottom: 2px solid #FFFFFF;
}

/********************************************/
            /* Home */
/********************************************/

.welcome-post {
    padding: 12vh 4vh;
}

.welcome-post .col-md-6.column {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .welcome-post {
        padding: 4vh 2vh;
    }
    
    .welcome-post img {
        max-height: 550px;
        width: auto;
    }
    
}

.welcome-text {
    text-align: left;
}

.welcome-text h1{
    text-transform: uppercase;
}

.welcome-text a {
    display: inline-block;
    margin-top: 3vh;
    max-width: fit-content;
    background-color: #00A9AC;
    border: 1px solid #00A9AC;
    padding: 0.5rem 1.5rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    color: #fff !important;
}

.article-img img {
    width: 100%;
    height: auto;
}

.misc-info {
    margin-top: 9vh;
    padding: 9vh 2vh;
    background-color: #01AAAD;
    text-align: center;
}

.col-md-6.map-message a{
    color: #000 !important;
}

.row {
    padding-top: 2vh;
    padding-bottom: 2vh;
}

.footer {
    height: 50px;
    background-color: #015e60;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    bottom: 0;
    font-size: 1rem;
}

.success-message {
    color: #015e60;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding-top: 4vh;
}

.home-contact-button {
    color: #FFFFFF;
    background-color: #01AAAD;
    margin-top: 1vh; 
    width: 100%; 
    font-weight: 500;
}

.home-popup-overlay {
    display: block;
    background-color: rgb(204, 204, 204);
    position: fixed;
    bottom: 0px;
    right: 20px;
    width: 300px;
    height: 100px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    text-align: center;
    padding: 20px;
    padding-left: 50px;
    padding-right: 50px;
}

@media (max-width: 767px) {
    .home-popup-overlay{
        display: none;
    }
    /* CSS that should be displayed if width is equal to or less than 800px goes here */
}

/********************************************/
            /* Exercises */
/********************************************/

.exercise-label {
    color: black;
    text-align: left;
    padding-top: 10px;
}

.exercise-top-section {
    padding-top: 2vh;
    /* border: 1px solid #000; */
}

.exercise-filter {
    text-align: right;
    /* border: 1px solid #000; */
}

.video {
    padding-bottom: 20px;
}

.grid-image {
    width:320px;
    position: relative;
    margin: auto;
}

.exercise-clickable a:hover {
    text-decoration: none;
}

.exercise-parent {
    width:320px;
	height:180px;
}

.default-thumbnail-styling {
    background: #079DA2;
    box-shadow: -1px -24px 27px -1px rgba(0,0,0,0.13) inset;
    -webkit-box-shadow: -1px -24px 27px -1px rgba(0,0,0,0.13) inset;
    -moz-box-shadow: -1px -24px 27px -1px rgba(0,0,0,0.13) inset;
    display:table-cell;
    text-align: center;
    vertical-align: middle;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.default-thumbnail-medium {
    padding-left: 40px;
    padding-right: 40px;
    font-size: 24px;
}

.default-thumbnail-styling-small {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 13px;
}

.default-thumbnail-styling text {
    color: rgba(255, 255, 255, 0.8);
}

.exercise-parent-auto-generated text {
    color: rgba(255, 255, 255, 0.8);
}

.exercise-child {
    width:320px;
	height:180px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 15%;
}

.exercise-child:hover {
    opacity: 100%;
    transition: all 300ms ease;
    border:5px solid #015e60
}

.exercise-thumbnail-time-overlay {
    width: auto;
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    border-top-left-radius: 15px;
}

.exercise-clickable {
    width: 320px;
}


/********************************************/
            /* Dropdown */
/********************************************/

/*Label above dropdown*/
span.msg, span.choose {
    color: #555;
    padding: 5px 0 10px;
    display: inherit
}

.option-dropdown {
    min-width: 200px;
    display: inline-block;
    background-color: #FFFFFF;
    border-radius: 2px;
    box-shadow: 0 0 2px rgb(204, 204, 204);
    transition: all .5s ease;
    position: relative;
    font-size: 14px;
    color: #474747;
    height: auto;
    text-align: left
}

.option-dropdown .select {
    cursor: pointer;
    display: block;
    padding: 10px;
    text-align: left;
}

.option-dropdown .select > i {
    font-size: 13px;
    color: #888888;
    cursor: pointer;
    transition: all .3s ease-in-out;
    float: right;
    line-height: 20px
}

.option-dropdown:hover {
    box-shadow: 0 0 4px rgb(204, 204, 204)
}

.option-dropdown:active {
    background-color: #f8f8f8
}

.option-dropdown .option-dropdown-menu {
    position: absolute;
    background-color: #fff;
    width: 100%;
    left: 0;
    margin-top: 1px;
    box-shadow: 0 1px 2px rgb(204, 204, 204);
    border-radius: 0 1px 2px 2px;
    overflow: hidden;
    display: none;
    max-height: 144px;
    overflow-y: auto;
    z-index: 9
}

.option-dropdown .option-dropdown-menu li {
    padding: 10px;
    transition: all .2s ease-in-out;
    cursor: pointer
} 

.option-dropdown .option-dropdown-menu {
    padding: 0;
    list-style: none
}

.option-dropdown .option-dropdown-menu li:hover {
    background-color: #f2f2f2
}

.option-dropdown .option-dropdown-menu li:active {
    background-color: #e2e2e2
}

.option-dropdown-arrow {
    float: right;
    width: 0.6rem;
    height: 0.6rem;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    border-bottom-left-radius: 2px;

    transform: rotate(45deg) translate(50%, 0%);
    transform-origin: center center;
    transition: transform ease-in-out 100ms
}

/********************************************/
                /* Player */
/********************************************/

/*Video Player*/
.player-video-div {
    text-align: center;
    text-align: center;
    justify-content: center;
}

/*Above Video Player*/
.player-top-functions {
    display: flex;
    align-self: center;
    margin: 0 auto;    
}

.player-back-button-div {
    padding-top: 16px;
    display:block;
    text-align:left;
}

.player-video-count-div {
    padding-top: 16px;
    display:block;
    text-align:center;
}

.player-up-next-div {
    padding-top: 8px;
    display:block;
    text-align:right;
}

.player-back-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px; 
    margin-bottom: 4px;
}

.player-video-count-text {
    color: #000000;
}

.player-next-video-button {
    cursor: pointer;
    width: auto;
    padding: 5px;
    align-self: center;
    border-radius: 5px;
}

.player-next-video-button-active {
    background-color: #00A9AC;
}

.player-next-video-text {
    color: #FFFFFF;
    display: inline-block;
}

.player-next-video-arrow {
    align-items: center;
    border: solid #fff;
    border-width: 3px 3px 0px 0px;
    display: inline-block;
    padding: 5px;
    margin-bottom: 5px;
    transform: rotate(45deg) translate(50%, 0%);
    transform-origin: center center;
    transition: transform ease-in-out 100ms;
}


/*Media Controls*/

.player-media-controls-div {
    display: block;
    text-align: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.player-media-control-icon {
    width: 45px;
    height: 45px;
    margin-left: 4vw;
    margin-right: 4vw;
    cursor: pointer;
}

.player-play-pause-icon {
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.hidden {
	display: none;
}

.player-info-div {
    border-top: grey 1px solid;
    border-bottom: grey 1px solid;
    padding-top: 2vh;
    padding-bottom: 1vh;
    margin-bottom: 2vh;
}

.player-dropdown {
    text-align: center;
}

.player-dropdown .row {
    margin: 0;
}

.player-dropdow-header {
    background-color: #015e60;
    width: 100%;
    padding-top: 1.5vh;
}

.player-dropdown-image {
    width: 160px;
    height: 90px;
}

.player-dropdown-arrow {
    align-items: center;
    border: solid #fff;
    border-width: 0px 0px 5px 5px;
    display: inline-block;
    padding: 7px;
    transform: rotate(45deg) translate(50%, 0%);
    transform-origin: center center;
    transition: transform ease-in-out 100ms;
}

.player-dropdown-content  {
    border:1px solid rgba(1, 94, 96, 1)
}

.player-dropdown-content .row:hover {
    background-color: rgba(1, 94, 96, 0.5)
}

.player-dropdown-current {
    background-color: rgba(1, 170, 173, 0.6)
}

/********************************************/
                /* Login */
/********************************************/

.login {
    padding-top: 3vh;
    padding-bottom: 3vh;
    max-width: 400px;
    margin: 0 auto;
}

.img-login {
    text-align: center;
} 

.img-login img {
    max-width: 100px;
    height: auto;
}

.login-form input {
    border: 2px solid #6B6B6B;
}

.login-form input:focus {
    background-color: #f8f9fa;
    border-color: #CCCCCC;
    border-radius: 0.25rem;
    box-shadow: 0 0 0 0.2rem rgba(1, 94, 96, 0.5);
}

.login-button {
    width: 100%;
    background-color: #00A9AC !important;
    border-color: #00A9AC !important;
    text-transform: uppercase;
}

.error-message {
    color: red;
    font-weight: bolder;
    text-align: center;
    text-transform: uppercase;
    padding: 2vh 2vh;
}

.mb-3.form-check {
    text-align: center;
}

#remember-box {
    zoom: 1.5
}

#remember-box:focus {
    box-shadow: 0 0 0 0.05rem rgba(1, 94, 96, 1);
    border-radius: 0.25rem;
}

#remember-box:checked {
    accent-color: #015e60;
}

.login-error-icon {
    vertical-align: text-bottom;
}

/********************************************/
        /* Community */
/********************************************/

.row .gy-5 {
    margin-top: 5vh;
}

.community-content-frame {
    border: 1px solid #9B9B9B;
    margin-bottom: 10px;
}

.community-header {
    padding-left: 8px;
    padding-top: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #808080;
    margin-bottom: 1vh;
}

.community-header-info p {
    text-align: center;
    font-size: large;
}

.community-post-content {
    width:90%;
    margin: 0 auto;
    padding-top: 0.5vh;
    border-bottom: 1px solid #808080;
}

.community-post-content p {
    font-size: large;
}

.community-post-content-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    width:100%;
    height: 30vh;
    outline: 1px solid #9B9B9B;
}

.community-post-content-frame img {
    display: block;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
    transition:transform 0.25s ease;
}

/* .community-post-content-frame img:hover {
    transform:scale(1.5);
} */

.community-post-footer {
    /*padding-top: 1vw;*/
    /*text-align: right;*/
    font-size: medium;
}

.community-zoom-button {
    width: auto;
    padding: 5px;
    align-self: center;
    background-color: #00A9AC;
    text-align: center;
    border-radius: 5px;
    font-size: 20px;
}

.community-zoom-button h5 {
    color: #FFFFFF;
}

.community-leaderboard-roopuImage {
    height: 90px;
    width: auto;
}

.community-rohe {
    padding-top: 1px;
    padding-bottom: 1px;
}

.community-leaderboard-data-box {
    display: inline-block;
    vertical-align: middle;

}

/********************************************/
/* History */
/********************************************/

/*Both*/
.history-container {
    display: flex;
    flex-direction: column;
}

.history-top-section {
    padding-top: 2vh;
}

.history-content {
    border: 1px solid #000;
}

/****************/
/* Individual */
/****************/

.history-table-header-individual {
    background: #015E60;
}

.history-table-header-individual th {
    color: #FFF;
}


.history-view-more-container {
    text-align: center;
}

/****************/
/* Search Bar */
/****************/

.history-search-container {
    display: flex;
    justify-content: center;
    margin: 0px 0px 30px 0px;
    font-size: 28px;
}

.history-search-box {
    display: flex;
    align-items: center;
    border-radius: 25px;
    border: 2px solid black;
    width: fit-content;
}

#history-search {
    background: none;
    border: none;
    padding: 0px;
}

textarea:focus, input:focus {
    outline: none;
}

/****************/
/* All */
/****************/

.collapsible {
    display: inline;
    text-transform: none;
    background-color: #E3E3E3;
    cursor: pointer;
    padding: 15px 15px 15px 0px;
    width: 100%;
    border: 1px solid;
    outline: none;
}

.history-active {
    color: white;
    border: 1px solid;
    background-color: #015E60;
}

.collapsible:hover {
    color: white;
    border: 1px solid;
    background-color: #015E60;
}

.history-user-info {  
    text-align: left;
    display: flex;
    float: left;
    align-items: center;
}

.history-last-recorded {
    text-align: right;
    float: right;
}

.history-icon {
    padding: 0px 24px 0px 24px;
}

.material-icons.md-36 { 
    font-size: 36px; 
}

.history-content-container {
    display: flex;
    flex-direction: column;
    padding: 0 0px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: white;
    border: none;
}

.history-logs {
    padding-bottom: 50px;
}

/****************/
/* Arrow Icon */
/****************/

:not(.history-active) .history-dropdown-icon {
    float: right;
    margin-left: 32px;
    border: solid #000000;
    border-width: 0px 0px 4px 4px;
    
    padding: 5px;
    transform-origin: center center;
    transform: rotate(45deg) translate(50%, 50%);
    transition: transform ease-in-out 100ms;
}

.history-active .history-dropdown-icon {
    float: right;
    margin-left: 32px;
    border: solid #FFFFFF;
    border-width: 0px 0px 4px 4px;
    
    padding: 5px;
    transform-origin: center center;
    transform: rotate(-45deg) translate(-50%, 0%);
    transition: transform ease-in-out 100ms;
}

.collapsible:after:hover {
    color: white;
}

/****************/
/* Table */
/****************/

table {
    font-size: 20px;
    width: 100%;
}

td, th {    
    text-align: left;    
    padding: 3px 30px 3px 30px;
}

th {
    border-bottom: 1px solid;
    font-weight: normal !important;
}

tr:nth-child(even) {
    background-color: #E3E3E3;
}

/****************/
/* Table */
/****************/

.history-entry-count {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 22px;
}

.view-more {
    background: none;
    border: none;
    border-bottom: solid 1px;
    border-color: black;
    text-transform: none;
    font-size: 18px;    
    cursor: pointer;
    outline: none;
}

.view-more-individual {
    border-left: 1px solid;
    border-right: 1px solid;
    outline: none;
}

.history-view-more {
    margin-top: 20px;
    padding: 10px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 10px;
    color: white;
    border: none;
}