html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.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;
}

.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;
}

/**
* Login form
**/
#login-form {
    margin-top: 1em;
}
@media (min-height: 500px) {
    #login-form {
        margin-top: 4em;
    }
}
@media (min-height: 600px) {
    #login-form {
        margin-top: 8em;
    }
}

/**
* Jumbotron alert
*/

.jumbotron.app-jumbotron-alert {
    text-align: left;
}

/**
* AJAX animation
*/

.app-ajax-loader {
    display: none;
}
.app-ajax-loader .app-indicator {
    display: inline-block;
    vertical-align: middle;
}
.app-ajax-loader .app-indicator.app-indicator-lg {
    width: 32px;
    height: 32px;
    background: url('../images/ajax-loader-lg.gif');
}

/**
* Process
*/

#app-log {
    height: 400px;
    overflow-y: auto;
    border: 1px solid #DFDFDF;
    border-radius: 3px;
    padding: 5px;
    margin-bottom: 20px;
}

/**
* Grid extras
*/

.app-per-page-switcher {
    float: right;
    margin: 20px 0;
}
.app-per-page-switcher .app-per-page-dropdown {
    width: auto;
    display: inline-block;
    margin-left: 1em;
}

tbody .app-action-column {
    text-align: center;
}

tbody .app-action-column a {
    margin-right: 0.5em;
}
tbody .app-action-column a:last-child {
    margin-right: 0;
}

td .progress {
    margin-bottom: 0;
}

/**
* Boolean cells
*/

.app-indexed-cell span.glyphicon-ok,
.app-found-cell span.glyphicon-ok {
    color: green;
}

.app-found-cell span.glyphicon-remove {
    color: darkred;
}

/**
* Buttons
*/
.app-header-buttons {
    float: right;
    margin-top: 4px;
    margin-left: 1em;
}

.btn-separator:after {
    content: ' ';
    display: inline-block;
    background: #ADADAD;
    margin: 0 10px;
    height: 2em;
    width: 1px;
    vertical-align: middle;
}

button[type="submit"].btn-primary,
button[type="submit"].btn-success {
    min-width: 8em;
}

/**
* Misc
*/

.table th label {
    margin: 0;
}

.table .app-select-checkbox {
    cursor: pointer;
}

.app-boolean-filter {
    padding-left: 0;
    padding-right: 0;
    min-width: 4.2em;
}

/*
Job form
 */
.app-request-methods-field label {
    display: block;
    cursor: pointer;
}

.app-child-checkbox {
    margin-left: 2em;
}

/*
Job grid
*/

.app-job-grid .app-action-column {
    width: 6em;
    text-align: left;
}
.app-job-grid .app-created_at-column {
    width: 15em;
}
.app-job-grid .app-status-column {
    width: 8em;
}
.app-job-grid .app-keyword_count-column {
    width: 4em;
}
.app-job-grid .app-progress-column {
    width: 8em;
}

/*
Job view
*/

.app-job-view .app-btn-restart,
.app-job-view .app-btn-pause,
.app-job-view .app-btn-resume {
     display: none;
 }
.app-job-view[data-status="error"] .app-btn-restart,
.app-job-view[data-status="pending"] .app-btn-pause,
.app-job-view[data-status="progress"] .app-btn-pause,
.app-job-view[data-status="paused-pending"] .app-btn-pause,
.app-job-view[data-status="paused"] .app-btn-resume {
    display: inline-block;
}

.app-job-view .app-btn-results-toolbar {
    display: none;
}
.app-job-view[data-status="completed"] .app-btn-results-toolbar {
    display: inline-block;
}
.app-job-view[data-status="completed"] .app-btn-results-toolbar-alt {
    display: none;
}

.app-job-view .app-show-results {
    display: none;
    margin-bottom: 20px;
}
.app-job-view[data-status="completed"] .app-show-results {
    display: block;
}

/*
Job results view
*/
#app-btn-log {
    min-width: 105px;
}

.app-job-results-grid .app-intitle_count-column,
.app-job-results-grid .app-search-volume-column,
.app-job-results-grid .app-ratio-column,
.app-job-results-grid .app-inpage_count-column,
.app-job-results-grid .app-domain_ranking-column {
    min-width: 8em;
}

.app-job-results-grid {
    overflow-x: auto;
}

.app-text-column {
    min-width: 10em;
}
.app-result-url-column {
    min-width: 20em;
}
.app-result-title-column {
    min-width: 20em;
}
.app-result-description-column {
    min-width: 30em;
}