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;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.row-dark {
	color: #c0c0c0;
    background-color: #f8f8f8;
    margin: 0 0 3px 0;
}
.row-dark .day-date {
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.row-today {
	background-color: #f0ad4e;
	color: #fff;
	border-radius: 4px;
	padding: 3px 0;
}
.day-status.status-success {
	   color: #5cb85c;
}
.day-status.status-info {
	   color: #31b0d5;
}
.day-status.status-danger {
	   color: #c9302c;
}
.row-header {
	background-color: #f8f8f8;
	border: 1px solid #e7e7e7;
	    border-radius: 4px;
	    padding: 5px 0;
	    margin: 0 0 3px 0;
	    font-weight: bold;
}
.day-date {
	padding-left: 25px;
	padding-top: 10px;
}
.btn-add-item { opacity: 0.2; display: block; padding: 10px 0; }
.btn-add-item:hover { opacity: 1; }
.date-today { background-color: #f0ad4e; padding: 5px 4px 3px 4px; color: #fff; display: inline-block; position: relative; left: -5px; }
.item-box { border-radius: 3px; border: 1px solid #ccc; display: block; padding: 1px 2px 4px 2px; cursor: pointer; position: relative; margin-bottom: 6px; }
.item-box a { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; }
.item-box .label { font-size: 90%; text-align: center; display: inline-block; padding-top: 5px; position: relative; top: 2px;}
/*.item-box span { margin-right: 3px;}*/
.item-box-title  { top: 2px; position: relative; padding: 3px; }
.col-note, .col-task { padding-top: 10px; }

.sortable li { border: none; padding: 0 !important; margin: 0; }
.sortable { border: none; }
.updating-info {margin-top: 5px; display: block;}

@media screen and (max-width: 992px) {
    .item-box {
        width: 100%;
        
        margin-bottom: 4px;
    }
    .item-box-title {
        padding: 5px;
    }
    .day-date {
        padding-left: 15px;
        
    }
    .day-value {
        border: 1px solid orange;
        float: left;
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }
}

.item-box-note {
	background: #cfe2ff;
	border-color: #9ec5fe;
	color: #052c65;
}

.item-box-done {
	background: #d1e7dd;
	border-color: #a3cfbb;
	color: #0a3622;
}

.item-box-deadline {
	background: #fff;
	border-color: #dc3545;
	color: #dc3545;
}