
.footer-main {
	background-color: var(--color-green-light);
	padding: 50px 0;
    font-size: 15px;
}
body:not(.homepage) .footer-main {
    margin-top: 40px;
}
@media(max-width: 767.98px){
    body:not(.homepage) .footer-main {
        margin-top: 25px;
    }
}

/* ----- Subscription and Social ----- */
body:not(.homepage) .row-subscribe {
	display: none;
}

.row-subscribe {
    color: white;
}

.newsletter-wrapper {
	position: relative;
}
#newsletter-email {
	height: 50px;
	border: 0;
	border-radius: 30px;
	width: 600px;
    max-width: 100%;
}
html[lang="en"] #newsletter-email {
	padding: 5px 120px 5px 25px;
}
html[lang="ar"] #newsletter-email {
	padding: 5px 25px 5px 120px;
}

#newsletter-subscribe-button {
	border: 0;
	background-color: var(--color-green);
	height: 40px;
	border-radius: 30px;
	color: white;
	font-weight: bold;
	position: absolute;
	top: 5px;
}
html[lang="en"] #newsletter-subscribe-button {
	right: 5px;
}
html[lang="ar"] #newsletter-subscribe-button {
	left: 5px;
}

.newsletter-options {
	flex-direction: column;
}



.social-footer a {
	color: white;
	font-size: 22px;
	margin: 15px;
}

/* ----- whiteboxes ----- */
.whiteboxes {
	position: relative;
    overflow: hidden;
}
.footer-bg {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translate(-25%,-50%);
	pointer-events: none;
}

.footer-main .whitebox {
	background-color: white;
    color: #585858;
	padding: 20px 50px;
	border-radius: 12px;
}
.footer-main .whitebox:first-of-type {
	padding: 20px 50px 35px;
    margin-bottom: 15px;
}
@media(max-width: 1199.98px){
    .footer-main .whitebox {
        padding: 15px;
    }
    .footer-main .whitebox:first-of-type {
        padding: 15px;
    }
}

.footer-main h4 {
	font-size: 17px;
	font-weight: bold;
	color: #989898;
	margin-bottom: 4px;
}

/* ----- icon media ----- */
.footer-main .icon-media{
    color: var(--color-green-light);
}
.footer-main .icon-media .footer-lg-icon {
	background-color: white;
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	box-shadow: 1px 1px 8px #d5d3d3;
	color: var(--color-green-light);
	font-size: 35px;
    z-index: 50;
    position: relative;
}
@media(max-width: 1199.98px){
    .footer-main .icon-media .footer-lg-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}

.footer-main .phone-no-lg {
	font-weight: bold;
	font-size: 30px;
	line-height: 1;
}
@media(max-width: 1199.98px){
    .footer-main .phone-no-lg {
        font-size: 23px;
    }
}

/* ----- module footer links ----- */
.module-footer-links h5 {
	color: var(--color-green-light);
	margin-bottom: 5px;
}
.module-footer-links a {
	color: #585858;
    transition: all 0.2s ease;
}
.module-footer-links a:hover {
	color: var(--color-green-light);
	font-weight: bold;
}


/* ----- copyright ----- */
.copyright {
	color: #989898;
	font-size: 15px;
}


/* ===========================================================================
Floating Buttons
============================================================================*/
#back-to-top {
    background-color: var(--color-green);
    border-radius: 50%;
    display: none;
}

#reve-chat-container-div {
    left: unset !important;
	right: 15px !important;
	bottom: 15px !important;
}

#whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity .3s ease-out;
    -webkit-transition: opacity .3s ease-out;
    opacity: 0.9;
    z-index: 997;
    background-color: transparent;
    color: #fff;
}













