@font-face {
    font-family: 'Inconsolata';
    src: url('/fonts/Inconsolata-webfont.eot');
    src: url('/fonts/Inconsolata-webfont.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Inconsolata-webfont.woff') format('woff'),
        url('/fonts/Inconsolata-webfont.ttf') format('truetype'),
        url('/fonts/Inconsolata-webfont.svg#Inconsolata') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NotCourierSans';
    src: url('/fonts/NotCourierSans-webfont.eot');
    src: url('/fonts/NotCourierSans-webfont.eot?#iefix') format('embedded-opentype'),
        url('/fonts/NotCourierSans-webfont.woff') format('woff'),
        url('/fonts/NotCourierSans-webfont.ttf') format('truetype'),
        url('/fonts/NotCourierSans-webfont.svg#NotCourierSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}


/*  UTILITY CLASSES  */

.clear {
    height: 0;
    font-size: 0;
    line-height: 0;
    clear: both;
}

.left_col, .right_col {
    float: left;
    padding-right: 10px;
    width: 47%;
}



/*  ENTITY SPECS  */

a {
    text-decoration: none;
    outline: none;
    color: black;
}

a:hover {
    text-decoration: underline;
}


/*  SPECIFIC ELEMENTS  */


html {
    /*    overflow-y: hidden;*/
    overflow: hidden;
}

html.admin {
    overflow: auto;
}

html, body {
    min-width: 600px;
    width: 100%;
}

html.ie7 {
    overflow-y: hidden;    
}

body {
    background-color: #dcdce1;
    /*    overflow-y: hidden;*/
    /*    height: 100%;*/
}

header h2 {
    font-family: 'NotCourierSans', courier;
    /*    text-decoration: underline;*/
    font-size: 21px;
    font-weight: normal;

}



.currentslide img::-moz-selection{ background: transparent; color:#fff; text-shadow: none; }
.currentslide img::selection { background:transparent; color:#fff; text-shadow: none; } 


#main {
    overflow-y: hidden;
}

#admin_menu_link {
    position: fixed;
    top: 15px;
    right: 15px;
    display: block;
    padding: 8px;
    border: 1px #666 solid;
    background-color: #999;
    text-decoration: none;
    color: black;
    opacity: 0;
}

#admin_menu_link:hover  {
    background-color: #AAA;
    display: block;
    opacity: 0.5;
}

#container {
    margin: 15px;
    position: relative;
}

#logo {
    width: 180px;
    height: 82px;
    background: transparent url(/i/octopi_large_logo.png) top left no-repeat;
    padding-bottom: 10px;
    float: left;
}

#mlee_logo {
    width: 101px;
    height: 62px;
    background: transparent url(/i/logo.gif);
}

#subhead a {
    color: black;
    text-decoration: none;
    border-bottom: 1px black solid;
}

#nav {
    float: left;
    width: 950px;
    clear: both;
}

#nav, #nav a, #project_name {
    font-family: 'NotCourierSans', courier, monospace;
    font-size: 21px;
    zoom:1;
}


#nav a {
    text-decoration: none;
    color: black;
    border-bottom: 1px transparent solid;
}

#nav a:hover, #nav a.active {
    border-bottom: 1px black solid;
}

#nav #projects:hover, #nav #projects.active, #nav #archive:hover, #nav #archive.active,
#nav #practice:hover, #nav #practice.active {
    border-color: blue;
}

#nav #research:hover, #nav #research.active { border-color: #00D200;}
#nav #teaching:hover, #nav #teaching.active { border-color: #787878;}



#project_name {
    position: absolute;
    line-height: 21px;
}

#project_name em {
    border-bottom: 1px blue solid;
    font-style: normal;
    font-weight: normal;
}

#project_name a {
    color: black;
    text-decoration: none;
}

#project_name a:hover {
    border-bottom: 1px black solid;
}

#left_arrow, #right_arrow, #left_arrow a, #right_arrow a {
    display: block;
    width: 57px;
    height: 91px;
    left: 15px;
}

#left_arrow a, #right_arrow a {
    background: url(/i/ui/arrows_left.png) bottom left no-repeat;    
}

#right_arrow a {
    background-image: url(/i/ui/arrows_right.png)
}

