body{
    margin: 0;
}

.navbar{
    background-color: #FFF!important;
    border-bottom: #242335 1px solid;
    height: 75px;
}

.navbar-brand img{
    max-width: 200px;
    width: 100%;
}

.navbar-toggler, .navbar-toggler:focus{
    border: none!important;
    box-shadow: none!important;
}

.navbar-toggler i{
    font-size: 35px;
    color: #242335;
}

/* Auth buttons styling */
.auth-buttons {
    display: flex;
    align-items: center;
}

.auth-buttons .btn-outline-primary {
    font-family: "Archivo", sans-serif;
    border-color: #242335;
    color: #242335;
}

.auth-buttons .btn-outline-primary:hover {
    background-color: #242335;
    color: #FFF;
}

.auth-buttons .btn-primary {
    font-family: "Archivo", sans-serif;
    background-color: #242335;
    border-color: #242335;
    color: #FFF;
}

.auth-buttons .btn-primary:hover {
    background-color: #FFF;
    color: #242335;
}

.auth-buttons .btn-outline-secondary {
    font-family: "Archivo", sans-serif;
    border-color: #242335;
    color: #242335;
}

.auth-buttons .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.auth-buttons .dropdown-item:hover {
    background-color: #f8f9fa;
}

.hero-con{
    height: calc(100vh - 75px);
    position: relative;
}

.hero-container{
    position: relative;
}

.hero-bg{
    background-image: url(../img/hero_image.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    position: absolute;    
}

.hero-info{
    background-color: #FFF;
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 32px;
    left: 0;
    top: 100px;
    text-align: center;
    padding: 40px;
}

.hero-info h1{
    font-family: "Arima", system-ui;
    color: #242335;
    font-weight: 500;
    font-size: 50px;
    text-align: center;
    line-height: 1.2;
}

.hero-info p{
    font-family: "Archivo", sans-serif;
    color: #242335;
    font-size: 22px;
    text-align: center;
    max-width: 330px;
    margin: 0 auto;
    line-height: 1.3;
}

.hero-info a.btn-purple{
    font-family: "Archivo", sans-serif;
    background-color: #242335;
    border-radius: 50px;
    color: #FFF;
    padding: 15px 30px;
    margin-top: 30px;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
}

.page-content .btn-purple {
    color: #FFF;
}
.page-content .btn-purple:hover {
    color: #242335;
}


.btn-purple#webcamButton {
    background-color: #242335;
}
.btn-purple#webcamButton:hover {
    background-color: #FFF;
}

.videoView {
    background: #FAFAFA;
}

