/* text */
h4, h5, p{
    color:  #1a1a1a;
    font-family: Calibri, "Segoe UI Emoji", "Noto Color Emoji", 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
    margin: 0 0 0 0;
}

p.poltxt{
    font-family: Helvetica, 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
    line-height: 1.35;
}

div.abst-collapse.collapse:not(.show){
    display: block;
    height: 2.5rem;
    overflow: hidden;
}
div.abst-collapse.collapsing{
    height: 2.5rem;
}
.abst-div > a.collapsed:after {
    content: 'Show More';
}
.abst-div > a:not(.collapsed):after {
    content: 'Show Less';
}

div.exc-collapse.collapse:not(.show){
    display: block;
    height: 2.5rem;
    overflow: hidden;
}
div.exc-collapse.collapsing{
    height: 2.5rem;
}
.exc-div > a.collapsed:after {
    content: 'Show More';
}
.exc-div > a:not(.collapsed):after {
    content: 'Show Less';
}

.form-label, .form-check-label{
    color:  #1a1a1a;
    font-family: Calibri, 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
    font-size: 16px;
    margin: 2px 2px 2px 2px;
}

.tt-form-label, .tt-form-check-label{
    color:  #1a1a1a;
    font-family: Calibri, 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
    font-size: 16px;
    margin: 2px 2px 2px 25px;
}

p{
    margin-bottom: 0;
}

p.text-descr, label.text-descr{
    font-size: 16px;
    color: #3f3f3f /*#747474*/;
}

.form-select, .form-control{
    font-family: Calibri, 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
    font-size: 16px;
}

.text-center{
    justify-content: center;
    padding: 5px;
}

a.texta{
    text-decoration: none;
    color: #396d85;
}

a.textab{
    font-weight: bold;
    text-decoration: none;
    color: #396d85;
}

/* navbar */ 
a.navbar-brand{
    font-size: 25px;
    font-weight: 500;
    color: #1a1a1a;
}

.navvbar-nav > .nav-item >a {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 0px;
}

.navvbar-nav > .nav-item >a:hover{
    color: #e1ecf0;
    padding: 5px 15px;
}

.navbar-nav > .nav-item >a.on-page{
    color: #f0f7f9;
    padding: 5px 15px;
}

nav.navbar.bg-body-tertiary{
    background-color: white;
}

.navbar{
    padding: 0px;
}

.navbar > .container-fluid > a{
    padding-left: 5px;
}

.search-svg-block{
    background-color: #9fbbcf;
}

.search-entry{
    background-color: #d3dee9;
}

/* general */

div.textchunk{
    padding: 20px 20px 20px 20px;
}

hr{
    margin: 7px 0px;
}

hr.inf{
    margin: 7px 0px 7px 25px;
}

hr.pol{
    padding: 0px 20px 0px 20px;
    margin: 20px 0px 20px 0px;
}

body{
    background-color: whitesmoke;
}

.disclm{
    border-radius: 10px;
    background-color: white;
    padding: 10px 10px 10px 10px;
}
/*
    _________   _________   __________
    |  ______|  |  ______|  |   ___   |
    |  |_____   |  |_____   |  |___|  |
    |  ______|  |  ______|  |   ______|
    |  |        |  |        |  |
    |__|        |__|        |__|
*/

/* button */

button.btn-success{
    background: #5C93AC;
    border-color: transparent;
}

button.btn-success:hover{
    background: #91c0d6;
    border-color: transparent;
    color: #396d85;
}

.btn.btn-success:active,.btn.btn-success:focus,.btn.btn-success:focus-visible, .btn.btn-success:focus-within {
  color: #396d85;
  background-color: #91c0d6;
  border-color: transparent;
  outline: none;
}

.btn-success.dropdown-toggle:active{
    color: #396d85;
    background-color: #91c0d6;
    border-color: transparent;
    outline: none;
}

.btn-success:checked+.btn-success, .btn-success.active, .btn-success.show, .btn-success:first-child:active, :not(.btn-success)+.btn-success:active{
    color: #396d85;
    background-color: #91c0d6;
    border-color: transparent;
    outline: none;
}

