.gallery-photo-item{   
    background: #ffffff;
    border: solid 1px #e5e5e5;
}

.gallery-photo-item a{
    text-decoration: none;
}

.gallery-photo-item-thumbnail-container{
    text-align: center;
}

.gallery-photo-item-thumbnail{
    min-width: 95px;
    width: 100%;
    max-width: 141px;
}

.gallery-photo-item-title-container{
    height: 64px;
}

.gallery-photo-item-title{
    font-family: Georgia, Times, "Times New Roman";
    font-size: 13px;
    font-weight: normal;
    color: #666666;
    margin-top: 15px;
    margin-bottom: 15px;
    word-break: break-all;
}

.gallery-photo-item-action-checkbox,
.gallery-photo-item-action-flag,
.gallery-photo-item-action-like,
.gallery-photo-item-action-comment,
.gallery-photo-item-action-lock
{
    float: left;
}

.ico-flag,
.ico-tws-like,
.ico-comment,
.ico-lock,
.ico-flag-is,
.ico-tws-like-is,
.ico-comment-is,
.ico-lock-is{
    background: url("images/gallery-icons-sprite.png") no-repeat;
    width: 17px;
    height: 15px;
    display: block;
}

.ico-flag{
    background-position: 0 0;
}

.ico-flag,
.ico-flag-is{
    cursor: pointer;
}

.ico-flag-is,
.ico-flag:hover{
    background-position: 0 -16px;
}

.ico-tws-like{
    background-position: -17px 0px;
}

.ico-comment{
    background-position: -36px 0px;
    cursor:default;
}

.ico-comment-is{
    background-position: -36px -16px;
    cursor:default;
}

.ico-lock{
    background-position: -53px 0px;
}

.ico-lock-is,
.ico-lock:hover{
    background-position: -53px -16px;
}

.gallery-photo-item-action-container{
    height: 18px;
}

.gallery-photo-item-chckbox{
    margin: 2px 5px 0 0;
}

.gallery-photo-item-action-edit{
    float: right;
}

.gallery-photo-item-action-like{
    width: 35px;
    height: 15px;
    margin-left: 3px;
}

#galleryBulkActions-options{
    float: left;
}

#galleryBulkActions-submit{
    float: left;
}

#galleryFilter-options{
    float: right;
}

#galleryOrder-year-options,
#galleryOrder-options{
    float: right;
    margin-right: 2px;
}

#galleryPreviewMode{
    float: right;
}

#galleryOrder-year-options,
#galleryBulkActions-options, #galleryFilter-options, #galleryOrder-options{
    width: 100px;
}

.galleryTotalImages{
    float: left;
    
    font-family: Georgia, "Times New Roman", Times;
    font-size: 16px;
    font-style: italic;
}

.galleryPagination{
    float: right;
}

.galleryPaginationSelectPage{
    margin-bottom: 0px;
}

.first-page,
.previous-page,
.paging-input,
.galleryPaginationSelectPage,
.next-page,
.last-page{
    display: inline-block;
    zoom: 1;
    *display: inline;
    vertical-align: middle;
    
}

.first-page,
.previous-page,
.next-page,
.last-page{

    padding: 3px 8px;
    margin: 0px 4px;
    background: #f5f5f5;
    
    text-align: center;
    text-decoration: none;
    border: solid 1px #dfdfdf;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

#moreOptionList{
    padding-top: 10px;
}

.preview-section, .prev-meta{
	font-family: "Geneva","Helvetica","Arial",sans-serif;
	font-size: 12px;
}

.prev-meta-g,
.prev-page-num,
.prev-title{
	font-size: 13px;
	font-family: Georgia, Times, "Times New Roman";
}

.btn-navi{
	width:35px;
	vertical-align: middle;
	text-align: center;
}

