/*
Copyright Â© 2013 Adobe Systems Incorporated.

Licensed under the Apache License, Version 2.0 (the â€œLicenseâ€);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an â€œAS ISâ€ BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.accessible-megamenu {
    /*position: fixed;*/
    display:block;
   /* box-sizing: border-box;*/
    list-style: none;
   /* margin: 0 0 0 60px;*/
  	margin: 0;
    padding: 0;
	height: 50px;
    /*height: 3.077em;
    color: #454545;
    background-color: #dfe2e2;
    border-color: rgba(0, 0, 0, 0.3);
    border-style: solid;
    border-width: 0 1px 1px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    font-size: 13px;*/
    z-index: 1000;
    /*width: 900px;*/
}

.megamenu .fa {
	display: none;
}

.accessible-megamenu h2,
.accessible-megamenu h3,
.accessible-megamenu h4 {
    font-size: 1em;
    display: inline;
    margin: 0;
    padding: 0;
    line-height: inherit;
}

.accessible-megamenu .accessible-megamenu-top-nav-item {
    position: relative;
    display: block;
    box-sizing: border-box;
    list-style: none;
    margin: 0;
	margin-left: 10px;
	margin-top: 10px;
    padding: 0;
    /*height: 3.077em;*/
    float: left;
    /*color: #454545 !important;
    text-shadow: 0 1px 0 #fff;
    -moz-text-shadow: 0 1px 0 #fff;*/
    /*border-right: 2px solid #E11E34;*/
}

.accessible-megamenu :focus {
    outline:  2px solid rgba(195, 0, 0, 0.3);
    -moz-outline-radius: 3px;
}

.accessible-megamenu .accessible-megamenu-top-nav-item:last-child {
	border: none;
}

.accessible-megamenu .accessible-megamenu-top-nav-item a[aria-haspopup] {
    position: relative;
    display: block;
    line-height: 2.250em;
    /*height: 2.250em;*/
    padding-left: 0.769em;
    padding-right: 0.769em;
    /*color: #454545 !important;*/
	color: #5f5f5f;
    text-decoration: none;
    /*box-shadow: inset 1px 1px 0 #fff;*/
    z-index: inherit;
}
 .accessible-megamenu .accessible-megamenu-top-nav-item .accessible-megamenu-panel-group a[aria-haspopup] {
 	line-height: 2em;
    /*height: 2em;*/
	padding: 0;
	/*color: #50AF31;*/
 }

.accessible-megamenu .accessible-megamenu-top-nav-item a[aria-haspopup]:hover, 
.accessible-megamenu .accessible-megamenu-top-nav-item a[aria-haspopup]:focus {
    color: #333 !important;
    outline-offset: -1px;
}

.accessible-megamenu .accessible-megamenu-top-nav-item a[aria-haspopup]:hover, 
.accessible-megamenu .accessible-megamenu-top-nav-item a[aria-haspopup]:focus
/*.accessible-megamenu .accessible-megamenu-top-nav-item a[aria-haspopup]:active,
.accessible-megamenu .accessible-megamenu-top-nav-item a[aria-haspopup].open*/ {
    margin-left: 0;
    /*background: #f5f8fa none;
    background: -webkit-gradient(linear,left top,left bottom,from(#f5f8fa),to(#e3e5e5));
    background: -moz-linear-gradient(top,#f5f8fa,#e3e5e5);
    background: -ms-linear-gradient(top,#f5f8fa,#e3e5e5);
    background: -o-linear-gradient(top,#f5f8fa,#e3e5e5);*/
	background: #50AF31;
	color: #fff !important;
    /*z-index: 1002;*/
    
}

.accessible-megamenu .accessible-megamenu-top-nav-item a[aria-haspopup].open {
    /*background: #f5f8fa none;
	background: #285468;
	color: #fff !important;*/
    /*padding-bottom: 2px;*/
}

.accessible-megamenu .accessible-megamenu-top-nav-item:first-child a[aria-haspopup] {
    /*border-bottom-left-radius: 3px;*/
}

.accessible-megamenu .accessible-megamenu-top-nav-item:first-child a[aria-haspopup].open {
    /*border-bottom-left-radius: 0px;
    border-left: 1px solid rgba(0,0,0,0.3);
    left: -1px;
    margin-right: -1px;*/
}

