@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700;800&display=swap');
section,body {
    font-family: 'Open Sans';
    font-weight:300;
    background-color: rgb(54, 54, 54);
}
html {
    overflow: -moz-scrollbars-vertical; 
    overflow-y: scroll;  
}
#main {
   max-width: 100vw;
   margin: 0 auto;
   overflow: hidden;
}
#maincontent {
    background-color: white;
}

.mainpage {
    padding: 4rem .4rem;
}
.planner {
    padding: 10px 40px;
    display:flex;
    flex-direction: column;
    width: auto;
}
.workout {
    padding: 20px 10px;
}
.topnav {
    width: 100%;
    display:flex;
    flex-direction: row;
    list-style: none;
    text-align:center;
    color: white;
    position: fixed;
    padding: 0px;
    background-color: rgb(54, 54, 54);
    z-index: 99999;
}
.topnav li {
    padding: 6px;
    background-color: #1b4c77;
    margin-right: 1px;
    font-size: .8rem;
    min-width: 4rem;
}
.topnav li:last-child {
    background-color: #919191;
}
.topnav li i {
    font-size: 1.4rem;
}
.img-fluid {
    max-height: 300px;
    max-width: 100%;
}
h1 {
    color: #1b4c77;
    font-size: 3rem;
    font-weight: 800;
    font-style: italic;
}
h3 {
    color: #888;
    font-weight: 700;
}
.workoutblock {
    padding: 0px;
    background-color: #eee;
}
.workoutblock .content {
    vertical-align: text-top;
    padding: 4px;
}
.workoutblock .content img {
    width: 20%;
    vertical-align: top;
}

.workoutblock iframe {
    width: 38%;
    height: 30vh;
}
.workout_sections {
    width: 100%;
    clear: both;
}
.pgi {
    font-size:20px;
    background-color: #ccc;
    padding: 20px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: #222;
    font-weight: 800;
    color: white;
    clear:both;
}
.pgi.active {
    background-color: #4ce456;
}
.pgi_td {
    text-align:center;
    background-color: #eee;
    border-radius: 0px;   
}
.pgi_td a {
    border-radius: 4px;
    line-height: 3rem;
}
.youtubepreview,.imagepreview  {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border: solid 4px white;
    max-width: 100%;
}
.block {
    background-color: rgb(240, 240, 240);
    margin-top: 30px;
    border-radius: 20px;
    padding: 20px;
}
.finish {
    position: fixed; /* or absolute */
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
}
.finish h1 {
    font-size: 8vw;
}
.loginbg {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background:url('/workout.jpg') no-repeat center center;
    background-position: bottom;
    overflow: hidden;
}
.form-label {
    margin: 0px;
}
.form-control {
    margin: 0px;
}
.deletebtn {
    float:right;
}
.btnaddworkout {
    clear:both;
    margin-bottom: 20px;
}
.addworkout {
    background-color: #eee;
    padding: 4px;
    text-align: center;
}
.addworkout a {
    text-decoration: none;
    color: black;
}
.newworkout {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    background-color: white;
    display: none;
}
.new_workout_block {
    padding: 10px;
}
input[type='checkbox'] {
    margin: 0px;
    padding: 0px;
    width: auto;
    display: inline-block;
}
.go {
    background-color: #3891ff !important;
}
.version, .version span {
    font-size:10px;
    line-height:1rem;
    background-color: white !important;
    color: black;
    text-align: left;
}

.workouts {
    border: solid 1px #ccc;
    padding: 4px;
}
.new {
    background-color: #eee;
    border-radius: 6px;
    padding: 12px;
    border: solid 1px #ccc;
    margin-bottom: 20px;
}
#workout_new_youtube_thumbnail {
    display: none;
}
.roundheader {
    background-color:#1b4c77;
    font-size: 1.8rem;
    font-style: italic;
    color: white;
    font-weight: 800;
    padding-left: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.challengeheader {
    padding: 4px;
    background-color: #000;
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}
.challengeheader span {
    float: right;
}
.challengeheader img {
    border-radius: 50%;
    border: solid 1px gray;
    width: 40px;
}
.complete {
    background-color: green;
}
@media (max-width: 800px ) { 
    .roundheader {
        font-size: 1.2rem;
    }
}
/* 
@media (min-width: 800px ) { 
    html {
        overflow: -moz-scrollbars-vertical; 
        overflow-y: scroll;
       
    }
    #maincontent, .new_workout_block {
        width: 800px;
        margin: 0 auto;
        border-left: solid 6px rgb(242, 242, 242);
        border-right: solid 6px rgb(242, 242, 242);
    }
    .topnav, .new_workout_block {
        width: 788px;
    }
    #maincontent {
        min-height: 100vh;
    }
} */