#left_arrow a:hover, #right_arrow a:hover,  #left_arrow a.active, #right_arrow a.active {
    background-position: top left;
    cursor: pointer;
}

#left_arrow, #right_arrow {
    position: absolute;
    z-index: -1;
    display: none;
}

html.ie8 #left_arrow, #right_arrow, 
html.ie9 #left_arrow, #right_arrow {
    Xz-index: 1;
}

.nav_dialog {
    position: absolute;
    font-family: 'Inconsolata', verdana;
    display: none;
    float: left;
    background-color: rgba(107, 107, 107, .75);    
    padding: 10px;
    z-index: 10;
    width: 495px;
    color: white;
    min-height: 306px; 
    font-size: 15px;
    line-height: 18px;
    margin-top: 2px;
    -webkit-text-size-adjust: 100%;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)";
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=99);    
    zoom: 1;
}

.nav_dialog .scrollpane a {
    text-decoration: underline;
}

html.ie7 .nav_dialog, html.ie8 .nav_dialog, html.ie9 .nav_dialog {
    font-size: 15px;
    line-height: 18px;
}

html.ie7 .nav_dialog, html.ie8 .nav_dialog {
    background-color: rgb(107, 107, 107);        
}

.nav_dialog.project_list {
    font-size: 15px;
    line-height: 18px;
}

.nav_dialog .project_links a,
.nav_dialog .project_links a {
    text-decoration: none;
}

.nav_dialog .project_links a:hover,
.nav_dialog .project_links a:hover {
    text-decoration: underline;
}

.nav_dialog .scrollpane, #info_content {
    overflow: auto;
    min-height: 270px;
    margin: 0 8px 0 15px;
    padding-right: 65px;
    width: 410px;
    
}


.scrollpane:not(.jspScrollable) .jspTrack, .scrollpane:not(.jspScrollable) .jspTrack .jspDrag {
   Xbackground-color: transparent;
}

#panel_10 .scrollpane {
    width: auto;
    padding: 0;
}

.nav_dialog.wide .scrollpane {
    width: 545px;
}



#info_content {
}


#info_dialog {
    max-width: 495px;
    z-index: 9;
    overflow: hidden;
}

.nav_dialog .left_col a, .nav_dialog .right_col a {
    display: block;
    padding-right: 10px;
}


.nav_dialog  a.selected {
    /*    color: #99f;*/
    opacity: 0.8;
}

.nav_dialog  a.draft {
    font-style: italic;
}


.nav_dialog .close_link {
    text-align: right;
    margin-bottom: 10px;
}

.nav_dialog a {
    color: white;
}

.measurer {
    background-color: pink;
    margin: 0 8px 0 15px; /* same as scrollpane */
    padding: 0 75px 0 0; /* same as jspPane + track */
    width: 396px; /* for narrow */
}

.nav_dialog.wide .measurer {
    width: 545px; /* for narrow */
}



.sub_panel_list {
    /*    margin-top: 10px;*/
}


#subpanel {
    position: absolute;
    z-index: 10;
}

.nav_dialog.wide, #subpanel.wide {
    width: 630px;
}

#slideshow_images {
    display: none;
}

#slideshow_holder {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
    display: none;
}

#slideshow_holder img {
    position: absolute;
    display: block;
}

/* =NEWS */

.news_divider {
    width: 375px;
    height: 1px;
    border-bottom: 1px black dashed;
    margin: 20px 0;
}

#panel_10 {
    /*    background-color: red;    */
}

#panel_10 .scrollpane {
    margin-right: 6px;
}

.news_container {
    float: left;
    width: 400px;
}

.news_item {
    background-color: #fff;    
}

.news_container h3 {
    font-weight: normal;
}

.news_archive_links {
    float: left;
    width: 170px;
    padding-left: 20px;
    background-color: #fff;
}

.news_archive_links .active {
    font-weight: bold;
}

.news_pager {
    position: absolute;
    top: 10px;
    left: 25px;
    /*    background-color: pink;   */
    width: 400px;
    background-color: #fff;
}
.news_pager .older, .news_pager .newer {
    float: left;
    width: 50%;
}

.news_pager .older {
    text-align: right;   
}

.news_image {
    width: 100%;
    height: 267px;
    margin: 2px 0;
}

