﻿
/* main menu
----------------------------*/
#ddmenu
{
    display:block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align:center; /*Specify the alignment of the whole UL if UL is not width:100%;*/
    letter-spacing:normal;
}

#ddmenu ul
{ 
    background: #00AFD8;
	color: rgba(255,0,0,0);
    margin:0 auto; 
    padding:0;
    text-align:center; /* Alignment of each top-level menu items within the UL */
    width:100%;
    font-size:0;
    display:inline-block;
    list-style:none;
    position:relative;
    z-index:999999990; 
    max-width:1280px; /* was 1400px */
    background-color: rgba(255,0,0,0); /* background was rgba (0,153,255,0.3) */
    border:0px solid rgba(255,255,255,0.2); /* border was 1px */
    border-radius:4px; 
}

#ddmenu li
{
    margin:0;
    padding:0;
    font-size:16px;
    display:inline-block;
    *display:inline;
    zoom:1; /*for IE6-7*/
    position:relative;
    color:#eee;
    line-height:40px; /*This determines the height of the menu 46px originally ... and was the first attempt to change the menu's height */
    transition:background-color 0.2s;
    outline:none;
}

#ddmenu li.full-width {
    position: static;
}

#ddmenu li.over
{
    color:#000; /* was #FFF */
	background: rgba(0,156,216,0.0); /* introduced because there didn't seem to be any take-up from the following line */
    background-color: #00AFD8; /* was rgb(23,156,208); changed to hsl(196.9,80.1%,45.3%) (JD:  changed to #179CD0 (weblogo blue) from former blue  #00AFD8  from original #205081  */
}

#ddmenu li.over.no-sub {
    
}

#ddmenu .top-heading
{
    font-weight:bold;
    white-space:nowrap;
    margin:0 16px;
    color:inherit; /* was color:inherit */
    text-decoration:none;
    display:inline-block; 
    outline:0;
    cursor:pointer;
}

/* links of top-heading */
#ddmenu li a, #ddmenu li a:link, #ddmenu li a:hover
{
    color:inherit; /* was inherit */
}
#ddmenu li a:hover
{
    text-decoration:none; /* was underline */
}

#ddmenu li a:focus
{
    outline:1px dotted #09F;
}
    
/* caret(arrow icon) */
#ddmenu i.caret
{  
    color:inherit;
    left:-12px;
    width: 0;
    height: 0;
    overflow:hidden;/*for IE6*/
    vertical-align:middle;
    margin-bottom:2px;
    border-top: 4px solid;/*caret size is 4px now*/
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    display: inline-block;
    position:relative;
}  
        
/* sub-menu layout
----------------------------*/

#ddmenu .dropdown
{
    width:auto;    
    left:0px;    
    color:#000;   
    padding:0;margin:0;display:none;position:absolute;
    top:100%;
    border:1px solid rgba(255,255,255,0.35);
    border-top:none;
    border-radius:2px;
    background-color:rgba(0,0,0,0.1);
    background-color:#ccc \9;/*fallback for old IE*/
}

#ddmenu li.full-width .dropdown {
    width:100%;
    padding:0;
    margin:0;
    margin-left:-1px; /*Set to 0 if UL has no border*/
}

#ddmenu .offset300 {
    left:-300px;right:auto;
}

#ddmenu .right-aligned {
    left:auto;
    right:0px;
}

#ddmenu li.over .dropdown
{
    display:block;
}

#ddmenu .dd-inner {
    text-align:center;
    padding:20px;
    margin:16px;
    background-color:#FFF;
    white-space:nowrap;
    font-size:13px;
    line-height:1.35;
}
  
/* links in sub menu
----------------------------*/

#ddmenu .dropdown a
{ 
    display:table-row;
    *display:block;
    color:#000;
    line-height:22px;
    text-decoration:none;
    padding:0;
}

#ddmenu .dropdown a:hover, #ddmenu .dropdown a:focus
{
    text-decoration:underline;
    color:#09F;
}

/* blocks within the sub-menu
-----------------------------*/
#ddmenu div.column
{
    text-align:left;
    vertical-align:top;/*or middle*/
    display:inline-block;
    *display:inline;*zoom:1;
    white-space:normal;
    width:auto;min-width:170px;
	padding:0 30px;
	border-right:1px solid #999;
}