.prev-title{
	font-size: 18px;
	color:#787a4c;
	display:inline-block;
}
.prev-page-num{
	float: right;
	font-size: 18px;
	font-style: italic;
	color:#999999;
}
.album-tag{
	font-size: 13px;
	font-style: italic;
}
.prev-posted{
    background-color: #E4E4E4;
    padding: 5px 15px 5px 5px;
    border: 1px solid #CACACA;
}
.prev-comment{
    height: 1px;
    border: 0 none;
    background-color: #CACACA;
}
.h-comment{
	padding:0px 0px 10px 0px;
}

.h-comment span{
	font-weight:bold;
	font-size:16px;
	font-family:Arial;
}
#container {
	width:100%;
	margin:5px auto 5px;
	text-align:center;
	display:block;
	height: auto;
}

.borderclass {
	
}

.item {
	width:560px;
	float:left;
	margin:5px;
	background-color:#ffffff;
  	min-height:50px;
	text-align:justify;
	word-wrap:break-word;
	padding:0px;
}

.rightCorner { 
    background:url("images/timeline/arrow_right.png") 0px 0px no-repeat;
    display:block;
    height:15px;
    margin-left:562px;
    margin-left:556px\9;
    margin-top:8px;
    padding:0;
    vertical-align:top;
    width:8px;
	z-index:2;
	position:absolute;
}

.leftCorner {
	background:url("images/timeline/arrow_left.png") 0px 0px no-repeat;
	display:block;
	height:15px;
	width:8px;
	margin-left:-10px;
	margin-top:8px;
	position:absolute;
	z-index:2;
}

.timeline_container {
	width:40px;
	text-align:center;
    display:block;
	height:100%;
	position:absolute;
	top:0px;
	left:50%;
	margin-left:-20px;
}

.timeline {
	margin:0 auto;
	display:block;
    float:left;
    height:100%;
    left:0px;
    position:relative;
    width:40px;
}

a, a.tl-link, .tl-link {
	color:#336699;
	text-decoration:none;
}

a:hover {
	color:#336699;
	text-decoration:none;
}

a.timeline-header-title, .timeline-header-title {
	font-family:Georgia,"Times New Roman",Times,serif;
	font-size:18px; 
	color:white;
}

a.timeline-header-title:hover {
	color:white;
	text-decoration:underline;
}

.tl-section-title {
	font-family:Georgia, Times, "Times New Roman";
	font-size:16px;
	font-style:normal;
	color:#336699;
}

.tl-content-desc {
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
	color:#666666;
	padding-top:10px;
}

.tl-comment {
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
	color:#666666;
	width: 5px;
}

table.timeline-text {
	font-family:Arial, Helvetica, sans-serif;
	line-height:1.35em;
	font-size: medium;
}

table.tl-frame-left, table.tl-frame-right {
	width:100%;
}

table.tl-frame-left tr td.left-section {
	width:130px;
	border-width:1px 0px 1px 1px;
	border-style:solid;
	border-color:#CCCCCC;
	border-top-left-radius:5px;
	border-bottom-left-radius:5px;
	padding-top:15px;
	padding-bottom:15px;
	text-align:center;
	vertical-align:top;
}

table.tl-frame-left tr td.right-section {
	border-width:1px;
	border-style:solid;
	border-color:#CCCCCC;
	border-top-right-radius:5px;
	border-bottom-right-radius:5px;
	background:#F5F5F5;
	padding-top:15px;
	padding-bottom:15px;
	padding-left:15px;
	padding-right:15px;
	text-align:left;
	vertical-align:top;
}

table.tl-frame-left tr td.right-section table.tl-content {
	width:100%;
}

table.tl-frame-left tr td.right-section table.tl-content tr td.the-left-content {
	width:auto;
	text-align:left;
	vertical-align:top;
}

table.tl-frame-left tr td.right-section table.tl-content tr td.the-right-content {
	width:100px;
	text-align:right;
	vertical-align:top;
	padding-top:45px;
}

table.tl-frame-left tr td.left-section div.drop-shadow::before,
table.tl-frame-left tr td.left-section div.drop-shadow::after,
table.tl-frame-right tr td.right-section div.drop-shadow::before,
table.tl-frame-right tr td.right-section div.drop-shadow::after {
	content:"";
	position:absolute;
}


