/*
	Theme Name: Tutoring Mind Bridge By Webspark
	Template:   kadence
	Version: 1.3.2
	Author: Ehab Hamzeh (ehab1mail@gmail.com)
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/
ul.dokan-seller-wrap:has(.eh-tutor) {
    display: flex;
    flex-wrap: wrap;
}
mark.count {
    display: none !important;
}
.row-actions {
    visibility: visible !important;
}
span.edit {
    position: relative;
}
span.edit:before {
    background-color:rgb(114, 196, 114);
    content: "Add Group Sessions";
    color: #fff;
    padding: 3px;
}
span.edit a {
    opacity: 0;
    position: absolute;
    left: 0px;
    width: 100%;
    /* background: red; */
}
body:not(.ehab){
	/*display:none;*/
}

body:not(.logged-in) .only-loggedin{
	display:none !important;
}
[class^="css-"] button svg:has([fill="#000"]) {
    display: none;
}
body:not(.logged-in) .site-header a.button.header-button:before {
    content: "Login";
}
body.logged-in .site-header a.button.header-button:before {
    content: "Dashboard";
}
input[type='submit'].dokan-btn-theme, a.dokan-btn-theme, .dokan-btn-theme {
    color: #fff;
    background-color: var(--global-palette-btn-bg) !important;
    border-color: var(--global-palette2, #2B6CB0) !important;
}
.dokan-frontend-layout .dokan-frontend-sidebar li a:hover, .dokan-frontend-layout .dokan-frontend-sidebar li a.active
{
	background-color: var(--global-palette-btn-bg) !important;
}
.dokan-frontend-layout .dokan-frontend-sidebar {
    background-color: var(--global-palette2, #2B6CB0) !important;
}
.dokan-frontend-layout .dokan-frontend-sidebar li a {
    color: #fff !important;
}
li.relative:nth-child(33),li.relative:nth-child(4),li.relative:nth-child(5) ,li.relative li:nth-child(2){
     display: none !important; 
}
form [type=text],form [type=email]{
    width:100%;
}
li.entry a:has(img) {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 0px;
    padding-bottom: 65%;
}
li.entry a img {
    position: absolute;
    width: 100%;
    height: 100% !important;
    top: 0px;
    left: 0px;
    object-fit: cover;
	object-position:center 30%;
}
.product-category .product-details.content-bg.entry-content-wrap {
    position: absolute !important;
    width: 100%;
    background: #0000004d;
    margin: 0px !important;
    bottom: 0px;
    color: #fff !important;
    border-radius: 0px !important;
    padding: 0px !important;
}
.product-category .product-details.content-bg.entry-content-wrap *{
    color: #fff !important;
}
/* Tables */
.has_table{
    overflow: auto;
    max-width: 100%;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.2) !important;
    margin:0px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    padding-bottom: 20px;
    border: solid 1px var(--table-accent) !important;
    --table-accent: #787878;
}
.styled-table {
    /*border-collapse: collapse !important;
    */font-size: 0.9em !important;
    font-family: sans-serif !important;
    min-width: 400px !important;

    overflow: hidden;
    margin: 0px !important;
    
}
.styled-table thead tr {
    background-color: #fff !important;
    text-align: left !important;
    border-bottom: 1px solid #dddddd !important;
}
.styled-table th,
.styled-table td {
    padding: 12px 15px !important;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd !important;
    background-color: #f3f3f3 !important;
    
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #dbdada !important;
}

.styled-table tbody tr:last-of-type {
 /*    border-bottom: 2px solid var(--table-accent) !important; */
}
.styled-table tbody tr.active-row {
    font-weight: bold !important;
    color: var(--table-accent) !important;
}
form.cart h6{
    margin:30px 0px 10px;
}
tr.locked {
    pointer-events: none;
    outline: solid 1px red;
    background: #ffc7c7;
}
tr.locked>td:first-child:before {
    content: "Booked";
    font-size: 10px;
    position: absolute;
    background: red;
    color: #fff;
    padding: 0px 5px;
    margin: -8px;
}
/* Tables End */
.tutor_private_sessions {
    padding: 40px 10px;
}
.tutor_private_sessions h3{
    text-align: center;
    margin-bottom: 20px;
}
.ttrr{
    cursor: pointer;
}
.styled-table tbody:not(:has(tr)){
    
    background: aliceblue !important;
}
.styled-table tbody:not(:has(tr)):before {
    content: "No Courses For Now !";
    width: 100%;
    display: block;
    padding: 20px;
    text-align: center;
    color: cadetblue;
}
.tutor_price{
    font-weight: bold;
}
.tutor_price span{
    color:red;
}
.book_icon{
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 8 8" fill="%23436e6b" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M1 0c-.07 0-.13.01-.19.03-.39.08-.7.39-.78.78-.03.06-.03.12-.03.19v5.5c0 .83.67 1.5 1.5 1.5h5.5v-1h-5.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h5.5v-5.5c0-.28-.22-.5-.5-.5h-.5v3l-1-1-1 1v-3h-3z"></path></svg>')
}
.calendar_icon{
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" stroke="%23436e6b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
}
.time_icon{
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 8 8" fill="%23436e6b" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M2 0v1h1v.03c-1.7.24-3 1.71-3 3.47 0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5c0-.45-.1-.87-.25-1.25l-.91.38c.11.29.16.57.16.88 0 1.39-1.11 2.5-2.5 2.5s-2.5-1.11-2.5-2.5 1.11-2.5 2.5-2.5c.3 0 .59.05.88.16l.34-.94c-.23-.08-.47-.12-.72-.16v-.06h1v-1h-3zm5 1.16s-3.65 2.81-3.84 3c-.19.2-.19.49 0 .69.19.2.49.2.69 0 .2-.2 3.16-3.69 3.16-3.69z"></path></svg>');
}
.cyrcle_icon {
    width: 25px;
    height: 25px;
    
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.pagenation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.page-numbers {
    color: #d1dfeb;
    background: #95a6c8;
    margin: 2px;
    min-width: 25px;
    text-decoration: none;
    text-align: center;
    border: solid 1px #5e688a;
    padding: 0px 8px;
    border-radius: 3px;
}
span.page-numbers {
    color: #000;
}
.calendar_parent a:not(.fc-event){
    color:#000 !important;
}
.calendar_parent th,.calendar_parent td{
    border:solid 1px #ddd !important;
    border-collapse: collapse !important;
    
}
.calendar_parent table{
    margin:0px !important;
    border-collapse: collapse !important;
}
.calendar_parent {
    background: #fff;
    color: #000;
    border: solid 1px #ddd;
    border-top:solid 5px var(--global-palette-btn-bg);
    padding: 20px 5px;
    margin: 20px 0px;
    
}
a.fc-event {
    font-size: 60%;
    text-align: center;
    background: var(--global-palette-btn-bg);
    color: #fff !important;
    cursor: pointer;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
}
a.fc-event * {
    width: 100%;
    word-wrap: break-word;
    display: inline-block;
    white-space: normal;
}
.single_add_to_cart_button{
            display: none !important;
            margin-top: 20px;
        }
body:has(.dokan-role-customer:checked) .eh-row{
    display: none;
}

/* Tutor */
.eh-tutor{

                    }
                    .eh-tutor a:has(img) {
                        position: relative;
                        height: 0px;
                        overflow: hidden;
                        width: 100%;
                        display: block;
                        padding-bottom: 100%;
                        border-radius: 12%;
                    }
                    .eh-tutor a:has(img)::after {
                        content: "";
                        position: absolute;
                        width:100%;
                        height: 30%;
                        bottom:0px;
                        left:0px;
                        background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
                    }
                    .eh-tutor a img{
                        position: absolute;
                        width:100%;
                        height: 100%;
                        object-fit: cover;
                    }
                    .eh-tutor a:has(img) h2 {
                        position: absolute;
                        bottom: 0px;
                        padding: 7% !important;
                        color: #fff;
                        z-index: 1;
                        font-size: 1.1em;
                    }
                     .eh-tutor .about {
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        overflow: hidden;
                        -webkit-line-clamp: 2;
                        text-overflow: ellipsis;
                        padding: 0em 1em;
                        margin: 1em 0em;
                        font-size: 0.9em;
                    }
                    .eh-tutor .coursess {
                        font-size: 0.7em;
                         padding: 0em 1.3em;
                    }
/* Tutor End */
.wait_res {
    pointer-events: none;
    filter: contrast(0.7);
}
.wait_res::before{
    content: "";
    position: absolute;
    background: url(assets/imgs/tube-spinner.svg);
    width:30px;
    height:30px;
}
#calendar {
    font-size: clamp(9px,2vw,20px) !important;
    max-height: 100vw;
}
@media (min-width: 1000px) {
#dokan-seller-listing-wrap ul.dokan-seller-wrap li.coloum-3 {
    max-width: 25%;
}

}