@font-face {
    font-family: "Titillium Web";
    src: url("/fonts/TitilliumWeb-Regular.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: "Titillium Web";
    src: url("/fonts/TitilliumWeb-Bold.ttf") format("truetype");
    font-weight: bold;
}
@font-face {
    font-family: "Titillium Web";
    src: url("/fonts/TitilliumWeb-SemiBold.ttf") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "Titillium Web";
    src: url("/fonts/TitilliumWeb-Italic.ttf") format("truetype");
    font-style: italic;
}
@font-face {
    font-family: "Titillium Web";
    src: url("/fonts/TitilliumWeb-LightItalic.ttf") format("truetype");
    font-weight: 200;
    font-style: italic;
}

html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
    font-family: 'Titillium Web', sans-serif;
}

html, body {
    font-size: 14px;
    color: #323232;
    line-height: 1.3 !important;
}

h1, h2 {
    color: #000;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 10px;
}
h3 {
    color: #000;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 10px;
}
h4 {
    color: #000;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
}

h5 {
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    margin-top: 30px;
    margin-bottom: 30px;
}


/*  LINKS  */
a, a:visited, a:active, a:hover, a:link {
    color: #2a9aac;
    text-decoration: none;
}

#logoHeader {

    background: #035a66 url("/images/035b67-top-dark-bg.png") no-repeat;
    color: white;
}

#logoHeader > div:first-child {
    max-width: 900px;
}
#menuHeader {
    background: #038b9d;
    background: -webkit-linear-gradient(#2a9aac, #035c68);
    background: linear-gradient(#2a9aac, #035c68);
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

#menuHeader > div:first-child {
    max-width: 1050px;
}

#searchHeader {
    background: #2b9aad url("/images/2a9aac-top-light-bg.png") no-repeat;
    color: white;
}

#searchHeader > div:first-child {
    max-width: 900px;
}

a:hover {
    text-decoration: underline;
}

.form-control {
    display: inline-block;
    width: auto;
    /*margin-top: 12px;
    margin-bottom: 12px;*/
    padding: 4px 12px;
}
/* GENERAL */

img {
    border: 0;
}

ol,ul,dl {
    /*margin-left:2em;*/
}

.error, .errors {
    color: #f00;
}

.requiredFields {
	color: #b00;
}

.border {
	clear: both;
	border-top: 1px solid #808080;
}

.noBullet {
	list-style-type: none;
}

.clickable { cursor: pointer; }

#adminIndexNavigation a:hover {
	text-decoration: none;
}

#adminIndexNavigation td {
	vertical-align: top;
	/*text-align: center;*/
}

#adminIndexNavigation h3 {
    margin: 10px 0 5px 0;
    padding: 0;
    border-bottom: 1px solid #808080;
}


/*   HEADER STYLES */
#header {
    width: 1000px;
    margin-left: 7px;
    margin-right: 7px;
}

#logo {
    float: left;
    position: relative;
    margin: 0;
    margin-right: 15px;
    margin-bottom: 10px;
    width: 144px;
    height: 70px;	
}

#menuNav a, #menuNav a:visited, #menuNav a:active, #menuNav a:link, .menuNav a, .menuNav a:visited, .menuNav a:active, .menuNav a:link {
	color: white;
}

#menuNav a:hover, .menuNav a:hover {

}

#headerLinks {
    float: right;
    margin-top: 20px;
    text-align: right;
    color: #fff;
}
#headerLinks a {
    color: #dadc56;
}

#langSelect {
    padding-top: 20px;
    font-size: 13px;
    font-weight: bold;
    text-align: right;
}

#logInOut {
    text-align: right;
    padding-top: 18px;
    /*line-height: 52px;*/
    text-transform: none;
}
#logInOut a {
    color: white;
}
#langSelect a {
    color: white;
}

#search {
    margin: 20px 30px;
    font-size: 12px;
    padding: 0;
}

#search a {
    color: white;
    text-transform: uppercase;
}

.activeSearch {
    text-transform: uppercase;
    font-weight: bold;
}

#search .searchOptions a {
    text-transform: none;
}
#search .refineSearchButtons a {
    text-transform: none;
}

