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

body {
  -webkit-text-size-adjust: 100%; /*Fix Mobile Safari Font Scale*/
}

/* RESPONSIVE FONT SIZES
--------------------------------------------------------- */
body.fs1 #ja-wrapper {
  font-size: 1.2em !important;
}

body.fs2 #ja-wrapper {
  font-size: 1.3em !important;
}

body.fs3 #ja-wrapper {
  font-size: 1.4em !important;
}

body.fs4 #ja-wrapper {
  font-size: 1.5em !important;
}

body.fs5 #ja-wrapper {
  font-size: 1.6em !important;
}

body.fs6 #ja-wrapper {
  font-size: 1.7em !important;
}

/* MAIN LAYOUT DIVS
--------------------------------------------------------- */
.main {
  width: 720px;
}

/* MASONRY PRESETS (240px*5 Grids)
--------------------------------------------------------- */
/* Main Content */
.ja-frontpage #ja-content {
  float: none;
  width: 100%; /* Frontpage Content 3 grids */
}

/* 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: 100% !important;
}

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

/* CONTENT'S GRIDS
--------------------------------------------------------- */
.items-row {
  background: #fff;
  border-top: 1px solid #E6E6E6;
  box-shadow: 0 1px 1px rgba(0,0,0,.25);
  margin: 1em 0;
}

.items-row .item .contentpaneopen {
  box-shadow: none;
}

.item {
  padding: 0;
}

.cols-1 .item {
  float: none;
  width: 100% !important;
}

.cols-2 .item,
.cols-3 .item,
.cols-4 .item,
.cols-5 .item {
  width: 50% !important;
}

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

#ja-header .main {
  width: 100%;
  text-align: left;
}

#ja-header .main-inner1 {
  margin: 0;
}

h1.logo {
  height: 50px !important;
  width: 100% !important;
}

h1.logo a {
  padding: .5em !important;
}

/* Search & Social Bars ---*/
#ja-top {
  height: 40px;
  width: 178px;
  border-left: 1px dotted #666;
  position: absolute;
  right: 0;
  top: 50px;
}

/* Search */
#ja-search {
  bottom: 0;
  height: 40px;
  width: 40px;
  padding: 0;
  position: absolute;
  right: 0;
  border-bottom: 0;
}

#ja-search .search-btn {
display: none;
}

#ja-search.active .search-btn,
#ja-search .search-btn:hover {

}

#ja-search form.search {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: .5em;
  width: 100px;
}

#ja-search:hover form.search,
#ja-search.active form.search {
  display: block !important;
}

#ja-search .inputbox {

  margin: 0;
  padding: 2px 0;
  text-indent: 10px;
  width: 100%;
}

/* Social */
#ja-social {
  height: 40px;
}

#ja-social ul {
  padding: 5px 0 0 1em;
}

#ja-social ul li {
}

#ja-social ul li a {
  background-color: #222;
}

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

/* MODULES
--------------------------------------------------------- */
/* Hiden in Tablet ---*/
.hide-in-normal,
.hide-in-tablet {
  display: none;
}


/* ASW */
.ja-megamenu ul.level0 li.mega {height:43px!important;}
.ja-megamenu ul.level0 li li.mega {height:32px!important;}
#Mod106 {width:100%;}
#ja-usermenu {top:15px!important;margin-bottom: 20px!important;}
.ja-megamenu ul.level0 li.mega a.mega {overflow: visible!important;}
#ja-usermenu .logout {width:auto;float:right;right:0;top:10px;position: static!important;}
.ja-megamenu ul.level0 li.mega a.mega {padding:10px 5px 0 5px!important;font-size: .8em;}
.ja-megamenu ul.level0 li.mega span.menu-title {margin-top: 0!important;}
.ja-megamenu li .menu-image img {top:3px;}
#ja-top {top:0!important;}
.niftymod {width:100%;}
.items-row {background: transparent!important;box-shadow: none!important;border:0!important;}
#ja-header .main-inner1 {margin:0 20px;}
#ja-megamenu li.rjd-active, #ja-megamenu li.haschild.rjd-active {background: transparent;}
.item-page, .cat-children, .com_content .archive, .items-leading .leading .contentpaneopen, .items-row .item .contentpaneopen, .frontpage .items-leading .contentpaneopen, .frontpage .blog-featured {border:0!important; }
#ja-logo {padding:20px 0;height:160px!important;}
#Mod98 {width:67%;}
#ja-logo .moduletable-inner {padding:0!important; }
#Mod104 {width:100%;}
#ja-dc .ja-masonry {width: 100%;}
#ja-main-wrap .ja-masonry {width: 100%;}
.grid-tripple {
width: 435px;
}
#ja-login {right:109px;}
.custom .shadow-bg .media:last-child {display: block;width:100%!important;}
#Mod154 {margin-top:-20px;}

/*Mobile navi*/
#ja-mobilemenu{display: none!important;}

/*Gallery Module*/
#Mod128 {width:100%;}
.shadow-bg {background: none;}

/*Google News*/
#Mod115, #Mod142 {width:100%!important;}
.gns-root {font-size: 1em!important;}

