// Custom Theme

{* Reset and overrides *}
body {
    background-color: #fafafa !important;
}

// Page Header
.header {
    filter: none !important;
    background-image: none !important;
}

.header,
.header .btn-navbar,
.header .navbar-nav .dropdown-toggle:hover,
.header .navbar-nav .dropdown.open .dropdown-toggle {
    background-color: #434343 !important;
}

.header .navbar-nav li.dropdown .dropdown-toggle i {
    color: #808080 !important;
}

.header .navbar-nav li a.dropdown-toggle {
    height: 40px;
}

.header .navbar-nav li.dropdown-language a.dropdown-toggle {
    width:130px;
    padding:11px;
    line-height: 10px;
}

.header .navbar-nav > li.dropdown.user .dropdown-toggle .username,
.header .navbar-nav > li.dropdown.dropdown-language .dropdown-toggle .langname {
  color: #ffffff !important;
}

{* Page SideBar *}
.page-content {
    border-left: 1px solid #e2e2e2 !important;
    border-bottom: 1px solid #e2e2e2 !important;
    background-color: #fafafa !important;
}

.page-sidebar {
    background-color: #fafafa;
}

.page-sidebar-fixed .page-content {
    border: 0 !important;
}

.page-sidebar-fixed .page-sidebar {
    border-right: 1px solid #e2e2e2 !important;
}

ul.page-sidebar-menu > li > a {
    border-top: 1px solid #e2e2e2 !important;
    color: #000 !important;
    font-weight: 400;
}

ul.page-sidebar-menu > li:first-child > a {
    border-top: 1px solid transparent !important;
}

ul.page-sidebar-menu > li:last-child > a {
    border-bottom: 1px solid transparent !important;
}

ul.page-sidebar-menu > li a i {
    color: #bbb !important;
}

ul.page-sidebar-menu > li.open > a,
ul.page-sidebar-menu > li > a:hover,
ul.page-sidebar-menu > li:hover > a {
    background: #eee;
    border-top: 1px solid #e8e8e8;
}

ul.page-sidebar-menu > li.active > a .selected {
    right:-7px;
    top:0px;
    width: 7px;
    height: 39px;
    background-image: url("../../img/sidebar-menu-arrow-green.png");
}

ul.page-sidebar-menu > li.active i {
    color: #fff !important;
}

.page-sidebar-fixed ul.page-sidebar-menu > li.active > a .selected {
    display: none;
}

ul.page-sidebar-menu > li.active > a {
    background: #28b779 !important;
    border-top-color: transparent !important;
    color:#fff !important;
}

ul.page-sidebar-menu > li.active > a i {
    color: #fff;
}

ul.page-sidebar-menu > li > a > .arrow:before,
ul.page-sidebar-menu > li > a > .arrow.open:before {
    color: #ccc !important;
}

ul.page-sidebar-menu > li.active > a .arrow:before,
ul.page-sidebar-menu > li.active > a .arrow.open:before {
    color: #fff !important;
}

ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a {
    border-top: 0px !important;
}

ul.page-sidebar-menu ul.sub-menu > li > a {
    font-weight: 400 !important;
    color: #333 !important;
}

ul.page-sidebar-menu ul.sub-menu > li.active > a,
ul.page-sidebar-menu ul.sub-menu > li > a:hover {
    color: #818181 !important;
    background: #efefef !important;
}

ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before,
ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before {
    color: #ccc !important;
}

ul.page-sidebar-menu ul.sub-menu > li.active > a,
ul.page-sidebar-menu ul.sub-menu > li > a:hover,
ul.page-sidebar-menu ul.sub-menu > li.open > a {
    color: #818181 !important;
    background: #efefef !important;
}

ul.page-sidebar-menu ul.sub-menu > li > a i {
    color: #bbb !important;
}

.page-sidebar .sidebar-search input {
    background-color: #fbfbfb  !important;
    color: #727272 !important;
}

.page-sidebar .sidebar-search input::-webkit-input-placeholder, 
.page-sidebar .sidebar-search input:-moz-placeholder, 
.page-sidebar .sidebar-search input:-ms-input-placeholder {
    color: #aaa !important;
}

.page-sidebar .sidebar-search .input-box {
    border-bottom: 1px solid #e2e2e2 !important;
}

.page-sidebar .sidebar-search .submit {
    background-image: url(../../img/search-icon-white.png);
}

.sidebar-toggler {
    background-image: url(../../img/sidebar-toggler-light.jpg);
    background-color: #333;
}

.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container {
    background-color: #fbfbfb !important;
}
.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove {
    background-image: url("../../img/sidebar-search-close-light.png");
}

.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu {
    background-color: #fbfbfb;
}

// Horizontal Menu(new in v1.2)
.header .hor-menu .hor-menu-search-form-toggler {
    background: #363636 url(../../img/hor-menu-search.png) no-repeat center;
}

.header .hor-menu .hor-menu-search-form-toggler.hide {
    background: #363636 url(../../img/hor-menu-search-close.png) no-repeat center;
}

.header .hor-menu .search-form {
    background:#363636;
}

.header .hor-menu .search-form .btn {
    color: #999;
    background: #3b3b3b url(../../img/search-icon.png) no-repeat center;
}

