﻿
.AccordionPanelContent {
    overflow-y: auto !important;
    background-color: rgba(81, 81, 81, 0.5) !important;
}

    .AccordionPanelContent::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        /* background-color: #3f3f3f; */
    }

    .AccordionPanelContent::-webkit-scrollbar {
        width: 6px;
        background-color: #F5F5F5;
    }

    .AccordionPanelContent::-webkit-scrollbar-thumb {
        background-color: #aaabad;
    }
/*end scroll custom*/
.df_MainContainer {
    /* display: flex !important; */
    /* flex-wrap: wrap; */ 
}

.sidebar-wrapper {
    /* flex: 17%; */
    width: auto !important;
    margin-bottom: 20px;
}

.pnlMain {
    /* flex: 83%; */
    /* width: auto; */
    padding: 5px 20px 5px 20px;
    display: inline-block;
    float: left;
    width: calc(100% - 300px );
}

.sidebar-wrapper {
    -webkit-transition: left .3s ease, width .3s ease;
    transition: left .3s ease, width .3s ease;
    /* min-width: 242px; */
    /* overflow-y: hidden; */
    /* display: inline-block; */
    /* float: left; */
}

.Accordion {
    background: #e8edf1;
    background-color: #ececec;
    color: #5c5c5c;
    border: none !important;
    width: 300px;
}

.AccordionPanel {
    border: none;
}

.AccordionPanelTab, .AccordionPanelContent p {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    /* flex-wrap: nowrap; */
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
    position: relative;
    width: 100%;
    background: transparent !important;
    border: none !important;
    color: rgb(5, 5, 5);
}

.AccordionPanelContent p {
    /* color: #c7c7c7; */
    margin: 0;
    /* color: #656567; */
    /* padding-left: 24px; */
}

.AccordionPanelTab input {
    background: transparent;
    padding: 10px 30px 10px 20px;
    color: rgb(5, 5, 5);
    font-size: 14px;
    text-align: left;
    height: auto !important;
    font-weight: bold;
    white-space: normal;
    border-bottom: 2px solid #fff;
}

.AccordionPanelContent p a:hover {
    background: rgba(0, 0, 0, 0.05);
    font-weight: bold;
    color: #1f1e1e;
    border-radius: 6px;
}

.AccordionPanelContent p a.AccordionLinkActive:hover {
    background: #c1c1c1;
}

.AccordionPanelTab input:hover {
    background: #cbcbcb;
    color: #000000;
}

.AccordionPanelContent {
    overflow-x: hidden !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
}

@-webkit-keyframes swing {
    0%, 30%, 50%, 70%, 100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    10% {
        -webkit-transform: rotate(10deg);
        transform: rotate(10deg);
    }

    40% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }

    60% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
    }

    80% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }
}

@keyframes swing {
    0%, 30%, 50%, 70%, 100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    10% {
        -webkit-transform: rotate(10deg);
        transform: rotate(10deg);
    }

    40% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }

    60% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
    }

    80% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }
}

.AccordionPanelContent a br {
    display: none;
}

.AccordionPanelContent a img {
    width: 34px;
    position: absolute;
    left: 36px;
    top: 4px;
}

.AccordionPanelContent a i:before {
    content: "\f3fd";
}

.AccordionPanelContent a:hover i {
    color: #22ff16;
}

    .AccordionPanelContent a:hover img, .AccordionPanelContent a:hover i:before {
        display: inline-block;
        /* -webkit-animation: swing ease-in-out .5s 1 alternate; */
        /* animation: swing ease-in-out .5s 1 alternate; */
    }

.AccordionPanelContent p a {
    color: #656567;
    width: 100%;
    text-align: left;
    position: relative;
    min-height: 42px;
    font-weight: bold;
    padding-left: 78px;
    padding-top: 10px;
    font-size: 13px;
    padding-right: 16px;
}

.AccordionLinkActive {
    /* background: #c1c1c1; */
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2) inset;
    background: rgba(0, 0, 0, 0.05);
}

