/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

            .card {
                padding: 10px;
            }

            .template-customizer-open-btn {
                display: none !important;
            }

            .noDecoration{
                text-decoration:none!important;
                color:inherit;
            }

            .btn-primary {
                /*background-color:red!important;*/
            }
            .btn-mainpage {
                background-color: lightslategray;
                width: 165px;
                border-radius: 15px;
                text-decoration: none;
                color: white;
                margin: 5px;
            }

            .btn-mainpage:hover {
                background-color: lightgrey;
            }
            .cycoption{width:80%!important}

.nav-pills {
    width: 50%
}

.navs1 {
    display: flex;
    -ms-flex-direction: column !important;
    flex-direction: row;
    width: 100%
}

.nav-link.active {
    background-color: lightgray !important;
}

.nav-item {
    position: relative;
}

.money {
    text-align: right;
}

/*ELECTION PICKER*/
            .elecOptions {
                margin-top: -10px;
                margin-bottom: 10px !important;
            }

            .elecoption, .cycoption {
                color: black !important;
            }
            .CurrentCycle{
                /*background-color:yellow;*/
            }
            .selectedSubElection {
                text-decoration: underline;
                /*border: 2px solid white;*/
            }


/*TOGGLE SWITCH*/
            .switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 34px;
            }

            /* Hide default HTML checkbox */
            .switch input {
            opacity: 0;
            width: 0;
            height: 0;
            }

            /* The slider */
            .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            -webkit-transition: .4s;
            transition: .4s;
            }

            .slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 26px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
            }

            input:checked + .slider {
            background-color: #2196F3;
            }

            input:focus + .slider {
            box-shadow: 0 0 1px #2196F3;
            }

            input:checked + .slider:before {
            -webkit-transform: translateX(26px);
            -ms-transform: translateX(26px);
            transform: translateX(26px);
            }

            /* Rounded sliders */
            .slider {
            border-radius: 34px;
            }

            .slider:before {
            border-radius: 50%;
            }

/*SWITCH TABLE TO ROWS IN MOBILE VIEW*/
            table {
                width: 100%;
                border-collapse: collapse;
            }

            @media (max-width: 820px) {
                /* Pair each _mh-label with the _mh-value next to it via a 2-col grid on the row.
                   Labels are injected by sideBySideMobileHeaders() in app.js at the same breakpoint. */
                table { width: 100%; border-collapse: collapse; }
                thead { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

                tbody tr {
                    display: grid;
                    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
                    column-gap: 12px;
                    row-gap: 4px;
                    align-items: center;
                    margin-bottom: 12px;
                    border: 1px solid rgba(0,0,0,0.1);
                    border-radius: 6px;
                    padding: 10px 12px;
                    background-color: var(--ef-card-bg, #fff);
                    max-width: 100%;
                    overflow: hidden;
                }

                tbody td {
                    border: none;
                    padding: 4px 0;
                    min-width: 0;
                    overflow-wrap: anywhere;
                    word-break: break-word;
                }
                tbody td._mh-label {
                    font-weight: 600;
                    font-size: 0.78rem;
                    text-transform: uppercase;
                    letter-spacing: 0.04em;
                    color: var(--ef-muted-fg, #6b7280);
                    text-align: left;
                    /* sideBySideMobileHeaders copies computed <th> styles (including width)
                       inline onto this element. Force it back to grid-column sizing. */
                    width: auto !important;
                    max-width: 100% !important;
                    min-width: 0 !important;
                    white-space: normal !important;
                }
                tbody td._mh-value {
                    text-align: right;
                    padding-left: 0 !important;
                }
                /* Stop wide children (file inputs, preview images, textareas) from blowing out the card */
                tbody td._mh-value > *,
                tbody td._mh-value input,
                tbody td._mh-value textarea,
                tbody td._mh-value select,
                tbody td._mh-value img,
                tbody td._mh-value iframe {
                    max-width: 100%;
                    box-sizing: border-box;
                }
                tbody td._mh-value input[type="file"] { width: 100%; }
                tbody td._mh-value img { height: auto; }
                /* Select2 / jQuery-UI widgets often carry inline width from desktop render */
                tbody td._mh-value .select2-container,
                tbody td._mh-value .ui-widget {
                    width: 100% !important;
                    max-width: 100% !important;
                }
                /* Rows that don't get label-injected (e.g., the JS didn't run) fall back to centered */
                tbody tr:not(:has(._mh-label)) { display: block; }
                tbody tr:not(:has(._mh-label)) td { display: block; text-align: center; }
}
/*END OF SWITCH TABLE TO ROWS IN MOBILE VIEW*/


/*FOMATTING*/
            .hidden{display:none!important;}
            .text-align-right{
                text-align:right!important;
            }
            .centerContent {
                text-align: center !important;
                justify-content: center !important;
                /*display: flex !important;*/
                align-content: center !important;
                align-items: center !important;
            }
            .formsec {
                text-align: center;
                justify-content: center;
                display: flex;
                align-content: center;
                align-items: center;
            }
            .pull-right {
                float: right !important
            }

            .pull-none {
                float: none !important
            }

            .hidden {
                display: none;
            }
            .cursorPointer{cursor:pointer;}
            .initialsAlternate{
                width: 100px;
                height: 100px;
                text-align: center;
                align-content: center;
                font-size: xx-large;
                font-weight: 600;
            }
            .bx{cursor:pointer;}

            .buttonCard {
                position: sticky;
                top: 10px;
            }

.light-style .menu .app-brand.demo {
    height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo {
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
  width: 30px;
  height: 30px;
}

.app-brand-logo.demo svg {
  width: 1.7rem;
  height: 1.7rem;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.45px;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.hidden {
display:none;
}




/* Table Mobile layout */
.buttonTD {
    text-align: center;
    justify-content: center;
    padding: 5px !important;
}
    .buttonTD .d-inline-block {
        width:100%;
    }

    @media (max-width: 820px) {
        .buttonTD, .buttonTD .d-inline-block {
            justify-content: space-between;
            align-items: center;
        }
        ._mh-value .btn-icon {
            font-size: 1.7rem;
        }
    }

/* Theme-aware logos.
   Each brand logo is rendered twice -- a light (.ef-logo-light) and a dark
   (.ef-logo-dark) <img>/<image> using its *_dark variant. CSS shows only the
   one matching the current style and hides the other. The html.dark-style
   class is toggled live by the Sneat TemplateCustomizer, so this reacts
   instantly and needs no JS. app.css is loaded by every shell (including the
   logged-out pages), so logos swap everywhere. */
html:not(.dark-style) .ef-logo-dark { display: none !important; }
html.dark-style .ef-logo-light { display: none !important; }