.accessible-megamenu .accessible-megamenu-panel {
    position: absolute;
    display: block;
    left: -1px;
    color: #454545;
    margin: 0;
    padding: 1.538em 0 0.769em 0;
    line-height: normal;
    background: rgb(255, 255, 255); /* Fallback for older browsers without RGBA-support */
	background: rgba(255, 255, 255, 0.9);   
    /*background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f8fa),to(#e3e5e5));
    background-image: -moz-linear-gradient(top,#f5f8fa,#e3e5e5);
    background-image: -ms-linear-gradient(top,#f5f8fa,#e3e5e5);
    background-image: -o-linear-gradient(top,#f5f8fa,#e3e5e5);*/
    cursor: default;
	/*
    -webkit-box-shadow: 0 4px 6px -2px rgba(0,0,0,.5), inset 1px 1px 0 #fff;
       -moz-box-shadow: 0 4px 6px -2px -moz-rgba(0,0,0,.5), inset 1px 1px 0 #fff;
            box-shadow: 0 4px 6px -2px rgba(0,0,0,.5), inset 1px 1px 0 #fff;
    */
    visibility: hidden;
    top: -9999em;
    max-height: 0px;
    overflow: hidden;
    /*opacity: 0;
    -webkit-transition: opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
       -moz-transition: opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
        -ms-transition: opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
         -o-transition: opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
            transition: opacity 250ms ease 250ms, max-height 500ms ease, visibility 0s linear 500ms, top 0s linear 500ms;
    */
    /*border: 1px solid rgba(0,0,0,0.3);
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;*/
}

.accessible-megamenu .accessible-megamenu-panel.open {
    visibility: visible;
    top: 3em;
    max-height: 1200px;
    opacity: 1;
    z-index: 1001;
    -webkit-transition: opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
       -moz-transition: opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
        -ms-transition: opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
         -o-transition: opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
            transition: opacity 250ms ease, max-height 500ms ease, visibility 0s linear 0s, top 0s linear 0s;
}

.accessible-megamenu .accessible-megamenu-panel a {
    display: inline-block;
    font-size: .92em;
    line-height: 1.5em;
    text-decoration: none;
    color: #c30000;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 0.5em;
}

.accessible-megamenu .accessible-megamenu-panel ul li a {
	color: #50AF31;
	border-bottom: 1px solid #50AF31;
	width: 100%;
	font-size: 1.063em;
}

.accessible-megamenu .accessible-megamenu-panel ul li ul li a {
	color: #555;
	font-weight: normal;
	border-bottom: none;
	font-size: 1em;
	width: 100%;
}

.accessible-megamenu .accessible-megamenu-panel.cols-4 {
    width: 1120px;
}

.accessible-megamenu .accessible-megamenu-panel.cols-4 > ul > li {
    width: 22%;
}

.accessible-megamenu li a {
	font-size: 1em;
	/*font-weight: bold;*/
}

.accessible-megamenu .accessible-megamenu-panel.cols-4b {
    width: 1120px;
    left: -7.25em;
    border-top-left-radius: 3px;
}

.accessible-megamenu .accessible-megamenu-panel.cols-4b > ul > li {
    width: 22%;
}

.accessible-megamenu .accessible-megamenu-panel.cols-3 {
    width: 1120px;
}

.accessible-megamenu .accessible-megamenu-panel.cols-3 > ul > li {
    width: 30%;
}

.accessible-megamenu .accessible-megamenu-panel.cols-1 {
    width: 585px;
}

.accessible-megamenu .accessible-megamenu-panel.cols-1 > ul > li {
    width: auto;
}

.accessible-megamenu .accessible-megamenu-panel ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.accessible-megamenu .accessible-megamenu-panel ul > li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.accessible-megamenu .accessible-megamenu-panel > ul > li {
    float: left;
    display: block;
    margin-right: 1em;
    margin-bottom: 1em;
    padding-left: 1em;
    /*border-left: 1px solid rgba(0,0,0, 0.3);
    box-shadow: inset 1px 0 0 #fff;*/
}

.accessible-megamenu .accessible-megamenu-panel > ul > li:first-of-type {
    /*padding-left: 0;*/
    border-left: none;
    box-shadow: none;
}

.accessible-megamenu .accessible-megamenu-panel > p {
    color: #454545;
    font-size: 1.2em;
    line-height: 1.1em;
}

.accessible-megamenu .accessible-megamenu-panel > ul > li > h3 > a {
    font-weight: bold;
    color: #454545;
    font-size: 1.2em;
    margin-bottom: 6px;
    padding-top: .4em;
    padding-bottom: 0;
    line-height: 1.1em;
}

.accessible-megamenu .accessible-megamenu-panel ul ul > li > a {
    width: auto;
    /*text-indent: -2.5em;
    padding-left: 2.5em;*/
}

