@import url(font-awesome/css/fontawesome-all.css);
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600');

* {
    outline: none;
}

a:hover {
    text-decoration: none;
}

body {
    font-family: 'Open Sans', sans-serif;
}

:root {
    --bg-color-1: #1d1e1f;
    --bg-color-2: #424242;
    --bg-color-3: #272828;
    --main-text-color: #2ee2aa;
}

.bg-tr {
    background-color: rgba(255, 255, 255, .13);
}

.bg-grey {
    background-color: #eee;
}


/*** Login Page ***/

.h-inherit {
    height: inherit;
}

#content {
    position: relative;
    height: 100vh;
    background-image: url('../img/bg-2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

/* Blurred gym background
.bg-blur {
	background-image: url('../img/bg-1.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.bg-blur::before {
	content: '';
	background-color: rgba(255,255,255,.3);
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0
}
*/

@media (max-width: 829px) and (orientation: landscape) {
    #content {
        height: 100%;
        padding: 80px 0;
    }
}

.login-form .custom-field::placeholder {
    color: rgba(62, 62, 62, .85);
}

.login-form .custom-field {
    height: 3.35rem;
    border-radius: 30px;
    padding-left: 64px;
    background-color: rgba(255, 255, 255, 0.80);
    border: none;
    color: #3e3e3e;
}

.login-form .custom-field:focus {
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .48);
    box-shadow: 0 0 5px rgba(0, 0, 0, .48);
}

.login-form .form-group {
    position: relative;
}

.login-form .form-group i {
    position: absolute;
    left: 8px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 12px;
    border-radius: 100%;
    color: #666;
    background-color: rgba(255, 255, 255, 0.28);
}

.login-form .form-check,
.login-form .form-row a {
    color: #3e3e3e;
    font-size: 90%
}

.login-form .form-row a {
    font-style: italic;
}

.btn-custom {
    width: 100%;
    height: 3.35rem;
    border-radius: 30px;
    background-color: rgba(96, 193, 157, 0.8);
    color: #3e3e3e;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
}

.btn-custom:focus {
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .35);
    box-shadow: 0 0 5px rgba(0, 0, 0, .35);
}

#chk-custom {
    display: inline-block;
    position: absolute;
    width: 18px;
    height: 18px;
    line-height: 18px;
    background-color: rgba(96, 193, 157, 0.5);
    border-radius: 3px;
    text-align: center;
    color: #fff;
}

#chk-custom i {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.form-check .form-check-label {
    z-index: 2;
}

/*** ./Login page ***/

/*** Dashboard Page ***/

.dash-bg {
    /*background-image: url('../img/bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;*/
    background-color: #f7f7f7;
}

#dash-header {
    background-color: rgba(255, 255, 255, .88);
    -webkit-box-shadow: 2px 0 4px rgba(0, 0, 0, .15);
    box-shadow: 2px 0 4px rgba(0, 0, 0, .15);
}

.dash-header-left {
    padding: 18px 3rem;
    background: var(--bg-color-3);
    color: #fff;
}

.dash-header-left h5 {
    text-transform: uppercase;
}

#h-username {
    font-weight: 600;
}

#h-user-icon {
    position: relative;
    display: inline-block;
    margin-left: 12px;
    margin-right: 4px;
    border-radius: 30px;
    height: 34px;
    width: 34px;
    line-height: 34px;
    background-color: var(--bg-color-3);
    text-align: center;
    color: #fff;
    transition: .25s;
    cursor: pointer;
}

#h-user-icon:hover {
    -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, .28);
    box-shadow: 0 0 6px rgba(0, 0, 0, .28);
}

.dhr-inner a {
    color: #212529;
}

.dash-info-outer {
    display: grid;
    grid-template-columns: 1fr 1fr;
}



.dash-info,
.dash-promo {
    background-color: rgba(255, 255, 255, .88);
    /*-webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, .22);
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, .22);*/
}

.dash-info-outer,
.dash-promo {
    height: 100%;
}

.dash-info-inner .dpi-body,
.dash-promo .dash-promo-content-outer {
    padding-left: 15px;
    padding-right: 15px;
}

