﻿@media only screen and (max-width: 1023px)
{
    .photogallery_panel {
    overflow: auto;
    width: 100% !important;
}
    .Inner_page_text {
    overflow: scroll;
}
    .headerPersonnel {
    background-size: 100%;
}
    .tCenter img {
    width: 100%;
}
	/*only for Menus*/
.nav{display:none}
#menu_mob{box-sizing:border-box;border:1px solid #fff;width:calc(99.9%);display:block;background:#2f190d url(/images/menu1.png) center center no-repeat;text-align:center;color:#fff;font-size:20px;height:45px}
.nav{margin:0; padding-top:0}
    .nav a .inner_menu
    {text-align:center;
    }

.nav a span{width:auto}
.nav ul > li{width:100%;background:#432919;border-bottom:1px solid #fff}
/*.nav ul > li:nth-child(4){display:none}*/
.nav li a .nav_text{border-left:none}
.nav li:nth-child(3) a .nav_text{border-right:none}
.nav li:last-child a .nav_text{border-right:none}
.nav li:first-child a .nav_text{border-right:none}
.mobile_logo{background:url(../images/mobile_logo.jpg) top center no-repeat #2B190D;height:163px;display:block}
.header_back{float:none}
.header_back{background-size:100% 100%;height:auto}
.nav ul > li{width:100%;}
.nav li ul:last-child{width:100%;}
.nav a .inner_menu{padding:0 0 0 12px; box-sizing: border-box;}

.button{width:0} /*only for inner pages buttons*/

.nav li ul{position:inherit;}
.nav ul > li{position:inherit;}


.ajax__calendar_container{ position:absolute !important; z-index:999999999 !important;}
	
	}



@media only screen and (max-width: 767px) {
.Inner_left_section img {
    max-width: 100%;
}
    .EventDate, .lblUpdatedOn, .Gtotalphotos, .lblTitle{ text-align:center !important;}
.container_md{width:auto!important}

.Inner_page_heading{display:block;text-align:center}
#JrDisc ul{ padding-left:0px;}

.Inner_left_section{float:none}
.Left_table,.Right_table{width:100%}
.Inner_page_image{padding:0}
img.Inner_page_image img {
    max-width: 100%;
}
.Inner_page_section{text-align:center}
.Sub_heading{text-align:center;display:block}
.Designation{display:block}
.Inner_page_content{padding:20px 0}
#JrDisc li{width:100%}
#JrDisc ul li{width:100%}
.footer_line{width: 77%; margin-bottom: 14px;}
.footer{background-image:none}
.footer_back{background-image:none}
.Inner_page_section{width:100%;box-sizing:border-box;padding:0}
.copyRight p{margin:2px auto}
.Footer p{padding:0 2%}
.section_divider{background-size:100%;background-repeat:no-repeat}


/*Photogallery responsive*/
.li_gallery{ width:100%; margin:10px 0;}
.gallery_main_Imgcnt{width:100%;}
.heading_album{text-align: center; padding-left:0px;}
.photo-album-details{width:100%; padding:26% 0;}
.photo-Repeater2{height:auto; max-height: 153px;}
.photo-gallery-button{width:100%; float:none; display:block;}
.album-pager-in{display:inline-block;}
.photo-Repeater2 img{width:auto;  height: auto; max-height: 150px;}
.photo-lblPages2{width: 100%;text-align: left;}
.photo-lblPageCountTop{margin-left:0px;}
.PagerfirstDisabled,.PagerPreviousDisabled{padding:0px;}
.PagerPageLink a,.PagerCurPage{padding:0 5px;}
.album-pager-in{line-height:35px; text-align:center;width: 100%;}
.PagerNext{padding:0px;}
.photo-gallery-button td{text-align:center; display: inline-block;}
.photo-gallery-button table td:last-child {display:inline-block !important;}
.photo-gallery-button{margin-right:0}
.lblmsg{margin-top:0}
.PagerPrevious{padding-right:0}
.PagerPreviousDisabled{margin-right:4px;}

.searchform > td{ display:inline-block; margin:10px;}
td.searchfield{width:95%; margin: 5px 0; float:left; }
.searchform .searchbutton{margin:5px 10px; text-align:center;}


/*Photogallery responsive end*/

/*Contact us responsive*/
.contact-us-main{width:100%;}
.contact-us-formfield{width:100%;}
.Txt_bx{padding:0 2px;}
.captchaInput{width:32%;}
.captcha-img{max-height:100%; max-width:100%;}
.captcha-refresh{max-height:100%;max-width:100%;}
.captchaRefresh{width:27%;}
.captchaInput input{font-size: 9px;}
ul.submitReset li{width: auto; margin:5px 0;}

.contact-us-formfield input[type="submit"], .contact-us-formfield input[type="reset"]{line-height:25px;}



/*-----------------------------Contact us responsive end*/

/*Site Map Responsive---------*/
.container_md > td{ display:block;}
/*.siteTable tr td {
   display: inline-block;
   width: 96%;
}*/


/*-------------end------------*/

/*Reach us page*/
.srch{display:none;}

/*Reach us page end*/


/*Guestbook page */

.contact-main-sub{width:100%; height:auto;}
ul.guest_submitReset li{width:auto;}

.gb-repeater{width:100%;}
/*Guestbook page  end*/
.container_md fieldset legend{white-space: normal;}
.gallery_btns td{ display:inline-block;}
.ob_show_panelsholder{ width:100% !important;}
.ob_show_panel img{ max-width:98%; border: 1px solid #353535 !important;}
.main-image-show{ margin-left:0;}
.Show2 { width: 100%;}
}

@media only screen and (min-width: 568px) and (max-width:767px) and (orientation : landscape)
{
	 .li_gallery{width: 45% !important;}
	.album-pager-in{width:49%;}
	.album-pager-in{width:auto; display: table-cell; text-align: left;}
	
	.gb-repeater{width:100%;}
	
	
	/*Site Map responsive*/
	
	.container_md > td{ display:inline-block; width:30%;}
	.button{max-width:100%;}
	
	/*.siteTable tr td {   display: inline-block;   width: 100%;
}*/
		
	/*--------end---------*/
	
	/*Reach us page*/
.srch{display:none;}
/*Reach us page end*/


/*Calander*/
.ajax__calendar_container{ position:absolute !important; z-index:999999999 !important;}
.li_gallery .disply-photo-path{ height:auto !important;}

	}


@media only screen and (min-width: 768px) and (max-width: 1023px) {

.container_md{width:100%!important}

.section_divider{background-size:100%;background-repeat:no-repeat}
.footer{background-image:none}
.footer_back{background-image:none}
.album-pager-in{width:auto;}
.li_gallery{width:40% !important; margin:6px 1%;}
.contact-main-sub{height:auto;}

.ajax__calendar_container{ position:absolute !important; z-index:999999999 !important;}
.main-image-show{margin-left: 21px;}




}


@media only screen and (min-width:1024px) {
.header_back{background-size:100% 100%;height:200px}
.master_logo{margin-left:4%}
/*.nav{margin-left:14%}*/
.section_divider{background-size:100%;background-repeat:no-repeat}
.nav ul > li{width:13.6%;}
}
@media only screen and (min-width:990px) and (max-width: 1024px) {
    .container_md{width:100% !important;
}

@media only screen and (min-width:1024px) and (orientation : landscape)
{
   
 .master_logo {margin-left: 7%;}
 .header_back {background-size: 100% 100%;}
	}
	
	@media only screen and (max-width: 768px){

.mobFooterDivider{ display:block; background-size: auto;
margin-bottom: 20px; background-position: center center;}

.ajax__calendar_container{ position:absolute !important; z-index:999999999 !important;}

}

	@media only screen and (max-width: 568px){
	ul.submitReset {
    float: left;
    width: 100%;
    text-align: center;
    margin-top: 6px;
}
}
@media only screen and (max-width: 480px){
.lblperpage table td, .album-pager-in{ display:inline-block !important; width: auto; margin: 5px 0;}
.photo-lblPages2 {min-width: 250px !important;}
.photo-gallery-button table td{display:inline-block !important; width: auto; }
.main-subhead-disply ul{ margin:0; padding:0;}
.disply-thumb .li_gallery{margin: 7px 0px; width: 100%;}
}
}


@media (max-width:1200px){
    .Inner_page_content{
        padding: 20px 26px;
    }
}

@media(max-width:992px){
    .menu-bx.inner-nav nav{
        height: 46px !important;
    }
    .master-logo{
        margin-top: 8px;
    }
    .Inner_page_content{
        padding: 16px;
    }
}