/*
.btn.btn-success:focus {
  color: #1c4558;
  background-color: #5d8fa7;
  border-color: transparent;
  outline: none;
  box-shadow: none;
}
*/
/* labels */
.text-bg-success{
    background-color: rgb(75, 200, 75);
}

.text-bg-danger{
    background-color: rgb(200, 75, 75);
}

/* switches */
.form-switch .form-check-input{
    /*box-shadow: transparent 0 0 0.2rem 0.2rem rgb(146, 216, 150);*/
    border-color: transparent;
    width: 3.3em;
    height: 2em;
    border-radius: 20px;
    display: grid;
    float:right;
    justify-self: center;
    margin: 0 0 0 0;
    border: 0px;
}

.form-switch .form-check-input:checked{
    background-color: #72CAC3;
    /*box-shadow: transparent 0 0 0.2rem 0.2rem rgb(146, 216, 150);*/
    border-color: transparent;
}

.form-switch > .form-check-input:focus{
    box-shadow: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e") !important;
}

.form-switch > .form-check-input:checked:focus{
    box-shadow: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.form-switch{
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}


/* rest of forms */
.user-input-div, .assum-form-div, .full_res_div{
    background-color: #DCF0F6;   
    border-radius: 20px;
}

.user-input-div{
    padding: 20px 45px 20px 20px; 
    max-width: 900px;
}

.assum-form-div{
    padding: 20px 45px 20px 20px; 
    max-width: 600px;
}

.full_res_div{
    padding: 20px 45px 20px 20px; 
    max-width: 600px;
}

.form-control{
    border: transparent;
    border-radius: 0;
}

.logreg-fc{
    border: 1px solid #ced4da;
    border-radius: .25rem;
    margin-top: 5px;
}

.form-group{
    margin-top: 10px;
}

.input-group-text{
    border: transparent;
    border-radius: 0;
}

/*removes black border when click on info box*/
svg > a:focus{
    outline: transparent none 0px;
}

.popover{
    background-color: white;
    box-shadow: 3px 3px 5px rgb(175, 175, 175);
}

/* remove up down arrows from number input */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


.page-container{
    position: relative;
    min-height: 100vh;
}

.content-wrap{
    padding-bottom: 4rem
}

.footer{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4rem;
}

footer{
    padding: 10px;
    margin: 10px;
    background-color: #9fbbcf;
}

/*
    _________   _________   __________
    |  ______|  |  ______|  |___   ___|
    |  |_____   |  |_____       |  |
    |____   |   |  ______|      |  |
    _____|  |   |  |_____       |  |
    |_______|   |________|      |__|
*/

.set-input-div, .set-results-div, .set-base-div, .set-rewet-div, .set-graphs-div{   
    border-radius: 20px;
}

.set-input-div{
    background-color: #b8cede;
    padding: 20px 20px 20px 20px;
    max-width: 800px;
}

.set-site-div{
    max-width: 500px;
}

.set-base-div{
    background-color: #cbdfe9;
    max-width: 600px;
}

.set-accor-div{
    background-color: #cbdfe9;
    border:0px;
}

.set-accor-btn{
    background-color: #cbdfe9;
}

.set-accor-btn:not(.collapsed){
    background-color: #cbdfe9;
    border: none;
}

.upper-base{
    padding: 0px 20px 0px 20px;
}

.set-rewet-div{
    background-color: #b1c8cf;   
    padding: 20px 20px 20px 20px;
}

.set-results-div{
    background-color: #cbdfe9;
    padding: 20px 45px 20px 20px;
    max-width: 600px;
}

.set-graphs-div{
    background-color: whitesmoke;
    padding: 20px 20px 20px 20px;
    max-width: 800px;
}

.form-select{
    border-width: 2px;
    padding-top: 10px;
    padding-left: 16px;
    padding-bottom: 10px;
}

select::-internal-list-box{
    border: transparent;
    border-radius: 0;
}

/*Overlay*/

.ol-popup {
position: absolute;
background-color: white;
box-shadow: 0 1px 4px rgba(0,0,0,0.2);
padding: 15px;
border-radius: 10px;
border: 1px solid #cccccc;
bottom: 12px;
left: -50px;
min-width: 280px;
}
.ol-popup:after, .ol-popup:before {
top: 100%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.ol-popup:after {
border-top-color: white;
border-width: 10px;
left: 48px;
margin-left: -10px;
}
.ol-popup:before {
border-top-color: #cccccc;
border-width: 11px;
left: 48px;
margin-left: -11px;
}
.ol-popup-closer {
text-decoration: none;
position: absolute;
top: 2px;
right: 8px;
}
.ol-popup-closer:after {
content: "✖";
}
#popup a:link{
text-decoration: none;
}

/*draggable*/
#draggable-header a:link{
text-decoration: none;
}

