/* GLOBAL */
body {
    color: #606060;
    font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: #333;
  text-decoration: none;
}

a:focus, a:hover {
  color: #333;
  text-decoration: none;
}

.nav > li > a:focus,
.nav > li > a:hover {
  text-decoration: none;
  background-color: transparent;
}

.tab-pane {
    margin-top: 15px;
}

td > .form-group {
    margin-bottom: 0;
}

.panel-footer ul.pagination {
    margin: 0;
}
.panel.panel-default .panel-footer {
    background: none;
}

.panel-heading h4 a:after {
    font-family: 'FontAwesome';
    content: "\f107";
    margin-right: 10px;
}

.panel-heading h4 a.collapsed:after {
    content:"\f105";
}

body {
    margin-bottom: 20px;
}

/* HEADER */
header {
    line-height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
}

h1 {
    font-size: 20px;
    margin: 0;
    line-height: 50px;
}

h2 {
    font-size: 18px;
}

.logout a {
    color: #606060;
    font-weight: bold;
}

.logout i {
    color: #333;
    padding: 0 8px;
    vertical-align: middle;
    font-size: 1.60em;
}

.padded-top {
  margin-top: 15px;
}

/* NAVBAR */
.navbar {
    border-radius: 0px;
}

.navbar-blue .nav>li {
    padding: 0 10px;
}

.navbar-blue a {
    color: #fff;
}

.navbar-blue {
    background: #444D56;
}

.navbar-blue .active {
    background: #4E5965;
}

.navbar-blue li:hover {
    background: #4E5965;
}

/* Logo Style */
.brand-logo {
    height: 50px;
}

/* Subtitle */
.page-header h2 {
  margin: 0;
}

/* Ajax spinner */
.spinner {
  margin: 7px;
  display: block;
  width: 16px;
  height: 16px;
  background: url(../ajax-loader.gif) no-repeat center;


}/* The surveys editor */

    /* Make inputs and textarea the same size */
    .page-cms-surveys form input[type=text], .page-cms-surveys form textarea {
        width: 90%;
    }

/* Metaplan Colors */
.metaplan_type1.panel-heading
{
    background-color: #7dd6da;
}

.metaplan_type2.panel-heading
{
    background-color: #f56dc1;
}

.metaplan_type3.panel-heading
{
    background-color: #a5de4f;
}

.metaplan_type4.panel-heading
{
    background-color: #fed201;
}

.flag {
  vertical-align: initial;
}

/* Filtering forms */
.form-inline.form-filter .form-group {
    margin-right: 10px;
}

.form-inline.form-filter fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

.form-inline.form-filter legend {
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
    width: auto;
    padding: 0 10px;
    border-bottom: none;
    color: #606060
}

/* Waiting trainings */
tbody.waiting-trainings, tbody.recent-trainings {
    border-left: solid 2px #286090;
}
tbody.waiting-trainings + thead th {
    border-top-width: 2px;
}
.waiting-trainings .spinner {
    margin: 2px 1ex 0 0;
    display: inline-block;
    position: relative;
    top: 2px;
}
.waiting-trainings td:first-of-type {
    font-style: italic;
}
.waiting-trainings th:not(:first-of-type),
.waiting-trainings td:not(:first-of-type) {
    text-align: center;
}
tbody.recent-trainings aside {
    font-style: italic;
    font-size: smaller;
    color: #286090;
}

/* Pagination using <button>

This is a copy of styles from bootstrap that only works for <a>

 */

.pagination > li > button {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.pagination > li:first-child > button {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pagination > li:last-child > button {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.pagination > li > button:hover,
.pagination > li > button:focus {
  z-index: 3;
  color: #23527c;
  background-color: #eee;
  border-color: #ddd;
}
.pagination > .active > button,
.pagination > .active > button:hover,
.pagination > .active > button:focus {
  z-index: 2;
  color: #fff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
}
.pagination > .disabled > button,
.pagination > .disabled > button:hover,
.pagination > .disabled > button:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}
.pagination-lg > li > button {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
}
.pagination-lg > li:first-child > button {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.pagination-lg > li:last-child > button {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.pagination-sm > li > button {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
}
.pagination-sm > li:first-child > button {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.pagination-sm > li:last-child > button {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
