/*

Theme Name: Dr Mohamed Shaker

Theme URI: https://www.be4e-marketing.com/

Description: Dr Mohamed Shaker Theme By Be Group

Author: Ahmed Ramy

Author URI: https://www.be4e-marketing.com/

Template: Divi

Version: 1.0.0

License: GNU General Public License v2 or later

License URI: https://www.be4e-marketing.com/

*/
/* English Version */
@media (min-width: 980px){
	html:lang(en) .et_pb_row, html:lang(en) .et_pb_row_inner {
		display: flex;
		flex-direction: row-reverse;
	}
	html:lang(en) .et_pb_menu__wrap{
		justify-content: flex-start !important;
	}
	html:lang(en) .et_pb_module.et_pb_menu .et-menu-nav li ul.sub-menu{
		text-align: left!important;
	}
	html:lang(en) .slider1 .et_pb_container{
	margin: 0px 0px !important;
}
}

/* Arabic Version */
@media (min-width: 980px){
	html:lang(ar) footer .et_pb_button_module_wrapper.et_pb_button_alignment_right{
		text-align: left;
	}
	html:lang(ar) footer .et_pb_button:before{
		margin-right: -1.3em;
		left: 1.3em;
	}
}
.main1 .et_pb_menu__menu nav ul {
    justify-content: space-between !important;
}
.main1.et_pb_menu .et_pb_menu__menu, .et_pb_menu .et_pb_menu__menu>nav, .main1.et_pb_menu .et_pb_menu__menu>nav>ul {
    width: 100%;
}
 /* drop_menu */
/*change hamburger icon to x when mobile menu is open*/

.drop_menu #et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}


/*adjust the new toggle element which is added via jQuery*/

.drop_menu ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
	
}
.drop_menu ul.sub-menu.visible {
    width: 226px !important;
}

/*some code to keep everyting positioned properly*/

.drop_menu ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}


/*remove default background color from menu items that have children*/

.drop_menu .et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}


/*hide the submenu by default*/

.drop_menu ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}


/*show the submenu when toggled open*/

.drop_menu ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}


/*adjust the toggle icon position and transparency*/

.drop_menu ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}


/*submenu toggle icon when closed*/

.drop_menu ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
	color: #00d263;
	background: #f0f3f6;
	border-radius: 50%;
	padding: 3px;
}


/*submenu toggle icon when open*/

.drop_menu ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}


/*add point on top of the menu submenu dropdown*/

.drop_menu .et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}


/*adjust the position of the hamburger menu*/

.drop_menu .mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 10px;
	line-height: 0;
}


/*force the background color and add a rounded border*/

.drop_menu .et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}
 /* End drop_menu */
 /* Service 1 */
.b3_column:hover .b3_blurb {
	opacity: 1; 
	z-index: 0;
	position: relative;
	bottom: 10%;

}
.b4_blurb{
    -webkit-transition: all .8s ease;
    -moz-transition: all .8s ease;
    -ms-transition: all .8s ease;
    -o-transition: all .8s ease;
    transition: all .8s ease;
}
.b3_column:hover > .b4_blurb { display: block; height:auto; }

.b3_column .b4_blurb { display: none;}

.b3_column:hover .b5_blurb {
    display: block;
    width: 30%;
    margin: 0 auto;}

.b3_column .b5_blurb { display: none; }


/* End Service 1 */

/* success Story */
  .abdo-success .dsm_card_wrapper {
    position: absolute;
    bottom: -25px;
}

.abdo-success .swiper-button-next, .swiper-button-prev{
	top: auto !important;
	bottom: -80px;
	background: #ffff;
	padding:30px;
	border-radius: 50%;
	margin-left: 750px;
	margin-right: 750px;
}
/* End success Story */

/*style the Divi blog pagination buttons*/

.pagination .alignleft a,
.pagination .alignright a {
  color: #ffffff;
	background: #0071fc;
	border: 2px solid #0070fc;
	padding: .7em 1.3em;
	border-radius: 50px;
	text-transform: capitalize;
	transition: all 0.3s ease-in-out;
}

