/*table { margin-left:auto; margin-right:auto; }*/



/*
 * e107 v0.800 - new class definitions
 */
 
/* Core Formatting */
.left { text-align: left }
.right { text-align: right }
.center { text-align: center }
.justify { text-align: justify }
.f-left { float: left }
.f-right { float: right }
.top 			{ vertical-align: top }
.middle 		{ vertical-align: middle }
.bottom 		{ vertical-align: bottom }
.clear 			{ clear: both }
.clear-l 		{ clear: right }
.clear-r 		{ clear: left }

i.icon-download	{ font-size:200%;  }


.e-footer-info	{ margin-top:10px; padding:20px; text-align: center }

td.text-center	{ text-align:center; }

/* Core Icons */
.icon 			{ border: 0px; display: inline-block; margin-right: .3em;}
.icon.action 	{ vertical-align: middle }
.S16 			{ width: 16px; height: 16px }
.S32 			{ width: 32px; height: 32px }
.S64 			{ width: 64px; height: 64px }
.S128 			{ width: 128px; height: 128px }

/* Decorate JS - see core/decorate.js */
.odd 			{  }
.even 			{ background-color: #F5F5F5 }
.first, .last 	{  }
.e-list 		{ /* core selector - can be used per theme (JS) to decorate list blocks */ }

/* e107 Tabs - see core/tabs.js */
ul.e-tabs { list-style-type: none; }
ul.e-tabs li { display: inline; margin: 0px; border: 0 none; background-color: transparent; }
ul.e-tabs li a { text-decoration: none; padding: 5px; }
ul.e-tabs li a:link,
ul.e-tabs li a:visited { border: 1px solid #C0C0C0; }
ul.e-tabs li a:hover,
ul.e-tabs li.active a:link,
ul.e-tabs li.active a:visited  { background-color: #EEEEEE; border: 1px solid #808080; }

/* Page Loading Status default style */
#loading-mask { color: #556B2F; font-size: 1.2em; font-weight:bold; position:absolute; text-align: center; padding: 0; margin: 0; background-color: transparent; }
#loading-mask .loader { position: fixed; top: 40%; left: 50%; width: 200px;  text-align: center; background: #F0F9E3 none repeat scroll 0 0; border: 2px solid #556B2F; font-weight: bold; padding: 10px 5px; margin-left: -100px; margin-top: 0; }
#loading-mask img { margin: 10px auto; }

/* Element Loading Status default style */
.element-loading-mask { background-repeat: no-repeat; background-position: 50% 50%; background-color: #f5f5f5; }


/* Debug Console - this will be moved to debug.css */
#e-debug-console-cont { position: fixed; top: 0px; left: 5px; margin: 0px; padding: 0px; width: 600px; border: 1px solid #c0c0c0; background-color: white; color: black; }
#e-debug-console { padding: 10px; margin: 0px; height: 100px; overflow: auto; text-align: left; }
#e-debug-console div div { padding: 5px; }
#e-debug-console-controls { text-align: left; padding: 5px; border-top: 1px solid #c0c0c0; background-color: #fff; line-height: 0; }
#e-debug-console-controls a { text-decoration: none; color: #000; background-color: #f5f5f5; border: 1px solid #f0f0f0; padding: 5px; margin: 2px 5px; }
#e-debug-console-input { width: 480px; border: 1px solid #f5f5f5; }
#e-debug-console .console-output { border-bottom: 1px solid #f5f5f5; padding: 5px }

/** Custom Pages Front-end **/
.cpage-nav { padding: 5px; margin: 0px 5px 10px 10px; }
a.cpage-np { font-size: 14px; }
a.cpage-np.current { text-decoration: none; }

/******** SyS Messages / Message text formatting */
/* message boxes */
.s-message { }
/*
.s-message div.info,
.s-message div.error,
.s-message div.success,
.s-message div.debug,
.s-message div.warning { padding: 5px; margin-bottom: 10px; }


.s-message div.info 	{ background-color:#C1E0FF; border: 1px solid #3399FF; border-radius:5px }
.s-message div.error 	{ background-color:#FFCECE; border: 1px solid #CC0000; border-radius:5px }
.s-message div.success  { background-color:#DFFFDF; border: 1px solid #009900; border-radius:5px }
.s-message div.warning 	{ background-color:#FFFFD5; border: 1px solid #FFCC00; border-radius:5px }
.s-message div.debug 	{ background-color:#FFFFFF; border: 1px solid #EAEAEA; border-radius:5px }

.s-message .s-message-title { height: 32px; background: 0 50% no-repeat; padding-left: 42px; font-size: 14px; font-weight: bold; line-height: 32px; }

.s-message div.info 	.s-message-title 	{ background-image: url(images/messagebox_info.png); }
.s-message div.error 	.s-message-title 	{ background-image: url(images/messagebox_critical.png); } 
.s-message div.success 	.s-message-title 	{ background-image: url(images/ok.png); }
.s-message div.warning 	.s-message-title	{ background-image: url(images/messagebox_warning.png); }
.s-message div.debug 	.s-message-title	{ background-image: url(images/messagebox_info.png); }

.s-message-body { padding-left: 42px; }
.s-message-item {}

/* validate result inline message */
.validate-result {}

/* message text (overall) */
.warning { color: #FF6600 }
.success { color: green; }
.error { color: #A94442; }
.info {}
.required { color:#A94442; }

/******** Tooltip info */
.e-info {}

/******** Prepare for Image Preview JS */
.image-preview {}

/* BBcode textareas */
div.bbarea.large, .tbox.large, .helpbox.large { width: 95% }
div.bbarea.medium, .tbox.medium, .helpbox.medium { width: 60% !important; }
div.bbarea.small, .tbox.small, .helpbox.small { width: 250px !important; }

.bbcode-panel { width: 100% }
.input-block-level { width: 100% !important }

/******** bbcodes && typgoraphy */
p {  }
p.bbcode { margin: 10px 0px; text-indent: 15px; } /* override if requried */
p:first-letter {}



h1.bbcode, h2.bbcode, h3.bbcode, h4.bbcode, h5.bbcode, h6.bbcode {  }/* override if requried */

div.bbcode { margin: 15px 0px; clear: both; } /* layout control via bbcodes */

#comments-container { list-style: none outside none; margin:0px }
#comments-container > li { padding: 5px 0px }

.e-email:before {    content: attr(data-user);    }
.e-email:after {  	content: attr(data-dom)	}



/* default comments layout   */


/*
 
 XXX Get Comments looking reasonable on bootstrap AND old themes. 
.comment-box										{ padding-bottom:10px; margin-bottom:10px; border-top:1px solid #C0C0C0;  }

.comment-box-left									{ float:left; text-align:center; width:15%; min-width:100px; max-width:150px }

.comment-box-userinfo								{ padding:20px 5px 10px 5px; }

.comment-box-username								{ padding-left:0px; font-size:1.2em; padding-right: 10px }

div.comment-avatar										{ margin-top:5px; padding:10px 10px 0px 10px; }

img.user-avatar										{ max-width:128px; -webkit-box-shadow:#CCCCCC 0px 0px 10px; -moz-box-shadow:#CCCCCC  0px 0px 10px; box-shadow:#CCCCCC 0px 0px 10px; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; }

.comment-box-right									{ width:auto; min-height: 70px; float:left; }

.comment-box-arrow									{ width:11px; height:26px; float:left; position:relative; top:5px; left:-18px; }

.comment-box-date									{  }

.comment-user-badge-bar								{ float:right; margin-left:20px; }

.comment-replyxxx									{ position:relative; bottom:0px; right:-10px; padding:2px 5px; font-size:0.85em; background-color:#EBFAFF; border:1px solid #C6F1FF; border-bottom:0px none; border-right:0px none; -webkit-border-top-left-radius: 5px; -moz-border-radius-topleft: 5px; border-top-left-radius: 5px; }

.comment-input										{ width:100%;  }

.comment-box-right textarea {
    margin: 0 auto;
    resize: none;
    width: auto !important;
}



.comment-status										{ float:right; font-style: italic }

a.comment-edit										{ }

.comment-edit										{ float:right; margin-right:5px; }

.comment-reply										{ float:right ; margin-right:5px;}

.comment-moderate									{ float:right ; margin-right:5px;}

.comment-moderate									{ text-align:center }

.comment-rate										{ text-align:right; float:right; width:100px }
*/
div.e-comment-edit-save								{ margin-top:8px; padding: 5px }
.e-comment-edit-active								{ -webkit-box-shadow:#CCCCCC 0px 0px 10px; -moz-box-shadow:#CCCCCC  0px 0px 10px; box-shadow:#CCCCCC 0px 0px 10px; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px;}
.e-comment-edit-success								{ padding:8px; text-align:center; }
.e-comment-edit-error								{ padding:8px; text-align:center; }

.e-rate-up img										{ opacity: 0.4 }
.e-rate-down img									{ opacity: 0.4 }

/*
#comments-container .comment-box:nth-child(even) {
     background: red;
}
 */   
.signup-divider											{ border-bottom: 1px solid silver;  font-size: 18px;  margin-bottom: 30px;  position: relative;  text-align: center; }
.signup-divider span 										{ padding: 0 15px; position: relative; top: 10px; }

/* Used to hide elements when JavaScript is enabled:  old e_css.php */
/*
   .e-hide-if-js { display: none; }
*/
/* Used to show elements when JavaScript is disabled */
/* 
	.e-show-if-js { display: none; }
*/   
   /* Used to hide elements when JavaScript is disabled */
/*
   .e-hide-if-js { display: block; }
   a.e-hide-if-js,
   span.e-hide-if-js,
   button.e-hide-if-js { display: inline; }
*/
.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
    margin-bottom:20px;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div.bbcode-panel {
	
	background-color: rgb(245, 245, 245);
background-image: linear-gradient(to bottom, rgb(255, 255, 255), rgb(230, 230, 230));
background-repeat: repeat-x;
border-width: 1px;
border-style: solid;
-moz-border-top-colors: none;
-moz-border-right-colors: none;
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
border-image: none;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgb(179, 179, 179);
border-radius: 4px;
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2) inset, 0px 1px 2px rgba(0, 0, 0, 0.05);
	
}

#search-results li { margin-top:5px; padding: 10px 0; }
#search-results li h4 { margin-bottom:0 !important }


optgroup.level-1 { padding-left:0.1em }
optgroup.level-2 { padding-left:0.7em }
optgroup.level-3 { padding-left:2em }
optgroup.level-4 { padding-left:3em }
optgroup.level-5 { padding-left:4em }