.page-content {
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-title {
    font-family: "Arima", system-ui;
    color: #242335;
    font-size: 42px;
    text-transform: none;
    font-weight: 500;
}

h1, h2, h3 {
    text-transform: none;
    font-weight: 500;
}

.page-content p{
    font-family: "Archivo", sans-serif;
    color: #242335;
    font-size: 20px;
}

.page-content ol li{
    font-family: "Arima", system-ui;
    color: #242335;
    font-size: 20px;
    font-weight: bold;
}

.text-right{
    text-align: right;
}

.assessment-vid{
    width: 100%;
    max-width: 550px;
}

.assessment-vid[poster]{
    cursor: pointer;
}

.btn-purple, .btn-white:hover {
    font-family: "Archivo", sans-serif;
    background-color: #242335;
    border-radius: 50px;
    color: #FFF;
    border: 1px solid #242335;
    padding: 15px 40px;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    width: auto;
}



.btn-white, .btn-purple:hover
{
    font-family: "Archivo", sans-serif;
    background-color: #FFF;
    border-radius: 50px;
    color: #242335;
    border: 1px solid #242335;
    padding: 15px 40px;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    min-height: calc(100vh - 75px);
}

.videoView {
    min-height: 400px;
    overflow: hidden;
}

footer {
    text-align: center;
    margin-top: auto;
    padding-top: 16px;
}

.assessment-img{
    width: 100%;
}

.status-step {
    height: 10px;
    background-color: #E5E5E5;
    width: 100%;
    border-radius: 50px;
    margin: 20px 0;
    overflow: hidden;
}

.progress {
    background-color: #1BFD3D;
    transform: 1s;
    width: 0%;
    max-width: 100%;
}

    h3.page-title {
        font-size: 25px;
        text-align: center;
    }

.tab-content{
    padding-top: 20px;
}

.range-tabs{
    border: 1px solid #242335;
    border-radius: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 20px;
    padding: 5px;
}

.range-tabs .nav-link{
    color: #242335;
    border: 0px;
}

.range-tabs .nav-link.active{
    background-color: #242335;
    color: #FFF;
    padding: 0;
    border-radius: 50px;
}

.flex-info label{
    font-family: "Arima", system-ui;
    color: #242335;
    font-size: 20px;
    text-align: left;
    line-height: 1;
    margin-bottom: 5px;
    white-space: pre;
    display: block;
}

.flexion-image{
    text-align: center;
    padding: 80px 0;
    position: relative;
    width: 300px;
    margin: 0 auto;
}

.hand-img{
    width: 100%;
    max-width: 250px;
    text-align: center;
}

.ring-finger
{
    position: absolute;
    display: flex;
    align-items: center;
    top: 30px;
    left: -35px;
}

.middle-finger{
    position: absolute;
    display: flex;
    align-items: center;
    top: 20px;
    left: 120px;
}

.index-finger{
    position: absolute;
    display: flex;
    align-items: center;
    top: 135px;
    right: -20px;
}

.thumb-finger{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 248px;
    right: -37px;
    flex-direction: column;
}

.pinky-finger{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 160px;
    left: -20px;
    flex-direction: column; 
}

.thumb-finger .flex-info{
    padding-left: 40px;
}

.color-red{
    color: red!important;
}


.middle-finger img, .index-finger img, .thumb-finger img, .pinky-finger img{
    padding: 10px;
}

.ring-finger img{
    padding: 10px;
}

/*LEFT HAND FLIP*/
.flexion-image.left-hand img {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.flexion-image.left-hand .middle-finger {
    flex-direction: row-reverse;
    z-index: 2;
    left: -25px;
}
.flexion-image.left-hand .ring-finger {
    flex-direction: row-reverse;
    left: auto;
    right: -45px;
    z-index: 2;
}
.flexion-image.left-hand .index-finger {
    flex-direction: row-reverse;
    z-index: 2;
    right: auto;
    left: -25px;
}
.flexion-image.left-hand .pinky-finger {
    z-index: 2;
    left: auto;
    right: -43px;
}
.flexion-image.left-hand .thumb-finger {
    z-index: 2;
    right: auto;
    left: -37px;
}

.flexion-image.left-hand .thumb-finger .flex-info {
    padding-left: 0;
    padding-right: 40px;
}
.flexion-image.left-hand .pinky-finger .flex-info {
    padding-left: 40px;

}

.nav-tabs .nav-link {
    border-radius: 50px;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border: 0px;
}


.result-bg {
    background-image: url(../img/dark-hand.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    position: absolute;
}


.result-info{
    background-color: #FFF;
    position: absolute;
    width: 450px;
    border-radius: 32px; 
    left: 0; 
    right: 0; 
    margin-inline: auto; 
    top: 100px;
    text-align: center;
    padding: 40px;
}

.result-info h1{
    font-family: "Arima", system-ui;
    color: #242335;
    font-weight: 500;
    font-size: 35px;
    text-align: center;
    line-height: 1.2;
}

.result-info p{
    font-family: "Archivo", sans-serif;
    color: #242335;
    font-size: 18px;
    text-align: center;
    margin: 0 auto;
    line-height: 1.3;
}

.result-info a.btn-purple{
    font-family: "Archivo", sans-serif;
    background-color: #242335;
    border-radius: 50px;
    color: #FFF;
    padding: 15px 30px;
    margin-top: 30px;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    min-width: 250px;
}

.result-info .form-control{
    margin-top: 20px;
    margin-bottom: 20px;
}

.result-info .form-control label{
    font-size: 12px;
    text-align: left;
    display: block;
}

.result-info .form-control input{
    font-size: 14px;
    text-align: left;
    border: none;
    width: 100%;
    margin-top: 0;
}

.footer-dark{
    position: absolute;
    bottom: 10px;
    width: 100%;
    color: white;
}

.success-btn{
    max-width: 100%;
    min-width: 100%;
}

.success-info{
    height: auto;
}

.range-title{
    font-size: 35px!important;
}

/* Care Provider Overrides */
.action-items-con, .recently-viewed-con {
    height: auto;
    border-radius: 0;
}

.action-items-con h4, .recently-viewed-con h4 {
    background: #424649;
}

.action-search-con {
    background: rgba(0,0,0,0.1);
}

.recently-viewed-con {
    margin-top: 15px;
}

.form-control {
    border: 1px solid #424649;
}

.recently-viewed-items {
    background: #f7f9fc;
    border: 1px solid #dee6ed;
}

.week-schedule-con #week-schedule .fc-toolbar, .week-schedule-con #care-provider-week-schedule .fc-toolbar {
    background: #424649;
    color: #FFF;
}

.week-schedule-con #week-schedule .fc-toolbar-title, .week-schedule-con #care-provider-week-schedule .fc-toolbar-title {
    color: #FFF;
}

.week-schedule-con #week-schedule .fc-toolbar .fc-icon, .week-schedule-con #care-provider-week-schedule .fc-toolbar .fc-icon {
    color: #FFF;
}

