﻿#ctl00_ContentPlaceHolder1_DataList1 tbody {

}
#ctl00_ContentPlaceHolder1_DataList1 tbody tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

#ctl00_ContentPlaceHolder1_DataList1 tbody tr td{
    /*display:inline-flex;*/
    width:33%;
}

.card {
    overflow: clip;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 82% 18%;
    grid-gap: 0px;
    justify-content: space-around;
    width: 100%;
    height: 70vh;
    min-height: 300px;
    /*margin-top: 37px;
    margin-bottom: 37px;*/

    text-align: center;
    /*font-weight: bold;*/
    background-color:#eae9e94b;
    border: 2px solid #ddd;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
   /* -webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    cursor: pointer;*/
}

.card-background {
    width: 100%;
}

.card-image {
    -webkit-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    transition: all 0.5s linear;
    /*position: relative;*/
    border-radius: 15px;
    margin-inline:auto;
    width: 100%;
    height: 100%;
    max-width:100%;
    max-height:auto;
    top: 0;
    right:0;
    left: 0;
    bottom:0;
    /*transform: translate(-50%, -50%);*/
    border: 3px solid #fff;
}

.card:hover .card-background .card-image{
    transform:scale(1.05);
}

.content {
    padding: 2px;
}

.card .content .card-info h4{
    text-align:center;
    /*font-size:1.1rem;*/
    font-size: clamp(0.9rem, 0.9rem + 0.381vw, 1.1rem);
    margin:0;
    font-weight:bold;
    padding:2px;
}
.card .content .card-info h5{
    text-align:center;
    /*font-size:0.9rem;*/
    font-size: clamp(0.7rem, 0.7rem + 0.381vw, 0.9rem);
    margin:0;
    font-weight:bold;
    color:#555;
    padding:2px;
}
h2{
    text-align:center;font-weight:bold;
}


@media only screen and (max-width:1024px) {
    .card .content .card-info h4 {
        font-size: 0.9rem !important;
    }
    .card .content .card-info h5 {
        font-size: 0.7rem !important;
    }
}
@media only screen and (max-width:840px) {
    #ctl00_ContentPlaceHolder1_DataList1 tbody tr {
        flex-direction: column;
    }

    #ctl00_ContentPlaceHolder1_DataList1 tbody tr td {
        width: 80%;
        display: inline-flex;
        margin-inline:auto;
    }
}
@media only screen and (max-width:539px) {
    .card .content .card-info h4 {
        font-size: 1.1rem !important;
    }
    .card .content .card-info h5 {
        font-size: 0.9rem !important;
    }
}
/*not used*/
/*background-image: linear-gradient(to right, #000000, #271d85, #6465b8);*/
./*card-image {
    -webkit-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    transition: all 0.5s linear;
    position: relative;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 6px solid #f4f3f3;
}*/

/*.card-info {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    grid-gap: 0px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-weight:bold;
}*/