.dropdown-menu {
    margin-top: 0;
}

/* Dropdown to dropright */
.dropdown-menu .dropdown .dropdown-menu {
    left: 100%;
    top: 0;
    border-width: 1px;
}

/* Dropdown to dropleft */
.dropdown-menu .dropdown .left {
    right: 100%;
    left: auto;
    top: 0;
    border-width: 1px;
}

.modal-title {
    text-transform: uppercase;
}

.modal-dialog {
    width: auto;
}
/* CSS for aligning excos */
.card {
    margin-left: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 100%;
    height: auto;
    display: inline-block;
    float: left;
}

@media only screen and (min-width: 320px) {
    /* adjust the card styles for medium and larger screens */
    .card {
        max-width: 300px;
    }
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    color: black;
}

.card:hover h5 {
    color: #0087ca;
}

.card-container {
    /*padding: 2px 16px;*/
    padding-bottom: 10px;
    /*padding-top: 10px;*/
}

.image {
    height: 220px;
    overflow: hidden;
    margin-bottom: 10px;
}

a.flush{
    text-align: left;
}
.role{
    color: grey;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: #0087ca;
}

.hover-underline-animation::before,
.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #0087ca;
    transition: all 0.4s ease-in-out;
}

.hover-underline-animation::before {
    top: 0;
    left: 0;
}

.hover-underline-animation::after {
    bottom: 0;
    right: 0;
}

.hover-underline-animation:hover::before,
.hover-underline-animation:hover::after {
    width: 100%;
}

.hover-underline-animation:hover::before {
    left: 0;
    transform-origin: left;
    transform: scaleX(1);
}

.hover-underline-animation:hover::after {
    right: 0;
    transform-origin: right;
    transform: scaleX(1);
}

.hover-underline-animation:hover {
    box-shadow: 0 0 0 2px #0087ca;
}
h5.description{
    color: black;
}
img.img-fluid{
    height:auto;
    width:100%;
}

div.col-md-3.col-sm-4 {
    padding-top:10px
}


/* responsive adjustments */
@media only screen and (max-width: 991.98px) {
    .card {
        margin: 10px 0;
        max-width: 100%;
        /*height:100%;*/
    }
    .card .image img {
        height: 150px;
    }
    .card-container {
        border-radius: 5px;
        min-height: 150px;
    }
    .card h5 {
        font-size: 18px;
    }
    .card .role {
        font-size: 14px;
    }
    .image {
        height:160px;
    }
}

@media only screen and (max-width: 1024px) {
    .card {
        margin: 10px 0;
        max-width: 100%;
    }
    .card .image img {
        height: 150px;
    }
    .card-container {
        border-radius: 5px;
        min-height: 150px;
    }
    .card h5 {
        font-size: 18px;
        margin-left: 5%;        
        margin-right: 5%;
    }
    .card .role {
        font-size: 14px;
    }
    .image {
        height:160px;
    }
}


@media only screen and (max-width: 767.98px) {
    .card {
        max-width: 100%;
        min-height: 400px;
    }
    .card .image img {
        height: 200px;
    }
    .card-container {
        border-radius: 5px;
        min-height: 300px;
        height: auto;
    }
}
@media only screen and (max-width: 576.98px) {
    .card .image img {
        height: inherit;
    }
}
@media only screen and (max-width: 375px) {
    .card .image img {
        height: 320px;
    }
     
}

@media only screen and (max-width: 360px) {
    .card .image img {
        height: 320px;
    }
}