/**
 * Overrides de tema antd para Pyrolac CRM.
 * Estas reglas aplican las variables custom que antes se inyectaban via LESS.
 * antd 2 LESS es incompatible con LESS 4.1 de Meteor 3.4.
 */

/* Primary color: #5c8aea */
.ant-btn-primary {
  background-color: #5c8aea;
  border-color: #5c8aea;
}
.ant-btn-primary:hover,
.ant-btn-primary:focus {
  background-color: #345499;
  border-color: #345499;
}

/* Font */
body {
  font-family: sans-serif;
  font-size: 12px;
  color: #000000;
}

/* Layout */
.ant-layout-header {
  background: white;
  padding: 0 16px;
}
.ant-layout {
  background: #eeeeee;
}

/* Buttons */
.ant-btn-lg {
  height: 40px;
  font-weight: 500;
}

/* Input */
.ant-input-lg {
  height: 36px;
}

/* Hover */
.ant-table-tbody > tr:hover > td {
  background: #e7f6ff;
}
.ant-select-dropdown-menu-item:hover {
  background-color: #e7f6ff;
}

/* Border */
.ant-input,
.ant-select-selection,
.ant-btn {
  border-color: #e2e2e2;
}

/* Links / primary text */
a,
.ant-tabs-nav .ant-tabs-tab-active,
.ant-menu-item-selected > a {
  color: #5c8aea;
}

h1, h2, h3 {
  color: #5c8aea;
  font-weight: normal;
}

/* Sider / Navigation - light sidebar con selección azul */
.ant-layout-sider,
.main-menu-container {
  background: #ffffff;
}
.main-menu-container .main-menu {
  background: #ffffff;
  border-right: 1px solid #e9e9e9;
}
.main-menu-container .main-menu .ant-menu-item-selected {
  background-color: transparent !important;
}
.main-menu-container .main-menu .ant-menu-item-selected > a,
.main-menu-container .main-menu .ant-menu-item-selected .nav-icon {
  color: #5c8aea !important;
}
.main-menu-container .logo-container {
  background: #ffffff;
}

/* Login page */
.login-page-container {
  background: #eeeeee;
}

/* Disabled inputs legibles */
.ant-input-disabled,
.ant-select-disabled,
.ant-input-number-input,
.ant-input-number-disabled,
.ant-select-disabled > .ant-select-selection__choice,
.ant-time-picker-input[disabled] {
  color: black !important;
}