.searchInput {
    /*width: 740px;*/
    width: 100% !important;
}

.searchOptions {
    float: right;
}

i.fa {
    font-size: 120%;
    margin-right: 2px;
}

.searchFailed {
    margin: 0 auto;
    color: #ad2b2b;
    font-size: 1.25em;
    font-weight: bold;

}

.errorBox, .successBox {
	width: 95%;
	margin: 0 auto;
	border: 1px solid #ad2b2b;
    border-radius: 4px;
	background: #ad2b2b;
	font-size: 1.25em;
	font-weight: bold;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	color: white;
}

.warnText {
	color: red;
}

.warnField {
	background-color: #f33;
}

.errorText, .successText {
    border: 1px solid black;
	background: #ac2925;
	font-size: 1.25em;
	font-weight: bold;
    color: white;
    padding: 5px;
}

.successBox, .successText {
	background: green;
    border: 1px solid green;
}

/* CONTENT AREA */
#contentContainer {
	margin: 0;
    /*width: 1250px;*/
}

#contentWrapper {
    padding: 30px 0 0 30px;
    float: left;
    /*min-height: calc(100vh - 178px);*/
    width:  calc(100% - 290px);
    max-width: 1000px;
    min-width: 600px;
}

#contentWrapper:last-child {
    width: auto;
}


/* HEADER MENU OPENING BOXES */
#menu {
	/*width: 100%;*/
	/*margin-top: 20px;
    float: left;*/
}

#menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#menu li.menuNavMain {
    cursor: pointer;
    position: relative;
    float: left;
    /*margin-right: 10px;*/
    /*width: 160px;*/
    height: 52px;
    /*background: transparent url(../images/menuItemBg.png) no-repeat top left;*/
}
#menu li.menuNavMain.opened {
/*    background-position: bottom left;
    color: #fff;*/
}
#menu li.menuNavMain.opened a {
    /*color: #fff;*/
}

#menu li.menuNavMain .menuMainItem {
    display: block;
    padding: 18px 10px;
    color: white;
    /*width: 140px;*/
    /*height: 52px;
    line-height: 52px;*/
}

#menu li.menuNavMain .menuMainItemArrow {
    /*background: transparent url(../images/navigation_arrow.png) no-repeat 140px 20px;*/
}


#menu li.menuNavMain ul {
    display: none;
    position: absolute;
    background-color: white;
    top: 52px;
    left: 0;
    padding: 0 5px 5px 10px;
    width: 160px;
    z-index: 1;
}

#menu li.menuNavMain ul li {
    padding: 5px 0;
}

#menu li.menuNavMain.opened ul, #menu li.menuNavMain.over ul {
    display: block; 
    background-color: #045d69;
}

#menu li.menuNavMain ul li a {
    color: #fff;
    text-transform: none;
}

#menu a:hover {
    text-decoration: underline;
}

/* SIDENAV */

#sidebarContainer {
    float: left;
    width: 230px;
    margin: 30px;
    padding-left: 0;
}

#sidebarContainer h3 {
    /*margin: 10px 0 5px 0;
    padding: 0;
    border-bottom: 1px solid #808080;*/
}



/* FORMS RELATED */

.searchForm {
    /*display: inline;
    float: left;*/
}

.searchFormNoRefine {
    /*display: inline;
    float: left;*/
}
input[type="text"], input[type="password"] {
    padding: 2px;
}

/*
.button, input[type="submit"] {
    border: 0;
    background-color: #808080;
    color: white;
    margin: 1px;
    padding: 2px;
    cursor: pointer;
}

a .button {
    margin: 0;
}
*/
.btn {
    border: none;
    font-size: 12px;
    text-transform: uppercase;
    padding: 9px 24px;
    font-weight: bold;
}
.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
}

.btn-default {
    background: #1c90a2 linear-gradient(#04c3e2, #1c90a2);
    color: white;
    border: none;
}

.btn-danger {
    background: #6b1d1d linear-gradient(#ef3f3f, #6b1d1d);
    color: white;
    border: none;
}

.ui-slider-handle {
    background: #1c90a2 linear-gradient(#04c3e2, #1c90a2) !important;
}

label {
    margin-bottom: 2px;
    font-weight: normal;
}

