/*
 Theme Name:     NativeChurch Child Theme
 Theme URI:      https://demo.imithemes.com/native-church-wp
 Description:    NativeChurch Child Theme
 Author:         imithemes
 Author URI:     http://www.imithemes.com
 Template:       NativeChurch
 Version:        1.2
*/

/* =Theme customization starts here
------------------------------------------------------- */
.post-meta {
    background-color: transparent;
}

hr {
    background: none;
}

.so-widget-sow-headline-default-5432ee7f842c .sow-headline-container .decoration .decoration-inside,
.so-widget-sow-headline-default-5432ee7f842c .sow-headline-container .decoration {
	border-top: 0 !important;
}

a.patr-link {
    text-align: center;
}
/*does not conflict with cookie consent bar*/
#back-to-top {
    bottom: 45px;
}

.patr-link .banner-text {
    font-size: 16px;
    margin: 10px 0 15px;
}

.mec-calendar .mec-event-article {
    border-top: none;
}

.custom-filer-mec {
    display: flex;
    font-size: 16px;
    color: #424242;
    margin-top: 40px;
}

.custom-mec-month {
    margin-left: 3%;
}

.custom-mec-year {
    margin-left: 1.9%;
    margin-right: 4%;
}

.mec-wrap .mec-search-form .mec-date-search select:last-child {
    width: 90px;
}

.mec-wrap .mec-totalcal-box .mec-totalcal-view span, .mec-wrap .mec-totalcal-box input, .mec-wrap .mec-totalcal-box select {
    border: 1px solid #e0e0e0;
    color: #424242;
    font-size: 16px;
}

.dv-side-container {
    float: right;
}

.entity-info-container {
    position: sticky;
    top: 110px;
}

LI.lwptoc_item {
    border-bottom: 1px solid #dabc47;
    margin: 10px 0 0 0!important;
}

.gallery-image-title {
    margin-top: 10px;
    padding: 10px 10px 0;
}

.gallery-image {
    box-shadow: rgba(0, 0, 0, 0.65) 3px 3px 10px -3px;
    margin-bottom: 30px;
    padding: 15px;
}

a.lwptoc_item.active {
    color: #620202 !important;
}

.InitCL .px_checkbox {
    color: white;
    background: #620202 !important;
    border-color: #620202 !important;
}

.px-filter-fields.lscf-horizontal-sidebar .pxCheckField .px_checkboxesList .px_checkbox-li, .px-filter-fields.lscf-horizontal-sidebar .pxRadioField .px_checkboxesList .px_checkbox-li{
    float: none;
}

.capf_loading .loadMore {
    color: #620202 !important;
    background-color: white !important;
    border: 1px solid #620202 !important;
    font-size: 14px !important;
    padding: 6px 12px;
    border-radius: 3px;
}

.capf_loading .loadMore:hover {
    color: white !important;
    background-color: #620202 !important;
    border: 1px solid #620202 !important;
}

.px-fiels-wrapper {
    margin-top: 15px !important;
}

.styledSelect.active {
    font-weight: 500;
}

.px-select-box div.select .options .thumb {
    background: #620202;
}

.px_checkboxesList .px_checkbox-li {
    color: #5e5e5e;
    display: table-cell;
}

.px_checkbox{
    padding: 9px;
    margin: 8px 5px 10px 0;
    border: 1px solid #e0e0e0;
    font-weight: 500;
    text-align: center;
}

.px_checkbox:hover {
    border-color: #620202;
}

.px_checkbox.active {
    background: #620202;
    border-color: #620202;
    color: white;
}

.px_checkboxesList .px_checkbox-li span {
    line-height: 15px;
    font-size: 14px;
}

.px_checkbox:before{
    content: none;
}

.px_checkbox:after{
    content: none;
}

.px-select-box div.select .options .lscf-dropdown-option:hover {
    color: #620202;
}

.px-capf-wrapper a:hover, .px-capf-wrapper a:focus {
    color: #620202 !important;
}

.view.block-view .post-list:nth-child(3n+0) {
    margin-right: 2%;
}

.post-list .block-row .lscf-post-heading .lscf-price-label {
    display: none;
}

.post-list .lscf-title {
    overflow: initial;
}

.px-filter-fields.lscf-horizontal-sidebar .lscf-filter-field {
    height: 100px;
}

span.event-color {
    background: transparent !important;
}

.mec-wrap.colorskin-custom .mec-bg-color {
    background-color: #dabc74 !important;
    color: #333;
}

.post-accordion-date {
    font-size: 16px;
    font-weight: 500;
    color: #336699;
    display: table-cell;
    width: 85px;
    border-right: 1px solid #333;
}

