
/* tabbed list */
ul.wpjmd-tabs {
	padding: 0;
	margin: 20px 0 0 2%;
	position: relative;
	list-style: none;
	font-size: 14px;
	z-index: 99;
}
ul.wpjmd-tabs li {
    width: 32%;
    text-align: center;
    font-size: 18px;
    border: 1px solid #E7E9F6;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-radius-topright: 10px;
    -moz-border-radius-topright: 10px;
    border-top-right-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    -khtml-border-radius-topleft: 10px;
    -moz-border-radius-topleft: 10px;
    border-top-left-radius: 10px;
    line-height: 28px;
    padding: 5px 0;
    position: relative;
    background: #fff;
    overflow: hidden;
    display: inline-grid;
}

ul.wpjmd-tabs li a {
	text-decoration: none;
	padding: 0 10px;
	display: block;
	outline: none;
}

ul.wpjmd-tabs li.active_login a {
	color: #fff;
}

ul.wpjmd-tabs li.active_login {
	border-left: 1px solid #E7E9F6;
	border-bottom: 1px solid #fff;
	-webkit-border-top-right-radius: 10px;
	-khtml-border-radius-topright: 10px;	
	-moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	-khtml-border-radius-topleft: 10px;	
	-moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
	background: #123456;
	color: #fff;
}
ul.wpjmd-tabs li.active_login a { font-weight: bold; }
.tab_container_login {
	background: #fff;
	position: relative;
	margin: 20px auto;
	border: 1px solid #E7E9F6;
	-webkit-border-bottom-left-radius: 10px;
	-khtml-border-radius-bottomleft: 10px;	
	-moz-border-radius-bottomleft: 10px;
	border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-khtml-border-radius-bottomright: 10px;	
	-moz-border-radius-bottomright: 10px;
	border-bottom-right-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-khtml-border-radius-topright: 10px;	
	-moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
	z-index: 99;
	width: 100%;
	top: -1px;
	max-width: 720px;
    display: block;
}
.tab_content_login {
	padding: 7px 15px 15px 15px;
	padding-top: 10px;
}
.tab_content_login ul {
	padding: 0; margin: 0 0 0 15px;
}
.tab_content_login li { margin: 5px 0; }

/* global styles */

#wpjmd-page {
    width: 100%;
    margin: calc((100vw - 100%)* 0.025);
}

.wpjmd-container {
	display: flex;
	margin: 1.5em;
}

div#wpjmd-login-form input[type="submit"], #wpjmd-login-form button {
    border-radius: 20px;
    width: 100%;
    margin: 20px 0;
    cursor: pointer;
    height: 40px;
}

#wpjmd-login-form h3 {
	border: 0 none;
	margin: 10px 0;
	padding: 0;
}

#wpjmd-login-form p {
	margin: 0 0 15px 0;
	padding: 0;
}

/* form elements */

.wp-user-form {}
.username, .password, .login_fields {
	margin: 7px 0 0 0;
	overflow: hidden;
	width: 100%;
}
#wpjmd-login-form label { 
	display: block; 
	clear: none;
	margin: 0 0 5px 0;
}
#wpjmd-login-form input[type="text"], .wpjmd-registration-form select { 
	clear: none;
	padding: 3px 10px;
	width: 98%; 
	height: 35px;
	display: block;
}
.rememberme {
	overflow: hidden; 
	width: 50%; 
	margin-bottom: 7px;
	float:left;
}

input#rememberme {
	float: left;
	clear: none;
	margin: 4px 4px -4px 0;
	width: unset;
}

.login-error-message,
.login-success-message {
    display: none;
}

.login-error-message {
    background: #ff5200;
    padding: 10px;
    color: #fff;
}

.login-success-message {
    background: #009688;
    padding: 10px;
    color: #fff;
}

.user-submit {
	padding: 5px 10px;
	margin: 5px 0;
}

#wpjmd-login-form .error {
    background: #ff7600;
    padding: 10px;
    color: #fff;
    margin: 15px 0;
}

/* Dashboard Page */

.page-template-wpjmd-template .main {
	margin-top: 50px;
}

/* User info */

