/*
 * ------------------------------------------------------------------------
 * JA Puresite Template for J25 & J31
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - Copyrighted Commercial Software
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites:  http://www.joomlart.com -  http://www.joomlancers.com
 * This file may not be redistributed in whole or significant part.
 * ------------------------------------------------------------------------
*/

 
/* 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: 10px;
  padding-right: 10px;
}

.main .main-inner1 {
  margin: 10px 20px 0;
}

/* Reset Basetheme */
#ja-main, ja-content { float: none; }

#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;
}

.column div.ja-moduletable, .column div.moduletable, .column div.ja-module, .column div.module {
	margin-left: 0;
	margin-right: 0;
}

.ja-box-right {
	position: static;
}

.ja-box { min-height: 0 !important; }

/* Redefine gutter for module-inner */
#ja-right1 div.moduletable-inner,
#ja-left1 div.moduletable-inner {
  margin: 10px;
}

#ja-right div.ja-moduletable {
	z-index: 1;
}

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

.grid-double {
  width: 480px;
}

.grid-tripple {
  width: 700px;
}

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

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

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

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

.ja-l1 #ja-main {
	float: right; /* left + content */
}

#ja-container .main .main-inner1 {
	margin-left: 10px;
	margin-right: 10px;
}

#ja-content {
	margin-top: 10px;
}

#ja-header .main-inner1 {
	margin-top: 0;
}
/* SPOTLIGHT
--------------------------------------------------------- */

#ja-topsl .ja-masonry,
#ja-topsl1 .ja-masonry,
#ja-topsl2 .ja-masonry {
  width: 100%;
}

/* 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: 660px;
}

/* 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 */
.ja-content-main {}

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

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

.item .contentpaneopen {
  padding: 0 10px 20px;
}

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

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

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

.leading .contentpaneopen {
  padding: 10px 0;
}

/* 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; }

#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: 10px;
}