/* style 4
----------------------------------------------------------- */
.mdmegamenu.md-custom {
    color: #333;
}
.mdmegamenu.md-custom h1,
.mdmegamenu.md-custom h2,
.mdmegamenu.md-custom h3,
.mdmegamenu.md-custom h4,
.mdmegamenu.md-custom h5,
.mdmegamenu.md-custom h6 {
    color: #333;
}
.mdmegamenu.md-custom h1 small,
.mdmegamenu.md-custom h2 small,
.mdmegamenu.md-custom h3 small,
.mdmegamenu.md-custom h4 small,
.mdmegamenu.md-custom h5 small,
.mdmegamenu.md-custom h6 small {
    color: #555;
}
/* horizontal */
.md-horizontal.md-custom {
  /* #8EC993; */
  border-bottom: 3px solid #DD0D02;
  border-top: 2px solid #DD0D02;
  box-shadow:0 0 6px 0 rgba(84, 157, 52, 0.41);
  background-color:#ffffff;
}

.md-custom {
    font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
}

.md-custom .mm-item > a,
.md-custom .mm-item > a:link,
.md-custom .mm-item > a:visited {

    font-size: 14px;
    line-height: 36px;
    color: #111;
    text-transform: uppercase;
    margin-right: 1px;
    padding: 0 17px;
}

.md-horizontal.md-custom .mm-item.last > a,
.md-horizontal.md-custom .mm-item.last > a:link,
.md-horizontal.md-custom .mm-item.last > a:visited {
    background: none;
    margin-right: 0;
}

.md-custom .mm-item > a.with-arrow {
    padding-right: 34px;
}

.md-custom .mm-active > a,
.md-custom .mm-active > a:link,
.md-custom .mm-active > a:visited {
    color: #5197EC;
}

.md-custom .mm-hover > a,
.md-custom .mm-hover > a:link,
.md-custom .mm-hover > a:visited,
.md-custom .mm-hover.last > a,
.md-custom .mm-hover.last > a:link,
.md-custom .mm-hover.last > a:visited{


}

.md-custom ul.mm-container li.mm-hover > a,
.md-custom ul.mm-container li.mm-hover > a:hover,
.md-custom ul.mm-container a:hover,
.md-custom ul.mm-container .mm-active > a,
.md-custom ul.mm-container .mm-active > a:link,
.md-custom ul.mm-container .mm-active > a:visited {
    background: #FBFBFB;
}

.md-custom .mm-container {
    background: #ffffff;
    border-bottom: 3px solid #BF0000;
    border-top: 1px dashed #BF0000;
    padding-top:10px;
    top: 50px;
    box-shadow:0 3px 2px 0 rgba(84, 157, 52, 0.41);
}

.md-custom .mm-container a,
.md-custom .mm-container a:link,
.md-custom .mm-container a:visited {
    color: #000;
}


.md-custom .mm-sub h3.mm-header {
    color: #333;
    font-size: 12px;
    font-weight: bold;
    border:1px solid #eee;
    padding: 8px 10px;
    background: #FBFBFB;
    background-image:-moz-linear-gradient(49% 0% -90deg,rgb(255,255,255) 0%,rgb(251,251,251) 100%);
    background-image:-webkit-gradient(linear,49% 0%,49% 86%,color-stop(0, rgb(255,255,255)),color-stop(1, rgb(251,251,251)));
    background-image:-webkit-linear-gradient(-90deg,rgb(255,255,255) 0%,rgb(251,251,251) 100%);
    background-image:-o-linear-gradient(-90deg,rgb(255,255,255) 0%,rgb(251,251,251) 100%);
    background-image:-ms-linear-gradient(-90deg,rgb(255,255,255) 0%,rgb(251,251,251) 100%);
    background-image:linear-gradient(180deg,rgb(255,255,255) 0%,rgb(251,251,251) 100%);

    -ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffffff,endColorstr=#fffbfbfb,GradientType=0)";
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffffff,endColorstr=#fffbfbfb,GradientType=0);
}
/* vertical style */
.md-vertical.md-custom {
    height: auto;
}
.md-vertical.md-custom .mm-container {
    border-top: none;
    border-left: 3px solid #76ADF0;
}
.md-vertical.md-custom ul.mm-container {
    border-top: none;
}
.md-vertical.md-custom ul.megamenu {
    padding: 0;
}

