.item-list {
    display: flex;
    flex-flow: row wrap;
}
.inst-card {
    width: 96%;
    border: 1px solid #ddd;
    border-radius: 7px;
    background-color: #eef5f8;
    margin: 5px 10px;
    box-shadow: 0 0 6px -3px #888;
}
}
.inst-card .card-body {
    display: flex;
    flex-direction: column;
    padding:0 10px;
    flex:1;
    color:#666;
}
.inst-card .photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 10px;

}
.inst-card .item-name {
    font-family: Kanit;
    font-size: 18px;
    margin: 10px 10px 5px 0;
    font-weight: normal;
    color: #333;
}
.main-photo {
    width:100%;
    box-shadow: 0 0 4px #000;
    border-radius: 8px;
}
.head-info {
    flex-direction: column;
}
q {
    font-style: italic;
    font-size: 14px;
    color: #858585;
    padding: 1em 1em;
    display: block;
}
.h1 {
    font-size: 24px;
    font-family: sans-serif;
    font-weight: normal;
    color: #009688;
}
.rich-text {
    margin: 1em 1em 1em 2em;
    color:#444;
    font-size: 15px;
}
.course-item {
    width: 250px;
    margin:10px;
}
.section-text.teal {
    color:#019291;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 480px) {
    .inst-card {width: 47%;margin:10px;}
    .head-info { flex-direction: row;}
    .main-photo {width:170px;}
    q{font-size: 14px;padding:1em 0;}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 640px) {
    .main-photo {width:250px;}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .main-photo {width:300px;}
    q{font-size: 15px;padding:1em 2em;}
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    
    .inst-card .item-name {font-size: 18px;}
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .inst-card {width: 30%;margin:10px;}
    .inst-card .item-name {font-size: 22px;}
}