body {
    position: relative;
    /*overflow-x: hidden;*/
}




/* Buttons */

.btn-primary {
    background-color: #006D5D;
    border-color: #006D5D;
}
.btn-primary:focus,
.btn-primary:hover {
    background-color: #005B4E;
}

.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary.focus:active,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open > .dropdown-toggle.btn-primary.focus,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover {
    background-color: #005B4E;
}

/* Form-control */

.form-control:focus {
    border-color: #006D5D;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(0, 109, 93, 0.7);
    outline: 0 none;
}


/* Login Screen */
.login_bg {
    background: #282828;
}
#login {
    margin: auto;
    padding: 8% 0 0;
    width: 320px;
}

#login .tenant {
    color: #fff;
    padding: 10px 5px;
    text-align: left;
    font-size: 1em;
}
#login .alert  {
   margin-top: 15px;
    border: 0px;
    border-left: 5px solid #ff0000;
    border-radius: 0px;

}
.loginform {
    background: none repeat scroll 0 0 #ffffff;
    border: 1px solid #d4dfe7;
    box-shadow: 0 1px 2px 0 #e7edf3;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    padding: 20px 24px 24px;
    box-shadow: 5px 5px 10px #000;
    border-radius: 5px;
}
.loginform button {
    width: 100%;
}

.navbar-inverse {
    background-color: #222222;
    border-bottom: 1px solid #222;
    /*box-shadow: 0px 0px 2px rgba(0,0,0,.25);*/
}
.navbar-brand {
    padding: 10px 15px;
}
.navbar-inverse .navbar-brand {
    color: #fff;
}
.navbar-inverse .navbar-brand:focus,
.navbar-inverse .navbar-brand:hover {
    color: #ddd;
}
.navbar-inverse .navbar-nav > li > a {
    color: #fff;
}
.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > li > a:hover {
    color: #ddd;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:focus,
.navbar-inverse .navbar-nav > .open > a:hover {
    background: #006D5D;
    color: #fff;
}

.navbar-nav > li {
    border-right: 1px solid #333;
}
.navbar-nav > li:last-child {
    border-right: 0px;
}

.sidebar_wrapper {
    background: #222222;
    color: #9d9d9d;
    top: 0;
    margin-top: 50px;
    width: 230px;
    bottom: 0;
    position:fixed;
    overflow-y: auto;
}
.main_wrapper {
    margin-top: 50px;
    margin-left: 250px;
}

.sidebar_inner {
    padding: 0;
}
.sidebar_inner ul.nav {
    border-top: 2px solid #222;
}
.sidebar_inner .nav > li > a {
    border-radius: 0px;
    
}
.sidebar_inner .nav > li > a {
    color: #9d9d9d;
    text-decoration: none;
    padding: 15px;
}
.sidebar_inner .nav > li > a:focus,
.sidebar_inner .nav > li > a:hover {
    background: #006D5D;
    color: #fff;
}
.sidebar_inner .nav > li > a > svg.ico {
    height: auto;
    max-width: 18px;
    position: relative;
    top: 4px;
    width: 100%;
}
.sidebar_inner .nav > li > a > svg.ico path {
    fill: #9d9d9d;
}
.sidebar_inner .nav > li > a:focus > svg.ico path,
.sidebar_inner .nav > li > a:hover > svg.ico path {
    fill: #fff;
}

.sidebar_inner .nav > li.active > a:focus,
.sidebar_inner .nav > li.active > a:hover,
.sidebar_inner .nav > li.active > a {
    background: #006D5D;
    color: #fff;
}
.sidebar_inner .nav > li.active > a:after {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: transparent #fff transparent transparent;
    border-image: none;
    border-style: solid;
    border-width: 8px;
    content: " ";
    height: 0;
    margin-top: -8px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
}

.sidebar_inner .nav > li.active > a > svg.ico path {
    fill: #fff;
}








.main_inner {
    padding: 15px;
}


/* Dashboard Quickstart */
.quickstart fieldset {
    padding: 0px;
    position: relative;
    border-radius: 0px;
    background: #e9eaee;
    border: 0px;
    box-shadow: 3px 3px 2px #ddd;
}
.quickstart fieldset:hover {
    box-shadow: 3px 3px 2px #a4a4a4;
    border-bottom: 0px;
}
.quickstart fieldset:hover p.txt {
    background: #006d5d;
    color: #fff;
    border-color: #006d5d;
}
.quickstart fieldset .text-center {
    padding: 20px 0;
    margin-bottom: 30px;
}
.quickstart fieldset img {
    min-height: 50px;
    max-height: 100px;
}
.quickstart fieldset:hover img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}
.quickstart fieldset p.txt {
    margin-bottom: 0px;
    background: #fff;
    color: #282828;
    font-weight: bold;
    padding: 8px 5px;
    position:absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    border-bottom: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
}



#content .header {
    border-bottom: 1px solid #eee;
    margin: 25px 0;
    padding: 15px 0 5px;
}
#content h1.header {
    margin-top: 0px;
    margin-bottom: 15px;
    padding-top: 15px;
}

