﻿@media screen and (max-width:1366px) {
.footer_secin,
.top_secin {
    width: 910px;
}

}
@media screen and (min-width:0px) and (max-width:480px) {
    .logo_div a {
        float: unset;
    }

    img.apjlogo {
        position: relative;
        top: -5px;
    }

    img.mas_img2 {
        float: unset;
        margin: 0 auto;
        display: block;
        text-align: center;
        padding: 0 0 10px 0;
    }

    .all_heading {
        width: 100%;
    }

    .not_h {
        height: 24px;
        overflow: hidden;
        text-align: left;
    }

    .not_dis {
        height: 18px;
        overflow: hidden;
    }

    .msg_txtbx {
        min-height: 510px;
    }

    .toper_in {
        width: 100%;
    }

    .xstu_left,
    .xiistu_left,
    .stu_left {
        left: 0;
    }

    .xstu_right,
    .xiistu_right,
    .stu_right {
        right: 0;
    }

    iframe.desk_logo {
        display: none;
    }

    iframe.desk_logo_mob {
        display: block;
    }

    .logo_div {
        display: block;
    }

    .logo_mob {
        display: none;
        width: 100%;
        text-align: center;
    }

    .contactInfo li {
        width: 98%;
    }

    .contactCtp {
        max-width: 190px;
    }

    .mobapp_r ul li a img {
        max-width: 90px;
    }

    .voice_sms {
        overflow-x: auto;
    }

    .not_bx {
        width: 100%;
        min-width: 300px;
        text-align: left;
    }

    .aero_bx {
        width: 30% !important;
    }

    .maryward img {
        float: none;
        margin: 0 auto;
        display: inherit;
    }

    .caption {
        display: none;
    }

    .gal_updated {
        width: 100%;
    }
}

@media screen and (min-width:481px) and (max-width:767px) {
    .flexslider .flex-control-nav {
        bottom: 22%;
    }

    .about_in {
        text-align: center;
    }

    .about_in img {
        float: none;
    }

    .about_in p {
        text-align: justify;
    }

    .xstu_left,
    .xiistu_left,
    .stu_left {
        left: 0;
    }

    .xstu_right,
    .xiistu_right,
    .stu_right {
        right: 0;
    }

    .stu_bday {
        width: 48%;
        margin: 0 auto;
        float: none;
        display: inline-block;
    }

    .msg_txt {
        height: auto;
        min-height: 200px;
    }

    .logo_div {
        display: none;
    }

    .logo_mob {
        display: block;
        width: 100%;
        text-align: center;
    }

    .contct_textCtp {
        min-width: 218px;
    }

    .contactCtp {
        width: 220px;
    }

    .maryward2 p {
        max-width: 250px;
    }

    .gallery-searchA .lastli>div {
        float: left !important;
    }

    .not_bx {
        width: 100%;
        min-width: 260px;
        text-align: left;
    }

    .notice_slid ul li {
        margin-right: 14px;
    }

    .not_h {
        height: 24px;
        overflow: hidden;
    }
}

