/*  Reset css from http://developer.yahoo.com/yui/reset/  */
body,div,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote { 
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
	
}
th,td {
	padding: 3px;
	border: 1px solid #EEEEEE;
}
fieldset,img { 
	border:0;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
h1, h2, h3 {
  line-height: 1.5;
}
h4, h5, h6 {
  line-height: 25px;
}
h6 {
	font-weight: bold;
	font-size: 16px;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}
a img {
	border: none;
}
/*  end reset css  */

body{
	font-family: arial,sans-serif;
}

#system-message-container {
	margin: 2px 0 5px 0;	
}

.topmenu, .menu, .search, .slider,
.topbanner1, .topbanner2, .topbanner3, .topbanner4,
.left, .left2, .breadcrumbs, .right, .right2,
.wrap-breadcrumbs, .wrap-beforecontent, .component,
.bottombanner1, .bottombanner2, .bottombanner3, .bottombanner4,
.footer, .debug {
	margin: 3px;
}

.article-info{
	margin: 7px 0px 10px 0px;
	font-style: italic;
}
.copyright {
	text-align: center;
	font-size: 14px;
}

.userdata {
	padding: 0 5px;	
}

.moduletable_login h3 {
	cursor: pointer;
}

/*** ERRORS ***/

#system-message .error, #system-message .error  ul li {
	color: #D62221 !important;
}

#system-message .notice, #system-message .notice  ul li {
	color: #D62221 !important;
}
#system-message .message, #system-message .message ul li {
	color: green;
}
#system-message dt.bespoke
{
display: none;
}

#system-message dd.message
{
  border-top: 3px solid #94CA8D;
  border-bottom: 3px solid #94CA8D;
  background: #C8DEC7 url('../images/message.png') 4px 1px no-repeat;
  padding-left: 25px;
}

#system-message dd.notice
{
  border-top: 3px solid #F5E48C;
  border-bottom: 3px solid #F5E48C;
  background: #EFE8BC url('../images/notice.png') 4px 1px no-repeat;
  padding-left: 25px;
}

#system-message dd.error
{
  border-top: 3px solid #E19693;
  border-bottom: 3px solid #E19693;
  background: #E9C7C6 url('../images/error.png') 4px 1px no-repeat;
  padding-left: 25px;
}
.star {
    color: #CC0000;
}

/* Кнопки в редакторе */
.button2-left {
    background: url("../images/j_button2_left.png") no-repeat scroll 0 0 transparent;
    float: left;
    margin: 10px 10px 0 0;
}
.button2-left .blank {
    background: url("../images/j_button2_blank.png") no-repeat scroll 100% 0 transparent;
}
.button2-left .readmore, .button2-left .article {
    background: url("../images/j_button2_readmore.png") no-repeat scroll 100% 0 transparent;
}
.button2-left .pagebreak {
    background: url("../images/j_button2_pagebreak.png") no-repeat scroll 100% 0 transparent;
}
.button2-left .image {
    background: url("../images/j_button2_image.png") no-repeat scroll 100% 0 transparent;
}
.button2-left .add_attachment_frontend {
    background: url("../images/j_button2_blank_attch.png") no-repeat scroll 100% 0 transparent;
}

/* оформление самого редактора */
.button2-left a, .button2-right a, .button2-left button, .button2-right button, .button2-left span, .button2-right span {
    color: #333333;
    cursor: pointer;
    display: block;
    font-size: 1em;
    height: 22px;
    line-height: 22px;
}
.button2-left a, .button2-left span, .button2-left button {
    padding: 0 24px 0 6px;
}
.inputbox, #userreminder .required, .formelm input, .formelm select, .profile-edit input, .profile-edit select, .contact-form input, .reset input, .remind input, .registration input, .login input {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 3px 3px 3px 3px;
    color: #333333;
    padding: 3px;
}
label#jform_alias-lbl, label#jform_metadesc-lbl, label#jform_metakey-lbl, .formelm label, .profile-edit label {
    display: block;
}
legend {
    font-weight: bold;
    padding-bottom: 10px;
    padding-top: 10px;
}
.formelm {
	margin: 6px 0;	
}

#main div.attachmentsList table, div.attachmentsList table {
	font-size: 100%;
}

/* Tooltips */
a.hasTooltip {
	display: block !important;
}
.tip-wrap {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 200px;
	z-index:13000;
	font-size: 95%;
 }

.tip-title {
	padding: 0;
	margin: 0;
	font-size: 95%;
	font-weight: bold;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../images/selector-arrow.png) no-repeat;
}

.tip-text {
	font-size: 90%;
	margin: 0;
}

/* NAV */
.nav {
	margin: 0;
}
.navbar {
	margin-bottom: 3px;
}
.navbar .navbar-inner .nav li {
	list-style: none;
	background: none;
}
.nav-collapse > .nav > .dropdown-submenu > .dropdown-menu {
    top: auto;
    left: 0;
}
.navbar .nav > li > a {
    text-shadow: none;
}

@media (max-width: 979px) {
    .nav-collapse > ul.nav li.dropdown-submenu ul.dropdown-menu{ display: block; }
}

/* jcomments bug */
#comments-form .btn, #comments-report-form .btn {background: none;}
#comments-form .btn div, #comments-report-form .btn div {background: none;}