#draggable {
position: absolute;
z-index: 9;
background-color: #f1f1f1;
text-align: left;
top:70px;
left:70px;
display:none;
}

#draggable-content {
    padding: 5px;
}

#draggable-header {
cursor: move;
z-index: 10;
padding: 2px;
background-color: #72CAC3;
color: #000;
}
/*
.drag > .form-check-input:checked{
    background-color: #72CAC3;
    border-color: transparent;
}
*/
.drag > .form-check-input{
    border-radius: 0px;
    height: 22px;
    width: 22px;
}

.drag > .form-check-label{
    margin-left: 4px;
}

#draggable-title{
    margin-left: 5px;
}

.text-layer-pill{
    color: #000;
    background-color: #72CAC3;
}

/*   */
span.Economy{
    color: #000;
    background-color: #cca7ba;
}

/* MAP */

/*land type color classes*/
.corine-box:checked{
    background-color: #c69966;
    border-color: transparent;
}

.ie-ispm-box:checked{
    background-color: #8f6543;
    border-color: transparent;
}

.proj-sites-box:checked{
    background-color: #09b6ad;
    border-color: transparent;
}

.alk-fen-box:checked{
    background-color: #bd7b0b;
    border-color: transparent;
}

.pl-torf-box:checked{
    background-color: #8f6543;
    border-color: transparent;
}

.nl-soil-box:checked{
    background-color: #8f6543;
    border-color: transparent;
}

.de-soil-box:checked{
    background-color: #8f6543;
    border-color: transparent;
}

.bef-soil-box:checked{
    background-color: #bd7b0b;
    border-color: transparent;
}

.bew-soil-box:checked{
    background-color: #8f6543;
    border-color: transparent;
}

.ee-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.fi-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

/* Wetlands Map of Europe */


.al-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.an-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.au-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.be-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.bo-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.bu-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.cr-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.cz-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.dn-ewm-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.fr-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.ge-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.gr-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.hu-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.ic-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.it-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.la-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.lie-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.lit-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.lu-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.ma-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.mo-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.ne-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.pol-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.por-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.ro-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.se-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.slk-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.slv-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.sp-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.swe-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.swi-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.gbr-soil-box:checked{
    background-color: #704405;
    border-color: transparent;
}

.eng-soil-box:checked{
    background-color: #8f6543;
    border-color: transparent;
}

.scot-soil-box:checked{
    background-color: #8f6543;
    border-color: transparent;
}

.wel-soil-box:checked{
    background-color: #8f6543;
    border-color: transparent;
}

/*classification pills*/

.enr-class-pill{
    color: #000;
    background-color: #f9f19e;
}
.clm-class-pill{
    color: #000;
    background-color: #e59391;
}
.comm-class-pill{
    color: #000;
    background-color: #f3c370;
}
.econ-class-pill{
    color: #000;
    background-color: #c9b0ce;
}
.env-class-pill{
    color: #000;
    background-color: #82cac9;
}
.bio-class-pill{
    color: #000;
    background-color: #c1d992;
}
.land-class-pill{
    color: #000;
    background-color: #c8b8a0;
}
.res-class-pill{
    color: #000;
    background-color: #9fbbcf;
}

/*navbar*/
.tool-nav-bar{
    background-color: #d3dee9;
}

