/* Paste this into the Custom CSS Window */
#sub-nav {margin-top:0px;padding-top:25px;}
.main-nav a {font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: 20px;padding-bottom:10px;}
.main-nav li {margin: 0 20px 40px 0;}
/*a MODAL Starts  */

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 300ms ease-in;
    -moz-transition: opacity 300ms ease-in;
    transition: opacity 300ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}
.modalDialog > div {
    width: 80%;
    position: relative;
    font-size: 14px;
    margin: 2% auto;
    padding: 20px;
    border-radius: 4px;
    background: #fff;
    height: 80%;
    overflow-y: auto;
  }
.close {
    background: #DCDCDC;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: 12px;
    text-align: center;
    top: 10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

.close a {
    color: white;
}
.close:hover {
    background: #99CC6D;
}
#links {
    font-weight: 400;
    font-size: 1.2em;
}

/*a MODAL Ends */
body.ejm-results ol.ejm-results-list li.metadata-open {min-height:140px;}
table.ejm-table {padding-left:100px;width:100%;table-layout: fixed}
table.ejm-table td {vertical-align: top}
table.ejm-table td.general-data-cell {width:50%;word-wrap:break-word}
table.ejm-table td.general-data-cell div:not(:first-of-type){margin-top:10px;}
table.ejm-table td.metadata-cell {width:50%;}
table.ejm-table td.props-cell {width:30%;}
ol.ejm-results-list h3 {width:100%;max-width:none;margin:0;white-space: normal;overflow:auto;text-overflow:inherit}
ol.ejm-results-list dl.props>dd {margin-left:0;}
ol.ejm-results-list cite {white-space: normal}
ol.ejm-results-list .metadata {margin:0;padding:0;background-color:#fff;border:0}
ol.ejm-results-list ul.aggregators {border-bottom:0;}
div.actions ul {padding-left:0;}
@media only screen and (min-width: 1024px){
ol.ejm-results-list h3.title {
    max-width: none;
}
}