.usericon { 
	display: block; 
	width: 100%; 
	border-bottom:  2px solid;
}
.usericon img {
	border: 1px solid #F4950E;
	padding: 1px;
}

.usericon h5, .usericon h6 {
	text-align: center;
}

.usericon h5 {
	margin: 0;
}

.usericon h6{
	font-size: 13px;
	color:  grey;
	font-weight: 300;
	border: 1px solid;
	display: block;
	margin: 10px auto;
	width: fit-content;
	padding: 0 5px;
	border-radius: 10px;
}

.usericon img {
	border: 1px solid #F4950E;
	padding: 1px;
	clear: none;
	margin: 0 auto;
	display: block;
}

/* Dashboard Menu */

.wpjm-nav{
	display: block;
}

.wpjm-nav ul,#menu-popup nav ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.wpjm-nav ul li, #menu-popup nav ul li{
	color:#fff;
	background:#00a0c5;
	border-radius:4px;
	padding:2px 12px;
	margin: 5px auto;
}

.wpjm-nav ul li a, #menu-popup nav ul li a {
    color: #fff;
    position: relative;
    display: block;
}

.jm-dashboard-menu {
	width: 20%;
	display: inline-block;
	box-shadow: 0px 0px 4px #828999;
	padding: 20px;
	margin: 20px initial;
    position: sticky;
    top: calc(100% - 90%);
    height: fit-content;
    z-index: 99;
}

.jm-dashboard-menu ul.menu {
	list-style: none;
	padding: 0;
}

.jm-dashboard-menu ul.menu li {
	border-top: 1px solid #eceeef;
	line-height: 40px;
}

.wpjmd-content {
	clear: none;
	width: 80%;
	margin-bottom: 10px;
	display: inline-block;
	padding: 10px 1.5em;
}

.jm-dashboard-content .is-style-default {
	z-index: 0;
}

.menu-item.wpjmd-menu:before {
	content: "\f110";
	display: inline-block;
	font-size: inherit;
	float: left;
	font-family: dashicons;
	vertical-align: top;
	margin: 10px;
}

.wpjmd-nav ul ul {
	display: none;
	position: initial;
	top: 3em;
	left: 0;
	z-index: 99;
	width: 180px;
	background: #fff;
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
}

.wpjmd-nav ul li:hover > ul {
	display: block;
	list-style: none;
	padding-left: 0;
}

.wpjmd-nav li {
	position: relative;
}

/* Initially hide the popup menu and button */
#menu-popup {
    display: none;
    position: fixed;
    top: 10%;
    left: 0;
    width: 100%;
    height: 80vh;
    background-color: rgb(12 55 99);
    z-index: 9999;
    margin: auto;
    max-height: 100vh;
}

#menu-popup nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    width: 90%;
    height: auto;
    box-shadow: 0px 2px 10px #d1cbcb;
}


/* Close button styles */
#close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 99999;
}

/* Show the popup menu when button is clicked */
#menu-toggle {
    display: none;
}

.wpjmd-panel{
	position: fixed;
	right: -15.625em;
	width: 15.625em;
	background:#222;
}
.push{
	position:relative;
}

.mobile-menu a: hover{
	background: #00a0c5;
}
.mobile-menu a:hover{
	background-color:#555;
}
.mobile-menu li{
	border-bottom:1px #444 solid;
}

div#responsive-menu {
	color: #fff;
	margin-top: 150px;
}

/* Mobile Styling */

@media only screen and (max-width:900px) {

	.wpjmd-container {
		display: block;
	}

	.jm-dashboard-menu {
		position: unset;
	}

	#menu-toggle {
        display: block;
    }

    .wpjm-nav {
        display: none;
    }

    #menu-popup {
        display: none;
    }

	ul.wpjmd-tabs li {
		width: fit-content;
	}

	.jm-dashboard-menu, .wpjmd-content {
		width: inherit;
		margin: auto;
		float: none;
		display: block;
		max-width: 100%;
		padding: 0;
	}

	.usericon img {
		max-width: 90%;
		display: inline-block;
		margin-left: 35%;
	}
	#primary-menu{
		display:none;
	}
	.mobile-menu #primary-menu{
		display:block;
	}
	.menu-link{
		display:inline-block;
	}
}