.clear {clear:both}	

.mst-holder-push{
    width: 1200px;
    float: left;
    background-color: #149dcc;
}

.master_nav{
    width: 1200px;
    float: left;
    background-color: #149dcc;
    margin-left: 0px;
    font-family: 'Noto Sans', sans-serif; 
    font-style: normal;
    position: relative; /* Added for z-index context */
}

/* make the LI display inline and position relative 
   so that position absolute can be used in submenu */
#nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

#nav li {
    float: left; 
    display: block; 
    width: auto; 
    background-color: #149dcc;
    position: relative;
    z-index: 500; 
    margin: 0;
}
    
/* parent menu styling */
#nav li a {
    display: block; 
    padding: 18px 28px; 
    height: auto; 
    text-decoration: none; 
    text-align: center; 
    color: #fff;
    font-family: 'Noto Sans', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

#nav li a:hover {
    color: #fff;
    background-color: #ff0000;
}

/* selected value styling */
#nav li #current { 
    color: #f2f4ee;
    background: #6ab8eb;
}

#nav a.selected {
    color: #000;
    background: #fadbe3; 
}

/* submenu styling - hidden by default */
#nav ul {
    position: absolute; 
    left: 0; 
    display: none; 
    margin: 0; 
    padding: 0; 
    list-style: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Add shadow for depth */
    z-index: 600; /* Ensure submenus appear above other content */
    min-width: 100%; /* Make dropdown at least as wide as parent item */
}

/* Special handling for "CONSERVATORIES & UPGRADES" dropdown */
#nav li:nth-child(3) > ul {
    width: 100%; /* Match exact width of parent */
}

#nav ul li {
    width: 298px;
    float: left;
    display: block;
}

/* Make dropdown items in "CONSERVATORIES & UPGRADES" match parent width */
#nav li:nth-child(3) > ul > li {
    width: 100%; /* Full width of dropdown */
}

/* make links fill the whole area of LI */
#nav ul a {
    display: block;  
    padding: 14px 10px 14px 28px; 
    color: #666;
    font-size: 15px;
    text-align: left;
    background-color: #f4f5f0;
    border-bottom: 1px solid #dcdcdc;
    transition: all 0.2s ease; /* Smooth transition for hover effects */
}

#nav ul a:hover {
    text-decoration: none;    
    color: #fff;
    background: #ff0000;
}