/* old footer */
/*
.footer-leaf{
    position: relative;
    padding: 0;
    margin-top: 120px;
}
@media(max-width: 767.98px){
    .footer-leaf{
        margin-top: 50px;
    }
}
.footer-leaf svg{
    color: #ffcc00;
}

.email-subscribe{
    background-color: #002360;
    color: white;
}
#newsletter-subscribe-button {
	border: 1px solid #006e79;
	background-color: #006e79;
	color: white;
	height: 45px;
	font-size: 16px;
	border-radius: 8px;
}
.social-footer-leaf > li > a {
	color: #ffcc00;
	font-size: 19px;
    margin: 0 6px;
}

.mobile-apps {
    position: relative;
    padding: 80px 0 30px;
    color: white;

    background: url(../images/bg/footer-shape-left.png) left 15px top 30px no-repeat,
    url(../images/bg/footer-shape-right.png) right 10px top 15px no-repeat,
    url(../images/bg/footer-stars.png) center center repeat #006e79;
}
.footer-leaf .mobile-apps h1 {
	font-size: 50px;
}
@media(max-width: 767.98px){
    .footer-leaf .mobile-apps h1 {
        font-size: 30px;
    }
    .footer-leaf .mobile-apps h4 {
        font-size: 18px;
    }
}
.row-footer-contact {
	font-size: 18px;
    margin-top: 80px;
}
@media(max-width: 767.98px){
    .row-footer-contact {
        font-size: 14px;
        margin-top: 25px;
    }
}
.col-footer-address{
    text-align: right;
    direction: rtl;
}
.row-footer-contact .footer-phone {
	font-size: 38px;
    text-align: right;
    direction: rtl;
}
@media(max-width: 767.98px){
    .row-footer-contact .footer-phone {
        font-size: 30px;
    }
}
.footer-phone .bi-telephone-fill {
	width: 30px;
	height: 30px;
	margin-top: -5px;
}
.ribbon {
	position: absolute;
	bottom: 5px;
    pointer-events: none;
    left: 280px;
    z-index: 100;
}


.copyright {
	background-color: #002360;
	color: white;
	font-size: 14px;
	padding: 12px;
}
@media(max-width: 575.98px){
    .copyright {
        padding-bottom: 80px;
    }
}
.copyright a{
    color: #ffcc00;
}
.clenFooter .copyright {
    background-color: transparent;
}
.footer-leaf-left {
    position: absolute;
    left: 0;
    bottom: 0;
}
.footer-leaf-right {
	position: absolute;
	right: 0;
	bottom: 0;
}

@media(max-width: 1799.98px) and (min-width: 1400px){
    .footer-leaf-left{display: none;}
    .footer-leaf-right{display: none;}
    .ribbon {
        left: 100px;
    }
}
@media(max-width: 1399.98px){
    .ribbon{
        left: 80px;
    }
    .footer-leaf-left{display: none;}
    .footer-leaf-right{display: none;}
}
@media(max-width: 1349.98px){
    .ribbon{display: none;}
}
@media(max-width: 1199.98px){
    .ribbon{display: none;}
}
@media(max-width: 991.98px){
    .footer-leaf-left{display: none;}
}
@media(max-width: 767.98px){
    .ribbon{display: none;}
    .footer-leaf-left,
    .footer-leaf-right{
        display: none;
    }
    .mobile-apps {
        padding: 30px 0 30px;
        background: url(../images/bg/footer-stars.png) center center repeat #006e79;
        background-size: cover;
    }
    .ul-app-buttons img {
        max-width: 135px;
    }
}

/* ugly hack to keep flex direction same for both en and ar*-/
html[lang="ar"] .email-subscribe > .container > .row {
	flex-direction: row-reverse;
}


/* floating buttons *-/
#back-to-top {
    background-color: var(--color-green);
    border-radius: 50%;
    display: none;
}

#reve-chat-container-div {
    left: unset !important;
	right: 15px !important;
	bottom: 15px !important;
}

#whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity .3s ease-out;
    -webkit-transition: opacity .3s ease-out;
    opacity: 0.9;
    z-index: 997;
    background-color: transparent;
    color: #fff;
}
*/
