/***GLOBAL IMAGES***/
.image-cover{
    object-fit: cover;
    object-position: top;
}

.print-header{
    display: none;
}

/***RESULT PORTLET***/
.cornered{
    height: 0px;
    border-right: 40px solid white;
    position: relative;
}
.cornered-primary {
     border-top: 40px solid var(--ldp-primary);
 }

 .cornered-dark {
     border-top: 40px solid var(--ldp-dark);
 }

 .cornered-highlight {
    border-top: 40px solid var(--ldp-warning);
}

.card:has(.cornered-highlight){
    box-shadow: 0 0.075rem 1.25rem var(--ldp-warning), 0 0.25rem 0.5625rem rgba(11,15,25,.03) !important;
}
 /***************************/
 /******** BILL INDEX ******/
 /*************************/
 
 .grid-container {
    display: grid;
    gap: 5px 3px;
    max-width: 100%;
    grid-template-columns: repeat(11, 1fr);
}


 .bill-index-primary{
    background-color: var(--ldp-primary) !important;
}

.bill-index-primary h5{
    color: #fff;
}

.bill{
    width: 65px;
    padding: 8px 0;
    border: 2px solid var(--ldp-dark);
    border-radius: 5px;
    text-align: center;
    color: var(--ldp-dark);
    justify-self: center;
    font-weight: 500;
}

.bill:hover{
    background-color: var(--ldp-dark);
    color: #fff;
}

html{
    --triangle-width: 20px;
}

 .sticky-offset{
    top: 65px;
}

.grid-container {
    display: grid;
    gap: 5px 3px;
    max-width: 100%;
    grid-template-columns: repeat(11, 1fr);
}

/***************************/
 /******** GENERAL ******/
 /*************************/

.invalid-feedback{
    display: block!important;
}

.choices__list{
    z-index: 100!important;
}
.choices__inner{
    border-radius: 5px;
    background-color: #fff;
}
.choices__heading{
    font-size: 1rem;
}
.coming-soon-wrapper {
    position: absolute;
    background-color: transparent;
    width: 100%;
    height: 100%;
    bottom: 0px;
    overflow: hidden;
}
.coming-soon-banner{
    transform: rotate(-45deg);
    bottom: 30%;
    right: -30%;
    background-color: var(--ldp-danger-alt);
    color: white;
    width: 100%;
    font-weight: 600;
    box-shadow: 0 1px 5px var(--ldp-gray);
}


/***** Select *****/

#filter-select option:disabled{
    font-weight: 700;
    padding-left: none!important;
}

/***************************/
 /******** Calendar ******/
 /*************************/

 .legend-date{
    height: 20px; 
    width:20px;
    background-color: var(--ldp-primary-alt);
}

.legend-box{
    width: 16px;
    height: 16px;
    display: inline-block;
}


 /******************************/
 /******** MEDIA QUERIES ******/
 /****************************/

@media only screen and (max-width: 920px){
    .active-link:after{
        border:none!important;
    }
    .active-link{
        width:100%;
    }
}

@media print{
    .print-header{
        display: block;
        position: fixed;
        z-index: 1000;
        top: 0;
        right: 0;
    }

    .card {
        box-shadow: none!important;
        border: none!important;
    }

    nav, header,footer, #sessionSelect, #filter-select, #RSS, label, .accordion, .usr, #scroll-top, .timeline-status, .image-cover , .print-hide, .results hr, .sponsor img,.sponsor .ratio, .sponsor div:has(>span.bg-party-R),.sponsor div:has(>span.bg-party-D), .bill-details hr  {
        display: none!important;
    }

    .bill{
        width:10%!important;
        border: none!important;
        page-break-inside:avoid; 
        page-break-after:auto; 
    }

    .cornered{
        border-top: none!important;
    }

    .cornered > .position-absolute{
        position: static!important;
    }

    .card:has(.cornered-highlight){
        box-shadow:none !important;
    }
    .result{
       /*  padding-top: 20px; */
        position: relative;
    }

    .result-portlet{
        border-bottom: 1px solid !important;
        border-radius: 0 !important;
        /* margin-bottom: 10px; */
        page-break-inside:avoid; 
        page-break-after:auto; 
        width: 100%!important;
        margin: 0!important;
        padding-bottom: 10px;
        margin-bottom: 30px!important;
    }

    .sponsor-details{
        flex-direction: row!important;
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid;
        border-bottom: 1px solid;
    }

    .bill-header{
        width: auto!important;
        height: auto!important;
    }

    .sponsor{
        width: auto!important;
        flex-grow: 0!important;
    }

    .result-portlet .badge{
        margin: 0 !important;
    }

    .result-portlet .card-body>.row>div:last-of-type{
        padding-right: 0!important;
    }

    .result-portlet a, .cornered a, .text-white, .result-portlet .badge{
        color: #000 !important;
    }


}
