﻿
.stretch-card > div {
    border-radius: 10px;
    overflow: hidden;
}
.content-wrapper .banner-content {
    position: absolute;
    padding: 60px 60px 20px 60px;
    height: 90%;
    width:100%;
    left: 0px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    bottom: 0px;
    color: #222;
    background: linear-gradient(to top,white, transparent);
}
.banner-content h1, .banner-content h2 {
    margin: 0;
    line-height: 1;
    font-size: 25px;
}
.banner-content h1 {
    font-weight: 700;
}
.banner-content h2 {
    font-size: 23px;
}
/************************
    images / videos
************************/
.img-sm {
    width: 138px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius:5px;
}

img {
    vertical-align: middle;
    border-style: none;
    cursor:pointer;
}

.scale-img img {
    transition: transform .5s;
}
.events .scale-img img {
    transition: transform .5s;
    height: 155px;
    width: 100%;
    position: relative;
    top: 5px;
    zoom: 0.9;
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -o-crisp-edges; /* Opera */
    image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}
div:hover > .scale-img img {
    transform: scale(1.1);
}
.side-img, .side-vid {
    max-width: 75%;
    max-height: 250px;
    overflow: hidden;
    margin: 0 auto 10px auto;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0px 10px #ccc;
    opacity: .7;
    left: 0;
    cursor: pointer;
    transition: .3s;
}
    .side-img:after,
    .side-vid:after {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: linear-gradient(to top,rgba(255,255,255,.7), rgba(255,255,255,.1));
        transition: all .3s linear;
    }
    .side-vid:after {
        background-image: url('/videos/play-circle-thin.svg');
        background-size: 30%;
        filter: invert(100%);
        opacity:.7;
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
        .side-img:hover, .side-img.active {
            box-shadow: 0 10px 30px #aaa;
        }
        .side-img.active:hover, .side-img.active:hover img{
            cursor: default !important;
        }
        .side-img:hover:after, .side-img.active:after {
            top:100%;
            opacity:0;
        }
    .side-img:hover, .side-img.active {
        transform: scale(.85);
        border-radius: 5px;
        opacity: .9;
    }
    .side-img img, .side-vid img {
        width: 100%;
    }

    .side-vid:hover, .side-vid.active {
        opacity: 1;
    }
    .side-vid.active {
        cursor: default;
    }
    .side-vid.active:after {
        opacity: .9;
        background-size:10%;
        background-position-x: 10px;
        background-position-y: calc(100% - 10px);
        background-image: url('/videos/video-two.svg');
    }
.banner-cover video {
    display:none;
}
    /************************
         card
************************/
    .card {
        background:transparent;
    }

.card h5 {
    font-size:15px;
    margin-bottom:0px;
}
.card small {
    font-size: 12px;
    display:block;
    opacity:0.8;
}
    .card.latest-news small {
        margin-top: 10px;
    }
.card-body {
    padding: 2rem;
}
.card-body p{
    font-size:15px;
    word-spacing:.1em;
}
    .card-body > h4 {
        display:flex;
        flex-direction:row;
        align-items:center;
        line-height:1;
    }

/************************
         Badge
************************/

.badge {
    max-width: 110px;
    cursor:pointer;
}
.badge-positioned {
    position: relative;
    top: -30px;
    left: 15px;
    display:inline-block;
    opacity: .7;
}
    .badge-positioned:hover {
        opacity:1;
    }

/************************
         social
************************/
.vertical-menu {
    list-style:none;
    margin:0;
    padding:0;
}
    .vertical-menu li {
        margin: 20px auto;
        border:solid 1px #fff;
        box-shadow: 0 0 10px #ddd;
        border-radius:5px;
        padding:5px;
        transition:.3s;
    }
        .vertical-menu li:hover {
            box-shadow: 0 3px 10px -3px #bbb;
        }
        .vertical-menu li a {
            text-decoration: none !important;
        }
.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 25px;
    border-radius:100% !important;
}
    .social-icon.facebook {
        background: rgba(59, 89, 152,1);
    }
    .social-icon.linkedin {
        background: #0077b5;
    }
    .social-icon.twitter {
    }
    .social-icon.instagram {
        background: linear-gradient(-50deg, #feda75,#fa7e1e, #d62976, #962fbf, #4f5bd5 );
    }
    .social-icon.youtube {
        background: rgba(225, 0, 0,1);
    }
.social-data {
    flex-grow:1;
    display:flex;
    flex-direction:column;
}
    .social-data * {
        margin:0 !important;
        padding:0 !important;
        line-height:1;
        color: #111;
    }