/*
 * ------------------------------------------------------------------------
 * JA Elastica Template for J25 & J3x
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2018 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 div.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: center;
}

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

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

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

div.logo-text {
  height: 50px;
  width: 100%;
}

div.logo-text h1 {
  margin-top: 0.3em;
}

/* 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 {
  width: 30px;
  height: 30px;
  background-color: #222;
  margin-top: 5px;
}

#ja-search.active .search-btn,
#ja-search .search-btn:hover {
  width: 30px;
  height: 30px;
  background-color: #ec534d;
  margin-top: 5px;
  cursor: pointer;
}

#ja-search form.search {
  display: none;
  background: #ec534d;
  position: absolute;
  top: 35px;
  right: 10px;
  padding: .5em;
  width: 200px;
}

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

#ja-search .inputbox {
  background: #222;
  border: 1px solid #222;
  color: #CCC;
  margin: 0;
  padding: 4px 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;
}

/* MAIN NAVIGATION 
--------------------------------------------------------- */
/* Main Nav ---*/
#ja-mainnav {
  float: none;
  margin: 0 auto;
  width: 720px;
  text-align: left;
  display: block;
  height: 40px;
  clear: both;
}

/* Mega Menu Layout ---*/
.ja-megamenu ul.level0 li.mega {
  height: 40px !important;
}

.ja-megamenu ul.level0 li.mega a.mega {
  height: 40px !important;
}

.ja-megamenu ul.level0 li.mega span.menu-title,
.ja-megamenu ul.level0 li.haschild span.menu-title {
  margin-top: .75em !important;
  padding: 0 !important;
  font-size: 1em !important;
}

.ja-megamenu ul.level1 li.mega span.menu-title {
  margin-top: 0 !important;
  padding: 0 !important;
}

.ja-megamenu ul.level1 li.mega {
  height: auto !important;
}

.ja-megamenu ul.level1 li.mega a.mega {
  height: auto !important;
}

.ja-megamenu ul.level0 li.mega span.menu-desc {
  display: none;
}

#ja-megamenu .childcontent {
  display: none;
}

#ja-megamenu li.rjd-active,
#ja-megamenu li.haschild.rjd-active {
}

#ja-megamenu li.rjd-active .childcontent {
  display: block !important;
  left: 0 !important;
  margin: 0 !important;
  position: absolute;
  top: 40px !important;
  width: 100% !important;
}

#ja-megamenu ul.level0 li.rjd-active .childcontent-inner-wrap,
#ja-megamenu ul.level0 li.rjd-active .childcontent-inner {
  margin: 0 !important;
  width: 100% !important;
}

#ja-megamenu ul.level0 {
  position: relative;
}

/* Mega Menu Styling---*/
#ja-megamenu li.rjd-active,
#ja-megamenu li.haschild.rjd-active {
  background: #222;
}

#ja-megamenu li.rjd-active a.mega,
#ja-megamenu li.haschild.rjd-active a.mega {
  color: #FFF;
}

/*Hide lv 2 Content */
#ja-megamenu ul.level1 li.rjd-active .childcontent,
#ja-megamenu ul.level1 .childcontent  {
  display: none !important;
}

/* Menu Button --- */
/* to use this value to detect responsive
 * > 3: mean responsive
 * 4: is mobile device, which the menu show only first level
 */
