#block-cohesion-theme-views-block-drupal-search-alcon-drupal-search {
  width: 100%;                 /* Set width to fill the parent container */
  max-width: 1200px;           /* Set a max width for large screens */
  margin: 0 auto;              /* Center the element horizontally */
}

#block-cohesion-theme-views-block-drupal-search-alcon-drupal-search #edit-submit-drupal-search {
    background-color: #003595;
    border-radius: 100px;
    border: 1px solid;
    color: #f3f7fc;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 12px 25px;
    text-transform: uppercase;
    width: 30% !important;
    margin-top: 1%;
    margin-bottom: 1%;
}

@media (max-width: 768px) {
    #edit-submit-drupal-search {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
}



input#edit-alcon-search {
    /* width: 50%; */
    display: block;
    width: 100%;
    -webkit-appearance: none;
    background-color: #fff;
    border-color: #bcbcbc;
    border-radius: 2em;
    border-style: solid;
    border-width: 1px;
    color: #000;
    flex: 1;
    font-family: inherit;
    font-size: inherit;
    padding: 1.125rem 1.5625rem;
}

/* Target search results within the specific exposed form container */
#views-exposed-form-drupal-search-alcon-drupal-search .search-results.views-row {
    /* display: flex; */
    flex-direction: row;
    width: 100%;
    border: 1px solid #cdcdcd;
    margin: 10px;
    border-radius: 8px;
    background: #fff;
    padding: 1.875rem 1.25rem;
    margin: 10px 0px;
}

/* Responsive Styling */
@media (max-width: 768px) {
    #views-exposed-form-drupal-search-alcon-drupal-search .search-results.views-row {
        flex-direction: column;  /* Stack items vertically on smaller screens */
        margin: 10px 0;          /* Adjust margin to avoid overflow on small screens */
        padding: 1.25rem;        /* Reduce padding for mobile view */
    }
}



/* Search Results Styling */
div#block-cohesion-theme-views-block-drupal-search-alcon-drupal-search .search-results.views-row {
    flex-direction: row;
    width: 100%;
    border: 1px solid #cdcdcd;
    margin: 10px 0;
    border-radius: 8px;
    background: #fff;
    padding: 1.875rem 1.25rem;
}

/* Responsive Styling */
@media (max-width: 768px) {
    div#block-cohesion-theme-views-block-drupal-search-alcon-drupal-search .search-results.views-row {
        padding: 1rem;
        margin: 5px 0;
    }
}

#block-cohesion-theme-views-block-drupal-search-alcon-drupal-search .views-field.views-field-label {
    margin-bottom: 10px;
}

#block-cohesion-theme-views-block-drupal-search-alcon-drupal-search .views-field.views-field-label-1 {
    margin-top: 14px;
}

#block-cohesion-theme-views-block-drupal-search-alcon-drupal-search .pager__items{
  list-style: none;
  padding: 0;
  margin: 1%;	
  display: flex; 
 }
 
 #block-cohesion-theme-views-block-drupal-search-alcon-drupal-search li.pager__item {
    padding: 1%;
}
 
#block-cohesion-theme-views-block-drupal-search-alcon-drupal-search li.pager__item.is-active {
    background: blue;
    color: white !important;
    border-radius: 19px;
}

#block-cohesion-theme-views-block-drupal-search-alcon-drupal-search li.pager__item {
    padding: 1%;
}

#block-cohesion-theme-views-block-drupal-search-alcon-drupal-search li.pager__item.is-active a {
    color: white;
}


#edit-alcon-search {
    padding-right: 30px; /* Add extra padding to accommodate the clear button */
    box-sizing: border-box;
}

.clear-btn {
    position: absolute;
    right: 10px; /* Positioning the 'x' inside the input */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888; /* Color of the 'x' */
    font-size: 16px;
    display: none; /* Hidden by default, shown when there is input */
}


.alconbase-search-trim, .alconbase-search-trim-0 {
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  word-break: break-word;
  line-height: 1.3;
}

#alcon-search-no-results-search-msg{
color:red;
margin-bottom:2%;
}