.template-8812.style-1 .template__post-btn {
    border: 1px solid var(--color-3) !important;
    border-radius: 20px;
    background: var(--color-2);
    color: var(--color-3);
    transition: 0.3s;
}

.template-8812.style-1 .template__post.is-active .template__post-btn,
.template-8812.style-1 .template__post-btn:hover {
    background: var(--color-3);
    color: var(--color-2);
}

.template-8812.style-1 .template__article {
    display: none;
}

.template-8812.style-1 .template__article.is-active {
    display: block;
}

/* Popup Gallery */

.template-8812.style-1 .popup-gallery a {
	display: block;
	height: 100%;
	position: relative;
}

.template-8812.style-1 .popup-gallery a:before {
	content: '';
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
	transition: opacity 0.3s;
    background-color: #231f204f;
	opacity: 0;
}

.template-8812.style-1 .popup-gallery a:hover:before {
	opacity: .75;
}

.template-8812.style-1 .popup-gallery a:after {
	content: '\f00e';
    width: 58px;
    height: 58px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
	opacity: 0;
	transition: opacity 0.3s;
    margin: -29px 0 0 -29px;
    font-size: 24px;
    line-height: 58px;
	border-radius: 50%;
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.4);
    text-align: center;
    font-family: 'FontAwesome';
    z-index: 3;
}

.template-8812.style-1 .popup-gallery a:hover:after {
	opacity: 1;
}

/* Select */

.template-8812.style-1 .template__posts-select select{
    height: 46px;
    background-color: var(--color-3);
    color: var(--color-2);
    border: 1px solid var(--color-3) !important;
    padding-right: 35px;
    box-shadow: 1px 1px 4px 0px #0000004d;
    transition: 0.3s;
    border-radius: 5px;
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.template-8812.style-1 .template__posts-select select:focus {
    outline: none;
    box-shadow: none;
    background-color: var(--color-3);
    color: var(--color-2) !important;
}

.template-8812.style-1 .template__posts-select option {
    background-color: var(--color-2);
    color: var(--color-1);
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.template-8812.style-1 .template__posts-select option:hover {
    color: var(--color-3);
}

.template-8812.style-1.active .template__posts-select select {
    background-color: var(--color-2) !important;
    color: var(--color-3) !important;
}

@media (max-width: 991.92px) {

    .template-8812.style-1 .template__posts-select::after {
        content: "";
        position: absolute;
        user-select: none;
        pointer-events: none;
        right: 30px;
        top: 38%;
        display: inline-block;
        height: 9px;
        width: 9px;
        border-bottom: 3px solid var(--color-2);
        border-right: 3px solid var(--color-2);
        transform: translateY(0px) rotate(45deg);
        transition: transform 0.3s ease;
    }
    
    .template-8812.style-1.active .template__posts-select::after {
        transform: translateY(3px) rotate(225deg);
        border-color: var(--color-3);
    }
}
    