/**
  Extra CSS for bootstrap
  This is also covers the boxed, normal, non responsive, max 1140, max 960 and fluid mode.
  
  1. Maximum width
  2. Boxed Style and non boxed style
  3. Typography
  4. Navigation
  5. Form elements
  6. Panel elements
  7. Button elements
  8. Pagination
  9. List Group
  10. Jumbotron
  11. Page Header
  12. Tabs
  
**/

/**
  Sizing and boxed or non boxed styles
  **/
.max-1340.style-boxed {
  max-width: 1380px;
}

.max-1170.style-boxed {
  max-width: 1210px;
}

.max-960.style-boxed {
  max-width: 1000px;
}

.max-fluid.style-boxed {
  max-width: 80%;
}

.style-boxed {
  margin: 30px auto;
  overflow: hidden;
}

.style-boxed.fluid {
  margin: 30px;
}

/**
  Handling bootstrap 3.2 container-fluids
  **/
.max-1340.style-normal .container-fluid {
  max-width: 1380px;
}

.max-1170.style-normal .container-fluid {
  max-width: 1210px;
}

.max-960.style-normal .container-fluid {
  max-width: 1000px;
}

/**
  Handling non responsive layout
  **/
.bs-fixed.max-1340 {
  min-width: 1340px;
}

.bs-fixed.max-1170 {
  min-width: 1170px;
}

.bs-fixed.max-1340 .container-fluid {
  max-width: none !important;
  width: 1310px;
}

.bs-fixed.max-1170 .container-fluid {
  max-width: none !important;
  width: 1140px;
}

.bs-fixed.max-960 {
  min-width: 960px;
}

.bs-fixed.max-960 .container-fluid {
  max-width: none !important;
  width: 930px;
}

.bs-fixed.max-fluid .container-fluid {
  max-width: none !important;
  width: 100%;
}

/**
  Additional General Bootstrap overriding
  **/
img {
  max-width: 100%;
}

h1, h2, h3 {
  margin-top: 0;
}

table {
  margin-bottom: 20px;
}

.pagination-center {
  text-align: center;
}

.pagination-right {
  text-align: right;
}

.pagination {
  display: inline;
}

.pagination li {
  display: inline-block;
}

.btn-group.inline > * {
  display: inline;
  width: auto;
  vertical-align: middle;
}

ul, ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

ul.unstyled,
ol.unstyled {
  margin-left: 0;
  margin-right: 0;
  list-style: none;
  padding: 0;
}

ul.inline,
ol.inline {
  margin-left: 0;
  list-style: none;
  font-size: 0;
}

ul.inline > li,
ol.inline > li {
  display: inline-block;
  *display: inline;
  padding-right: 5px;
  padding-left: 5px;
  *zoom: 1;
  font-size: 13px;
}

.nav > li {
  margin-right: 3px;
}

.nav > li > a {
  padding: 5px 10px;
}

/**
  Form Elements
  **/
