@media screen and (min-width: 1300px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: calc(1280px + 40px); }
    .container--lg { max-width: calc(1400px + 40px); }
}
/*MIN 1300 ENDS*/

@media screen and (min-width: 992px) {
    .site-menutoggle { display: none; }    
    
    .headernav .menu-arrow { display: none; }
    
    .headernav .menu-item-has-children { position: relative; }
    
    .headernav .menu-item-has-children > a::after {
        display: inline-block;
        font-family: 'mg';
        content: "\e907";
        font-size: 7px;
        font-weight: normal;
        padding-left: 8px;
        margin-top: -1px;
        vertical-align: middle;
    }
    

    .headernav .sub-menu {
        display: block;
        position: absolute;
        left: -20px;
        top: calc(100% + 30px);
        min-width: 200px;
        max-height: calc(100vh - 120px);
        padding: 10px 0;
        margin: 0;
        background: var(--lightyellow);
        border-radius: 10px; 
        box-shadow: 0px 0px 30px rgb(127 137 161 / 25%);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 99;
    }

    .headernav a {
        background-image: linear-gradient(90deg, var(--primary), var(--primary));
        background-position: center bottom;
        background-size: 0 2px;
        background-repeat: no-repeat;
        transition: color 0.3s ease-in-out, background-size 0.2s ease-in-out
    }

    .headernav a:hover { background-size: 100% 2px; }

    .headernav .sub-menu a { color: var(--primary); background-position: left bottom; }

    .headernav .menu-item-has-children:hover > .sub-menu { opacity: 1; top: 100%; visibility: visible; }

    .headernav .sub-menu > .menu-item-has-children > .sub-menu { top: 0; left: 100%; transform: translate(20px, -10px); }

    .headernav .sub-menu > .menu-item-has-children:hover > .sub-menu { top: 0; left: 100%; transform: translate(2px, -10px); }

    .headernav .sub-menu a { display: block; font-size: 16px; line-height: 26px; padding: 6px 15px; white-space: nowrap; }

    .headernav .sub-menu .menu-item-has-children > a { display: flex; align-items: center; justify-content: space-between; }

    .headernav .sub-menu .menu-item-has-children > a::after { padding: 0; margin-left: 10px; transform: rotate(-90deg); }

}
/*MIN 992 ENDS*/

@media screen and (max-width: 1199px) {
    .headernav { column-gap: 20px; }
    .mgp-cont { padding-left: 0; }
    section.section { --padds: 100px; }
    .bgart-btm, .bgart-topbtm { background-size: auto 35px; }
    .section-head { margin-bottom: 60px; }
    .galls img { width: auto; height: 380px; }
    .mgmap { --btmoffset: 35px; }
    .mgmap iframe { height: 420px; }
    form { --fieldpadds: 0 20px; }
}
/*1199*/

@media screen and (max-width: 1023px) {
    .mgvid-lg { display: none; }
    .mgvid-sm { display: block; }
}
/*1023*/

