/*
 * ------------------------------------------------------------------------
 * JA Elastica Template for Joomla 2.5
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites: http://www.joomlart.com - http://www.joomlancers.com
 * ------------------------------------------------------------------------
*/


/* MAIN LAYOUT DIVS
--------------------------------------------------------- */
.wrap {
  clear: both;
  width: 100%;
}

.main {
  margin: 0 auto;
  position: relative;
  width: 980px;
}

.column {
  display: inline;
  float: left;
  overflow: hidden;
}

.ja-mass {
  clear: both;
}

/* Gutter ---*/
.main .inner {
  padding-left: 1em;
  padding-right: 1em;
}

.main .main-inner1 {
  margin-left: 0em;
  margin-right: 0em;
}

/* Reset Basetheme */
#ja-main-wrap div.ja-moduletable,
#ja-main-wrap div.moduletable,
#ja-main-wrap div.ja-module,
#ja-main-wrap div.module {
	margin-right: 0;
	margin-left: 0;
}

/* Redefine gutter for module-inner */
#ja-main-wrap div.ja-moduletable-inner,
#ja-main-wrap div.moduletable-inner,
#ja-main-wrap div.ja-module-inner,
#ja-main-wrap div.module-inner,
#ja-extra-col div.module-inner {
  margin: 0em;
}

/* MASONRY PRESETS (240px*5 Grids)
--------------------------------------------------------- */
/* Sizes---*/
.ja-masonry {
  width: 245px;
}

.grid-double {
  width: 490px;
}

.grid-tripple {
  width: 735px;
}

.ja-masonry .custom,
.grid-double .custom,
.grid-tripple .custom {
  width: auto;
}

/* Main Content */
#ja-content {
  width: 720px; /* 3 grids */
}

.ja-frontpage #ja-content {
  width: 480px; /* Frontpage Content 2 grids */
}

.ja-fullwidth #ja-content,
.ja-mf #ja-content {
  width: 100% !important; /* Full */
}

/* full 5 grids content */
body.content-grid-mass #ja-content,
body.content-grid-mass.ja-frontpage #ja-content {
  width: 100% !important;
}

/* 4 grids content */
body.content-grid-quadruple #ja-content,
body.content-grid-quadruple.ja-frontpage #ja-content {
  width: 960px;
}

/* 3 grids content */
body.content-grid-tripple #ja-content,
body.content-grid-tripple.ja-frontpage #ja-content {
  width: 720px;
}

/* 2 grids content */
body.content-grid-double #ja-content,
body.content-grid-double.ja-frontpage #ja-content {
  width: 480px;
}

/* 1 grids content */
body.content-grid-single #ja-content,
body.content-grid-single.ja-frontpage #ja-content {
  width: 240px;
}


/* CONTENT'S GRIDS
--------------------------------------------------------- */
/* Items Page */
.item-page {
  padding: 1.5em;
}

/* Items Row */
.items-row {
  padding: 0;
  margin: 0;
}

.item {
  float: left;
  position: relative;
  padding: 1em 0;
}

.item .contentpaneopen {
  padding: 1.5em;
}

/* Items Leading */
.items-leading {
  padding: 0;
  margin: 0;
}

.items-leading .leading {
  padding: 0;
}

.items-leading .leading:first-child {
  padding-top: 0;
}

.leading .contentpaneopen {
  padding: 1.5em;
}

/* Items Grids */
.cols-1 .item {
  width: 100%;
}

.cols-2 .item {
  width: 50%;
}

.cols-3 .item {
  width: 33.33%;
}

.cols-4 .item {
  width: 25%;
}

.cols-5 .item {
  width: 20%;
}

/* HEADER
--------------------------------------------------------- */
#ja-header {
}

/* FOOTER
--------------------------------------------------------- */
#ja-footer {
}

/* MAIN NAVIGATION
--------------------------------------------------------- */
/* hide menu button by default */
#ja-menu-button {display: none; position: relative;}

div.ja-moduletable-inner, div.moduletable-inner {padding:1.4em!important; }

#ja-usermenu .main .ja-masonry {width: auto;}



/* Bootstrap For Kunena
--------------------------------------------------------- */

#kunena.layout .kfrontend .table td h3 {margin-bottom: 12px !important;}
#kunena.layout thead .header-desc {padding-bottom: 12px;}
#kunena.layout .kfrontend .category td {padding-top: 18px; padding-bottom: 18px;}
#kunena.layout .kfrontend .category:last-child td {padding-bottom: 0;}
#kunena.layout .unstyled,
#kunena.layout .inline li,
#kunena.layout #kstats li {
    font-size: 13px;
    line-height: 1.4;
    padding-left: 0;
}

#kunena.layout ul li {
  background: none;
  padding-left: 0 !important;
  margin-bottom: 6px !important;
}

#kunena.layout .lastpostlink,
#kunena.layout .lastpostby,
#kunena.layout .datepost {
  font-size: 13px;
}

#kunena.layout .kfrontend .table tr td:first-child {
    padding-left: 0;
}

.kfrontend {
  margin-bottom: 30px;
}

.table thead:first-child tr:first-child td {
    border-top: 0;
}

#kunena.layout .breadcrumb {
  margin-top: 20px;
}

body.com_kunena #kunena.layout + div a {color: #f5f5f5 !important;}


.gallery-flickr ul li {
    padding-left: 0;
    max-width: 32%;
  float: none !important;
  display: inline-block;
}

.gallery-flickr ul {
    margin-top: -20px !important;
    padding-bottom: 30px;
}

.no-masonry {width: 100%;}
.no-masonry .gallery-flickr ul li {max-width: 24.5%;}

textarea.jsn-input-xlarge-fluid,
.jsn-input-medium-fluid {
  border: 1px solid #c8c8c8 !important;
  padding: 8px 7px !important;
}

textarea.jsn-input-xlarge-fluid {
  margin-top: 8px;
}

.control-group .control-label {
  color: #666 !important;
  font-size: 12px !important;
  float: left;
  min-width: 120px;
}


.jsn-form-content .control-group {
  padding: 0 !important;
}

.jsn-text-center {
  display: none;
}