/*

Theme Name: Default

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

Description: Default 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/

*/

/*=============================
 * Edit English Version Layout Design
===============================*/
/*Global Classes*/
body:lang(en),
html:lang(en),
p:lang(en),
div:lang(en):not(.post-content):not(.mfp-iframe-holder), 
a:lang(en):not(.more-link),
span:lang(en):not(.et-pb-icon),
body #page-container .et_pb_section span.prefix:lang(en),
body #page-container .et_pb_section span.infix:lang(en),
body #page-container .et_pb_section span.suffix:lang(en),
h1:lang(en),
h2:lang(en),
h3:lang(en),
h4:lang(en),
h5:lang(en),
h6:lang(en),
.et_pb_text:lang(en),
body #page-container .et_pb_section .et_pb_button:lang(en){
	text-align: left !important;
}
body:lang(en) .difl_advancedmenu .df-am-col.left>div{margin-left:0px !important} 
@media only screen and (max-width: 991px){
body:lang(en) .difl_advancedmenu .df-has-sticky{width:90% !important}
}
body:lang(en) .et_pb_module .swiper-pagination-bullets {
    text-align: center !important;
}
body:lang(en) .img-card .df_ab_blurb_image.image.placement_image_flex_top {
    text-align: center !important;
}
html h1, h2, h3, h4, h5, h6:lang(en) {
    font-weight: bold;
}

html:lang(en) .et_pb_row{
    display: flex;
    flex-direction: row-reverse !important;
}
@media (max-width: 991px){
	html:lang(en) .et_pb_row {
    display: flex;
    flex-direction: column !important;
}
}
@media (max-width: 991px){
html:lang(en) .et_pb_row.footer-row {
    display: flex;
	flex-direction: column-reverse !important;}
}
html:lang(en) .et_pb_gutters2 .et_pb_column, html:lang(en) .et_pb_gutters2.et_pb_row .et_pb_column{
	margin-left: 3%;
	margin-right: auto !important;
}
html:lang(en) .et_pb_gutters3 .et_pb_column{
	margin-left: 0;
	margin-right: auto !important;
}
.blurb-text-en .df_ab_blurb_sub_title:lang(en) {
    text-align: left !important;
}
.blurb-text-en .df_ab_blurb_title:lang(en) {
    text-align: left !important;
}
.blurb-center .df_ab_blurb_sub_title:lang(en) {
    text-align: center !important;
}
.blurb-center .df_ab_blurb_title:lang(en) {
    text-align: center !important;
}
.blurb-center .et_pb_module_header:lang(en) {
    text-align: center !important;
}
body .blurb-center .et_pb_blurb_description:lang(en) {
    text-align: center !important;
}
 .et_pb_text.text-en:lang(en){
	text-align: center !important;
}
.title-bar h1:lang(en) {
    text-align: center !important;
}
.namaa:lang(en){
	display: flex;
    justify-content: center;
} 
.header_blurb p:lang(en) {
	    direction: rtl !important;
}
body .text-justfiy p:lang(en) {
	text-align:justify !important;
}
/*=============================
 * End Edit English Version Layout Design
===============================*/
.difl_advancedmenu .menu-item:hover {
    scale: 1.1 !important;
}
.difl_advancedmenu .menu-item{
	transition: all 0.3s ease-out !important;
}
.difl_advancedmenu li.menu-item>a{
	    justify-content: flex-end !important;
}
body:lang(en) .difl_advancedmenu li.menu-item>a{
	    justify-content: flex-start !important;
}
body .df-mobile-menu .df-menu-nav a {
	justify-content: flex-start !important;
}
@media only screen and (max-width: 767px){
.difl_advanced_blurb_1_tb_body .df_ab_blurb_image, .difl_advanced_blurb_8_tb_body .df_ab_blurb_image, .difl_advanced_blurb_2_tb_body .df_ab_blurb_image, .difl_advanced_blurb_0_tb_body .df_ab_blurb_image {
    text-align: center !important;
}
}
.footer-blurb .et_pb_blurb_container {
	padding-left: 0px !important; 
}

