/*
 Theme Name:  NextStoria
 Theme URI:    https://next-storia.com
 Description:  Child Theme for Divi
 Author:       Mohamed Habib Mesbah
 Author URI:   https: //www.linkedin.com/in/mohamed-habib-mesbah/
 Template:     Divi
 Version:      5.0.0
*/

/*****Add any custom CSS below this line*****/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 100000;
    height: 100%;
    width: 100%;
    overflow: hidden !important;
}

.preloader .sprite {
    width: 96px;
    height: 96px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -48px 0 0 -48px;
    background: url(../../uploads/favicon.png) no-repeat;
    background-size: cover;
}

#top-menu li.header-cta {
  background: none;
  padding: 0;
  border-radius: 0;
}

#top-menu li.header-cta > a {
  background: #693A93 !important;
  color: #fff !important;
  display: inline-block !important;
  padding: 14px 24px !important;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 200ms;
  white-space: nowrap;
}
#top-menu li.header-cta:hover > a {
  background: #4A2769 !important;
  color: #fff !important;
}

@media (min-width: 1100px) {
.mega-menu {
	border: none;
	box-shadow: none;
}
.mega-menu .sub-menu li, .mega-menu .sub-menu a {
	border: none !important;
}
.offer_1 a, .offer_2 a, .offer_3 a, .solution_1 a, .solution_2 a {padding-left: 56px !important}
.offer_1 a:before, .offer_2 a:before, .offer_3 a:before, .solution_1 a:before, .solution_2 a:before {
    font-family: "Phosphor";
	font-size: 20px;
    font-weight: normal;
	color:#693A93;
	background: #F3EEF8;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 20px;
	margin-right: 20px;
	position: absolute; 
	left: 0;
	top: -6px;
}
.offer_1 a:before {content: "\e1b0";}
.offer_2 a:before {content: "\e628";}
.offer_3 a:before {content: "\e596";}
.solution_1 a:before {content: "\e464";}
.solution_2 a:before {content: "\e15a";}

}

.google-maps {
        position: relative;
        padding-bottom: 56.25%; 
        height: 0;
        overflow: hidden;
	    border-radius: 16px;
    }
.google-maps iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: background 200ms, transform 200ms;
}
.whatsapp-float i {
  font-size: 32px;
  color: #fff;
}
.whatsapp-float:hover {
  background: #1EBE57;
  transform: scale(1.06);
}
@media (max-width: 600px) {
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .whatsapp-float i { font-size: 28px; }
}
@media print {
  .whatsapp-float { display: none; }
}

.et_pb_scroll_top.et-pb-icon {
	border-radius: 30px;
	padding: 15px;
	background-color: #693A93;
	right: 24px;
	bottom: 108px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

@media (max-width: 980px) {
  #mobile_menu li.mega-menu,
  .et_mobile_menu li.mega-menu {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    background: transparent;
    border-top: 0;
    box-shadow: none;
  }

  #mobile_menu li.header-cta,
  .et_mobile_menu li.header-cta {
    height: auto;
    display: block;
    padding: 0;
    background: transparent;
  }
}