.social_media_links {
    margin-top: 17px;
}

/* SUPERSIZED  */
/*#supersized-loader { position:absolute; top:50%; left:50%; z-index:10; width:60px; height:60px; margin:-30px 0 0 -30px; text-indent:-999em; background-color:#111; background:rgba(0,0,0,0.8) url(/i/supersized/progress.gif) no-repeat center center; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px;}*/
.offscreen {left: -4000em; top: -4000em; position: absolute;}

.supersized { position:fixed; left:0; top:0; z-index:-999;}

.supersized img { width:auto; height:auto; position:absolute; outline:none; border:none; }
.supersized.speed img { -ms-interpolation-mode:nearest-neighbor; image-rendering: -moz-crisp-edges; }	/*Speed*/
.supersized.quality img { -ms-interpolation-mode:bicubic; image-rendering: optimizeQuality; }			/*Quality*/

.supersized a { z-index:-20; position: absolute; display:inline; overflow:hidden; height: 100%;}
.supersized a.prevslide { z-index:-20; }
.supersized a.activeslide { z-index:-10; }


/*  SCROLLPANES */

.scrollpane {
    overflow: auto;
    /*    height: 100%;*/
}
/*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 *
 * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane
 * may not operate correctly without them.
*/

.jspContainer
{
    overflow: hidden;
    position: relative;
    /*        font-size: 14px;  */
}

.jspPane
{
    position: absolute;
}

.jspVerticalBar
{
    position: absolute;
    top: 0;
    right: 0px;
    width: 10px;
    height: 100%;
    z-index: 10;
}

.jspHorizontalBar
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 16px;
}

.jspVerticalBar *,
.jspHorizontalBar *
{
    margin: 0;
    padding: 0;
}

.jspCap
{
    display: none;
}

.jspHorizontalBar .jspCap
{
    float: left;
}

.jspTrack
{
    background-color: #DCDCDC;
    position: relative;
    zoom: 1;
}

.jspDrag
{
    background-color: #B4B4B4;
    position: relative;
    top: 0;
    left: 0;
    cursor: pointer;
    zoom: 1;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag
{
    float: left;
    height: 100%;
}

.jspArrow
{
    background: #50506d;
    text-indent: -20000px;
    display: block;
    cursor: pointer;
}

.jspArrow.jspDisabled
{
    cursor: default;
    background: #80808d;
}

.jspVerticalBar .jspArrow
{
    height: 16px;
}

.jspHorizontalBar .jspArrow
{
    width: 16px;
    float: left;
    height: 100%;
}

.jspVerticalBar .jspArrow:focus
{
    outline: none;
}

.jspCorner
{
    background: #eeeef4;
    float: left;
    height: 100%;
}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner
{
    margin: 0 -3px 0 0;
}

._404 {
    clear: both;
    font-family: NotCourierSans;
    font-size: 17px;
}


/* iOS fixes */

html.iPad .supersized, html.iPhone .supersized {
    position: absolute;
}

html.iPad #left_arrow, html.iPad #right_arrow, 
html.iPhone #left_arrow, html.iPhone #right_arrow {
    z-index: 1;
}

html.iPhone .nav_dialog {
    min-height: 206px; /* iphone */
}

html.iPhone .nav_dialog .scrollpane, html.iPhone #info_content {
    min-height: 120px;
}

/* = activity_indicator */
#activity_indicator {
    width: 50px;
    height: 50px;
    position: absolute;
    z-index: 999;
    display: none;
}

#measurer {
    position: absolute;
    top: -1000em;
    left: -1000em;
    width: 396px;
    background-color: pink;
    min-height: 10px;
    font: normal normal 15px/18px 'Inconsolata', monospace;
}

#measurer.wide {
    width: 545px;
}


#panel_8 #site_credit {
    position: absolute;
    left: 25px;
    bottom: 10px;
    color: #8e8e8e !important;
}

#panel_8 #site_credit:hover {
    color: black  !important;
}

/*
@media only screen and (device-width:768px)and (orientation:portrait) {
    html, body {
        width: 768px;
        height: 928px;        
    }
}


@media only screen and (device-width:768px)and (orientation:landscape) {
    html, body {
        height: 673px;
        width: 1025x;  
    }
}
*/