label,
input,
button,
select,
textarea {
  font-weight: normal;
  line-height: 20px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

label {
  display: block;
  margin-bottom: 20px;
  font-size: 16px;
}

.form-group {
  margin-bottom: 30px;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input,
.bootstrap-select > .selectpicker {
  /* Remove First */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  padding: 10px 15px;
  /**margin-bottom: 20px;**/
  min-height: 43px;
  font-size: 16px;
  line-height: 22px;
  max-width: 100%;
  vertical-align: middle;
  width: 100%;
  border-width: 1px;
  border-style: solid;
  border-radius: 0;
  word-wrap: normal;
  box-shadow: none !important;
  outline: 0 !important;
}

input[type="button"],
input[type="submit"] {
  background-image: none;
  border-radius: 0;
  cursor: pointer;
  display: inline-block;
  line-height: 1.42857;
  margin-bottom: 0;
  padding: 14px 43px;
  text-align: center;
  vertical-align: middle;
  border: none;
  text-transform: uppercase;
}

.btn {
  border: none;
  border-radius: 4px;
  box-shadow: none !important;
  background-image: none !important;
  text-shadow: none !important;
  font-size: 14px;
  padding: 14px 43px;
  display: inline-block;
  line-height: 20px;
  text-transform: uppercase;
  word-wrap: break-word;
  white-space: normal;
  max-width: 100%;
}

.btn-primary {
  font-size: 16px;
  -moz-user-select: none;
  box-shadow: none !important;
  background-image: none !important;
  text-shadow: none !important;
}

.btn-icon i {
  padding-right: 10px;
}

.btn-icon-right i {
  padding-left: 10px;
}

.btn-icon-right i,
.btn-icon i {
  display: inline-block !important;
}

.form-row {
  position: relative;
}

table {
  width: 100%;
}

th,
td {
  padding: 7px;
}

ol,
pre,
ul,
p,
table,
dl {
  margin-bottom: 30px;
}

dd {
  margin-bottom: 20px;
}

blockquote {
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}

.media-heading {
  font-weight: bold;
  padding-bottom: 10px;
}

.media > .pull-left {
  margin-right: 40px;
}

.media > .pull-right {
  margin-left: 20px;
}

code {
  margin: 0 8px;
}

pre, code {
  padding: 8px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  word-wrap: break-word;
  white-space: normal;
}

/**
  Accordion
 **/
.panel-group .panel-heading .collapsible-icon {
  display: block;
  text-decoration: none !important;
  font-size: 14px;
}

.panel-group .panel-heading .collapsible-icon > i {
  margin-right: 15px;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  width: 24px;
  height: 24px;
  line-height: 20px;
  vertical-align: middle;
  text-align: center;
  display: inline-block;
  font-size: 12px;
}

.panel-group .panel-heading .collapsible-icon > i:before {
  content: "\f068";
}

.panel-group .panel-heading .collapsed > i:before {
  content: "\f067";
}

.panel-group .panel-default {
  margin: 20px 0;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
}

.panel-group .panel-default .panel-heading {
  height: 44px;
  line-height: 42px;
}

/**
  Tabs
  **/
.nav-tabs {
  margin-top: 20px;
}

.nav-tabs li {
  margin: 0;
  padding: 0;
  border: none;
}

.nav-tabs > li > a, .nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
  padding: 10px 15px;
  margin: 0;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  border-top-color: transparent;
  border-left-color: transparent;
  border-bottom-color: transparent;
  font-size: 13px;
}

.tab-content > .tab-pane {
  padding: 20px 15px;
  margin-top: -1px;
}

.jumbotron {
  padding: 30px 40px !important;
  clear: both;
}

.jumbotron .title {
  line-height: 140%;
  margin: 0;
}

.jumbotron .content {
  font-size: 18px;
  letter-spacing: 0.9px;
}

.carousel .in-viewport {
  display: inline-block !important;
}

.carousel .carousel-inner {
  padding: 0 30px;
}

.carousel-control.left,
.carousel-control.right {
  background: none;
  left: 5px;
  width: 30px;
  height: 30px;
  top: 50%;
  margin-top: -15px;
}

.carousel-control.right {
  right: 5px;
  left: auto;
}

.carousel-control i,
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
  position: static;
  width: 30px;
  height: 30px;
  box-shadow: none;
  text-shadow: none;
}

#navigation ul.nav > li ul.dropdown-menu a:focus,
#navigation ul.nav > li ul.dropdown-menu a:hover {
  background-image: none;
}

/**
  Panel inside panel
  **/
#page .panel > .panel-body .panel {
  border: none;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

#page .panel > .panel-body .panel-heading {
  background-color: transparent;
  margin-bottom: 1px;
}

/**
  Panel override
  **/
.panel {
  border-radius: 8px;
}

#page .panel .panel-heading {
  border-radius: 8px 8px 0 0;
}

#page .panel .panel-body {
  border-radius: 0 0 8px 8px;
}

#page .panel-toggle {
  margin-bottom: 5px;
}

/**
  Alerts
  **/
.alert-info .alert-link {
  color: #000033;
}

.alert-warning .alert-link {
  color: #764100;
}

.alert-danger .alert-link {
  color: #500000;
}

.list-group-item-heading {
  padding: 10px 15px;
  border-radius: 2px;
  margin-bottom: 15px;
}

.list-group-item > .badge {
  margin: 12px 10px;
}

#page .jumbotron h1,
#page .jumbotron h2,
#page .jumbotron h3,
#page .jumbotron h4,
#page .jumbotron h5,
#page .jumbotron h6 {
  color: inherit;
}

.page-header small {
  margin-left: 15px;
}

#page .well {
  background-image: none;
  border: none;
  box-shadow: none;
}

.thumbnail {
  padding: 1px;
}

