/* Skins
 *
 * Skin styles should be limited to typography, colors, and
 * backgrounds. Except for text elements (i.e. h3, megamenu-title,
 * etc.), widths, margins, and padding of structural blocks are
 * set in the administration area.
 *--------------------------------------------------------*/

/* @group Minimal */
.megamenu-skin-minimal {
  background-color: #bbb;
}

.megamenu-skin-minimal .megamenu-title {
  font-size: 100%;
  font-weight: normal;
}

.megamenu-skin-minimal .megamenu-bin {
  background-color: #eee;
  border: 2px groove #7e7e7e;
  -moz-border-radius: 0.583em;
  -webkit-border-radius: 0.583em;
  border-radius: 0.583em;
}
/*background-color: #f5bb00;*/  

.megamenu-skin-minimal .megamenu-slot {
  margin-right: 4px;
  border-bottom: 1px solid #bbb;
}

.megamenu-skin-minimal .megamenu-slot-title,
.megamenu-skin-minimal .megamenu-slot-title a {
  background-color: #bbb;
  color: #fff; /* white */
  font-size: 100%;
  text-align: center;
  text-transform: uppercase;
}

.megamenu-skin-minimal .megamenu-link {
  font-size: 85%;
}

/* @end Minimal*/

/* @group friendly (ucsf theme)*/

/* overrides - begin */
.megamenu-skin-friendly li {
  margin: 0px;
  padding: 0px;
  line-height: 120%;
}

.megamenu-skin-friendly * {
  list-style: none;
}

/* overrides - end */

.megamenu-skin-friendly {
  font-family: verdana, tahoma, arial, helvetica, sans-serif;
  background: #f5bb00; /* pharmacy medium gold */
  padding: 0px 0px 5px 10px;
}

.megamenu-skin-friendly a:hover {
  text-decoration: none;
}

.megamenu-skin-friendly .megamenu-parent-title {
  text-transform: lowercase;
}

.megamenu-skin-friendly .megamenu-parent-title {
  font-weight: normal;
  font-size: 100%;
  vertical-align: bottom;
}

.megamenu-skin-friendly .megamenu-parent-title a,
.megamenu-skin-friendly .megamenu-parent-title span,
.megamenu-skin-friendly .megamenu-parent-title a:visited {
  font-style: normal;
  color: #000;
  padding: 5px;
}

.megamenu-skin-friendly .megamenu-parent-title a,
.megamenu-skin-friendly .megamenu-parent-title span,
.megamenu-skin-friendly .hovering .megamenu-parent-title a:hover {
  -moz-border-radius-topright: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topleft: 8px;
  -webkit-border-top-left-radius: 8px;
}

.megamenu-skin-friendly .megamenu-slot,
.megamenu-skin-friendly .megamenu-slot a:hover {
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}

.megamenu-skin-friendly li.megamenu-slot {
  /*width:auto;*/
  /*max-width:200px;*/
  width: 200px;
  margin: 10px 10px auto auto;
  background: #b08700; /* pharmacy dark gold */
  padding-top: 10px;
  padding-bottom: 10px;
}

.megamenu-skin-friendly li.megamenu-slot:hover {
  background-color: #b08700; /* pharmacy dark gold */
}

.megamenu-skin-friendly .hovering .megamenu-parent-title a,
.megamenu-skin-friendly .hovering .megamenu-parent-title span {
  color: #fff;
  background: #b08700; /* pharmacy dark gold */
}

.megamenu-skin-friendly .hovering .megamenu-parent-title span:hover,
.megamenu-skin-friendly .megamenu-slot-title span {
  cursor: default;
}

.megamenu-skin-friendly .hovering .megamenu-parent-title a:hover {
  color: #fff;
  background: #00325b; /* 540 blue */
}

.megamenu-skin-friendly .megamenu-bin {
  margin-top: 5px;
  padding: 0px;
  color: #fff;
    width: 50%;
}

.megamenu-skin-friendly .megamenu-slot-title {
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  color: #f4ebcb; /* 80% white on pharmacy dark gold */
}

.megamenu-skin-friendly .megamenu-slot-title a:link,
.megamenu-skin-friendly .megamenu-slot-title a:visited {
  color: #f4ebcb; /* 80% white on pharmacy dark gold */
}

.megamenu-skin-friendly .megamenu-slot-title a,
.megamenu-skin-friendly .megamenu-slot-title span,
.megamenu-skin-friendly .megamenu-item a,
.megamenu-skin-friendly .megamenu-item span {
  padding: 5px 12px 7px 12px;
  display: block;
}

