/* 
Theme Name: Darus Salam Mosque Child
Theme URI: https://wp-cube.com
Description: Darus Salam Mosque Website
Author: WP Cube
Author URI: https://wp-cube.com
Template: darussalam
Version: 1.0.1
Text Domain: darussalam-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/


/****************** General ******************/

.latest-posts .pp-slider-arrow,
.elementor-widget-button.archive-btn .elementor-button{
	box-shadow: 0px 3px 10px rgba(0,0,0,0.08);
}
.latest-posts .pp-slider-arrow:hover,
.elementor-widget-button.archive-btn .elementor-button:hover{
	box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
.column-islamic-pattern:before{
	content:'';
	width: 350px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 78%;
	background: url(https://darussalammosque.org/wp-content/uploads/2022/03/islamic-pattern.svg) center right no-repeat;
	background-size: contain;
	-webkit-animation: rotating 32s linear infinite;
  -moz-animation: rotating 32s linear infinite;
  -ms-animation: rotating 32s linear infinite;
  -o-animation: rotating 32s linear infinite;
  animation: rotating 32s linear infinite;
}

@media only screen and (max-width: 767px) {
	.column-islamic-pattern:before{ 
		width: 300px;
		top: -320px;
    	right: 50%;
		margin-right: -150px;
	}
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


.elementor-button{
	position: relative;
	overflow: hidden;
	vertical-align: top;
}
.elementor-button:after {
  background: #fff;
  content: "";
  height: 155px;
  left: -115px;
  opacity: 0.2;
  position: absolute;
  top: -50px;
  transform: rotate(35deg);
  transition: all 1000ms cubic-bezier(0.19, 1, 0.22, 1);
  width: 90px;
  z-index: 0;
}
.elementor-button:hover:after {
  left: 120%;
  transition: all 1000ms cubic-bezier(0.19, 1, 0.22, 1);
}


/****************** Mainmenu *******************/
.e--pointer-underline .elementor-item:after{
	bottom: -10px;
}
.elementor-nav-menu--main .elementor-nav-menu ul{
	min-width: 280px !important;
}
/****************** Salat Table ******************/

.salat-table .salat-time-row .col{
	color: var( --e-global-color-003e602 );
}
.date-line span.date,
.date-line span.day,
.salat-table .salat-time-row .col.row-title,
.salat-table .salat-time-row .col.head-title{
	color: var( --e-global-color-primary );
	
}
.salat-table .salat-time-row .col{
	font-size: 15px;
}
.date-line span.date,
.date-line span.day,
.top-line span,
.salat-table .salat-time-row .col.row-title,
.salat-table .salat-time-row .col.head-title{
	font-size: 14px;
}
.date-line span.date{
	margin-left: 8px;
	padding-left: 8px;
	border-left: 1px solid #ddd;
}

.salat-table .salat-time-row .col,
.salat-table .salat-time-row .col.row-title,
.salat-table .salat-time-row .col.head-title{
	letter-spacing: 1px;
}

.top-line span,
.date-line span,
.salat-table .salat-time-row .col{
	font-weight: 500;
}
.top-line a{
	float: right;
    padding: 10px 30px;
    margin-top: -10px;
    margin-bottom: -10px;
    background-color: rgba(0,0,0,0.03);
}

.top-line span.has-icon{
	position: relative;
}
.top-line span.has-icon i{
	position: relative;
	top: 2px;
	width: 16px;
	height: 16px;
	display: inline-block;
	margin-top: -3px;
	margin-right: 5px;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}
.top-line span.has-icon i.date{
	background-image: url(images/calendar.svg);
}
.top-line span.has-icon i.bell{
	background-image: url(images/bell.svg);
}
.salat-table .salat-time-row{
	display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.salat-table .salat-time-row .col{
	width: 16.66%;
	text-align: center;
	padding: 3px 5px;
}
.salat-table .salat-time-row .col.row-title{
	text-align: left;
}
@media only screen and (max-width: 767px) {
	.top-line span,
	.top-line a{
		display: block;
		text-align: center;
		margin: 10px;
		float: none;
	}
	.top-line a{
		border-radius: 50px;
	}
	.date-line{
		text-align: center;
	}
	.date-line span.date{
		margin-left: 3px;
		padding-left: 3px;
	}
	.top-line span,
	#date.date-line span.date,
	#date.date-line span.day,
	.salat-table .salat-time-row .col{
		font-size: 11px !important;
	}
	.top-line a{
		padding: 2px 10px;
	}

}

/****************** Hero ******************/
h3.elementor-heading-title strong,
.elementor-slides .swiper-slide-inner .elementor-slide-heading strong{
	font-size: 180%;
}
#hero .swiper-slide-inner{
	max-width: 1200px;

}
#hero .swiper-slide-contents{
	min-width: 40%;
}
@media only screen and (max-width: 767px) {
	#hero .elementor-slide-description{
		display: none;
	}
	#hero .swiper-slide-bg:after{
		content: '';
		width: 100%;
		height: 100%;
		position: absolute;
		left:0;
		top: 0;
		background: rgba(0,0,0,0.4);
	}
}
/*************Events**************/
body{
	overflow-x: hidden;
}

