/** Generic overwrites of the Twitter Bootstrap css*/
body {
/*    font-size: 13px;*/
}
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* remove the gap so it doesn't close */
 }


/*  TABLES  */

table.dataTable tbody th, table.dataTable tbody td, table.dataTable thead th, table.dataTable thead td {
     padding: 4px; 
}

table {
    font-size: 13px;
    line-height: 18px;
}
.table.small {
    width: 500px;
}
.table.small th, .table td, .table th {
    padding: 3px;
}
.table th, .table td {
    padding: auto;
    line-height: auto;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
.table th {
    border-top: 1px solid #fff;
}
th {
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #ddd;
    background-color: #ddd;
}
/*thead {
    border-top: 2px solid #999;
    border-bottom: 2px solid #999;
}*/

.table tr.highlight td { background-color: yellow !important; }

/*  INPUTS  */
textarea, .uneditable-input {
    width: auto;
    height: auto;
    overflow: auto; /* fix IE */
    position: relative; /* fix IE */
}
label, input, button, select, textarea {
    width: auto;
    height: auto;
    font-size: 12px;
    font-weight: normal;
    line-height: 20px;
}
label, input, button, select, textarea {
    font-size: 12px;
}

select, 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 {
    display: inline-block;
    /* [disabled]height: 20px;
    */
    padding: 2px 4px;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 20px;
    color: #222;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
input[type="radio"], input[type="checkbox"] {
    margin: 2px;
    margin-top: 1px 9;
    line-height: normal;
}
select, input[type="file"] {
    height: 26px;
}
textarea {
    resize: none;
}
textarea {
    resize: vertical;
}
select {
    width: auto;
    margin-bottom: 2px;
}
input[type="text"].required, select.required, input[type="checkbox"].required {
    border-left: 1px solid red;
}

select.select-full {
    width: 100%;
}


/*  PANELS  
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.05);
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
    overflow: hidden;
}
.panel-primary {
    border-color: #428bca;
}
.panel-info {
    border-color: #bce8f1;
}
.panel-success {
    border-color: #d6e9c6;
}
.panel-warning {
    border-color: #faebcc;
}
.panel-danger {
    border-color: #ebccd1;
}
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}
.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
}
.panel-info>.panel-heading {
    color: #3a87ad;
    background-color: #d9edf7;
    border-color: #bce8f1;
}
.panel-primary>.panel-heading {
    color: #fff;
    background-color: #428bca;
    border-color: #428bca;
}
.panel-warning>.panel-heading {
    color: #c09853;
    background-color: #fcf8e3;
    border-color: #faebcc;
}
.panel-danger>.panel-heading {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.panel-success>.panel-heading {
    color: #468847;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.panel-body {
    padding: 15px;
}*/


/*  BADGES  */
.badge {
    padding: 1px 9px 2px;
    font-size: 12.025px;
    font-weight: bold;
    white-space: nowrap;
    color: #ffffff;
    /* [disabled]background-color: #999999; */
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}
.badge a {
    color: #FFFFFF;
}
.badge:hover {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}
.badge-error {
    background-color: #b94a48;
}
.badge-error:hover {
    background-color: #953b39;
}
.badge-warning {
    background-color: #f89406;
}
.badge-warning:hover {
    background-color: #c67605;
}
.badge-success {
    background-color: #468847;
}
.badge-success:hover {
    background-color: #356635;
}
.badge-info {
    background-color: #3a87ad;
}
.badge-info:hover {
    background-color: #2d6987;
}
.badge-inverse {
    background-color: #333333;
}
.badge-inverse:hover {
    background-color: #1a1a1a;
}



.popover-inner {
    width: 600px !important;
}
.popover, .popover h3.title, .popover .content {
    font-size: 12px;
}
/* The max width is dependant on the container (more info below) */
.popover{
    max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

.q.alert.alert-info.collapse, #q{
    padding: 0px;
    border: 0px ;
    margin: 0px;
}
.q.alert.alert-info.collapse.in, #q.alert.alert-info.in.collapse{
    padding: 8px 35px 8px 14px;
    border: auto ;
}


.pagination {
    margin: 0 auto;
    /*padding-top: 20px;*/
}
.pagination a {
    text-decoration: none;
}
a.btn-info.dropdown-toggle {
    color: #ffffff;
}
#modalBox {
    width: 600px;
    overflow: auto;
    max-height: 550px;
    height: 700px;
}
ol.decimal {
    width: 250px;
}
ol.decimal li {
    list-style-type: decimal !important;
}



.grey-dark {
    background-color: #B2B2B2;
}
.grey-medium {
    background-color: #B2B2B2;
}
.grey-light {
    background-color: #B2B2B2;
}
/*.container-fluid > .sidebar {
    position: relative;
    top: 0;
    left: auto;
    width: 220px;  width of sidebar 
}
.container-fluid > .content {
    margin: 0 240px;  width of sidebars + 10px of margin 
}*/




/*  CHROME FIX FOR POPOVER op FONTAWESOME icon  */
[rel="popover"]{
    cursor: pointer;
    display:inline-block; /* chrome-fix */
}


/* CAROUSEL override */
.carousel {
    margin-bottom: 0px;  
}

.breadcrumb {
    font-size:x-small;
}

/* Side notes for calling out things
-------------------------------------------------- */

/* Base styles (regardless of theme) */
.bs-callout {
  margin: 20px 0;
  padding: 15px 30px 15px 15px;
  border-left: 5px solid #eee;
}
.bs-callout h4 {
  margin-top: 0;
}
.bs-callout p:last-child {
  margin-bottom: 0;
}
.bs-callout code,
.bs-callout .highlight {
  background-color: #fff;
}

/* Themes for different contexts */
.bs-callout-danger {
  background-color: #fcf2f2;
  border-color: #dFb5b4;
}
.bs-callout-warning {
  background-color: #fefbed;
  border-color: #f1e7bc;
}
.bs-callout-info {
  background-color: #f0f7fd;
  border-color: #d0e3f0;
}


/* grid systems  */
.row{
    margin-bottom:10px;
}


/* rel=tooltip overrule z-index */
.tooltip {
  z-index: 2147483647;
}

.tt-dropdown-menu {
    max-height: 500px;
    overflow-y: scroll;
}

.ui-widget-content a {
    color: #337ab7;
}