h1 {
    color: #7d7d7d;
    font-size: 26px;
    font-weight: normal;
    margin: 20px 0 15px 0;
}

div#caseContainer h2 {
    font-size: 24px;
    font-weight: normal;
    margin: 30px 0 25px 0;
}

.collapseSection {
    font-size: 14px;
}

h2 a, h2 a:visited {
    color: #E94B30;
    text-decoration: none;
}

#caseContainer h3 {
    background-color: #EEEEEE;
    color: #464646;
    float: left;
    font-size: 14px;
    font-weight: bold;
    margin-top:0;
    margin-bottom: 10px;
    margin-right: 1%;
    padding: 7px 10px 5px 5px;
    text-align: right;
    width: 15%;
    line-height: 21px;
}

div.padTop {
    padding-top: 10px !important;
}

.largeText {
    font-size: 18px;
    text-transform: uppercase;
}

/*#tm-number, #publicationDate {*/
    /*margin-top: 3px;*/
    /*font-weight: bold;*/
    /*width: 150px;*/
/*}*/

/*#tm-number {*/
    /*margin-left: 10px;*/
    /*text-align: left;*/
/*}*/

/*#publicationDate {*/
    /*margin-right: 10px;*/
    /*text-align: right;*/
/*}*/

.titleContent {
    margin-top: 3px;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
}

a {
    color: #333;
    line-height: 21px;
}

a:hover {
    text-decoration: none;
    color: #2498C9;
}

.paragraph {
    padding-top: 7px;
}

/* HEADER */
#tableControlsSingle {
    margin: 0 0 15px 0;
}

#header {
    background-color: #626262;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    /*line-height: 18px;*/
    margin-top: 10px;
    padding: 10px 0;
    text-align: center;
}

.subtopic {
    font-size: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
    text-align: center;
}

.markHeader {
    float: left;
    max-width: 850px;
    min-width: 150px;
    width: 60%;
}

/*#publicationSubsectionName {*/
    /*margin: -20px 0 10px 0;*/

/*}*/

.tcResults, .tcCollView, .tcSectionJump /*, .viewRecordButton */
{
    width: 80px;
    white-space: normal;
}

.tcSectionJump {
    text-align: left;
    background: url("../images/down_arrow_new.png") 90% 55% no-repeat;
}

.tcCollView, .tcSectionJump {
    margin-left: 20px;
}

.tcCollAdd {
    width: 40px !important;
    text-indent: -999999px;
    color: transparent;
    background-image: url("../images/stars_large.png");
    background-repeat: no-repeat;
    background-position: center top;
    border: none !important;
    margin-left: 5px;
}

.tcCollAdd.active {
    background-position: center -40px;
}

#jump-controls {
    display: none;
    position: absolute;
}

#jump-controls-arrow {
    margin-bottom: -3px;
	display: none;
}

#jump-controls-content {
    right: 20px;
    margin-top: 30px;
    overflow: hidden;
    width: 117px;
    background-color: #FFFFFF;
    border: solid 1px #C1C1C1; /* #2498C9 */
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size: 12px;
    padding: 15px;
}

#nav li {
    list-style: none;
    margin-top: 10px;
}

#nav li:first-child {
    margin-top: 0;
}

#nav li a {
    text-decoration: none;
    line-height: 14px;
}

/* MARK IMAGE */
#markImage {
    /*border: 1px solid #EEEEEE;*/
    cursor: pointer;
    display: table;
    float: right;
    /*height: 200px; */
    text-align: center;
    max-width: 300px;
}

#markImage .markImage {
    display: table-cell;
    max-width: 300px;
    vertical-align: middle;
}

#markImage .markImage {
    max-width: 150px;
    max-height: 100px;
}

/* override zoom-image.css 100% height and width which is skewing the image */
.image-zoom img.image {
    height: auto;
    width: auto;
}

/* MODAL */
#offPage {
    position: absolute;
    left: -10000px;
    top: -10000px;
    margin-left: -10000px;
}

