html,
body {
    height: 100%;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

#wrapper {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

video{
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.bookmarklet {
    display: inline-block;
    color: #337AB7;
    margin: 0 5px;
    border: 1px solid #337AB7;
    border-radius: 6px;
    background-color: #f5f5f5;
    padding: 3px 10px;
    font-weight: bold;
}

/* Editor */
.fieldsetsmall {
    text-align: left;
    line-height: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #2a6191;
    background-color: #e0f2fa;
    display: block;
    -webkit-margin-start: 2px;
    -webkit-margin-end: 2px;
    -webkit-padding-before: 0.35em;
    -webkit-padding-start: 0.75em;
    -webkit-padding-end: 0.75em;
    -webkit-padding-after: 0.625em;
    border: 2px groove threedface;
    border-image-source: initial;
    border-image-slice: initial;
    min-width: -webkit-min-content;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px 20px 20px;
}

.fieldsetsmall .table-bordered > thead > tr > th,
.fieldsetsmall .table-bordered > tbody > tr > th,
.fieldsetsmall .table-bordered > tfoot > tr > th,
.fieldsetsmall .table-bordered > thead > tr > td,
.fieldsetsmall .table-bordered > tbody > tr > td,
.fieldsetsmall .table-bordered > tfoot > tr > td,
.fieldsetsmall .table > thead > tr > th,
.fieldsetsmall table {
    border: 1px solid #7dc3e5;
}

.fieldsetsmall .nav-tabs > li > a,
.fieldsetsmall .nav-tabs > li.active > a,
.fieldsetsmall .nav-tabs > li.active > a:hover,
.fieldsetsmall .nav-tabs > li.active > a:focus {
    border-top: 1px solid #7DC3E5;
    border-left: 1px solid #7DC3E5;
    border-right: 1px solid #7DC3E5;
}

.fieldsetsmall .table-bordered > thead {
    background-color: #badbe6;
}

.fieldsetsmall .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.fieldsetsmall .table-striped > tbody > tr:nth-of-type(even) {
    background-color: #eaf8fa;
}

.fieldsetsmall.project > .legend_title {
    font-size: 20px;
}

.legend_title {
    font-weight: bold;
    font-size: 15px;
    color: #2a6191;
    border: 2px solid #2a6191;
    background-color: white;
    border-radius: 9px;
    padding: 1px 15px;
    width: inherit;
    cursor: pointer;
}

.container-group {
    text-align: left;
    margin-top: 30px;
    color: #2a6191;
    background-color: #FFF;
    border: 1px solid #999;
    padding: 10px;
}

.useBorder {
    border: 1px solid #999;
}

.rowNoMargin {
    margin: 0;
    padding: 0;
}

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

.buttons-group > * {
    margin-right: 5px;
}

.alignBottomInTable {
    display: table-cell;
    vertical-align: bottom;
    float: none;
}

.alignMiddleInTable {
    display: table-cell;
    vertical-align: middle;
    float: none;
}

.numberCircle {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background: #3a8bd1;
    border: 1px solid #2d6ca2;
    color: white;
    text-align: center;
    font: 12px Arial, sans-serif;
    display: inline-block;
    font-weight: bold;
    padding-top: 2px;
}

.groupIcon {
    width: 20px;
    height: 20px;
    border: 1px solid #004380;
    color: #004380;
    text-align: center;
    font: 12px Arial, sans-serif;
    display: inline-block;
    font-weight: bold;
    padding-top: 2px;
    margin: 2px;
    background: white;
}

/* Progress bar with score */

#progress-bar {
    width: auto;
    max-width: 110px;
    min-width: 50px;
    margin: 0 auto;
    background: #cccccc;
    border: 3px solid #f2f2f2;
}

#progress-bar-percentage-pass {
    background: #536E02;
    padding: 1px 0;
    color: #FFF;
    font-weight: bold;
    text-align: center;
}

#progress-bar-percentage-nopass {
    background: #CC0000;
    padding: 1px 0;
    color: #FFF;
    font-weight: bold;
    text-align: center;
}

.all-rounded {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.spacer {
    display: block;
}

/* Avatar */
.mini-avatar,
.small-avatar,
.medium-avatar,
.big-avatar {
    margin-right: 10px;
    cursor: pointer;
    border: 1px solid #337AB7;
}

/* Icons modifications */
.glyphicon.glyphicon-trash {
    color: #E01903;
}

.glyphicon.glyphicon-trash:hover {
    color: #770e01;
}

.fa-user-times {
    color: #ce9103;
}

.fa-user-times:hover {
    color: #745202;
}

i.fa {
    font-size: 1.15em;
}

.grid-view {
    overflow: auto;
    overflow-y: hidden;
}

.dropdown-menu li a {
    max-width: 400px;
}

.noactiverow,
.noactiverow .glyphicon.glyphicon-trash,
.noactiverow a {
    color: #999;
}

.noevaluated {
    opacity: 0.6;
}

.noevaluated .selected .criteria-box > .thumbnail {
    background: white;
    color: #2a6191;
}

.noEvaluateBtnHtml label {
    display: block;
    margin-bottom: 13px;
}

.sharelittlebtn {
    float: right;
    border: 1px solid;
    border-radius: 74px;
    padding: 5px 5px 5px 4px;
}

.sealed {
    margin-left: 3px;
}

/* Badges */
#badge_slider {
    margin-top: 14px;
    margin-bottom: 10px;
}
.badge-img-earned{
    margin: 7px;
    cursor: pointer;
}

.targetBadgetImage{
    border:1px solid #ccc;
    background:#fff;
    height: 220px;
    width: 200px;
    margin:0px auto;
    cursor:pointer;
    font-size: 0;
    font-weight: bold;
    line-height: 216px;
}
img.targetBadgetImage:before {
    content: " ";
    display: block;
    top: 0;
    left: 15%;
    height: calc(100%);
    width: 70%;
    background-color: rgb(230, 230, 230);
    border: 2px dotted rgb(200, 200, 200);
    border-radius: 5px;
    position: absolute;
}

img.targetBadgetImage:after {
    content: "\f127" attr(alt);
    display: block;
    font-size: 16px;
    font-style: normal;
    font-family: FontAwesome;
    color: rgb(100, 100, 100);

    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    text-align: center;
}

/* FIX ISSUES */
/* Fix switcher width */
.bootstrap-switch-container {
    width: 300px !important;
}

/* Fix table adjustment */
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    white-space: normal !important;
}