/*
 Theme Name: WVP
 Description: Divi Child Theme for WVP
 Author: Creative Web Worx
 Author URI: https://www.creativewebworx.com
 Template: Divi
 Version: 1.0.0
*/

#wvp-nav-section.et_pb_sticky .et_pb_background_pattern {
	display: none !important;
}

/* Fund Chart and Details Section */

.fund-chart-details-row .et_pb_column:first-child {
	display: flex;
	align-items: center;
	max-width: 250px !important;
}

.fund-chart-details-row .et_pb_column {
	flex: 1;
}

/* Mobile styles */
@media screen and ( max-width: 980px ) {
    .reverse-columns-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .fund-chart-details-row .et_pb_column:first-child {
		display: flex;
		justify-content: center;
		max-width: 100% !important;
		width: 100% !important;
	}
} 

/* BEGIN Collapsible Sections  */

.cwx-collapsible-row-trigger {
    cursor: pointer;
}

body:not(.et-fb) .cwx-collapsible-row {
    display: none;
}

.cwx-collapsible-row--active {
    display: block !important;
}

@media only screen and (max-width: 600px) {
	.cwx-collapsible-row-trigger .et_pb_column:first-child {
		width: 80%;
	}
	
	.cwx-collapsible-row-trigger .et_pb_column:nth-child(2) {
		width: 20%;
	}

    .cwx-collapsible-row-trigger .et_pb_column {
        margin-bottom: 0 !important;
    }
}

/* END Collapsible Sections  */

/* BEGIN Menu styles */

.wvp-client-login-menu-link a {
    text-decoration: underline;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li.wvp-client-login-menu-link {
	height: 50px;
	align-self: center;
	align-items: center;
	background-color: #fff !important;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li.wvp-client-login-menu-link a {
	color: #000 !important;
}

#wvp-nav-section.et_pb_sticky .wvp-client-login-menu-link {
	height: 50px;
	align-self: center;
	align-items: center;
	background-color: #ed202a !important;
}

#wvp-nav-section.et_pb_sticky .wvp-client-login-menu-link a {
	color: #fff !important;
}

.wvp-client-login-menu-link a::before {
    content: '\2192\00A0'; /* Unicode for right arrow */
	font-family: "Segoe UI Symbol", "Arial", sans-serif;
    font-size: 18px;
    color: inherit;
    display: inline-block;
}


.et_mobile_menu {
    overflow: scroll !important;
    max-height: 80vh;
}

.menu-item.wpml-ls-item {
	padding-left: 20px !important;
	height: 50px;
    background-color: white;
    align-self: center !important;
    align-items: center !important;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li.wpml-ls-item a {
	color: #000 !important;
}

.menu-item.wpml-ls-item .wpml-ls-flag {
	margin-right: 5px;
}

/*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;
	}
}

@media only screen and (min-width:981px) and (max-width:1420px) {
	.et_pb_menu .et-menu>li {
		padding-left: 6px !important;
		padding-right: 6px !important;
	}
	
	.et_pb_menu--style-left_aligned .et_pb_menu__logo {
		margin-right: 10px !important;
	}
	
	.et_pb_menu_0_tb_header .et_pb_menu_inner_container>.et_pb_menu__logo-wrap .et_pb_menu__logo img {
		height: 60px !important;
	}
}

@media only screen and (min-width:1080px) and (max-width:1420px) {
	.et_pb_menu_0_tb_header.et_pb_menu ul li a {
		font-size: 14px !important;
	}
	
	.wvp-client-login-menu-link a::before {
		font-size: 14px !important;
	}
}

@media only screen and (min-width:981px) and (max-width:1079px) {
	.et_pb_menu_0_tb_header.et_pb_menu ul li a {
		font-size: 12px !important;
	}
	
	.wvp-client-login-menu-link a::before {
		font-size: 12px !important;
	}
}

/* Fix all sub menu items being highlighted with active color when top level item is active */
.et_pb_sticky .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a {
	color: #000000 !important;
}

.et_pb_sticky .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item>a {
	color: #ED202A !important;
}

/* END Menu style */