.accessible-megamenu .accessible-megamenu-panel a:hover,
.accessible-megamenu .accessible-megamenu-panel a:focus {
    color: #fff;
	background-color: #50AF31;
    text-decoration: none;   
	/*border: none;*/
}

.accessible-megamenu .accessible-megamenu-panel > ul > li > h3 > a:hover,
.accessible-megamenu .accessible-megamenu-panel > ul > li > h3 > a:focus {
    color: #333;
}

.accessible-megamenu .accessible-megamenu-panel hr {
    border-width: 1px 0px;
    border-style: solid;
    border-top-color: rgba(0,0,0, 0.3);
    border-bottom-color: #fff;
}

@media print, screen and (max-width: 2000px) { /* 960px*/
    .accessible-megamenu {
        min-width: 364px;
        /*margin-left: 6%;*/
        position: relative;
        /*width: 99%;*/
    }
    .accessible-megamenu .accessible-megamenu-top-nav-item {
        position: static;
    }
    
    .accessible-megamenu .accessible-megamenu-panel.cols-4,
    .accessible-megamenu .accessible-megamenu-panel.cols-4b,
    .accessible-megamenu .accessible-megamenu-panel.cols-3,
    .accessible-megamenu .accessible-megamenu-panel.cols-1 {
        position: absolute;
        top: 3.5em;
        width: 100%;
        left: -1px;
		/*
		border-left: 1px solid #55ae4b;
		border-right: 1px solid #55ae4b;
		border-bottom: 1px solid #55ae4b;*/
		box-shadow: 3px 3px 5px 3px #ccc;
    }
}

@media print, screen and (max-width: 960px) { /* 960px*/
    .accessible-megamenu {
        min-width: 364px;
        /*margin-left: 6%;*/
        position: relative;
        /*width: 100%;*/
    }
    .accessible-megamenu .accessible-megamenu-top-nav-item {
        position: static;
    }
    
    .accessible-megamenu .accessible-megamenu-panel.cols-4,
    .accessible-megamenu .accessible-megamenu-panel.cols-4b,
    .accessible-megamenu .accessible-megamenu-panel.cols-3,
    .accessible-megamenu .accessible-megamenu-panel.cols-1 {
        position: absolute;
        top: 3em;
        width: 100%;
        left: -1px;
    }
    
    .accessible-megamenu .accessible-megamenu-panel > ul > li,
    .accessible-megamenu .accessible-megamenu-panel.cols-4 > ul > li,
    .accessible-megamenu .accessible-megamenu-panel.cols-4b > ul > li,
    .accessible-megamenu .accessible-megamenu-panel.cols-3 > ul > li,
    .accessible-megamenu .accessible-megamenu-panel.cols-1 > ul > li {
        width: 42%;
    }
    
	/*
    .accessible-megamenu .accessible-megamenu-panel > ol > li:nth-of-type(3) {
        padding-left: 0;
        border-left: none;
        box-shadow: none;
    }*/
}

@media all and (-webkit-min-device-pixel-ratio: 0) {
    .accessible-megamenu {
        min-width: 361px;
    }
}

@media print, screen and (max-width: 768px) {
	.accessible-megamenu li a {
		font-size: 1.0em;
	}
}

@media print, screen and (max-width: 450px) {
    .accessible-megamenu {
        border-width: 0 0 1px 1px;
    }
    .accessible-megamenu .accessible-megamenu-top-nav-item:last-child,
    .accessible-megamenu .accessible-megamenu-top-nav-item:last-child a[aria-haspopup] {
        border-bottom-right-radius: 3px;
    }
    
    .accessible-megamenu .accessible-megamenu-top-nav-item:last-child a[aria-haspopup].open {
        border-bottom-right-radius: 0px;
        border-right: 1px solid rgba(0,0,0,0.3);
        right: -1px;
        margin-left: -1px;
    }
    
    .accessible-megamenu .accessible-megamenu-panel.cols-4,
    .accessible-megamenu .accessible-megamenu-panel.cols-4b,
    .accessible-megamenu .accessible-megamenu-panel.cols-3,
    .accessible-megamenu .accessible-megamenu-panel.cols-1 {
        right: 1px;
    }
    
    .accessible-megamenu .accessible-megamenu-panel.cols-4b,
    .accessible-megamenu .accessible-megamenu-panel.cols-3,
    .accessible-megamenu .accessible-megamenu-panel.cols-1 {
        border-top-left-radius: 3px;
    }
}