.img-down {
    position: absolute;
    top: 12px;
    right: 6px;
    color: #656567;
    font: normal normal normal 12px/12px FontAwesome;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

    .img-down:before {
        content: "\f078";
    }

.AccordionPanel.AccordionPanelOpen .img-down {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}

.navgation-bar {
    background: #fff;
    border: none;
    box-shadow: 0 1px 4px rgb(2 3 3 / 15%);
}

.linediv {
    background-size: contain;
}

/***monile menu********/
.mobile-container {
    min-height: 60vh;
    margin: 0 auto;
    padding-top: 10px;
}

.mobile-menu, table.menu-tree {
    animation: bugfix infinite 0.5s;
    -webkit-animation: bugfix infinite 0.5s;
}

.menu-tree {
    animation: bugfix infinite 0s;
    -webkit-animation: bugfix infinite 0s;
}

@keyframes bugfix {
    from {
        padding: 0;
    }

    to {
        padding: 0;
    }
}

@-webkit-keyframes bugfix {
    from {
        padding: 0;
    }

    to {
        padding: 0;
    }
}

.mobile-menu.mobile-menu-home, td.mobile-menu-left {
    width: initial;
    display: inline-block;
}

#overlay-button, #overlay-button1 {
    padding: 26px 10px;
    z-index: 5;
    cursor: pointer;
    user-select: none;
    display: block !important;
    background: #fff;
    margin-bottom: 0;
    min-width: 35px;
}

    #overlay-button span, #overlay-button1 span {
        height: 4px;
        width: 35px;
        border-radius: 2px;
        background-color: transparent;
        position: relative;
        display: block;
        transition: all .2s ease-in-out;
    }

        #overlay-button span:before, #overlay-button1 span:before {
            top: -10px;
            visibility: visible;
            transform: rotate(45deg) translate(7px, 7px);
        }

        #overlay-button span:after, #overlay-button1 span:after {
            top: 10px;
            transform: rotate(-45deg) translate(7px, -7px);
        }

        #overlay-button span:before, #overlay-button span:after,
        #overlay-button1 span:before, #overlay-button1 span:after {
            height: 4px;
            width: 35px;
            border-radius: 2px;
            background-color: #204466;
            position: absolute;
            content: "";
            transition: all .2s ease-in-out;
        }

    #overlay-button:hover span,
    #overlay-button:hover span:before,
    #overlay-button:hover span:after,
    #overlay-button1:hover span,
    #overlay-button1:hover span:before,
    #overlay-button1:hover span:after {
        /*background: #333332;*/
    }


input[type=checkbox]:checked ~ table,
input[type=checkbox]:checked ~ div {
    visibility: hidden;
    display: none !important;
}

input[type=checkbox]:checked ~ #overlay-button:hover span,
input[type=checkbox]:checked ~ #overlay-button span,
input[type=checkbox]:checked ~ #overlay-button1:hover span,
input[type=checkbox]:checked ~ #overlay-button1 span {
    /*background: transparent;*/
    background-color: #204466;
}

    input[type=checkbox]:checked ~ #overlay-button span:before,
    table#TblMainLeft input[type=checkbox]:checked ~ #overlay-button span:before,
    td#tcRightcontrol input[type=checkbox]:checked ~ #overlay-button1 span:before {
        transform: rotate(0deg) translate(0px, 0px);
        opacity: 1;
    }

    input[type=checkbox]:checked ~ #overlay-button span:after,
    table#TblMainLeft input[type=checkbox]:checked ~ #overlay-button span:after,
    td#tcRightcontrol input[type=checkbox]:checked ~ #overlay-button1 span:after {
        transform: rotate(0deg) translate(0px, 0px);
    }

#overlay, input[type=checkbox] ~ table,
.mobile-menu-home input[type=checkbox] ~ div,
.mobile-menu-home input[type=checkbox] ~ table {
    /* height: 100vh; */
    /* width: 100vw; */
    /* z-index: 2; */
    /* visibility: hidden; */
    /* position: absolute; */
    margin-top: 0px;
    /* display: none; */
}

.mobile-menu-home input[type=checkbox] ~ div,
.mobile-menu-home input[type=checkbox] ~ table {
    position: absolute;
    width: initial;
    height: initial;
}

.mobile-menu-home input[type=checkbox]:checked ~ div,
.mobile-menu-home input[type=checkbox]:checked ~ table {
    visibility: visible;
    position: absolute;
    right: -35px;
    width: auto;
}

