/*
 Theme Name:     Divi Child
 Theme URI:      https://www.moonsafari.design
 Description:    Divi Child Theme - Customized
 Author:         Moon Safari 
 Author URI:     https://www.moonsafari.design
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

.et_pb_menu .et_pb_menu__wrap {
	height: 80px;
	width: auto;
}


/* Mark background styling */
mark{
	padding: 8px 16px;
	border-radius: 4px;
	background: linear-gradient(90deg, #1288ca, #9ac31e, #f18604, #e50476);
	color: #fff;
}

.ms-footnote {
	line-height: 1.2rem;
	font-size: 0.8rem;
	color:#666C7A;
	background-color: #e2edf6;
	padding: 4px 8px;
	border-radius: 4px
}

div#et-main-area {
    margin-top: -160px;
    display:inline-block;
    width:100%;
}

/* Swap fonts */
@font-face {
  font-family: 'Caros';
  src: url('/et-fonts/Caros.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'CarosHeavy';
  src: url('/et-fonts/CarosHeavy.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'ModulesFont';
  src: url('/social/modules.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'ModulesFontAlt';
  src: url('/all/modules.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'ETmodules';
  src: url('/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff') format('woff');
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}

/*set the Divi menu dropdown auto width*/
@media only screen and (min-width: 981px) {
	.nav li ul {
		width: fit-content;
		display: flex;
		flex-direction: column;
	}
	.nav li li {
		white-space: nowrap;
	}
	.nav li li a {
		width: auto !important;
	}
}