#s {
/*    border: 1px solid #5C6C45;*/
}

.s {
/*	border: 1px solid #5C6C45;*/
}

.totalStats > div > div {
    background-color: #2a9aac;
    color: white;
    text-align: center;
    padding: 20px;
}

.statsAmount {
    font-size: 30px;
    color: #56d0e3;
}
#programEdit {
	display: inline;
}

#programEditPersonLink {
	display: inline;
}

#programEditCompanyLink {
	display: inline;
}



/* LINK CREATIONS */
#programLinkFailed {
	background: #ac2925;
	width: 100%;
	font-weight: bold;
	color: white;
}

#programLinkSuccess {
    background: green;
    width: 100%;
    color: white;
}



/* SEARCH RESULTS + CHANNEL LISTING */
#searchBuilder {
	margin-bottom: 10px;
}

.detailedSearchOperatorAndParentheses {
	margin-left: 50px;
}

.detailedSearchParentheses {
	font-size: 12px;
}

.detailedSearchBeginningParenthesContainer,
.detailedSearchEndingParenthesContainer {
	font-size: 20px;
	font-weight: bold;
}

#detailedSearchKql {
	margin-bottom: 10px;
}
#detailedSearchKql input[type="text"] {
	width: 100%;
	font-size: 15px;
}

.searchField {
 margin: 10px 0;
}
.searchFieldNoJs {
 margin: 10px 0;
}
/*
a.lisaa {
  padding-left: 20px;
  background: url(../images/h_lisaa.png) no-repeat center left;
}
a.lisaa:hover {
  background-image: url(../images/g_lisaa.png);
}
*/
a.lisaakansio {
  padding-left: 28px;
  background: url(../images/h_kansio.png) no-repeat center left;
}
a.lisaakansio:hover {
  background-image: url(../images/g_kansio.png);
}
/*
a.poista {
  padding-left: 20px;
  background: url(../images/h_poista.png) no-repeat center left;
}
a.poista:hover {
  background-image: url(../images/g_poista.png);
}
*/
/*
a.muokkaa {
  padding-left: 20px;
  background: url(../images/h_muokkaa.png) no-repeat center left;
}
a.muokkaa:hover {
  background-image: url(../images/g_muokkaa.png);
}
*/
a.toista {
  padding-left: 20px;
  background: url(../images/h_toista.png) no-repeat center left;
}
a.toista:hover {
  background-image: url(../images/g_toista.png);
}

a.tv {
  line-height: 20px;
  padding: 3px 0 3px 20px;
  background: url(../images/h_tv.png) no-repeat center left;
}
a.tv:hover {
  background-image: url(../images/g_tv.png);
}

a.radio {
  line-height: 20px;
  padding: 3px 0 3px 20px;
  background: url(../images/h_radio.png) no-repeat center left;
}
a.radio:hover {
  background-image: url(../images/g_radio.png);
}

a.muistiinpano {
  padding-left: 24px;
  background: url(../images/h_muistiinpano.png) no-repeat center left;
}
a.muistiinpano:hover {
  background-image: url(../images/g_muistiinpano.png);
}
/*
a.muistiinpano_pieni {
  padding-left: 20px;
  background: url(../images/h_muistiinpano_pieni.png) no-repeat center left;
}
a.muistiinpano_pieni:hover {
  background-image: url(../images/g_muistiinpano_pieni.png);
}
*/
a.tarkea {
  padding-left: 24px;
  background: url(../images/h_tarkea.png) no-repeat center left;
}
a.tarkea:hover {
  background-image: url(../images/g_tarkea.png);
}
a.tarkeaOn {
  padding-left: 24px;
  background: url(../images/g_tarkea.png) no-repeat center left;
}

a.help{
	/*padding-left: 20px;
	background: url(../images/help.png) no-repeat center left;*/
}

a.export{
/*	padding-left: 24px;
	background: url(../images/export.png) no-repeat center left;*/
}

#searchField {
 width: 75%; 
 text-align: right;
}

#searchResultDetails {
 margin-left: 10px;

}

/* this can be taken out if we end up using fixed width layout */
#searchResults,
.searchResultsHeader,
.searchResultsFooter {
	max-width: 1000px;
}

