@charset "utf-8";
/* CSS Document */

@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot?v=4.4.0');
  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.4.0') format('embedded-opentype'), 
  	   url('../fonts/fontawesome-webfont.woff2?v=4.4.0') format('woff2'), 
	   url('../fonts/fontawesome-webfont.woff?v=4.4.0') format('woff'), 
	   url('../fonts/fontawesome-webfont.ttf?v=4.4.0') format('truetype'), url('../font/fontawesome-webfont.svg?v=4.4.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
    font-family: 'latoregular';
    src: url('../fonts/lato-reg-webfont.eot');
    src: url('../fonts/lato-reg-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/lato-reg-webfont.woff') format('woff'),
         url('../fonts/lato-reg-webfont.ttf') format('truetype'),
         url('../fonts/lato-reg-webfont.svg#latoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family:"Raleway Medium";
	src:url("../fonts/Raleway-Medium.eot?") format("eot"),
		url("../fonts/Raleway-Medium.woff") format("woff"),
		url("../fonts/Raleway-Medium.ttf") format("truetype"),
		url("../fonts/Raleway-Medium.svg#Raleway-Medium") format("svg");
	font-weight:normal;
	font-style:normal;
}
@font-face {
	font-family:"Raleway";
	src:url("../fonts/Raleway-Regular.eot?") format("eot"),
		url("../fonts/Raleway-Regular.woff") format("woff"),
		url("../fonts/Raleway-Regular.ttf") format("truetype"),
		url("../fonts/Raleway-Regular.svg#Raleway") format("svg");
	font-weight:normal;
	font-style:normal;
}
@font-face {
	font-family: 'Lato-Medium';
	src: url('../fonts/latomedium.eot');
	src: url('../fonts/latomedium.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/latomedium.woff') format('woff'),
		 url('../fonts/latomedium.ttf') format('truetype'),
		 url('../fonts/latomedium.svg#latomedium') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
    font-family: 'latolight_italic';
    src: url('../fonts/lato-ligita-webfont.eot');
    src: url('../fonts/lato-ligita-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/lato-ligita-webfont.woff2') format('woff2'),
         url('../fonts/lato-ligita-webfont.woff') format('woff'),
         url('../fonts/lato-ligita-webfont.ttf') format('truetype'),
         url('../fonts/lato-ligita-webfont.svg#latolight_italic') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'latobold';
    src: url('../fonts/lato-bol-webfont.eot');
    src: url('../fonts/lato-bol-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/lato-bol-webfont.woff') format('woff'),
         url('../fonts/lato-bol-webfont.ttf') format('truetype'),
         url('../fonts/lato-bol-webfont.svg#latobold') format('svg');
    font-weight: normal;
    font-style: normal;
}



*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}


