.branding-top {
	background: url(dnn_large_banner.png) no-repeat top left;
	width: 890px;
	height: 427px;
	clear: both;
	overflow: hidden;
}
.branding-top p {
	padding: 0px 60px 0 60px;
	font-size: 1.4em;
	color: #333;
}
.branding-bottom {
	clear: both;
	margin-top: 1em;
	overflow: hidden;
}
.branding-bottom ul {
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	clear: both;
}
.branding-bottom li {
	list-style: none;
	margin: 0 10px 0 0;
	padding: 0;
	display: block;
	width: 170px;
	float: left;
}

.branding-bottom li.feeds {
	margin: 0;
}

.branding-bottom dl {
	background: url(itembg.gif) repeat-y;
	margin: 33px 0 0 0;
	padding: 0 10px;
}
.branding-bottom dd {
	margin-left: 10px;
	height: 66px;
}
.branding-bottom dt {
	font-size: 90%;
	text-align: center;
	padding-top: 65px;
	margin-bottom: 1.75em;
	font-weight: bold;
}
.branding-bottom .commmunity {
	background: url(community_title.gif) no-repeat top left;
}
.commmunity dt {
	background: url(community_icon.gif) no-repeat;
	background-position: 50% 10px;
}
.branding-bottom .marketplace {
	background: url(marketplace_title.gif) no-repeat top left;
}
.marketplace dt {
	background: url(marketplace_icon.gif) no-repeat;
	background-position: 50% 10px;
}
.branding-bottom .conferences {
	background: url(conferences_title.gif) no-repeat top left;
}
.conferences dt {
	background: url(conferences_icon.gif) no-repeat;
	background-position: 50% 10px;
}
.branding-bottom .training {
	background: url(training_title.gif) no-repeat top left;
}
.training dt {
	background: url(training_icon.gif) no-repeat;
	background-position: 50% 10px;
}
.branding-bottom .feeds {
	background: url(feeds_title.gif) no-repeat top left;
}
.feeds dt {
	background: url(feeds_icon.gif) no-repeat;
	background-position: 50% 10px;
}
dl.bt {
	margin: 0;
	padding: 0;
	background: url(item_bt_bg.gif) no-repeat bottom;
	height: 32px;
	width: 170px;
}
div.link_adminguide {
	float:left;
	background: url(dnn_adminguide.png) no-repeat top left;
	width: 316px;
	height: 137px;
	cursor: pointer;
}
div.link_proedition {
	float:right;
	background: url(dnn_proedition.png) no-repeat top left;
	width: 514px;
	height: 137px;
	cursor: pointer;
}
div.link_main {
	margin: 260px 30px 0px 30px;
}

#LoginInfo
{
	width:545px; 
	float:left;
}
#LoginInfo h3
{
	background-color: #f7f7f7;
	color: #8f0000;
	padding: 2px 0px;
}
#LoginInfo dd, #LoginInfo dt 
{
	display:inline;
}
#LoginInfo dt
{
	font-weight:bold;
	color: #333;
}
#LoginInfo p.LoginNotes
{
	font-size: .8em;
}
#LoginInfo div.LoginBlock {
	float: left;
	width: 255px;
	padding: 5px 5px;
	margin: 0px 2px;
	border: 1px #f0f0f0 solid;
}
.SponsorIcon
{
	margin: 5px 50px; 
	float: left;
}
#QuickLinks 
{
	background-color:#f0f0f0;
	border: 1px #cccccc solid;
	padding: 2px 5px;
	position:relative;
	width:330px;
}
#QuickLinks h2, #QuickLinks p
{
	margin: 5px 5px;
}
div.hr
{
	height: 2px;
	background-color: #8f0000;
	margin: 5px 0 15px 0;
	clear:both;
}
div.hr hr
{
	display: none;
}

#TelerikInside
{
	background: white url('telerikInside.jpg');
	border: 1px #cccccc solid;
	padding: 20px 5px 10px 130px;
	margin-bottom: 5px;
	width: 205px;
	height: 140px;
	border-style:none;
}