#content p.lead {
    margin-top: 20px;
    padding: 10px 0 5px;
}
#content .table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: #eee;
}


fieldset {
    padding: 15px;
    margin-bottom: 8px;
    border: 1px solid #eee;
    border-radius: 4px;
}

fieldset.highlight  {
    background: #eee;
    border: 1px solid #ccc;
}

fieldset .form-group {
    margin-bottom: 10px;
}

fieldset .upload-head h3 {
    border-bottom: 1px solid #eaeaea;
    border-top: 1px solid #eaeaea;
    margin-bottom: 15px;
    padding-bottom: 5px;
    padding-top: 5px;
    font-size: 16px;
    text-transform: uppercase;
}
fieldset .upload-image {
    vertical-align: bottom;
}
fieldset .upload-image a.icon {
    position:absolute;
    bottom: 10px;
    margin-left: 5px;
    font-size: 18px;
    color: #960000;
}
fieldset .upload-image a.icon:hover {
    color: #5B0000;
}

fieldset .file-input .input-group {
    overflow: hidden;
}

fieldset > .headline {
    background: none repeat scroll 0 0 #f5f5f5;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    color: #666;
    font-size: 0.75em;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding: 5px 10px;
    text-transform: uppercase;
}

.normal_legend {
	border: 0;
	margin: 0;
	width: auto;
	font-size: 100%;
}




/* Image-Gallery */
.gallery .fieldset {
    padding: 25px 15px 10px;
    margin-bottom: 8px;
    border: 1px solid #eee;
    border-radius: 4px;
}
.gallery .fieldset:after {
    content: " ";
    display: table;
    clear: both;
}
.gallery .fieldset > legend {
    -moz-padding-end: 2px;
    -moz-padding-start: 2px;
    background: #fff none repeat scroll 0 0;
    inline-size: -moz-fit-content;
    left: 31px;
    position: absolute;
    top: -10px;
}
.gallery .img-wrapper {
    margin-bottom: 15px;
}
.gallery .img-wrapper .img-inner {
    background: #f5f5f5;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    padding: 10px 10px 0;
    position: relative;
}
.gallery .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.75);
    color: #fff;
    z-index: 1005;
    font-size: 1em;
    cursor: pointer;
    display: none;
    border-radius: 5px;
}
.gallery .overlay > a {
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fff;
    text-align: center;
    Center Text and Icons
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.gallery .overlay i {
    font-size: 2.5em;
}
.gallery .img-wrapper .image:hover .overlay {
    display: block;
}
.gallery .image {
    text-align: center;
    height: 200px;
    overflow-y: hidden;
}
.gallery .image > img {
    margin: 0 auto;
    max-height: 180px;
}
.gallery .actions {
    border-top: 1px solid #a8a8a8;
    background: #b4b4b4;
    margin-top: 10px;
    margin-left: -10px;
    margin-right: -10px;
    padding: 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.gallery .actions label {
    font-size: .85em;
    color: #282828;
    font-weight: bold;
}
.gallery .actions input {
    width: 23%;
    max-width: 110px;
    min-width: 45px;
    float: right;
    border: 0px;
    border-radius: 2px;
    color: #282828;
}
.gallery .modal-img {
    margin-bottom: 10px;
    padding: 10px 0;
}
.gallery .modal-img img {
	max-width: 250px;
	width: 100%;
	min-width: 100px;
}
.gallery .modal-img a {
    color: #006d5d;
}
.gallery .modal-img .img-zoom {
    padding: 10px 0;
}
.gallery .modal .options {
    padding: 15px 0;
    position: relative;
    border-top: 1px solid #eaeaea;
    padding-top: 25px;
    margin-top: 15px;
}
.gallery .modal .options .placeholder {
    border-top: 1px solid #eaeaea;
    height: 10px;
    margin-top: 20px;
    padding-bottom: 20px;
}
.gallery .modal .options .headline {
    background: #fff;
    color: #b4b4b4;
    font-size: 0.85em;
    font-weight: bold;
    left: 8px;
    padding: 0 5px;
    position: absolute;
    text-transform: uppercase;
    top: -8px;
}


@media screen and (max-width: 767px) {
    #login {
        width: 100%;
        padding: 5px;
    }
    .brand {
        width: 100%;
        padding: 30px 5px 0px;
    }
    .sidebar_wrapper {
        left:-230px;
    }
    .sidebar_wrapper.open {
        left: 0px;
    }
    .main_wrapper {
        margin-left: 0px;
    }
    .main_wrapper.pushRight {
        left: 250px;
        position:relative;
        visibility: hidden;
    }
    .navbar-header {
        float: left;
    }
    .navbar-right {
        float: right;
    }
    .btn-smartmenu {
        background: transparent;
        border: 1px solid #fff;
        border-radius: 5px;
        color: #fff;
        float: right;
        margin-top: 10px;
        padding: 5px 10px;
    }
    .btn-smartmenu:hover {
        background: #fff;
        color: #282828;
    }
}

