/* Haptic Resource Main Page Styles */

.haptic-resource-title {
    width: 100%;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.haptic-resource-title h1 {
    color: #ffffff;
    margin-bottom: 10px;
}

.haptic-resource-articles-news {
    background-color: #ececec;
    padding: 55px 90px;
}

.haptic-resource-articles-news-row,
.haptic-resource-technical-row {
    margin: 0;
}

.article-news-list-container,
.technical-list-container {
    padding-left: 0;
}

h5.haptic-resource-articles-news-title,
h5.haptic-resource-technical-title,
h5.haptic-resource-video-title {
    color: #03abac;
    font-size: 18px;
}

h5.haptic-resource-video-title {
    margin-bottom: 40px;
}

.article-news-list,
.technical-list {
    padding-left: 0;
}

.article-news-list li,
.technical-list li {
    padding-left: 0.5em;
}

.article-news-list li a,
.technical-list li a {
    color: #000000;
}

.article-news-list li a.active,
.article-news-list li a:hover,
.article-news-list li a:focus,
.technical-list li a.activeTech,
.technical-list li a.active,
.technical-list li a:hover,
.technical-list li a:focus {
    color: #03abac;
}

.article-news-list li a span.arrow,
.technical-list li a span.arrow {
    display: none;
}

.haptic-resource-articles-news .article-news-list li:before,
.haptic-resource-technical .technical-list li:before {
    content: "";
}

.article-news-panel {
    height: 131.25px;
}

/* .active-panel {
    display: block;
} */

.article-news-panel-container .article-news-panel {
    position: relative;
    margin-bottom: 20px;
}

.article-news-panel-container .article-news-panel-category {
    position: absolute;
    top: 0;
    right: 15px;
    background-color: #03abac;
    color: #ffffff;
    font-size: 14px;
    padding: 2px 8px;
}

.article-news-panel-container .article-news-panel-title {
    position: absolute;
    bottom: 14px;
    left: 25px;
    line-height: 17px;
    font-size: 14px;
    width: 80%;
}

.article-news-panel-container .article-news-panel-title a {
    color: #ffffff;
}

.article-panel-hover .article-news-panel-overlay {
    position: absolute;
    width: 88.5%;
    height: 131.25px;
    background-color: rgba(0,0,0,0.5);
}

.article-panel-hover > .article-news-panel-title > a {
    color: #03abac;
    text-decoration: underline;
}

.article-news-panel-img {
    background-color: #8f9d9d;
    height: 100%;
}

.article-news-panel-img img {
    height: 131.25px;
}

/* .article-hide {
    display: none;
}

.article-show {
    display: block;
} */

.article-news-pagination-wrapper {
    position: relative;
    margin-top: 40px;
}

.article-news-pagination-wrapper .article-news-more-cta {
    position: absolute;
    top: 0;
    right: 0;
}

.article-news-pagination-wrapper .article-news-more-cta a {
    margin-top: 0;
}

.nav-links span {
    /* border: 1px solid #b1b1b1; */
}

.haptic-resource-technical {
    padding: 55px 90px;
}

.technical-panel {
    display: flex;
    margin-bottom: 40px;
}

.technical-panel div {
    border-bottom: 1px solid #ccc;
}

.technical-panel img {
    float: left;
    width: auto;
    margin-right: 15px;
}

.technical-panel .arrow-link {
    margin-top: 0;
}

.technical-panel h6 a {
    text-decoration: underline;
}

.technical-panel p {
    margin-bottom: 8px;
}

.technical-panel p a.arrow-link {
    font-size: 14px;
}

.technical-panel p a.arrow-link:after {
    width: 7px;
    height: 9px;
    background-size: 8px 9px;
}

.haptic-resource-video {
    padding: 55px 90px;
    background-color: #ececec;
}

.haptic-resource-video .video-panel-thumbnail {
    position: relative;
}

.haptic-resource-video .video-panel-thumbnail .video-panel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.haptic-resource-video .video-panel-thumbnail .video-panel-play span {
    background-color: #252525;
    color: #00b9ba;
    border-radius: 100%;
    padding: 6px 9px 8px 13px;
    font-size: 25px;
}

.haptic-resource-video .video-panel-thumbnail .video-title {
    position: absolute;
    bottom: 15px;
    left: 12px;
    line-height: 17px;
    font-size: 14px;
}

.haptic-resource-video .video-panel-thumbnail .video-title a {
    color: #ffffff;
}

/* Resource Article Styles */

.resource-article-featured-img {
    margin-bottom: 15px;
}

.resource-article-back-link {
    margin-bottom: 0;
}

.resource-article-back-link i {
    margin-right: 5px;
}

.resource-article-date {
    margin-bottom: 0;
    color: #00b9ba;
}

.resource-article-title {
    margin-top: 0;
    color: #000000 !important;
    font-size: 32px !important;
}

.resource-article-share-icons a {
    margin-left: 10px;
    color: #00b9ba !important;
}

.resource-article-page .attachment-post-thumbnail {
    margin-bottom: 10px;
}

.resource-article-page .blocks-gallery-grid li:before,
.blocks-gallery-item li:before {
    content: "";
}

.resource-article-page ul li:before{
    content: "" !important;
}

.resource-article-page .blocks-gallery-grid li:first-child,
.resource-article-page ul li:first-child {
    padding-left: 0;
}

/* Technical Resources Single Page */

.technical-resources-page iframe {
    margin-top: 100px;
    margin-bottom: 20px;
}

/* Resource Video Page */

.resource-video-page iframe {
    width: 100%;
    height: 600px;
    margin-top: 100px;
    margin-bottom: 20px;
}

/* Pagination */
.pagination {
    display: inline-block;
}

.pagination a {
    color: #00b9ba !important;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #ccc;
    margin: 0 -1px;
    font-size: 14px;
    letter-spacing: 0.5px;
    
    display: inline-block;
    margin: 0 -1px -1px 0;
}

.pagination a.current {
    background-color: #00b9ba;
    color: #fff !important;
}

.pagination a.disabled {
    display: none;
}

.pagination a:first-child,
.pagination a:last-child {
    padding: 5px 20px;
}


/* PaginationTech */
.paginationTech {
    display: inline-block;
}

.paginationTech a {
    color: #00b9ba !important;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #ccc;
    margin: 0 -1px;
    font-size: 14px;
    letter-spacing: 0.5px;
    
    display: inline-block;
    margin: 0 -1px -1px 0;
}

.paginationTech a.current {
    background-color: #00b9ba;
    color: #fff !important;
}

.paginationTech a.disabled {
    display: none;
}

.paginationTech a:first-child,
.paginationTech a:last-child {
    padding: 5px 20px;
}

/* Mobile Styles */

@media (max-width: 992px) {
    .article-news-panel-container .pagination {
        display: none !important;
    }

    .haptic-resource-title .container {
        padding: 0 35px;
    }
    
    .haptic-resource-articles-news,
    .haptic-resource-technical,
    .haptic-resource-video {
        padding: 0;
    }

    .technical-panel-description {
        width: 100%;
    }

    .article-news-panel {
        height: 183.44px;
        padding-left: 0;
        padding-right: 0;
    }

    .article-news-panel-container .article-news-panel-category {
        right: 0;
    }

    .article-news-panel-container .article-news-panel-title {
        left: 15px;
    }

    .article-panel-hover .article-news-panel-overlay {
        position: absolute;
        width: 100%;
        height: 98.5%;
        background-color: rgba(0,0,0,0.5);
    }

    h5.haptic-resource-articles-news-title, h5.haptic-resource-technical-title, h5.haptic-resource-video-title {
        font-size: 26px;
    }

    .article-news-list-container {
        padding-right: 0;
    }

    .article-news-list li,
    .technical-list li {
        display: none;
        position: absolute;
        z-index: -2;
    }

    .article-news-list li:first-child,
    .article-news-list li.click,
    .technical-list li:first-child,
    .technical-list li.click {
        display: block;
        position: relative;
        z-index: 1;
    }

    .article-news-list li a, .technical-list li a {
        font-size: 18px;
    }

    .article-news-list li a span.arrow,
    .technical-list li a span.arrow {
        display: inline-block;
        padding-left: 10px;
    }

    .article-news-pagination-wrapper .navigation {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .article-news-pagination-wrapper .article-news-more-cta {
        position: relative;
        text-align: right;
    }
    
    .article-news-panel-img {
        height: 183.44px;
    }

    .article-news-panel-img img {
        height: 183.44px;
        object-fit: cover;
    }

    .technical-panel {
        padding-left: 0;
        padding-right: 0;
    }

    /* single page - resource article */
    .resource-article-page .blocks-gallery-grid,
    .resource-article-page ul {
        display: block;
    }

    .resource-article-page .blocks-gallery-grid li,
    .resource-article-page ul li {
        width: 100% !important;
        padding-left: 0;
    }

    /* single page - tech resources */
    .technical-resources-page iframe {
        margin-top: 50px;
    }

    /* single page - video resource */
    .resource-video-page iframe {
        height: 300px;
    }
}