/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
*/

/* Table of Content
==================================================
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face */

/* #Site Styles
================================================== */
* { 
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box; 
	}

	
/* Section Background Bands */

.navband { background-color:#364db3;} 
	
/*navigation*/

nav.mainnav ul,
nav.mainnav ul li {
	margin: 0px;
	color:#FFF;
	background-color:#364db3;
		/* #F5F2ED - searchbox tan, #b0c2e7 - FSB stack med. blue */
}

nav.mainnav select {
	               display:none;
				   width:90%;
				   height:28px;
				   margin:21px auto;
				   color:#000000 !important;
				   }
				   
nav.mainnav select label {
                    position:absolute;
                    left:-10000px;
                    top:auto;
                    width:1px;
                    height:1px;
                    overflow:hidden;
                   }				   

nav.mainnav ul li {
	display: inline;
	float: left;
	position: relative;
}

/* top level menu items */

nav.mainnav ul li a {
	display: inline-block;
	line-height: 30px;
	padding:  0 14px;
	color: #FFF;
	text-decoration: none;
	font-weight: normal;
	text-transform:uppercase;
}

nav.mainnav ul li a.hilite { font-weight:bold;} /* emphasis for top level menu item */

nav.mainnav ul li a:hover {
	background-color:#9EB1DC;
	color:#000000;
	cursor: pointer;
}

/* sub menus */
nav.mainnav ul ul {
	display:none;
	opacity: 0;
	filter: alpha(opacity=0);
	position: absolute;
	top:100%;
	left: 0;
	z-index: 999;
	/* height: 0px; */
	overflow: hidden;
	min-width: 100%; /* sets the minimum width of a submenu item */
	-webkit-transition: opacity 0.4s ease-out;
	-moz-transition: opacity 0.4s ease-out;
	-o-transition: opacity 0.4s ease-out;
	-ms-transition: opacity 0.4s ease-out;
	/* transition: opacity 0.4s ease-out; */
	-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

nav.mainnav ul li span {display:none;}

nav.mainnav ul li > a[aria-expanded='false'] + ul {
	display: none!important;
}
nav.mainnav ul li > a[aria-expanded='true'] + ul,
nav.mainnav ul li:hover ul {
	display: block;
	opacity: 100;
	filter: alpha(opacity=100);
	height: auto;
	overflow: auto;
}

nav.mainnav ul ul li {
	float: none;
	display: list-item;
}

nav.mainnav ul ul li a {
	display: block;
	line-height: 35px;
	text-transform: none;
	white-space:nowrap; /* prevents submenu <li> from wrapping if they exceed width of parent <ul> */
}

nav.mainnav ul li > a[aria-expanded='true'],
nav.mainnav ul li:hover > a {
	background-color: #9EB1DC;
/*	border-top:1px solid #000099;
	border-left:1px solid #000099;
	border-right:1px solid #000099;

*/}

nav.mainnav ul ul li:last-child {
    background-image:url(../_images/navband3_bg.png);
	background-repeat:repeat;
}


/* #Page Styles
================================================== */
/* Styles for Phone Numbers */
a.dial {display:inline; font-stretch:semi-expanded;}
/*span.nodial {display:inline; font-stretch:semi-expanded;}*/

/* Style for Section divider in mobile browsers */
hr.mobile{display:none;}

p.mobile-db {display:none; background-color:#FF9;}

/* Styles for Home Page Quick Search Forms */		

input[type="text"].srch {margin:15px 3px 0px 10px; width:250px; font-size:80%;}
input[type="submit"].srch {display:inline; margin-left:0px;}
fieldset.srch {margin-top:10px; border:none; margin-left:4px;}
label.srch {display:block;}


/* /Styles for Home Page Forms */

#library-name {
	           background: transparent url("https://library.fuqua.duke.edu/_images/library-name.png") no-repeat scroll left top;
			   height:41px;
			   width:218px;
			   display: block;
			   float: left;
			   margin-left: 85px; /* 110px - new banner */
			   margin-top:50px;   /* 40px - new banner */
			   position: relative;
			   overflow: hidden;
			   padding-top:0;			   
               }

#library-name span {
	                position:absolute;
					left:9999999px;
                    }

/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
		body{background: linear-gradient(#ffffff, #ffffff) no-repeat scroll 0 0 rgba(0, 0, 0, 0);}
		nav.mainnav ul {display:none;}
		nav.mainnav select {display:block;}
		input[type="text"].srch {margin-left:5px; margin-right:2px;}
		input[type="submit"].srch {padding:4px 5px; margin-right:2px; margin-left:0px;}
		img.leftcol {margin-left:0px;}
		img.srch { float:right; margin:-60px -5px 0 5px;}
		div.banner-search {display:none;}	
		}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
		nav.mainnav ul {display:none;}
		nav.mainnav select {display:block;}
		div.banner-search {display:none;}
		#top-img {margin-top:12px; margin-bottom: 6px;}
		}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		header {margin-bottom:10px;}
		body{background: linear-gradient(#ffffff, #ffffff) no-repeat scroll 0 0 rgba(0, 0, 0, 0);}
		hr.mobile {display:block;}
		p.mobile-db {display:block;}
		p.maptitle {display:block; font-weight:bold;}
		div.banner-search {display:none;}
		#top-img {margin-top:12px; margin-bottom: 6px;}
		}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (min-width: 360px) and (max-width: 479px) {
		a.dial {display:inline;}
		span.nodial {display:none;}
		body{background: linear-gradient(#ffffff, #ffffff) no-repeat scroll 0 0 rgba(0, 0, 0, 0);}
		hr.mobile {display:block;}
		p.mobile-db {display:block;}
		p.maptitle {display:block; font-weight:bold;}
		div.banner-search {display:none;}
		#top-img {margin-top:12px; margin-bottom: 6px;}		
		}


/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/

/**
 * Carlton, here are the styles to make the new Bootstrap tabs look like the old current one


#db-tabs .nav-link {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    border: 1px solid #CCD7EB;
    border-radius: 5px 0 0 5px;
    border-right: 0;
    padding: 5px 10px;
    margin-bottom: 15px;
    background-color: #ddd;
}

#db-tabs .nav-link.active {
    color: #000;
    background-color: #F0F3FA;
    font-weight: bold;
    border-bottom: 1px solid #9EB1DC;
    border-top: 1px solid #9EB1DC;
    border-left: 1px solid #9EB1DC;
    border-right: none;
}

.tab-content {
    border-top: 1px solid #CCD7EB;
    border-right: 1px solid #CCD7EB;
    border-bottom: 1px solid #CCD7EB;
    background-color: #F0F3FA;
    padding: 10px 10px;
    min-height: 414px;
    overflow: hidden;
}
 */