.searchResultsHeader,
.searchResultsFooter {
 margin: 2px 0;
 padding: 4px;

}

.searchResultsFor {
 float: left;
 font-size: 16px;
 font-weight: bold;
}

.searchResultsFor a {
 margin-left: 10px;
 padding-left: 15px;
 background: url(../images/murupolku.png) no-repeat center left;
}

.searchResultsFor a:first-child {
 margin-left: 0;
 padding-left: 0;
 background: none;
}

.searchResultsSort {
 float: right;
 font-weight: bold;
}

.searchResultsCount {
 float: left;
 margin-right: 20px;
}

.searchResultsPaginate {
 float: left;
}

.searchResultsPaginateSelected {
	font-weight: bold;
	font-size: 12px;
}

.searchResultsPerPage {
 float: right;
}

div.searchResultsSuggestions {
 margin: 10px 5px;
}

span.searchResultsSuggestions {
 color: #b00;
}

#searchResults {
 margin: 5px 0;
}

#archivaltable {
    margin: 10px 0;
}

#searchResults .tableListingOdd, #archivaltable .tableListingOdd {
	/*background: #c9c9c9;*/
}

#searchResults .tableListingEven, #archivaltable .tableListingEven  {
    /*background: #f0f0f0;*/
}

.searchResult {
 margin: 0 10px;
 padding: 5px;
 border-bottom: 1px solid #808080;
 clear: both;
}

.searchResultImage {
	float: left;
	margin-right: 5px;
}

.searchResultTitle {
	font-size: 20px;
	
}

.searchResultTitle a {
	font-weight: bold;
}

.searchResultDetails {
	font-size: 15px;
}

.linkResultTitle {
    font-size: 17px;
}

.linkResultTitle a {
    font-weight: bold;
}

.linkResultDetails {
    font-size: 13px;
}

.searchResultLinks {
	border-top: 1px solid black;
	margin: 0;
	padding: 0;
	margin-top: -2px;
	font-size: 13px;
}

.searchResultThumbnail {
	float: left;
	margin: 5px 10px 10px 0;
}

/* Fixed thumbnail size */

.searchResultThumbnail img {
        width: 170px;
        height: 96px;
}

.timelineImage img {
        width: 170px;
        height: 96px;
}

td[id^="thumbnailBroadcast"] img {
        width: 170px;
        height: 96px;
}


/* PROGRAM/BROADCAST PAGE */

.broadcastTimeline {
	width: 750px;
    /*overflow: auto;*/
    overflow-x: scroll;
    overflow-y: hidden;
}

.broadcastTimeline .timelineAddNote {
  font-size: 11px;
}

.vodError {
  font-weight: bold;
  color: #f00;
}




/* EPG LISTING */
.commonLeftRight{
	padding-left: 5px;
	padding-right: 5px;	
}

.epgHeader {
    margin: 2px 0;
    padding: 4px;
    min-width: 800px;
}

.epgHeaderElement {
 float: left;
 margin-right: 20px;
}

.epgListingTable { 
 border-spacing: 0;
 border-collapse: collapse;
 border: 1px solid;
 margin: 10px 0;
}

.epgListingTable th {
    height: 41px;
    min-width: 200px;
    border-top: #808080 1px solid;
    border-right: #808080 1px solid;
    border-left: #808080 1px solid;
    color: white;
    background-color: #2b9aad;
    text-align: left;
    padding-left: 5px;
}

.epgListingTable th a {
    color: white;
}

.epgListingTable td {
	border-left: #808080 1px solid;
 	border-right: #808080 1px solid;
 	border-bottom: #808080 1px solid;
 	vertical-align: top;
}

/* moved: xhtml valid. */
#epgListing {
    width: 100%;
}

.epgProgramListing {
    width: 100%;
}

.epgProgramListing td {
        /*height:20px; */
	border: none;
	padding-bottom: 1px;
}

.tableListingOdd td {
	background: #e6fcff;
}

td.epgLightColour {
	min-width: 100px; 
	padding-left: 1px;
	white-space: nowrap;

	/*background: #EAE9D8;*/
}

