/*

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/

*/
/*main-menu*/
.main-menu .df-am-button-icon {
	    margin-right: 0.6em !important;
}
/*End main-menu*/

/*main-contact*/
@media only screen and (min-width: 991px){
.main-contact .row {
	display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
	.main-contact .column {
    width: 24%;
}
}
@media only screen and (max-width: 991px){
	.main-contact .wpcf7-form-control{
		margin-bottom: 1em !important;
	}
}
.main-contact .wpcf7-form-control {
    height: 70px !important;
	border: 0px !important;
}
.main-contact .et_pb_button:after{
	    content: "\34" !important;
}
/*End main-contact*/

/*hours-abdo*/
.hours-abdo .df_bh_item{
	padding: 0.8em !important;
}
/*End hours-abdo*/

/*unit-card*/
@media only screen and (min-width: 991px){
	.unit-card .dsm_card_wrapper{
		transform: translateY(10%) translateX(10%) !important;
	}
	.card-ltr .dsm_card_wrapper{
		transform: translateY(10%) translateX(-10%) !important;
		background: #fff !important;
	}
}
.unit-card .dsm_card_title:after {
    content: "";
    width: 40%;
    height: 3px;
    background: #6BC6E8;
    display: block;
    border-radius: 50px !important;
}
.unit-card .dsm_card_wrapper {
    background: #ECF0F7;
	padding:3em !important;
	z-index:1000 !important;
}
.unit-card .et_pb_more_button {
	width: 100% !important;
}
.unit-card .et_pb_button:after {
	margin-right: 0.5em !important;
}
.unit-card .et_pb_module_inner {
    align-items: flex-end !important;
}
/*End unit-card */

/*header-buttons*/
.header-buttons .et_pb_button:after{
	    margin-right: 0.5em !important;
}
/*End header-buttons*/
/*abdo-rws*/
.abdo-rws .df_tc_author_image {
    position: absolute;
    top: -11%;
    z-index: 1000;
}
.abdo-rws .df_tci_container {
    position: relative;
}

/* Add styles for the background transition */
.abdo-rws .df_tci_container::before {
    content: "";
    position: absolute;
    top: 100%; /* Initial position at the bottom */
    left: 0;
    width: 100%;
    height: 100%;
    background: #6BC6E8 !important;
    transition: top 0.3s ease; /* Adjust the transition speed as needed */
}

/* Define hover effect to reveal the background */
.abdo-rws .df_tci_container:hover::before {
    top: 0; /* Move the background to the top on hover */
}
/*End abdo-rws*/

/*clinics*/
.clinics .dsm_card_title:after {
    content: "";
    width: 40%;
    height: 3px;
    background: #6BC6E8;
    display: block;
    margin: 0 auto;
	border-radius:50px !important;
}
.clinics .dsm_card_carousel_child .dsm_card_carousel_child_description {
    opacity: 0;
	position: absolute;
    top: 80%;
	transition: opacity 0.3s ease, top 0.3s ease !important;
}

/* Hover effect */
.clinics .dsm_card_carousel_child:hover .dsm_card_carousel_child_description {
    opacity: 1;
	z-index:100 !important;
    position: absolute;
    top: 18%;
	padding: 0.2em;
}
.clinics .dsm_card_carousel_child_image_wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #6685BFCC;
        color: #fff;
        text-align: center;
        padding: 20px;
        box-sizing: border-box;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
        z-index: 1;
    }

    .clinics .dsm_card_carousel_child:hover .dsm_card_carousel_child_image_wrapper::before {
        opacity: 1;
    }
/*End clinics*/

/*services-blogs*/

.services-blogs .df-post-inner-wrap {
    padding-bottom: 1em;
}
.services-blogs .df_bc_arrows>div:after {
	border: 1px solid;
	border-radius: 50% !important;
	padding: 0.1em !important;
}
.services-blogs .df_bc_arrows{
	direction:ltr !important;
}
/*End services-blogs */

/* service-card */
.service-card .et_pb_more_button {
    width: 100% !important;
}
.service-card .et_pb_button:after{
	margin-right:0.5em !important;
}
/*End service-card */
/*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;}
body .sticky-buttons a{display:flex; align-items:center; justify-content:center; margin:10px; color:#233860 !important; fill:#233860 !important; 
background-color:#6bc6e8 !important; 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:#233860;}
.sticky-buttons a.whatsapp{background-color:#6bc6e8;}
.sticky-buttons a.messenger{background-color:#6bc6e8;}
.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:#6bc6e8; 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;}