#dash-content {
    color: #fff;
}

.dpi-title {
    /*background-color: #eee;*/
    padding: 18px 24px;
}

.dpi-title h6 {
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    color: var(--main-text-color);
}

.dpb-title h5 {
    margin-bottom: 0;
}

.dpi-body .dpi-title {
    padding: 18px 15px;
}

#dash-content small {
    color: rgba(255, 255, 255, .6);
}

.dash-promo-content-outer {
    position: relative;
    overflow-y: auto;
}

.dash-promo-content-inner .dash-promo-box {
    padding: 20px 24px;
    background-color: rgba(255, 255, 255, .13);
    margin-bottom: 15px;
}

.dash-promo-content-inner .dpi-body {
    margin-top: 6px;
    font-size: 86%;
}

#dash-content .dash-info:nth-of-type(n+1) {
    background-color: var(--bg-color-1);
}

#dash-content .dash-info:nth-of-type(2n+1) {
    background-color: var(--bg-color-2);
}

#dash-content .promo-bg-1 {
    background-color: var(--bg-color-3);
}

#dash-content .promo-bg-2 {
    background-color: var(--bg-color-2);
}

.dpi-body .dpi-img {
    text-align: center;
}

.dpi-body .dpi-img img {
    margin-bottom: 1rem;
}

.p-list ul {
    list-style: none;
    padding-left: 0px;
    margin-bottom: 5px;
}

.p-list ul li {
    font-size: 90%;
    opacity: .45;
}

.p-list ul li.current {
    vertical-align: middle;
    font-size: 115%;
    opacity: 1;
    text-shadow: 0 0 4px rgba(255, 255, 255, .45)
}

.p-duration {
    text-align: center;
}

.p-duration h6 span {
    display: inline-block;
    font-weight: 400;
    font-style: italic;
    font-size: 110%;
}

.p-duration h3 {
    font-weight: 900
}

.progress-bar-outer {
    position: relative;
    height: 10px;
    width: 100%;
    border-radius: 4px;
    margin-top: 15px;
    background-color: rgba(0, 0, 0, .2);
}

#progress {
    position: relative;
    height: inherit;
    background-color: #fff;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    width: 0;
    transition: 1s;
    transition-delay: .25s;
    box-shadow: 4px 0 8px 0 rgba(255, 255, 255, .15);
}

#progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 2px;
    background-color: #fff;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .25)
}

.progress-bar-outer small {
    position: absolute;
    left: 0;
    top: 100%;
    transform: translateX(-50%);
    padding-top: 4px;
    transition: 1s;
    transition-delay: .25s;
    white-space: nowrap;

}

#history,
#training-history {
    font-size: 90%;
    margin-bottom: 0;
}

#history thead th,
#training-history thead th {
    padding: .5rem .7rem;
}

#history thead,
#training-history thead {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    /*width: calc(100% + 1em);*/
}

#history tr td,
#training-history tr td {
    padding: .25rem .7rem;
    line-height: 1.6
}

#history tbody,
#training-history tbody {
    position: relative;
    display: block;
    /*width: calc(100% + 1em);*/
    overflow-y: auto;
}

#history thead,
#history tbody tr,
#training-history thead,
#training-history tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
    text-align: center;
}

.stat-title {
    margin: 28px 0;
    display: inline-block;
    position: relative;
}

.stat-title h2 {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    color: #212529;
    background-color: #F7F7F7;
    margin-bottom: 0;
    vertical-align: middle;
}

/*.stat-title::before {
	content: '';
	position: absolute;
	height: 2px;
	width: 24px;
	left: 100%;
	top: 50%;
	margin-left: 3px;
	background-color: #212529;
	display: inline-block;
}

.stat-title::after {
	content: '';
	height: 2px;
	width: 10px;
	right: 0;
	top: 50%;
	background-color: var(--bg-color-1);
	transform: translateY(-100%);
	display: inline-block;
}*/

