@media (min-width:1100px) {
    * {
        font-size:12px;
    }
}

@media (max-width:1100px) {
    * {
        font-size:25px;
    }
}

#zipjumps { text-align:center; }
#btnRecenter { margin-right:20px }
#zipjumps input[type="text"] { width:5em }
#searchError { color:red }
#allKeywords { display:none }
#ToggleAllKeywords2 { border:none }
.bigQuestion { font-size:30px; font-family:Times, serif }
#locationHeader { margin:30px; padding:10px }
.resize-large-image img {
}

.image-container {
              transition: all 0.5s ease;
            overflow: hidden;
            cursor: pointer;

}

.image-container img {
            width: auto;
            height: auto;
            max-width: 100%;
            transition: opacity 0.5s ease, transform 0.5s ease;
}


.image-container::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
/*  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));*/
}

.image-container.has-gradient::after {
  content: '';
  /* Rest of the styles remain the same */
}



        body {
            font-family: 'Roboto Slab', serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
            color: #333;
            line-height: 1.6;
        }

        h1 {
            text-align: center;
            margin: 20px 0;
        }

        #map {
            height: 300px;
            width: 80%;
            margin: 20px auto;
             transition: all 0.5s ease; /* Adjust time and easing as needed */
     
    }

    .map-hidden {
        width: 0px;
        height: 0px;
        display:none;
        overflow: hidden; /* Hide content when map is collapsed */
    }

       table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    table-layout: auto; /* Allow variable column widths */
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    display: none;
}

/* Target the first column */
td:first-child {
    width: 90px;
    min-width: 90px;
}

#results { width:90%;  text-align:center; margin:0px auto; margin-bottom:160px }


div.searchResults { 
    width:800; margin:30px auto ;  padding:45px;
    min-height:300px;
    border:1px solid #EEF; 
    border-bottom:2px solid #303030;
    border-radius:8px; background-color:white; 
    position: relative;
    text-align: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
div.certified { position:absolute; top:10px; left:10px }

div.withbreak  { display:block !important }
div.nameemail { font-size:130%;  display:inline-block; padding-right:20px; padding-left:60px; margin-right: 15px }

div.url,
div.phone,
div.email {
    display:inline-block; padding-right:10px; 
}
div.keywordResults {
    padding-left:70px;
}
div.miniKeyword:hover {
    background-color:white;
}
div.miniKeyword { 
    padding:4px; border:1px solid blue; margin:5px;
    border-radius:10px;
    display:inline-block;
    background-color:rgb(0,10,255,.1);
    cursor: pointer;
}

.certifiedResult {  border-radius:6px; 
    padding:10px;

    background: rgb(255,255,255);
    background: linear-gradient(127deg, rgba(255,255,255,1) 0%, rgba(255,245,207,1) 100%);
  
  border-image: linear-gradient(45deg, rgb(200,200,200), rgb(250,255,255)) 1 !important;
}

.noncertifiedResult {  border-radius:6px; 
    padding:10px;
    background: beige !important;

}


        tr:nth-child(even) {
            background-color: #f2f2f2;
        }

#btnHelpMe { 
margin:15px; padding:10px; border-radius:10px; background-color:white; border:1px solid #333;  }
#keywordButtons { background-color:#c4c4c4; 
margin:20px auto; width: 80%; text-align: center;
border-radius:15px;
padding:20px;

}

.box, .toggleBox {
    background-color:#f4f4f4;
/*            zoom:.8;*/
    border: 1px solid #333;
    border-radius: 5px;
    padding: 5px 20px;
    margin: 10px;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}
.topLevelToggle { 
    width:300px; margin:0px;
 }

        
        /* Add to your existing CSS */
.keywordBox, .seeAllBox, .hideFilterBox {
            display: inline-block;
            margin: 5px;
            padding: 5px;
            border: 1px solid #000;
            border-radius: 5px;
            cursor: pointer;
            color:rgba(0,0,0,.6);
            
        }

        .selected {

            background-color: rgba(45,229,208, .7
); /* old was #ADD8E6; /* Light blue background for selected */
        }
        .keywordBox.selected {
            font-weight: bold;
        }

        .hideFilterBox, .seeAllBox {
            border:0px;
        }

        .fadeIn {
            animation: fadeInAnimation ease 0.5s;
            animation-iteration-count: 1;
            animation-fill-mode: forwards;
        }

        @keyframes fadeInAnimation {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }

#loadingSpinner { width:100%; text-align:center;  }


    .box:hover,  .toggleBox:hover {
        background-color: lightgrey;
    }


@media (min-width:1100px) {
    * {
        font-size:15px;
    }
    div.nameemail,
    div.nameemail a { font-size:30px;  }
    div.url,
    div.phone,
    div.email {
        font-size:24px;
    }

}

@media (max-width:1100px) {
    * {
        font-size:25px;

    }

    div.nameemail,
    div.nameemail a { font-size:40px;  }
    div.url,
    div.phone,
    div.email {
        font-size:30px;
    }

    #buttonsLine2, #buttonsLine1 { display:inline }
}


.disabled{
    position: relative;
}
.disabled:after{
    content: "";
    position: absolute;
    width: 100%;
    height: inherit;
    background-color: rgba(0,0,0,0.1);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.availability-badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    margin: 10px 0 10px 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.availability-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.availability-badge.available {
    background-color: #4caf50;
    color: white;
    border: 2px solid #43a047;
}

.availability-badge.not-available {
    background-color: #f44336;
    color: white;
    border: 2px solid #e53935;
}

.availability-badge.unknown {
    background-color: #9e9e9e;
    color: white;
    border: 2px solid #757575;
}

.availability-icon {
    font-size: 18px;
    margin-right: 8px;
    font-weight: bold;
}

.availability-text {
    vertical-align: middle;
}

/* Make badge more visible on mobile */
@media (max-width: 768px) {
    .availability-badge {
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }
}

.website-button {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    margin: 10px 15px 10px 0;
    background-color: #2196f3;
    color: white;
    border: 2px solid #1976d2;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.website-button a {
    color: white;
    text-decoration: none;
}

.website-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background-color: #1976d2;
}

.website-button svg {
    vertical-align: middle;
    margin-left: 5px;
}

.website-button, .availability-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
    width: 100%;
}

.website-button, .availability-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.website-button {
    background-color: #2196f3;
    border: 2px solid #1976d2;
}

.website-button a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.searchResults {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

/* Hide QR codes by default */
.qr-code {
    display: none;
}

/* Show QR codes and hide buttons only when printing */
@media print {
    .qr-code {
        display: block;
        margin: 10px auto;
        width: 100px;
        height: 100px;
        text-align: center;
    }

    .qr-code::after {
        content: attr(data-label);
        display: block;
        text-align: center;
        margin-top: 5px;
        font-size: 12px;
    }

    .button {
        display: none !important;
    }

    .action-group {
        text-align: center;
        margin: 10px 0;
    }
}

.teacher-card .tag.clickable-tag {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.teacher-card .tag.clickable-tag:hover {
    background-color: #e0e0e0;
}