/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote,
pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd,
q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt,
dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot,
thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption,
footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time,
mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup,
menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    overflow: auto;
}

html, body {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #cc0000;
}

#contents a {
    background-color:#fff;
}

#contents a:hover {
    /*	text-decoration: underline; */
    background-color: #c2c1ba;
}

a img {
    border: none;
}

p {
    padding: 0.25em 0 0.75em 0;
}

b {
    font-weight: bold;
}

h1 {
    font-size: 28px;
}

h2 {
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    margin-bottom: 1.25em;
    margin-top: 1.75em;
}

h3 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 1.25em;
}

h4 {
    font-size: 14px;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 10px;
}

h3 {}

button {
    color: #cc0000;
    margin: 0.05em;
    margin-top: 0.2em;
}

body {
    font: 16px Georgia, Times, "Times New Roman", serif;
    background-color: #000000;
}

#contents ol li {
    list-style-type: decimal;
}

#contents ul li {
    list-style-type: disc;
}

#contents ul, #contents ol {
    margin: .25em 2em 0 2em;
}

#contents li li {
    margin-bottom: 0em;
}

#contents li {
    margin-bottom: 0.5em;
}

#bk {
    background-color: #840000;
    width: 100%;
    height: 150px;
    margin-bottom: -150px;
}

#container {
    width: 1134px;
    margin: 0 auto;
}

#header {
    overflow: auto;
    width: 100%;
}

#header h1 {
    float: left;
    margin-top: 30px;
}

#header h1 a {
    color: #ffffff;
    font: bold 36px Georgia, Times, "Times New Roman", serif;
}

#hcil-logo, #umd-logo {
    float: right;
}

#umd-logo {
    margin-top: 25px;
    padding-left: 30px;
    border-left: 1px solid #ffffff;
}

#hcil-logo {
    margin: 20px 30px 0 0;

}

#menubar {
    margin-top: 1em;
    list-style-type: none;
    background-color: #820000;
    clear: both;
    border-top: 1px dotted #edeada;
}

#menubar li {
    padding: 0;
    margin: 0;
    float: left;
    font-size: 12px;
    font-weight: bold;
}

#menubar li a {
    display: block;
    margin: 0.3em 0;
    padding: 0.7em;
    text-decoration: none;
    background-color: #820000;
    color: #f5f5eb;
}

#menubar li a.barright {
    border-right: 1px solid #cccccc;
}

#menubar li a:hover {
    color: #ffffff;
    background-color: #ff0000;
}

#contents {
    line-height: 1.5em;
    background-color: #ffffff;
    overflow: auto;
    width: 100%;
    padding-bottom: 2em;
}

#left-column {
    float: left;
}

#left-column-books {
    margin-left: 1em;
    width: 240px;
    float: left;
    padding-top: 85px;


}

#left-column-lecture {
    width: 200px;
    padding: 10px;
    text-align: center;
}

#center-column {
    float: left;
    text-align: left;
    margin-left: 1em;
    width: 654px;

}

#one-column {
    margin-left: 260px;
    width: 654px;
    text-align: left;
}

/*added by ccapati*/
#one-column-photos {
    margin-left: 10px;
}

#one-column-book {
    margin-left: 260px;
    text-align: left;
    width: 654px;
}

/*added by ccapati*/
#photo {
}

#right-column {
    float: right;
    width: 200px;
    padding: 10px;
    text-align: center;
    font-size: 0.8em;
    line-height: 1.2em;
}

#right-column iframe, #right-column img {
    width: 200px;
    display: block;
    margin: 1em 0 5px 0;
}

#right-column iframe {
    height: 113px;
}

.project {
    margin: 2em 0;
}

.projectname a {
    font-weight: bold;
    text-decoration: none;
    margin-right: 1em;
}

.projecttime {
    position: relative;
    padding: 0 .5em;
    background-color: #edeada;
    display: inline-block;
    right: 160px;
    top: -1.5em;
}