#ja-menu-button {
  z-index: 3;
}
#bd h1.logo {
	float: right;
	width: 19% !important;
}
.rapban_section h1 {
	font-size: 24px;
	width: 46%;
	bottom: 28%;
}
#bd #ja-mainnav {
	float: left;
	width: 81%;
	max-width: 100%;
	margin-top: 0em;
}
#bd .ja-megamenu ul.level0 li.mega a.mega {
	padding-left: 0.6em;
	padding-right: 0.6em;
	letter-spacing: 0px;
}
.bantxt {
	font-size: 17px;
}
.hw_cont {
	width: 72%;
	padding: 0.5em;
	top:2%;
}
#rapidHW {
	width: 97%;
	margin: 0.5em;
}
.hw_cont h1 {
	font-size: 19px;
	margin: 0.3em 0em;
}
.sec_para {
	font-size: 12px;
}
.psec_btn {
	padding: 0.4em 1.5em;
	font-size: 11px;
	margin-top: 0.2em;
}
.secimg_btn {
	padding: 0.8em;
	font-size: 13px;
}
.ie_cont {
	width: 72%;
	padding: 0.5em;
	top: 2%;
}
.ie_cont h1 {
	letter-spacing: 0px;
	font-size: 19px;
	margin: 0.3em 0em;
}
.galimg_sec {
	width: 31.7%;
	margin: 0 0.4em !important;
}
.gal_btn {
	font-size: 16px;
	padding: 1em;
}
#rapidIE {
	width: 96%;
	margin: 1em;
	padding: 1em 0 0 0;
}
#rapidHGallery {
	margin: 0 1em;
}
#rapidslmedia {
	width: 94.5%;
	margin: 0 1.4em;
}
.smsec_cent {
	margin: 0 1em;
}
.SM_sec {
	width: 31.9%;
	padding: 0.5em;
}
.sm_icon img {
	height: 22px;
}
.sm_icon {
	margin: 1em 0 1em 0;
}
.sm_head {
	font-size: 12px;
	letter-spacing: 1px;
}
.sm_para {
	width: 100%;
	margin: 0 auto;
	font-size: 15px;
	line-height:1.7;
}
.sm_btn1, .sm_btn2{
	padding: 0.5em;
	font-size: 14px;
	letter-spacing: 0px;
	margin-top: -1.6%;
	z-index: 99999999;
}
.sm_btn3 {
	padding: 0.5em 1.3em;
	font-size: 14px;
	letter-spacing: 0px;
	margin-top: -1.6%;
	z-index: 99999999;
}
.rleft_foot {
	padding: 2em;
}
.rl_head {
	font-size: 18px;
}
.rfl_links li {
	padding-left: 0;
	padding-right: 0.6em;
}
.rfl_links li a {
	font-size: 12px;
	letter-spacing: 0px;
	padding-right: 0.3em;
}
.rl_para {
	font-size: 14px;
}
.rright_foot {
	padding: 0.5em;
}
.rr_mbl a {
	font-size: 12px;
}
.fcpy_txt {
	font-size: 12px;
}
.rr_mail a {
	font-size: 12px;
}
.inhw_head {
	font-size: 22px;
}
#bd .item-page {
	padding: 0.8em;
}
.IHW_lefcontent {
	padding: 0em;
}
.text_theory h1 {
	font-size: 20px;
	padding-top: 0em;
}
.IHW_rigcontent {
	width: 70%;
}
.IHW_lefcontent {
	width: 30%;
}
.text_theory p, .map_content p {
	font-size: 14px;
	line-height: 1.7;
}
.in_Hmenus {
	margin-bottom: 1em;
}
.in_submenus li {
	width: 93%;
}
.in_submenus li a {
	font-size: 13px;
}
.dropbtner {
	font-size: 13px !important;
}
.dropbtn {
	font-size: 13px !important;
}
.dropbtnpar {
	font-size: 13px !important;
}
.midhw_ln {
	padding: 0.5em;
}
.IHW_HM {
	padding: 1em;
}
.hwHM_mail {
	background-size: 12%;
	padding-left: 2em;
	box-sizing: border-box;
}
.IHW_smsect a {
	margin: 0 0.7em;
	padding-top: 1em;
	padding-bottom: 0.5em;
	padding-left: 0.6em;
	padding-right: 0.6em;
}
.INGal {
	padding: 1em;
}
#bd .ingal_btn1, .ingal_btn2, .ingal_btn3 {
	letter-spacing: 0px;
	padding: 0.3em;
	font-size: 14px;
}
.centinGal {
	margin: 0 1em;
}
.text_theory h3, .map_content h4 {
	font-size: 20px;
}
.mission_text p {
	padding: 0.5em;
}
.mission_right {
	padding: 0em;
}
.mission_right h3, .right_overall h3 {
	font-size: 15px;
}
.mission_right ul li {
	padding-right: 0.5em;
	font-size: 13px;
	line-height: 24px;
}
.mission_ovs {
	padding-bottom: 1em;
	padding-top: 3em;
}
.right_overall {
	padding: 1em;
}
.right_overall ul li {
	padding-right: 0.5em;
	font-size: 14px;
}
.text_theory ul li {
	font-size: 13px !important;
}
.text_theory ul {
	margin: 0 !important;
}
.text_theory h2 {
	font-size: 19px;
}
.download-theader h2 {
	padding-top: 0em;
}
.term_dates h1, .holiday_activity h1, .policy_docs h1, .design_junior h1, .art_junior h1, .intro h1, .entrance h1, .onlineregister h1, .general_enq h1, .videotour h1, .videogalleryies h1, .visitus h1, .fees h1, .sixth h1, .junior h1, .curriculum h1, .drama_junior h1, .english_junior h1, .humanities_junior h1, .ict_junior h1, .usage_policy h1, .privacy_policy h1, .cookies_policy h1 {
	font-size: 31px !important;
}
.block_img h2 {
	padding: 0.5em 0em;
	max-width: 175px;
	text-align: center;
}
.block_img h2 a {
	font-size: 14px;
}
.table_assement table:not([role="grid"]) tr th, .table_assement table:not([role="grid"]) tr td {
	padding: 0.5em 0em;
	font-size: 9px;
	width: 36%;
	float: left;
}
.text_theory ol li {
	font-size: 14px;
}
.download-title {
	font-size: 14px;
}
.ihwln_head_policy {
	font-size: 15px;
}
.theory_blog h1 {
	font-size: 21px !important;
}
.junior_sch a li h2 {
	font-size: 19px !important;
}
.junior_sch a li p {
	font-size: 16px !important;
	letter-spacing: 0px !important;
}
.breadcums span a, .breadcums span {
	font-size: 13px !important;
}
.junior_heads h2 {
	font-size: 22px !important;
}
.table_assement_cookies table:not([role="grid"]) tr th, .table_assement_cookies table:not([role="grid"]) tr td {
	font-size: 14px;
}
#menu_top {
	display: block;
	width: auto;
	float: right;
	position: absolute;
	right: 30px;
	top: 50px;
	z-index: 999999;
}
#menus {
	display: none;
}
#bd #ja-header {
	position: relative;
}
#bd h1.logo {
	float: left;
	width: auto !important;
}
#bd #ja-header {
	width: 96%;
	margin: 0 2%;
}
#bd  .dj-megamenu-accordion-dark .dj-mobile-open-btn {
	background: #e30613;
	color: #fff;
}
#bd #ja-footer .custom {
	padding: 0em 0 0 0;
	margin-top: 2em;
}
.download {
	width: calc(100% - 0em);
}
.under_line_study {
	margin-bottom: 2em;
}
#bd .dj-mobileitem.itemid-220,#bd .dj-mobileitem.itemid-232,#bd .dj-mobileitem.itemid-233,#bd .dj-mobileitem.itemid-234,#bd .dj-mobileitem.itemid-235,#bd .dj-mobileitem.itemid-236 {
	display: none;
}
.junior_sch a,.news_grid .news_grid_item {
	width: 100%;
}
.news_grid .news_grid_item:first-child .content p,.news_grid .news_grid_item:first-child .content h2 {
	width: 96%;
}
.video_cnt iframe {
	height: auto;
}
.ic-descshort {
	width: 75%;
}