.epgProgramListing td.epgProgramNames {
    width: 100%;  
	padding-left: 5px;
}

.epgChannelClose {
	padding-right: 5px;
	float: left;
}

.epgHeaderLogo{
	padding-left: 2px;
	float: left;
	
}

.epgBorderLines{
	background: #2b9aad;
	color: white;
	font-weight: bold;	
}

.epgAudienceLevelIcon,
.epgAudienceLevelNone {
	display: block;
	float: left;
	width: 17px;
        height: 20px;
}
.epgAudienceLevelNone {
	color: #aaa;
	font-weight: bold;
}

.clearBoth {
	clear: both;	
}

#cmsPagesList {
 width: 95%;

}

#cmsPagesList th {
 border-bottom: 1px solid black;
 font-size: 1.1em;
}

#cmsPagesList td {
 padding-left: 5px;
 padding-right: 3px;
 padding-bottom: 1px;
 border-bottom: 1px solid #808080;
 text-align: right;
}

#cmsPagesList .actions {
 width: 130px;

 border: none;
}

#cmsPagesList .username {
 width: 80px;
}

#cmsPagesList .language {
 width: 40px;
}

#cmsPagesList .updated {
 width: 10%;
}

#cmsPagesList .pageName {
 text-align: left;
 font-size: 1.05em;
 font-family: verdana, tahoma, helvetica, arial;
}

#aclList th {
 padding: 1px 10px;
 border-bottom: 1px solid black;
 font-size: 1.1em;
 text-align: left;
}

#aclList td {
 padding: 1px 10px;
 border-bottom: 1px solid #808080;
}

#aclList td.undefined {
 font-weight: bold;
 color: #f00;
}


#imageRollOver {
	display: inline;
}




/* User modify page notifies */
.userModifySuccess, .userModifyError {
 display: block;
 width: 100%;
 border: 1px solid black;
 text-align: center;
 font-size: 1.5em;
 font-weight: bold;
 color: white;
}

.userModifySuccess {
 background: green;
}

.userModifyError, .userModifyErrorField {
 background: #ac2925;
}

.userModifyErrorField {
 color: white;
 font-weight: bold;
}

/* Admin page user listing */
#userManagementList, #adminLocksListingTable {
 width: 100%;
}

/* Admin page user listing */
#userManagementList th {
    cursor: pointer;
}

.sortable .head h3 {
    background: #2a9aac;
    cursor: pointer;
    padding-left: 18px
}

.sortable .desc, .sortable .asc {
    background: #2a9aac;
    color: #ffffff;
}

.sortable .desc h3 {
    /*background: url(../images/sort/desc.gif) 7px center no-repeat;*/
    cursor: pointer;
    padding-left: 18px
}

.sortable .asc h3 {
    /*background: url(../images/sort/asc.gif) 7px center no-repeat;*/
    cursor: pointer;
    padding-left: 18px
}

legend {
    margin-bottom: 0;
    font-size: 18px;
}

#userManagementList th, #adminLocksListingTable th, #groupManagementList th {
 font-size: 1.1em;
 border-bottom: 1px solid black; 
}

#userManagementList td, #adminLocksListingTable td, #groupManagementList td {
 padding-left: 5px;
 padding-right: 3px;
 padding-bottom: 1px;
 border-bottom: 1px solid #808080;
 text-align: right;
}

#userManagementList .actions, #adminLocksListingTable .actions, #groupManagementList .actions {
 width: 130px;

 border: none;
}

#userManagementList .id, #groupManagementList .id {
 width: 30px;
 text-align: left;
}

#userManagementList .username, #adminLocksListingTable .username, #groupManagementList .groupname {
 text-align: left;
 font-family: verdana, tahoma, helvetica, arial;
}

/* Admin page user create& modify ul tag */

#userManagementCreate ul, #userManagementEdit ul {
	margin-left: 0;
	list-style-type: none;
}

#programInformationMeta td, .entryMetaList td {
	vertical-align: top;
}

td.subtype {
	padding-left: 15px;
	font-style: italic;
}
th.subtype {
    padding-left: 15px;
    text-align: left;
}
#programInformationMeta th {
	text-align: left;	
}

