﻿/*****************styles for home page*********************/
.btn-group-vertical {
    margin-top: 10px !important;
}

.card-wrapper {
    margin: 0px 0px 30px 0px;
}

.card-image .card .card-img-wrapper {
    height: 100%;
}

.card-img-top-home {
    width: 100%;
    height: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}

.card-image .card .card-body {
    display: none;
}

.card-image-title-description .card .card-img-wrapper {
    max-height: 160px;
}

.card-image-title-description .card {
    position: relative;
    min-height: 300px;
}

    .card-image-title-description .card .card-body {
        height: auto;
        position: relative;
        top: 0;
        margin-bottom: -70px;
    }

    .card-image-title-description .card:hover .card-body {
        top: -70px;
    }

    .card-image-title-description .card .card-body .card-title {
        margin-bottom: .75rem;
    }

.card-text {
    clear: both;
    margin-top: 20px !important;
    color: rgba(0, 0, 0, .68);
}

.card {
    display: inline-block;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    height: 270px !important;
    width: 80%;
}

    .card:hover {
        box-shadow: 8px 12px 31px -10px #ab98ab;
    }

.card-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}

    .card-img-wrapper img {
        transition: 1.5s ease;
    }

.card:hover .card-img-wrapper img {
    transform: scale(1.15);
}



.card-body .card-title {
    font-family: 'Veneer Two' !important;
    font-size: 30pt;
    font-weight: normal;
    line-height: 30px;
    margin-top: 0px;
    margin-bottom: calc(50% + 20px);
    transition: 1.0s ease;
    color: #ef008c;
}

.card:hover .card-body .card-title {
    margin-bottom: .75rem;
}

.card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background-color: #fff;
    transition: 0.8s ease;
}

.card-content {
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    height: auto;
    transition: 1.0s ease;
}

.card:hover .card-body {
    height: 90%;
    overflow-y: scroll;
}

.card:hover .card-content {
    bottom: 0;
}

body {
    margin: 0;
    background-image: linear-gradient(to right, #ECE9E6, #FFFFFF);
}

/**************************************/

@media (max-width: 576px) {
    .card {
        height: 100px !important;
    }

    .card-body .card-title {
        font-size: 17pt;
    }
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width:690px) {
    .card {
        height: 200px !important;
    }

    .card-body .card-title {
        font-size: 22pt !important;
    }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 690px) and (max-width:960px) {
    .card {
        height: 250px !important;
    }

    .card-body .card-title {
        font-size: 13pt !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 960px) and (max-width:1200px) {
    .card {
        height: 300px !important;
    }

    .card-body .card-title {
        font-size: 22pt;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .card {
        height: 300px !important;
    }

    .card-body .card-title {
        font-size: 30pt;
    }
}
