/**
Styling document for the ROOT app.
 */

* {
    font-family: Roboto, Noto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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: 380px;
    height: 410px;
    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;
}

h2 {

    white-space: pre-line;
    text-overflow: ellipsis;
    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;
}

#imageDiv {
    background: white;
    max-height: 100%;
    max-width: 100%;
    margin-left: 16px;
    margin-right: 16px;
}

#image {
    max-height: 260px;
    max-width: 100%;
    display: block;
    margin: auto auto 10px;
}

#description {
    font-size: 14px;
    background: white;
    color: black;
    align-self: flex-end;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
    margin-left: 16px;
    margin-right: 16px;
    text-align: justify;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    max-height: 50px;
    position: absolute;
    bottom: 8px;
}

#toolbar {
    display: flex;
    flex-direction: row;
    background: #4e88b6;
    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;
}

#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%;
    }
}