.week-schedule-con #week-schedule .fc-col-header-cell-cushion, .week-schedule-con #care-provider-week-schedule .fc-col-header-cell-cushion {
    color: #424649;
}

.week-schedule-con #week-schedule, .week-schedule-con #care-provider-week-schedule {
    background: #f7f9fc;
    border: 1px solid #dee6ed;
}

.dropdown-item.active, .dropdown-item:active {
    background: rgba(0,0,0,0.1);
    color: #424649;
}

.header-row .patient-btns {
    background: #424649;
}

.add-exercise {
    background: #424649;
}

.header-row .patient-btns:hover {
    background: #242335;
}
    .dropdown-item a {
        color: #495057;
    }

.patients {
    background: #f7f9fc;
}

.exercise.grid-view .exercise-column {
    background: #f7f9fc;
}

.exerciseCreator {
    background: #f7f9fc;
}

.patient-profile-links .active {
    background: #424649;
}

.nav-tabs .nav-link {
    border-radius: 12px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.form-control-con label {
    color: #424649;
}

.patient-profile-con {
    background: #f7f9fc;
}

.action-items-con, .treatment-creator {
    background: #f7f9fc;
}

h2 {
    color: #424649;
}

.exercise .exercise-item {
    padding: 20px 0;
}

.accordion .accordion-header .accordion-button {
    background: #f7f9fc !important;
    color: #424649;
}

.treatment {
    background: #f7f9fc;
}

.progress-con {
    background: #f7f9fc;
}

.btn-purple {
    background-image: none;
}

.patient-profile .tab-content {
    background: #f7f9fc;
}

.patient-profile .nav-item .nav-link {
    background: rgba(0,0,0,0.1);
}

.patient-profile .nav-item .nav-link.active {
    background: #f7f9fc;
}

.content {
    padding: 0px;
}


@media only screen and (max-width:768px) {
    /* CSS rules here */
    .hero-bg{
        position: relative;
        height: 300px;
    }
    .hero-info{
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
    }
    .content {
        padding: 0px;
    }
    .page-title{
        text-align: center!important;
        font-size: 37px;
    }
    .navbar .btn-dark {
        display: none;
    }

    .videoView {
        min-height: 400px;
        overflow: hidden;
        height: 400px;
    }
    .button-container {
        text-align: center;
    }
    .page-content .btn-purple {
        font-size: 15px;
        display: inline-flex;
        max-width: 230px;
        min-width: 230px;
        text-align: center;
        margin: 10px auto;
        height: 44px;
        align-items: center;
        justify-content: center;
        color: #FFF;
    }

    .flex-info label {
        font-size: 14px;
    }
    .flexion-image.left-hand .middle-finger {
        left: 0;
    }
    .flexion-image.left-hand .ring-finger {
        right: -20px;
    }
    .flexion-image.left-hand .index-finger {
        left: 0;
    }
    .flexion-image.left-hand .thumb-finger {
        top: 250px;
        left: 0;
    }
    .flexion-image.left-hand .pinky-finger {
        top: 175px;
        right: -15px;
    }

    .page-content .btn-white {
        font-size: 15px;
        display: inline-flex;
        max-width: 230px;
        text-align: center;
        margin: 10px auto;
        min-width: 230px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }  
    
    h3.page-title{
        text-align: center!important;
        font-size: 20px;
    }

    .navbar-brand img{
        max-width: 150px;
    }

    footer{
        padding-top: 60px;
    }    

    .result-info{
        width: 90%;
        height: auto;
        padding: 30px;
        top: 50px;
    }
    .fixed-button-container {
        background: #FFF;
        position: fixed;
        bottom: 0;
        border-top: 1px solid #DDD;
    }

    .page-content p{
        font-size: 15px;
    }

    .ring-finger
    {
        top: 13px;
        left: -36px;
    }

    .middle-finger{

        top: 0px;
        left: 111px;
    }

    .index-finger{

        top: 100px;
        right: -15px;
    }

    .thumb-finger{

        top: 212px;
        right: -37px;

    }

    .pinky-finger{

        top: 135px;
        left: -12px;

    }

    .hero-info h1{
        font-size: 36px;
    }

    .flexion-image{
        padding: 50px 0;
    }

}


@media only screen and (min-width:2200px) { 
	/* CSS rules here */
    .hero-info{
        width: 600px;
        height: 600px;
    }

    .hero-info h1{
        font-size: 4rem;
    }    

    .hero-info p{
        max-width: 530px;
        font-size: 2rem;
    }

    .hero-info a.btn-purple{
        font-size: 1.3rem;

    }

}