.tool-nav{
    color: black;
    text-align: left;
    padding-left: 20px;
    text-decoration: none;
}

.tool-nav-hr{
    color:white;
    border-width: 3px;
}

.tool-nav-bar >a:hover{
    margin: 5px 15px;
    color: #000;
}

.tool-nav-bar > .on-tool> a{
    color: #000;
}

.tool-nav-bar > .on-tool{
    background-color: #9fbbcf;
    margin: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* MAP */
#map{
    height:100%;
    width:100%;
    /*position:fixed;*/
    max-height: 100%; 
    max-width: 100%; 
    display:flex; 
    position:absolute; 
    margin:0px;
}

#map-layers-svg{
    background-color:#9fbbcf; 
    padding:5px;
}

#map-data-svg{
    background-color:#9fbbcf; 
    padding:5px;
}

#map-pol-svg{
    background-color:#9fbbcf; 
    padding:5px;
}

#map-pol-cls-svg{
    background-color:#9fbbcf; 
    padding:5px;
}

#map-lyr-box{
    background-color:#d3dee9; 
    padding:5px;
}

p.lyr-reg-txt{
    font-size: 18px;
}

#layers-div{
    background-color:white; 
    padding:5px;
}

/*map policy box*/
#map-pol-box{
    background-color: #d3dee9;
}

.map-nav{
    background-color: #d3dee9;
}

#map-pols-div{
    background-color:white; 
    padding:5px;
}

/*policy level selection*/

#lvl-filter-div > .form-check-input{
    border-radius: 0px;
    height: 30px;
    width: 30px;
}

input[type="checkbox"]:checked + #locauth-fltr-svg {
    fill:#72CAC3;
}

input[type="checkbox"]:checked + #reg-fltr-svg {
    fill:#72CAC3;
}

input[type="checkbox"]:checked + #ntl-fltr-svg {
    fill:#72CAC3;
}

input[type="checkbox"]:checked + #eu-fltr-svg {
    fill:#72CAC3;
}

input[type="checkbox"]:checked + #glb-fltr-svg {
    fill:#72CAC3;
}

/*Policy class check box*/

#map-pols-cls-div > div > label{
    color:  #1a1a1a;
    font-family: Calibri, 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
    font-size: 16px;
    padding-left: 5px;
    font-weight: bold;
    /*margin: 2px 2px 2px 25px;*/
}

.pol-cls-inp{
    height: 18px;
    width: 18px;
    border-color: transparent;
    border-radius: 0em;
    margin-left: 5px;
}

.pol-cls-inp:checked{
    background-color:#72CAC3;
    border-color: transparent;
    border-radius: 0em;
}

.pol-cls-inp:empty{
    border-color: transparent;
    border-radius: 0em;
}

/*Policy category colors normal and muted*/

.enr-cls-clr{
    background-color: #f9f19e;
}
.clm-cls-clr{
    background-color: #e59391;
}
.comm-cls-clr{
    background-color: #f3c370;
}
.econ-cls-clr{
    background-color: #c9b0ce;
}
.env-cls-clr{
    background-color: #82cac9;
}
.bio-cls-clr{
    background-color: #c1d992;
}
.land-cls-clr{
    background-color: #c8b8a0;
}
.res-cls-clr{
    background-color: #9fbbcf;
}

.enr-cls-clr-m{
    background-color: #faf8d4;
}
.clm-cls-clr-m{
    background-color: #f3ceca;
}
.comm-cls-clr-m{
    background-color: #fae2be;
}
.econ-cls-clr-m{
    background-color: #e4d9e8;
}
.env-cls-clr-m{
    background-color: #cbe7e6;
}
.bio-cls-clr-m{
    background-color: #e3eece;
}
.land-cls-clr-m{
    background-color: #e4dcd1;
}
.res-cls-clr-m{
    background-color: #d3dee9;
}

.ol-viewport{
    padding:0px;
}

/*map page policy results list*/

.pol-lst-name{
    color:mediumseagreen;
    font-weight: bold;
    text-decoration: none;
}

.pol-lst-name:hover{
    color:darkgreen;
    font-weight: bold;
    text-decoration: none;
}