/* phocagallery style */
#phocagallery-pane .tabs h3,
#phocagallery-pane .tabs a {
    margin: 0px;
    font-size: 13px;
}
#phocagallery-user fieldset,
#phocagallery-categories-detail fieldset,
#phocagallery-votes fieldset, 
#phocagallery-comments fieldset,
#phocagallery-upload fieldset,
#phocagallery-multipleupload fieldset,
#phocagallery-category-creating fieldset,
#phocagallery-subcategory-creating fieldset,
#phocagallery-statistics fieldset {
    border: none;
}
#phocagallery-pane h1, #phocagallery-pane h2, #phocagallery-pane h3 {
	line-height: 20px;
}
#phocagallery-pane input, #phocagallery-pane textarea {
	width: auto;
}

.wrap_header a,
.wrap_header a:visited,
.wrap_header a:hover
 {
    text-decoration: none !important;
}

.right .dropdown-submenu>.dropdown-menu,
.right2 .dropdown-submenu>.dropdown-menu {
    left: -100%;
    width: 100%;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.moduletable_menu li a, .moduletable ul.nav li a {
	padding: 3px 15px;
	line-height: 1.5;
}

.moduletable ul.nav > li, 
.moduletable_menu ul.nav > li {
	margin:0;
	line-height:1.4em;
    min-height:26px;
}

@media (max-width: 767px) {
    .left .dropdown-submenu>.dropdown-menu,
    .left2 .dropdown-submenu>.dropdown-menu,
    .right .dropdown-submenu>.dropdown-menu,
    .right2 .dropdown-submenu>.dropdown-menu {
        float:none;
        display: block;
        position: relative;
        left: 0;
        width: 100%;
        border: none;
        background: none;
        box-shadow: none;
        margin: 0px;
    }
}

.wrap_header .row,
.wrap-head-logo, .wrap-head-h {
    height: inherit;
}

.wrap-head-logo, .wrap-head-h {
    display: table;
	table-layout: fixed;
}
.wrap-head-h .head-text {
	display: table-cell;
	vertical-align: middle;
}

.head-logo {
    display: table-cell;
}
@media (max-width: 770px) {
	.span4.wrap-head-logo, .span6.wrap-head-logo {display: none;}
}

.category th {
	background: #EFEFEF;
    color: #333333;
    font-weight: bold;
}
.category th, .category td {
	padding: 4px;	
}
.cat-list-row1 {
  background: #EFEFEF; 
}

.pagination {
	text-align: center;
	margin-top: 10px;
}

.actions li, .pagination li, .pagenav li {
	display: inline;	
}

#jTemplateRolling {
	font-size: 18px;
	color: #000000 !important;
	right: 0;
	position: fixed;
}

/* STYLE FOR EDITOR */
.thumbnails {
	margin-left: -20px;
	list-style: none;
	*zoom: 1;
}
.thumbnails:before,
.thumbnails:after {
	display: table;
	content: "";
	line-height: 0;
}
.thumbnails:after {
	clear: both;
}
.row-fluid .thumbnails {
	margin-left: 0;
}
.thumbnails > li {
	float: left;
	margin-bottom: 18px;
	margin-left: 20px;
}
.thumbnail {
	display: block;
	padding: 4px;
	line-height: 18px;
	border: 1px solid #ddd;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.055);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.055);
	box-shadow: 0 1px 3px rgba(0,0,0,0.055);
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
a.thumbnail:hover,
a.thumbnail:focus {
	border-color: #3071a9;
	-webkit-box-shadow: 0 1px 4px rgba(0,105,214,0.25);
	-moz-box-shadow: 0 1px 4px rgba(0,105,214,0.25);
	box-shadow: 0 1px 4px rgba(0,105,214,0.25);
}
.thumbnail > img {
	display: block;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.thumbnail .caption {
	padding: 9px;
	color: #555;
}
.thumbnails {
	margin-left: -20px;
	list-style: none;
	*zoom: 1;
}
.thumbnails:before,
.thumbnails:after {
	display: table;
	content: "";
	line-height: 0;
}
.thumbnails:after {
	clear: both;
}
.row-fluid .thumbnails {
	margin-left: 0;
}
.thumbnails > li {
	float: left;
	margin-bottom: 18px;
	margin-left: 20px;
}
.thumbnail {
	display: block;
	padding: 4px;
	line-height: 18px;
	border: 1px solid #ddd;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.055);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.055);
	box-shadow: 0 1px 3px rgba(0,0,0,0.055);
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
a.thumbnail:hover,
a.thumbnail:focus {
	border-color: #3071a9;
	-webkit-box-shadow: 0 1px 4px rgba(0,105,214,0.25);
	-moz-box-shadow: 0 1px 4px rgba(0,105,214,0.25);
	box-shadow: 0 1px 4px rgba(0,105,214,0.25);
}
.thumbnail > img {
	display: block;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.thumbnail .caption {
	padding: 9px;
	color: #555;
}
.media,
.media-body {
	overflow: hidden;
	*overflow: visible;
	zoom: 1;
}
.media,
.media .media {
	margin-top: 15px;
}
.media:first-child {
	margin-top: 0;
}
.media-object {
	display: block;
}
.media-heading {
	margin: 0 0 5px;
}
.media > .pull-left {
	margin-right: 10px;
}
.media > .pull-right {
	margin-left: 10px;
}
.media-list {
	margin-left: 0;
	list-style: none;
}

.well {
	min-height: 20px;
	padding: 19px;
	margin-bottom: 20px;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
}
.well blockquote {
	border-color: #ddd;
	border-color: rgba(0,0,0,0.15);
}
.well-large {
	padding: 24px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
.well-small {
	padding: 9px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.thumbnail > li {
    width: 110px;
    height: 70px;
    text-align: center;
}