*{ }
body { background:#fff; font-size:16px; font-family: 'latoregular'; color:#000;min-height:100%;}
a {color:#000; outline:none; text-decoration:underline;}
a:hover {}
p { font-size:15px; color:#4c4c4c; line-height:24px; margin-bottom:22px;}
ul{ margin-left:15px;}
li { list-style:none outside none; font-size:15px; color:#000;}
.left{ float:left;}
/*.right{ float:right;}*/
.clear { clear:both; height:0; font-size:0; }
strong, b{ font-weight:bold;  }
em, i { font-style:italic; }
strong em, em strong{}
h1, h2, h3, h4, h5, h6 { line-height:1; font-weight:normal; font-style:normal; margin-bottom:15px; margin-top:0px;}
h1{ font-size:48px; text-transform:uppercase; line-height:1.1; color:#fff;}
h2{ font-size:27px; color:#000; }
h3{ font-size:22px; color:#000; margin-bottom:20px;}
h4{ font-size:17px; color:#000; margin-bottom:20px;}
h5{ font-size:14px; line-height:17px; margin-bottom:20px;}
h6{ font-size:12px; line-height:17px; margin-bottom:20px;}
blockquote{ margin:0 0 20px; background:url(../images/bg_blockquote.png) no-repeat 40px 0px; display:block; font-size:24px;  padding:10px 20px 15px 97px;}
blockquote p{ color:#000; line-height:35px; margin:0; font-size:19px; }
blockquote cite{ display:block; text-align:right; font-size:14px; padding-top:10px;}
img{ max-width:100%; height:auto !important; vertical-align:middle;}
hr{ clear:both; margin:30px 0; border:0; border-bottom:1px solid #484644;}
pre {white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;}
.alignleft {display: inline;float: left;margin-right: 1.625em; margin-bottom:20px;}
.alignright {display: inline;float: right;margin-left: 1.625em;}
.aligncenter {clear: both;display: block;margin-left: auto;margin-right: auto;}
.tablebox{ display:table; width:100%; height:100%;}
.tablecellbox{ display:table-cell; vertical-align:middle;}

.inner{ max-width:866px; margin:0px auto;}


#header{ background:#000; color:#fff; height:34px; font-family:Arial, Helvetica, sans-serif; font-size:12px;}
#header a{ color:#fff; text-decoration:underline; padding:0px 3px;}
#header #header_inner{ margin-top:0px; max-width:1160px; width:100%;}
#header #header_inner #header_buttons{ width:auto; left:auto; right:0px;}
.header_button{ margin-top:0px;}

#topnav{ display:none; background:url(../images/bg_mobile_nav_link.png) no-repeat center center; width:45px; height:100%; position:absolute; z-index:300; left:0px; top:0px; cursor:pointer;}


#content{ width:100%; }
#header_login_menu{ z-index:200;}
body .header_menu{ z-index:200;}


/**************** sidebar_left  *************/
#sidebar_left{ width:1160px; margin:0px auto; overflow:inherit; float:none; position:relative;}
#sidebar_left .sidebar_left_inner{ float:left;}
#sidebar_left .bt{ display:none;}
#sidebar_left .bb{ display:table; clear:both; height:auto;}
#mainnav{ background:none; padding:12px 0px 13px;}
#nav_section{ width:auto; margin-top:50px; margin-left:0px; margin-bottom:50px;}
#nav_section li{ display:inline-block;text-align:left; vertical-align:middle; }
#nav_section li a{ display:block; text-transform:uppercase; color:#000; font-size:18px; font-weight:normal; font-family: 'latoregular';}
#nav_section>li:last-child>a{ background:#d3201f; color:#fff; padding:14px 34px 12px 34px; border-radius:3px;}
#nav_section>li:last-child{ margin-left:60px;}
#nav_section>li:last-child a:hover{}
/*use top links instead of last few nav items*/
.top_links{
  display:none;
  height: 30px;
  left: 70%;
  position: absolute;
  width: 50%;
  top: 10px;
}
/*.top_links>li:nth-last-child(4){ margin-left:70px;}*/
.top_links li {
  float:left;
}
.top_links>li a{color:#d3201f; background:#f0efef; 
  margin-left:8px; border-radius:2px; font-weight:normal; padding:7px 0px 0px 0px; 
  width:50px; height:45px; text-indent:-999em; display:block; text-decoration:none;}
.top_links>li:nth-last-child(3) a:hover,
.top_links>li:nth-last-child(2) a:hover,
.top_links>li:last-child a:hover{ text-decoration:none; }
.top_links>li:nth-last-child(3) a:after,
.top_links>li:nth-last-child(2) a:after,
.top_links>li:last-child a:after{font-family: 'FontAwesome'; margin-top:-15px; text-align:center;  display:block; text-indent:0; font-size:30px;}
.top_links>li:nth-last-child(3) a:after{ content:"\f0e1";}
.top_links>li:nth-last-child(2) a:after{ content:"\f09a";}
.top_links>li:last-child a:after{ content:"\f099";}



#nav_section a{ padding:14px 10px 12px 10px;}
#mainnav{ padding:0; overflow:visible !important; float:right;}
#nav_section li ul{ position:absolute; left:0; /*top:57px;*/ margin-left:0;}
#nav_section li ul li{ display:block; width:210px;background:#ffffff;}
#nav_section li ul li a{ font-size:13px; color:#d21d1c; padding:9px 13px; text-transform:none}
#nav_section li ul li ul{ left:210px; top:0; display:none !important;}
#nav_section li ul li a:hover{ color:#611c14; background:#f6f6f6;}
#nav_section li ul li:hover>ul{ display:block !important;}


#img_div{ position:absolute; left:0px; top:10px; width:30%;}
#img_div > a{ display:block;  width:212px; height:82px;}




/**************** maincontent  *************/
div.default,
#maincontent{ width:100%;}

body.school_enrollment #maincontent, body._404 #maincontent, body.login #maincontent, body.set_password #maincontent, 
body.payment #maincontent, body.subscribe #maincontent {
  max-width: 920px;
  margin: 0px auto;
  margin-bottom:40px;
  float:none;
}
#maincontent h1{ display:block !important; margin-bottom:0px; color:#d21d1c; font-weight:normal;font-family:"Raleway Medium"; font-size: 36px;text-align:center; background:#f0efef; padding:55px 0px; position:relative;}
#maincontent h1:before{ content:""; position:absolute; width:100%; height:26px; background:url(../images/boder_design.png) no-repeat center; display:block; left:0px; bottom:-13px;}
.home #maincontent h1{ display:none !important;}
#maincontent h2{ color: #d21d1c;font-family:"Raleway Medium"; font-size:24px; height:auto; font-weight:normal; padding:0;}
#maincontent h2.content_title{font-size: 36px;text-align:center;}
.home #maincontent h2.content_title{ font-size:30px; margin-bottom:50px;}
#maincontent h3{ font-weight:normal; font-size:20px;font-family:"Raleway Medium"; float:none; color: #d21d1c;}
#maincontent h3.date{font-family: 'latoregular';  text-align:center; color:#666666; font-size:14px; margin-bottom:30px;}
#maincontent h4{ font-weight:normal;}
#maincontent h5{ font-weight:normal;}
#maincontent p{ padding:0; font-size:16px; line-height:24px; margin-bottom:24px; font-family: 'latoregular'; color:#000;}


#maincontent ul.members_list{ margin-left:0px; width:100%; overflow:hidden; padding:0px; margin:0px; padding-top:22px;}
#maincontent ul.members_list li{ float:left; list-style:none; float:left; padding:0px; width:27.2%; margin:0px 3.0666% 30px;}
#maincontent p a.view_more{ font-size:14px; color:#FFF; background:#488042; display:inline-block; padding:11px 34px; text-transform:uppercase; border-radius:6px; text-decoration:none; box-shadow:0px 0px 1px #234120 inset;}
#maincontent p a.view_more:hover{color:#FFF;}


.month_holidays_label{ color: #999999;  font-size: 23px; margin-bottom: 34px;}
#maincontent ul.month_holidays{ margin-left:0px; padding-left:0px; list-style:none; }
#maincontent ul.month_holidays li{ list-style:none;}
#maincontent .fck_widget_month_calendar_condensed table.calendar th{ color:#}
.fck_widget_zmanim td{ padding-top:10px;}
#maincontent .view_all_link{ font-size:10px; color:#FFF; background:#12af52; display:inline-block; padding:8px 14px; text-transform:uppercase; border-radius:5px; text-decoration:none; box-shadow:0px 0px 1px #234120 inset;}
#maincontent .view_all_link:hover{ color:#fff;}

.section_subcontent{ padding:0px 15px;}

#maincontent .blog_post{ text-align:left;}
#maincontent .blog_post h4 a{color:#03a9f5; text-decoration:none;font-size:22px; color:#03a9f5; line-height:1.1; margin-bottom:22px;}
#maincontent .blog_post a.more{font-size:10px; color:#FFF; background:#12af52; display:inline-block; padding:8px 24px; text-transform:uppercase; border-radius:5px; text-decoration:none; box-shadow:0px 0px 1px #234120 inset;}
#maincontent .blog_post a.more:hover{}
.section_subcontent.col-lg-9 p:last-child{ display:inline-block;font-family:"Raleway Medium"; background:#d3201f; padding:5px 15px !important; color:#fff !important; font-size:15px; border-radius:3px; }
.section_subcontent.col-lg-9 p:last-child a{color:#fff !important;text-decoration:none !important;}
.section_subcontent.col-lg-9 p:last-child a:hover{ text-decoration:none;}
.section_subcontent.col-lg-4 p:last-child{ color:#d42827 !important; font-size:12px;font-family: 'latobold'; text-transform:uppercase;}
.section_subcontent.col-lg-4 p:last-child a{ color:#d42827 !important; font-size:12px; text-decoration:none !important;}


/*admin **********************************/
#maincontent.admin {
  max-width: 90%;
}
/*My Account **********************************/
#maincontent.user_dashboard.full_width {
  padding:0px 30px;
}
#maincontent.user_dashboard ul.my_profile_summary h4 {
  float:none;
  text-align:left;
}

/************** Calendar *******************/
#maincontent.cal{ max-width:866px; width:100%; margin:0px auto; float:none; clear:both;}
#maincontent.cal h2{ text-align:center;}

.featured_article{ background:none; padding:64px 0px;}
.featured_article > div{}
.content_body, .content_title { max-width:920px; margin:0px auto;}
.featured_article.even{ background:#f0efef; position:relative;}
.featured_article.even:after{ position:absolute; display:block; content:""; width:100%; left:0px; bottom:-13px; height:26px; background:url(../images/boder_design.png) no-repeat top center;}
.featured_article.even:before{ position:absolute; display:block; content:""; width:100%; left:0px; top:-13px; height:26px; background:url(../images/boder_design.png) no-repeat top center;}
.home .featured_article.even{ background:none; position:static;}
.home .featured_article.even:after,
.home .featured_article.even:before{ display:none;}
.home .featured_article.odd{ position:relative; background:#f0efef;}
.home .featured_article.odd:after{ position:absolute; display:block; content:""; width:100%; left:0px; bottom:-13px; height:26px; background:url(../images/boder_design.png) no-repeat top center;}
.home .featured_article.odd:before{ position:absolute; display:block; content:""; width:100%; left:0px; top:-13px; height:26px; background:url(../images/boder_design.png) no-repeat top center;}
.pad-helper .featured_article:nth-last-child(2) {
    margin-bottom: 0px;
}
.pad-helper .featured_article:nth-last-child(2):after {
  display: none;
}

.fck_widget_contact{ background:url(../images/boder_design.png) no-repeat top center; padding-top:50px; margin-top:62px;}
.contact_form label{ color:#666; margin-bottom:14px; font-family: 'latoregular'; font-size:24px; width:100%; text-align:center; float:none; padding-left:0px; font-weight:normal;}
.contact_form input{-webkit-appearance: none; font-family: 'latoregular'; border-radius:0px; border:1px solid #cccccc; box-shadow:none; text-align:center; background:#f1efef; font-size:19px; width:100%; float:none; display:block; color:#999; font-weight:normal; padding:22px 20px; margin-bottom:22px !important;}
.contact_form textarea{-webkit-appearance: none; font-family: 'latoregular'; border-radius:0px; border:1px solid #cccccc; box-shadow:none; background:#f1efef; font-size:19px; width:100%; display:block; float:none; color:#a5a0a0; font-weight:normal; padding:20px 20px; margin-bottom:26px; height:178px; text-align:left;}
.contact_form input.submit{ cursor:pointer; float:none; font-size:20px; color:#FFF;font-family:"Raleway Medium"; background:#d3201f !important; width:auto !important; display:inline-block; padding:12px 25px; text-transform:uppercase; border-radius:3px; text-decoration:none; border:0;-webkit-appearance: none;}
.contact_form > fieldset > div{ max-width:620px; margin:0px auto; text-align:center;}



.newsletter{ background:url(../images/bg_section_top.png) center 10px no-repeat; padding-top:48px;}
.newsletter_content{ width:540px; margin:0 auto;max-width:100%;}
.newsletter_content p{ line-height:1.3;}
.featured_article .newsletter_content input{-webkit-appearance: none; border-radius:42px; border:1px solid #03a9f5; box-shadow:none; text-align:center; background:none; font-size:19px;font-family: 'droid_sansregular'; width:100%; display:block; color:#a5a0a0; font-weight:normal; padding:13px 10px; margin-bottom:26px; margin-right:0; margin-left:0px}
.featured_article .newsletter_content input.go_button{  background:#12af52 url(../images/sign_up_but.png) no-repeat 0px 0px; display:inline-block;  border-radius:6px; border:0;-webkit-appearance: none; width:auto; margin:0px auto; width:156px; height:39px;}
.featured_article .newsletter_content fieldset{ text-align:center;}

#maincontent.full_width{ width:100%; float:none;max-width:100%;margin:0px auto;}
#maincontent .fck_widget_month_calendar_condensed{ background:url(../images/icon_calendar.png) no-repeat top center; padding-top:120px;}

#maincontent .fck_widget_quotes blockquote{ background:url(../images/bg_blockquote.png) no-repeat top center; color:#333; font-size:18px;font-family: 'Lato-Medium'; padding-left:0px; padding-right:0px; padding-top:80px;}
#maincontent .fck_widget_quotes blockquote p{font-family: 'latolight_italic'; color:#d21d1c; font-size:36px;}


.gr-textarea-btn.gr-textarea-btn_errors{ display:none !important;}

.featured_article .content_button {
  float:right;
}
/************************* register **********************/
#maincontent.register {
  max-width: 1000px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0px auto;
  float: none;
  padding-top: 35px;
}
#maincontent .registration ul li h4 {
  float:none;
  display:inline-block;
}
/***************** calendar *******************/
.table-responsive{ overflow-x:inherit;}
table.calendar{}
table.calendar th{ font-size:22px;font-family: 'latoregular'; text-transform:uppercase; background:#e6e6e7; border-color:#fff; border-style:solid; border-width:2px; padding:10px 5px;}
.table-responsive table.calendar th:first-child{ background:#818285; color:#fff;}
.table-responsive table.calendar th:last-child{ background:#818285; color:#fff;}
table.calendar td{ background:#f5f6f7; width:14.28%; border-color:#fff; border-width:2px; border-style:solid;font-family: 'Lato-Medium'; padding:5px;}
table.calendar td div.daywrap{ width:100%;}
table.calendar td.today,
table.calendar td:hover{ background:#e7e8e8;}


.fck_widget_week_calendar{ max-width:790px; margin:0px auto;}
.week_calendar_table > tbody > tr > td{ display:block; margin-bottom:40px; width:100% !important;}
.week_calendar_header{font-family: 'latoregular'; color:#d21d1c; font-size:24px;}
.week_calendar_header *{ display:inline;}
.week_calendar_header .week_calendar_sedra_holiday{ color:#333333; font-family: 'latobold';}


/***************** slider *********************/
.royalSlider{ width:100% !important;}
.rsDefault .rsOverflow{ width:100% !important; position:static !important;}
.rsDefault .rsArrowIcn{ background-color:inherit !important; margin:0px !important;}
.rsDefault .rsArrowIcn:hover{ background-color:inherit !important;}
.rsDefault.rsHor .rsArrowLeft .rsArrowIcn{ background-position:left top !important; left:20% !important; background:url(../images/bg_rsArrow.png) no-repeat; width:17px; height:29px;}
.rsDefault.rsHor .rsArrowRight .rsArrowIcn{ background-position:right top !important; left:auto !important; right:10px !important; background:url(../images/bg_rsArrow.png) no-repeat; width:17px; height:29px;}
.rsHidden{ opacity:1 !important; visibility:inherit !important;}
.members_slider{ position:relative;}
.members_slider .royalSlider.slider_0{ margin:0px auto; position:absolute; left:-999em; top:0px;}


.rsDefault .rsBullets{ display:none;}

.rsGCaption{ position:absolute; text-align:left !important; color:#fff; z-index:3; background:#000; width:50% !important; padding-left:40px; padding-right:40px; height:100%;top:0px; right:0px; display:table;}
.rsGCaption .slider_content{ display:table-cell; vertical-align:middle;}
.rsGCaption .slider_title{ font-size:38px;font-family:"Raleway Medium"; display:block; margin-bottom:10px;}
.rsGCaption .slider_description{ font-size:20px;font-family:"Raleway"; display:block; margin-bottom:30px;}
.rsGCaption .slider_link{ background:#d3201f;font-family:"Raleway Medium"; font-size:20px; display:inline-block; padding:12px 20px; border-radius:4px;}
.rsGCaption .rsTmb{ display:none !important;}

.sy-pager li.sy-active a {
  background:#d3201f!important;
}


/*************** sidebar_right *************/
#sidebar_right{ display:none;}

/********************* event page ******************/
body.event #maincontent {
  width:1160px;
  padding-left:20px;
  padding-right:20px;
  float:none;
}



/****************  Footer *****************/
#footer{ padding-top:32px; padding-top:0px; height:auto; margin:0; width:100%; position:relative; color:#333; font-size:18px;font-family: 'latoregular';}
#footer:before{ content:""; width:100%; position:absolute; left:0px; top:-13px; height:26px; background:url(../images/boder_design.png) no-repeat center top; display:block;}
#footer .footer_inner{ background:#f0efef; padding:36px 0px 20px;}
#footer a{ color:#333; font-size:18px; text-decoration:none;}
#footer a:hover{ color:#333; text-decoration:underline;}
#footer p{ color:#333; font-size:18px;font-family: 'latoregular';}
#footer p.global_terms_links {
  margin-bottom: 7px;
}
#footer p.copyright {margin-bottom: 0px;}



table.calendar_header_date th.month_header{ text-align:center; color:#aaa9a9; background:none !important;}
table.calendar_header_date:hover{ background:none;}
table.calendar.calendar_main th{ background:#f2f2f2; text-align:center; color:#666666}
table.calendar td span.day{ display:block; width:auto; height:auto; margin-right:0px; border:0; line-height:1; font-size:22px; text-align:left; color:#818285; background:none; float:none; margin-bottom:5px;}
table.calendar td span.jewishDay{ font-style:normal; font-size:14px; color:#818285;}
table.calendar td div.dayhead{ text-align:left;}
table.calendar td div.dayhead a{text-decoration:none}
table.calendar td div.dayhead a:hover{ text-decoration:none;}
table.calendar td div.sedra{ text-align:left; color:#818285; font-weight:normal;}
#maincontent table.calendar td ul{ margin-left:0px;}
#maincontent table.calendar td ul li{color:#818285;}

#maincontent .fck_widget_month_calendar_condensed table.calendar th{ border-color:#dedddc; color:#12af52;}
#maincontent .fck_widget_month_calendar_condensed table.calendar td{ border-color:#dedddc; }
#maincontent .fck_widget_month_calendar_condensed table.calendar td div.dayhead{ background:none !important;}
#maincontent .fck_widget_month_calendar_condensed table.calendar td div.dayhead a span{ color:#8f8f8f;}


@media (max-width:1200px){
  #header #header_inner{ max-width:960px;}
  #sidebar_left{ max-width:960px;}

}


@media (max-width:1024px){
  .inner,
  #sidebar_left,
  #header #header_inner,
  .content_body{ max-width:748px;}
  #nav_section{ max-width:748px; width:100%;}
  .banner_inner{ width:748px; margin-left:-374px; padding-left:15px; padding-right:15px;}
  #img_div{ width:100%; position:static; text-align:center; height:auto; padding-top:20px; padding-left:10px; padding-right:10px;}	
  #img_div > a{ display:inline-block;}
  #mainnav{ float:none; text-align:center;}
  #nav_section{ display:inline-block;}

  body.school_enrollment #maincontent, body._404 #maincontent, body.login #maincontent, body.set_password #maincontent, body.payment #maincontent {
    max-width: 100%;
  }
}
@media (min-width: 768px){
  #mainnav{ 
    display:block !important;
    max-width:80%;
    text-align:right;
  }
  .rsContainer .rsSlide>div {
    height:100%;
  }
  .rsDefault .rsImg {
    margin-left:0px!important;
    margin-top:0px !important;
    height: 100% !important;
    width: auto!important;
  }

}
@media (max-width: 767px){
  .inner,
  #sidebar_left .sidebar_left_inner,
  #header #header_inner,
  .content_body{margin-left:20px; margin-right:20px; width:auto;}
  #img_div{padding-left:0px; padding-top:20px; padding-bottom:20px;}

  #nav_section>li:last-child a{ padding:14px 20px 12px 20px;}
  #nav_section>li:last-child{ margin-left:5px;}
  #nav_section>li:nth-last-child(4) a, 
  #nav_section>li:nth-last-child(3) a, 
  #nav_section>li:nth-last-child(2) a{ margin-left:5px;}


  #mobile_nav_dropdown{ display:none !important;}
  #header{background:url(../images/bg_header.png) center top repeat-x; height:53px;}
  #header #header_inner{ height:100% !important;}

  #sidebar_left{ position:relative; width:auto;}
  #topnav{ display:block;}
  #mainnav{ width:100%; z-index:300; display:none; }
  #nav_section{ text-align:center; margin-top:0px;}
  #nav_section li{ display:block;}
  #nav_section li a{ text-align:center;}
  #nav_section li:nth-last-child(4), 
  #nav_section li:nth-last-child(3), 
  #nav_section li:nth-last-child(2), 
  #nav_section li:last-child{ display:inline-block;}
  #nav_section li:nth-last-child(4){ margin-left:0px;}


  #header #header_inner .hosted_by_text{ display:none; }
  #header #header_inner #header_buttons{ height:100%; top:10px; }
  #header #header_inner #header_buttons > div#header_login_button{ text-align:left; display:block; background:url(../images/bg_mobile_header_top_right_link.png) center center no-repeat; text-indent:-999em; width:28px; height:100%; border:0;}
  #header_login_menu{ width:100%; left:0px !important; top:53px !important;}
  #header_login_menu form.head_signin hr.login_dropdown_line{ margin-left:0px !important; width:auto !important; margin-top:0px;}
  #header_login_menu form.head_signin input{border: 1px solid #cfcfcf; background:#fff !important;}

  .featured_article.even::before,
  .featured_article.even::after,
  .home .featured_article.odd::before,
  .home .featured_article.odd::after,
  #footer::before,
  #maincontent h1::before{ background:url(../images/mobile_boder_design.png) no-repeat center center;}
  .fck_widget_contact{ background:url(../images/mobile_boder_design.png) no-repeat top center;}

  .royalSlider{ height:400px !important;}
  .rsOverflow{ height:100% !important;}

  .section_subcontent{ text-align:center !important;}
  .section_subcontent p{ text-align:center !important;}
  .fck_widget_week_calendar table.week_calendar_table > tbody > tr > td{ text-align:center;}


  .calendar_day_view{ margin-bottom:0;}
  #maincontent.cal h2{ font-size:26px; line-height:30px;}
  #nav_section li ul{ position:static; display:block !important; height: auto;}
  #nav_section li ul li{ width:auto; display:block !important; background:none;}
  #nav_section li ul li ul{display:block !important; }
  #nav_section li ul li a{ display:block;padding-left:25px; color:#24448f}
  #nav_section li ul li ul a{ padding-left:50px;}
  #nav_section li ul li ul ul a{padding-left:75px;}
  #nav_section li ul li a:hover{ color:#fff; background:#1fb053}

  .rsDefault .rsGCaption {
    background:none;
  }
  .rsDefault .rsGCaption  .slider_description {
    font-size:16px;
    text-shadow: 1px 1px 6px #000;
  }
  .rsDefault .rsSlide > div {
    height:100%;
  }
  .rsDefault .rsImg {
    margin-left:0px!important;
    margin-top:0px !important;
    height: 100% !important;
  }
  /* slippry slider */
  #maincontent .sy-slides-wrap, #maincontent .sy-slides-crop, #maincontent .sy-list {
    padding-bottom:50px;
  }
  .home .fck_widget_slider .sy-slide>img {
    transform: scale(2);
    -ms-transform: scale(2);
     -webkit-transform: scale(2); 
    -o-transform: scale(2);
    -moz-transform: scale(2);
  }
}

@media (max-width: 570px){
  #img_div{ position:static; background:none; width:100%; border:0; box-shadow:none; height:auto; margin-bottom:20px;}
  #sidebar_left .bt{ display:none;}	
  #sidebar_left .sidebar_left_inner{ height:auto; text-align:center; padding-bottom:20px;}
  .content_body{ text-align:center;}
  .featured_article{ padding:45px 0px;}

#nav_section li a {
  text-align:left;
}
#nav_section li:nth-last-child(4), #nav_section li:nth-last-child(3), #nav_section li:nth-last-child(2), #nav_section li:last-child {
  display:block;
}
  #nav_section > li:last-child{ display:block; margin-top:15px; margin-right:15px; margin-left:15px;}

  #maincontent .fck_widget_slider{ overflow:inherit;}
  .royalSlider{ height:220px !important;}
  .rsGCaption{ width:100% !important; text-align:center !important;}
  .rsGCaption .slider_title{ font-size:26px;}
  .rsGCaption .slider_description{ font-size:14px;}
  .rsGCaption .slider_link{ font-size:14px; padding:5px 10px;}



  #content #maincontent.cal .calendar_day_view h2{ background:#12af52 !important;}
  #maincontent.cal h2{ font-size:18px; line-height:24px;}

  .top_links {
    position:absolute;
    left:50%;
  }

}