@media screen and (max-width: 991px) {
    body { font-size: 16px; line-height: 20px; }
    .font-24 { font-size: 22px; }
    .site-header .container { width: 100%; max-width: 100%; }
    .section-head { margin-bottom: 40px; }
    
    .colheadleft {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: auto;
        flex: 1 0 auto  ;
    }

    .colheadright {
        --topOffset: 100px;
        position: fixed;
        left: 0;
        top: var(--topOffset);
        display: none;
        /*
        font-size: 18px;
        line-height: 28px;
        */
        width: 100%;
        height: calc(100vh - var(--topOffset));
        padding: 0px;
        background: var(--lightyellow);
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 100;
    }
    
    .siteheader-sticky .colheadright { --topOffset: 70px; }
    .headernav { display: block; }
    .headernav .sub-menu { display: none; left: 0%; top: auto; width: 100%; background: #f4f1ea; transform: translateX(0%); }
    .headernav .sub-menu .sub-menu { background-color: #f9f6f0; }
    .headernav li { margin-left: 0; margin-right: 0; border-bottom: 1px solid #e4ded2; }
    .headernav > li, .headernav .sub-menu > li  { display: flex; flex-wrap: wrap; padding: 0; }
    .headernav a { font-size: 16px; color: var(--primary); }
    .headernav > li > a, .headernav .sub-menu > li > a { flex: 1 0 auto; padding: 12px 15px; }
    .headernav .sub-menu > li:first-child { border-top: 1px solid #e4ded2; }
    .headernav .sub-menu > li > a { max-width: 100%; padding-left: 25px; }
    .headernav .sub-menu .sub-menu > li > a { padding-left: 35px; }
    .headernav .icon-angle-down { font-size: 9px; line-height: 47px; width: 46px; height: 100%; text-align: center; color: var(--primary); }
    .headernav .icon-angle-down::before { display: inline-block; transform: rotate(0deg); vertical-align: middle; transition: 0.3s ease-in-out; }
    .headernav .icon-angle-down.open { background-color: var(--gray); }
    .headernav .icon-angle-down.open::before { transform: rotate(180deg); }
    .headernav > li.menu-item-has-children > a, .sub-menu >li.menu-item-has-children > a { flex: 1 0 calc(100% - 46px); max-width: calc(100% - 46px); }
    .colheadright .bttn { display: none; }
    .headernav a:hover, .headernav .current-menu-ancestor>a, .headernav .current-menu-parent>a, .headernav .current-menu-item>a { color: var(--primary-a); }

    .mgp-media { text-align: center; }
    .galls img { width: auto; height: 320px; }
    section.abtus { --botsetup: 200px; }
    .sponsors .section-head { margin-top: 0; }
    .sponsors .scroller-inner { gap: 30px; }
    .mgmap iframe { height: 400px; }
    .mginq-media img { display: block; margin-left: auto; margin-right: auto; width: 460px; }
    .socialnav, .partlist { column-gap: 20px; }
}
/*991*/

@media screen and (max-width: 767px) {
    section.section { --padds: 80px; }
    h1, .h1, h2, .h2 { --fsize: 44px; }
    h3, .h3 { --fsize: 28px; }
    .font-24 { font-size: 20px; line-height: 26px; }
    .mgp-item-2, .mgp-paynow { gap: 20px; }
    section.abtus { --botsetup: 160px; }
    .mginq-media img { width: 400px; }
    .socialnav { justify-content: center; }
}
/*767*/

@media screen and (max-width: 575px) {
    h1, .h1, h2, .h2 { --fsize: 40px; }
    .mgp-item-2 { flex-wrap: wrap; row-gap: 20px; }
    .mgp-item + .mgp-item { margin-top: 20px; }
    .mgp-paynow { padding-top: 20px; }
    .mgp-icp { width: 100%; }
    .mgp-icp span { flex: 1 0 calc(100% - 24px); max-width: calc(100% - 24px); }
    .mgseparator { height: 24px; width: auto; }
    .mgp-paynow { flex-wrap: wrap-reverse; }
    .galls img { width: auto; height: 280px; }
    .faqsec h2 .icon-down { font-size: 12px; }
    .mginq-media img { width: 330px; }
}
/*575*/

@media screen and (max-width: 459px) {
    h1, .h1, h2, .h2 { --fsize: 38px; }
    h3, .h3 { --fsize: 26px; }
    .font-24 { font-size: 18px; line-height: 24px; }
    section.section, footer.section.site-footer { --padds: 60px; }
    .mgp-paynow .bttn { width: 100%; }
    .bgart-btm, .bgart-topbtm { background-size: auto 28px; }
    .galls img { width: auto; height: 220px; }
    section.abtus { --botsetup: 120px; }
    .mgmap { --btmoffset: 28px; }
    .socialnav a { --socSize: 50px; font-size: 18px; }
}
/*459*/

@media screen and (max-width: 375px) {
}
/*375*/