/**
Styling document for the ROOT app.
 */

* {
    font-family: Roboto, Noto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
  --toolbar-color: #ffffff;
  --toolbar-bg-color: #4e4e4e;
}

body{
    background: #eeeeee;
    padding: 0;
    margin: 0;
}

#container {
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px, rgba(0, 0, 0, 0.2) 0px 3px 1px -2px;
    margin: 15px;
    width: 280px;
    height: 280px;
    display:flex;
    flex-direction: column;
    background: white;
    cursor: pointer;
    overflow: hidden;
}

#flex {
    display: flex;
    flex-wrap: wrap;
    margin-left: 5%;
    width: 90%;
    margin-top: 20px;
}

#title {
    display: inline-block;
    white-space: pre-line;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 95%;
    height: 45px;
}

h2 {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px !important;
    color: rgb(42, 42, 42);
    margin-top: 16px;
    margin-left: 16px;
}

#titleDiv {
    background: white;
    display: block;
    height: 80px;
}

#imageDiv {
    background: white;
    max-height: 180px;
    max-width: 100%;
    margin-left: 16px;
    margin-right: 16px;
}

#image {
    max-height: 90%;
    max-width: 100%;
    display: block;
    margin: auto auto 10px;
}

#description {
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 14px;
    background: white;
    color: black;
    align-self: flex-end;
    white-space: pre-line;
    margin-bottom: 8px;
    margin-left: 16px;
    margin-right: 16px;
    width: -webkit-fill-available;
    max-height: 50px;
    position: absolute;
    bottom: 0px;
}

#toolbar {
    display: flex;
    flex-direction: row;
    background: var(--toolbar-bg-color,#4e4e4e);
    color: var(--toolbar-color,#fff);
    height: 48px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
}

#toolbarHeader {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.bannerContent {
    margin: 0;
    padding: 0;
    border: none;
    display: inline-block;
    line-height: 48px;
    height: 100%;
    margin-left: 30px;
}

#bannerImg {
    height: 70%;
    align-self: center;
    border-radius: 3px;
}

user-info {
  margin: 12px 12px 12px 0
}

#adminButton {
    margin-left: auto;
    margin-right: 20px;
    cursor: pointer;
}

i {
    vertical-align: middle;
    display: inline-block;
    margin: 0 5px;
}

a{
    color: #fff;
    text-decoration: none;
}



@media(min-width: 0){
    #bannerImg{
        margin-left: 5%;
    }
}
@media (min-width: 500px) and (max-width: 1000px){
    #bannerImg{
        margin-left: 20%;
    }
}
@media (min-width: 1000px){
    #bannerImg{
        margin-left: 30%;
    }
}