/* -------------- SearchBox Styles -------------- */
#searchInput {
    background-image: url('/wp-content/plugins/webionic-teachers/Assets/images/searchicon.png'); /* Add a search icon to input */
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    max-width: 600px;
    font-size: 16px; /* Increase font-size */
    padding: 12px 20px 12px 40px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
}

.searchWrapper {
    max-width: 600px;
    margin: 0 auto;
}

.hidden {
    display: none;
}

.visuallyhidden {
    opacity: 0;
}

/* -------------- frontend-list.php Styles -------------- */

.teachers .teacher-card img
{
    width: 100%;
    object-fit: cover;
    height: 250px;

}

.teachers .teacher-card:hover {
    border: 1px rgb(60, 163, 203) solid;:
}

.teachers .teacher-card:hover .card-header
{
    background-color: rgb(60, 163, 203);
}

.teachers .subjects {
    margin-bottom: 2px;
}

.subjects, .activities
{
    padding: 1px 5px;
    margin-bottom: 0;
}

.teachers .activities {
    min-height: 26px;
}


.teachers .card-header {
    font-weight: bold;
    color: white;
    background-color: rgb(96, 125, 139);

    padding: 10px 0;

}

.teachers .card-title {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 0;

}

.teachers .teacher-card {
    border: 1px rgb(96, 125, 139) solid;
    color: black;
    transition: all .2s ease-in-out;

    margin: 5px 2px 25px 2px
}

.teachers .box{
    background-color: rgb(96, 125, 139) ;
    width: 65px;
    color: white;
    font-size: 25px;
    padding: 20px;
}

.teachers .teacher-card:hover .box
{
    background-color: rgb(60, 163, 203);
}

.teachers .email-wrapper:hover .box, .teachers .speakingHour-wrapper:hover .box {
    background-color: rgb(60, 163, 203);
}

.teachers .contact-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.teachers .email-wrapper, .teachers .speakingHour-wrapper
{
    display: block;
    width: 65px;
    height: 65px;
    overflow: hidden;
    background-color: rgb(96, 125, 139);
}

.teachers .email-wrapper:hover{
    width: 80%;
    display: flex;
    justify-content: flex-start;
    transition: width 0.2s ease-in;
    background-color: rgb(60, 163, 203);
}

.teachers .speakingHour-wrapper:hover {
    width: 80%;
    display: flex;
    justify-content: flex-end;
    transition: width 0.2s ease-in;
    background-color: rgb(60, 163, 203);
}

.teachers .content {
    display: none;
}

.teachers .content a {
    color: white;
}

.teachers .email-wrapper:hover .content, .teachers .speakingHour-wrapper:hover .content {
    display: inline;
    padding-top: 4px;
    color: white;
    margin: auto;
}


/* -------------- frontend-list2.php Styles -------------- */

.wbteacher {
    transition: all 0.5s linear;
}

.teachers2 .teacher-card img
{
    min-width: 50%;
    object-fit: cover;
    height: 250px;
}

.teachers2 .subjects, .teachers2 .activities
{
    padding: 1px 5px;
    margin-bottom: 0;
}

.teachers2 .activities {
    min-height: 26px;
}


.teachers2 .card-header {
    font-weight: bold;
    color: white;
    background-color: rgb(96, 125, 139);
    padding: 10px 0;

}

.teachers2 .card-title {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 0;

}

.teachers2 .teacher-card {
    border: 1px rgb(96, 125, 139) solid;
    color: black;
    text-align: center;
    margin: 20px 0;
}

.teachers2 .box{
    background-color: rgb(96, 125, 139);
    color: white;
    font-size: 25px;
    padding: 20px 30px;
    margin: 4px 0px;
    position: absolute;
    height: 60px;
}

.teachers2 .box i {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


.teachers2 .contact-wrapper, .teachers2 .subjects-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    font-size: 14px;
}

.teachers2 .content p {
    padding-top: 2px;
    color: black;
    margin: 3px auto;
    line-height: 17px;
}

.teachers2 .content {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 3px;
    height: 60px;
    padding: 8px 5px 0 70px;
}

.teachers2 .card-body {
    text-align: left;
}

.teachers2 .content a, .teachers2 .content p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    white-space: nowrap;
    width: 100%;
}