/*
	cjt-block is just a new added class so don't confuse about it
	sometimes we need to use it instead of postbox class
	like affecting only block box while running as Metabox inside edit post page!
*/

b, strong {
    color: #8c8c8c;
}

.cjt-block {min-width: 730px;}

.waitingToLoad{display: none !important;}

/* colors */
.postbox.cjt-block a,
.postbox.cjt-block a:hover,
.postbox.cjt-block a:visited {text-decoration: none;}

.postbox.cjt-block a,
.postbox.cjt-block a:visited {color: #a0a0a0 !important;}

.postbox.cjt-block a.active {color: #005DA4 !important;}

.postbox.cjt-block a:hover {color:  #628ead !important;}

.hooks-dropdown .hooks-dropdown-list {background-color: white;}

.inside {
    color: #7c7c7c;
}

.cjt-info-bar>span>span,
.cjt-info-bar>span>strong,
.cjt-info-bar>span>input,
.cjt-info-bar {
    color: #9c9c9c !important;
}

input[type="text"].block-name {
    border-color: #cccccc;
}

.postbox.cjt-block .cjt-info-bar a, .postbox.cjt-block .cjt-toolbox.cjt-info-bar .icons-group a:hover{color:  #005DA4 !important;}

.postbox.cjt-block .cjt-toolbox .icons-group .popup-menu a {color: #7c7c7c !important;}

/* colors */

.cjpageblock {height: 100%; position: absolute; right: 3px; margin-top: 10px;}

#cjtoolbox-admin {font-size: 12px !important;}
#cjtoolbox-admin div.postbox {
	display:none;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border-color: #cccccc;
}
/* Use 6px radius instead of 3px */
#cjtoolbox-admin .postbox .hndle {
	-moz-border-top-left-radius: 6px;
	-moz-border-top-right-radius: 6px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	border-bottom-color: #bbb;
	font-size: 12px;
	display: block;
}
#cjtoolbox-admin #poststuff h3, .metabox-holder h3 {padding: 8px 10px;}
/* Editor langauges list */
.editor-langs {
	position: absolute;
	/*z-index: 2;*/
	width: 150px;
	overflow: hidden;
	margin-top: -2px;
	/* Border */
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	border-right-style: solid;
	border-right-width: 1px;
	border-color: inactiveborder;
}
.editor-langs select {
	height: 70px;
	width: 114px;
}
/** Toolbox **/
.block-toolbox {
    height: 30px;
    position: absolute;
    right: 39px;
    top: 5px;
}
.cjt-info-bar.cjt-info-bar-top.cjt-toolbox.block-toolbox .icons-group>div,
.cjt-info-bar.cjt-info-bar-top.cjt-toolbox.block-toolbox .icons-group>span {
    display: inline-block;
    margin-right: 17px;
}
.cjt-toolbox.edit-block-toolbox {
    display: inline-block;
    margin-left: 17px;
    margin-top: -9px;
    position: relative;
    top: 9px;
}
.block-toolbox .icons-group {
	display: inline-block;
}
/* Push all icons by 1 pixel down  Put not  the info icon */
.block-toolbox .icons-group.big-bar .cjt-tb-link{margin-right: 15px;}
.block-toolbox .icons-group.big-bar .cjttbl-info{position: static;}
.block-info .cjt-block-shortcode-text input {
	background: transparent;
    border: 0;
    box-shadow: none;
    width: 200px;
}
.block-info h4{
    margin: 0 !important;
}
.block-info ul {
    margin: 0;
}
.block-info ul.assignment-list {
    margin: 6px 0 14px 8px;
}

.block-toolbox .icons-group a.cjt-tb-link {
	width: 24px;
	height: 24px;
	display: inline-block;
	margin-top: 3px;
	cursor: pointer;
}
.block-toolbox .icons-group a.il-60x23 {
	width: 60px;
	height: 23px;
}
.cjt-toolbox .icons-group .popup-menu.templates-lookup { /* Override default for Templates Lookup*/
	border: 1px solid #ccc;
	width: auto;
	height: 357px;
	left: 140px;
	top: 31px;
	margin-top: 2px;
	margin-left: 1px;
}
/** Toolbox buttons **/

/* Editor languages classes */
.cjt-toolbox.editor-langs-toolbox {
    display: inline-block;
}
.cjt-toolbox.block-toolbox .cjt-tb-link.cjt-tb-text-link {
    display: inline-block;
    width: auto;
    height: auto;
    margin-top: 11px;
    padding: 4px 4px 4px 0;
    margin: 2px 0 0 0px;
}

.cjt-toolbox.block-toolbox .popup-menu.templates  {
    width: 185px;
    margin-left: -70px;
}

.cjt-toolbox.block-toolbox .templates .cjt-tb-link.cjt-tb-text-link{
    width: auto !important;
    padding: 10px !important;
    margin: 0;
}

.editor-langs-toolbox a.cjttbl-switch-editor-language{padding-left: 0 !important;}

.cjt-info-bar .block-editor-lang {display: inline-block;}
.cjt-info-bar .block-editor-lang>span {}
.cjt-info-bar .block-editor-lang .cjt-toolbox.editor-langs-toolbox {}

.editor-langs-toolbox a.cjttbl-editor-language-css { background: url(../images/toolbox/editor-languages/css.png); }
.editor-langs-toolbox a.cjttbl-editor-language-html { background: url(../images/toolbox/editor-languages/html.png); }
.editor-langs-toolbox a.cjttbl-editor-language-javascript { background: url(../images/toolbox/editor-languages/javascript.png); }
.editor-langs-toolbox a.cjttbl-editor-language-php { background: url(../images/toolbox/editor-languages/php.png); }

/* Other buttons */
.flagged-actions-toolbox a.state-active { background: url(../images/toolbox/active.png); }
.flagged-actions-toolbox a.state-inactive { background-image: url(../images/toolbox/inactive.png); }
.edit-block-toolbox a.cjttbl-save {
	background: url(../images/toolbox/save.gif);
	background-position: left top !important;
	text-decoration: none;
	padding-left: 23px;
	padding-top: 5px;
	position: relative;
	top: -7px;
	width: 37px !important;
	height: 18px !important;
}
/* Restore revision toolbox buttons. */
.edit-block-toolbox a.cjttblSW-restore {
	background: url(../images/toolbox/restore.png);
	width: 50px !important;
	animation: blink-animation 1s steps(5, start) infinite;
}
@keyframes blink-animation {
	to {
	  visibility: hidden;
	}
  }
  @-webkit-keyframes blink-animation {
	to {
	  visibility: hidden;
	}
  }
.edit-block-toolbox a.cjttbl-cancel-restore {
	background: url(../images/toolbox/cancel-restore.png);
	background-position: left top !important;
	text-decoration: none;
	padding-left: 23px;
	padding-top: 5px;
	position: relative;
	top: -7px;
	width: 45px !important;
	height: 18px !important;
	margin-right: 10px !important;
}

.edit-block-toolbox a.cjttblSW-restore,
.edit-block-toolbox a.cjttbl-cancel-restore
{
    width: 100px !important;
    text-align: center;
    padding-left: 0;
    padding-top: 4px;
    height: 20px !important;
}

.edit-block-toolbox a.cjttbl-save.cjttbs-loading {
	top: 0px;
	background-position: center center;
}

.block-toolbox span.bad-location-specified {
    padding: 6px;
    border: 1px solid red;
}
.block-toolbox a.bad-location-specified {
    background-color: red;
}

.edit-block-toolbox a.cjttbl-save.cjttbs-disabled {background: url(../images/toolbox/save-inactive.png); }

.edit-block-toolbox a.cjttbl-delete {
    background-image: url(../images/toolbox/delete.png);
    position: relative;
    left: 10px;
    top: -1px;
}
.flagged-actions-toolbox a.cjttbl-location-switch { background-image: url(../images/toolbox/hook.png); width: 48px !important;}
.block-toolbox a.cjttbl-get-shortcode { background-image: url(../images/toolbox/shortcode.png); }
.block-toolbox a.cjttbl-edit-name { background-image: url(../images/toolbox/edit-name.png); }
.block-toolbox a.cjttbl-info { background-image: url(../images/toolbox/info.png); }

/** Editor Toolbox */
.cjt-toolbox.editor-toolbox {
	position: relative;
	float: right;
	width: 40px;
	height: 350px;
	top: 5px;
	margin-left: 10px;
	display: none;
}
.cjt-toolbox.editor-toolbox.cjt-promo-disabled {
	display: block;
}

.cjt-toolbox.flagged-actions-toolbox {
    display: inline-block;
    float: left;
    margin-top: -5px;
    position: relative;
    top: 5px;
}

.loading-block{
	font-weight: bold;
	font-size: 13px;
	color: #005da4;
    border-style: solid;
    border-width: 1px;
}
/* Edit Block Name */

input[type="text"].block-name {
    margin-left: 18px;
}
/* Edit Block name */

.cjcontainer {/*min-width:700px;*/}
.datablock {padding-top: 14px;}
.datablock .code-editor { position: relative; width:auto; height:352px; }
.cjt-info-bar {
    font-size: 11px;
    margin-top: 6px;
}
.cjt-info-bar>*:not(:last-child) {
	margin-right: 20px;
}
.cjt-info-bar>span>span {
    line-height: 19px;
}
.cjt-info-bar .block-shortcode input[type="text"] {
    border: none;
    background-color: transparent;
    width: 156px;
    font: inherit;
    margin-top: -4px;
    padding: 0;
}

 a.button-secondary { float:left; }
.linklist textarea { width:245px; font-size:11px; height:190px; }
.cjtitle { float:left; width:245px; }
.cssblock select { width:150px; }
.jsblock select { width:155px; }
.cjbutton { width:116px; height:24px; float:left; }
.cjbutton a { height:24px; width:24px; text-indent:-999em; display:block; float:left; }
.cjexample { clear:left; float:left; padding:5px 0 0; }

/** Editor Full Screen mode */
body.fullscreen {overflow: hidden;} /** No scroll-bars */
body.fullscreen #wpadminbar {display: none;} /** No admin menu */
.postbox.fullscreen {
	position: fixed;
	z-index: 9990;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}
.postbox.fullscreen .inside {padding: 0 !important;margin: 0 !important;}
.postbox.fullscreen .inside,
.postbox.fullscreen .cjcontainer,
.postbox.fullscreen .cjcontainer .cjcodeblock,
.postbox.fullscreen .cjcontainer .datablock,
.postbox.fullscreen .cjcontainer .code-editor {height: 100%;}
.postbox.fullscreen .cjcontainer .datablock {padding-top: 0;}
.postbox.fullscreen .cjcontainer .cjcodeblock {margin-right:328px;}
/* Lookup form */
.postbox.fullscreen .cjt-toolbox .icons-group .popup-menu.templates-lookup ,
.popup-menu {z-index: 32 !important;}

.ace_status-indicator {
	position: relative;
	left: 2px;
	top: 5px;
	/* z-index: 168; */
}

#cjt-inline-popup {display: none;}

#cjtoolbox > div.inside > div.cjcontainer > div > div.ace-statusbar {
	float: right;
	position: absolute;
	top: -10px;
	margin-left: 7px;
	font-weight: bold;
	font-size: 14px;
}

.ace_closeButton {
	top: 35px;
	left: 6px;
	width: 62px;
	height: 62px;
}

div[contains=setMode],
div[contains=setOptions],
div[contains=setMode],
div[contains=setTheme]
{display: none}

.cjt-block button[class^=handle-order] {
	display: none;
}

/* Hooks Dropdown */
.hooks-dropdown {
    width: 140px;
}

.hooks-dropdown .hooks-dropdown-list {
    width: 100%;
    z-index: 5;
    margin: 0;
}

.hooks-dropdown .hooks-dropdown-list li {
    margin: 0 !important;
    padding: 0 !important;
}

.hooks-dropdown .hooks-dropdown-list li.selected a{
    font-weight: bold;
}

.hooks-dropdown .hooks-dropdown-list li a,
.hooks-dropdown .hooks-dropdown-list li a:visited
{
    display: inline-block;
    width: 84%;
    padding: 10px;
}

.hooks-dropdown .hooks-dropdown-list li a:hover {

}
/* Hooks Dropdown - end */

.cjt-panel-item.cjt-panel-window-templates-lookup {
    height: 380px;
    position: relative;
    top: 24px;
}

.cjt-panel-item .panel-actions {
    text-align: right;
    padding-right: 18px;
    margin-bottom: 6px;
}

.cjpageblock .close-panel-window {
    display: none;
    position: absolute;
    right: 0px;
    padding: 6px;
    text-decoration: underline !important;
}

.cjpageblock .cjt-panel-item>div {
    height: 93%;
    overflow: auto;
    width: 100%;
}

.postbox.cjt-block .cjt-info-bar a {
    font-weight: bold;
}

.cjpageblock .cjt-panel-item.cjt-panel-genericwnd {
    height: 357px;
    margin-top: 26px;
    padding: 2px 10px 10px 11px;
}

.cjt-info-bar>span>span,
.cjt-info-bar>span>strong,
.cjt-info-bar>span>input {
    font-family: Helvetica !important;
}

.cjt-info-bar .cjt-toolbox .icons-group>*>a,
.cjt-info-bar .cjt-toolbox .icons-group>*>a:visited,

.cjt-info-bar .cjt-toolbox .icons-group>*>span>a,
.cjt-info-bar .cjt-toolbox .icons-group>*>span>a:visited,

.cjt-info-bar .cjt-toolbox .icons-group>*>strong>a,
.cjt-info-bar .cjt-toolbox .icons-group>*>strong>a:visited,
.cjt-info-bar.cjt-info-bar-bottom a,
.cjt-info-bar.cjt-info-bar-bottom a:visited {
    color: #005DA4 !important;
    text-decoration: underline;
}

.postbox.cjt-block .cjt-toolbox .icons-group .popup-menu.editor-langs a.cjt-tb-link.cjt-tb-text-link {
    padding: 14px 14px 10px 35px;
    background-position-y: 9px;
}

#block-revisions-form ul{
    margin-top: 0px;
}

.postbox.cjt-block form#block-revisions-form a,
.postbox.cjt-block form#block-revisions-form a:visited {
    font-size: 12px;
    color: #005Da4 !important;
}

.postbox.cjt-block form#block-revisions-form a:hover {
    color: #628ead !important;
}

.postbox.cjt-block .cjt-toolbox .icons-group li.cjt-promo-disabled a {
	color: #cccccc !important;
	cursor: help;
}
.postbox.cjt-block .cjt-toolbox .icons-group li.cjt-promo-disabled a:hover {
	color: #cccccc !important;
}

.cjt-toolbox.block-toolbox .cjt-promo-disabled .cjt-tb-link.cjt-tb-text-link {
	color: #cccccc !important;
	cursor: help;
}
.postbox.cjt-block .cjt-toolbox.cjt-info-bar .icons-group .cjt-promo-disabled a:hover {
	color: #cccccc !important;
}