/* policy visualization collection development list*/

.polcol-acc-btn, .stkcol-acc-btn{
    background-color: #e6f3f1;
}

.polcol-acc-bdy, .stkcol-acc-bdy{
    background-color: #e6f3f1;
}

.polcol-acc-btn:not(.collapsed), .stkcol-acc-btn:not(.collapsed){
    background-color: #e6f3f1;
}

.polcol-acc-btn:focus, .stkcol-acc-btn:focus{
    outline:none}

.polcol-lnk, .stkcol-lnk{
    color: #3191a2;
    text-decoration: none;
}

.pol-coll-div, .stk-coll-div{
    background-color: #cbdfe9;
    border-radius: 20px;
    padding: 20px;
}

/*Stakeholders page*/
.stk-chk{
    height: 18px;
    width: 18px;
    margin-left: 5px;
}

.stk-chk:checked{
    background-color:#91c0d6;
    border-color: transparent;
}

/*pol sub form*/
.btn-ddw{
    background: #ffffff;
    border-color: transparent;
    border-radius: 0px;
    border-width: 0px;
    outline: none;
}

.btn-ddw:hover{
    background: white;
}

.btn.btn-ddw:active,.btn.btn-ddw:focus,.btn.btn-ddw:focus-visible, .btn.btn-ddw:focus-within {
  color: black;
  background-color: white;
}

.btn-ddw.dropdown-toggle:active{
    color: black;
    background-color: white;
}

.btn-ddw:checked+.btn-ddw, .btn-ddw.active, .btn-ddw.show, .btn-ddw:first-child:active, :not(.btn-ddw)+.btn-ddw:active{
    color: black;
    background-color: white;
}

    /* Dialog styling */
    .dialog-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .dialog-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    .dialog-box {
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        width: 400px;
        max-width: 90%;
        padding: 20px;
        transform: translateY(-20px);
        transition: transform 0.3s ease;
    }
    
    .dialog-overlay.show .dialog-box {
        transform: translateY(0);
    }
    
    .dialog-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }
    
    .dialog-title {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }
    
    .dialog-close {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: #666;
    }
    
    .dialog-content {
        margin-bottom: 20px;
    }
    
    .dialog-footer {
        display: flex;
        justify-content: flex-end;
    }
    
    .dialog-button {
        background-color: #4a90e2;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.2s;
    }
    
    .dialog-button:hover {
        background-color: #3a7dc8;
    }
    
    /* Status-specific styling */
    .dialog-box.success {
        border-top: 4px solid #4CAF50;
    }
    
    .dialog-box.error {
        border-top: 4px solid #F44336;
    }
    
    .dialog-box.warning {
        border-top: 4px solid #FF9800;
    }
    
    .dialog-icon {
        margin-right: 10px;
        font-size: 20px;
    }
    
    .success .dialog-icon {
        color: #4CAF50;
    }
    
    .error .dialog-icon {
        color: #F44336;
    }
    
    .warning .dialog-icon {
        color: #FF9800;
    }

.tooltip-inner {
    max-width: 275px !important; 
    text-align: left;
}

/* Incentive Classifier */

div.inc_res_div{
    background-color: #b8cede;
    border-radius: 20px;
    padding: 20px;
    margin:20px;
}

div.inc-inpt-grp{
    border-radius: 10px;
}