.entryMetaList .entryMetaRowFirstColumn {
	padding-right: 15px;
	font-weight: bold;
}

#programInformationMeta td:first-child, #broadcastInformationMeta td:first-child, #companyInformationMeta  td:first-child,
#personInformationMeta td:first-child {
    white-space: nowrap;
    width: 10%;
}

#customLinkingBoxHide, #customLinkingBoxShow {
	display: inline;
}

.metaDate {
    white-space: nowrap;
}








table.jCalendar {
    border: 1px solid #000;
    background: #aaa;
    border-collapse: separate;
    border-spacing: 2px;
}
table.jCalendar th {
    background: #333;
    color: #fff;
    font-weight: bold;
    padding: 3px 5px;
}

table.jCalendar td {
    background: #ccc;
    color: #000;
    padding: 3px 5px;
    text-align: center;
}
table.jCalendar td.other-month {
    background: #ddd;
    color: #aaa;
}
table.jCalendar td.today {
    background: #666;
    color: #fff;
}
table.jCalendar td.selected {
    background: #f66;
    color: #fff;
}
table.jCalendar td.selected.dp-hover {
    background: #f33;
    color: #fff;
}
table.jCalendar td.dp-hover,
table.jCalendar tr.activeWeekHover td {
    background: #fff;
    color: #000;
}
table.jCalendar tr.selectedWeek td {
    background: #f66;
    color: #fff;
}
table.jCalendar td.disabled, table.jCalendar td.disabled.dp-hover {
    background: #bbb;
    color: #888;
}
table.jCalendar td.unselectable,
table.jCalendar td.unselectable:hover,
table.jCalendar td.unselectable.dp-hover {
    background: #bbb;
    color: #888;
}





/* For the popup */

/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */

div.dp-popup {
    position: relative;
    background: #ccc;
    font-size: 10px;
    font-family: arial, sans-serif;
    padding: 2px;
    width: 171px;
    line-height: 1.2em;
}
div#dp-popup {
    position: absolute;
    z-index: 199;
}
div.dp-popup h2 {
    font-size: 12px;
    text-align: center;
    margin: 2px 0;
    padding: 0;
}
a#dp-close {
    font-size: 11px;
    padding: 4px 0;
    text-align: center;
    display: block;
}
a#dp-close:hover {
    text-decoration: underline;
}
div.dp-popup a {
    color: #000;
    text-decoration: none;
    padding: 3px 2px 0;
}
div.dp-popup div.dp-nav-prev {
    position: absolute;
    top: 2px;
    left: 4px;
    width: 100px;
}
div.dp-popup div.dp-nav-prev a {
    float: left;
}
/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
    cursor: pointer;
}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
    cursor: default;
}
div.dp-popup div.dp-nav-next {
    position: absolute;
    top: 2px;
    right: 4px;
    width: 100px;
}
div.dp-popup div.dp-nav-next a {
    float: right;
}
div.dp-popup a.disabled {
    cursor: default;
    color: #aaa
}
div.dp-popup td {
    cursor: pointer;
}
div.dp-popup td.disabled {
    cursor: default;
}

form#noteAddForm div a {
	font-size: 12px;
}

div#notebookAddFolderChoice, div#notebookChooseExistingFolder, #notebookNewFolderChooseParent, #notebookNewFolderOwnerGroup, #notebookNewFolderName {
	display: inline;
}

table.statisticsTable tr td {
	vertical-align: top;
    padding: 0 10px;
    border-right: 1px solid #999;
}

table.statisticsTable tr td:last-child {
    border-right: none;
}


table.vodStatistics tr th {
    padding-right: 3px;
}

table.vodStatistics tr th.channel {
	text-align: right;	
}

table.vodStatistics tr td {
	text-align: right;
	width: 4em; 
	border: 1px solid #ddd;
	padding: 0;
    padding-right:3px;
	min-width: 22px;
}

table.vodStatistics {
}

table.vodStatistics td a {
    color: #000;
}

td.vodCountZero {
	background: transparent;
}

td.vodCountPoor {
	background-color: #ffa29e;
}

td.vodCountMedium {
	background-color: #eebe95;
}

td.vodCountGood {
	background-color: #eee899;
}