table.tl-frame-left tr td.left-section div.curved,
table.tl-frame-right tr td.right-section div.curved{
    position:absolute;
    width:122px;    
    top:10px;
    bottom:20px;    
    box-shadow:0 0 11px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow:0 0 15px rgba(0, 0, 0, 0.6);
    -moz-box-shadow:0 0 15px rgba(0,0,0,0.6);
    -moz-border-radius:10px / 100px;
    border-radius:10px / 100px;
}

table.tl-frame-left tr td.left-section div.curved{
    left:7px;    
}

table.tl-frame-right tr td.right-section div.curved{
    right:7px;
}

table.tl-frame-left tr td.left-section div.block-shadow,
table.tl-frame-right tr td.right-section div.block-shadow{
	width:128px;
	position:absolute;
	top:-4px;
	bottom:2px;
	background:white;
}

table.tl-frame-left tr td.left-section div.block-shadow{
    left:2px;
}

table.tl-frame-right tr td.right-section div.block-shadow{
    right:2px;
}

table.tl-frame-left tr td.left-section div.block-shadow-head{
	width:128px;
	position:absolute;
	top:1px;
	bottom:2px;
	left:2px;
	background:white;
}

table.tl-frame-left tr td.left-section,
table.tl-frame-right tr td.right-section{
    position: relative;
}

table.tl-frame-left tr td.left-section .tl-user-edit-btn{
    position: absolute;
    left: 46px;    
    bottom: -5px;
}

table.tl-frame-right tr td.right-section .tl-user-edit-btn{
    position: absolute;
    right: 46px;
    bottom: -5px;
}

.tl-item-medal img,
.tl-item-unitpatch img,
.tl-item-battle img,
.tl-item-trainingpatch img{
    display: block;
    margin-bottom: 20px;
}

table.tl-frame-right tr td.left-section {
	border-width:1px 0px 1px 1px;
	border-style:solid;
	border-color:#CCCCCC;
	border-top-left-radius:5px;
	border-bottom-left-radius:5px;
	background:#F5F5F5;
	vertical-align:top;
	padding-top:15px;
	padding-bottom:15px;
	padding-left:15px;
	padding-right:15px;
}

table.tl-frame-with-photos tr td.left-section {
	border-bottom-left-radius:0px;
}

table.tl-frame-right tr td.right-section {
	width:130px;
	padding-top: 15px;
	padding-bottom: 15px;
	border-width:1px;
	border-style:solid;
	border-color:#CCCCCC;
	border-top-right-radius:5px;
	border-bottom-right-radius:5px;
	text-align:center;
	vertical-align:top;
}

table.tl-frame-right tr td.left-section table.tl-content {
	width:100%;
}

table.tl-frame-right tr td.left-section table.tl-content tr td.the-left-content {
	width:100px;
	text-align:left;
	vertical-align:top;
	padding-top:45px;
}

table.tl-frame-right tr td.left-section table.tl-content tr td.the-right-content {
	width:auto;
	text-align:left;
	vertical-align:top;
}

table.tl-frame-with-photos tr td.right-section {
	border-bottom-right-radius:0px;
}

table.tl-frame-left tr td.photo-section, table.tl-frame-right tr td.photo-section {
	position: relative;
	background:#D7D7D7;
	border-width:0px 1px 1px 1px;
	border-style:solid;
	border-color:#CCCCCC;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	text-align:center;
	vertical-align:middle;
	height:125px;
}

.scroll-left-nav, .scroll-right-nav {
	border:0px;
	cursor:pointer;
}

.display-photo-area {
	text-align:center;
	width:100%;
}

.photos-container {
	margin:auto;
	overflow:hidden;
}

div.list-photos {
	position:relative;
	left:-10px;
	display:none;
	float:left;
}

.flag-year-left {
	background:url(images/timeline/label-year-left.png) 0px 2px no-repeat;
	width:140px;
	height:39px;
	position:absolute;
	top:15px;
	right:-30px;
}

