
/* necessary for W3 */
html, body, h1, h2, h3, h4, h5, h6 {
    font-family: Arial, Helvetica, sans-serif;
    background: #f1f1f1;
    font-size: 1.01em;
}
div.container{
    /*display: block;
    margin: 0 auto;*/
}

div.ba-list ul{
  list-style-position: inside;
  background-color:red;
  padding-left:0px;
}

div.ba-list li{
  padding:0px;
  margin:10px;
}
/* Style the top navigation bar */
div.topnav {
    height: auto;
    background-color: #333;
}
/* Style the topnav links */
div.topnav a {
    color: #f2f2f2;

}
/* Change color on hover */
div.topnav a:hover {
    background-color: #ddd;
    color: black;
}
div.ba-navbar {
    background-color: navy;
    color:white;
    text-decoration: none;
}
div.ba-navbar-dropdown{
    background-color: whitesmoke;
    color:black;
}

div.ba-navbar-dropdown a {
    background-color: whitesmoke;
    color:black;
    text-decoration: none;

}
div.ba-navbar-dropdown a:hover {
    background-color: silver;
    color:black;
}

#resources a { color:black;}
#tools a { color:black;}
#resources_small a { color:black;}
#tools_small a { color:black;}

#ba-sidebar-close button {
    color:blue;
}

.ba-inputtext-error {
    border-color:red;
}

.ba-inputtext-valid {
    border-color:black;
}

.ba-list-title{
    margin-left: 20px;
}

.ba-list{
    margin-left: 40px;
}

div.ba-sidebar-close a {

}

div.content-container{

}
/* Left column */
div.leftcolumn, div.middlecolumn, div.rightcolumn {   
    background-color: #f1f1f1;
}
.ba-main-card{
    margin-bottom: 20px;
}

/* Footer */
.footer {
    text-align: center;
    background: #ddd;
    padding:7px;
}
.divider{

}
.botnav{
    /*display: block;*/
    /*overflow: hidden;*/
    background-color: #ddd; 
    border-top: 2px solid #f2f2f2;
}

.title{
    color:navy;
    font-size:30px;
    /*font-weight:bold;*/
}
.subtitle{
    color:navy;
    font-size:20px;
    /*font-weight:bold;*/
}

.hilite{

}
.hilite em{
    font-weight:bold;
}

.library{
    font-family : Arial;
    font-size : 13pt;
    font-style:normal;
    color : black;
    font-weight: normal;
    padding: 0;
    margin:0;
}
.hilite1
{
    color:black;
    font-size:20px;
    background:#ccc;
    text-align: center;
}
.hilite2
{
    color:black;
    font-weight:normal;
    list-style:none;
}
#links a:link
{
    color:blue;
}

#captchadialog .custom-button {
    padding: 20px !important; /* Adjust as needed */
    background-color: #4CAF50;
    color: white;
    border: none;
    box-sizing: border-box;
    margin: 5px;
}

#captchadialog .custom-button:hover {
    background-color: #45a049;
}

/* Ensure the panel doesn't add extra padding inside the dialog */
#captchadialog .ui-panel {
    padding: 0 !important;
}

/* Adjust W3.CSS container padding inside the dialog */
#captchadialog .w3-container {
    padding: 10px 15px !important;
}

/* You can also adjust padding for the dialog's content if needed */
#captchadialog .ui-dialog-content {
    padding: 10px 15px;
    margin: 10px;
}

.ba-accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.ba-accordion-active, .ba-accordion:hover {
  background-color: #ccc;
}

.ba-accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.ba-accordion-active:after {
  content: "\2212";
}

