body {
    font-family: 'Roboto', sans-serif !important;
}

.main-container {
    margin-top: 60px;
    padding-bottom: 60px;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    background-color: #466986 !important;
}

.navbar {
    background-color: #466986 !important;
}

.navbar-brand {
    color: black !important;
}

.image-with-header-image {
    width: 250px;
    height: 250px;
}

.card {
    max-height: 430px;
    overflow-y: auto;
    overflow-x: hidden;
}

.image-with-header-text {
    position: absolute;
    top: 50px;
    background: white;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
}

.image-with-header:hover {
    opacity: 0.7;
    box-shadow: 5px 10px 10px #888888;
}

.image-with-header + div :hover {
    top: 100px;
}

.with-space {
    margin-top: 25px;
    margin-bottom: 25px;
}

.full-width {
    width: 100%;
}

.user-message {
    position: fixed !important;
    bottom: 10px;
    width: 80%;
    margin-left: 10%;
    text-align: center;
    z-index: 20;
}

.post-container {
    padding: 15px;
    overflow-y: auto;
    width: 100%
}

.post-container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.post-container {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.post-box-container {
    padding: 5px;
}

.post {
    border-style: solid;
    border-color: beige;
    border-width: 1px;
    max-width: 300px;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 5px 8px 8px #888888;
    margin-bottom: 20px;
}

.post-info-box {
    margin-bottom: 10px;
}

.post-image {
    max-width: 100%;
    max-height: 250px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 2px 4px 4px #888888;
}

.post-user-icon {
    width: 20px;
}

.post-since-text {
    font-size: 10px;
    font-weight: 100;
    color: gray;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

.post-description {
    font-size: 13px;
}

@media (max-width: 960px) {
    .image-with-header {
        margin-top: 30px;
    }
}

.diary-table {
    text-align: left;
    width: 100%;
    margin-top: 15px;
}

.diary-table th {
    vertical-align: top;
    padding: 5px;
    border-style: solid;
    border-width: 1px;
}

.diary-table td:first-child {
    width: auto;
}

.diary-table td:nth-child(2) {
    width: auto;
}

.diary-table td:nth-child(3) {
    min-width: 400px;
}

.diary-table th:nth-child(4) {
    border: none;
}

.diary-table td:nth-child(4) {
    min-width: 50px;
}

.diary-table td {
    padding: 5px;
    vertical-align: top;
    border-style: solid;
    border-width: 1px;
}

.fa-edit:hover {
    cursor: pointer;
}

.fa-trash-alt {
    cursor: pointer;
}

.homeCalendarSumUp {
    width: 80%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

.homeCalendarSumUpContainer {
    text-align: center;
    border-style: solid;
    border-width: 1px;
    border-color: #888888;
    border-radius: 5px;
    margin-bottom: 10px;
}

.homeCalendarSumUpContainer p:first-child {
    font-weight: lighter;
    font-style: italic;
    margin-bottom: 5px;
}

.homeCalendarSumUpContainer p:nth-child(2) {
    margin-bottom: 5px;
}

.homeCalendarSumUpContainer p:nth-child(3) {
    font-weight: bold;
}

.houseAgeContainerElement span:first-child {
    font-weight: bold;
    font-size: xxx-large;
}

.toBringContainerSide {
    width: 100%;
    height: 100%;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    border-color: #888888;
    padding: 10px;
}

.doneElement {
    text-decoration:line-through;
}

#footer > p {
    margin-bottom: 2px;
}

.toDoElement, .doneElement {
    width: 100%;
    display: flex;
    flex: 1;
    flex-direction: row;
}

.toDoElement>p, .doneElement>p {
    display: flex;
    flex: 10;
}

.toDoElement>i, .doneElement>i {
    display: flex;
    flex: 1;
}

#newToBringBtn, #emptyDoneListBtn{
    margin-bottom: 10px;
}


@media (max-width: 960px) {
    .toBringContainerSide {
        margin-bottom: 30px;
    }
    .card {
        margin-bottom: 10px;
    }
}