/*second select for temple listing*/
.px_capf-field.px_capf-subfield.pxSelectField.px-select-box.temples-category_-_2395 {
    min-width: 315px;
}

.temple-listing .styledSelect {
    min-width: 280px;
}

.temple-listing .viewport {
    height: auto !important;
}

.lscf-posts-accordion a.lscf-title {
    padding-left:15px;
    display: table-cell;
}

/* books styling */
.book-container {
    text-align: center;
    padding: 5px;
    cursor: pointer;
    background: #f7f5f5;
    margin: 0 0 15px 0;
    border-radius: 5px;
}

.book-container > img {
    margin-bottom: 15px;
}

.slider-contain {
    display: none;
}

/* toprow search */
button.search-button {
    background: #dabc74;
    border: none;
    color: #333;
    opacity: 0.8;
    cursor: pointer;
    border-left: 1px solid rgba(0,0,0,.1);
    padding: 5px 10px !important;
}

button.search-button:hover, button.search-button:active {
    opacity: 1;
}

input#s {
    height: 40px;
    border-radius: 3px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
    float: right;
}

.secret-search {
    background: transparent;
    border: none;
    margin-right: -33px;
    width: 0 !important;
}

input#s:hover, input#s:focus {
    width: 100% !important;
    border: 1px solid #ccc;
    margin-right: 0;
    background: #fff;
}
/* end toprow search */

.ecpatr-eng-logo {
    background-image: url('https://ec-patr.org/wp-content/uploads/2019/10/ecpatr-logo-eng.png');
    width: 219px;
    height: 76px;
}

.dv-content-container {
    border-right: 1px solid #dbdbdb;

}

.post-content.single-temples-page .featured-image {
    margin-right: 38%;
}

.navigation .megamenu-container ul li a span i.fa-angle-right {
	display: inline;
	margin: 0 5px;
}
.gallery-image-title {
	display: none;
}

.lg-backdrop {
	z-index: 10002;	
}

.lg-outer {
	z-index: 10053;
}

#lightgallery {
	display: grid;
    grid-template-columns: 200px 200px 200px;
    grid-gap: 10px;
	justify-content: center; 
}

#lightgallery > a {
	background-color: #f4f4f4;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 200px;
}

#lightgallery > a > img {
	max-height: 200px;
}

@media only screen and (max-width: 1024px) {
    .modal-wrapper.styled .modal {
        max-width: 90%; padding: 20px;
    }

    .post-content.single-temples-page .featured-image {
        margin-right: 50%;
    }
    .featured-post-dp .title {
        bottom : -60px !important;
    }
}

@media only screen and (max-width: 768px) {
	
	#lightgallery {
		grid-template-columns: 200px 200px;
	}
	
    a.home-banner:nth-child(-n + 2){
        margin-bottom: 15px !important;
    }

    .tabs.vertical-tabs .nav-tabs {
        width: 100% !important;
        float: none !important;
    }

    .modal #modal-content .page-content {
        display: contents !important;
    }

    .dv-content-container {
        border-right: none !important;
    }

    .post-content.single-temples-page .featured-image {
        margin-right: 0 !important;
    }

    .mec-wrap .mec-totalcal-box {
        padding: 20px 5px !important;
    }

    .custom-mec-year {
        margin-left: 2% !important;
        margin-right: 9% !important;
    }
}

@media only screen and (max-width: 450px) {
    .hover-pictures--inner:first-child{
        padding:0 0 5px 0 !important;
    }
    .hover-pictures--inner:nth-child(2){
        padding: 5px 0 0 0 !important;
    }
    input#s {
        height: 45px !important;
    }

    a.home-banner:first-child {margin-top: 60px; !important}

    .custom-mec-year {
        margin-left: 17px !important;
        margin-right: 87px !important;
    }

    .custom-mec-month {
        margin-left: 0 !important;
    }
}

@media only screen and (max-width: 380px) {

    .temple-listing .styledSelect {
        font-size: 13px !important;
        padding-left: 5px !important;
    }
}

@media only screen and (max-width: 320px) {


    .temple-listing .styledSelect {
        font-size: 11px !important;
    }

    .temple-listing .viewport {
        font-size: 11px !important;
    }
}
@media only screen and (min-width: 993px) {
	.navigation > ul > li > a.sf-with-ul {
		line-height: 22px;
		max-width: 170px;
		font-size: 14px!important;
	}
	.sf-menu {
		padding-top: 3px;
	}
	.sf-menu > .menu-item {
		vertical-align: middle;
	}
	.navigation > ul > li > ul li > a {
		white-space: break-spaces;
		max-width: 100%;
		min-width: 200px;
	}
}
@media only screen and (min-width: 993px) and (max-width: 1199px) {
	.navigation {
		width: 992px;
    	left: -10px;
	}
}