/*style the Divi blog pagination buttons on hover*/

.pagination .alignleft a:hover,
.pagination .alignright a:hover {
	background: transparent;
  color: #0070fc;
	border: 2px solid #0070fc;
	transition: all 0.3s ease-in-out;
}
/*style the wp-pagenavi pagination links*/

.wp-pagenavi a,
.wp-pagenavi span {
	color: #000000;
	background: #f1f3f5;
	font-size: 1em !important;
	line-height: 1em;
	font-weight: bold !important;
	padding: 0.45em 0.8em !important;
	border-radius: 100px;
	transition: all .5s;
}


/*style the wp-pagenavi current page number*/

.wp-pagenavi span.current {
	color: #ffffff !important;
	background: #0070fc !important;
	border-radius: 100px;
}


/*style the wp-pagenavi pagination links on hover*/

.wp-pagenavi a:hover {
	color: #ffffff!important;
	background: #0070fc!important;
}


/*style the wp-pagenavi pages text*/

.wp-pagenavi .pages {
	background: none;
}


/*remove border and center the wp-pagenavi links*/

.wp-pagenavi {
	border-top: none;
	text-align: center;
	display: flex;
    align-items: center;
    justify-content: center;
}


.ramy-contact-dsm .dp-col {
      margin-bottom: 10px;
  }

.et_pb_widget{
	background-color: #42AAF5;
    padding: 15px;
	margin-bottom: 4.539% !important;
}
.widget_text .et_pb_section {
    background-color: transparent;
}
.widgettitle{
	color: #fff;
}

.widget_recent_entries{
	background-color: #42AAF5;
    padding: 15px;
}
.widget_recent_entries.et_pb_widget li a {
    color: #FFF;
}