.mobile-menu-home input[type=checkbox]:checked ~ div {
    right: auto;
    background: #fff;
    min-width: 300px;
}

.mobile-menu-home input[type=checkbox]:checked ~ table > * {
    display: inline-block;
    position: absolute;
    right: -100%;
    background: #fff;
}

.mobile-menu-home input[type=checkbox]:checked ~ div > * {
    /* display: inline-block; */
    /* position: absolute; */
    /* left: 0; */
}

input[type=checkbox]:checked ~ table.active,
.mobile-menu-home input[type=checkbox]:checked ~ div.active {
    visibility: visible;
}

ul.sm ul {
    z-index: 18;
}
/****end*/

@media (max-width: 1500px) {
    .mobile-container {
        width: calc(100% - 56px);
        float: left;
    }

    .mobile-menu, table.menu-tree {
        animation: bugfix infinite 0.5s;
        -webkit-animation: bugfix infinite 0.5s;
    }

    .menu-tree {
        animation: bugfix infinite 0s;
        -webkit-animation: bugfix infinite 0s;
    }

    @keyframes bugfix {
        from {
            padding: 0;
        }

        to {
            padding: 0;
        }
    }

    @-webkit-keyframes bugfix {
        from {
            padding: 0;
        }

        to {
            padding: 0;
        }
    }

    .mobile-menu.mobile-menu-home, td.mobile-menu-left {
        width: initial;
        display: inline-block;
    }

    #overlay-button, #overlay-button1 {
        padding: 26px 10px;
        z-index: 5;
        cursor: pointer;
        user-select: none;
        display: block !important;
        background: #fff;
        margin-bottom: 0;
        min-width: 35px;
    }

        #overlay-button span, #overlay-button1 span {
            height: 4px;
            width: 35px;
            border-radius: 2px;
            background-color: #204466;
            position: relative;
            display: block;
            transition: all .2s ease-in-out;
        }

            #overlay-button span:before, #overlay-button1 span:before {
                top: -10px;
                visibility: visible;
            }

            #overlay-button span:after, #overlay-button1 span:after {
                top: 10px;
            }

            #overlay-button span:before, #overlay-button span:after,
            #overlay-button1 span:before, #overlay-button1 span:after {
                height: 4px;
                width: 35px;
                border-radius: 2px;
                background-color: #204466;
                position: absolute;
                content: "";
                transition: all .2s ease-in-out;
            }

        #overlay-button:hover span,
        #overlay-button:hover span:before,
        #overlay-button:hover span:after,
        #overlay-button1:hover span,
        #overlay-button1:hover span:before,
        #overlay-button1:hover span:after {
            background: #333332;
        }


    input[type=checkbox]:checked ~ table,
    input[type=checkbox]:checked ~ div {
        visibility: visible;
        display: block !important;
    }

    input[type=checkbox]:checked ~ #overlay-button:hover span,
    input[type=checkbox]:checked ~ #overlay-button span,
    input[type=checkbox]:checked ~ #overlay-button1:hover span,
    input[type=checkbox]:checked ~ #overlay-button1 span {
        background: transparent;
    }

    #overlay-button span:before, #overlay-button1 span:before {
        top: -10px;
        visibility: visible;
        transform: rotate(0deg) translate(0px, 0px);
    }

    #overlay-button span:after, #overlay-button1 span:after {
        top: 10px;
        transform: rotate(0deg) translate(0px, 0px);
    }

    input[type=checkbox]:checked ~ #overlay-button span:before,
    table#TblMainLeft input[type=checkbox]:checked ~ #overlay-button span:before,
    td#tcRightcontrol input[type=checkbox]:checked ~ #overlay-button1 span:before {
        transform: rotate(45deg) translate(7px, 7px);
        opacity: 1;
    }

    input[type=checkbox]:checked ~ #overlay-button span:after,
    table#TblMainLeft input[type=checkbox]:checked ~ #overlay-button span:after,
    td#tcRightcontrol input[type=checkbox]:checked ~ #overlay-button1 span:after {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    #overlay, input[type=checkbox] ~ div,
    .mobile-menu-home input[type=checkbox] ~ div,
    .mobile-menu-home input[type=checkbox] ~ table {
        height: 100vh;
        width: 300px;
        z-index: 99999;
        visibility: hidden;
        position: absolute;
        margin-top: 0px;
        display: none;
    }

    .mobile-menu-home input[type=checkbox] ~ div,
    .mobile-menu-home input[type=checkbox] ~ table {
        position: absolute;
        width: initial;
        height: initial;
    }

    .mobile-menu-home input[type=checkbox]:checked ~ div,
    .mobile-menu-home input[type=checkbox]:checked ~ table {
        visibility: visible;
        position: absolute;
        right: -35px;
        width: auto;
    }

    .mobile-menu-home input[type=checkbox]:checked ~ div {
        right: auto;
        background: #fff;
        min-width: 300px;
    }

    .mobile-menu-home input[type=checkbox]:checked ~ table > * {
        display: inline-block;
        position: absolute;
        right: -100%;
        background: #fff;
    }

    input[type=checkbox]:checked ~ table.active,
    .mobile-menu-home input[type=checkbox]:checked ~ div.active {
        visibility: visible;
    }
}

