/*HEADER
-----------------------*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 999;
}

header.header-1.md-card {
    padding: 0;
    z-index: 999;
}

.main-content-open header {
    padding-right: 64px;
    -webkit-transition: padding-right .5s!important;
    transition: padding-right .5s!important;
}

#side-menu {
	display: none;
}

#logo {
    float: left;
    width: 200px;
    height: 60px;
    text-align: center;
    background-color: #3d7946;
    color: #ffffff;
    text-decoration: none;
}

#logo img {
    height: 54px;
}

.site-name {
    float: left;
    width: 100%;
    font-size: 30px;
    line-height: 35px;
}

.slogan {
    float: left;
    width: 100%;
    font-size: 16px;
    line-height: 25px;
}

img.logo-img-mobile {
    display: none;
}

h1 {
    font-size: 26px;
    padding: 0px 20px;
    margin: 0px;
    font-weight: normal;
}

#title h1 {
	line-height: 64px;
}

h2, h3, h4 {
    font-weight: normal!important;
    font-size: 20px!important;
    line-height: 22px!important;
}

#title {
    float: right;
    display: inline-block;
    height: 64px;
    width: 50%;
    line-height: 64px;
    color: white;
    margin-right: 60px;
}

.menu-toggle i {
    line-height: 64px;
    font-size: 40px;
}

.menu-toggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-color: #ff734a;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
}

#dark-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-color: #000000c7;
    z-index: 9999;
    display: none;
}

#dark-screen.dark-screen-show {
	display: block;
}

/*MENU
-----------------------*/

nav {
    float: left;
    width: calc(100% - 260px);
    line-height: 60px;
}


nav a {
    float: left;
    font-size: 20px;
    line-height: 60px;
	padding: 0 10px;
    color: #737373;
    text-decoration: none;
}

nav li {
    float: left;
    line-height: 60px;
}

nav li a:hover{
    background-color: #3d7946;
	color: #ffffff;
}

nav li + li {
    border-left: 1px solid #e9e9e9;
}

nav .current-menu-item > a {
    background-color: #3d7946;
    color: #ffffff;
}

li.menu-item {
    margin: 0;
    padding: 0;
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 60px;
    background-color: white;
    width: 250px;
}

li.menu-item:hover .sub-menu {
    display: block;
}

.sub-menu li {
    float: right;
    width: 100%;
}

.sub-menu li a {
    float: right;
    width: 100%;
	font-size: 18px;
	line-height: 30px;
}

.sub-menu li + li {
    border-top: 1px solid #eeeeee;
}

.open-sub-menu {
    display: none;
}

/*RTL
------------------------------------------------*/

.rtl #logo {
    float: right;
}

.rtl nav {
    float: right;
}

.rtl nav a {
    float: right;
}

.rtl nav li {
    float: right;
}

.rtl nav li + li {
    border-left: 0;
	border-right: 1px solid #e9e9e9;
}

.rtl .menu-toggle {
    left: auto;
	right: 0;
}

/*----------------------------------responsive------------------------------------*/

@media screen and (max-width: 950px) {

#logo {
    position: absolute;
    top: 0;
    left: calc(50% - 85px);
    width: 170px;
    height: 50px;
}

.site-name {
    font-size: 25px;
    line-height: 30px;
}

.slogan {
    font-size: 16px;
    line-height: 20px;
}

.menu-toggle i {
    line-height: 50px;
    font-size: 40px;
}

#side-menu {
	display: block;
    position: fixed;
    top: 0;
    right: -50px;
    width: 280px;
    height: 100%;
    background-color: #dfdfdf;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    z-index: 9999;
	-ms-transform: translateX(280px);
	-webkit-transform: translateX(280px);
	transform: translateX(280px);
	-webkit-transition: transform 0.5s ease-in;
	transition: transform 0.5s ease-in;
}

.side-menu-open {
    -webkit-transition: transform 0.5s!important;
    transition: transform 0.5s!important;
    -ms-transform: translateX(0px)!important;
    -webkit-transform: translateX(0px)!important;
    transform: translateX(0px)!important;
}

.sub-menu {
    position: static!important;
}

.open-sub-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0px;
    width: 50px;
    height: 50px;
    background-color: #ff734a;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
}

.close-sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0px;
    width: 50px;
    height: 50px;
    background-color: #ff734a;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
}

li.menu-item:hover .sub-menu {
    display: none;
}

ul.sub-menu {
    float: right;
    width: 100%;
}

.sub-menu li a {
    line-height: 40px!important;
	padding: 0 2px!important;
}

nav {
    height: 100vh;
	overflow: auto;
    padding-right: 50px;
}

}