/* MEDIA CONTROLS */
#multiMediaButtons {
    float: right;
    margin: 5px 10px;
    width: 100px;
}

#btnAudio.inactive, #btnAudio.inactive:hover, #btnVideo.inactive, #btnVideo.inactive:hover {
    background-position: left -40px;
    cursor: default;
    width: 146px;

}

#multiMediaButtons input {
    border: 0 solid transparent;
    color: transparent;
    cursor: pointer;
    height: 36px;
    overflow: hidden;
    text-indent: -99999px;
    width: 146px;
}

#multiMediaButtons button {
    margin-top:2px;
    margin-bottom: 2px;
    width:65px;
}


/* CONTENT AREA */
.single-case p {
    float: left;
    width: 82%;
    margin-top: 7px;
    line-height: 21px;
}

.single-case a {
    text-decoration: underline;
}

.single-case p.left16 {
    float: left;
    margin-right: 1%;
    width: 50%;
    margin-top: 7px;
    line-height: 21px;
}

/* TOOLTIPS */
.tooltipTmog {
    background: #FFFFFF no-repeat 5px 5px;
    border: 1px solid #000000;
    display: none;
    padding: 30px;
    position: absolute;
}

/* FOOTER ELEMENTS */
/* SINGLE CASE */
#footer,#footerInternal {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #46A9D2;
    width: 100%;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 21px;
    text-align: right;
    -moz-box-shadow: 0 -5px 5px #777777;
    -webkit-box-shadow: 0 -5px 5px #777777;
    box-shadow: 0 -5px 5px #777777;
    max-height: 40px;
    /* overflow: hidden; */
}

#footer .footer-left, #footerInternal .footer-left {
    float: left;
    padding-left: 14px;
    max-width: 45%;
    font-weight: bold;
}

#footer .sitewidth-wide, #footerInternal .sitewidth-wide {
    background-color: #1895C5;
    width: 80%;
    margin: auto;
    padding: 9px 0 9px 0;
}

#footer-gap {
    height: 70px;
    width: 100%;
}

#footer a, #footerInternal a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 14px;
    border-left: solid 1px #FFFFFF;
}

#footer a.active, #footerInternal a.active {
    background-color: #F6F6F6;
    color: #737373;
}

#footer a:hover, #footerInternal a:hover {
    color: #000000;
}

#footer a#back2top, #footerInternal a#back2top {
    padding-left: 30px;
    background-image: url(../images/elements/top-arrow-sprite.png);
    background-position: 10px -20px;
    background-repeat: no-repeat;
    overflow: hidden;
}

#footer a#back2top:hover, #footerInternal a#back2top:hover {
    background-position: 10px 14px;
}

#footer a.inactive, #footer a.inactive:hover, #footerInternal a.inactive, #footerInternal a.inactive:hover {
    color: #0A4358;
    cursor: default;
}

#modalWindow img, #modalWindow2 {
    background-image: url("../images/zoom-close.png");
    background-position: right -80px;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-top: -45px;
    padding-top: 45px;
}

#modalWindow, #modalWindow2 {
    display: table-cell;
    vertical-align: middle;
}

#modalTable, #modalTable2 {
    display: none;
    position: fixed;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#closeCustom {
    right: -30px;
    top: -10px;
    position: absolute;
}

.avcontrols {
    padding:15px;
}

.showTable {
    display: table-cell;
    height: 20px;
    vertical-align: middle;
    width: 300px;
}

#videoShow, #audioShow {
    background-color: rgba(0, 0, 0, 0.25);
    text-align: center;;
    z-index: 3;
}

.downloadMedia {
    text-decoration: none !important;
    margin-top: 30px;
}

.downloadMedia:hover {
    color: #2498C9;
}

#mediaOverlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba( 0, 0, 0, 0.5 );
    display: none;
}

#mediaWrapper {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: none;
}

#mediaWindow {
    vertical-align: middle;
    display: table-cell;
}

