/*
Theme Name: OTB custom
Author: Outside The Box srl
Description: tema custom creato su Archisky
Version: 1.0
Template: archisky

This is the child theme for Archisky theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
body .booked-modal {
    z-index: 999999999;
}

.tutor-course-thumbnail a {
    display: block;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center center;
}

.course-content {
    max-width: 1500px;
    margin: auto;
}

.tutor-course-single-sidebar-wrapper {
    flex: 0 0 30%;
    width: 30%;
}

.tutor-course-single-content-wrapper #tutor-single-entry-content {
    width: 70%;
}

@media (max-width: 1200px) {
    .tutor-course-single-sidebar-wrapper {
        flex: 0 0 1000%;
        width: 100%;
    }
    
    .tutor-course-single-content-wrapper #tutor-single-entry-content {
        width: 100%;
    }

}

.tutor-course-thumbnail {
    position: relative;
    z-index: 5;
}

.tutor-course-bookmark {
    z-index: 10;
}

.tutor-card-body {
    position: relative;
    z-index: 10;
    background: #ffffff;
}

.tutor-btn.tutor-native-add-to-cart {
  display: flex;
  align-items: center;
  gap: 10px;                /* spazio tra icona e testo */
  background: transparent;  /* sfondo trasparente */
  border: none;             /* senza bordo */
  padding: 0;               /* togli padding predefinito */
  cursor: pointer;
}

.tutor-btn.tutor-native-add-to-cart .tutor-icon-cart-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;       /* cerchio */
  background: var(--tutor-color-primary);      /* verde */
  color: #fff;              /* icona bianca */
  font-size: 16px;
}

.tutor-btn.tutor-native-add-to-cart .cart-text {
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;           /* nero */
  text-transform: uppercase;
}

a.tutor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    border: 1px solid var(--tutor-color-primary);
    color: var(--tutor-color-primary);
    background: transparent;
    border-radius: 4px;
    padding: 10px 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}

a.tutor-btn:hover {
    background: var(--tutor-color-primary-hover);
    color: #fff;
}

h1.tutor-course-details-title {
    margin-bottom: 10px;
    line-height: var(--section-title-line-height);
    position: relative;
    z-index: 0;
    font-family: var(--section-title-font-family);
    font-weight: var(--section-title-font-weight);
    font-size: 36px;
    transition: all 0.3s ease;
}

.tutor-tab h2, .tutor-single-course-sidebar h3, .tutor-course-content-title {
    margin-bottom: 10px;
    line-height: var(--section-title-line-height);
    position: relative;
    font-family: var(--section-title-font-family);
    font-weight: var(--section-title-font-weight);
    transition: all 0.3s ease;
    font-size: 24px;
    color: var(--tutor-color-primary);
}

.tutor-course-details-tab .tutor-course-details-widget {
    background: var(--tutor-color-primary);
    color: #ffffff;
    padding: 40px;
    border-radius: 30px;
}

.tutor-course-details-tab .tutor-course-details-widget h3{
    margin-bottom: 10px;
    line-height: var(--section-title-line-height);
    position: relative;
    font-family: var(--section-title-font-family);
    font-weight: var(--section-title-font-weight);
    transition: all 0.3s ease;
    font-size: 24px;
    color: #ffffff;
}
.tutor-course-details-tab .tutor-course-details-widget ul li * {
    color: #ffffff;
}
.tutor-card:not(.tutor-no-border) {
    border: 2px solid var(--tutor-border-color);
}

@media (min-width: 768px) { /* Tablet in su */
    .tutor-card {
        background-color: #fff;
        position: relative;
        border-radius: 6px;
        display: flex;
        flex-direction: row;
        min-width: 0;
        word-wrap: break-word;
        align-items: stretch;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .tutor-course-thumbnail {
        width: 25%;
    }

    .tutor-card-body {
        width: 75%;
    }

    .tutor-card-footer {
        width: 100%;
    }
  
    .tutor-course-loop-price > div, .tutor-card-footer > div {
        gap: 20px;
    }

    .tutor-ratio {
        overflow: hidden;
    }
}