/*
Theme Name: D4D Theme Child
Theme URI: http://www.d4designstudios.com
Description: D4D  Child is a child theme of D4D Visual Builder, created by D4D Team
Author: D4D Team
Author URI: https://www.d4designstudios.com/
Template: d4d-theme
Version: 1.0.0
Text Domain: d4d-textdomain
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

button:focus {
	outline: none !important;
}
a {
	outline: none;
}

.elementor-widget-container p:last-child {
	margin-bottom: 0;
}

html,body
{
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}
a {
	color:#19395F;
	text-decoration: none;
}
a:hover {
	color: #201F5F;
}

.post-state {
	display: none !important;
}

/*-------------------------------------------------------------------
Page Loader
--------------------------------------------------------------------*/
.d4d_page_loader {
	position:fixed;
	display:block;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:99999;
	text-align: center;
	background: #ffffff url('svg-loaders/oval.svg') no-repeat center center;
	background-position: center center;
	background-size: 60px 60px;
}

/* search icon */

.d4d-header-icons .elementor-search-form--skin-full_screen .elementor-search-form__toggle i:before {
    content: url(assets/search.svg) !important;
	height: 30px;
}

.d4d-header-icons .fas.fa-search {
	background-color: transparent !important;
}

/*============================*/
/* Main Header */
/*============================*/
.elementor-sticky--effects {
	background:#ffffff;
	box-shadow: 0 0 14px 0 rgba(0,0,0,.2)
}

.elementor-sticky--effects.e-con>.e-con-inner {
	padding: 20px 0;
}

ul.elementor-nav-menu--dropdown a,
ul.elementor-nav-menu--dropdown a:focus,
ul.elementor-nav-menu--dropdown a:hover {
	border:none !important;
}

/* Humburger Menu */
#hummenu .elementor-menu-toggle,
#hummenu .elementor-menu-toggle:focus,
#hummenu .elementor-menu-toggle:visited {
    background-color: transparent;
}

#hummenu .fa-angle-down:before {
	content: url('assets/arrow-down.svg') !important;
}

#hummenu .highlighted .fa-angle-down:before {
	content: url('assets/arrow-down-white.svg') !important;
}

#hummenu .elementor-menu-toggle .eicon-menu-bar:before {
    position: absolute;
    -webkit-transform: translate(-100%, -45%);
    -ms-transform: translate(-100%, -45%);
    transform: translate(-100%, -45%);
    content: url('assets/ham-open.svg');
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
    z-index: 9999;
}
#hummenu .elementor-menu-toggle.elementor-active .eicon-close:before {
    position: absolute;
    -webkit-transform: translate(-100%, -45%);
    -ms-transform: translate(-100%, -45%);
    transform: translate(-100%, -45%);
    content: url('assets/ham-close.svg');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 9999;
}
/*============================*/
/* Partial Image CSS          */
/*============================*/
.fullimageright .elementor-column-wrap,
.fullimageleft .elementor-column-wrap {
	width: auto;
}
.fullimageright .elementor-widget-wrap,
.fullimageleft .elementor-widget-wrap {
	width: auto;
}
.fullimageright .elementor-widget,
.fullimageleft .elementor-widget {
	width: auto;
	max-width: inherit !important;
}
@media screen and (max-width:979px) {
	.fullimageleft > div { margin-left:auto !important; }
	.fullimageright > div { margin-right:auto !important; }
}
@media only screen and (max-width: 479px) {
	.fullimageleft > div,
	.fullimageright > div { margin-left:0 !important; margin-right:0 !important; }
}


/*============================*/
/* Slider Homepage            */
/*============================*/
.swiper-slide-contents {
    margin-top: 100px !important;
}

.homeslider .elementor-swiper .swiper .elementor-swiper-button-prev {
    left: 30px;
    bottom: 0;
    top: auto;
}
.homeslider .swiper .elementor-swiper-button-prev .eicon-chevron-left:before {
	content: url('assets/left-arrow.svg');
}
.homeslider .elementor-swiper .swiper .elementor-swiper-button-next {
	left: 30px;
	bottom: 30px;
	top: auto;
}
.homeslider .swiper .elementor-swiper-button-next .eicon-chevron-right:before {
	content: url('assets/right-arrow.svg');
}


