@media (min-width: 768px) and (max-width: 1023px) {
    .success-video,
    .video-frame{
        width: 720px;
        height: 405px;
    }
    #meetup1,
    #meetup2 {
        position: relative;
        height: 182px;
        width: 300px;
        cursor: pointer;
    }
    .webinar-image {
        position: relative;
        height: 236px;
        /* width: 350px; */
        cursor: pointer;
    }
    .modal-dialog{
        top: 10%;
    }
}

@media (max-width: 576px) and (min-width: 426px) {
    .video-frame{
        width: 465px;
        height: 261px;
    }
}

@media (max-width: 425px) and (min-width: 376px) {
    .video-frame{
        width: 396px;
        height: 223px;
    }
}

@media (max-width: 375px) and (min-width: 321px) {
    .video-frame{
        width: 360px;
        height: 203px;
    }
}

@media (max-width: 320px) {
    .video-frame{
        width: 288px;
        height: 162px;
    }
}

@media (max-width: 767px) {
    .success-video,
    #meetup1,
    #meetup2 {
        position: relative;
        height: 151px;
        /* width: 250px; */
        cursor: pointer;
        float: none !important;
    }
    .webinar-image {
        position: relative;
        height: 12.62rem;
        /* width: 18.68rem; */
        cursor: pointer;
        margin: auto;
    }
    #story-play-btn {
        display: none !important;
    }
    .modal-dialog{
        top: 30%;
    }
}

@media (min-width: 1440px) {
    .video-frame{
        width: 1080px;
        height: 608px;
    }
}

@media (max-width: 1439px) and (min-width: 1024px) {
    .video-frame{
        width: 864px;
        height: 486px;
    }
}

@media (min-width: 1024px) {
    .success-video{
        width: 864px;
        height: 486px;
    }
    #meetup1,
    #meetup2 {
        position: relative;
        height: 250px;
        width: 410px;
        cursor: pointer;
    }
    .webinar-image {
        position: relative;
        height: 236px;
        width: 350px;
        cursor: pointer;
    }
    .modal-dialog{
        top: 10%;
    }
}

#webinar1 {
    background: url(/images/block/community/webinar-1.jpg) no-repeat;
    background-size: cover;
}

#webinar2 {
    background: url(/images/block/community/webinar-2.png) no-repeat;
    background-size: cover;
}

#webinar3 {
    background: url(/images/block/community/webinar-3.png) no-repeat;
    background-size: cover;
}

#webinar4 {
    background: url(/images/block/community/webinar-4.jpg) no-repeat;
    background-size: cover;
}

#meetup1 {
    background: url(/images/block/community/meetup-1.png) no-repeat;
    background-size: cover;
    float: right;
}

#meetup2 {
    background: url(/images/block/community/meetup-2.png) no-repeat;
    background-size: cover;
    float: left;
}

.play-btn {
    position: absolute;
    display: block;
    width: 60px;
    height: 45px;
    overflow: hidden;
    background: url(/images/block/community/play-btn.png);
    top: 50%;
    left: 50%;
    margin: -27px 0 0 -35px;
    cursor: pointer;
}

.modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}

.modal-body {
    position: relative;
    padding: 0px;
}

.close {
    position: absolute;
    right: -30px;
    top: 0;
    z-index: 999;
    font-size: 2rem;
    font-weight: normal;
    color: #fff;
    opacity: 1;
}

.card1 {
    background-color: #f8fff1;
    border: none;
}

.card2 {
    background-color: #f1f1ff;
    border: none;
}

.card3 {
    background-color: #fff8f1;
    border: none;
}

.card4{
    background-color: #fff1f1;
    border: none;
}

.center-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.success-story-img{
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 100%;
}



/* @keyframes giffy {
    0% {
        background-image: url('http://i.imgur.com/E2ee6fI.gif');
    }
    15% {
        background-image: url('http://i.imgur.com/JIi0uul.gif');
    }
    30% {
        background-image: url('http://i.imgur.com/owNGnNN.gif');
    }
    45% {
        background-image: url('http://i.imgur.com/2Ii6XOz.gif');
    }
    60% {
        background-image: url('http://i.imgur.com/ZmQBrQ5.gif');
    }
    75% {
        background-image: url('http://i.imgur.com/iAsfHyY.gif');
    }
    90% {
        background-image: url('http://i.imgur.com/AJwRblj.gif');
    }
    100% {
        background-image: url('http://i.imgur.com/fx5wUNY.gif');
    }
} */
