/* なるべく!importantを使わず、優先度で上書きするようにすること。!importantには!importantで上書きする。 */
/* 無効なメニューはopacity:0.2 */
/* common/ */

/*abbr, address, article, aside, audio,
b, blockquote, body,
canvas, caption, cite, code,
dd, del, details, dfn, div, dl, dt,
em, fieldset, figcaption, figure, footer, form,
h1, h2, h3, h4, h5, h6, header, hgroup, html,
i, iframe, img, ins,
kbd, label, legend, li,
mark, menu,
nav, object, ol,
p, pre,
q, samp, section, small, span, strong, sub, summary, sup,
table, tbody, td, tfoot, th, thead, time, tr,
ul, var, video { font-size:16px; line-height:1.5; }*/
/*#container a, #container a:link, #container a:link:visited, #container a:visited,
body #container .breadcrumbs a { color:#05d; }
#container a:active, #container a:hover, #container a:active:link, #container a:hover:link { color:#05d !important; }*/

.jsm7admin .sp { display:none; }
.jsm7admin .module thead th, .module tfoot td { background:none; }

/* SIDEBAR */
.jsm7admin #content-related h3 { font-size:1.0rem; margin:0 0 0.5rem; padding:0; }
.jsm7admin #content-related h4 { font-size:1.0rem; }
.jsm7admin .description,
.jsm7admin .timezonewarning,
.jsm7admin p { font-size:1.0rem !important; }

