/**
 * Axelor Business Solutions
 *
 * Copyright (C) 2005-2016 Axelor (<http://axelor.com>).
 *
 * This program is free software: you can redistribute it and/or  modify
 * it under the terms of the GNU Affero General Public License, version 3,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
header {
	font-weight: 600;
}

header .navbar-inner {
	background-color: #fff;
	box-shadow: none !important;
}

header .navbar .nav > li > a {
	color: #676a6c;
	font-weight: 600;
}

header .navbar .nav li.dropdown.open > .dropdown-toggle {
	background-color: #fff;
}

header .navbar .nav .dropdown-menu {
	box-shadow: none;
	border: 1px solid #e7e7e7;
}

header .navbar .nav .dropdown-submenu > .dropdown-menu {
	margin-left: 0;
}

header .navbar .nav .dropdown-menu > li > a {
	padding: 6px 25px 6px 20px;
	line-height: 20px;
}

header .navbar .nav .dropdown-submenu > a:after {
	margin-right: -15px;
}

header .navbar .nav > li > a:focus,
header .navbar .nav > li > a:hover,
header .navbar .nav > li.dropdown.open > a.dropdown-toggle {
	color: #16a765;
}

header .navbar .nav .dropdown-menu > li > a:hover,
header .navbar .nav .dropdown-menu > li > a:focus,
header .navbar .nav .dropdown-submenu:hover > a,
header .navbar .nav .dropdown-submenu:focus > a {
	color: #fff;
	background-color: #16a765;
}

header .navbar .nav .dropdown-submenu:hover > a:after {
	border-left-color: #fff;
}

.slick-header-menuitem:hover {
	color: #fff;
	background-color: #5377b1;
	background-image: none;
}
.ui-datepicker .ui-state-active,
.ui-datepicker .ui-slider-handle.ui-state-hover {
	color: #fff !important;
	background-color: #16a765 !important;
	background-image: none !important;
}
.ui-datepicker .ui-slider-handle.ui-state-focus,
.ui-datepicker .ui-slider-handle.ui-state-hover,
.ui-datepicker .ui-state-highlight {
	border: 1px solid #16a765 !important
}
.ui-menu .ui-menu-item a.ui-state-focus {
	color: #262626;
	text-decoration: none;
	border-color: #f5f5f5;
	background-color: #f5f5f5;
	background-image: none;
}

.sidebar {
	background-color: #2f4050;
}

.view-tabs {
	background-color: #f3f3f4;
}

.nav-tabs-wrap {
	height: 38px;
	background-color: #fff;
	border-bottom: 1px solid #e7e7e7;
}

.nav-tabs-wrap.empty {
	display: none;
}

.nav-tabs > li {
	margin-right: -1px;
	margin-bottom: -1px;
}

.nav-tabs > li > a {
	color: #555;
	background-color: #fff;
	padding-top: 6px;
	padding-bottom: 6px;
}

.nav-tabs > li.active > a {
	color: #333;
}

.nav-tabs > li > a,
.nav-tabs > li.active > a {
	margin: 0;
	border-radius: 0;
	border: 1px solid #e7e7e7;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus,
.nav-tabs > li:hover > a {
	color: #333;
	border: 1px solid #e7e7e7;
	background-color: #fff;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
	border: 1px solid #e7e7e7;
	border-bottom: 1px solid transparent;
	background-color: #fff;
	border-top: 2px solid #16a765 !important;
	padding-top: 5px;
}

.nav-tabs-strip {
	height: 32px;
	background-color: #f3f3f4;
}

.nav-tabs-strip .nav-tabs {
	padding: 0 8px;
	border-bottom-color: #e7e7e7;
}

.nav-tabs-overflow .nav-tabs {
	padding: 0;
}

.nav-tabs-scroll-l,
.nav-tabs-scroll-r {
	bottom: 6px;
	margin-top: 0;
	padding-top: 8px;
	background-color: #f3f3f4;
	border-bottom: 1px solid #e7e7e7;
}

.nav-tabs-scroll-l a,
.nav-tabs-scroll-r a {
	width: 100%;
	padding-left: 3px;
}

table.form-layout .tabbable-tabs .tab-content {
	border-color: #e7e7e7;
}

.bordered,
.bordered-box {
	border-color: #e7e7e7;
}

.view-container .form-view > div[ui-view-form].has-width {
	background-color: #f3f3f4;
}

/** remove corners */
.btn,
.ui-menu,
.dropdown-menu,
.slick-header-menu,
[class*="ui-corner"] {
	border-radius: 0 !important;
}
.portlet,
.portlet-header .navbar-inner,
.portlet-body,
.portlet-content {
	border-radius: 0 !important;
}
input, button, textarea, select, fieldset, pre {
	border-radius: 0 !important;
}
.tag-select,
.tag-select .label {
	border-radius: 0;
}
.tag-select .picker-icons > i.fa {
	padding-top: 3px;
}

.select-item .picker-icons i.fa-times {
	font-size: 12px;
	color: #ccc;
}

.select-item .picker-icons i.fa-times:hover {
	color: #333;
}

.m2o-editor-controls i.fa,
.picker-icons i.fa {
	color: #ccc;
}
.m2o-editor-controls i.fa:hover,
.picker-icons i.fa:hover {
	color: #333;
}

.progress,
.progress .bar {
	border-radius: 0 !important;
	box-shadow: none;
}

.nvd3.nv-noData {
	font-weight: 400;
	fill: #333333;
}

/* jquery fixes */
.ui-widget-header a {
	color: #0088cc;
}
.ui-dialog .ui-dialog-titlebar a {
	color: #222;
}