@media screen and (min-width:0px) and (max-width:767px) {
    img.apjlogo {
        margin-bottom: 8px;
    }

    .header {
        width: 100%;
        position: relative;
        opacity: 1;
    }

    .logo_sec {
        position: relative;
        width: 100%;
        margin: 0px;
        height: auto;
    }

    .logo_sec:before {
        display: none;
    }

    .social_icon {
        padding: 15px 0px 8px 0px;
    }

    .flash_tabmob {
        display: block;
        position: relative;
        margin: 0;
    }

    ul.flas_tab2 {
        top: 0;
        width: 100%;
        position: relative;
        margin: 0;
        margin-top: 12px;
        left: 0;
    }

    iframe.mob_landscape {
        max-width: 550px;
    }

    .menu {
        display: none;
    }

    .menu_bx {
        width: 100%;
        float: left;
        margin: 0;
    }

    .menu-icon {
        display: block;
        text-align: center;
        padding: 9px 0px;
        box-sizing: border-box;
        height: 40px;
        border-bottom: 1px solid #254524;
        background: #254524;
    }

    .mnu_bar {
        display: block;
        cursor: pointer;
        margin: 0 auto;
    }

    .cross {
        display: none;
    }

    ul.dropmenu li {
        width: 100%;
        border-bottom: 1px solid #a0a0a0;
    }

    ul.dropmenu li a {
        line-height: 40px;
        text-align: center;
    }

    ul.dropmenu li a:hover {
        border-bottom: 1px solid #dc0606;
        font-weight: 300;
    }

    ul.submenu {
        position: relative;
        width: 100%;
        display: none;
        background: #ea2425;
        /*background:none; */
        left: 0;
    }

    ul.submenu li {
        border-bottom: 1px solid #dc0606;
    }

    .abu_us {
        margin-top: 0px !important;
    }

    .galry {
        margin-top: 0px;
    }

    .ext_link {
        margin-top: 0 !important;
    }

    .new_I {
        left: 0px;
    }

    .new_j {
        left: 0px;
    }

    .off_bear,
    .cont_us {
        margin-top: 0px !important;
    }

    ul.dropmenu li:after {
        display: none;
    }

    ul.dropmenu li:hover:after {
        display: none;
    }

    .section_1 {
        display: none;
    }

    .section_2,
    .section_3,
    .section_4,
    .section_5,
    .section_6,
    .section_7 {
        height: auto;
    }

    .slilder_bx {
        padding: 4px;
        float: left;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .slilder_bx_in {
        width: 100%;
        height: auto;
        float: left;
        padding: 10px;
    }

    .main_slider ul li img {
        float: left;
    }

    #main_slider .flex-direction-nav .flex-prev {
        margin-top: 0px;
        background: url(../images/arrow_left.png) no-repeat;
        opacity: 1;
    }

    #main_slider .flex-direction-nav .flex-next {
        right: 0px;
        top: 0px;
        background: url(../images/arrow_right.png) no-repeat;
        opacity: 1;
    }

    .about_sec {
        padding: 10px;
        float: left;
    }

    .about_secin {
        width: 100%;
        height: auto;
        float: left;
    }

    .aero_bx {
        width: 25%;
    }

    .notice_bx {
        height: auto;
        padding: 30px 0px;
    }

    .notice_slid {
        max-width: 100%;
    }

    .read_morebtn {
        text-align: center;
        float: left;
        width: 100%;
    }

    .about_us {
        padding: 30px 0px;
    }

    .about_l {
        width: 100%;
        margin: 0px;
    }

    .about_us .about_l:last-child {
        margin: 0px;
    }

    .primsg_bg {
        height: auto;
    }

    .msg_txtbx {
        width: 100%;
        height: auto;
        position: relative;
        padding: 30px 10px;
        left: 0;
        top: 0;
    }

    #pri_msg .flex-control-nav {
        left: 0;
        bottom: 0;
    }

    .gallery_sec {
        padding: 10px;
        float: left
    }

    .gallery_secin {
        width: 100%;
        height: auto;
        float: left;
    }

    .gallery_bx {
        position: relative;
    }

    .photo_gallery {
        width: 100%;
    }

    .aero_bx2 {
        width: 100%;
    }

    .photo_left {
        float: left;
        margin-top: 75px;
    }

    .photo_right {
        float: right;
        margin-top: 75px;
    }

    .kids_corner {
        width: 100%;
    }

    .kids_corner_bx {
        position: relative;
    }

    .kids_left {
        float: left;
        margin-top: 75px;
    }

    .kids_right {
        float: right;
        margin-top: 75px;
    }

    .top_sec {
        padding: 10px;
        float: left
    }

    .top_secin {
        width: 100%;
        height: auto;
        float: left;
    }

    .top_bx {
        width: 100%;
    }

    .bday_bx {
        width: 100%;
    }

    .toper_in {
        margin-bottom: 30px;
    }

    .thotsbx {
        height: auto;
    }

    .footer_sec {
        padding: 10px;
        float: left
    }

    .footer_secin {
        width: 100%;
        height: auto;
        float: left;
    }

    .footLbox {
        width: 100%;
    }

    .mob_app p a {
        width: 100%;
        float: left;
    }

    .mob_app p a img {
        width: 100%;
        max-width: 335px;
    }

    .mobapp_l {
        width: 100%;
    }

    .mobapp_r {
        width: 100%;
        margin-top: 0px;
    }

    .mobapp_r ul li {
        margin: 5px;
    }

    .mob_img {
        display: none;
    }

    .copyright {
        padding: 10px;
        float: left
    }

    .copyright_in {
        width: 100%;
        height: auto;
        float: left;
    }

    .mail_us {
        padding: 0px 10px;
    }

    .mas_footer {
        margin-bottom: 0px;
    }

    /*------ master pages -----------*/
    .mas_head {
        padding: 17px 10px 8px 10px;
    }

    #marquee {
        display: block;
    }

    iframe#vitual {
        display: none;
    }

    .heading_master {
        width: 100%;
        float: left;
    }

    .master_center {
        max-width: 100%;
        float: left;
        padding: 25px 0px;
    }

    .conetnt_master {
        padding: 30px 10px;
        box-sizing: border-box;
    }

    .about_school {
        overflow: auto;
    }

    .gb-main-rpt-sub {
        max-width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .gb-main-rpt-sub:nth-child(even) {
        margin-left: 0;
        float: left;
    }

    .gb-main-rpt-sub:nth-child(odd) {
        margin-right: 0;
        float: left;
    }

    .siteMap_b {
        float: none;
    }
}