.latest-posts .swiper-slide .pp-post{
	transition: all .2s;
}
.latest-posts .swiper-slide:hover{
	transform: translatey(-5px);
}

.latest-posts.events .pp-post-wrap{
	max-width: 650px;
}
.latest-posts .pp-post-terms-wrap{
	position: absolute;
	left: 10px;
	top: 20px;
	background: var( --e-global-color-accent );
	border-radius: 0 20px 20px 0;
	padding: 3px 30px;
}
.latest-posts.events .pp-post-terms-wrap{
	left: 15px;
}

.latest-posts.events .pp-grid-item-wrap .pp-post-terms-wrap{
	left: -3px;
}
.latest-posts .pp-posts-button{
	bottom: 15px;
	right: 40px;
	width: 45px;
	height: 45px;
}
.latest-posts .pp-post-meta{
	bottom: 25px;
	left: 45px;
}
.latest-posts.events .pp-post-meta{
	left: 60px;
}
.latest-posts.events .pp-grid-item-wrap .pp-post-meta{
	left: 40px;
}
.latest-posts .pp-post-meta .pp-meta-text{
	padding-left: 5px;
}
.latest-posts .pp-slider-arrow{
	top: -76px;
	right: 0;
}
.latest-posts .pp-slider-arrow.swiper-button-prev{
	left: auto;
	right: 70px;
}