#TelerikInside h2
{
	font-weight: bold;
}

#RightColumnInfo
{
	float:right;
	width:340px;
	margin-left: 10px;
	margin-bottom: 15px;
}
#qlCol1, #qlCol2
{
	margin: 5px 5px 15px;
	padding-left: 12pt;
	float: left;
	position:relative;
}

<!-- Encapsulated styles for DICOM Lab Module -->


  .dicom-lab-container {
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
  }
  .dicom-lab-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(29, 57, 100, 0.08);
    border: 1px solid rgba(29, 57, 100, 0.08);
    padding: 40px;
    width: 100% !important; /* Full width */
    box-sizing: border-box;
    margin: 0 auto;
    font-family: "Museo Sans", "Calibri", Arial, sans-serif !important;
    font-size: 18px !important; /* Base Font Size */
    color: #333333;
    line-height: 1.6;
    position: relative; /* Required for absolute background positioning */
    overflow: hidden; /* Prevent logo overflow */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  .dicom-lab-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(29, 57, 100, 0.12);
  }
  /* Logo anchored to the background (top-right) */
  .dicom-lab-container {
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
  }
  .dicom-lab-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(29, 57, 100, 0.08);
    border: 1px solid rgba(29, 57, 100, 0.08);
    padding: 40px;
    width: 100% !important; /* Full width */
    box-sizing: border-box;
    margin: 0 auto;
    font-family: "Museo Sans", "Calibri", Arial, sans-serif !important;
    font-size: 18px !important; /* Base Font Size */
    color: #333333;
    line-height: 1.6;
    position: relative; /* Required for absolute background positioning */
    overflow: hidden; /* Prevent logo overflow */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  .dicom-lab-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(29, 57, 100, 0.12);
  }
  /* Logo anchored to the background (top-right) */
  .dicom-lab-bg-logo {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 200px; /* Logo width */
    height: auto;
    opacity: 0.75 !important; /* 75% default opacity */
    pointer-events: none; /* User can click through the logo */
    z-index: 1;
    transition: opacity 0.3s ease;
  }
  /* Highlight watermark on hover */
  .dicom-lab-card:hover .dicom-lab-bg-logo {
    opacity: 0.95 !important; /* 95% opacity on hover */
  }
  
  /* Safe layout stacking for text elements */
  .dicom-lab-header,
  .dicom-lab-description,
  .dicom-tabs-container,
  .dicom-lab-action {
    position: relative;
    z-index: 2; /* Renders above the watermark logo */
  }
  .dicom-lab-header {
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 24px;
    margin-bottom: 28px;
  }
  
  .dicom-lab-title-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  /* XNAT-themed gradient border badge */
  .dicom-lab-subtitle-badge {
    font-family: "Museo Sans", "Calibri", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #194383 !important; /* Base XNAT Blue */
    
    /* Double background gradient trick for rounded gradient borders */
    background: linear-gradient(#ffffff, #ffffff) padding-box, 
                linear-gradient(135deg, #1a5ca3 0%, #f4b213 50%, #4eab35 100%) border-box !important;
    border: 2px solid transparent !important;
    
    padding: 5px 16px !important;
    border-radius: 20px !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
    width: fit-content !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  }
  .dicom-lab-title {
    color: #1D3964 !important;
    font-family: "Museo Sans", "Calibri", Arial, sans-serif !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
  }
  
  .dicom-lab-description {
    font-size: 18px !important;
    color: #4A4A4A !important;
    margin-bottom: 32px !important;
    max-width: 70%; /* Prevents text from colliding with background logo on desktop */
  }
  /* Interactive Tabs Architecture */
  .dicom-tabs-container {
    margin-bottom: 36px;
  }
  .dicom-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 2px solid #eef1f6;
    padding-bottom: 0px;
    margin-bottom: 24px;
  }
  .dicom-tab-btn {
    background: none;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-family: "Museo Sans", "Calibri", Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600;
    color: #555555;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
  }
  .dicom-tab-btn:hover {
    color: #38B0D0;
    background: rgba(56, 176, 208, 0.04);
    border-radius: 6px 6px 0 0;
  }
  /* Active state for Sky Blue tabs */
  .dicom-tab-btn.tab-sky.active {
    color: #1D3964;
    border-bottom: 3px solid #38B0D0;
    background: rgba(56, 176, 208, 0.08);
    border-radius: 6px 6px 0 0;
  }
  /* Active state for Orange tab */
  .dicom-tab-btn.tab-orange.active {
    color: #E9500E;
    border-bottom: 3px solid #E9500E;
    background: rgba(233, 80, 14, 0.06);
    border-radius: 6px 6px 0 0;
  }
  /* Panels Styling */
  .dicom-tab-panels {
    min-height: 160px;
  }
  .dicom-tab-panel {
    display: none;
    background: #ffffff;
    border: 1px solid rgba(29, 57, 100, 0.08);
    border-radius: 8px;
    padding: 24px 28px;
    box-shadow: 0 4px 15px rgba(29, 57, 100, 0.02);
  }
  /* Smooth reveal animation */
  .dicom-tab-panel.active {
    display: block;
    animation: dicomSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  }
  .dicom-tab-panel.panel-sky {
    border-left: 5px solid #38B0D0;
  }
  .dicom-tab-panel.panel-orange {
    background: rgba(233, 80, 14, 0.01);
    border: 1px solid rgba(233, 80, 14, 0.12);
    border-left: 5px solid #E9500E;
  }
  .dicom-panel-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }
  .dicom-panel-icon {
    font-size: 24px;
    line-height: 1;
  }
  .dicom-panel-title {
    font-family: "Museo Sans", "Calibri", Arial, sans-serif !important;
    color: #1D3964 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 !important;
  }
  .dicom-panel-text {
    font-size: 18px !important;
    color: #4A4A4A !important;
    line-height: 1.7 !important;
    margin: 0;
  }
  .dicom-panel-text strong {
    color: #1D3964;
  }
  
  .dicom-lab-action {
    text-align: center;
    margin-top: 12px;
  }
  
  .dicom-lab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #1D3964;
    color: #ffffff !important;
    font-weight: 700;
    font-family: "Museo Sans", "Calibri", Arial, sans-serif !important;
    font-size: 19px !important;
    padding: 18px 40px !important;
    border-radius: 35px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(29, 57, 100, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .dicom-lab-btn:hover {
    background: #38B0D0;
    box-shadow: 0 6px 20px rgba(56, 176, 208, 0.3);
    transform: translateY(-2px);
  }
  
  .btn-arrow {
    transition: transform 0.3s ease;
    font-size: 20px;
    line-height: 1;
  }
  
  .dicom-lab-btn:hover .btn-arrow {
    transform: translateX(4px);
  }
  
  @keyframes dicomSlideUp {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @media (max-width: 800px) {
    .dicom-lab-description {
      max-width: 100%; /* Free up description width on medium screens */
    }
  }
  @media (max-width: 600px) {
    .dicom-lab-card {
      padding: 24px 20px;
    }
    .dicom-lab-bg-logo {
      position: relative !important;
      top: 0 !important;
      right: 0 !important;
      margin: 0 auto 20px auto !important;
      display: block !important;
      opacity: 0.95 !important; /* High opacity for inline mobile view */
      width: 150px !important;
    }
    .dicom-lab-header {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 16px;
    }
    .dicom-lab-title-container {
      align-items: center;
    }
    .dicom-lab-title {
      font-size: 30px !important;
    }
    .dicom-tabs-bar {
      justify-content: center;
    }
    .dicom-tab-btn {
      width: 100%;
      justify-content: center;
      border-bottom: 3px solid transparent;
      border-left: 3px solid transparent;
    }
    .dicom-tab-btn.active {
      border-bottom: 3px solid transparent !important;
      border-left: 3px solid currentColor !important;
      border-radius: 0 6px 6px 0 !important;
    }
    .dicom-lab-btn {
      width: 100%;
      box-sizing: border-box;
    }
  }