.projectstartyear, .projectendyear {
    margin: 0 0.25em;
}

.projectdescription {
    margin-top: -1.5em;
    clear: both;
}

.presentation {
    margin: 1.5em 0;
}

.presentation a:first-child {
    font-weight: bold;
}

.bookinfo {

    overflow: hidden;
    margin: 2em 0;
}

.bookdetails {
    width: 80%;
    float: left;
}

.bookcover {
    width: 15%;
}

.bookcover img {
    height: 120px;
    width: 85px;
    float: left;
    padding-right: 0.50em;

}

#control-button-holder {
    margin-top: 1.5em;
}

#control-button-holder a {
    padding: 0.25em 1em;
    background-color: #eeeeee;
}

#footer {
    background-color: #840000;
    margin: 0;
    padding: 1em 0;
    color: #dddddd;
    line-height: 1.5em;
    overflow: hidden;
    width: 100%;
}

#footer a {
    color: #ffffff;
    background-color: #840000;
}

#footer a:hover {
    color: #333333;
    background-color: #c2c1ba;
}

#footer p {
    padding: 0 1.5em;
    width: 40%;
    float: left;
}

#footer p + p {
    float: right;
    text-align: right;
}

.red {
    border: 1px solid red;
}

.go-top {
    position: fixed;
    bottom: 2em;
    right: 1em;
    color: #000000;
    text-decoration: none;
    background-color: rgba(235, 235, 235, 0.80);
    font-size: 12px;
    padding: 1em;
    display: none;
}

.menu-btn {
    display: none;
}

#menubar-mobile {
    display: none;
}

/*mobile version of the website */