@media only screen and (min-width: 768px) {
	.latest-posts .swiper-container,
	.latest-posts .swiper-slide,
	.latest-posts.events .pp-grid-item-wrap .pp-grid-item{
		overflow: visible;
	}
	.latest-posts .pp-post-meta,
	.latest-posts .pp-posts-button{
		position: absolute;
	}
}
@media only screen and (max-width: 767px) {
	.latest-posts .pp-posts{
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
	.latest-posts .pp-posts-button{
		right: 0;
		bottom: 0;
	}
}
/**************Quote***************/
.elementor-testimonial-wrapper .elementor-testimonial-content{
	line-height: 1.7em;
	margin-bottom: 40px;
}
.elementor-testimonial-wrapper .elementor-testimonial-name{
	margin-bottom: 5px;
}

/*****************Banners*******************/
.banner-img{
	margin-bottom:0 !important;
}
.title-link{
	opacity: 0;
}
.title-link,
.title-link .elementor-widget-container,
.title-link .elementor-heading-title,
.title-link a{
	height: 100%;
	display: block;
}

.post-banner .elementor-heading-title{
	font-size: 18px;
}
.post-banner .elementor-widget:not(:last-child){
	margin-bottom: 5px;
}
.post-banner .elementor-button{
	font-size: 11px;
	vertical-align: middle;
}
.post-banner .elementor-button-icon{
	font-size: 8px;
	margin-top: 2px;
}

/*.post-banner .elementor-button:after{
	display: none;
}*/
.post-banner h3.elementor-heading-title strong,
.post-banner h3.elementor-heading-title b{
	display: block;
	font-size: 150%;
	margin-bottom: 5px;
}
/********************Social Profile Tabs***********************/
.social-tabs.elementor-widget-tabs .elementor-tab-content{
	padding: 50px 0; 
}
.social-tabs .elementor-widget-video-playlist .e-tabs{
	box-shadow: 6px 10px 40px rgb(0,0,0,0.07);
}

.social-tabs .elementor-tabs-wrapper{
	position: relative;
}
.social-tabs .elementor-tabs-wrapper:before{
	content:'';
	width: 100%;
	height: 1px;
	background: #d7d7d7; 
	position: absolute; 
	right: 0;
	top: 50%;
}
.social-tabs.elementor-widget-tabs .elementor-tab-desktop-title{
	padding: 20px 5px;
}

.social-tabs .elementor-tab-title a{
	border-radius: 50px;
	padding: 15px 18px;
	background: #fff;
	border: 1px solid #d7d7d7;
}
.social-tabs .elementor-tab-title a span{
	display: none;
}
.social-tabs .elementor-tab-title.elementor-active a{
	background: var( --e-global-color-accent );
	padding: 15px 25px;
	border-color: transparent;
}
.social-tabs .elementor-tab-title.elementor-active a span{
	display: inline-block;
}


/* FORM ELEMENTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.cube-forms{
	margin-bottom: 0 !important;
}
.cube-forms ul {
    list-style: none;
	padding-left: 0;
}
.cube-forms .form-wrapper {
    position: relative;
}
 
.cube-forms .form-wrapper + .form-wrapper {
    margin-top: 30px;
}
 
.cube-forms [type="text"],
.cube-forms [type="email"],
.cube-forms textarea {
    width: 100%;
    padding: 15px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 18px;
}
#donate .cube-forms [type="text"],
#donate .cube-forms [type="email"],
#donate .cube-forms textarea{
	border: 1px solid transparent;
	background: var(--e-global-color-8e18692);
}
 
.cube-forms textarea {
    height: 150px;
}
 
.cube-forms [type="text"]:focus,
.cube-forms [type="email"]:focus,
.cube-forms textarea:focus {
    border-color: var(--e-global-color-accent);
}
 
.cube-forms label {
    position: absolute;
    top: 50%;
    left: 20px;
    font-size: 18px;
    transform: translateY(-50%);
    color: var(--e-global-color-003e602);
    transition: all 0.25s ease-in-out;
}
 
.cube-forms label {
    top: 20px;
    transform: none;
}
 
.cube-forms label.focused {
    top: -22px;
	left: 8px;
    transform: none;
    font-size: 13px;
    font-weight: bold;
}
#donate .cube-forms label.focused {
	color: var(--e-global-color-8e18692); 
}
 
.cube-forms [type="submit"] {
    min-width: 160px;
    padding: 20px 40px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--e-global-color-secondary);
    background: var(--e-global-color-accent);
	border: 0;
}
#donate .cube-forms [type="submit"]{
	width: 100%;
}
.cube-forms [type="submit"]:hover{
	opacity:0.9;
}
 
.cube-forms .form-submit-wrapper svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(40deg);
    opacity: 0.75;
    fill: var(--e-global-color-secondary);
    width: 60px;
    height: 60px;
}
 
.cube-forms .wpcf7-form-control-wrap {
    position: static;
}
 
.cube-forms .wpcf7-not-valid-tip {
    position: absolute;
    bottom: 100%;
    right: 10px;
    font-size: 12px;
}

.cube-forms .wpcf7-spinner{
	position: absolute;
	left: 0;
	top: 20px;
}

/********************Single Post**********************/
.shareon{
	transition: all .2s;
}
.shareon:before{
	content: 'Share';
	position: absolute;
	top: 0px; 
	opacity: 0;
	font-size: 12px;
	width: 100%;
	text-align: center;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: 500;
	transition: all .2s;
}
.shareon:hover:before{
	opacity: .4;
	top: -30px;
}

/********************Archive Post**********************/
.elementor-posts .elementor-post__read-more{
	font-weight: 500;
}

/*******************Prayer Times***********************/

table.prayer-times {
    white-space: nowrap;
}
table.prayer-times td{
	border-color: rgba(0,0,0,0.02);
}
table.prayer-times th{
	border: 0;
}

table.prayer-times thead{
	position: -webkit-sticky;
    position: sticky;
    top: 0;
}
body.admin-bar table.prayer-times thead{
	top: 28px;
}

table.prayer-times thead tr th,
table.prayer-times tfoot tr th{
	background-color: var(--e-global-color-primary);
	color: #fff;
}
table.prayer-times thead tr:nth-child(1) th:nth-child(1),
table.prayer-times thead tr:nth-child(1) th:nth-child(3),
table.prayer-times thead tr:nth-child(1) th:nth-child(5),
table.prayer-times thead tr:nth-child(2) th:nth-child(1),
table.prayer-times thead tr:nth-child(2) th:nth-child(5),
table.prayer-times thead tr:nth-child(2) th:nth-child(6),
table.prayer-times thead tr:nth-child(2) th:nth-child(9),
table.prayer-times thead tr:nth-child(2) th:nth-child(10),
table.prayer-times tfoot tr:nth-child(2) th:nth-child(1),
table.prayer-times tfoot tr:nth-child(2) th:nth-child(3),
table.prayer-times tfoot tr:nth-child(2) th:nth-child(5),
table.prayer-times tfoot tr:nth-child(1) th:nth-child(1),
table.prayer-times tfoot tr:nth-child(1) th:nth-child(5),
table.prayer-times tfoot tr:nth-child(1) th:nth-child(6),
table.prayer-times tfoot tr:nth-child(1) th:nth-child(9),
table.prayer-times tfoot tr:nth-child(1) th:nth-child(10){
	background-color: #00b88a;
}
table.prayer-times thead tr:nth-child(1) th,
table.prayer-times thead tr:nth-child(2) th:nth-child(1),
table.prayer-times tfoot tr:nth-child(2) th,
table.prayer-times tfoot tr:nth-child(1) th:nth-child(1){
	font-size: 18px;
}
table.prayer-times tbody tr{
	text-align: center;
}
table.prayer-times tbody tr.hide{
	display: none;
}
table.prayer-times tbody tr td{
	font-weight: 500;
}
table.prayer-times tbody tr:hover td{
	color: var(--e-global-color-secondary);
}
table.prayer-times tbody tr td:nth-child(2),
table.prayer-times tbody tr td:nth-child(3),
table.prayer-times tbody tr td:nth-child(4),
table.prayer-times tbody tr td:nth-child(7),
table.prayer-times tbody tr td:nth-child(8),
table.prayer-times tbody tr td:nth-child(11),
table.prayer-times tbody tr td:nth-child(12){
	background-color: #fff;
}
table.prayer-times tbody tr:hover td{
	background-color: #e9e9e9;
}
table.prayer-times tbody tr.current-day td{
	background: var(--e-global-color-003e602);
	color: #fff;
}
.month-selector{
	margin-bottom: 30px;
}
.elementor-alert .elementor-alert-description{
	font-size: 16px;
}
table.prayer-times tfoot{
	display: none;
}
@media only screen and (max-width: 767px) {
	.darussalam-prayer-times{
		overflow-x: auto; 
	}
	body.admin-bar table.prayer-times thead,
	table.prayer-times thead{
		top: 0;
	}
	table.prayer-times td, table.prayer-times th{
		padding-top: 5px;
		padding-bottom: 5px;
	}
	table.prayer-times tfoot{
		display: table-footer-group;
	}
}

/******************** Team - Commite Members ***************/
.ds-team .pp-tm-wrapper .pp-tm{
	display: flex;
	flex-direction: row;
}
.ds-team .pp-tm-wrapper .pp-tm-content{}
@media only screen and (max-width: 767px) {
/* 	.ds-team .pp-tm-wrapper .pp-tm{
		flex-direction: column;
	} */
	.ds-team .pp-tm-wrapper .pp-tm-content{ width: calc( 100vw - 120px );}
}
/********************Get in Touch**********************/
.contact-info .elementor-icon-list-item{
	align-items: start;
}
.contact-info .elementor-icon-list-icon{
	padding-top: 7px;
}
.contact-info.contact-page .elementor-icon-list-icon{
	padding-top: 4px;
}

/********************Donation********************/
.donate-tabs .elementor-tabs-content-wrapper,
.donate-tabs .elementor-tabs-content,
.donate-tabs .elementor-tab-title:after,
.donate-tabs .elementor-tab-title:before{
	border: 0 !important;
}
.donate-tabs .elementor-tab-title{
	border: 1px solid #f3f3f3 !important;
	margin-bottom: 20px;
	background: #fff;
	/*text-align: center;*/
	
}
.donate-tabs .elementor-tab-title.elementor-active{
	border: 1px solid #dedede !important;
	border-right: 5px solid var(--e-global-color-accent) !important;
	box-shadow: 10px 10px 60px rgba(0,0,0,0.1);
}
.donate-tabs.elementor-widget-tabs .elementor-tabs-wrapper{
	overflow: visible;
}
.donate-tabs.elementor-widget-tabs .elementor-tab-content{
	padding: 20px 50px;
}
.donation-title{
	text-align: center;
	color: #fff;
	font-size: 22px;
}

.donation-form .wcdp-header{
	height: calc(8em + 20px);
}
.donation-form .wcdp-header>.wcdp-step:before{
	width: 4.5em;
	height: 4.5em;
	line-height: 4.5em;
}
.donation-form #wcdp-progress-bar-background,
.donation-form #wcdp-progress-bar{
	top: 2.4em;
}
.donation-form .wcdp_options>li>label{
	padding: 30px 15px;
	font-size: 28px;
}
.donation-form .woocommerce button.button{
	padding: 20px 50px;
	border-radius: 40px;
	background-color: var(--e-global-color-accent);
	color: var(--e-global-color-secondary);
}

