@media only screen and (max-width: 600px) {
    /* For mobile phones: */
    .hero-text {
        background-color: #fff;
        width: 80%; height: 66px;
        text-align: justify;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        padding: 16px 10px 10px 10px;
        border-radius: 5px;
    }
    .m-p{
        padding: 5px!important;
    }
    .w-mb-100{
        width:100%!important;
    }
}
/* The hero image */
html {
    position: relative;
    min-height: 100%;
}
body{
    /*padding: 55px 0px 0px 0px;*/
    /*margin-bottom: 60px;*/
    background-color: #eef1f5;
}
.hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/tamalelibrary.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 420px;
    width: 100%;
}

/* Place text in the middle of the image */
.hero-text {
    background-color: #fff;
    width: 38rem; height: 5rem;
    text-align: justify;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 16px 10px 10px 10px;
    border-radius: 5px;
}
.hero-wrapper {
    background-color: #fff;
    width: 960px; height: 80px;
    top: 50%;
    left: 50%;
    position: relative;
}
.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 100%;
}

.card-rq {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 100%;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.vspace{
    height: 1.5em;
}
.card-header-text{
    text-align: center;
    font-weight: bold;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px; /* Set the fixed height of the footer here */
  /*line-height: 60px;  Vertically center the text there */
  background-color: #1a7513;
}
.form-control-lg {
    border: 0; 
    outline: none;
    box-shadow: none;
}
.form-control-lg:focus {
    border: 0; 
    outline: none;
    box-shadow: none;
}
a {
    color: #343a40;
}
.nav-btn {
    border: 2px solid;
    color: #ffffff;
}
.nav-btn:hover, focus{
    color: #ffffff;
}
.nav-bg {
    background-color: #18bd68;
}
.dropdown:hover>.dropdown-menu {
  display: block;
}
.card a:hover {
    background-color: #eef1f5;
    text-decoration: none;
    color: #212529;
}
.no-padding{
    padding-left: 0;
    padding-right: 0;
}
.card .list-group-item:hover {
    background-color: #eef1f5;
}
.card ul {
    list-style-type: none;
    line-height: 1.8em;
    font-size: 20px;
}
