/*
Theme Name: pipesdrums2017
Theme URI: http://pipesdrums.com
Author: Crescent Group
Author URI: http://crescentgroup.ca
Description: Custom built WordPress & WooCommerce theme for Pipes|Drums.
Version: 1.4.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pipesdrums2017
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready

pipesdrums2017 is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/

/*Slideshow gallery*/
.photo-hidden {
    display: none;
}

.lightbox-wrapper {
    display: none;
    width: 100%;
    height: auto;
    position: relative;
    /* float: left; */
    margin-top: 2.2rem;
    margin-bottom: 2.2rem !important;
}

.lightbox-wrapper.active {
    display: block;
}

.lightbox-wrapper img {
    max-width: 100%;
    font-size: 0;
    display: block;
    width: 100%;
}

.photo-count {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: #00000080;
    color: #fff;
    font-size: 12px;
}

.lightbox-wrapper:before,
.lightbox-wrapper:after {
    content: '';
    display: table;
    width: 100%;
}

.photo-count a {
    color: #fff;
}

.photo-count span {
    color: #969696;
    margin: 0 10px;
}

.photo-count+a.lightbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lightbox-wrapper:hover .photo-count a {
    text-decoration: underline;
}

/*.readmore p:last-child {
	overflow: hidden;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}*/

.readmore-btn {
    cursor: pointer;
    color: #9F1400;
}

.inline {
    display: inline-block;
}

@media(min-width:991px) {
    .event-item .gridunit-60 {
        padding-left: 40px;
        box-sizing: border-box;
    }
}

.before-comments {
    padding: 2% 10vw;
    position: relative;
    float: left;
    width: 100%;
}


.short_desc_featured_post {
    margin-top: 8px;
}

@media(max-width: 768px) {
    .short_desc_featured_post {
        font-size: 13px;
    }
}

.pdpolls-result-container {
    height: auto!important;
}

.pdpolls-result-container {
    padding-right: 50px;
}
.pdpolls-result-percent {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.custom-article .simple-article a {
    color: var(--clr-main);
}