.flag-year-left table {
	width:100px;
	height:100%;
}

.flag-year-left table tr td {
	vertical-align:middle;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight:bold;
	color:white;
	text-align:center;
}

.flag-year-right {
	background:url(images/timeline/label-year-right.png) 0px 2px no-repeat;
	width:140px;
	height:39px;
	position:absolute;
	top:15px;
	left:-30px;
}

.flag-year-right table {
	width:100px;
	height:100%;
	float:right;
}

.flag-year-right table tr td {
	vertical-align:middle;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight:bold;
	color:white;
	text-align:center;
}

.the-right-content table.insignia-frame {
	float:right;
	height: 100%;
}

.the-left-content table.insignia-frame {
	float:left;
	height: 100%;
}

.simple-timeline-item {
	min-height:0px;
}

table.tl-simple-left, table.tl-simple-right {
	width:100%;
	height:39px;
}

table.tl-simple-left tr td.left-side {
	width:4px;
	background:url(images/timeline/simple-timeline-left-edge.png) 0px 0px no-repeat;
}

table.tl-simple-left tr td.right-side {
	width:auto;
	background:url(images/timeline/simple-timeline-tile.jpg) 0px 0px repeat-x;
	vertical-align:middle;
	text-align:right;
	padding-right:23px;
	vertical-align:middle;
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	font-weight:bold;
	color:white;
}

table.tl-simple-right tr td.left-side {
	width:auto;
	background:url(images/timeline/simple-timeline-tile.jpg) 0px 0px repeat-x;
	vertical-align:middle;
	text-align:left;
	padding-left:23px;
	vertical-align:middle;
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	font-weight:bold;
	color:white;
}

table.tl-simple-right tr td.right-side {
	width:4px;
	background:url(images/timeline/simple-timeline-right-edge.png) 0px 0px no-repeat;
}

div.simple-timeline-head-left {
	position:absolute;
	top:0px;
	right:-30px;
	width:43px;
	height:39px;
	background:url(images/timeline/simple-timeline-left-head.jpg) 0px 0px no-repeat;
}

div.simple-timeline-head-right {
	position:absolute;
	top:0px;
	left:-30px;
	width:43px;
	height:39px;
	background:url(images/timeline/simple-timeline-right-head.jpg) 0px 0px no-repeat;
}


  .scroll-pane { overflow: auto; width: 99%; float:left; overflow-y:hidden}
  .scroll-content { width: 2440px; float: left; }
  .scroll-content-item { width: 100px; height: 100px; float: left; margin: 10px; font-size: 3em; line-height: 96px; text-align: center; }
  .scroll-bar-wrap { clear: left; padding: 0 4px 0 2px; margin: 0 -1px -1px -1px; }
  .scroll-bar-wrap .ui-slider { background: none; border:0; height: 2em; margin: 0 auto;  }
  .scroll-bar-wrap .ui-handle-helper-parent { position: relative; width: 100%; height: 100%; margin: 0 auto; }
  .scroll-bar-wrap .ui-slider-handle { top:.2em; height: 1.5em; }
  .scroll-bar-wrap .ui-slider-handle .ui-icon { margin: -8px auto 0; position: relative; top: 50%; }
  .photo-box { border:2px solid white; }

table.tl-frame-left.full-size tr td.left-section, 
table.tl-frame-right.full-size tr td.right-section{ 
	padding: 0 !important; 
}

.plaque-blue:hover {
    color: #FFFFFF !important; 
}
#roh-header div a {
	color: #336699;
}
body[mobile-mode="true"] #slider_center .ui-slider-horizontal {
	display: none;
}
body[mobile-mode="true"] #slider_center {
	border: none !important;
}

.timeline-header-title h1{
	font-size:12px;
	margin:0;
}

@media (min-width: 1024px) {
	.timeline-header-title h1{
		font-size:15px;
	}
}
@media (min-width: 1320px) {
	.timeline-header-title h1{
		font-size:18px;
	}
}
