/* LAYOUT FORM */
body.layout_form #page { overflow: auto; }
body.layout_form #body { margin-top: 94px; }
body.layout_form #stage { margin-bottom: 20px; padding: 10px 0; background: #fff; min-height: 345px; -webkit-user-select: none; -moz-user-select: none; user-select: none; padding-bottom:100px; }
body.layout_form #stage:after { content:"."; clear:both; display:block; height:0; visibility:hidden; font-size:0; }

body.layout_form .content { padding: 0; width: 100%; }
body.layout_form .content_title { margin: 0; padding: 20px 20px 0 20px; background-color: #fff; border-bottom: 0; }
body.layout_form .content_title h2 { margin: 0 300px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #444; }
body.layout_form .content_title p { margin-right: 300px; color: #999; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.layout_form .content_title .pub_date { float: right; margin: 0; width: 270px; text-align: right; font-size: 12px; line-height: 16px; }
body.layout_form .content_title .pub_date label { display: inline; color: #777; }
body.layout_form .content_title .pub_date input { margin-left: 5px; padding: 5px; width: 75px; font-size: 12px; line-height: 16px; text-align: center; color: #999; }
body.layout_form .content_title .pub_date input:focus { padding: 4px; }
body.layout_form .content { margin-top: 0; }
body.layout_form .submit { overflow: hidden; }
body.layout_form .submit button { display: block; float: right; }
body.layout_form .submit .alt_button { display: block; float: left; }

/* ROWS */
body.layout_form .row { position: relative; float: left; margin: 0 0 20px -35px; padding: 0 20px 0 55px; width: 670px; }
body.layout_form .row:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
body.layout_form .row:last-child { margin-bottom: 0; }
body.layout_form .row.ui-sortable-helper { opacity: .7; }
body.layout_form .row.ui-sortable-helper .column { background: #c1ddef url(../../images/layouts/reordering_row.gif) 50% 50% no-repeat; }

body.layout_form .row .row { float: none; margin-left: 0; padding: 0; }

/* ROW TOOLS */
body.layout_form .row_tools { display: none; position: absolute; top: 10px; left: 0; margin: 0; padding: 5px; background-color: #fff; -webkit-border-radius: 4px 0 0 4px; -moz-border-radius: 6px 0 0 6px; border-radius: 6px 0 0 6px;}
body.layout_form .layout_wrapper:hover .row_tools { display: block; }
body.layout_form .row_tools span { display: block; margin-bottom: 5px; width: 25px; height: 25px; border: 1px solid #ccc; overflow: hidden; text-indent: -1000px; cursor: pointer; -webkit-border-radius: 13px; -moz-border-radius: 13px; border-radius: 13px; }
body.layout_form .row_tools .row_handle { background: url(../../images/layouts/row_handle.png) 50% 50% no-repeat; border-color: #fff; cursor: move; }
body.layout_form .row_tools .row_label { display: block; background: #eee url(../../images/layouts/) 50% 50% no-repeat; }
body.layout_form .row_tools .row_remove { margin-bottom: 0; background: #eee url(../../images/layouts/row_remove.png) 50% 50% no-repeat; }
body.layout_form .row:hover .row_tools { display: block; }

body.layout_form .row_sidebar:hover .row_tools  { display: none; }

/* COLUMNS */
body.layout_form .column_set { padding: 0; }
body.layout_form .column_set:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
body.layout_form .column { float: left; width: 93px; min-height: 150px; margin-right: 20px; background: #e3f0f8 url(../../images/layouts/drop_content_here.gif) 50% 50% no-repeat; border: 1px dashed #c1ddef; }
body.layout_form .column:last-child { margin-right: 0; }
body.layout_form .column .ui-state-highlight { margin: 5px; height: 32px; background-color: #c1ddef; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
body.layout_form.preview .column .ui-state-highlight { }

body.layout_form .column_lead { width: 668px; margin-right: 0; }
body.layout_form .column_large { width: 438px; }
body.layout_form .column_medium { width: 323px; }
body.layout_form .column_small { width: 208px; }

body.layout_form.preview .column { width: 95px; min-height: 0; border: none; }
body.layout_form.preview .column_lead { width: 670px; }
body.layout_form.preview .column_large { width: 440px; }
body.layout_form.preview .column_medium { width: 325px; }
body.layout_form.preview .column_small { width: 210px; }

/* LAYER CONTROLS */
body.layout_form .layer.type_annotation .layer_controls { background-color:#68c6a1; } 
body.layout_form .layer .layer_controls { position: relative; margin: 2px; padding: 5px 10px; background: #68a1c6 url(../../images/layouts/layer_grab.png) 100% 50% no-repeat; overflow: hidden; cursor: move; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
body.layout_form .layer .layer_controls h5 { margin: 0 15px 0 0; padding-left: 20px; font-size: 12px; line-height: 18px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.layout_form .layer .layer_controls .content_type { color: #badbf1; }
body.layout_form .layer .layer_controls .content_type:after { content:" :"; color:white; }
body.layout_form .layer.type_annotation .layer_controls h5 { color:white; }
body.layout_form .layer.type_annotation .layer_controls .content_type:after { content:""; display:none; }
body.layout_form .layer.type_annotation .layer_controls .content_type { display:none; }

body.layout_form .layer .layer_controls h5 a[title=info] { position: absolute; top: 6px; left: 8px; display: block; width: 15px; height: 15px; background: url(../../images/layouts/layer_info.png) no-repeat; overflow: hidden; text-indent: -1000px; }

body.layout_form .layer.selected .layer_controls  { background-color:#5889a8; }
body.layout_form .layer.type_annotation.selected .layer_controls  { background-color:#58a889; }
body.layout_form .layer.selected .layer_controls h5 a[title=info] { background: url(../../images/layouts/layer_info.png) no-repeat; }

body.layout_form .layer .palette .layer_controls { margin: 0 0 1px 0; }
body.layout_form .layer .palette a { color: #c1ddef; }
body.layout_form .layer .palette .deleted { display:none; }

/* LAYER HTML */
body.layout_form .layer_html { display: none; margin: 0; background: none; }
body.layout_form .layer_html iframe { width:100%; }
body.layout_form .layer_html h6 { font-size: 11px; text-transform: uppercase; color: #39b44a; }
body.layout_form .layer_html .item .thumbnail { float: right; margin: 0 0 10px 10px; }
body.layout_form .layer_html .item .caption { font-size: 12px; line-height: 16px; color: #777; }
body.layout_form .layer_html .video_player { display: none; }
body.layout_form .ui-sortable-helper { opacity: .5; }

body.layout_form .layer_html_container { position: relative; }
body.layout_form .layer_html_overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 3; }
body.layout_form .layer:hover .layer_html_overlay { background: rgba(68,68,68,.8) url(../../images/layouts/drag_to_new_location.png) no-repeat 50% 50%; cursor: move; }

body.layout_form .column_lead .layer_html img { max-width: 670px; }
body.layout_form .column_large .layer_html img { max-width: 440px; }
body.layout_form .column_medium .layer_html img { max-width: 325px; }
body.layout_form .column_small .layer_html img { max-width: 210px; }
body.layout_form .column_sidebar .layer_html img { max-width: 300px; }

body.layout_form .column_lead .layer_html h6 { display: none; }

/* PALETTE */
body.layout_form .palette { margin-bottom: 5px; padding: 10px; background: #555; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
body.layout_form .palette:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
body.layout_form .palette h1,
body.layout_form .palette h2,
body.layout_form .palette h3,
body.layout_form .palette h4,
body.layout_form .palette h5,
body.layout_form .palette h6,
body.layout_form .palette p,
body.layout_form .palette ul { color: #fff; }
body.layout_form .palette h3 { position: relative; margin-bottom: 0; font-size: 12px; line-height: 18px; font-weight: bold; }
body.layout_form .palette h3 a { display: block; color: #999; }
body.layout_form .palette h3 a:hover { color: #fff; text-decoration: none; }
body.layout_form .palette h3 .ui-icon { position: absolute; display: block; top: 3px; right: 0; width: 10px; height: 10px; background: url(../../images/layouts/palette_closed.gif) 50% 50% no-repeat; }
body.layout_form .palette h3.ui-state-active .ui-icon { background-image: url(../../images/layouts/palette_open.gif); }
body.layout_form .palette h4 { margin-bottom: 5px; font-size: 12px; line-height: 18px; font-weight: bold; color: #888; }
body.layout_form .palette p { margin-bottom: 5px; font-size: 12px; line-height: 18px; }
body.layout_form .palette small { color: #999; }
body.layout_form .palette small a { color: #68a1c6; }
body.layout_form .palette .ui-state-active a { margin-bottom: 10px; color: #fff; }
body.layout_form .palette .layout_layer { margin: 0 0 5px 0; }

/* PALETTE: CONTENT TYPE */
body.layout_form #content_type_palette { padding: 3px; width:800px; background: #e3f0f8; border:1px solid #ccc; clear: both; float:right; 
  -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-box-shadow:0px 0px 1px 3px rgba(0, 0, 0, 0.5); -moz-box-shadow:0px 0px 1px 3px rgba(0, 0, 0, 0.5); box-shadow:0px 0px 1px 3px rgba(0, 0, 0, 0.5); padding:6px; border-radius:6px; height:100px; background:white; }
body.layout_form #content_type_palette .selector { float: left; }
body.layout_form #content_type_palette button { display: block; float: left; padding: 0; width: 33px; height: 33px; border: none; background: url(../../images/layouts/content_type_arrow.png) 45% 45% no-repeat; outline: hidden; text-indent: -1000px; -webkit-border-radius: 16px; -moz-border-radius: 16px; border-radius: 16px;}

body.layout_form #content_type_palette .section { background: #e3f0f8; padding:2px; min-height: 100px; border:1px dashed #c1ddef; width:auto; float:none; }
body.layout_form #content_type_palette .section .ui-state-highlight { height: 30px; color: #999; }

body.layout_form #content_type_palette .section .ui-state-highlight { float: left; margin-bottom: 1px; width: 145px; height: 28px; background: #c1ddef; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
body.layout_form #content_type_palette .section .layer { float: left; width: 145px; }
body.layout_form #content_type_palette .section .layer_controls { display: block; margin: 0 1px 1px 0; }
body.layout_form #content_type_palette .section .layer_html { display: none; }
body.layout_form #content_type_palette .section .deleted { display: none; }

body.layout_form #default_theme_selector { display: none; }
/* TOOLS: CONTENT DIALOG */

body.layout_form #content_dialog .close { border-radius:30px; width:20px; height:20px; color:#CCC; line-height:1.4; font-weight:bold; background-color:#666; position:absolute; right:20px; top:10px; display:block; -webkit-user-select:none; -moz-user-select:none; user-select:none; text-align:center; font-size:0.9em; }
body.layout_form #content_dialog .close:hover { background-color:#888; color:white; text-decoration:none; }


body.layout_form #content_dialog { height:100%; display:none; }
body.layout_form.supports_transition #content_dialog { display:block; }
body.layout_form #content_dialog .wrap { background:repeat-y url('../../images/layouts/content_dialog_background.gif'); height:100%; }
body.layout_form #content_dialog .wrap:after { content:"\0200"; display:block; visibility:hidden; clear:both; }
body.layout_form #content_dialog { -moz-transform:translateY(1000px); -moz-transition:-moz-transform 0.8s ease; }
body.layout_form #content_dialog { -webkit-transform:translateY(1000px); -webkit-transition:-webkit-transform 0.8s ease; position:fixed; top:0px; left:0px; width:100%; z-index:1; }
body.layout_form #content_dialog.active { -moz-transform:translateY(78px); }
body.layout_form #content_dialog.active { -webkit-transform:translateY(78px); }
body.layout_form #content_dialog .wrap { -moz-box-shadow:0px 0px 0px 4px rgba(0,0,0,0.5); }
body.layout_form #content_dialog .wrap { width:1030px; margin:0pt auto; padding:0; position:relative; -webkit-box-shadow:0px 0px 0px 4px rgba(0,0,0,0.5); overflow:hidden; }
body.layout_form #content_dialog .wrap .content {  }
body.layout_form #content_dialog .wrap .content .dialog { display:none; }
body.layout_form #content_dialog .wrap .content .dialog.active { display:block; }
body.layout_form #content_dialog .wrap .content .dialog.active .content_dialog_lhs { width:385px; display:block; float:left; }
body.layout_form #content_dialog .wrap .content .dialog.active .content_dialog_rhs { width:630px; display:block; float:left; }
body.layout_form #content_dialog .wrap .content .dialog .theme { padding:12px 20px; height:36px; background:no-repeat url('../../images/layouts/content_dialog_theme_background.gif'); }

#content_dialog h3 { background:#68A1C6; color:white; margin:0; margin-right:14px; padding:10px 20px; font-size:0.95em; }
#content_dialog h3 span { color:#BADBF1; }
#content_dialog h3 span:after { content:':'; color:#BADBF1; }

#content_dialog .content_dialog_lhs ul { margin:0px; padding:0px; margin-right:14px; overflow:hidden; }
#content_dialog .content_dialog_lhs li { list-style:none; padding:0px; margin:0px; }
#content_dialog .content_dialog_lhs li .form { display:none; padding:5px 20px; }
#content_dialog li .form input, #content_dialog li .form textarea { width:300px; margin-bottom:20px; }

#content_dialog .content_dialog_lhs li .fieldset { font-size:1.2em; color:#777; font-weight:bold; border-bottom:1px solid #CCC; padding:10px 20px; }
#content_dialog .content_dialog_lhs li .active + .form { display:block; }

body.layout_form #content_dialog .theme .selector select,
body.layout_form #content_dialog .theme .selector { width:320px; }
body.layout_form #content_dialog .theme .selector span { width:295px; }
body.layout_form #content_dialog .content_dialog_rhs { position:relative; }
body.layout_form #content_dialog .content_dialog_rhs div { -moz-box-shadow: inset 1px 1px 0 rgba(0,0,0,.15); }
body.layout_form #content_dialog .content_dialog_rhs div { width:400px; height:400px; margin:0pt auto; padding:10px; background:#333; border-radius:3px; -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.15); margin-top:36px; }
body.layout_form #content_dialog .content_dialog_rhs iframe { width:400px; height:400px; border-radius:6px; background:white; display:block; }

/* TOOLS: VERSIONS */
body.layout_form #versions { display: none; left: 0; margin: 0; width: 250px; height: 350px; overflow: hidden; overflow-y: auto; }
body.layout_form #versions ul .version { float: none; margin: 0 0 1px 0; padding: 10px; }
body.layout_form #versions ul .version:hover,
body.layout_form #versions ul .version.active { background-color: #444; -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.15); -moz-box-shadow: inset 1px 1px 0 rgba(0,0,0,.15); -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
body.layout_form #versions ul .version a { float: none; margin: 0; background-color: #fff; font-size: 13px; line-height: 18px; }
body.layout_form #versions ul .version a .time { display: block; font-size: 12px; color: #999; }

/* TOOLS: SITES */
body.layout_form #sites { display: none; left: 0; margin: 0; padding: 0; width: 250px; overflow: hidden; overflow-y: auto; }
body.layout_form #sites ul { padding: 20px; }
body.layout_form #sites ul .site { float: none; margin: 0 0 1px 0; padding: 10px; }
body.layout_form #sites ul .site:hover,
body.layout_form #sites ul .site.active { background-color: #444; -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.15); -moz-box-shadow: inset 1px 1px 0 rgba(0,0,0,.15); -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
body.layout_form #sites ul .site a { float: none; margin: 0; background-color: #fff; font-size: 13px; line-height: 18px; }

/* TOOLS: DOCUMENT */
body.layout_form #document { width: 300px; }
body.layout_form #document ul li { float: none; }
body.layout_form #document ul li label:hover,
body.layout_form #document ul li input:checked + label { background-color: #444; -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.15); -moz-box-shadow: inset 1px 1px 0 rgba(0,0,0,.15); -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
body.layout_form #document ul li label { float: none; display: block; margin-bottom: 1px; padding: 20px 20px 20px 70px; background-position: 10px 10px; background-repeat: no-repeat; font-size: 15px; line-height: 18px; color: #fff; cursor: pointer; }
body.layout_form #document ul li input { display: none; }
body.layout_form #document ul li label .help_text { font-size: 12px; font-weight: normal; }
body.layout_form #document .inherit label { background-image: url(../../images/layouts/layout_inherit.gif); }
body.layout_form #document .override label { background-image: url(../../images/layouts/layout_override.gif); }
body.layout_form #document .fullscreen label { background-image: url(../../images/layouts/layout_fullscreen.gif); }

/* TOOLS: HISTORY */
body.layout_form #history { display: none; position: absolute; margin: 0px; padding: 10px; width: 300px; max-height: 400px; overflow-y: auto; }
body.layout_form #history li:last-child { padding-bottom: 0; border-bottom: none; }
body.layout_form #history li { float: none; font-size: 12px; }
body.layout_form #history li.undone { opacity:0.5; }
body.layout_form #history li a { display: block; float: none; margin-bottom: 1px; padding: 3px 10px; background-color: #444; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; }
body.layout_form #history li a:hover { background: #fff; color: #777; text-decoration: none; }

/* TOOLS: ROWS */
body.layout_form #row_control { width: 100px; }
body.layout_form #row_control li { margin: 0 0 1px 0; padding: 10px; width: auto; background: none; border: none; min-height: 0; }
body.layout_form #row_control li:last-child { margin-bottom: 0; }
body.layout_form #row_control li a { display: block; float: left; margin: 0; padding: 5px; width: 70px; height: 20px; background-color: #fff; background-position: 50% 50%; background-repeat: no-repeat; overflow: hidden; text-indent: -1000px; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
body.layout_form #row_control .row_control_small_small_small a { background-image: url(../../images/layouts/row_small_small_small.gif); }
body.layout_form #row_control .row_control_medium_medium a { background-image: url(../../images/layouts/row_medium_medium.gif); }
body.layout_form #row_control .row_control_large_small a { background-image: url(../../images/layouts/row_large_small.gif); }
body.layout_form #row_control .row_control_small_large a { background-image: url(../../images/layouts/row_small_large.gif); }
body.layout_form #row_control .row_control_lead a { background-image: url(../../images/layouts/row_lead.gif); }
body.layout_form #row_control li:hover { background: #444; -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.15); -moz-box-shadow: inset 1px 1px 0 rgba(0,0,0,.15); -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }

/* MENU CONTENT */
body.layout_form .menu_content .popup_content { margin-top: 10px; padding-top: 10px; border-top: 1px solid #eee; }
body.layout_form .menu_content .popup_content h4 { margin-bottom: 5px; }
body.layout_form .menu_content .popup_content p { margin-bottom: 5px; }
body.layout_form .menu_content .popup_content .thumbnail { float: right; display: block; margin: 0 0 10px 10px; }
body.layout_form .menu_content .popup_content img { display: block; max-width: 300px; }
body.layout_form .menu_content .popup_content .video_player { display: none; }
body.layout_form .menu_content .popup_content li { border: none; }
body.layout_form .menu_content .popup_content .item { margin-bottom: 0; }
body.layout_form .menu_content .popup_content .footer { display: none; }
body.layout_form .menu_content .field_overrides_button { display: block; margin-bottom: 10px; font-size: 11px; color: #999; text-align: right; }
body.layout_form .menu_content .field_overrides { display: none; }
body.layout_form .menu_content .selector { margin-bottom: 5px; width: 295px; }
body.layout_form .menu_content .selector select { width: 295px; }
body.layout_form .menu_content .selector span { width: 265px; }
body.layout_form .menu_content label { display: block; margin: 5px 0; font-size: 13px; }
body.layout_form .menu_content input,
body.layout_form .menu_content textarea { width: 285px; }

/* SIDEBAR */
body.layout_form .row_sidebar { float: right; margin: 10px 0 0 0; padding-left: 0; width: 300px; }
body.layout_form .row_sidebar .row_tools { top: -10px; right: -33px; }
body.layout_form .row_sidebar .column_sidebar { width: 300px; min-height: 323px; background: #e3f0f8 url(../../images/layouts/drop_content_here.gif) 50% 50% no-repeat; border: 1px dashed #c1ddef; }

body.layout_form #sidebar_disabled { position: relative; float: right; margin: 10px 20px 0 0; padding-left: 0; width: 298px; min-height: 323px; background: #eee; border: 1px dashed #ccc; }
body.layout_form #sidebar_disabled button { position: absolute; top: 142px; left: 70px; padding: 10px 30px; background-color: #eee; border: 1px solid #ccc; font-size: 12px; font-weight: bold; color: #777;
  background: -webkit-gradient(linear, center top, center bottom, from(#eee), to(#ccc));
  background: -moz-linear-gradient(top center, #eee, #ccc); }

body.layout_form.preview .row_sidebar .column_sidebar { border: none; }

body.layout_form #sidebar_disabled { display: none; }
body.layout_form .row_sidebar { display: none; }
body.layout_form.sidebar_default #sidebar_disabled { display:block; }
body.layout_form.sidebar_override .row_sidebar { display:block; }

/* PREVIEW: BUTTON */
body.layout_form #taskbar ul li #preview { display:none; }
body.layout_form.previewable #taskbar ul li #preview { display:block; }

body.layout_form.preview #taskbar ul li #preview { background-color: #999; color: #fff;
  -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.4); -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }

/* PREVIEW: COLUMNS */
body.layout_form.preview .column_set { background: #fff; border-bottom: 1px solid #ddd; }
body.layout_form.preview .column_set:last-child { border-bottom: none; }
body.layout_form.preview .column { background: none; }
body.layout_form.preview .column { margin-right: 10px; padding-right: 9px; border-right: 1px solid #ddd; }
body.layout_form.preview .column:last-child { margin-right: 0; padding-right: 0; border-right: none; }

/* PREVIEW: LAYERS */
body.layout_form.preview .layer .layer_html { display: block; }
body.layout_form.preview .layer .layer_controls { display: none; }

/* PREVIEW CONTAINER */
body.layout_form #preview_container { display:none; }
body.layout_form.previewable #preview_container { display:block; position:absolute; top:0px; left:0px; z-index:2; width:100%; height:1000px; }

body.layout_form.preview_webkit #preview_container { visibility:hidden; }
body.layout_form.preview_webkit #preview_container { -webkit-transform:translateY(-1000px) rotateX(180deg); }
body.layout_form.preview_webkit #preview_container iframe { position:absolute; top:0px; left:0px; z-index:2; }
body.layout_form.preview_webkit.preview #preview_container { visibility:visible; }

body.layout_form.preview_gecko #preview_container { -moz-transform:translateY(-1000px); }
body.layout_form.preview_gecko #preview_container iframe { display:none; position:absolute; top:0px; left:0px; z-index:2; }
body.layout_form.preview_gecko.preview #preview_container iframe { display:block; }
body.layout_form.preview .column:empty { height:100px; outline:1px dashed #e3f0f8; }

/* DETAIL: ROWS */
body.layout_detail .row { position: relative; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #ddd; }
body.layout_detail .row:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
body.layout_detail .row:last-child { margin-bottom: 0; border-bottom: none; }

/* DETAIL: COLUMNS */
body.layout_detail .column { float: left; width: 95px; min-height: 50px; margin-right: 10px; padding-right: 9px; border-right: 1px solid #ddd; }
body.layout_detail .column:last-child { margin-right: 0; padding-right: 0; border-right: none; }
body.layout_detail .column_lead { width: 670px; margin-right: 0; }
body.layout_detail .column_large { width: 440px; }
body.layout_detail .column_medium { width: 325px; }
body.layout_detail .column_small { width: 210px; }

/* DETAIL: LAYERS */
body.layout_detail .content_title p { margin-right: 320px; color: #999; }

body.layout_detail .item h6 { font-size: 11px; text-transform: uppercase; color: #39b44a; }
body.layout_detail .item .thumbnail { float: right; margin: 0 0 10px 10px; }
body.layout_detail .item .caption { font-size: 12px; line-height: 16px; color: #777; }
body.layout_detail .video_player_thumbnail { display: none; }

/* NOTE: These need to be ordered from largest to smallest */
body.layout_detail .column_lead img { max-width: 670px; }
body.layout_detail .column_large img { max-width: 440px; }
body.layout_detail .column_medium img { max-width: 325px; }
body.layout_detail .column_small img { max-width: 210px; }

body.layout_detail .column_lead .item h6 { display: none; }

body.layout_detail .column .layout_intro { margin-bottom: 20px; }
body.layout_detail .column .layout_intro h4 { margin-bottom: 5px; }
body.layout_detail .column .layout_intro p { color: #777; }

/* DETAIL: SIDEBAR */
body.layout_detail .sidebar .column { width: 300px; }
body.layout_detail .sidebar .column img { max-width: 300px; }

/* LIST */
body.layout_list .fragment { margin-right: 5px; padding: 0 5px; background: #efef88; font-size: 11px; text-transform: uppercase; color: #939354; }

/* Modal stuff -- does not belong here */
.modal_background { position: fixed; top: 0px; display: none; left: 0px; width: 100%; height: 100%; background: rgba(20,20,20,.5); z-index: 999; }
.modal_container { position: absolute; display: none; padding: 15px; background: #fff; z-index: 999; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px;
  -webkit-box-shadow: rgba(0,0,0,.3) 0px 1px 5px; -moz-box-shadow: rgba(0,0,0,.3) 0px 1px 5px; }
.modal_open .modal_background,
.modal_open .modal_container { display:block; }

.modal_container { left: 20px; top: 80px; right: 20px; }
.modal_container iframe { width: 100%; height: 500px; overflow: auto; }
.modal_container iframe .object-tools { display: none; }


.section_label { display:block; width:100%; }

.item_media_photo img { display: block; margin-bottom: 10px; }
.item_media_photo .caption { color: #777; }

.layout_supplement_admin { display:none; }

.layout_supplement_admin input,
.layout_supplement_admin a { display:inline-block; border:1px solid #3D7CB1; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; width:48%; padding:7px; text-align:center; line-height:15px; font-size:14px; 
    background:-webkit-gradient(linear, 50% 0%, 50% 100%, from(#86BCD6), to(#4B87B6));
    color:white;
    cursor:pointer;
}

.layout_supplement_admin input.create { width:100%; }

/* remove this once filters is in place. */
#add_list { display:none !important; }
