﻿.bb {
    font-size: 1.2rem;
    font-weight: bold;
}

.accordion {
    margin: 0;
    padding: 0;
}

    .accordion h4 {
        margin: 0;
        padding: 0;
    }

    .accordion:focus-within {
        border-color: hsl(216deg 94% 43%);
    }

        .accordion:focus-within h3 {
            background-color: hsl(0deg 0% 97%);
        }

    .accordion > * + * {
        border-top: 1px solid hsl(0deg 0% 52%);
    }

.accordion-trigger {
    background: none;
    color: hsl(0deg 0% 13%);
    display: block;
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
    padding: 1em 1.5em;
    position: relative;
    text-align: left;
    width: 100%;
    outline: none;
}

    .accordion-trigger:focus,
    .accordion-trigger:hover {
        background: hsl(216deg 94% 94%);
    }

    .accordion-trigger:focus {
        outline: 4px solid transparent;
    }


/*Tylko w programie - inner dla sekcji tytul*/
.innerTrig {
    padding: 0!important;
}

    .innerTrig .accordion-title .absTit {
        font-size: 1rem !important;
        font-weight: normal !important; 
        padding-bottom: 0px;
    }
/*.accordion > *:first-child .accordion-trigger,
.accordion > *:first-child {
    border-radius: 5px 5px 0 0;
}*/
/*
.accordion > *:last-child .accordion-trigger,
.accordion > *:last-child {
    border-radius: 0 0 5px 5px;
}*/
.accordion button {
    border-style: none;
}

.accordion button::-moz-focus-inner {
    border: 0;
}

.accordion-title {
    display: block;
    pointer-events: none;
    border: transparent 2px solid;
    border-radius: 5px;
    padding: 0.25em;
    outline: none;
    margin-right: 30px;
}

.accordion-trigger:focus .accordion-title {
    border-color: hsl(216deg 94% 43%);
}

.accordion-icon {
    border: solid currentcolor;
    border-width: 0 2px 2px 0;
    height: 0.5rem;
    pointer-events: none;
    position: absolute;
    right: 2em;
    top: 50%;
    transform: translateY(-60%) rotate(45deg);
    width: 0.5rem;
}

.accordion-trigger:focus .accordion-icon,
.accordion-trigger:hover .accordion-icon {
    border-color: hsl(216deg 94% 43%);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: translateY(-50%) rotate(-135deg);
}

.accordion-panel {
    margin: 0;
    padding: 1em 1.5em;
  /*  background-color: #f8f9fa;*/
}

    /* For Edge bug https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4806035/ */
    .accordion-panel[hidden] {
        display: none;
    }



    /* abstrakt */
    .accordion-panel ul {
        list-style: none;
        padding:0;
    }

    /*    .accordion-panel ul li { 
            border-bottom: 1px solid hsl(0deg 0% 52%);
            padding: 0;
        }
*/

      /*  .accordion-panel ul li:not(:first-child) {
            border-top: 15px solid  hsl(0deg 0% 52%);
            padding: 0;
        }*/

        .accordion-panel  p.absTit,
        .accordion-panel  h5.absTit {
            font-weight: bold;
            font-size: 1rem;
        }

    .accordion-panel p.absAut {
        font-weight: bold;
    }

    .accordion-panel p.titabs {
        font-size: 1.2rem;
        margin-top: 1rem;
        margin-bottom: 0;
        padding-left: 1rem;
        color: #001d77;
    }

    .accordion-panel p.absCont { 
        margin-top: 0rem;
    }

    .accordion-panel p.absCont:not(:nth-last-child(-n+2)) {
        margin-bottom: 0 !important;
    }

    .accordion-panel p.absLink a {
        text-decoration: underline;
        cursor: pointer;
        color: #001d77;
    }
        .accordion-panel p.absLink a:hover,
        .accordion-panel p.absLink a:focus {
            text-decoration: underline;
            color: #044cd0;
        }

.abssection {
padding-top: 1rem;
padding-bottom: 1rem;
}


.accordion-title span {
    display: flex;
    flex-direction: row;
}

.accordion-title .absTit {
    font-weight: bold;
    font-size: 1rem;
    padding-bottom: 10px;
}
.accordion-title .absAut {
    font-weight: normal;
    font-size: 1rem;
}



/* expander */
/*.collapsible {*/
    /*background-color: #eee;*/
/*    color: #444;*/
    /*cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

    .collapsible p {
        margin: 0;
    }*/
    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    /*.active, .collapsible:hover {
        background: hsl(216deg 94% 94%);
    }*/

/* Style the collapsible content. Note: hidden by default */
/*.content {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}*/

 

/* Program */

div.abssection:first-child {
    padding-top: 0;
}

div.abssection:last-child { 
    padding-bottom: 0;
}


div.abssection:not(:first-child) {
    border-top: 1px solid hsl(0, 0%, 84.7%)
}

 