.megamenu-skin-friendly .megamenu-slot a {
  color: #fff;
}

.megamenu-skin-friendly .megamenu-slot a:hover {
  color: #fff;
  background: #00325b; /* 540 blue */
}

.megamenu-skin-friendly .megamenu-item a,
.megamenu-skin-friendly .megamenu-item span {
  color: #fff;
  font-size: 100%;
}

.megamenu-skin-friendly .megamenu-item a:hover {
  color: #fff;
  background: #00325b; /* 540 blue */
}

.megamenu-skin-friendly li.megamenu-slot {
  z-index: 3000;
  background: #b08700; /* pharmacy dark gold */
  margin-bottom: 1.5em;
  border: 0px;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -opera-border-radius: 10px;
  -khtml-border-radius: 10px;
  -khtml-box-shadow: rgba(0, 0, 0, .33) 5px 5px 5px;
  -moz-box-shadow: rgba(0, 0, 0, .33) 5px 5px 5px;
  box-shadow: rgba(0, 0, 0, .33) 5px 5px 5px;
}

.megamenu-skin-friendly ul a:hover {
  text-decoration: none;
}

.megamenu-skin-friendly .megamenu-slot-title {
  font-size: 150%;
  line-height: 150%;
  font-weight: bold;
}

/* start - ensure that #megamenu-menu bar is the same height in all browsers
 * very frustrating to get this correct - do not touch!
 *--------------------------------------------------------*/
.megamenu-skin-friendly .megamenu-item a,
.megamenu-skin-friendly .megamenu-item span {
  font-size: 120%;
}

.megamenu-menu,
.megamenu-skin-friendly .megamenu-parent,
.megamenu-skin-friendly .megamenu-parent-title
/* this is the key -- all these must be set to the same value */
{
  font-size: 100%;
  line-height: 110%;
  height: 100%;
}

.megamenu-skin-friendly .megamenu-parent-title a,
.megamenu-skin-friendly .megamenu-parent-title a:link,
.megamenu-skin-friendly .megamenu-parent-title a:visited,
.megamenu-skin-friendly .megamenu-parent-title a:focus,
.megamenu-skin-friendly .megamenu-parent-title a:hover,
.megamenu-skin-friendly .megamenu-parent-title a:active,
.megamenu-skin-friendly .megamenu-parent-title span {
  padding: 4px 8px;
}

/* end - ensure that #megamenu-menu bar is the same height in all browsers
 *--------------------------------------------------------*/
.megamenu-skin-friendly .megamenu-parent-title a:hover {
  text-decoration: none;
  color: #fff;
  background: #00325b; /* 540 blue coated */
}

/* @end Friendly */


/* ------------------------------*/
/* ------------------------------*/
/* START CUSTOM SKIN - aviationcu*/
/* ------------------------------*/
/* ------------------------------*/


.megamenu-skin-aviationcu a:hover, .megamenu-skin-aviationcu li.hovering a {
	text-decoration:none;
}

/* top tier links */
.megamenu-skin-aviationcu .megamenu-parent-title a {
	color: #f4ebcb;  /*off-white, touch of orange*/
	padding:10px 10px 10px 10px;
	margin:0 0 0 0;
	font-size:1.3em;
	line-height:0em;
    border: 1px solid transparent; /* St. Joseph's Orange */
    border-bottom: 0px;
	background-repeat:no-repeat;
    
} 

/* prevent links clickable in mobile */
@media (max-width:992px) {
    .megamenu-skin-aviationcu .megamenu-parent-title a {
        pointer-events: none;
        cursor: default;
		font-size:1em;
    }
}




a.menu-219 {
	background-position:82px center;
}
a.menu-220 {
	background-position:80px center;
}
a.menu-221 {
	background-position:82px center;
}
a.menu-222 {
	background-position:104px center;
}


/* rollover state */
.megamenu-skin-aviationcu li.hovering .megamenu-parent-title a {
	color:#FF6A13; /* St. Joseph's Orange */
	background-color: #fdfdf9;  /*off-white, touch of orange*/

    border: 1px solid #FF6A13; /* St. Joseph's Orange */
    border-bottom: 0px;
    border-top: 1.5px solid #FF6A13; /* St. Joseph's Orange */;
    
	-moz-border-radius:0px;
	-webkit-border-radius:0px;
	border-radius:0px;
}

.megamenu-skin-aviationcu .menu-4931.hovering .megamenu-parent-title a {
    border-bottom: 1.5px solid #FF6A13; /* St. Joseph's Orange */    
}

