/*
 Theme Name:     Divi Child
 Theme URI:      https://www.justsomedia.co.uk
 Description:    Divi Child Theme
 Author:         Surya Osborne
 Author URI:     https://www.justsomedia.co.uk
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here

/* selection */

::selection {
	color: #A7BFB9;
	background-color: #2a3431;
}
-moz-::selection {
	color: #A7BFB9;
	background-color: #2a3431;
}

/* Change color on primary menu */
@media (min-width: 980px) {

#top-menu-nav #top-menu a:hover
{
    color: #f19966!important;
    opacity:1 !important;
}

/* underline on the main nav items */
ul#top-menu > li.menu-item > a:before {
    content: '';
    position: relative;
    display: block;
	top: 20px;
    bottom: 0px;
    left: 0;
    right: 0;
    width: 0;
    height: 3px;
    margin: auto;
    background-color: #f19966 !important;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

ul#top-menu > li.menu-item > a:hover:before {
	visibility: visible;
    width: 100%;
}

ul#top-menu > li.current-menu-item > a:before {
	content: '';
    position: relative;
    display: block;
	top: 20px;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 3px;
    margin: auto;
    background-color: #f19966 !important;
    -webkit-transition: .5s ease;
    transition: .5s ease;
	width: 100%;}
}

/* move drop down menu to the right */

ul.sub-menu {
	position: relative; 
	left: -100px;
}
/* icons before contact and footer links light then dark versions */
a.telephone::before {
	content: "\e090";
	font-family: 'ETMODULES';
    text-align: center;
    vertical-align: middle;
    margin-right: 10px;
    color: #ffffff;
    font-size: 1em;
    transition: all .3s ease;
}

a.email::before {
	content: "\e076";
	font-family: 'ETMODULES';
    text-align: center;
    vertical-align: middle;
    margin-right: 10px;
    color: #ffffff;
    font-size: 1em;
    transition: all .3s ease;
}

p.address::before {
	content: "\e081";
	font-family: 'ETMODULES';
    text-align: center;
    vertical-align: middle;
    margin-right: 10px;
    color: #ffffff;
    font-size: 1em;
    transition: all .3s ease;
}

a.privacy::before {
	content: "\e058";
	font-family: 'ETMODULES';
    text-align: center;
    vertical-align: middle;
    margin-right: 10px;
    color: #ffffff;
    font-size: 1em;
    transition: all .3s ease;
}

a.telephonedark::before {
	content: "\e090";
	font-family: 'ETMODULES';
    text-align: center;
    vertical-align: middle;
    margin-right: 10px;
    color: #2a3431;
    font-size: 1em;
    transition: all .3s ease;
}

a.emaildark::before {
	content: "\e076";
	font-family: 'ETMODULES';
    text-align: center;
    vertical-align: middle;
    margin-right: 10px;
    color: #2a3431;
    font-size: 1em;
    transition: all .3s ease;
}

p.addressdark::before {
	content: "\e081";
	font-family: 'ETMODULES';
    text-align: center;
    vertical-align: middle;
    margin-right: 10px;
    color: #2a3431;
    font-size: 1em;
    transition: all .3s ease;
}
a.privacydark::before {
	content: "\e058";
	font-family: 'ETMODULES';
    text-align: center;
    vertical-align: middle;
    margin-right: 10px;
    color: #2a3431;
    font-size: 1em;
    transition: all .3s ease;
}

.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
    display: block!important;
    content: "\e04f" !important;
}

/*mobile menu background color */

header #et-top-navigation ul#mobile_menu {
    background-color: #ffffff;
}

ul#mobile_menu a:hover {
	color: #f19966;
}

/* fixed header drop down background */
.et-fixed-header .nav ul {
    background-color: #A7BFB9 !important;
}

/* auto width drop down menus desktop */
@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;
	}
}

/* toggle drop down child items on mobile */
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}


/* mailpoet form styles */

form.mailpoet-manage-subscription .mailpoet_text_label, 
form.mailpoet-manage-subscription .mailpoet_select_label, 
form.mailpoet-manage-subscription .mailpoet_segment_label{
    display: block;
    font-weight:bold;
}
form.mailpoet-manage-subscription .mailpoet_select, 
form.mailpoet-manage-subscription .mailpoet_text{
	width: 50%;
	padding: 12px;
}
form.mailpoet-manage-subscription .mailpoet_paragraph{
	margin-bottom:20px
}
form.mailpoet-manage-subscription .mailpoet_submit{
    padding: 20px 20px;
    width: 50%;
    font-weight: bold;
    font-size: 11pt;
	background: #F19966;
	cursor: pointer;
	color: #ffffff;
	font-family: 'Verdana', Helvetica, Arial, Lucida, sans-serif;
	font-weight: normal;
	font-size: 20px;
}

.mailpoet-manage-subscription .mailpoet-submit-success {
    color: #ffffff !important;
	text-decoration: underline;
}