/*============================*/
/* Default Widgets            */
/*============================*/

/* d4d widgets wrap styling */
.d4d-widget [type=submit] {
/* 	color: #000!important; */
/* 	border: 1px solid #000!important; */
}
.d4d-widget [type=submit]:hover,
.d4d-widget [type=submit]:focus {
/* 	background-color: #ffa600!important; */
/* 	color: #fff!important; */
}
.d4d-widget {
	margin-bottom: 40px;
}

.d4d-widget .widget-title {
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 400;
}

.widget ul, .widget ol {
	padding-left: 0;
	list-style: none;
	margin: 0;
}
.widget li { margin-bottom: 0; }
	.widget_pages ul li,
	.widget_nav_menu ul li,
	.widget_categories ul li,
	.widget_archive ul li {
	display: block;
	padding: 2px 0;
	text-align: right;
}
.widget_pages ul li a,
.widget_nav_menu ul li a,
.widget_categories ul li a,
.widget_archive ul li a {
	position: relative;
	float: left;
	padding: 2px 0;
	color: #222222;
	border-bottom: 1px solid #e1e1e1;
	border-color: rgba(0,0,0,0.1);
}

.widget_pages ul li a:hover,
.widget_nav_menu ul li a:hover,
.widget_categories ul li a:hover,
.widget_archive ul li a:hover {
	color: #3F3F3F;
}
.widget_pages ul li::after,
.widget_nav_menu ul li::after,
.widget_categories ul li::after,
.widget_archive ul li::after {
	clear: both;
	display: block;
	content: "";
}
.widget_pages ul li a:after,
.widget_nav_menu ul li a:after,
.widget_categories ul li a:after,
.widget_archive ul li a:after {
	content: '';
	border-bottom: 1px solid #e1e1e1;
	border-color: rgba(0,0,0,0.1);
	position: absolute;
	bottom: 0;
	height: 1px;
	width: 0%;
	left: 0;
	-webkit-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	transition: all 200ms linear;
}
.widget_pages ul li a:hover:after,
.widget_nav_menu ul li a:hover:after,
.widget_categories ul li a:hover:after,
.widget_archive ul li a:hover:after {
	width: 100%;
	border-color: #3F3F3F;
}
.widget_pages ul.children,
.widget_nav_menu ul.children,
.widget_categories ul.children,
.widget_archive ul.children { clear: both; padding: 5px 0 0 10px; }

.widget_pages ul.children li,
.widget_nav_menu ul.children li,
.widget_categories ul.children li,
.widget_archive ul.children li { padding: 5px 0; }

.widget_nav_menu ul.children li,
.widget_nav_menu ul.children li a,
.widget_pages ul.children li,
.widget_pages ul.children li a,
.widget_categories ul.children li,
.widget_categories ul.children li a,
.widget_archive ul.children li,
.widget_archive ul.children li a { line-height: 1; padding-left: 8px;}

table thead th {
	background-color:#F3F5F7;
	color: #ffffff;
}

/* WordPress Clanedar */
#wp-calendar { border: none; }
#wp-calendar tbody td,
#wp-calendar th,
#wp-calendar table,
#wp-calendar th,
#wp-calendar td,
#wp-calendar caption,
#wp-calendar tbody td {
	background-color: transparent !important;
	border: none !important;
}
#wp-calendar tbody td a {
	display: block;
	width: 38px;
	height: 38px;
	color: #000000;
	padding: 6px;
	border: 1px solid #3F3F3F;
	border-radius: 50%;
}
#wp-calendar tbody td {
	width: 38px !important;
	height: 38px !important;
	padding: 0 !important;
	vertical-align: middle;
}
#wp-calendar tbody td { text-align: center; }
#wp-calendar th {
	font-weight: 300;
	text-align: center;
}
#wp-calendar caption { font-weight: bold; color: inherit; }
#wp-calendar tfoot tr a { color: inherit; }
#wp-calendar tfoot #prev { text-align: left;}
#wp-calendar tfoot #next { text-align: right;}

