.video-category{
    padding-bottom: 10px;
}

.video-category a{
    color: #313131;
    font-size: 16px;
    font-weight: bold;
}

.video-top-section .video-top-lead-item, .video-top-section  .video-top-other-item{
    position: relative; margin-bottom: 10px;
}

.video-top-title-section{
    position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient( 0deg, rgba(0, 0, 0, 0.79), rgba(0, 0, 0, 0.47) 40%,#00000003 80%); padding: 3.75rem 0.9375rem 0.75rem;
}

.video-top-title-section a{
    color: #FFFFFF;
}

.video-top-title-section:hover a, .video-top-lead-item:hover .video-top-title-section a, .video-top-other-item:hover .video-top-title-section a {
    text-decoration: none;
    color: #f3f3f3;
}

.video-top-lead-item img {
    height: 350px;
}

.video-top-lead-item .video-top-title-section a {
    font-size: 22px;
}

.video-top-other-item .video-top-title-section a {
    font-size: 19px;
}

.video-gallery-top-item {
    margin-bottom: 20px;
}

.video-gallery-top-item h2 {
    margin: 3px 0;
}

.video-gallery-top-item .title-section {
    font-size: 19px;
    color: #000000;
    line-height: 1.4;
}

.video-gallery-top-item:hover .title-section, .video-gallery-top-item:hover a {
    color: red;
    text-decoration: none;
}

.video-gallery-top-item:hover .video-audio-icon>.fa-play {
    background: red;
    color: #FFFFFF;
}

.video-list-item {
    display: flex;
    border-bottom: 1px solid #f1f1f1;
    padding: 10px 0 20px;
}

.video-list-item .video-list-item-image {
    width: 50%;
}

.video-list-item .video-list-item-title {
    width: 50%;
}

.video-list-item .video-list-item-title {
    font-size: 19px;
    color: #000000;
    line-height: 1.4;
    padding: 0 10px;
}

.video-list-item .video-list-item-title:hover, .video-list-item:hover .video-list-item-title{
    color: red;
    text-decoration: none;
}

.video-list-item:hover .video-audio-icon>.fa-play {
    color: #FFFFFF;
    background: red;
}

.video-audio-icon .fa-play {
    font-size: 20px;
}

.red-text {
    color: red!important;
}

/*New Style Start*/
.photo-gallery-top-item {
     margin-bottom: 23px;
}

.custom-border-bottom {
    position: relative;
}

.custom-border-bottom:after {
    position: absolute;
    content: '';
    border-bottom: 1px solid #979f9f;
    width: 100%;
    transform: translateX(-50%);
    bottom: -11px;
    left: 50%;
}

.one {
    position: relative;
}

.one:after {
    position: absolute;
    content: "";
    border-left: 1px #6c757d solid;
    top: 1%;
    right: 0;
    height: 95%;
    margin-top: auto;
    margin-bottom: auto;
}

.one:before {
    position: absolute;
    content: "";
    border-right: 1px #6c757d solid;
    top: 1%;
    left: 0;
    height: 95%;
    margin-top: auto;
    margin-bottom: auto;
}

.photo-gallery-top-item h2 {
    margin: 5px 0;
    padding: 5px;
    font-size: 22px;
    color: #000000;
    line-height: 1.4;
}

.photo-gallery-top-item:hover h2, .photo-gallery-top-item:hover a {
    color: red;
    text-decoration: none;
}

/*Photo Gallery*/

/* Override bootstrap column paddings */
.gallery .row > div {
    padding: 5px;
}

.gallery .image-box img {
    width: 100%;
    border-radius: 0;
}

.image-box {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
}

.overlay {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 1) 100%);
    opacity: 0.9;
    top: 0;
}

.img-title-small {
    position: absolute;
    bottom: 1%;
    color: white;
    margin-left: 5%;
    margin-right: 5%;
    font-size: 19px;
}

.video-icon {
    position: absolute;
    top: 35%;
    left: 45%;
    background: #ffffffdb;
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
    /*box-shadow: 0 0 30px 5px #6c0606 !important;*/
    text-shadow: 0px 0px 12px #6c0606 !important;
    border-radius: 50%;
    padding-left: 4px;
    font-size:20px;
}

.video-icon-lead {
    top: 39%!important;
    left: 47%!important;
    height: 40px!important;
    width: 40px!important;
    font-size:23px!important;
}

.image-icon i {
    color: #fff;
}

.image-box:hover {
    color: red;
    text-decoration: none;
}

.image-box:hover .img-title-small {
    color: red;
}

.image-box:hover .video-icon {
    background-color: red;
    color: white!important;
}

.image-box:hover .video-icon-lead {
    background-color: red;
    color: white!important;
}

.image-box:hover > .lead_description {
    color: red!important;
}

/*.image-box:hover .overlay {*/
/*    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.7) 70%, rgba(255, 255, 255, 1) 100%);*/
/*}*/

.photo-gallery-top-item h2 {
    font-size: 20px !important;
    line-height: 1.2 !important;
}

.lead_description {
    background-color: #f0efef;
}

.lead_description p {
    font-size: 19px;
    font-weight: bold;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.video-top-section {
    background-color: #00427A;
    color: #35373a;
    padding-top: 40px;
    padding-bottom: 20px;
}

.video-panel {
    border: 1px solid rgba(0,0,0,.125)!important;
    border-radius: 6px!important;
    overflow: hidden;
    cursor: pointer;
    color: black;
    text-decoration: none!important;
    background-color: #f5f5f5;
}

.video-panel .panel-body {
    position: relative!important;
    padding: 0px!important;
}

.video-panel .panel-body img{
    width: 100%!important;
}

.video-panel .panel-footer {
    border: none!important;
}

.video-panel .panel-footer p {
    font-size: 18px!important;
}

.video-panel:hover .video-icon {
    background-color: red;
    color: white!important;
}

.video-panel:hover .panel-footer p {
    color: red!important;
}

.video-box {
    display: flex!important;
    align-items: stretch!important;
}

.video-box a {
    width: 100%!important;
}

.videoRow {
    display: flex!important;
}

@media (max-width: 768px) {
    .photo-gallery-top-item img {
        width: 100%!important;
    }

    .topRow {
        display: flex;
        flex-direction: column;
    }

    .one:after {
        border: none!important;
    }

    .one:before {
        border: none!important;
    }

    .one {
        order: 1;
    }

    .two {
        order: 2;
    }

    .three {
        order: 3;
    }

    .videoRow {
        display: block!important;
    }
}

@media (max-width: 960px) {
    .img-title-small {
        font-size: 20px !important;
    }
}

@media (max-width: 550px) {
    .video-icon-lead {
        top: 26% !important;
    }
}

/*New Style End*/

@media (max-width: 767px) {
    .video-top-lead-item img {
        height: auto;
    }
    .video-top-other-item img, .video-gallery-top-item img {
        width: 100%;
    }
}