@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');

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

.card {
width: 96%;
border-radius: 3px;
transition: .5s;
}

.card:hover {
transform: scale(1.02);
border-radius: 8px;
box-shadow: 0px 0px 10px 0px <?=$layout->header_bgcolor?>;
}

.card-img-top {
border-top-right-radius: 10px;
border-top-left-radius: 10px
}

span.text-muted {
font-size: 12px
}

small.text-muted {
font-size: 8px
}

h5.mb-0 {
font-size: 1rem
}

small.ghj {
font-size: 9px
}

.mid {
background: #ECEDF1
}

h6.ml-1 {
font-size: 13px
}

small.key {
text-decoration: underline;
font-size: 9px;
cursor: pointer
}

.btn-danger:focus {
box-shadow: none
}

small.justify-content-center {
font-size: 9px;
cursor: pointer;
text-decoration: underline
}

@media screen and (max-width:600px) {
.col-sm-4 {
    margin-bottom: 50px
}
}
.p-img{
    width: 100%;
    height: 220px;
    display: flex;
    padding: 2px;
    justify-content: center;
}
.p-img img{
    width: auto!important;
    max-width: 100%;
    height: auto;
    max-height: 220px;
    margin: auto;
}
.name-sm{
    line-height: 20px;
    height: 40px;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
    font-size: 18px;
}
.name-sm a{
    color: black;
}
button {
    cursor: pointer!important;
}
.btn-block{
    background-color: <?=$layout->header_bgcolor?>;
}
button.btn-block,a.btn-block{
    color: black;
}
button.btn-block:hover,a.btn-block:hover{
    color: black;
    background-color: <?=$layout->header_bgcolor?>;
}
.btn-block-sm {
    width: 50%!important;
    float: left;
}
.btn-block-sm:last-child {
    width: calc(50% - 1px)!important;
    float: left;
    margin-left: 1px;
}