div.abssection:last-child p:last-child {
    margin-bottom: 0rem;
}

.abssection .titabs:first-child {
    margin-top: 0;
}


.toggleAbs-btn:hover {
    /*text-decoration: underline;*/
    color: #044cd0;
}

.toggleAbs-btn[aria-expanded="true"] {
    /*text-decoration: underline;*/
    color: #0044c0;
}


.salabreak .details {
    padding: 10px;
    margin: 5px 0;
    background-color: #fff;
    border: 1px solid #b0b0b0;
    border-radius: 5px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
}


.toggleAbs-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: #001d77;
    cursor: pointer;
    display: inline;
  /*  text-decoration: underline;*/
    text-align: left;
}

    .toggleAbs-btn .arrow {
        width: 10px;
        height: 10px;
        border-left: 2px solid #3498db;
        border-bottom: 2px solid #3498db;
        transform: rotate(-45deg);
        transition: transform 0.3s ease;
        /*display: inline-flex;*/
        display: none;
    }

    .toggleAbs-btn[aria-expanded="true"] .arrow {
        transform: rotate(135deg);
    }


    .toggleAbs-btn[aria-expanded="false"]:before {
        display: inline-block;
        margin-left: .255em;
        margin-right: .255em;
        vertical-align: .255em;
        content: "";
        border-top: .3em solid;
        border-right: .3em solid transparent;
        border-bottom: 0;
        border-left: .3em solid transparent;
    }

    .toggleAbs-btn[aria-expanded="true"]:before {
        display: inline-block;
        margin-left: .255em;
        margin-right: .255em;
        vertical-align: .255em;
        content: "";
        border-bottom: .3em solid;
        border-left: .3em solid transparent;
        border-top: 0;
        border-right: .3em solid transparent;
    }



/*ol.absListOl {
    list-style-position: inside;
    padding-left: 1.5rem;
}*/
ol.olWyst {
    padding-left: 1.5rem;
}


ol.olListOs {
    padding-left: 1.5rem;
    list-style-type: none;
}
    ol.olListOs li {
        padding: 5px 0px;
    }







ul.ulmysl {
    counter-reset: licz !important;
    list-style: none;
    padding-left: 0;
}

    ul.ulmysl li {
        counter-increment: licz !important;
        padding-left: 15px !important;
    }

        ul.ulmysl li::before {
            content: "-" !important;
            margin-right: 0.5em;
        }




div.divDt {
    text-align: center;
    max-width: 130px;
}

div.divCont {
}

div.divSesja {
    padding: 0.5rem 0;
    background-color: #E9EFFF;/*#f8f9fa;*/
    margin: 5px 0;
}

    div.divSesja div.divDt,
    div.divSesja div.divCont {
        padding: 1rem;
    }

    div.divSesja div.divDt {
        border-right: 3px solid #009aa6;
    }

div.divSesjaOr div.divDt {
    border-right: 3px solid orange;
}

div.divSesjaPl div.divDt {
    border-right: 3px solid green;
}

div.divSesjaGr div.divDt {
    border-right: 3px solid #adadad
}

div.divSesjaBlue div.divDt {
    border-right: 3px solid #001d77;
}

div.divSesjaGreen div.divDt {
    border-right: 3px solid #9EFE2B;
}



p.nom {
    margin-bottom: 0;
}

p.tom {
    margin-top: 1rem;
}

p.sesstit {
    font-weight: bold;
}
p.salaNum {
    font-size: 1.3rem;
    font-weight: normal;
}

.divCont div.salabreak:not(:first-child) {
    border-top: 1px solid hsl(0deg 0% 52%);
    padding: 1rem 0;
}






.absListOl {
    counter-reset: licznik; /* Resetuje licznik */
    list-style: none; /* Usuwa domyślne numerowanie */
    padding-left: 0;
}

    .absListOl li {
        counter-increment: licznik; /* Zwiększa licznik dla każdego li */
        position: relative;
        padding-left: 25px; /* Dodaje miejsce na numer */
    }

        .absListOl li::before {
            content: counter(licznik) "."; /* Wstawia numer */
            position: absolute;
            left: 0;
       /*     font-weight: bold;
            color: #3498db;*/
        }

.tithid{ font-size: 1rem;}
.modname {
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    div .divDt {
        max-width: unset;
    }

    div.divSesja div.divDt {
        border-bottom: 3px solid #009aa6;
        border-right: none;
    }

    div.divSesjaOr div.divDt {
        border-bottom: 3px solid orange;
        border-right: none;
    }

    div.divSesjaPl div.divDt {
        border-bottom: 3px solid green;
        border-right: none;
    }

    div.divSesjaGr div.divDt {
        border-bottom: 3px solid #adadad;
        border-right: none;
    }

    .accordion-panel {
        padding: 0 !important;
    }


        .accordion-panel .abssection {
            padding: 5px;
        }
}