/**
  Tabs
  **/
.tabs-wrapper ul.nav-tabs {
  border: none;
}

.tabs-wrapper ul.nav-tabs a {
  font-size: 18px;
  padding: 17px 20px;
  border: none;
}

.tabs-wrapper .tab-content {
  border: none;
}

/**
  Styling noUI slider
  **/
#page .bootstrap-range .form-range-slider {
  border: none;
  min-width: 160px;
  height: 44px;
  vertical-align: middle;
  padding: 0;
  box-shadow: none;
  float: none;
  display: table;
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  background: none;
  border: none;
}

/** We need to place the border here since display table cell screw up original border**/
#page .noUi-base {
  border-width: 1px;
  border-style: solid;
  height: 19px;
}

#page .noUi-handle {
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  height: 27px;
  left: -2px !important;
  top: -5px;
  width: 33px;
}

#page .noUi-handle-upper {
  left: -32px !important;
}

#page .noUi-handle:after,
#page .noUi-handle:before {
  border-left-width: 1px;
  border-left-style: solid;
  border-color: inherit;
  height: 10px;
  left: 14px;
  top: 8px;
}

#page .noUi-handle:after {
  left: 18px;
}

#page .noUi-background {
  border-radius: 0;
  box-shadow: none;
  display: table-cell;
  border-collapse: collapse;
  vertical-align: middle;
  border: none !important;
  background: inherit;
}

#page .noUi-origin {
  border-radius: 0;
}

#page .noUi-connect {
  box-shadow: none;
}

#page .noUi-target {
  border-radius: 0;
  background: none;
  box-shadow: none;
  margin: 0;
  padding: 0 1px;
}

#page .noUi-tooltip {
  border-radius: 0;
  bottom: -34px !important;
  font-size: 13px;
}

/**
  Styling the bootstrap switch
  **/
#page .bootstrap-switch,
#page .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger,
#page .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger,
#page .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
#page .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
  border-radius: 0;
}

#page .form-group.bootstrap-switch-mode {
  padding: 10px 10px 0 !important;
  border-width: 1px;
  border-style: solid;
  margin-bottom: 10px;
}

#page .form-group.bootstrap-switch-mode label {
  font-weight: normal;
}

#page .bootstrap-switch-mode label {
  margin-bottom: 5px;
}

html.js .bs-toggle-processed.bs-toggle-active .form-group-label,
html.js .bs-toggle-processed.bs-toggle-active > label:not(.sr-only) {
  margin-bottom: 10px;
}

/** Bootstrap datepicker **/
#page .datepicker-grouped-inside {
  position: relative;
}

#page .datepicker-dropdown {
  border-radius: 0;
  outline: 0;
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 260px;
  padding: 5px;
  margin: 2px 0 0;
  font-size: 14px;
  list-style: none;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

#page .datepicker-dropdown:before,
#page .datepicker-dropdown:after {
  display: none;
}

/**
  Styling the bootstrap select globally
  **/
#page .bootstrap-selectpicker-group {
  z-index: auto;
}

#page .bootstrap-select > .selectpicker {
  height: auto;
  max-height: none;
  max-width: 100%;
  outline: 0 !important;
  white-space: nowrap;
  position: static;
  text-transform: none;
}

#page .bootstrap-select .selectpicker:after {
  left: auto;
  position: absolute;
  right: 0;
  top: 7px !important;
}

#page .bootstrap-select.btn-group .btn .caret {
  display: none;
}

.bootstrap-select .dropdown-menu {
  border-radius: 0;
  outline: 0;
  position: absolute;
  top: 48px;
  left: 0;
  display: none;
  min-width: 160px !important;
  padding: 5px 0;
  margin: -2px 0 0;
  list-style: none;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  bottom: auto;
  width: 100%;
}

#page .open > .dropdown-menu {
  display: block;
}

#page .dropdown-menu li {
  margin: 0;
}

#page .dropdown-menu > li > a {
  display: block;
  padding: 5px 15px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  white-space: nowrap;
}

#page .bootstrap-select .dropdown-menu a {
  outline: 0;
  display: block;
  padding: 5px 15px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  white-space: nowrap;
  border: none;
}

/** bootstrap select **/
.bootstrap-select .dropdown-menu a:hover,
.bootstrap-select .dropdown-menu a:focus {
  text-decoration: none;
}