.modalPopup {
    background: none;
    display: none;
    margin: auto;
    text-align: center;
    width: 100%;
    height: 100%;
}

.closeMedia {
    background: url("../images/closeCustom.png") top right no-repeat;
    display: block;
    width: 30px;
    height: 30px;
    text-indent: -999999px;
    color: transparent;
    position: relative;
    top: -15px;
    right: -15px;
}

div#markTitle h3.markLiteralHeader {
    width: 25%;
}

div#markTitle p.markLiteralElement {
    width: 70%;
    font-family: "Times New Roman",Georgia,Serif;
}

p.compact {
    margin: 3px 0;
    padding: 0;
    line-height: 1.5;
}


/* ----------------- consolidate SCV ---------------------- */
.sitewide-search-case {
float: left;
margin: 0 auto;
width: 78%;
}

div#caseContainer h2 {
    font-size: 16px;
    margin: 15px 0 5px 0;
}

#caseContainer h3 {
    font-size: 13px;
    margin-bottom: 0;
    padding: 6px;
    line-height: 1;
    background-color: transparent;
    width:17%;
}

#caseContainer .three-col{
    width:33% !important ; display: inline-block; float: left;
}

#caseContainer .three-col h3{
    width:47%;
}

.goodsAndServicesInfo:nth-child(n+2), .foreignInfo:nth-child(n+2), #ownerInfo:nth-child(n+3)  {
    border-top: 1px dotted #999;
}

.goodsAndServicesInfo:nth-child(even), .foreignInfo:nth-child(even), #ownerInfo:nth-child(odd) {
    background-color:#fafafa;
}

.single-case p {
    font-size: 13px;
    margin-top: 2px;
    margin-bottom: 0;
}

.single-case p.left16 {
    margin-top: 3px;
    line-height: 16px;
}

.single-case section h2 {
    background-color: #dfdfdf;
    padding: 3px 0 3px 6px;
}

div#caseContainer .markHeader h2 {
    margin-bottom: 8px;
    margin-top: 0;
    width: 40%;
    display: inline-block;
    float: left;
    margin-top: 0;
}

.markHeader {
    width: 70%;
}

.markHeader p {
    width: 65%;
    margin-left: 10px;
}

.markHeader >section >div {
    margin-left: 40%;
}

/* add a comma separator between international ref numbers */
.internationalRefNumber:nth-child(n+3):before{
 content:',';
 padding-right: 5px;
}

/* add background matte to the single case modal for mark image */
.caseModal {
    padding: 10px 30px 30px;
    transition: background-color 0.4s ease;
    background-color:#e1e1e1;
}
.caseModal:hover {
    background-color:#bbb;    
}

#caseContainer #markImage {
    transition: border-color 0.4s ease;
    border:15px solid #eee;       
}

#caseContainer #markImage:hover {    
    border:15px solid #bbb;          
}

#caseContainer {
    margin-bottom: 150px;
}

#caseContainer h3 {
    font-family: Calibri, Myriad, 'Helvetica Neue', Arial, sans-serif;
}


#caseContainer {
    margin-bottom: 150px;
}

#caseContainer h3 {
    font-family: Calibri, Myriad, 'Helvetica Neue', Arial, sans-serif;
}
.image-zoom .image {
  width: auto;
  height: auto;
}
.modal-image{
    padding: 0px 5px 20px 40px;
    width: 90%;
    height: auto;
}

/*Media Queries*/
/* ----------- iPad 1 and 2 ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (-webkit-min-device-pixel-ratio: 1) {
    .sitewide-search-case {
        float: left;
        margin: 0 auto;
        width: 72%;
    }
}

/* ----------- iPad 3 and 4 ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (-webkit-min-device-pixel-ratio: 2) {
    .sitewide-search-case {
        float: left;
        margin: 0 auto;
        width: 72%;
    }
}

/* ----------- Laptops ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 1024px)
and (max-device-width: 1440px) {
    .sitewide-search-case {
        float: left;
        margin: 0 auto;
        width: 75%;
    }
}