.et-l--footer ul.dsm-menu {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

/*Sticky Buttons*/
.sticky-buttons{position:fixed; bottom:0; z-index:1000;}
.sticky-buttons.left{left:0;}
.sticky-buttons.right{right:0;}
.sticky-buttons a{display:flex; align-items:center; justify-content:center; margin:10px; color:#ccc; fill:#ccc; 
background-color:#42AAF5; box-shadow:0 2px 5px 0px #777; transition:.4s all;}
.sticky-buttons.square a{border-radius:0;}
.sticky-buttons.rounded a{border-radius:5px;}
.sticky-buttons.round a{border-radius:50%;}
.sticky-buttons.small a{width:40px; height:40px; font-size:22px;}
.sticky-buttons.medium a{width:50px; height:50px; font-size:28px;}
.sticky-buttons a:hover{cursor:pointer; color:#fff; fill:#fff;}
.sticky-buttons a.whatsapp{background-color:#42AAF5;}
.sticky-buttons a.messenger{background-color:#0084FF;}
.sticky-buttons.inactive a.sticky_toggler, .sticky-buttons a.sticky_toggler{transform:rotate(0deg);}
.sticky-buttons.active a.sticky_toggler{transform:rotate(180deg);}
.sticky-buttons a svg{width:75%; height:75%;}
.sticky-buttons .hidden-data{background-color:#42AAF5; width:500px; margin:10px 0; padding:10px; font-size:16px; position:fixed; bottom:0; z-index:101; box-shadow:0 2px 5px 0px #777; transition:.4s all;}
.sticky-buttons.square .hidden-data{border-radius:0;}
.sticky-buttons.rounded .hidden-data, .sticky-buttons.round .hidden-data{border-radius:5px;}
.sticky-buttons.small .hidden-data{max-width:calc(100% - 70px);}
.sticky-buttons.medium .hidden-data{max-width:calc(100% - 80px);}
.sticky-buttons.left .hidden-data{left:0; transform:translateX(-100%);}
.sticky-buttons.active.left.small .hidden-data.active{transform:translateX(60px);}
.sticky-buttons.active.left.medium .hidden-data.active{transform:translateX(70px);}
.sticky-buttons.right .hidden-data{right:0; transform:translateX(100%);}
.sticky-buttons.active.right.small .hidden-data.active{transform:translateX(-60px);}
.sticky-buttons.active.right.medium .hidden-data.active{transform:translateX(-70px);}
.sticky-buttons .hidden-data form br{display:none;}
.sticky-buttons .hidden-data form textarea{height:auto; display:block; width:100%;}
.sticky-buttons .hidden-data form input{line-height:36px!important; display:block; width:100%;}
.sticky-buttons .hidden-data form .wpcf7-form-control-wrap{margin-top:5px!important; margin-bottom:5px!important; display:block;}
.et_pb_widget input.text, .et_pb_widget input.title, .et_pb_widget input[type=email], .et_pb_widget input[type=password], .et_pb_widget input[type=tel], .et_pb_widget input[type=text], .et_pb_widget select, .et_pb_widget textarea {
    background-color: #fff;
    border: 0;
    padding: 20px;
    color: rgba(124, 124, 124, 1);
    width: 100%;
    height: 65px;
    text-align: right;
}
.wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"]{direction:rtl;}
.et_pb_widget button.wpcf7-form-control.wpcf7-submit.has-spinner.et_pb_button.et_pb_bg_layout_light {
    width: 100%;
    background: #84cd51;
    color: #fff;
    text-align: right;
	cursor: pointer;
}
.et_pb_widget .et_pb_button:after {
    content: '\23';
    color: #FFF;
    display: block;
    position: absolute;
    top: 7px;
    left: 35px;
    font-family: 'ETmodules' !important;
	opacity:1;
}
.slider1 .et_pb_slide_description {
    display: flex;
    flex-direction: column;
}
.slider1 .et_pb_slide_title{order:2;}
.slider1 .et_pb_slide_content{order:3;}
.slider1 .et_pb_button_wrapper{
	order: 1;
    direction: ltr;
    margin-bottom: 10px;
}
@media only screen and (max-width: 600px){
	.slider1 .et_pb_slide_description {
    position: absolute;
}
}
/*client reviews carsoual*/
.client .swiper-pagination span{
    width: 116PX;
    height: 6px;
    border-radius: 0;
}
.client .swiper-pagination-bullets {
    direction: ltr;
}
/*slider home page*/
.slider1 .et_pb_container{
	margin: 0px 52% !important;
}
.contact .wpcf7-form-control.wpcf7-submit.has-spinner.et_pb_button.et_pb_bg_layout_light.et_pb_custom_button_icon {
	width: 100% !important;
}
@media only screen and (max-width: 600px){
	.slider1 .et_pb_container{
		margin: 0px 0px	 !important;
	}

}

.slider2 .et-pb-controllers a {
    width: 116PX;
    height: 6px;
    border-radius: 0;
}
.slider2 .et-pb-controllers .et-pb-active-control {
    background-color: #84CD51;
}
/*end slider*/

/*contact form */
.contact .wpcf7-form-control.wpcf7-submit.has-spinner.et_pb_button.et_pb_bg_layout_light.et_pb_custom_button_icon {
    font-size: 27px;
    width: 800px;
    height: 65px;
}

.contact ::after {
    position: absolute !important;
    right: 94% !important;
}

.cu-blog .et_pb_salvattore_content[data-columns]::before {
	content: '2 .column.size-1of2' !important;
}
@media only screen and ( min-width: 981px ) {
	.cu-blog .column.size-1of2 {
	    width: 49%!important;
	    margin-right: 1%;
		
	}
}


.cu-blog1 .column:first-child article:nth-child(odd):hover, .cu-blog1 .column:last-child article:nth-child(odd):hover {
    background: #84CD51;
}
.cu-blog1 .column:nth-child(2) article:nth-child(odd):hover {
    background: #42AAF5;
}
.cu-blog1 .column:first-child article:nth-child(odd):hover .entry-title, .cu-blog1 .column:last-child article:nth-child(odd):hover .entry-title, .cu-blog1 .column:first-child article:nth-child(odd):hover  p, .cu-blog1 .column:last-child article:nth-child(odd):hover p, .cu-blog1 .column:first-child article:nth-child(odd):hover  a, .cu-blog1 .column:last-child article:nth-child(odd):hover a {
    color: #FFF;
}

.cu-blog1 .column:nth-child(2) article:nth-child(odd):hover .entry-title, .cu-blog1 .column:nth-child(2) article:nth-child(odd):hover  p, .cu-blog1 .column:nth-child(2) article:nth-child(odd):hover  a {
    color: #FFF;
}


.cu-blog .column:first-child article:nth-child(odd):hover, .cu-blog .column:last-child article:nth-child(odd):hover {
    background: #42AAF5;
}
.cu-blog .column:nth-child(2) article:nth-child(odd):hover {
    background: #84CD51;
}
.cu-blog .column:first-child article:nth-child(odd):hover .entry-title, .cu-blog .column:last-child article:nth-child(odd):hover .entry-title, .cu-blog .column:first-child article:nth-child(odd):hover  p, .cu-blog1 .column:last-child article:nth-child(odd):hover p, .cu-blog .column:first-child article:nth-child(odd):hover  a, .cu-blog .column:last-child article:nth-child(odd):hover a {
    color: #FFF;
}

.cu-blog .column:nth-child(2) article:nth-child(odd):hover .entry-title, .cu-blog .column:nth-child(2) article:nth-child(odd):hover  p, .cu-blog .column:nth-child(2) article:nth-child(odd):hover  a {
    color: #FFF;
}

.cu-blog a.more-link, .cu-blog1 a.more-link{display:block; width:100%;}
.cu-blog a.more-link:after, .cu-blog1 a.more-link:after {
    content: '\38';
    font-family: 'ETmodules';
    font-size: 32px;
    bottom: -10px;
    position: relative;
	color: rgba(132, 205, 81, 1);
}

.cu-blog .column:first-child article:nth-child(odd):hover a.more-link:after, .cu-blog1 .column:first-child article:nth-child(odd):hover a.more-link:after, .cu-blog .column:last-child article:nth-child(odd):hover a.more-link:after, .cu-blog1 .column:last-child article:nth-child(odd):hover a.more-link:after, .cu-blog .column:nth-child(2) article:nth-child(odd):hover a.more-link:after, .cu-blog1 .column:nth-child(2) article:nth-child(odd):hover a.more-link:after{float: left; bottom:0;}

.main1 .sub-menu li a{
    width: max-content !important;
}
.sub-menu {
    width: fit-content !important;
    left: auto !important;
	text-align: right !important;
}
.et-menu .menu-item-has-children>a:first-child:after{left: -16px; right:auto !important;}
.et-menu-nav>ul>li.current-menu-item>a, .et-menu-nav>ul>li.current-menu-parent>a, ul li.current-menu-item>ul>li.current-menu-item>a, ul li.current-menu-parent>ul>li.current-menu-item>a {
    font-weight: 700 !important;
}

/*equally space the menu list items*/

.pa-menu-with-logoo .et_pb_menu__menu>nav>ul>li {
	width: calc(100% / 10);
	display: -webkit-box !important;
}


/*make the menu link to fill the menu item width*/

.pa-menu-with-logoo .et_pb_menu__menu>nav>ul>li>a {
	   width: 100%;
    text-align: center;
    /* padding: 25px 20px; */
    display: inline-block;
    /* position: absolute; */
    /* background: #f0f3f6; */
    /* border: 1px solid #fff; */
    /* top: -12px;*/
}


/*override the default menu item padding*/

.pa-menu-with-logoo .et-menu>li {
	padding-left: 0px;
	padding-right: 0px;
}


/*adjust the dropdown arrow*/

.pa-menu-with-logoo .menu-item-has-children>a:first-child:after {
	position: relative;
}