.megamenu-skin-aviationcu .menu-8404.hovering .megamenu-parent-title a {
    border-bottom: 1.5px solid #FF6A13; /* St. Joseph's Orange */    
}

/* unlock links as clickable in mobile once in focus*/
@media (max-width:992px) {
    .megamenu-skin-aviationcu li.hovering .megamenu-parent-title a {
        pointer-events: auto;
        cursor: pointer;
    }
}

/* megamenu containter */
.megamenu-skin-aviationcu .megamenu-bin {
	z-index:-1;
	padding-top:20px;
    padding-bottom:0px;
    padding-left:0px;
    padding-right:3px;
	margin-top:9px;
    margin-left: 0px;
    margin-right:5px;
    max-width: 410px;
	background-color: #fdfdf9;  /*off-white, touch of orange*/
	font-size:0.8em;
	line-height:0em;
	-moz-box-shadow: 0px 0px 10px #555555;
	-webkit-box-shadow: 0px 0px 10px #555555;
	box-shadow: 0px 0px 10px #555555;
    border: 1px solid #FF6A13; /* St. Joseph's Orange */
}

/* divider line between drop-down options */
.megamenu-skin-aviationcu .megamenu-bin:after {
    content:"";
    position: absolute;
    z-index: -1;
    top: 10px;
    bottom: 10px;
    left: 50%;
    border-left: 1px dotted #bbbbbb;
}

/* remove divider line in small mobile screen */
@media (max-width: 480px ) {
    .megamenu-skin-aviationcu .megamenu-bin:after {
        display:none;
    }       
}

/*width:1084px !important;*/

/* lists */
/*
.megamenu-skin-aviationcu .megamenu-slot .odd {
	border-right:1px dotted #bbbbbb;
}
*/

.megamenu-skin-aviationcu .megamenu-slot-4, .megamenu-skin-aviationcu .megamenu-slot.last {
	margin-right: 0;
	border-right:none
}

/* category header */
/*color: #888888;*/
.megamenu-skin-aviationcu .megamenu-slot-title a {
	color:#FF6A13; /* St. Joseph's Orange */
	font-weight:lighter;
	font-size: 1.3em;
    
}

/*megamenu sub-menu for mobile */
@media (max-width: 480px ) {
	.megamenu-skin-aviationcu .megamenu-slot-title a {
		color:#FF6A13; /* St. Joseph's Orange */
		font-weight:lighter;
		font-size: 1.2em;
		
	}
}
/* remove bullet point */
li::before {
    display: none; 
}

li.megamenu-parent {
    min-height:26px;
    vertical-align: middle;
    text-align:center;
}

h2.megamenu-parent-title {
    vertical-align: middle;
}

/* remove undeline */
h2.megamenu-parent-title::after {
    display: none;
}

/* Each drop-down item */
.megamenu-menu .megamenu-slot {
    min-width: 100px;
    padding-left: 3px;
    padding-bottom: 15px;
    margin-bottom: 0.5em;
    text-align: center;
    white-space: nowrap;
}

li.megamenu-menu .megamenu-slot-0 {
    display: block;
}


/* Locate Members tabs to right of menu */
#megamenu-mlid-668, #megamenu-mlid-8404{
    float: right;
}



/* ---------------- */
/* Changes to adapt to inclusion of bootstrap */
/* ---------------- */

.grid-12 {
    padding-top:2px;
}

ul.megamenu-skin-aviationcu {
    vertical-align: middle;   
}

h2.megamenu-parent-title {
    padding-top:10px;
    padding-bottom:10px;
}

/* manipulate to increase height of menu-bar in mobile */
@media (max-width:448px) and (orientation:portrait) {
    #megamenu-mlid-8224 {
        margin-bottom:12px;
    }
}

@media (max-width:720px) and (orientation:portrait) {
    #megamenu-mlid-668 {
        margin-bottom:12px;
    }
}


/* make drop-down font darker in mobile */
@media (max-width:448px) {
    .megamenu-skin-aviationcu .megamenu-slot-title a {
	   font-weight:normal;
    }
}

@media (max-width:640px) {
    .megamenu-skin-aviationcu .megamenu-slot-title a {
	   font-weight:normal;
    }
}

/* manipulate to reduce height of header banner in mobile */
@media (max-width:448px) {
    div.header-section-1 {
        padding-bottom: 0px;
    }
}

@media (max-width:640px) {
    div.header-section-1 {
        padding-bottom: 0px;
    }
}

@media (max-width:720px) {
    div.header-section-1 {
        padding-bottom: 0px;
    }
}


/* @end Aviationcu */
