﻿@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,300);
@charset 'UTF-8';
/* Base Styles */
#cssmenu,
#cssmenu ul,
#cssmenu li,
#cssmenu a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
/*  font-weight: bold; */
  text-decoration: none;
  line-height: 1;
  font-family: 'Arial', sans-serif;
  font-size: 11px;
  position: relative;
}
#cssmenu a {
  line-height: 1.5;
}
#cssmenu {
  width: 100%;
  background: #fff;
}
#cssmenu > ul {
/*  border: 1px solid #ccc; */
  z-index:100;
  box-shadow:1px 2px 1px #000;
/*    -moz-box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2);
  -webkit-box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2); */
  background: #1f3776;
  background: -moz-linear-gradient(#3c5aab 10%, #1f3776 90%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, #3c5aab), color-stop(90%, #1f3776));
  background: -webkit-linear-gradient(#3c5aab 10%, #1f3776 90%);
  background: linear-gradient(#3c5aab 10%, #1f3776 90%);
/*   -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;*/
}
#cssmenu > ul:after {
  clear: both;
  content: '';
  display: table;
}




.ext_link
{
    background-image:url('../../../../../imgs/ext_link_trans.gif');
    background-repeat: no-repeat;
    background-position: right top;
    padding-right:1.8em;
}

/* Code added to stop pdf icons showing in the menu */
#cssmenu a[href$='.pdf']{
	background-image:none;
}

@media all and (max-width: 958px) {
  #cssmenu > ul {
    max-height: 38px;
    overflow: hidden;
    -webkit-transition: max-height 0.5s;
    transition: max-height 0.5s;
  }
  #cssmenu.expand ul {
    max-height: 900px;
  }
}
#cssmenu > ul > li {
  border-right:2px #fff inset;
  -moz-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2);
  -webkit-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2);
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2);
  float: left;
}
#cssmenu > ul > li.mobile {
  display: none;
}
#cssmenu > ul > li.active {
  background: #1f3776;
  background: -moz-linear-gradient(#3c5aab 10%, #1f3776 90%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, #3c5aab), color-stop(90%, #1f3776));
  background: -webkit-linear-gradient(#3c5aab 10%, #1f3776 90%);
  background: linear-gradient(#3c5aab 10%, #1f3776 90%);
}
@media all and (max-width: 958px) {
  #cssmenu > ul > li {
    border-bottom:1px white ridge;
    border-right:1px white ridge;
   

   /* -moz-box-shadow: 0 0 0 transparent;
    -webkit-box-shadow: 0 0 0 transparent;*/
    box-shadow: 2px 2px 3px #ccc;
    display: block;
    float: none;
    padding:6px;
  }
  #cssmenu > ul > li.mobile {
    display: block;
  }
  #cssmenu > ul > li.mobile i {
    float: right;
    font-style: normal;
  }
}
#cssmenu > ul > li:last-child {
  border-right: 0 none;
  -moz-box-shadow: 0 0 0 transparent;
  -webkit-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius: 0 4px 4px 0;
 /*  border-radius: 0 4px 4px 0;*/
}
#cssmenu > ul > li:last-child ul {
  left: auto;
 /*   right: 0; */
}
#cssmenu > ul > li.mobile {
  border-right: 0 none;
  -moz-box-shadow: 0 0 0 transparent;
  -webkit-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
}
#cssmenu > ul > li > a {
  margin: 1px 0 2px 0;
  font-size: 15px;
  display: block;
  color: #ffffff;
 /* text-shadow: 0 1px 1px #000;  */
}
#cssmenu > ul > li > a > span {
  display: block;
  padding: 6px 10px;
/*   font-weight: bold; */

}
  #cssmenu > ul > li > a:hover {
  background: #cfc0a7;
  background: -moz-linear-gradient(#cfc0a7 10%, #e4d4b8 90%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, #cfc0a7), color-stop(90%, #e4d4b8));
  background: -webkit-linear-gradient(#cfc0a7 10%, #e4d4b8 90%);
  background: linear-gradient(#cfc0a7 10%, #e4d4b8 90%);
  
/*  padding:3px;*/
  color:black;
}
#cssmenu > ul > li.active {
  border-bottom: none;
}
#cssmenu > ul > li.active > a {
  color: #fff;
/* text-shadow: 0 1px 1px #000; */
}



/* Sub menu */
#cssmenu ul ul {
background: #fef8e5;
  border: 1px solid #1f3776;
  border-top: 0;
  -webkit-border-radius: 0 0 7px 7px;;
  -moz-border-radius: 0 0 7px 7px;;
  border-radius: 0 0 7px 7px;
  -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
  padding: 5px 12px;
  display: none; 
  position: absolute;
  top: 36px;
  left: -3px;
  width: 300px;
  z-index: 100;
}

li.has-sub > a:hover{

background-color: #cfc0a7;

}
/* underline text and turn blue on hover for dropdown items */
#cssmenu  ul  li.has-sub ul a:hover
{
/*border-bottom : 1px solid black;*/
text-decoration:underline;
color:#0000ee;
}



@media all and (max-width: 650px) {
  #cssmenu ul ul {
    position: relative;
    top: 0;
    width: 100%;
  }
}
 #cssmenu ul ul li {
  padding: 6px 0;
 }
#cssmenu ul ul a {
  color: #000000;
  display: block;
  font-size: 15px;
}

/* Hiding a Sub Menu  - to hide the sub menu in mobile view - Reny Mathew 5/25 */
@media all and  (max-width: 990px) {


#cssmenu ul ul{
               visibility:hidden;
                padding:0;
                margin:0;
                                }

#cssmenu ul ul a {
    display: none;
    }
    
 #cssmenu ul:first-child
     {
                padding:0;
                margin:0;
                width:auto;
                }
    

#cssmenu ul:first-child ul
{
                visibility:hidden;
                padding:0;
                margin:0;
                width:auto;
                float:none;
                overflow:none;
} 

#cssmenu ul:first-child ul li
{
visibility:hidden;
                
}
    

    #cssmenu>ul li.has-sub
    {
        margin:0;
    }
    
    #cssmenu>ul li.has-sub ul
    {
      display: none;
       height: 0;
        
    }
    
    }
 
#cssmenu> ul li.has-sub > a{
	font-size:15px;
}

#cssmenu> ul li.has-sub > a:hover{
	color:black;
}
*/
   