.header .hor-menu .search-form form input, 
.header .hor-menu .search-form form input::-webkit-input-placeholder, 
.header .hor-menu .search-form form input:-moz-placeholder, 
.header .hor-menu .search-form form input::-moz-placeholder, 
.header .hor-menu .search-form form input:-ms-input-placeholder {
    color: #999;
}

// Footer
.footer .footer-inner {
    color: #333333;
}

.footer .footer-tools .go-top {
    background-color: #666666;
}

.footer .footer-tools .go-top:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
}

.footer .footer-tools .go-top i {
    color: #999999;
}

// Footer Layouts (new in v1.3)
.page-footer-fixed .footer {
    background-color: #434343 !important;
}

.page-footer-fixed .footer .footer-inner {
    color: #aaaaaa;
}

.page-footer-fixed .footer .footer-tools .go-top {
    background-color: #666666;
}

.page-footer-fixed .footer .footer-tools .go-top i {
    color: #aaaaaa;
}

// Gritter Notifications
.gritter-top {
    background: url(../../plugins/gritter/images/gritter.png) no-repeat left -30px !important;
}

.gritter-bottom {
    background: url(../../plugins/gritter/images/gritter.png) no-repeat left bottom !important;
}

.gritter-item {
    display: block;
    background: url(../../plugins/gritter/images/gritter.png) no-repeat left -40px !important;
}

.gritter-close {
    background: url(../../plugins/gritter/images/gritter.png) no-repeat left top !important;
}

/* Text-Shadow Not supported by IE */
.gritter-title {
    text-shadow: none !important;
}

.gritter-light .gritter-item,
.gritter-light .gritter-bottom,
.gritter-light .gritter-top,
.gritter-light .gritter-close {
    background-image: url(../../plugins/gritter/images/gritter-light.png) !important;
}

.gritter-item-wrapper a {
    color: #18a5ed;
}

.gritter-item-wrapper a:hover {
    color: #0b6694;
}

.footer #copyright {
    color: #ffffff !important;
}

// begin: boxed page
@media (min-width: 980px) {
    .page-boxed {
        background-color: #E8E8E8 !important;
    }

    .page-boxed .page-container {
        background-color: #fafafa;
        border-left: 1px solid #e2e2e2;
        border-bottom: 1px solid #e2e2e2;
    }

    .page-boxed.page-sidebar-fixed .page-container {
        border-left: 0;
        border-bottom: 0;
    }

    .page-boxed.page-sidebar-fixed .page-sidebar {
        border-left: 1px solid #e2e2e2;
    }

    .page-boxed.page-sidebar-fixed.page-footer-fixed .footer {
        background-color: #434343 !important;
    }
}

@media (min-width: 992px) {
    .page-sidebar-fixed .footer {
        background-color: #434343 !important;
    }
}

// Landscape phone to portrait tablet
@media (max-width: 979px) {
    .page-sidebar {
        background-color: #f1f1f1 !important;
        border-right: none !important;
    }

    .page-sidebar-fixed .page-sidebar {
        border-right: none !important;
    }

    .page-content {
        border-left: none !important;
    }

    ul.page-sidebar-menu > li > a {
        border-top: 1px solid #ccc !important;
    }

    ul.page-sidebar-menu > li:last-child > a {
        border-bottom: 0 !important;
    }

    ul.page-sidebar-menu > li.open > a,
    ul.page-sidebar-menu > li > a:hover {
        color: #666666 !important;
        background-color: #dddddd !important;
    }

    ul.page-sidebar-menu > li.open > a {
        border-bottom-color: transparent !important;
    }

    ul.page-sidebar-menu > li.active > a {
        color: #ffffff !important;
        background-color: #28b779 !important;
    }

    ul.page-sidebar-menu ul.sub-menu > li > a {
        color: #111 !important;
    }

    ul.page-sidebar-menu ul.sub-menu > li.open > a,
    ul.page-sidebar-menu ul.sub-menu > li.active > a,
    ul.page-sidebar-menu ul.sub-menu > li > a:hover {
        color: #666666 !important;
        background: #dddddd !important;
    }

    .page-sidebar .sidebar-search input {
        background-color: #f1f1f1 !important;
    }

    .page-sidebar .sidebar-search .input-box {
        border-bottom-color: #ccc !important;
    }

    .page-sidebar .sidebar-search input, 
    .page-sidebar .sidebar-search input::-webkit-input-placeholder, 
    .page-sidebar .sidebar-search input:-moz-placeholder, 
    .page-sidebar .sidebar-search input:-ms-input-placeholder {
        color: #ccc !important;
    }

    .footer {
        background-color: #434343 !important;
    }

    .footer .footer-inner {
        color: #cccccc;
    }

    .footer .footer-tools .go-top {
        background-color: #666666;
    }

    .footer .footer-tools .go-top i {
        color: #999999;
    }
}

@media (max-width: 767px) {
    body {
        background-color: #333 !important;
    }
}

.portlet.box.grey > .portlet-title {
    background-color: #c02427;
}

.portlet.box.grey {
    border: 1px solid #c02427;
    border-top: 0;
}

.page-sidebar.navbar-collapse.collapse{
    background-color: #ffe0e0;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #fff;
    background-color:#428bca;
}

a {
    text-shadow: none !important;
    color: #428bca;
}
