.obligation-heading {
    text-align: center;
}

.obligation-list {
    padding: 0;
    margin: 0 auto; /* Center */
    margin-top: 0.3rem;
    display: block; 
    width: fit-content; 
}

.obligation {
    font-weight: bold;
}

.obligation-date {
    font-weight: normal;
    font-size: 0.8rem;
    font-style: italic;
}
    
.rotated {
    white-space: nowrap;
    width: 25px;
    height: 160px;
    position: relative;
}

.rotatedText{
    position: absolute;
    bottom: 0;
    transform-origin: left;
    width: 155px;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: rotate(-90deg) translateX(-8px) translateY(12px);
}

.addButton {
    cursor: pointer;
    -moz-box-shadow:inset 0px 1px 0px 0px #caefab;
    -webkit-box-shadow:inset 0px 1px 0px 0px #caefab;
    box-shadow:inset 0px 1px 0px 0px #caefab;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #77d42a), color-stop(1, #5cb811) );
    background:-moz-linear-gradient( center top, #77d42a 5%, #5cb811 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#77d42a', endColorstr='#5cb811');
    background-color:#77d42a;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    border:1px solid #268a16;
    display:inline-block;
    color:#474747;
    font-family:arial;
    font-size:12px;
    font-weight:normal;
    padding-top:4px;
    padding-bottom: 4px;
    width: 150px;
    text-align: center;
    text-decoration:none;
    text-shadow:1px 1px 0px #aade7c;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.addButton:hover{
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #5cb811), color-stop(1, #77d42a) );
    background:-moz-linear-gradient( center top, #5cb811 5%, #77d42a 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5cb811', endColorstr='#77d42a');
    background-color:#5cb811;
}
.addButton:active{
    position:relative;
    top:1px;
}

#sortable{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#sortable li {
    margin: 3px 3px 3px 0;
    padding: 1px;
    float: left;
}

.sizingButton {
    cursor: pointer;
    user-select: none;
    margin-right: 5px;
    float:right;
    background-color:#ECECEC;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #E0E0E0;
    display:inline;
    color:#666666;
    font-family:arial;
    font-size:13px;
    font-weight:bold;
    padding:3px 15px;
    text-decoration:none;
    text-shadow:1px 1px 0px #ffffff;
}.sizingButton:hover {
    background-color:#dfdfdf;
}.sizingButton:active {
    position:relative;
    top:1px;
}
.deleteButton {
    cursor: pointer;
    -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
    -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
    box-shadow:inset 0px 1px 0px 0px #ffffff;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) );
    background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9');
    background-color:#f9f9f9;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    border:1px solid #999;
    display:inline-block;
    color:#666666;
    font-family:arial;
    font-size:12px;
    font-weight:normal;
    padding-top:4px;
    padding-bottom: 4px;
    width:100px;
    text-decoration:none;
    text-shadow:1px 1px 0px #ffffff;
    text-align: center;
}

.addLink{
    text-decoration: none;
    color: green;
    cursor: pointer;
    font-size: 13px;
}
.addLink:hover{
    text-decoration: underline;
    color: #222;
}

.main-header {
    padding: 0.3rem 2.4rem 0.3rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
}

.main-header a {
    color: inherit !important;
}

#content {
    display: flex;
}

main {
    flex-grow: 999;
    padding: 0.6rem;
}

.sidebar {
    padding: 2.4rem;
    border-right: 3px solid #CCCCCC;
}

.sidebar-heading {
    font-weight: bold;
    padding: 1.2rem 0;
}

.sidebar-heading, .sidebar-item {
    display: block;
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 0.3rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 15px;
    color: black !important;
}

.sidebar-item:hover{
    color: #222;
    font-size: 15px;
}

.sidebar-item img {
    max-width: 40px;
}
