.download-zip-btn button {
  background-color: #1d72b8;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 6px;
  cursor: pointer;
}
.download-zip-btn button:hover {
  background-color: #155d8c;
}

.subtableleftcol {
    width: 230px;
    max-width: 230px;
    background-color: #f0f0f5;
}

.trancated {
	/* essential */
	text-overflow: ellipsis;
	width: 200px;
        max-width: 200px;
	white-space: nowrap;
	overflow: hidden;
	
	/* for good looks */
	padding: 10px;
}


mark {
  padding: 0;
  background: #f1c40f;
}

input{
   text-align:center;
}


.toolbar {
    float: left;
}

td a {
font-size:1em;
font-weight:bold;
}

.morelink {
font-size:13px;

    color:blue;
    text-decoration:underline;
    cursor:pointer;
}


td.highlight {
    background-color: whitesmoke !important;
}

td.details-control {
    width:50px;
    background: url('../images/details_open.gif') center;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    cursor: pointer;
    
}
tr.shown td.details-control {
   background: url('../images/details_close.gif') center;
   background-size: 24px 24px;
   background-repeat: no-repeat; 
}

tr.group,
tr.group:hover {
    background-color: #ddd !important; 
}

.group td {
font-weight:bold;
}

th.no-sort {
background-image: none !important;
}

thead {
background-color:#E4DFDF;
}
	
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #990000;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
}

#slideshow, #slideshow .slides li { 
height:370px !important;
}


a.topicbutton {
    display: inline-block;
    margin-bottom: 4px;
    color: #111111;
    background-color: #f6f6f6;
    padding: 3px 10px;
    border: 1px solid #dddddd;
    border-radius: 10px;
}

a.topicbutton:hover {
  background: #187794;
  color:#FFF !important;
  text-decoration:none !important;
}

.column-filter-widgets {
    min-height: 30px;
    padding-bottom: 20px;
}

.column-filter-widget select {
    margin-top: 10px;
    font-size: 1.1em !important;
    padding-top: 2px;
    padding-bottom: 2px;
}

.dataTables_filter {
   
}


table#smart-city-guide, th {
text-align:left;
font-weight:normal;
}

.program_name {
font-size:0.7em;
}

.program_description {
text-align:justify;
}

.logo_link {
width:75px;
}


.left{
    width:140px;
    display:table-cell;
    vertical-align:middle;
}

.left img {
  margin-left: auto;
  margin-right: auto;
  display: block;
  vertical-align: middle;
}

.right{
   display:table-cell; 
   vertical-align:middle;
   
}



pre {
font-size:14px;
font-weight:bold;
}

pre a {
    color: #000;
    padding: 8px 8px 8px 8px;
    text-decoration: none;
    box-shadow: 0 2px 2px 0 #C2C2C2;
    border-radius: 5px;
    text-transform: uppercase;
    
}

/* Change the link color on hover */
pre a:hover {
    background-color: #ccc;
    color: white;
}



table#AIPrograms {
border: 1px solid #ddd;
}


table#AIPrograms thead {
font-size:16px;
}

table#AIPrograms .group {
font-weight:bold;
}

.dataTables_info, .dataTables_length, .dataTables_paginate {
font-weight:bold;
font-style:italic;
}

.dataTables_empty {
font-weight:bold;
font-size:16px;
color:red;
}


div#content a:link{
text-decoration: none;
}

div#content a:hover{
text-decoration: underline;
}


.dataTables_length {
padding-top: 0.755em;
padding-left: 30px;
}


code.string {
    color: #c05f1d;
    background-color: #f5eee9;
    border: 1px solid #dfc4b2;
    white-space: nowrap;
}

code {
    font-family: "Source Code Pro", Consolas, Menlo, Monaco, "Courier New", monospace;
    padding: 1px 4px;
    font-size: 1.1em;
    color: #444;
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}


mark {
  padding: 0;
  background: #f1c40f;
}



input{
   text-align:center;
}


div#content ul li {
list-style-type: none;
list-style-image: none;
}

.toolbar {
    float: left;
}

td.highlight {
    background-color: whitesmoke !important;
}



tr.group,
tr.group:hover {
    background-color: #ddd !important; 
}


#searchtextwrap {
    padding-left: 1%;
    font-size: 0.7em;
    font-weight: bold;
    font-style: italic;
}

.program_name h2 a {
font-size:0.7em;
color: blue;
}


.column-filter-widgets a.filter-term { display: block; text-decoration: none; padding-left: 10px; font-size: 14; }
.column-filter-widgets a.filter-term:hover { text-decoration: line-through !important; }
.column-filter-widget-selected-terms { clear:left; }
option {
  word-wrap: break-word;      /* IE*/
  white-space: -moz-pre-wrap; /* Firefox */
  white-space: pre-wrap;      /* other browsers */
}
.column-filter-widgets a.filter-term { display: block; color:#2712a1 !important; background-color: #f2f2f2; padding-left: 15px; padding-bottom:5px; font-size:16px; font-weight:bold;}

.column-filter-widgets a.filter-term:hover { text-decoration: line-through !important; color:#2712a1 !important; background-color: #ddd; }

.column-filter-widgets a.filter-term:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../images/details_close.png) no-repeat center center;
    background-size: contain;
    margin-right: 5px;
    vertical-align: middle;
    text-align: center;
    padding-top:5px;
}

.widget-4 {
    float: right !important;
    padding-right: 0px !important;
    margin-right: 0px  !important;
    margin-bottom: 10px;
    width: 405px;
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;

}

#categorywidget4 {
height:48px;
}