#wp-calendar tbody tr:nth-child(odd) {
	background: rgba(0, 0, 0, 0.023);
}
/*============================*/
/* Menu Cart Icon             */
/*============================*/
.elementor-menu-cart__toggle .elementor-button:hover {
	border: 0 !important;
	padding: 0 !important;
}

/*============================*/
/* Toggle Icon Plus Minus */
/*============================*/

.elementor-toggle .elementor-tab-title .elementor-toggle-icon .elementor-toggle-icon-opened,
.elementor-toggle .elementor-tab-title .elementor-toggle-icon .elementor-toggle-icon-closed {
    display: block;
    font-size: 40px;
    margin-top: -10px;
}
/*============================*/
/* WPML dropdown icon         */
/*============================*/

.d4d-wpml .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    content: url(assets/arrow-down.svg);
    border: unset!important;
    position: absolute;
	right: 0px;
    top: 50%;
	width: 20px;
    -webkit-transform: translateY(-40%) scale(0.7);
	-ms-transform: translateY(-40%) scale(0.7);
	transform: translateY(-40%) scale(0.7);
}
.wpml-ls-legacy-dropdown a {
	padding: 5px 0 5px 10px!important;
	border: unset!important;
	line-height: unset!important;
}
.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a,
.wpml-ls-legacy-dropdown a:focus,
.wpml-ls-legacy-dropdown a:hover {
	background: #ffffff;
}
.wpml-ls-sub-menu li {
	line-height: 20px;
}
.wpml-ls-legacy-dropdown a span {
	font-size: 18px;
	font-weight: 600;
}
.d4d-wpml ul.wpml-ls-sub-menu {
	width: 45px;
}
.d4d-wpml li {
	transition: all 0.5s linear;
}
.d4d-wpml .wpml-ls-legacy-dropdown li:hover {
	background-color: transparent;
}
/*============================*/
/* Responsive CSS             */
/*============================*/

/* This media query targets screens with a maximum width of 1024px or tables */

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

	.elementor-sticky--effects .elementor-container .elementor-widget-wrap section.elementor-inner-section {
		margin-top: -24px!important;
	}

	/* D4D custom dropdown menu */
	#hummenu .elementor-nav-menu--dropdown .elementor-nav-menu {
		width: 70%;
		max-width: 800px;
		margin: 0 auto;
	}
	#hummenu nav.elementor-nav-menu--dropdown {
		top: 0 !important;
		margin:0;
		position: fixed !important;
		width: 100vw !important;
		height: 100vh !important;
		background-color: rgba(255, 255, 255, 0.93) !important;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		z-index: 10;
	}
	#hummenu .elementor-menu-toggle {
		z-index: 999;
		padding:0;
		position: relative;
	}

	#hummenu .elementor-nav-menu--dropdown .elementor-item-active {
		color:#F3F5F7;
	}
	#hummenu .sub-menu li { padding-left:0 !important; }

	#hummenu .elementor-nav-menu--dropdown .elementor-nav-menu a {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-transition: all 0.23s ease-in-out;
		-o-transition: all 0.23s ease-in-out;
		transition: all 0.23s ease-in-out;
	}

	#hummenu .elementor-nav-menu--dropdown .elementor-nav-menu li:last-child a {
		border-bottom: none !important;
	}
	#hummenu .menu-item a.elementor-item {
/* 		border-bottom: 1px solid rgba(0,0,0,0.1); */
	}
	#hummenu .elementor-nav-menu--dropdown .mb-show {
		display: block !important;
	}
	#hummenu .elementor-nav-menu--dropdown ul {
		width: 40%;
	}
	
	.elementor-nav-menu__align-right .elementor-nav-menu,
	.elementor-nav-menu__align-right .elementor-nav-menu--layout-vertical>ul>li>a {
		justify-content: center !important
	}
	#hummenu .elementor-menu-toggle.elementor-active .eicon-close:before{
		margin-right:0 !important;
		right: -50% !important;
		transform: translate(50%,-50%);
	}
	#hummenu .elementor-menu-toggle .eicon-menu-bar:before {
		width: 70px;
		transform: translate(-40%,-50%);
		overflow: hidden;
	}
}

/* This media query targets screens with a maximum width of 475px or all mobiles landscape and portraits */

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


}