#ddmenu div.dd-inner div:last-child
{
    border-right:none;
}

#ddmenu div.column h3 {
    font-weight: 500;
    line-height: 1.1;
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 24px;
}

#ddmenu div.column h3 {text-transform:uppercase;}

/* useful when http://www.menucool.com/ddmenu/one-menu-for-all-pages */
#ddmenuLink {display:none;}

/*######## add additional styles for mobile-friendly responsive menu ########*/

#ddmenu div.menu-icon   
{
    display:none; /* hide menu icon initially */
}



/*styles for mobile*/
@media only screen and (max-width: 480px) 
{
    #ddmenu li div.column.mayHide {
    display:none;
    }

    /*override the original settings*/
    #ddmenu ul {
        width: 100%; 
        display: none;
        border-radius:0;
        background:rgba(0,153,255,0.6499999999999999); 
    }
	
    #ddmenu li {
        position:relative;
        display:block;
        font-size:20px;
        text-align:left;
        border-bottom: 1px solid rgba(0,0,0,0.2);
    }

    #ddmenu li.full-width {
        position: relative;
    }
    
    #ddmenu li .dropdown {
        position:relative;
        *top:auto;/*for IE7*/
        border:none;
        border-radius:0;
        box-shadow:none;
        text-align:left;
        background-color:#FFF;
    }
    
    #ddmenu .offset300 {
        left:0;
    }

    #ddmenu li.full-width div.dropdown {
        width: auto;
    }
        
    #ddmenu .dd-inner
    {
        margin:0;
        background:none;
        text-align:left;
    }
    
    /*turn each column to list vertically instead of horizontally */
    #ddmenu li div.column {
        width:auto;
        padding:0;
        border:none;
        display:block;
    }

    /*move the arrow icon to right*/
    #ddmenu i.caret {
        position:absolute;
        left:auto;
        right:14px;
        top:20px;
        border-width:5px;
    }


    /* All the following are for the div.menu-icon (pure CSS) */
    #ddmenu div.menu-icon {
        font-size:32px;/*icon size*/
		display: block;
        position: relative;
		width: 40px;
		height:36px;
        text-align:center;
		cursor: pointer;
		-moz-user-select:none;		
        -webkit-user-select: none;
        background-color: #eee;
        border-radius: 3px;

        margin-bottom:6px;
        /*align the icon to the right*/
        margin-left: auto;
        margin-right: 11px;
    }

    #ddmenu div.menu-icon::before {
        content: "";
        position: absolute;
        top: 0.25em;
        left: 4px;
        width: 1em;
        height: 0.125em;
        border-top: 0.375em double #333;
        border-bottom: 0.125em solid #333;
        box-sizing: content-box;
    }

    #ddmenu div.menu-icon-active {
        background-color: #333;
    }

    #ddmenu div.menu-icon-active::before {
        border-color: #eee;
    }
}

/* Structure */
@media screen and (min-width:481px) {


/* original content below was various IDs + width: 100%; */

/* below was   body, .header1, .footy */
  body, .header1, .footy {
  width: 1440px; /* was formerly 100% */
/* below font info did not appear */
/*  font: "Helvetica Neue" Helvetica Artial sans-serif; */
  font: Arial sans-serif;
  font-size: 100%;

  }
  .header1 {
  text-align: center;
  }
  .footy {
  text-align: center;
  }
  .column {
  margin: 20px 1.04166667% 0 0;
  }
  #gauche {
  width: 25%; 
  float: left;
  display: none;
  }
  #reagan {
  width: 25%;
  float: right;
  display: none;
  }
  #main {
  margin: 10px 27.0833333% 0 26.0416667%;
  }
}

@media screen and (max-width:480px) {

  body, .header1, .footy {
  width: 100%;
  }
  .header1 {
  text-align: center;
  }
  .footy {
  font: "Helvetica Neue" Helvetica Arial sans-serif;
  font-size: 50%;
  text-align: center;
  }
  .column {
  margin: 20px 0;
  border-bottom: 1px dashed #7b96bc;
  }
/* regarding the following ... formerly #gauche, #reagan, and #main were all together, with a width set at 100% */
  #main {
	width: 100%;
	}

  #gauche, #reagan {
	display: none;
	}
}