.md-vertical.md-custom ul.megamenu > li {
        padding-left: 10px;
    margin-right: 2px;
}



.md-vertical.md-custom ul.megamenu > li.mm-hover {
    margin-right: 0;
}

.md-vertical.md-custom .mm-item > a {
        line-height: 22px;
        padding: 7px 0 7px 20px;
    margin: 0 0 1px;
    border: 1px solid #eee;
    background: #FBFBFB;
    background-image:-moz-linear-gradient(50% 0% -90deg,rgb(255,255,255) 0%,rgb(251,251,251) 100%);
    background-image:-webkit-gradient(linear,50% 0%,50% 100%,color-stop(0, rgb(255,255,255)),color-stop(1, rgb(251,251,251)));
    background-image:-webkit-linear-gradient(-90deg,rgb(255,255,255) 0%,rgb(251,251,251) 100%);
    background-image:-o-linear-gradient(-90deg,rgb(255,255,255) 0%,rgb(251,251,251) 100%);
    background-image:-ms-linear-gradient(-90deg,rgb(255,255,255) 0%,rgb(251,251,251) 100%);
    background-image:linear-gradient(-180deg,rgb(255,255,255) 0%,rgb(251,251,251) 100%);
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
}


.md-vertical.md-withdesc.md-custom .mm-item > a {
    padding-bottom: 0;
}

.md-vertical.md-custom ul.megamenu > li.mm-hover a {
    border-right: none;
}

.md-vertical.md-custom li.mm-hover > a {
    background: #76ADF0;
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}



/* menu item with description */
.md-custom.md-withdesc .mm-item > a span.mm-desc {
    font-size: 10px;
    line-height: 1.4em;
    margin-top: -6px;
    padding-bottom: 10px;
    text-transform: none;
    font-style:italic;
    text-decoration:none;
}

.md-vertical.md-custom.md-withdesc .mm-item > a span.mm-desc {
    margin-top: 0;
    text-decoration:none;
}

.md-custom .mm-hover > a span.mm-desc {
    color: #fff;
    text-decoration:none;
}

/* fixed bottom */
.md-custom.mm-fixed-bottom {
    padding-top: 0;
    padding-bottom: 3px;
}

.md-custom.mm-fixed-bottom .mm-item > a:hover {
    border-color: #FFDE84;
}

.md-custom.mm-fixed-bottom .mm-container {
    border-top: none;
    border-bottom: 3px solid #76ADF0;
}

.md-custom .mm-toggle {
    background-image: url(../images/fixed-toggle.png);
    background-color: #fff;
    height: 44px;
}

.md-custom.mm-fixed-bottom .mm-hover > a,
.md-custom.mm-fixed-bottom .mm-hover > a:link,
.md-custom.mm-fixed-bottom .mm-hover > a:visited {
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* arrow */
.md-custom .mm-arrow {
    background: url(../images/mm-arrow.png) no-repeat 0 0;
    margin-top: -6px;
    right: 13px;
    width: 13px;
    height: 12px;
}

.md-custom .mm-hover .mm-arrow,
.md-custom .mm-active .mm-arrow {
    background-position: -13px 0;
}

.md-custom.md-withdesc ul.mm-container .mm-arrow {
    top: 50%;
}

.md-custom ul.mm-container li .mm-arrow,
.md-vertical.md-custom .mm-arrow {
    background-position: -52px 0;
    width: 13px;
    height: 12px;
}

.md-custom ul.mm-container a:hover .mm-arrow,
.md-vertical.md-custom .mm-hover .mm-arrow {
    background-position: -65px 0
}

.md-vertical.md-custom .mm-arrow {
    margin-top: -7px;
}

.md-vertical.md-custom ul.megamenu > li.mm-hover .mm-arrow {
    right: 15px;
}

.md-custom.mm-fixed-bottom .mm-arrow {
    background-position: -26px 0;
}

.md-custom.mm-fixed-bottom .mm-hover .mm-arrow {
    background-position: -39px 0;
}

.md-custom.mm-fixed-bottom ul.mm-container .mm-arrow {
    background-position: -52px 0;
}

.mm-sub .inner {padding:0; margin:5px;}

.mdmegamenu strong {color:#282828;}