@media screen and (max-width:1080px) {
    .menu-btn {
        display: block;
    }

    #left-column img {
        content: url(ben_pic_proper-color.jpg);

    }

    #menubar {
        display: none;
    }

    .menu-btn {
        border-top: solid #000 3px;
        border-bottom: solid #000 3px;
        padding-top: 30px;
        height: 50px;
    }

    .menu-btn p {
        margin-top: 4px;
        position: absolute;
        color: white;
        margin-left: 30px;
        font-size: 18px;
        font-weight: bold;
        z-index: 99;
    }

    .menu-btn div {
        position: absolute;
        left: 100%;
        /*         top: 64%; */
        padding-right: 8px;
        /*         margin-top: -0.50em; */
        line-height: 1.6;
        font-size: 36px;
        font-weight: 600;
        vertical-align: middle;
        z-index: 98;
        color: #ffffff;
    }

    .menu-btn span {
        display: block;
        width: 19px;
        height: 4px;
        margin: 4px 0;
        background: rgb(255, 255, 255);
        z-index: 99;
    }

    .responsive-menu {
        display: none;
    }

    html,
    body,
    div,
    span,
    applet,
    object,
    iframe,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    blockquote,
    pre,
    a,
    abbr,
    acronym,
    address,
    big,
    cite,
    code,
    del,
    dfn,
    em,
    img,
    ins,
    kbd,
    q,
    s,
    samp,
    small,
    strike,
    strong,
    sub,
    sup,
    tt,
    var,
    b,
    u,
    i,
    center,
    dl,
    dt,
    dd,
    ol,
    ul,
    li,
    fieldset,
    form,
    label,
    legend,
    table,
    caption,
    tbody,
    tfoot,
    thead,
    tr,
    th,
    td,
    article,
    aside,
    canvas,
    details,
    embed,
    figure,
    figcaption,
    footer,
    header,
    hgroup,
    menu,
    nav,
    output,
    ruby,
    section,
    summary,
    time,
    mark,
    audio,
    video {
        margin: 0;
        padding: 0;
        font-size: 100%;
        font: inherit;
        vertical-align: baseline;
    }

    /* HTML5 display-role reset for older browsers */
    article,
    aside,
    details,
    figcaption,
    figure,
    footer,
    header,
    hgroup,
    menu,
    nav,
    section {
        display: block;
    }

    body {
        line-height: 1;
    }

    ol,
    ul {
        list-style: none;
    }

    blockquote,
    q {
        quotes: none;
    }

    blockquote:before,
    blockquote:after,
    q:before,
    q:after {
        content: '';
        content: none;
    }

    table {
        border-collapse: collapse;
        border-spacing: 0;
    }

    html,
    body {
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: none;
        color: #cc0000;
    }

    #contents a:hover {
        /*    text-decoration: underline; */
        background-color: #c2c1ba;
    }

    a img {
        border: none;

    }

    p {}

    b {
        font-weight: bold;
    }

    h1 {
        font-size: 28px;
        padding-top: 50px;
    }

    h2 {
        font-weight: bold;
        font-size: 24px;
        margin-top: 1.25em;
        margin-left: .5em;
        text-align: center;
  			padding-top: 0; 
    }

    h3 {
        font-size: 18px;
        font-weight: bold;
        margin-top: 1.25em;
    }

    h4 {
        font-size: 14px;
    }

    h5 {
        font-size: 12px;
    }

    h6 {
        font-size: 10px;
    }

    h3 {}

    button {
        color: #cc0000;
        margin: 0.05em;
        margin-top: 0.2em;
    }

    body {
        font: 16px Georgia, Times, "Times New Roman", serif;
        background-color: #000000;
        width: 100%;
    }

    #contents ol li {
        list-style-type: decimal;
    }

    #contents ul li {
        list-style-type: disc;
    }

    #contents ul,
    #contents ol {}

    #contents li li {
        margin-bottom: 0em;
    }

    #contents li {}

    #bk {
        background-color: #840000;
        width: 100%;
        height: 100px;
    }

    #container {
        width: 100%;
        margin: 0 0;
    }

    #header {
        width: 100%;
        background-color: #840000;
    }

    #header h1 {
        margin-right: 0;
        margin-top: 5px;
        margin-bottom: 5px;
        margin-left: 5px;
    }

    #header h1 a {
        color: #ffffff;
        font: bold 36px Georgia, Times, "Times New Roman", serif;
    }

    #hcil-logo,
    #umd-logo {
        margin-left: 0;
        background-color: #840000;
        width: 100%;
        float: none;
    }

    #umd-logo {
        margin-top: 0px;
        padding-left: 0px;
        border-left: 0px solid #ffffff;
        float: right;
        display: inline-block;
        width: 82%;
    }

    #hcil-logo {
        margin: 0px 0px 0 0;
        display: inline-block;
        float: left;
        width: 18%;


    }

    #contents {
        line-height: 1.5em;
        background-color: #ffffff;
        width: 100%;
    }

    #left-column {
        width: 100%;
        display: inline-block;
    }

    #left-column img {
        width: 40%;
        margin-left: 30%;
    }

    #left-column-books {
        width: 100%;
        padding-top: 85px;
    }

    #left-column-lecture {
        width: 100%;
        text-align: center;
    }

    #center-column {
        text-align: left;
        width: 100%;
        margin-left: 0;
    }

    #one-column {
        margin-left: 0em;
        width: 100%;
    }

    #one-column p {
        width: 100%;
        display: block;
    }

    /*added by ccapati*/
    #one-column-photos {
        margin-left: 5%;
        width: 100%;
    }

    #one-column-book {
        text-align: left;
        width: 100%;
        margin-left: 0px;
    }

    /*added by ccapati*/
    .photo {
        width: 100%;
        overflow: hidden;
    }

    .photo tr td img table #table2 {
        width: 100%;
    }

    .photo a img {
        height: 150px;
        width: 125px;

    }

    #right-column {
        width: 100%;
        text-align: center;
        align-content: center;
        font-size: 0.8em;
        line-height: 1.2em;
    }

    #right-column iframe,
    #right-column img {
        width: 100%;
        height: 100%;
        display: block;
        height: 400px;
    }

    #right-column iframe {
        width: 100%;
        height: 400px;
        /*         height: 113px; */
    }

    .project {
        margin: 0em 0;
    }

    .projectname a {
        font-weight: bold;
        text-decoration: none;
    }

    .projecttime {
        position: relative;
        background-color: #edeada;
        display: inline-block;
        top: -1.5em;
    }

    .projectstartyear,
    .projectendyear {}

    .projectdescription {
        margin-top: -1.5em;
        width: 100%;
    }

    .presentation {
        width: 100%;
    }

    .presentation a:first-child {
        font-weight: bold;
    }

    .bookinfo {
        overflow: hidden;
        margin: 2em 0;
    }

    .bookdetails {
        width: 80%;
        float: left;
    }

    .bookcover {
        width: 30%;
    }

    .bookcover img {
        height: 120px;
        width: 85px;
        float: left;


    }

    #control-button-holder {
        margin-top: 1.5em;
    }

    #control-button-holder a {
        background-color: #eeeeee;
    }

    #footer {
        background-color: #840000;
        margin: 0;
        padding: 1em 0;
        color: #dddddd;
        line-height: 1.5em;
        overflow: hidden;
        width: 100%;
    }

    #footer a {
        color: #ffffff;
    }

    #footer a:hover {
        color: #333333;
        background-color: #c2c1ba;
    }

    #footer p {
        padding: 0 1.5em;
        width: 40%;
        float: left;
    }

    #footer p + p {
        float: right;
        text-align: right;
    }

    .red {
        border: 1px solid red;
    }

    .go-top {
        position: fixed;
        bottom: 2em;
        right: 1em;
        color: #000000;
        text-decoration: none;
        background-color: rgba(235, 235, 235, 0.80);
        font-size: 12px;
        padding: 1em;
        display: none;
    }

    #mainmenu {
        background-color: #840000;
    }

    .collapse {
        display: none !important;
    }

    .expand {
        display: block !important;
    }

    #menubar-mobile {
        display: block;
        margin-top: 0em;
        background-color: #820000;
        box-shadow: 0px 0px 5px #fff;
    }

    #menubar-mobile li {
        padding: 0;
        margin: 0;
        font-size: 16px;
        font-weight: bold;
        border-bottom: 0px #460000;
        padding-bottom: 3px;
    }

    #menubar-mobile a {
        padding: 0;
        margin: 0;
        font-size: 16px;
        font-weight: bold;
        border-bottom: 0px #460000;
        color: white;
    }

    #menubar-mobile a li {
        margin: 0.3em ;
        text-decoration: none;
        background-color: #840000;
        color: #f5f5eb;
        text-shadow: 0px 1px 1px #000;


    }

    #menubar-mobile a.barright {
        color: #999999;
        text-shadow: 10px 1px 10px #000;
        box-shadow: 0px 1px 10px #fff;
    }

    #menubar-mobile li a:hover {
        color: #000000;
        background-color: #000000;
    }
}

em {
    font-style: italic;
}

.image {
    display: inline-block;
    max-width: 217px;
    margin-right: 4px;
}
.image img {
    max-width: 100%;
    max-height: 100%;
    background-size: 100%;
    margin-bottom: 1px;
}
.image:nth-of-type(5n) {
    margin-right:0;
}

img.mfp-img {
  max-width: 900px !important;
}


.image-title, strong {
    font-weight: bold;
}

/*
.image:hover .thumbnail {
  opacity: 0.6;
}
.image:hover .middle {
  opacity: 10;
}
*/

/* quick reset */

/* relevant styles */
.img__wrap {
  position: relative;
}

/* changes the style of the whole block on hover */
.img__description {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0, 0.65);
  color: #fff;
  visibility: hidden;
  opacity: 0;

  transition: opacity .3s, visibility .2s;
}

.img__wrap:hover .img__description {
  visibility: visible;
  opacity: 1;
}

/* Change the style of text only */
p.img__description {
    padding: 60% 10% 0 10%;
}