/*---- footer ----*/
.jsm7admin .f_global { width:100%; background:#fff; margin:0px; padding:0px; border-top:1px solid #ccc; zoom:1; position:fixed; bottom:0px; text-align:right; font-size:12px; opacity:0.8; filter:alpha(opacity = 80); -ms-filter:"alpha(opacity=80)"; -moz-opacity:0.8; -khtml-opacity:0.8; }
.jsm7admin .f_global .copyright { float:right; padding:12px 15px 10px 15px; }
.jsm7admin .f_global .pagetop { float:right; display:block; text-indent:9999px; margin:8px 15px 8px 0px; width:20px; height:20px; background:url(../img/nav_logo.png) no-repeat -250px -5px; }


/* /common */

/* cms.toolbar.logo */
.cms ul { overflow:visible; }
.cms-icon-logo::before, 
div.cms .cms-toolbar-item-logo a::before { content:none; }
div.cms .cms-toolbar-item-logo a > span { display:inline; }
div.cms .cms-toolbar-item-logo a span { display:inline; }
/* #cms_toolbar .cms_toolbar-item-logo a { background:none; text-indent:0em; } */
/* #cms_toolbar .cms_toolbar-item-logo .icon-jsm7 { display:block; margin:0; color:#fff; font-size:1.6em; } */
div.cms .cms-toolbar-item-buttons .jsm7_pagestatus_button { font-weight: bold; font-size: 1em; }

/* page tree/ */
.cms-pagetree-header-search .cms-pagetree-header-search-btn { background: linear-gradient(#7b4, #5a1) !important; }
.cms-pagetree-wrapper .cms-btn-action { background: linear-gradient(#7b4, #5a1) !important; }
.cms-pagetree-wrapper .cms-btn-action.focus,
.cms-pagetree-wrapper .cms-btn-action:focus,
.cms-pagetree-wrapper .cms-btn-action:hover { background: linear-gradient(#491, #284) !important; }
.cms-pagetree-container .jstree-django-cms .jstree-anchor { background-image:url("../img/pagetree/tree-li-drag.gif"); background-position:1px -40%; }
.cms-pagetree-container .cms-pagetree-node-state-dirty,
.cms-pagetree-node-state.cms-pagetree-node-state-dirty { background:none; border-top:none; border-left:8px solid transparent; border-right:8px solid transparent; border-bottom:16px solid #0bf; border-radius:0; }
.cms-pagetree-container .cms-pagetree-node-state-unpublished,
.cms-pagetree-node-state.cms-pagetree-node-state-unpublished { border:none; border-radius:0; }
.cms-pagetree-container .cms-pagetree-node-state-unpublished-parent { border:none; border-radius:0; background-color:#ffde5c; }
/* .cms-pagetree-container .cms-pagetree-node-state-unpublished-parent { width:0 !important; height:0 !important; background:none; border:10px solid transparent; border-bottom-color:#ffde5c; position:relative; top:-10px; border-radius:0; }
.cms-pagetree-container .cms-pagetree-node-state-unpublished-parent:after { content:''; position:absolute; left:-10px; top:10px; width:0; height:0; border:10px solid transparent; border-top-color:#ffde5c; } */

.icon-hourglass { position:absolute; bottom:0; }
.expired { color:#d00; }
.yet { color:#b3b3b3; }
/* .unpublished { border-radius:0; }
.unpublishedparent { width:0 !important; height:0 !important; background:none; border:10px solid transparent; border-bottom-color:#ffde5c; position:relative; top:-10px; border-radius:0; }
.unpublishedparent:after { content:''; position:absolute; left:-10px; top:10px; width:0; height:0; border:10px solid transparent; border-top-color:#ffde5c; }
 *//* /page tree */


/* admin/ */

.jsm7admin #container #header { background-color:#333; }
.jsm7admin #header #header-logo a { color:#fff; }
.jsm7admin #header #header-logo a:hover, #header #header-logo a:active { color:#fff !important; }
.jsm7admin #header #site-name { display:none; }
.jsm7admin #header .side { float:right; width:auto; position:relative; z-index:300; background:#333; }
.jsm7admin #header .toolbar-item-navigation { position:relative; } /* .toolbar-item-navigation == .side ul */
.jsm7admin #header .toolbar-item-navigation li a { color:#ddd; }
.jsm7admin #header .toolbar-item-navigation li a:hover { color:#ddd !important; }
.jsm7admin #header .toolbar-item-navigation li > span { float:left; color:#000; font-size:14px; line-height:46px; list-style-type:none; height:46px; padding:0 10px; cursor:default; }
.jsm7admin #header .toolbar-item-navigation li ul { background:#181818; border-color:#181818; }
.jsm7admin #header .side li { float:right; position:relative; }
.jsm7admin #header .side li > a,
.jsm7admin #header .side li > span { display:inline-block; border-left:1px dotted #555; text-decoration:none; color:#ddd; }
.jsm7admin #header .side li a:hover,
.jsm7admin #header .side li:hover { background-color:#181818; color:#fc0; }
.jsm7admin #header .side li .jsm7-font { margin-right:5px; color:#ddd; }
.jsm7admin #header .side .sub { display:none; position:absolute; left:0; top:46px; z-index:5000; }
.jsm7admin #header .side .sub li { float:left; width:12em; background:#181818; zoom:1; border-top:1px dotted #555; line-height:1.5; }
.jsm7admin #header .side .sub li a { display:block; background:#181818; color:#eee; zoom:1; padding:5px 10px; }
.jsm7admin #header .side .sub li a:hover { background-color:#000; color:#fc0; text-decoration:underline; }
.jsm7admin #header .side .dd { padding:0px 15px 0px 0px; background:url(../img/nav_logo.png) no-repeat right 0.5em; }
.jsm7admin #header .side .sub .sub-dd { position:relative; }
.jsm7admin #header .side .sub .sub-dd > a { background:url("../../cms/img/toolbar/sprite_toolbar.png") no-repeat -5px -295px; }
.jsm7admin #header .side .sub .sub-dd .sub-sub { display:none; position:absolute; top:-1px; left:100%; }

.jsm7admin .button_box form { padding:0; box-shadow:none; margin:0; }

.jsm7admin .change-list #changelist table tbody td, .change-list #changelist table tbody th.field-message { white-space:wrap; }
 
/* /admin */

/* login/ */
.login .side { display:none; }
.login form { box-shadow:none; }
/* /login */

/* editor */
.djangocms_text_ckeditor-text .form-row .errorlist label { display: inline !important; }

/* filer */
.filebrowser .navigator-table .column-action span.action-button { opacity:0.2; cursor:not-allowed; }

/* site specified */
.cms-ready h2.hero { display:block; }
.cms-ready header { top:46px !important; }

@media screen and (max-width : 768px){
    .sp { display:block; }
    .sp_off { display:none; }
    
/* admin/ */
    .jsm7admin #header-btn .jsm7-font { font-size:2.0em; color:#ddd; }
    .jsm7admin #header .side { display:none; float:none; position:absolute; left:0px; top:46px; width:100%;  }
    .jsm7admin #header .side li { width:100%; }
    .jsm7admin #header .toolbar-item-navigation li ul { width:100%; position:static; }
    .jsm7admin #header .side .sub li { width:100%; }
    .jsm7admin #header .side .sub .sub-dd .sub-sub { position:static; left:100%; }
    .jsm7admin #header .toolbar-item-navigation li ul li ul li a { padding-left:2.0em !important; } /* == .side .sub-sub li a */
    .jsm7admin #header .toolbar-item-navigation .dd > a:after,
    .jsm7admin #header .toolbar-item-navigation .dd > span:after,
    .jsm7admin #header .toolbar-item-navigation .sub-dd > a:after { content:"+"; position:absolute; top:0; right:0; display:block; padding-right:0; }
/* /admin */


/* page tree/ */
    /* .cms-pagetree-container .jstree-django-cms .jstree-anchor { overflow:hidden; } /* TODO: 長いタイトル対策が必要 */ */

/* /page tree */

}

/* 印刷時に非表示のインデックスとツールバーを消す */
@media print {
  .noprint { display:none; }
  #cms-top { display:none; }
  header_navi.logout { display:none; }
  html {margin-top: 0px !important; }
}
