.doctorlist_alphabetical { background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 14%, rgba(255, 255, 255, 0) 99%), linear-gradient(to bottom, #e6eaf0, #e6eaf0); padding: 20px; } .doc_search { display: flex; justify-content: center; margin-top: 30px; } .doc_search .doc_search_input_wrapper { width: 100%; max-width: 650px; margin-right: 20px; position: relative; } .doc_search .doc_search_input { display: block; outline: none; padding: 5px; box-sizing: border-box; transition: 0.3s; border: solid 1px transparent; border-radius: 3px; height: 40px; background-color: #ffffff; width: 100%; font-size: 15px; padding-left: 25px; color: #828282; position: relative; padding-right: 20px; } .doc_search .doc_search_close { position: absolute; right: 10px; top: 8px; font-size: 20px; color: #828282; display: none; cursor: pointer; } .doc_search .doc_search_btn { width: 96px; height: 40px; border-radius: 4px; color: white; font-weight: bold; font-size: 15px; background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)), linear-gradient(to bottom, #019875, #019875); } .doc_search .doc_search_btn.btn_grey { background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)), linear-gradient(to bottom, #828282, #828282); } .card { box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5); transition: all 0.3s; width: 95%; margin: 0 auto; border-radius: 8px; cursor: pointer; margin-bottom: 25px; flex: 1 0 auto; background: white; } .card h4 { font-family: Helvetica; font-size: 20px; color: #002856; text-align: center; margin: 15px 0 10px 0; } .card img { width: 100%; height: 250px; object-fit: cover; object-position: top; } .card:hover { background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 71%, rgba(255, 255, 255, 0) 99%), linear-gradient(to bottom, #019875, #019875); transform: scale(1.02); } .card:hover h4 { color: white; } .card:hover p { color: white; } .card p { font-size: 15px; color: #828282; text-align: center; padding-bottom: 15px; margin-bottom: 0; } @media screen and (max-width: 540px) { .card { width: 300px; } .card img { height: 200px; } }