@media (max-width: 992px) {
    input[type=checkbox]:checked ~ table,
    input[type=checkbox]:checked ~ div {
        visibility: visible;
        display: block !important;
        width: 100vw;
    }

    .FooterSecondDiv td {
        display: block;
        width: 96% !important;
        height: auto !important;
        text-align: center;
        float: none !important;
    }

    .FooterSecondDiv > tbody, .FooterSecondDiv > tbody > tr {
        display: block;
        height: auto !important;
    }

    .FooterMainDiv {
        display: none;
    }

    div#SearchMDiv {
        display: none;
    }

    td.mobile-container {
        width: 96vw !important;
        display: inline-block;
        margin: 0 2vw;
        float: left;
        overflow: hidden;
        padding-bottom: 40px;
    }

    .linediv span {
        font-size: 16px !important;
    }

    .linediv {
        width: 94%;
        background-size: contain;
        margin: 10px auto 0;
    }


    .mobile-menu-home input[type=checkbox]:checked ~ table {
        right: 0;
        top: 50px;
    }


    table.FooterSecondDiv {
        overflow: hidden;
        display: block !important;
    }

    table#ctl00_ContentPlaceHolder1_Legislation1_grd {
        width: 96vw;
        overflow-y: auto;
        display: block;
    }

    table#ctl00_ContentPlaceHolder1_Legislation1_Table2 {
        width: 100%;
        overflow-x: auto;
        display: block;
    }

    body {
        overflow-x: hidden;
    }


    .land-content > * {
        padding: unset !important;
    }

    .chart-head {
        height: unset !important;
        line-height: normal;
        padding: 7px;
    }

}

@media screen and (max-width: 1080px) {
    .df_MainContainer {
        flex-direction: column;
    }

    .AccordionPanelContent p a {
        font-size: 16px;
        /* text-align: center; */
        /* padding: 8px 0 0px; */
    }

    .AccordionPanelTab input {
        font-size: 16px;
    }

    .AccordionPanelContent p {
        width: 50%;
        float: left;
        padding: 4px 0 6px;
    }

        .AccordionPanelContent p a img {
            text-align: center;
            display: block;
            margin: 0 auto;
        }

    .AccordionPanelContent a:hover img {
        display: block;
    }

    .AccordionPanel.AccordionPanelOpen .AccordionPanelContent {
        height: auto !important;
    }

    .pnlMain {
        width: calc(100vw - 10px) !important;
        padding: 0 10px;
    }

        .pnlMain > div, .emlLst > div, .TblEdit {
            overflow-y: auto;
        }

    .TblEdit {
        width: calc(100% - 10px);
    }
 
}



@media (max-width:767px)
{

    .dfGrid { /*GridView */
        font-size: 12px;
    }

    .dfGridP {
        /*zoom: 0.75;*/
    }

    .dfGrid th, .dfGrid td {
        overflow: hidden;
    }

    .dfGrid .btn {
        padding: 1px 5px;
        font-size: 12px;
        line-height: 1.5;
        border-radius: 3px;
    }
}