/*
Theme Name:   RuleX
Theme URI:    https://partner.rulex.ai/
Description:  A nice theme for Rulex Partner site
Author:       Mirko Mancini
Author URI:   https://rulex.ai/
Template:     Divi
Version:      1.4.8
License:      Rulex Inc. All rights reserved
License URI:  https://rulex.ai/
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  partner.rulex
*/

/*	Menu	*/
.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a {
	text-decoration: underline;
	text-decoration-thickness: 0.1875em;
	text-underline-offset: 0.35em;
	text-decoration-color: #65d98e !important;
}

.display_none	{
	display: none !important;
}
/*	End of menu	*/

/* HOME */
.boxed_words {
	display: grid;
	place-content: center;
}
/* END OF HOME	*/

.privacy-policy {
    font-size: 0.75rem;
}

.iub__us-widget {
    font-family: "MontSerrat", sans-serif !important;
    font-weight: 500;
    font-size: 0.75rem;
}

.iub__us-widget__wrapper {
    border: 1px solid #dee7e3 !important;
    font-family: "MontSerrat", sans-serif !important;
    font-weight: 500;
    font-size: 0.75rem;
}

/* hide popup section */
.et-popup-login {
    display: none;
}

/* hide login button when logged in */
.logged-in .et-popup-login-button {
    display: none !important;
}

/* hide logout button when logged out */
.et-popup-logout-button {
    display: none !important;
}

/* show logout button when logged in */
.logged-in .et-popup-logout-button {
    display: inline-block !important;
}

/* hide logged out form when logged in */
.logged-in .et-logged-out-form {
    display: none !important;
}

/* hide logged in form when logged out */
.et-logged-in-form {
    display: none !important;
}

/* show logged in form when logged in */
.logged-in .et-logged-in-form {
    display: block !important;
}

/* style logout link within logged in form */
.et-logged-in-form a {
    display: block;
    padding: 1em;
    border-radius: 0.5em;
    background: #026;
    max-width: 400px;
    margin: 1.5em auto 0px;
    color: #fff;
    transition: all 150ms ease-in-out;
}

.et-logged-in-form a:hover {
    scale: 0.95;
    background: #004895;
    color: #fff;
    transition: all 150ms ease-in-out;
}

.et-logged-in-form a:active {
    background: #ffc215;
    scale: 0.85;
}

.et-toggle-popup {
    cursor: pointer;
}

/* Icon logout button for popup */
.et-logged-in-form a::before {
    content: "\f13e";
    font-family: FontAwesome !important;
    font-weight: 900 !important;
    margin-right: 1ch;
}

/* show hidden elements in visual builder */
body.et-fb .et-popup-login,
body.et-fb .et-logged-out-form {
    display: block !important;
}

body.et-fb .et-popup-login-button {
    display: inline-block !important;
}

/*	decoration menu	*/
#menu-main-menu li:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: 2.8ch;
    left: 0;
    background-color: #65d98e;
    transform-origin: bottom right;
    transition: transform 200ms ease-out;
}

#menu-main-menu li:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

#menu-main-menu li:not(:first-child)::before {
    content: "";
    width: 2px;
    height: 8px;
    background: #a5a7ab;
    position: absolute;
    display: inline-block;
    bottom: 45%;
    left: 0;
}

/*style the second line text span tag*/
.nav li a span {
    display: block;
    color: #aaaaaa;
    font-size: 80%;
    font-style: italic;
    letter-spacing: 1px;
    line-height: 1.7em;
}

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a,
.et_pb_menu--with-logo .mobile_nav>ul>li>a {
    flex-direction: column;
    gap: 0.5em;
    display: flex !important;
}

/* title project */
h4.et_pb_module_header {
    text-align: center;
    margin-top: -0.5em;
    line-height: 1.25;
}

h4.et_pb_module_header::before {
    content: "\f054";
    color: #65d98e;
    font-family: "FontAwesome";
	font-size: 1rem;
    margin-right: 0.25em;
}

/*	font-weight	*/
.bold {
    font-weight: 600;
}

.bolder {
    font-weight: 700;
}

.boldest {
    font-weight: 800;
}

/*	bootstrap mini	*/
.text-start {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-end {
    text-align: right !important;
}

/*	from rulex main 	*/
.balanced {
    text-wrap: balance;
}

/* SAFE EMAIL IMG*/
.mail_protection {
	max-width: 13ch;
  	margin-bottom: -0.3ch;
  	margin-inline: 0.125ch;
}

/*	rounded corners for portfolio images	*/
.et_overlay, 
.et_portfolio_image img, 
.et-waypoint.et_pb_animation_top.et_pb_animation_top_tablet.et_pb_animation_top_phone {
	border-radius: 0.5em;
}