td.vodCountFull {
	background-color: #caffc6;
}

.timelineListingTable {
    border-spacing: 0;
    border-collapse: collapse;
    border: 1px solid;
    margin-top: 2px;
    width: 1440px;
}

.timelineListingTable th a {
    color: white;
}
.timelineListingTable th {
    height: 41px;
    min-width: 150px;
    border: #808080 1px solid;
    color: white;
    background-color: #2b9aad;
    font-size: 150%;
}

.timelineListingTable th .epgChannelClose {
    font-size: 50%;
}

.timelineListingTable td {
	border: #808080 1px solid;
 	vertical-align: top;
}

.timelineProgramListing {
	table-layout:fixed;
	 width: 100%;
}

.timelineProgramListing tr td {

}
	 		
tr td.tableListingOdd {
	background: #e6fcff;
}

.timelineThumbs {
	 width: 100%;
         min-height: 114px;
}

.timelineThumbs tr td {
	text-align: center;
	border: none;
}

.timelineTable {
	table-layout:fixed;
	width: 100%;
	height: 20px;
}

.timelineTable tr td{
	height: 20px;
}

.timelineTable tr td.tableListingNoProg {
	background: white;
}

.progMenu li.progNavMain {
    position: relative;
    float: left;
    width: 100%;
    height: 40px;
}
.progMenu a {
    color: #2a9aac !important;
}

.progMenu li.progNavMain .progMainItem {
    display: block;
    padding: 0 10px;
    width: 100%;
    height: 40px;
    line-height: 40px;
}
.progMenu li.progNavMain ul {
    display: none;
    position: absolute;
    top: 37px;
    padding: 0 5px 5px 10px;
    width: 250px;
    z-index: 1;
    border: 1px solid black;
    background: white;
}
.progMenu li.progNavMain:hover ul, #menu li.progNavMain.over ul {
    display: block;     
}
.progMenu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.progMenu li.progNavMain .progMainItemArrow {
    background: transparent url(../images/navigation_arrow.png) no-repeat 80% 50%;
}

.progMenuRight ul{
	right: 0;
}
.progMenuLeft ul{
	left: 0;
}

#helpScreen {
	position: fixed; 
	z-index: 25; 
	top: 30px; 
	border: 1px solid black; 
	width: 98%; 
	left: 1%; 
	background: white; 
	display: none;
	padding: 15px;
	max-height: 500px;
	overflow: auto;
}

#helpScreenOverlay{
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	/*background: transparent;*/
    background-color: #666;
    opacity: 0.5;
	z-index: 24;
	display: none;
}

.historyEntry {
 border-bottom: 1px solid gray;
 width: 95%;
}
.historyEntry .historyDateField {
 display: block;
 font-size: 1.1em;
}
.historyEntry .historyDataFirst {
 margin-left: 25px;
}
.historyEntry .historyActionsField {
 display: block;
 margin-left: 25px;
}
.historyEntry li {
 list-style-type: none;
 display: inline;
}

td.statisticscount {
  width: 10%;
  text-align: center;
}
table.editedRows {
	width: 500px;
}

table.editedRows tr td, table.editedRows tr th {
  text-align: center;
  width: 20%;
}

tr.activeMeta td {
   font-weight: bold;
}

tr.inactiveMeta td {
   color: #666666;
}

#mergeComparison tbody tr td {
    vertical-align: top;	
}

.mergedText {
	color: red;
}

.programpersons tbody tr td {
    vertical-align: top;    
	
}

.allLinks {
    display:none;	

} 

#personListTable, #tenhoListTable{
	width: 997px;	
}
.personOdd{
	background: #e6fcff;
}

.hiddenClass {
    display:none;
}

#search a.inactive {
    /*color: #666666;
    font-size: 85%;*/
    font-weight: normal !important;
} 

.highlightCol a {
	color: white;
}

.smallimage {
    max-height: 100px; 
}

.newFolderForm {
	padding: 3px;
}

.statsTable {
border: 1px solid black;
border-collapse: collapse;
}
.statsTable td {
border: 1px solid black;
padding: 3px;
text-align: center;
	
	}
.statsTable th {
border: 1px solid black; 
padding: 3px;
text-align: center;
}