.donation-form .woocommerce-checkout-payment{
	padding: 20px;
}
.donation-form .select2-container .select2-selection--single{
	height: 48px;
}
.donation-form .select2-container .select2-selection--single .select2-selection__rendered{
	padding-top: 10px;
}

.donation-form .wcdp-gift-aid,
.donation-form .wcdp-fee-recovery{
	display: block;
	padding: 30px 20px;
}
.donation-form .wcdp-gift-aid{
	background: #fff;
}
.donation-form .wcdp-gift-aid .wcdp-fee-recovery__body-header{
	display: flex;
	flex-direction: row-reverse;
}
.donation-form .wcdp-gift-aid .wcdp-fee-recovery__body-header .gift-aid__text{
	width: 100%;
	padding: 10px 20px 0 0;
	line-height: 1.7em;
}
.donation-form .wcdp-gift-aid .wcdp-fee-recovery__body-header .gift-aid__logo{
	padding: 15px;
}

#giftaid_checkbox_field{
	padding: 20px 30px;
	border: 1px solid #ccc;
	border-radius: 10px;
	margin-bottom: 30px;
	background: #fff;
	display: flex;
}
#giftaid_checkbox_field:after{
	content:'';
	width: 400px;
	height: 160px;
	background: url(https://darussalammosque.org/wp-content/uploads/2023/03/giftaid.svg);
	background-repeat: no-repeat;
	background-position: center center;
	margin-left: 30px;
}
#giftaid_checkbox{
	width: 25px;
	height: 25px;
}
#giftaid_checkbox_field .optional{
	display: none;
}
@media only screen and (max-width: 767px) {
	
	.donation-form .wcdp-gift-aid .wcdp-fee-recovery__body-header{
		flex-direction: column;
	}
	#giftaid_checkbox_field{
		flex-direction: column-reverse;
	}
}



.woocommerce ul.order_details{
	padding-left: 0;
}
.woocommerce ul.order_details li{
	padding-top: 15px;
	padding-bottom: 15px;
}
h3.wc-bacs-bank-details-account-name{
	font-size: 20px;
}

/**************PDF*****************/
#content{
	margin: 0;
	margin-top: -20px;
}
#content .entry-header, #content h1, #content .postmetadata{display: none;}
#content .entry-content  p{
	margin: 0;
}
#content table.prayer-times{
	border: 1px solid #eee;
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}
#content table.prayer-times thead tr th, #content table.prayer-times tfoot tr th{
	background-color: #00b88a;
	border: 1px solid #00C896;
}

#content table.prayer-times, #content table.prayer-times tr th, #content table.prayer-times tr td {
	font-size: .8em;
}
#content table.prayer-times tbody tr{
	border: 1px solid #ddd;
}
#content table.prayer-times th, #content table.prayer-times tbody td {
	padding: 3px 6px;
	text-align: center;
}
#content table.prayer-times tr td.bg2{
	background-color: #eee;
}

.pdf-header img{
	margin: 0;
}

#content h2, #content h3{
	text-align: center;
}
#content h2{
	margin-top: -20px;
}
#content h3{
	font-size: 1.6em;
}