@media screen and (min-width:768px) and (max-width:990px) {
    .head_bx {
        width: 77%;
    }

    .imp_link {
        width: 80%;
        padding: 0px 10px;
        box-sizing: border-box;
    }

    .download_app {
        width: 68%;
    }

    .top_bday {
        text-align: center;
    }

    .top_bx {
        width: 100%;
    }

    .bday_bx {
        width: 100%;
        max-width: 48%;
        float: none;
        display: inline-block;
        margin-top: 30px;
    }

    .mob_img {
        display: none;
    }

    .footLbox {
        width: 100%;
    }

    .mobapp_l {
        width: 100%;
    }

    .mobapp_r {
        width: 100%;
    }

    .about_school {
        overflow: auto;
    }

    .read_morebtn {
        margin-top: -10px;
    }

    .all_heading {
        text-align: left;
    }

    #pri_msg .flex-control-nav {
        left: 0%;
    }

    .tab_heading {
        width: 100%;
    }

    .photo_gallery {
        width: 100%;
    }

    .kids_corner {
        width: 100%;
    }

    .primsg_bg {
        height: auto;
    }

    .msg_txtbx {
        width: 100%;
        left: 0;
        top: 0;
        position: relative;
        height: auto;
    }

    .msg_txt {
        min-height: 200px;
    }
}

@media screen and (min-width:991px) and (max-width:1024px) {
    .msg_txtbx {
        left: 3%;
        top: 3%;
    }

    .primsg_bg {
        height: auto;
    }

    #pri_msg .flex-control-nav {
        left: 0;
        margin-top: 40px;
    }

    body {
        overflow-x: hidden;
    }
}