.dsm_fixed_header_scroll_active .et_pb_section.fixed-sec {
    background: #fff !important;
}
.dsm_fixed_header_scroll_active .et_pb_section.fixed-sec .df-site-logo.sticky-logo{
	
	display: block !important;
}
.dsm_fixed_header_scroll_active .et_pb_section.fixed-sec .df-menu-nav>li.menu-item>a{
	color: #000 !important;
}
.dsm_fixed_header_scroll_active .et_pb_section.fixed-sec .df-site-logo {
    display: none;
}
body{
	font-weight: 400;
}
/*=== Header ===*/
.et_pb_sticky_module  {
    box-shadow: 0px 3px 6px #00000029;
}
#menu-main-menu li {
    padding-right: 35px;
}
ul#menu-main-menu li:last-child {
    padding-right: 0px;
}
ul#menu-main-menu li:first-child {
    padding-left: 0px !important;
}
ul#menu-main-menu {
    margin-right: 0px;
}
#menu-main-menu li.current-menu-item a {
    color: #107fc9 !important;
    border-bottom: 3px solid;
}
.header_blurb .et_pb_blurb_container {
    padding-left: 5px;
}
@media all and (min-width: 981px) and (max-width: 1280px) {
	#menu-main-menu li {
    	padding-left: 18px;
    	padding-right: 18px;
	}
}
@media screen and (max-width: 980px) {
	.et_mobile_menu {
		margin-top: 15px;
	}
}
/*=== Home Page ===*/
.difl_advancedmenu a {
    color: #000 !important;
}
.difl_advancedmenu a:hover {
        color: #2ea3f2 !important;
}
@media screen and (min-width: 981px) {
	.header_slider .et_pb_container {
    	width: 40%;
    	margin-left: 14%;
	}
}
.header_slider .et_pb_slide_description {
    background-image: linear-gradient(270deg,#42b3e5 0%,#107fc9 100%);
    margin-top: 28%;
    margin-bottom: 28%;
	padding: 8%;
	border-radius: 10px;
	display: block;
	position: relative;
}
.header_slider .et_pb_slide_description:before {
    content: "";
    background-image: linear-gradient(270deg,#42b3e5 0%,#107fc9 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    margin-top: -4%;
    margin-left: -12%;
    border-radius: 10px;
    z-index: -1;
}
.header_slider .et_pb_slide_title {
	padding-bottom: 20px;
}
/*=== about page ===*/
.about_doctor img {
	width: 100%;
}
/*=== Department page ===*/
.departmen_img .et_pb_image_wrap, .departmen_img img {
    width: 100% !important;
}
@media screen and (max-width: 767px) {
	.home_blog_grid article {
    	padding-left: 0px !important;
    	padding-right: 0px !important;
	}
	.et_pb_column:last-child.last_column {
    	margin-right: auto !important;
	}
}
@media all and (min-width: 981px) and (max-width: 1366px) {
	.home_blog_grid .df-post-inner-wrap {
		padding-bottom: 20px !important;
	}
	.home_blog_grid .difl_postitem_1 {
		width: 55%;
		margin-right: 20px !important;
		padding: 5px 15px !important;
	}
	.home_blog_grid .difl_postitem_1 a {		
		font-size: 12px !important;
	}
	.home_blog_grid .difl_postitem_2, .home_blog_grid .difl_postitem_3, 
	.home_blog_grid .difl_postitem_4, .home_blog_grid .difl_postitem_5 {
		padding-right: 20px !important;
		padding-left: 20px !important;
	}
}
.special-doctor .df_person_name {
    font-weight: 400;
}
.iconAccordian .et_pb_accordion_item.et_pb_toggle_open h5.et_pb_toggle_title::before {
	display: block;
	content: "\4b" !important;
	color: #107FC9;
	font-size: 20px;
}
.iconAccordian .et_pb_accordion_item.et_pb_toggle_close h5.et_pb_toggle_title::before {
    content: "\4c" !important;
}
/*=== Other page ===*/
.global-header .header-content {
    margin: 0 auto !important;
	padding: 0;
}

/*=== Footer ===*/
@media all and (min-width: 981px) and (max-width: 1120px) {
	.et_pb_row.footer_emergency{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;	
		padding-right: 48px !important;
		padding-left: 48px !important;
	}
	.footer_emergency h4.et_pb_module_header {
		font-size: 26px !important;
	}
}


/*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;
}

.maxbutton-1.maxbutton{
	margin-right: 25px;
}

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

.widget_text{
	background-color: #66cc66;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
}
.widget_text .et_pb_section {
    background-color: transparent;
}
.widgettitle{
	color: #fff;
}

.widget_recent_entries{
	background-color: #66cc66;
    padding: 15px;
    border-radius: 15px;
}
.widget_recent_entries.et_pb_widget li a {
    color: #FFF;
}

div#block-8{
	margin-bottom: -22px;
	text-align:center;
	color: #FFF;
}

/*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-image: linear-gradient(270deg,#42b3e5 0%,#107fc9 100%); 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:#4dc247;}
.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:#777; 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;}