/* Question Answering*/
.card-img-top { height: 150px; object-fit: cover; }
.hover-shadow:hover { box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.15); transform: translateY(-3px); transition: all 0.3s ease-in-out; }
.badge-position { position: absolute; top: 0.5rem; right: 0.5rem; }
.card-footer { background-color: #f1f1f1; }

/* Anypol template */
.excerpt-text {
    font-size: 22px;
    padding-bottom: 5px;
    margin-top: 30px;
}

.section-title-container{
    padding-top: 30px;
    font-size: 25px;
    padding-bottom: 10px;
}

.section-title-box {
    background: #d3dee9;
    border-radius: 10px;
    text-align: center;
}

.policy-name-header {
    flex: 1;
    padding-top: 5px;
    font-size: 35px;
    margin-bottom: 0px;
}

.right-content {
    width:350px;
    flex-shrink:0;
    flex-grow:0;
    flex-basis:350px;
}

.pdf-viewer-container {
    width: 100%;
    height: 470px;
    border-left: 1px solid #ccc;
    padding-left: 10px;
    margin-top: 35px;
}

.pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.publisher-list-container {
    align-items: baseline;
}

.publisher-text {
    display: inline; 
}

.ellipsis-placeholder {
    display: inline-block;
    margin-right: 3px;
    font-weight: bold; 
    vertical-align: middle; 
}

.publisher-more-less-button {
    background: none;
    border: none;
    color: #007bff; 
    cursor: pointer;
    font-weight: bold;
    padding: 0;
    margin-left: 0px; 
    white-space: nowrap;
    vertical-align: middle; 
}

.publisher-more-less-button:hover {
    text-decoration: underline;
}

.hidden {
    display: none !important; 
}
.markdown-content h1, .markdown-content h2, .markdown-content h3 {
margin-top: 1.5rem;
margin-bottom: 0.75rem;
font-weight: 600;
}
.markdown-content p {
margin-bottom: 1rem;
}
.markdown-content ul {
padding-left: 1.25rem;
margin-bottom: 1rem;
}
.markdown-content li {
margin-bottom: 0.5rem;
}
.download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #0d6efd;
    border-radius: 50%;
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.download-icon:hover {
    background-color: #0d6efd;
    color: #ffffff;
    transform: scale(1.1);
}
    .user-menu {
        position: relative;
    }
    
    .user-avatar {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .user-avatar:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border-color: #667eea;
    }
    
    .welcome-text {
        color: #495057;
        font-weight: 500;
        margin: 0;
        margin-right: 10px;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        border-radius: 12px;
        padding: 8px 0;
        min-width: 200px;
        margin-top: 8px;
    }
    
    .dropdown-item {
        padding: 12px 20px;
        border: none;
        color: #495057;
        font-weight: 500;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .dropdown-item:hover {
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
        color: #667eea;
        transform: translateX(4px);
    }
    
    .dropdown-item i {
        width: 16px;
        text-align: center;
    }
    
    .dropdown-divider {
        margin: 8px 0;
        border-color: #e9ecef;
    }
    
    .btn-logout {
        color: #dc3545 !important;
    }
    
    .btn-logout:hover {
        background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%) !important;
        color: #dc3545 !important;
    }
    
    .login-btn {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        padding: 8px 20px;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
        color: white;
    }
    
    .login-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        color: white;
    }
    
    .user-info {
        display: flex;
        align-items: center;
    }
    
    /* Modal Styles */
    .modal-content {
        border-radius: 16px;
        border: none;
        box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    }
    
    .modal-header {
        border-bottom: 1px solid #e9ecef;
        padding: 24px 24px 16px;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .form-control {
        border-radius: 8px;
        border: 2px solid #e9ecef;
        padding: 12px 16px;
        transition: all 0.3s ease;
    }
    
    .form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.1);
    }
    
    .btn-primary-custom {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: 500;
        color: white;
    }
    
    .btn-primary-custom:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        color: white;
    }

/**/
.card-body p, .card-body li  {
  line-height: 1.6;
}

.accordion-button.sourceacc {
  font-weight: 600;
  background-color: #f8f9fa;
}

.accordion-button.sourceacc:not(.collapsed) {
  /*color: #0d6efd;*/
  background-color: #e7f1ff;
}

.accordion-body.sourceacc ul {
  margin-left: 1.2rem;
  padding-left: 0.5rem;
}

section {
  margin-bottom: 2rem;
}

.list-group-item {
  border: none;
  padding-left: 0;
  padding-right: 0;
}

ul {
  margin-left: 1.2rem;
}

.fw-semibold.text-primary {
  margin-top: 1rem;
}

.card.bg-light {
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.card.bg-light:hover {
  background-color: #eef5ff;
  transform: translateY(-2px);
}

.bp-res {
    padding-bottom: 5px;
}

.menu-img {
  max-width: 240px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}