/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-family:"Open Sans", Arial,Helvetica,sans-serif;
	font-size:13px;
}

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    margin: 1em 0;
    padding: 0;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    padding: 0.2em 0;
    background: #ccc;
    color: #000;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
	background:#f4f4f4 url(../images/left_hash_CCCCCC_60px.png) fixed repeat;
}

p {margin:0;}

ul, li{
	margin:0px;
	padding:0px;
	list-style:none;
}

.leftColumn{
	width:750px;
	min-height:100%;
	background:#fff url(../images/leftColumnBG.gif) repeat-y;
	position:absolute;
	top:0;
	left:0;
	-webkit-box-shadow:  0px 0px 16px 8px rgba(0, 0, 0, .2);

	        box-shadow:  0px 0px 16px 8px rgba(0, 0, 0, .2);
}

.rightColumn {
	width:250px;
	position:fixed;
	top:0;
	left:750px;
	padding-left:20px;
}


/* ==========================================================================
   Side bar - filters and sorting
   ========================================================================== */
.sidebar{
	width:165px;
	color:#fff;
	background:#404040 url(../images/search.png) 110px 16px no-repeat;
	padding:70px 0 100px 0;
	float:left;
	text-align:right;
}

.sidebar h2{
	font-size:13px;
	font-weight:400;
	margin:0px 0 12px 0;
	padding:0px 30px 0 0;
	text-transform:uppercase;
	cursor:pointer;
}

.sidebar h2.open{}

.sidebar a{
	display:block;

	width:135px;

	margin:0px;
	padding:3px 0px 6px 0;
	color:#666;
	text-decoration:none;}
	
.sidebar a.active{
	color:#fff;
}

.sidebar a:hover{
		color:#fff;
}	

.sidebar a:hover + span{
	
}

.sidebar ul{
	margin-bottom:20px;
	font-size:11px;
	line-height:10px;
}

.sidebar ul{
	display:none;
}

.sidebar ul a{float:left;padding-right:0;}


.mediaFilterList a{float:left;padding-right:0;}
.mediaFilterList a:hover{color:#666;cursor:default;}
.mediaFilterList a.availableOption:hover{color:#fff;cursor:pointer;}


li.active span.activeOption{color:#fff;}

span.activeOption{
	width:30px;
	text-align:center;
	float:right;
	color:#666;
	padding-top:3px;}

a.active + span.activeOption{
	color:#fff;
}

.backToTop{
}

a.backToTop{
	color:#fff;
}


/* ==========================================================================
  Main content - searching and search results
   ========================================================================== */
.mainContent{
	width:585px;
	float:left;

}

#searchForm{
	margin:20px 0 0 20px;
}

#searchForm h1{
	font-size:24px;
font-weight:400;
text-transform:uppercase;
	margin-top:65px;
}

#searchInput{

	width:350px;
}

.searchResults{
	display:none;
	border-bottom:1px solid #ccc;
	padding:29px 0 4px 20px;
}

.searchResults h2{
	display:inline;
	font-size:18px;
	font-weight:400;
	text-transform:uppercase;
	margin:0;
}

.searchResults p{
	display:inline;
}

.mediaCount{
}	

.mediaList{
}


.mediaList li{
	position:relative;
	padding:10px 20px 16px 20px;
	border-bottom:1px solid #ccc;
	-webkit-transition: background 200ms ease-in-out;
			-moz-transition: background 200ms ease-in-out;
	        -ms-transition: background 200ms ease-in-out;
	        -o-transition: background 200ms ease-in-out;
			transition: background 200ms ease-in-out;
}

.mediaList li:hover{
	background:#f4f4f4;
}

p.mediaType{
	color:#999;
	font-size:12px;
	margin:0;
}
	
.mediaList a{
	margin:0px;
	color:#D95E00;
	text-decoration:none;
	font-size:18px;
}

.mediaList a:hover{
	border-bottom:1px dotted #D95E00;
}

.mediaList a:visited{
	color:#000;
}	

/* Special Styles for blank links */
.mediaList a[href="(blank)"],.mediaList a[href="n/a"]{color:#ccc;}
.mediaList a[href="(blank)"]:hover,.mediaList a[href="n/a"]:hover{cursor:default;border:none;}
	
p.mediaURL{font-size:11px;
	-ms-word-break: break-all;
	     word-break: break-all;

	     /* Non standard for webkit */
	     word-break: break-word;

	-webkit-hyphens: auto;
	   -moz-hyphens: auto;
	        hyphens: auto;
}

p.meta{
	padding-top:3px;
	font-size:12px;
}	
span.courseID{padding-right:20px;}
	
span.school{padding-right:20px;}
	
span.credits{}

span.mediaID, span.mediaISD {padding-right:12px;}
	
span.addToList{
	position:absolute;
	text-indent:-999px;
	right:0px;
	top:0px;
	width:45px;
	height:45px;
	color:#005A8C;
	cursor:pointer;
	background:url(../images/addToList.png) 17px 0 no-repeat;
}

span.addToList:hover{
	background:url(../images/addToListHover.png) 17px 0 no-repeat;
	
}



.mainContent footer{
	padding:20px 20px 60px 20px;
}	


/* ==========================================================================
   Our custom list
   ========================================================================== */	

.rightColumn header{
	margin-top:70px;
	
}

.rightColumn header h2{
	float:left;
	font-size:18px;
	font-weight:400;
	text-transform:uppercase;
	margin:0;
	padding-bottom:4px;
}

.rightColumn header .viewCustomList{
	display:none;
	float:right;
	margin:0;
	padding:4px 6px 0 0;
}

a.viewCustomList{
	text-decoration:none;
}

a.viewCustomList:hover{
	color:#000;
}
	
.customMediaList{
	border-top:1px solid #ccc;

	padding:12px 0;
}

.customMediaList li{
	margin-bottom:6px;
	font-size:11px;
	font-weight:600;
	clear:both;
}

.customMediaList li a{
	width:200px;
	float:left;
	color:#666;
	text-decoration:none;
}

.customMediaList li a:hover{
	color:#000;
}

.customMediaList li:last-child{
	border-bottom:1px solid #ccc;
	padding-bottom:12px;
}

span.delete{
	display:block;
	float:right;
	width:16px;
	height:16px;
	margin-right:3px;
	background:url(../images/removeFromList.gif);
	cursor:pointer;
	-moz-opacity: 0.30;
	opacity: 0.30;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=30);
	
}

span.delete:hover{
	-moz-opacity: 1;
	opacity: 1;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=100);
	
}

.clearList{
	display:none;
	float:right;
}





/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    overflow: hidden;
    /* IE 6/7 fallback */
    border: 0;
    background-color: transparent;
    *text-indent: -9999px;
}

.ir:before {
    display: block;
    width: 0;
    height: 150%;
    content: "";
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    margin: -1px;
    padding: 0;
    width: 1px;
    height: 1px;
    border: 0;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    position: static;
    overflow: visible;
    clip: auto;
    margin: 0;
    width: auto;
    height: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    display: table; /* 2 */
    content: " "; /* 1 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        box-shadow: none !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