.stat-outer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    padding: 15px;
    background: -webkit-linear-gradient(90deg, var(--bg-color-1) 0%, var(--bg-color-1) 25%, var(--bg-color-3) 100%);
    background: -moz-linear-gradient(90deg, var(--bg-color-1) 0%, var(--bg-color-1) 25%, var(--bg-color-3) 100%);
    background: -o-linear-gradient(90deg, var(--bg-color-1) 0%, var(--bg-color-1) 25%, var(--bg-color-3) 100%);
    background: linear-gradient(90deg, var(--bg-color-1) 0%, var(--bg-color-1) 25%, var(--bg-color-3) 100%);
}

.stat-outer .stat-box {
    padding: 24px 22px 40px;
}

.stat-outer .stat-box p {
    font-size: 94%;
    transition: .3s;
}

.stat-outer .stat-box h2 {
    font-weight: 900;
}

/*.stat-outer .stat-box:nth-of-type(odd) {
	background-color: var(--bg-color-2);
}

.stat-outer .stat-box:nth-of-type(even) {
	background-color: var(--bg-color-3);
}*/

#hrs-day span:nth-of-type(even) {
    font-size: 1rem;
    font-weight: 400;
}

/* Scroller */

.ps__rail-y {
    margin: 3px 0;
}

.ps__rail-y:hover,
.ps__rail-y:focus,
.ps .ps__rail-y.ps--clicking {
    background-color: transparent !important;
}

.ps__rail-y:hover .ps__thumb-y,
.ps__rail-y:focus .ps__thumb-y,
.ps .ps__rail-y.ps--clicking .ps__thumb-y {
    background-color: rgba(0, 0, 0, .2);
    width: 7px;
}

.ps__rail-y .ps__thumb-y {
	transition: .35s;
}

.ps .ps__rail-y.ps--clicking .ps__thumb-y {
	transition: none;
}

.ps__rail-y .ps__thumb-y,
.ps .ps__rail-y.ps--clicking .ps__thumb-y {
    background-color: rgba(0, 0, 0, .2);
    right: 4px;
}

@media (max-width: 1199px) {
    .pt-xl-down-0 {
        padding-top: 0 !important;
    }

    .pb-xl-down-4 {
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 991px) {}

@media (max-width: 767px) {
    .p-list ul {
        text-align: center;
        margin-bottom: 15px;
    }

    .dash-info-outer {
        grid-template-columns: 1fr;
    }

    .dash-info-outer .dpi-body {
        padding-bottom: 18px;
    }

    .stat-outer {
		grid-template-columns: repeat(2,minmax(100px, 1fr));
	}
}

@media (max-width: 576px) {
    #h-user-icon {
        margin-left: 4px;
    }

    .dhr-inner {
        text-align: center;
    }

    .dash-header-left {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .dash-header-left h5 {
        font-size: 1.1rem;
    }

    .stat-outer {
		grid-template-columns: 1fr;
		grid-gap: 0;
	}

	.stat-outer .stat-box {
    	padding: 18px;
	}
}

@media (min-width: 577px) and (max-width: 767px) {
    .dash-header-left {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
	.stat-outer .stat-box p {
		font-size: 80%;
	}

	.stat-outer .stat-box {
    	padding: 24px 16px 40px;
	}

    .dash-info-outer {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .dpi-body .dpi-title {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: space-between;
    }

    .dpi-body .dpi-title>div:first-child {
        flex: 0 0 50%;
        padding-right: 10px;
    }

    .p-list ul li {
        font-size: 85%;
    }

    .p-list ul li.current {
        font-size: 110%;
    }
}

@media (min-width: 1200px) {
    /*.p-list ul li {
		font-size: 0.9vw;
		line-height: 1.35;
	}
	.p-list ul li.current,
	.p-duration h6 span {
		font-size: 1.15vw;
	}
	#expiry-days {
		font-size: 1.7vw;
	}*/
}

/*** /.Dashboard Page ***/

#response
{
    color: #f15a29;
    font-size: 0.9rem;
    font-weight: bold;
    padding-bottom: 1rem;
}

.read-more {
    color: var(--main-text-color);
}

.read-more:hover {
    color: #fff;
}

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