@media screen and (min-width:768px) and (max-width:1024px) {
    .header {
        width: 100%;
        position: relative;
        opacity: 1;
    }

    .flash_tabmob {
        display: block;
        position: relative;
        margin: 0;
    }

    ul.flas_tab2 {
        position: relative;
        margin: 0;
        margin-top: 0;
        right: 0;
        float: right;
        top: 35px;
        z-index: 99;
    }

    .section_2 {
        margin-top: 30px;
    }

    .logo_sec {
        position: relative;
        width: 100%;
        margin: 0px;
        height: auto;
    }

    .logo_sec:before {
        display: none;
    }

    .logo_div {
        display: none;
    }

    .logo_mob {
        display: block;
        max-height: 115px;
        width: 100%;
        text-align: center;
    }

    .social_icon {
        padding: 15px 0px 8px 0px;
    }

    .section_1 {
        display: none;
    }

    .section_2,
    .section_3,
    .section_4,
    .section_5,
    .section_6,
    .section_7 {
        height: auto;
    }

    .menu_bx:before {
        display: none;
    }

    .menu {
        display: none;
    }

    .menu_bx {
        width: 100%;
        float: left;
        margin-top: 0;
        padding: 5px 0px;
    }

    .menu-icon {
        display: block;
        text-align: center;
        padding: 6px 0px;
        box-sizing: border-box;
        height: 40px;
        border-bottom: 0px solid #0c357b;
    }

    .mnu_bar {
        display: block;
        cursor: pointer;
        margin: 0 auto;
    }

    .cross {
        display: none;
    }

    ul.dropmenu li {
        width: 100%;
        border-bottom: 1px solid #0c357b;
    }

    ul.dropmenu li a {
        line-height: 40px;
        text-align: center;
    }

    ul.submenu {
        position: relative;
        width: 100%;
        left: 0;
        display: none;
        background: #1b4da2;
    }

    .abu_us {
        margin-top: 0px !important;
    }

    .galry {
        margin-top: 0px;
    }

    .ext_link {
        margin-top: 0 !important;
    }

    .new_I {
        left: 0px;
    }

    .new_j {
        left: 0px;
    }

    .off_bear,
    .cont_us {
        margin-top: 0px !important;
    }

    ul.dropmenu li:after {
        display: none;
    }

    ul.dropmenu li:hover:after {
        display: none;
    }

    .slilder_bx {
        padding: 4px;
        float: left;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .slilder_bx_in {
        width: 100%;
        height: auto;
        float: left;
        padding: 10px;
    }

    #main_slider .flex-direction-nav .flex-prev {
        margin-top: 0px;
        background: url(../images/arrow_left.png) no-repeat;
        opacity: 1;
    }

    #main_slider .flex-direction-nav .flex-next {
        right: 0px;
        top: 0px;
        background: url(../images/arrow_right.png) no-repeat;
        opacity: 1;
    }

    .about_sec {
        padding: 10px;
        float: left;
    }

    .about_secin {
        width: 100%;
        height: auto;
        float: left;
    }

    .notice_bx {
        padding: 30px;
        box-sizing: border-box;
    }

    .about_us {
        padding: 30px;
        box-sizing: border-box;
    }

    .gallery_sec {
        padding: 10px;
        float: left;
    }

    .gallery_secin {
        width: 100%;
        height: auto;
        float: left;
    }

    .top_sec {
        padding: 10px;
        float: left;
    }

    .top_secin {
        width: 100%;
        height: auto;
        float: left;
    }

    .footer_sec {
        padding: 10px;
        float: left;
    }

    .footer_secin {
        width: 100%;
        height: auto;
        float: left;
    }

    .copyright {
        padding: 10px;
        float: left;
    }

    .copyright_in {
        width: 100%;
        height: auto;
        float: left;
    }

    /*---------------- master pages ---------------*/
    .master_center {
        max-width: 100%;
        float: left;
        padding: 25px 0px;
    }

    .conetnt_master {
        padding: 30px 10px;
        box-sizing: border-box;
    }

    .heading_master {
        width: 100%;
    }

    .about_school {
        overflow: auto;
    }

    .siteMap_b {
        float: none;
    }

    .mas_footer {
        margin-bottom: 0px;
    }
}

@media (min-width: 769px) {
    .photo-gallerydiv #filters {
        display: inline-table;
    }

    .photo-gallerydiv .isotope-nav>button {
        margin-right: 4px;
    }

    #week-events>table tr:last-child td {
        border-bottom: none;
    }
}

@media only screen and (max-width: 992px) {
    .photo-gallerydiv .isotope.three-collumn .item {
        width: 50%;
    }
}

@media only screen and (max-width: 1024px) {
    .desktoppan {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .photo-gallerydiv .isotope.three-collumn .item {
        width: 100%;
    }

    .photo-gallerydiv #filters {
        display: grid;
    }
}