/* ATAA_list.php */

/* Sticky banner */
#disclaimer_verbiage {
    position: sticky;
    top: 0;
    background: white;
    color: black;
    padding: 10px;
    text-align: left;
    z-index: 1000;
    border-bottom: 4px solid var(--blue);
}

/* STATE CONTAINER */
.state-box {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 10px 5px 5px 5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.state-box h2 {
    color: #2d2d2d;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* This makes the cards display side by side */
.attorney-list {
    position: relative;
    display: flex;
    flex-wrap: wrap; 
    gap: 20px; 
    background: white;
    padding: 10px;
}

.attorney-entry {
	position: relative; 
    display: flex;
    flex-direction: column;
    padding: 15px;
    width: 230px; /* Width of each attorney record */
    word-wrap: break-word; 
    overflow-wrap: break-word; 
}

/* PHOTOS */
.attorney-photo-container{
	position: relative;
}

.attorney-photo {
    width: 200px;
    height: 250px;
    border-radius: 2%;
    object-fit: cover;
    margin-bottom: 10px;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

/* Container for icons, positioned over image */
.attorney-icon-container {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 8px;
    opacity: 0; /* Hide icons for now */
    transition: opacity 0.3s ease-in-out;
    z-index: 100;
}

.attorney-icon-container a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
	border: 2px solid white;
}

.attorney-icon-container img.phone-icon {
	width: 14px;
}
.attorney-icon-container img.email-icon {
	width: 16px;
}
.attorney-icon-container img.loc-icon {
	width: 15px;
}
.attorney-icon-container img.profile-icon {
	width: 15px;
}

.attorney-entry:hover .attorney-icon-container {
    opacity: 1; /* Show icons on hover */
}

.attorney-entry:hover:before, .attorney-entry:hover:after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    height: 250px;
    background: linear-gradient(0deg, rgb(34,31,95,.5), rgb(34,31,95,0) 50%);
    z-index: 10;
    border-radius: 2%;
}

/* CAPTIONS */
.attorney-info {
    flex: 1;
}

.attorney-name,
.attorney-firm {
    white-space: normal; /* Allows text to wrap naturally */
    word-break: break-word; /* Breaks long words if necessary */
    max-width: 100%; /* Ensures it doesn't overflow */
}

.attorney-name {
    font-size: 18px;
    font-weight: bold;
    color: #0056b3;
}

.board_position {
    font-size: 14px;
    font-weight: bold;
    font-color: black;
}

.attorney-firm {
    font-size: 14px;
    font-weight: bold;
    color: var(--blue);
}

.view-profile {
    font-size: 12px;
    color: var(--red) !important;
    text-decoration: none;
    font-weight: bold;
}

.view-profile:hover {
    text-decoration: underline;
}

/* ATAA_profile.php */
div#profile-breadcrumb-menu{
    font-weight: bold;
    text-align: left;
    margin: 10px 0px 20px 0px;
}

.ataa_profile img#mphoto{
    width:80%;
    border-radius: 2%;
}

.ataa_profile h2 {
    text-transform: none;
}

.pad {
    padding-bottom: 10px;
}

.ataa_profile #employer {
    font-weight: bold;
}

/* Both */