/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.fs-sm {
    font-size: .75rem;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.btn-default {
    background-color: #666;
    color: white;
}

.main-menu .Budget > .nav-link:before {
    content: "Adopted 2023-24 ";
}

/*Opplan*/
/*Search tool bar*/

.budget-dept .scroll-section .section-body {
    font-size: 16px;
    line-height: 1.7;
}


/*Landing page*/
.home-slider-wrap .slide1 .slide-img {
    background-image: url(../images/homeslide-slide1.jpg);
    max-height: 400px;
}

@media (min-width: 1200px) {
    .home-slider-wrap .slide1 .slide-img {
        min-height: 300px;
    }


    .vision-homeslider .slide-content .slide-text {
        margin-bottom: 0!important;
    }

    vision-homeslider .slide-content .title-md {
        font-size: 44px!important;
    }

    .vision-homeslider .slide-content .slide-title {
        font-size: 52px !important;
    }
}


@media (min-width: 1600px) {
    .vision-homeslider .slide-content .title-md {
        font-size: 50px;
        line-height: 1.5;
    }
}


.home-budget .card-style-sp1 {
    border-color: #D9E3F2;
    background-color: #D9E3F2;
    height: auto;
}


.innerpage .subpage-banner .page-title .supertitle {
    display: none;
}

.site-footer .site-logo img {
    max-width: 100%;
}

@media (min-width: 600px) {
    .site-footer .site-logo img {
        max-width: 400px;
    }
}

@media (max-width: 991.98px) {
    .innerpage .subpage-banner {
        background-position: left center;
    }
}

@media (min-width: 992px) {
    .scc-mega-menu .list-2col, 
    .scc-mega-menu .list-3col {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .scc-mega-menu .dropdown.has-submenu .reg-dropdown li.has-submenu:hover > ul.item-deptbudget {
        left: -222%;
        max-width: 680px;
    }
}


/* Budget */
.budget-dept .mainbody {
    background-color: #fff;
}

.budget-dept .budget-status .row {
    border: 1px solid #d7d7d7;
}

.homedeptlist {
    padding: 0;
    margin-bottom: 1.5rem;
}

.homedeptlist .btn-basic {
    width: 100%;
    padding-top: .7rem;
    padding-bottom: .7rem;
}

.budget-dept .dept-budgetov-nobox .ov-ctn {
    color: black;
}

    .budget-dept .dept-budgetov-nobox .ov-ctn,
    .budget-dept .dept-summary .col-text {
        font-size: 16px;
    }


/* Operational Plan */
.opfilterpanel .form-select {
    font-size: 15px;
    line-height: 1.8;
}

.col-single-obj .obj-summary {
    padding-bottom: 2.5rem;
}

.obj-content .completed-doc {
    font-size: 16px;
    color: green !important;
    text-transform: uppercase;
    margin-top: 1rem;
    text-decoration: underline;
    font-weight: 700;
}

/* 10/28/2024 Budget site update - adding budget details field */
.budget-dept .dashboard-wrap {
    width: 100%;
    height: 750px;
/*    float: right;
    margin: 0 1rem 1rem;*/
    margin-bottom: 2rem;
}

    .budget-dept .dashboard-wrap iframe {
        width: 100%;
        height: 100%;
    }

.budget-dept .dashboard-wrap.float-end {
    height: 550px;
}

@media (min-width: 1200px) {
    .budget-dept .dashboard-wrap.float-end {
        width: 650px;
        height: 450px;
        margin: 0 1rem 1rem;
    }
}

@media (min-width: 1400px) {
    .budget-dept .dashboard-wrap.float-end {
        width: 650px;
    }
}

.budget-dept .status-title {
    background-color: #708ea5;
    font-size: 15px;
}

.banner-budget {
    background-image: url(../../Content/images/bannerbg-budget25.jpg);
}

.banner-op {
    background-image: url(../../Content/images/bannerbg-oplan25.jpg);
}

.budget-dept .budget-status .row {
    border-radius: 8px;
}

/* Department budget page*/
.budget-row {
    padding-bottom: 2rem;
}
    .budget-row .mediawrap {
        padding-top: 1rem;
    }
        .budget-row .mediawrap img {
            max-width: 500px;
            width: 100%;
            box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.1);
        }

        .budget-row .mediawrap iframe {
            display: block;
            width: 100%;
            height: 450px;
        }


@media (min-width: 1200px) {
    .budget-row .mediawrap iframe {
        height: 350px;
    }
}

.servop-wrap * {
    transition: all 0.35s ease;
}

    .servop-wrap .servop-sec {
        margin-bottom: 2.5rem;
    }

    .servop-wrap .pane-title {
        text-transform: uppercase;
        color: #3a6b8d;
        font-weight: 600;
        font-size: 21px;
        margin-bottom: 1.5rem;
        line-height: 1;
    }

    .servop-wrap .tab-link {
        /*border-bottom: 1px solid #ddd;*/
        /*position: relative;*/
    }

    .servop-wrap .divitab .inner-block {
        padding: 0 2rem;
        margin-bottom: .5rem;
        height: 5rem;
        border-radius: 8px;
        background-color: #e0eefd;
        border: 1px solid #bcd6e1;
        margin-right: .5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
    }

    .servop-wrap .divitab .divi-title {
        font-size: 17px;
        font-weight: 600;
        line-height: 1.2;
    }

    .servop-wrap .divitab .icon-box {
        opacity: 0;
        display: none;
        font-size: 20px;
        line-height: 1;
        margin-left: .5rem;
    }

    .servop-wrap .divitab:hover .inner-block {
        background-color: #d0ddeb;
        cursor: pointer;
    }

    .servop-wrap .divitab.active .inner-block {
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    }

    .servop-wrap .divisions-pane .divitab.active .inner-block {
        color: white;
        background: linear-gradient(135deg, #308BCB 0%, #308BCB 25%, #13486D 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#308BCB", endColorstr="#13486D",GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    }

    .servop-wrap .services-pane .divitab.active .inner-block {
        color: white;
        background: linear-gradient(135deg, #EC904F 0%, #EC904F 25%, #A44605 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#EC904F", endColorstr="#A44605",GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    }

    .servop-wrap .divisions-pane .divitab.active .icon-box {
        display: block;
        opacity: 1;
    }

    .divisions-pane .pane-title {
        font-size: 26px;
        color: #308bcb;
    }

    /*.servop-wrap .services-pane,
    .servop-wrap .opobj-pane {
        display: none;
    }*/

    /*.servop-wrap .services-pane.show,
    .servop-wrap .opobj-pane.show {
        display: block;
    }*/

/* Budget Services box */
    .servop-wrap .servcard-wrap {
        border-radius: 8px;
        background-color: #fff;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        position: relative;
        cursor: pointer;
        border: 1px solid #ddd;
        height: 100%;
    }

    .servcard-wrap .serv-blk-header {
        padding: 1rem 1.2rem;
        border-radius: 8px 8px 0 0;
        /*background-color: #DCEDC8;*/
        background-color: #b1cb8c;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .servcard-wrap .serv-title {
        font-size: 16px;
        font-weight: 600;
        color: #3e5029;
        line-height: 1.2;
        text-align: left;
    }

    .servcard-wrap .serv-blk-ctn {
        position: relative;
    }

        .servcard-wrap .serv-blk-ctn .col {
            padding: 1.375rem 0;
            /*border-right: 1px solid #ddd;*/
        }

        .servcard-wrap .serv-blk-ctn .ov-name {
            font-size: 14px;
            font-weight: 600;
            line-height: 1.2;
            color: #5b910e;
            margin-bottom: 0.8rem;
        }

        .servcard-wrap .serv-blk-ctn .ov-value {
            font-size: 19px;
            line-height: 1.3;
            font-weight: 500;
            color: #333;
        }

    .servcard-wrap:hover {
        box-shadow: 0 3px 16px rgba(0, 0, 0, 0.15);
    }

        .servcard-wrap:hover .serv-blk-header {
            background-color: #d1e5b4;
        }

/* Budget service detail */
.servop-wrap .servdetail-pane {
    opacity: 0;
    display: none;
}

        .servop-wrap .servdetail-pane.show {
            opacity: 1;
            display: block;
        }

    .servop-wrap .serv-detail .detail-header {
        padding: 1.6rem 1.5rem 1.5rem
    }

    .servop-wrap .serv-detail .inner {
        padding: 0;
    }

    .servop-wrap .serv-detail .detail-header {
       font-size: 19px;
    }

    .servop-wrap .closebtn {
        color: #1C5E8B;
        line-height: 30px;
        vertical-align: top;
        position: relative;
        width: auto;
        text-align: right;
        padding-right: 35px;
        display: inline-block;
        float: right;
        margin-bottom: 10px;
        z-index: 10;
        cursor: pointer;
    }

        .servop-wrap .closebtn i:before {
            font-size: 30px;
            position: absolute;
            top: 0;
            right: 0;
        }

/* OPlan Objectives */
#All_Objectives_Wrap {
    width: auto;
}

.col-single-obj .obj-content {
    min-height: auto;
}

.opobj-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

    .opobj-pane.show {
        display: block;
        opacity: 1;
    }

    .servop-wrap .obj-block-wrap {
        border: 1px solid #ced3d5;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }

.servop-wrap .col-single-obj .detail-wrap {
    width: 100%;
}

.servop-wrap .col-single-obj .obj-wrap {
    width: 100%;
}

.objgroup-title {
    font-weight: 600;
    color: #888;
    margin-bottom: 1rem;
    display: none;
}

.objgroup-title.show {
    display: block;
}

.accomplishment .obj-status,
div[data-status=Accomplishment] .obj-status {
    background-color: #277ac1;
}

.accomplishment .stat-icon,
div[data-status=Accomplishment] .stat-icon {
    background-image: url(../images/oplan/accomplishments-white.png);
}

.stat-detail {
    font-size: 15px;
}

.stat-icon {
    width: 24px;
    height: 24px;
}

.obj-status {
    padding-top: .8rem;
    padding-bottom: .8rem;
}

/* Major Changes */
.sec-majorchanges .mc-divname {
    display: inline-block;
    padding: .6rem 1.5rem .5rem;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    background: linear-gradient(135deg, #308BCB 0%, #308BCB 25%, #13486D 100%);
    color: white;
    font-weight: 500;
}

.sec-majorchanges accordiantable {
    border-top-right-radius: .5rem;
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
    border: 1px solid #ccc;
}

.sec-majorchanges .table-dark th {
    background-color: #eee;
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    padding: .65rem 1rem;
}


.sec-majorchanges tbody .tr-toggle td {
    padding: 1rem;
}

.sec-majorchanges tbody .mcname-td {
    font-weight: 600;
    color: #02659b;
    /*font-size: 17px;*/
}

.sec-majorchanges tbody .mc-costsaving.saving,
.sec-majorchanges tbody .tr-toggle.active-row .saving {
    color: green;
}

.sec-majorchanges tbody .mc-costsaving.cost,
.sec-majorchanges tbody .tr-toggle.active-row .cost {
    color: #b10707;
}

.sec-majorchanges .btn-toggle {
    border: 0;
    background-color: #8ebbcd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 32px;
    border-radius: .35rem;
    font-size: 22px;
    line-height: 1;
}

.sec-majorchanges .btn-toggle span {
    display: none;
}

    .sec-majorchanges .btn-toggle:after {
        font-family: feather !important;
        speak: none;
        font-style: normal;
        font-weight: 400;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: "\e931";
    }

    .sec-majorchanges .btn-toggle.collapsed:after {
        content: "\e92e";
    }

.sec-majorchanges .tr-panel td {
    padding: 0;
}

.sec-majorchanges .mcdesc {
    background-color: #f9fafb;
    font-size: 15px;
    height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    transition: height 0.4s ease-out, opacity 0.3s ease-in-out;
}

    .sec-majorchanges .mcdesc p {
        margin-bottom: .7rem;
    }

.sec-majorchanges tbody .tr-toggle {
    border-bottom: 2px solid #ccc;
}

    .sec-majorchanges tbody .tr-toggle td {
        vertical-align: middle;
    }

    .sec-majorchanges tbody .tr-toggle.active-row {
        border-bottom: 0;
    }

        .sec-majorchanges tbody .tr-toggle.active-row td {
            border-bottom: 0;
/*            background-color: #39a4cd;*/
            background-color: #cfeff9;
            /*color: white;*/
        }

        .sec-majorchanges tbody .tr-toggle.active-row .btn-toggle {
            background-color: rgba(255, 255, 255, .8);
            color: #16a0d5;
        }

        .sec-majorchanges tbody .tr-toggle.active-row .btn-toggle:hover {
            background-color: white;
        }

        .sec-majorchanges tbody .tr-panel.show {
            border-bottom: 2px solid #ccc;
        }

            .sec-majorchanges tbody .tr-panel.show .mcdesc {
                opacity: 1;
                height: auto;
                padding: 1rem;
            }



.sec-majorchanges tbody .tr-group th {
    background: linear-gradient(135deg, #308BCB 0%, #308BCB 25%, #13486D 100%) !important;
    padding: 1rem;
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.sec-majorchanges tbody .tr-group.hide {
    display: none;
}

            
/* scc dropdown */
.scc-dropdownlist {
    position: relative;
}
.scc-dropdownlist .btn-basic {
    width: 100%;
    padding: .7rem 1rem;
}

.mc-filter .btn-basic {
    background-color: #3ca782;
    color: white;
}

.mc-filter .dropdown-menu {
    width: 100%;
    height: auto;
    box-shadow: 0 3px 16px rgba(0,0,0, .2);
}


/* Oplan 4/14/25 */
div[data-completion=Proposed] .obj-status {
    background-color: #38A0B2;
}

div[data-completion=Proposed] .stat-icon {
    background-image: url(../images/oplan/proposed-white.png);
}

div[data-completion=Proposed] .obj-block-ctn .obj-amount {
    color: #38A0B2;
}

div[data-completion=Proposed] .obj-block-ctn .obj-more {
    background-color: #38A0B2;
    /*&:hover {
               box-shadow: 0 .3rem .8rem rgba($orange,.65);
           }*/
}

div[data-completion=Proposed]:hover .obj-block-ctn .obj-more {
    box-shadow: 0 0.3rem 0.8rem rgba(56, 160, 178, 0.65);
}

.serv-detail .col-comp2:first-child {
    border-right: 1px solid rgba(28, 94, 139, 0.4);
}

.serv-detail .col-comp {
    min-height: 375px;
}
@media(max-width: 991.98px) {
    .serv-detail .col-comp {
        min-height: auto;
    }
    .serv-detail .col-comp:first-child,
    .serv-detail .col-comp2:first-child {
        border-right: 0;
    }
}

html.print-budget-detail .printme .serv-detail .comp-ref .ref-title {
    border-top: 1px solid #eee;
}