.column-filter-widget select {
    display: block;
    font-family: 'Droid Sans', sans-serif;
    font-size: 1.2em !important;
    font-weight:bold;
    border-radius: 10px;
    border-width: 3px;
    box-shadow: 0 2px 2px 0 #c2c2c2;
}


.column-filter-widgets {
  display: grid;
  grid-template-rows: auto auto;
}

.column-filter-widget-menus {
  order: 1;
}

.column-filter-widget-selected-terms {
  order: 2;
  margin-top: 0.3rem;
}

    .responsive-layout {
      display: flex;
      flex-direction: row-reverse;
      flex-wrap: wrap;
      gap: 20px;
      align-items: flex-start;
      margin-top: 20px;
    }

    .sidebar-instructions {
      position: sticky;
      top: 20px;
      min-width: 280px;
      max-width: 340px;
      padding: 20px;
      background-color: #f8f9fa;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 0.85em;
      height: fit-content;
      flex: 0 0 auto;
    }

    .main-content {
      flex: 1 1 600px;
      min-width: 300px;
    }

    .download-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 20px 0;
    }

    .download-buttons a {
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #1d72b8;
      color: white;
      text-decoration: none;
      border-radius: 6px;
      font-size: .85em;
      font-family: inherit;
      border: none;
      width: 330px;
      height: 48px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: background-color 0.2s ease;
      line-height: 0.25;
      text-align: center;
    }

    .download-buttons a:hover {
      background-color: #155d8c;
    }


    #typeFilter {
      padding: 6px;
      font-size: 1em;
      border-radius: 4px;
      border: 1px solid #ccc;
    }

    .top-controls {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 16px;
      margin-bottom: 10px;
      flex-wrap: wrap;
    }

    /* In-between screen support: shrink sidebar slightly */
    @media (max-width: 1350px) and (min-width: 1201px) {
      .sidebar-instructions {
        max-width: 280px;
      }
    }

    /* Responsive fix: stack everything on narrower screens */
    @media (max-width: 1200px) {
      .responsive-layout {
        flex-direction: column;
      }

      .sidebar-instructions,
      .main-content {
        width: 100% !important;
        max-width: 100% !important;
      }

      .sidebar-instructions {
        position: static !important;
        z-index: 0;
        margin-top: 20px;
      }

      .top-controls {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
      }

      .dataTables_filter input {
        width: 100%;
      }

      .download-buttons a {
        width: 100%;
      }
    }

#ResponsesTable_filter {
padding-right: 3px;
}

#ResponsesTable_filter input {
    padding: 3px;
    padding-right: 5px !impportant;
    margin-right: 5px;
    margin-left: 5px;
    border: solid 1px #c9c9c9;
    transition: border 0.3s;
    font-family: 'Droid Sans', sans-serif;
    font-size: 1.2em;
    border-width: 2px;
    width: 100%;
    min-width: 398px;
    background: #FFF url(../images/searchicon.jpg) no-repeat 4px 2px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 10px;
    border-width: 3px;
    box-shadow: 0 2px 2px 0 #C2C2C2;
    line-height: 28px;
    height: 3rem;
}

@media only screen and (max-width: 1000px) {

.column-filter-widget {
 width: 100%;
}

.column-filter-widget select {
    clear:both;
    display: inline;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    font-size: 1.4em !important;
    font-weight: bold;
}

#ResponsesTable_filter {
width: 100%;
}

#ResponsesTable_filter label {
    width: 100% !important;
    min-width: 100% !important;
}

#ResponsesTable_filter input {
    padding: 5px;
    padding-left: 0px;
    margin-left: 5px;
    border: solid 1px #c9c9c9;
    transition: border 0.3s;
    font-family: 'Droid Sans', sans-serif;
    font-size: 1.2em;
    border-width: 2px;
    width: 100% !important;
    min-width: 100% !important;
    background: #FFF url(../images/searchicon.jpg) no-repeat 4px 2px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 10px;
    border-width: 3px;
    box-shadow: 0 2px 2px 0 #C2C2C2;
    line-height: 28px;
    height: 3rem;
}
}

select {
    max-width: 100%;
    overflow: auto;
    vertical-align: top;
    outline: none;
    border: 1px solid #e9e9e9;
    padding: 3px !important;
}

.dataTables_paginate {
font-size: 0.8em !important;
}

.dataTables_info .dataTables_length {
font-size: 0.9em !important;
}

.dt-input{
    padding: 3px;
    padding-right: 5px !impportant;
    margin-right: 5px;
    margin-left: 5px;
    border: solid 1px #c9c9c9;
    transition: border 0.3s;
    font-family: 'Droid Sans', sans-serif;
    font-size: 1.2em;
    border-width: 2px;
    width: 100%;
    min-width: 398px;
    background: #FFF url(../images/searchicon.jpg) no-repeat 4px 2px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 10px;
    border-width: 3px;
    box-shadow: 0 2px 2px 0 #C2C2C2;
    line-height: 28px;
    height: 3rem;
}

.dt-paging-button {
font-size:0.9em !important;
}

/* SearchPanes container */
div.dtsp-searchPanes {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1rem; /* ensure space below without compounding gap issues */
}

/* Individual search pane */
div.dtsp-searchPane {
  flex: 1 1 768px; /* Allow them to shrink more easily */
  max-width: 100%;
  min-width: auto;
  box-sizing: border-box;
}

/* Optional: reduce gaps and stacking behavior on small screens */
@media (max-width: 600px) {
  div.dtsp-searchPanes {
    gap: 0.5rem;
  }
  div.dtsp-searchPane {
    flex: 1 1 100%;
  }
}