.ba-accordion-panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/*https://www.w3schools.com/css/css_rwd_mediaqueries.asp*/
/* Extra small devices (phones, 600px and down) */
@media screen and (max-width: 600px) {
    .adunit_horz{height:200px; width:auto; max-width:600px;min-width: 120px;display:block}
    .adunit_vert{display: none}
    .ba-ad-card{padding:10px;min-width:160px;max-height: 210px;margin-bottom: 0px;}
    .ba-main-card{margin-bottom:0px;}
    #lt-content-container{padding:0px;margin:0px;}
    #mid-content-container{padding:0px;margin:0px;}
    #rt-content-container{padding:0px;margin:0px;}
    
    #test{margin-bottom:0px;}
    .header {
        overflow: hidden;
        text-align: center;
        background: #ddd;
        height:50px;
        width:auto;
    }
    .header img {
        height:40px;
        width:auto;
        padding-top: 10px;
    }
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .adunit_horz{height:200px; width:auto;max-width:768px;min-width: 120px;display: block}
    .adunit_vert{display: none}
    .ba-ad-card{padding:10px;min-width: 160px;max-height: 210px;margin-bottom:0px;}
    .ba-main-card{margin-bottom:0px;}
    #lt-content-container{padding:0px;margin:0px;}
    #mid-content-container{padding:0px;margin:0px;}
    #rt-content-container{padding:0px;margin:0px;}
    
     #test{margin-bottom:0px;}
    .header {
        overflow: hidden;
        text-align: center;
        background: #ddd;
        height:80px;
        width:auto;
    }
    .header img {
        display: block;
        height:60px;
        width:auto;
        padding-top:20px;
        padding-left:20px;
    }
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    body{min-width: 768px;}
    .adunit_vert{height:100%; width:120px;max-height: 600px;min-height:300px;margin:auto;display: block}
    .adunit_horz{display: none}
    .ba-ad-card{padding:10px;min-width: 140px;}
    .ba-main-card{margin-bottom:20px;}
    #lt-content-container{padding:20px;width: 20%}
    #mid-content-container{padding:20px;width:60%}
    #rt-content-container{padding:20px;width:20%}
    
     #test{margin-bottom:20px;}
    /* Header*/
    .header {
        overflow: hidden;
        text-align: center;
        background: #ddd;
        height:100px;
        width:auto;
    }
    .header img {
        display: block;
        float:left;
        height:75px;
        width:auto;
        padding-top:25px;
        padding-left:25px;
    }
}
/* Large devices (laptops/desktops, 992px and up) */
@media screen and (min-width: 992px) {
    body{min-width: 768px;}
    .adunit_vert{height:100%; width:120px;max-height:600px;min-height: 300px;margin:auto;display: block}
    .adunit_horz{display: none}
    .ba-ad-card{padding:10px;min-width: 140px;}
   .ba-main-card{margin-bottom:20px;}
    #lt-content-container{padding:20px;width: 20%}
    #mid-content-container{padding:20px;width:60%}
    #rt-content-container{padding:20px;width:20%}
     #test{margin-bottom:20px;}
    /* Header*/
    .header {
        overflow: hidden;
        text-align: center;
        background: #ddd;
        height:100px;
        width:auto;
    }
    .header img {
        display: block;
        float:left;
        height:75px;
        width:auto;
        padding-top:25px;
        padding-left:25px;
    }
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    body{min-width: 768px;}
    .adunit_vert{height:100%; width:120px;max-height: 600px;min-height: 300px;margin:auto;display: block}
    .adunit_horz{display: none}
    .ba-ad-card{padding:10px;min-width: 140px;}
    .ba-main-card{margin-bottom:20px;}
    #lt-content-container{padding:20px;width: 20%}
    #mid-content-container{padding:20px;width:60%}
    #rt-content-container{padding:20px;width:20%}
     #test{margin-bottom:20px;}
    /* Header*/
    .header {
        overflow: hidden;
        text-align: center;
        background: #ddd;
        height:100px;
        width:auto;
    }
    .header img {
        display: block;
        float:left;
        height:75px;
        width:auto;
        padding-top:25px;
        padding-left:25px;
    }
} 

/* === ACCORDION FIX: Force Clearfix on W3 Row === */
/*
  This rule ensures that the w3-row container correctly wraps
  around the floated columns inside it, giving it the necessary
  height to allow the accordion panel to become visible.
*/
.w3-row::before,
.w3-row::after {
  content: "";
  display: table !important; /* Force the correct display property */
  clear: both !important;     /* Force the clear property */
}
