#dashboard .ac_results, #cats_page .ac_results, #storytypes .ac_results { background:url("/CMS/graphics/ac_background.png") no-repeat bottom right; padding: 0 0 12px; margin-left:-175px; width:360px !important; border:0 none; }

#dashboard .ac_results.small, #cats_page .ac_results.small, #storysearch .ac_results.small, #storytypes .ac_results.small { background-image:url("/CMS/graphics/ac_background_small.png"); }
#dashboard .ac_results.small ul, #cats_page .ac_results.small ul, #storysearch .ac_results.small ul, #storytypes .ac_results.small ul { width:142px; }
#dashboard .ac_results.small li, #cats_page .ac_reslits.small li, #storysearch .ac_reslits.small li, #storytypes .ac_reslits.small li { width:124px; }
#dashboard .ac_results ul, #cats_page .ac_results ul, #storytypes .ac_results ul { width:346px; border: 1px solid #96BFE1; }
#dashboard .ac_results li, #cats_page .ac_results li, #storytypes .ac_results li { width: 328px; }

.ac_results { border: 0 none; margin-left:2px; padding:0 2px 0 0; padding-right:4px; background-color: #FFF; overflow: hidden; z-index: 10000; border: 1px solid #96BFE1; box-shadow: 0px 0px 5px 3px #FFF; }
.ac_results ul { width: 100%; background-color: #FFF; list-style-position: outside; list-style: none; padding: 0 1px; margin: 0; }
#storysearch .ac_results > ul, #navbody .ac_results > ul, #storysearchrelated .ac_results > ul { /*Usage where autocomplete needs to be scrollable*/
	max-height: 500px; overflow-y: auto; overflow-x: hidden;
}
#storysearchrelated .ac_results > ul { max-height: 320px !important; }
#storysearchrelated .ac_results > ul > li { padding: 4px 0px 4px 6px; }
.ac_results li { margin: 0px; padding: 8px; cursor: pointer; display: block; font-family: Helvetica, Arial, sans-serif; font-size: 12px; overflow: hidden; border-bottom:1px solid #96BFE1; color:#000; }
.ac_results iframe { position:absolute; top:0; left:0; z-index:-1; filter:mask(); width:3000px; height:3000px; }
.ac_highlight { font-weight: bold; color: #090; font-size: 11px; }
.ac_results em {color: #666;}
.ac_results li:last-child { border-bottom:0 none; }
.ac_main { font-size: 14px; font-weight: bold; color: #005984; }
.ac_parents { color: #666; }
.ac_loading { background : url("/CMS/graphics/indicator.gif") right center no-repeat #FFF !important; }
.ac_over { background-color: #FFFFEF; color: #000; }

.ac-categorylist-extra { display: inline-block; margin-bottom: 3px; }




/*Used to indicate valid selections in autocomplete control*/
.ac_ticked { background: url("/CMS/graphics/tick_small.gif") right center no-repeat #FFF; padding: 2px; border: solid 1px #999; }
.ac_unticked { background: url("/CMS/graphics/tick_small_off.gif") right center no-repeat #FFF; padding: 2px; border: solid 1px #999; }
.ac_clear{ cursor: pointer; display: none; padding: 2px; }
.ac_progress { background: url("/CMS/graphics/tick_progress.gif") right center no-repeat #FFF; padding: 2px; border: solid 1px #999; }

/*Lookup search control on SPIN template options*/
.lookupsearch { border: solid 1px #A5ACB2; /*height: 17px;*/ background-color: #FFF; }

/*Spin button control*/
input.spin-button { padding: 2px; padding-right:20px; background-repeat:no-repeat; background-position:100% 0%; background-image:url("/CMS/graphics/buttons/spinbtn_updn.gif"); border:solid 1px #A5ACB2;}
input.spin-button.up { cursor:pointer; background-position:100% -18px; }
input.spin-button.down { cursor:pointer; background-position:100% -36px; }

/*Table widths*/
.gridsmall { width: 400px; }
.gridmed { width: 600px; }
.gridlarge { width: 800px; }
.grid-full { width: calc(100% - 25px); }

/*Prevent hover behaviour on SEARCH metadata list and in event settings*/
#storysearch .meta_data a:hover, .manualselect .meta_data a:hover {text-decoration: none; font-weight: normal; /*background-color: #fff;*/}
#storysearch input.meta-match { margin-left: 10px; }


/*Search Results*/
#result_queues * { vertical-align: middle; }
#result_queues input[type="image"] { padding-left: 5px; }
.refine { color: #005984; font-weight: bolder; }
.storyOverview .notes{ display: none;} /*Hover preview notes fields - hide unless there is text*/

/*#stories_ResultGrid td.storyButtons{ width: 60px; }*/
td.storyButtons span { width: 0px; display:none; }
td.storyButtons a.thickbox { text-decoration: none; cursor:pointer; }

/*Story Types*/
.form_table .buttons img { margin-right:19px; }
#storytype_container .smalltabtable {width: 400px;}
#storytype_container .fieldtabtable {width: 600px;}
input.helpedit {display: none; width: 95%; font-family:Arial, sans-serif; font-size:1em; padding:1px 4px;}

/*Disabled effect for drop-down option*/
option.disabled{ color: #999;}

/*View all option on dashboard queues*/
#dashboard .spin_box .runqueue { list-style: none; float: left; }
#dashboard .spin_box .runqueue a { background: url("/CMS/graphics/buttons/b_runqueue_stack.gif") no-repeat top left; height:19px; padding-top:0; line-height:1.545; }
#dashboard .spin_box .runqueue a:hover { background-position:bottom left; }

/*SPIN Navigation*/
#spin #lastSavedDisplay { padding-right: 10px; margin-top: 6px; }

.box .current {background-color: #FFFFC7 !important;}
.box .current strong{ text-decoration: underline !important; }
.box .pagelist > div > .current{ background: #FFFFC7 url("/CMS/graphics/page_list_background_hover.jpg") repeat-x center top !important; }
.box .buttons .orderoff { padding: 0 0 0 20px; margin: 0; height: 17px; line-height: 17px; }

.missing td{ background-color: #FE0D2F !important; } /*SPIN criteria items that have been deleted from DB*/

/*Story metadata*/
#meta_applied .formmed { width : 350px;}
.multi_select td{}

/*Tab menu on overlay pages*/
#OverlayTabsMenu { background-color: #3E89C2; margin: 0; padding:10px 0 0 0; } /*background: #3E89C2 url("/CMS/graphics/edit_menu_bg.png") repeat-x top;*/
#OverlayTabsMenu:after { content: "."; display: block; clear: both; height: 0; visibility: hidden; }
#OverlayTabsMenu .OverlayTabsList{list-style-type: none; margin: 0 0 0 7px; padding:0; font-size:1.09em; }
#OverlayTabsMenu .OverlayTabsList li {float: left; margin: 0 5px 0 0; background: #1e5593 url("/CMS/graphics/edit_tab_off_l.gif") no-repeat 0 0; position: relative; top:0; border-bottom: 1px solid #97bfe2; }
#OverlayTabsMenu .OverlayTabsList li:hover { background-color: #EDF6FF; background-image: url("/CMS/graphics/edit_tab_on_l.gif"); }
#OverlayTabsMenu .OverlayTabsList li a {display: block; background: url("/CMS/graphics/edit_tab_off_r.gif") no-repeat 100% 0; color: #d2dde9; padding: 8px 15px 5px 15px; font-weight: bold; }
#OverlayTabsMenu .OverlayTabsList li a:focus, #OverlayTabsMenu .OverlayTabsList li a:hover { background-image: url("/CMS/graphics/tab_on_r.gif"); color: #1E5593; text-decoration: none; outline-width: 0;}
#OverlayTabsMenu .OverlayTabsList li.on { background-image: url("/CMS/graphics/edit_tab_on_l.gif"); background-color: #EFF7FF; }
#OverlayTabsMenu .OverlayTabsList li.on a { background-image: url("/CMS/graphics/edit_tab_on_r.gif"); color: #1e5593; outline-width: 0;}

#edit_menulist li { outline-width: 0; }

/*Table text editor overlay*/
.tabletitle {
	font-family:Arial,sans-serif;
	font-size:1.25em;
	font-style:normal;
	font-variant:normal;
	font-weight:bold;
	height:14px;
	line-height:normal;
	padding:3px 8px;
	width:60%;
}

/*Generic attached images list*/
#attachedImageList a { width: auto; }
#attachedImageList a img { margin-bottom: 8px; }
#attachedImageList img.img_thumb { border: solid 1px #72A5C2; }

/*Video upload form*/
#VideoEditOptions .container>h2 { border: 1px solid #97bfe2; margin: 15px 11px 0 11px; }
#VideoEditOptions .innercontainer { padding:15px 0; margin: 0 11px 0; background-color: #D6EBFF; border: 1px solid #97bfe2; border-top: 0; height: 80%; }
#VideoEditOptions .infoblock { background:#EFF6FC url("/CMS/graphics/buttons/b_i.gif") no-repeat scroll 6px 11px; float:none; font-size:1.1em; line-height:1.3; padding:13px 12px 12px 39px; width:90%; margin-left: 10px; }
#VideoEditOptions #overlayform { background-image: none; background-color: #fff; padding: 5px;}

/*'Fake' file upload control*/
.divinputfile{ background:url("/CMS/graphics/buttons/b_browse.gif") no-repeat 100% 1px; height:21px; width:438px; margin:0px; }
.fakeinputfile{ margin-top:-22px; }
.fakeinputfile .fakefile{ width:360px; height:17px; font-family:Arial; font-size: 1em; }

/*In-text links*/
#linkMatchFooter th {text-align: right; vertical-align: middle;}

/*Blog Page*/
.blog_left { float:left; width:20%; padding-left:20px; }
.blog_left * { vertical-align:middle; }

.blog_right { font-weight:bold; float:right; width:60%; text-align:right; padding-top:3px; }
.blog_right span { padding:5px 8px 8px 12px; height:25px; }
.blog_right * { vertical-align:middle; }
.blog_right select { margin: 0px 10px; width: 300px; padding:2px; font:1em Arial, Helvetica, sans-serif; }

/*SPIN - Custom layout settings*/
#customlayout { width: 250px; margin-left: 30px; }
#customLayoutImage { width: 100%; text-align: center; padding-top: 15px; }

/*Attached items that don't link anywhere, so shouldn't look like links*/
#categorylist_items li.sortable>a,
#storylink_items li.sortable>a,
#navlist_items li.sortable>a,
#BI_Entity_items li.sortable>a,
#survey_items li.sortable>a { text-decoration: none; cursor: default; font-weight: normal; }

/*Background for default result grid before striping is applied*/
#stories_ResultGrid tr{ background-color: #fff; }

/*Category/parent 'move' icon*/
#catMoveHandle{ border-width: 0px; padding-left: 5px; }

tr.selected td { background-color: #CDF2C5 !important; }

/*Make things semi-transparent*/
.faded { opacity: 0.4; filter:alpha(opacity=20); cursor: default; }

/*'Move' icon*/
.moveable{ cursor: move; }
.ms_placeholder{height: 29px}

/*Story search form changes
.optioncell {padding: 0 !important;}
.optioncell>table { width: 380px; }
.optioncell>table td { width: 16%; }
*/


.optioncell>label { display: inline-block; min-width: 66px; }

.search_section>table { display:none; background: #fff; border:1px solid #96BFE1; border-top:0; padding: 10px 0px; width: 100%;}

.form_table .search_section h2 { border: 1px solid #96BFE1; padding: 3px; }
.form_table .search_section h2 span {vertical-align: middle; font-size: .925em; height: 13px; background-image: url("/CMS/graphics/section_open.gif"); background-position: 0 0; }
.form_table .search_section h2.closed span { background-image: url("/CMS/graphics/section_closed.gif");}
.form_table .search_section h2 span:hover { text-decoration: none !important; color: #5F96B5; }

.form_table .search_section #catMetaSearch,
.form_table .search_section #tagMetaSearch
	{ width:310px; margin-left: 90px;}

.form_table .search_section #catMetaSearch a,
.form_table .search_section #tagMetaSearch a
	{ width:85% !important; }

#sswrapper tr * {vertical-align: middle;}

#sswrapper>.container {padding-top: 10px;}


.ugAddUser { width: 65px; text-align: center;}
.ntGrid { width: 35px; text-align: center;}

.overlaySelectAll { float: right; padding-right: 14px; }
.overlaySelectAll>label {font-weight: bold; padding-right: 10px;}

input.required, textarea.required, input.starred, textarea.starred { /*, select.required */
	background: url("/CMS/graphics/star.png") no-repeat scroll 99% 4px #FFFFFF;
}

.formsmall.required{ background-position: 96% 4px !important; width: 75px !important; }

a.storyrelated{ text-decoration: none;}

#navContentSelect>label, #storyBatchSection>label, #groupMemberSelect>label, #groupLeadSelect>label { margin-right: 10px; }
#storyBatchSection .select_all { position: relative; top: 2px; }

div.letterList{ width: 100%; }
div.letterList>a { padding: 00px 7px; font-size: 1.2em; }
a.letterSelected { font-weight: bold; border: solid 1px #005984;}

.blogoptioncell { width: 60px; text-align: center; }
.blogpostcell { width: 30px; text-align: center; }


#addNavType .form_table td.subject { width: 11em; }

table.ast_tab td { vertical-align: top; }

.formAligned * { vertical-align: middle; }

label.inlineElement {font-weight: bold; margin-left: 30px; }

/*Styled radio buttons*/
.form_table .wvf_cell { padding: 0px; }
.wvf_radio { width: 120px; height: 25px; display:block; background-image: url("/CMS/graphics/SPIN/radio_bg.png"); cursor: pointer; margin-right: 5px;}
.wvf_radio>input { display: none; }
.wvf_radio>span { padding-left: 25px; display: block; padding-top: 5px;}
label.wvf_checked { background-image: url("/CMS/graphics/SPIN/radio_bg_checked.png") !important; box-shadow: 0 0 2px 1px #8FDDFE !important; }

.CodeMirror-wrapping { border: 1px solid #ccc; }
.CodeMirror-btn { margin-left: 3px; margin-bottom: 5px; }
.CodeMirror-line-numbers{  font-family: Consolas, "Courier New", monospace; font-size: 10pt; padding: 5px 2px; color: #666; background-color: #ddd; border-right: 1px solid #333;}

td.search_section .ajax_load { padding-left: 5px; }

/*Layout search*/
#layoutSearch td.subject:first-child { vertical-align: top; }
#layoutSearch .layout_options, #layoutMultiUpdate .layout_options {
	width: 60px; height: 60px; display: inline-block;  background-repeat: no-repeat; background-size: 60px; margin: 0 5px; border: 1px solid transparent; background-position: 4px 4px; padding: 3px;
	image-rendering: pixelated; image-rendering: crisp-edges;
}
#layoutSearch .layout_options.active, #layoutMultiUpdate .layout_options.active { border-color: #005984; background-color: #CFC; }
#layoutSearch input[type="checkbox"], #layoutSearch input[type="radio"], #layoutMultiUpdate input[type="radio"] { position: relative; top: -4px; left: -6px; }

/*Spreadsheet export*/
#excelExportOptions { float: left; margin-left: 15px; }

.excelExportOption { margin-right: 10px; text-decoration: none; }
.excelExportOption img { width: 25px; }
.excelExportOption:hover { opacity: 0.5; }


/*Scrollable story results*/
#stories_ResultGrid { width: 99.5%; }
#searchResultsForm .content.queue > div, #overlayform .content.queue > div { overflow-y: auto; overflow-x: hidden; }

/*Category list on results*/
span.cat-count, span.tag-count, span.story-count {
	display: inline-block; border: 1px solid #FFF; padding: 1px 4px; border-radius: 2px; box-shadow: 0 0 0 1px #ACC7E4; user-select: none;
	transition: background-color 300ms ease; background-color: #FFF; cursor: default; min-width: 15px;
}
span.cat-count:hover, span.tag-count:hover, span.story-count:hover { color: #FFF; background-color: #ACC7E4; border-color: #FFF; }
.cat-count-list, .tag-count-list { position: relative; background-color: #FFF; }
.cat-count-list ul, .tag-count-list ul { border: 1px solid #ACC7E4; position: absolute;  box-shadow: -2px 2px 7px -3px #2669A9;  }

.cat-count-list ul, .tag-count-list ul {
	border: 1px solid #ACC7E4; position: absolute; background-color: #FFF; text-align: left; margin: 0; padding: 10px 0 10px 25px; list-style-type: square;
	top: -20px; font-size: 11px; width: 200px; /*box-shadow: -1px 1px 10px 1px #25609C;*/
}

.cat-count-list ul { right: 57px; }
.tag-count-list ul { right: 37px; }

/*TODO: story count list stuff*/



/*Queue field groups*/
.mandatoryField { background-color: #DEDEDE; font-weight: bold; }
#qfgSelect fieldset { border: 1px solid #96BFE1; border-radius: 2px; margin-bottom: 8px; padding: 2px 0 4px 10px; }
#qfgSelect legend { font-size: 12px; font-weight: bold; margin-left: 0; }


/*Users list*/
.adm_hide .username, .adm_hide .name > a { color: #01A7E5 !important; }


/*Linked navigation (category & section)*/
.subject.subj-light { font-weight: normal !important; }
span.help-small { font-size: 11px; color: #999; font-weight: normal; cursor: default; }
a.linked-nav-button { 	position: relative; left: 10px; top: -1px; cursor: default; float: right; }