textarea {
    font-family: 'MS Shell Dlg', Trebuchet MS,Arial,sans-serif;
    font-size:13px;
}

td.otherSource {
	font-style: italic; 
}

table.teletextMain {
    margin-left: 100px;
    margin-top: 20px;	
}

table.teletextNavi {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	border: none;
	border-collapse: collapse;
}
table.teletextNavi tr td {
    border: none;
    margin: 0;
    padding: 5px;
}
table.teletextMain tr td.imagetd {
    width: 480px;
	height: 360px;
	text-align: center;
}

table.teletextNavi tr.nav td {
	padding: 10px 5px 10px 5px;
	height: 36px;
	vertical-align: top;
}
table.teletextNavi tr.subpagebox td {
    padding: 5px; 
    text-align: center;
}

form.teletextForm {
    display: inline;
}

a.teletext_link img {
	margin-bottom: 3px;
	vertical-align: middle;
	margin-left: 4px;

}

input[readonly] {
	   background-color: #aaaaaa;
}

.input_name {
	min-width: 250px;
}

#tenhoListTable th {
  text-align: left;
  padding-left: 5px; 
}

tr.marked {
    background-color: #FFaaaa;
}
tr.marked td.personOdd {
    background-color: transparent;
}

#customLinkingBox .searchResult {
  padding: 0;
  border: none;
}
#customLinkingBox .searchResult .linkResultTitle {
  font-size: 13px;
}
a.button {
	text-decoration: none;
}
.highlight-char {
	/*color: #AA0000;*/
    color: #16616d;
}

.historytable {
    border-spacing: 0;
}

.historytable td, .historytable th {
    padding: 1px 5px;
}

.tenhoTable td {
    padding: 1px 5px;
    border: #808080 1px solid;
}

.tenhoTable th {
    padding: 1px 5px;
    border: #808080 1px solid;
}

.tenhoTable {
 border-spacing: 0;
 border-collapse: collapse;
 border: 1px solid;
 margin-top: 2px;

}

.programVerified a {
    color: black;
}

.programNotVerified a  {
    color: gray;
}

.archive-name {
    float: right;
    font-size: 14px;
}

#broadcastVerification {
    margin: -30px;
}

@media (max-width: 767px) {
    .hidden-xs {
        display: none !important
    }
}

#programInformationMeta, #broadcastInformationMeta, #personInformationMeta, #companyInformationMeta {
    border-collapse: separate;
    border-spacing: 4px;
    /*width: 100%;*/
}
textarea {
    min-height: 25px;
}

#miniFloater {
    padding: 2px;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

/****** program highlight *******/
.program-highlight {
    float: left;
    margin-bottom: 1%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.cke_editable .program-highlight {
    border: 1px solid grey;
}

.program-highlight.hl-narrow {
    width: 49%;
    margin-right: 1%;
    padding: 1%;
}

.program-highlight.hl-wide {
    width: 99%;
    padding: 1%;
}

.program-highlight img {
    width: 100%;
    height: 100%;
}

.program-highlight img {
    float: left;
    background: lightgrey;
}

.program-highlight img:not([src]) {
    background: lightgrey;
}

.program-highlight img[src] {
    padding-bottom: 0 !important;
}

.program-highlight img.hl-small {
    margin-right: 1%;
    width: 50%;
    padding-bottom: 50%;
}

.program-highlight img.hl-big {
    margin-right: 2%;
    width: 40%;
    padding-bottom: 40%;
}

.program-highlight.selected {
    border: 1px solid lightgreen;
}


/** admin channel edit **/
#adminChannelsTable tr.selected {
    background: #ddd;
}
#adminChannelsTable .arrows {
    width: 60px;
    display: none;
    text-align: right;
}

#adminChannelsTable .arrows a {
    cursor: pointer;
}

#adminChannelsTable tr.selected .arrows{
    display: block;
}
.inactiveSort {
    opacity: .5;
    cursor: default;
}
.linkSortActions {
    float: right;
}
.programpersons li, .programcrews li {
    line-height: 23px;
}
.programpersons td, .programcrews td {
    vertical-align: top;
    padding-right: 15px;
}

