﻿/*-------
    GENERAL STYLES
--------*/
.svb-dropdown-logo {
    width: 150px;
    margin-top: 6px;
    height: 41px;
    display: inline-block;
}

.svb-dropdown {
    list-style:none;
    margin: 0;
}

.svb-dropdown-item {
    background: #ffffff;
    text-align: left;
}

.svb-dropdown-item-text,
a.svb-dropdown-item-text {
    display:block;
    text-decoration:none;
    color: #00783d;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 16px;
    white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}

.svb-dropdown-sub-menu {
    list-style:none;
    margin: 0;
    padding: 0;
}

/*-------
    BIGGER SCREENS
--------*/
.svb-dropdown-show-menu {
    display: none;
}
.svb-dropdown-logo {
    float: left;
    position: relative;
}

.svb-dropdown-item-lvl-1 {
    padding: 0 17px;
    float:left;
    position:relative;
    font-size: 12px;
    border-right: 1px solid #dadada;
    margin-top: 16px;
}

.svb-dropdown-item-lvl-1:first-of-type { padding-left: 7px;}
.svb-dropdown-item-lvl-1:last-of-type { border: none;}

.svb-dropdown-item-text:hover{
    text-decoration: none;
    cursor: pointer;
    color: #00783d;
}

.svb-dropdown-sub-menu {
    background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
    background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */

-moz-box-shadow:    7px 10px 10px rgba(198,198,198,.7);
-webkit-box-shadow: 7px 10px 10px rgba(198,198,198,.7);
    box-shadow:         7px 10px 10px rgba(198,198,198,.7);
    
    position:absolute;
   
    left:-9999px; /* Bring back on-screen when needed */
    display: none;
    
}

.svb-dropdown-item-lvl-2{
    float:none;
    padding:7px 8px;
    border-bottom: 1px solid #b5b5b5;
    font-size: 10px;
    z-index: 6000;
    position: relative;
}

.svb-dropdown-item-lvl-2:hover {
    background: #f2f2f2;
}

.svb-dropdown-item-lvl-2:last-of-type { border: none;}

.svb-dropdown-sub-menu-show{ 
    left:0;
    display: block;
    z-index: 7000;
}

.svb-dropdown-item-with-subitems {
    position: relative;
    padding-right: 33px;
}

.svb-dropdown-item-with-subitems:after {
    position: absolute;
    top: 3px;
    right: 10px;
    content: '';
	width: 0; 
	height: 0; 
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #00783d;
}



/*-------
    SMALLER SCREENS
--------*/
@media (max-width: 767px) {

/*****If the site is responsive, we use the responsive menu*****/
.svb-is-responsive .svb-dropdown-logo {
    float: none;
}
.svb-is-responsive .svb-dropdown-show-menu {
    position: absolute;
    right: 20px;
    top: 7px;
    margin-left: 5px;
    padding: 8px 15px;
    background-color: #ededed;
    background-image: linear-gradient(to bottom, #f2f2f2, #e5e5e5);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
}

.svb-is-responsive .svb-dropdown-show-menu:hover {
    background-color: #cccccc;
    background-image: linear-gradient(to bottom, #eee, #f2f2f2);
}

.svb-is-responsive .svb-icon-bar {
    display: block;
    width: 18px;
    height: 1px;
    background: #ccc;
    border-top: 2px solid #f5f5f5;
    margin-bottom: 2px;
}
.svb-is-responsive .svb-dropdown {
    display: none;
}

.svb-is-responsive .svb-dropdown-show {
    display: block;
}

.svb-is-responsive .svb-dropdown-item-lvl-1 {
    padding: 0;
    float:none;
    position:static;
    font-size: 12px;
    border:none;
    margin-top: 0;
}

.svb-is-responsive .svb-dropdown-item-lvl-1:first-of-type { padding-left: 0;}
.svb-is-responsive .svb-dropdown-item-lvl-1:last-of-type { border: none;}

.svb-is-responsive .svb-dropdown-item-text,
.svb-is-responsive a.svb-dropdown-item-text {
    line-height: 40px;
    border-bottom: 1px solid #ccc;
    padding: 0 10px;
    margin: 0;
}

.svb-is-responsive .svb-dropdown-sub-menu {
    display: block;
    position: static;
    -moz-box-shadow: none;
-webkit-box-shadow: none;
    box-shadow: none;
}

.svb-is-responsive .svb-dropdown-item-lvl-2 {
    background: #f2f2f2;
    padding: 0;
    font-size: inherit;
    border: none;
}


.svb-is-responsive .svb-dropdown-item-with-subitems {
    position: static;
    padding-right: 0;
}

.svb-is-responsive .svb-dropdown-item-with-subitems:after {
    display: none;
}
}
