/* These are used in both admin and the site itself */

/* WP Overrides */

body.login #backtoblog {
    display: none;
}

#adminbarsearch-wrap { display: none }
#wpadminbar .ab-top-menu>li>.ab-item:focus { 
    /*color: inherit !important;*/
    background-color: inherit !important;
    background-image: inherit !important;
}
.row-actions {visibility: visible}

/* Global */

.mxItalic{
    font-style: italic;
}

em {
    font-style: italic;
}

blockquote {
    margin-left: 40px; 
}

.clear{
    clear: both !important;
    float: none !important;
}

.ultra-clear{
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
}

.left{
    float: left;
}

.right{
    float: right;
}

/* Blogs */ 
.mx-rss-item img {
    border: 1px solid #CCCCCC;
    padding: 10px;
}

.mx-rss-item img[style*="float: left;"] {
    margin: 0 15px 10px 0;
}
.mx-rss-item img[style*="float: right;"] {
    margin: 0 0 10px 15px;
}

/* Dialogs */

div.mxDialog{
    background-color: white;
    display: none;
    border: 1px solid #333;
    position: fixed;
    top: 130px;
    width: 40%;
    left: 30%;
    padding: 12px;
    color: black;
    -moz-border-radius: 6px;
    border-radius: 6px;
    z-index: 99999;
}

div.mxDialog h2 {
    color: black;
    font-weight: normal;
    margin: 0px;
    padding-top: 0px;
    font-size: 18px;
}

div.mxDialog div.mxContent{
    margin-top: 8px;
    margin-bottom: 8px;
}

div.mxDialog a.mxCloseDialog{
    float: right;
    color: #21759B;
    text-decoration: none;
}

div.mxDialog a.mxCloseDialog:hover{
    color: #D54E21;
    text-decoration: underline;
}

div.mxDialog div.mxDialogButtonWrapper{
    text-align: right;
}

div.mxDialog div.mxDialogButtonWrapper a{
    margin: 2px 9px;
    width: 62px;
    color: #21759B;
    text-decoration: none;
}

div.mxDialog div.mxDialogButtonWrapper a:hover{
    color: #D54E21;
    text-decoration: underline;
}

/* Image Resize & Gallery Styles */

div.mxImageResizeWrapper {
    width: 100%;
    height: 100%;
}

div.mxImageResizeWrapper div {
    margin-left: auto;
    margin-right: auto;
}
div.mxImageLoading {
    background: url(../images/loader.gif) center center no-repeat transparent;
}
div.mxImageLoading img {
    visibility: hidden;
}
div.mxImageLoading img.mxImageFadingIn {
    visibility: visible;
}

div.mxImageResizeWrapper ul {
    visibility: hidden;
}

/* Our version of WP's admin style buttons
 * Here becuase we use it on the front of the site
*/

.mx-button-primary {
  background: url("/wp-admin/images/button-grad.png") repeat-x scroll left top #21759B;
  border-color: #298CBA;
  color: #FFFFFF;
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
  -moz-border-radius: 11px 11px 11px 11px;
    -moz-box-sizing: content-box;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    font-size: 11px !important;
    line-height: 13px;
    padding: 3px 8px;
    text-decoration: none;
}
.mx-button-primary:hover {
    text-decoration: none;
    border-color: #13455B;
    color: #EAF2FA;
}
.mx-button-secondary{
    text-decoration: none;
    font-size: 11px !important;
    line-height: 13px;
    padding: 3px 8px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -moz-border-radius: 11px;
    -khtml-border-radius: 11px;
    -webkit-border-radius: 11px;
    border-radius: 11px;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -khtml-box-sizing: content-box;
    box-sizing: content-box;
    border-color: #bbb;
    color: #464646;
    text-shadow: rgba(255,255,255,1) 0 1px 0;
}

.mx-button-secondary:hover {
    text-decoration: none;
    color: #000;
    border-color: #666;
}

.mx-button-secondary[disabled],
.mx-button-secondary:disabled {
    color: #aaa !important;
    border-color: #ddd !important;
}

a.mx-button-secondary {
    line-height: 15px;
    padding: 3px 10px;
    white-space: nowrap;
    -webkit-border-radius: 10px;
}

.mx-permanent-hide {
    display: none;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect();
}

/*

div.error{
    border: 1px solid red;
    background-color: #eee;
    padding: 12px;
}

*/

.mxPlaceholder{
    color: #999;
}

/* Galleryview fix for IE8 */
.gv-panel * {
    filter: inherit;
}

/* Width overflow for div.pageContent */
div.pageContent div#mxWordpressRender {
	overflow-x: hidden;
}

iframe.cma_report {
    border:none;
    width:680px;
    height: 1000px;
}

#alertbar {
	direction: ltr;
	background-color: #FDF2AB;
	color: #ddd;
	font: normal 13px Arial, Helvetica, sans-serif;
	height: 28px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99999;
	min-width: 960px;
	text-align: center;
}

#alertbar_inner {
	margin-left: auto;
	margin-right: auto;
	width: 1024px;
	margin-top: 4px;
}

#alertbar .browser-upgrade-msg {
	height: 18px;
	line-height: 18px;
	margin: 0;
	padding: 2px 0;
	position: relative;
	z-index: 99999;
	color: #000;
}

#alertbar .browser-upgrade-button {
	height: 18px;
	line-height: 18px;
	display: inline;
	margin: 0 0 0 10px;
	padding: 2px 10px;
	position: relative;
	z-index: 99999;
	background: #3300FF; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3333FF', endColorstr='#3300CC'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#3333FF), to(#3300CC)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #3333FF,  #3300CC); /* for firefox 3.6+ */
	-moz-border-radius: 5px;
	border-radius: 5px;
    color: #FFFFFF;
	font-size: 12px;
	width: 60px;
	text-align: center;
	cursor: pointer;	
}

#alertbar a.close_msg_text {
	color: #000;
	font: normal 13px Arial, Helvetica, sans-serif;
    float: right;	
}

body.js-enabled #nojs-message-container {
	display: none;
}

#nojs-message-container {
	position: fixed; 
	width:100%;
	left: 0;
	top: 200px;
	z-index: 99999;
	text-align: center; 	
}

#nojs-message {
	background-color: #FFF;
	color: #000;
	font: bold 24px Arial, Helvetica, sans-serif;
	width: 1000px;
	z-index: 99999;
	border: 2px solid #000;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin: auto;
	padding: 12px;
}

/* ckeditor */
.cke_button__vvqyoutube_icon, .cke_button__mximagebutton_icon, .cke_button__wpmore_icon {
    background-size: 100% 100% !important;
}